@oslokommune/punkt-react 12.34.0 → 12.34.2
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/CHANGELOG.md +35 -0
- package/dist/punkt-react.es.js +142 -133
- package/dist/punkt-react.umd.js +77 -72
- package/package.json +4 -4
package/dist/punkt-react.umd.js
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
return [];
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
(function(Bt,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports,require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom"],Oe):(Bt=typeof globalThis<"u"?globalThis:Bt||self,Oe(Bt["punkt-react"]={},Bt.React,Bt.reactRouterDom))})(this,function(Bt,Oe,xf){"use strict";var
|
|
36
|
+
(function(Bt,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports,require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom"],Oe):(Bt=typeof globalThis<"u"?globalThis:Bt||self,Oe(Bt["punkt-react"]={},Bt.React,Bt.reactRouterDom))})(this,function(Bt,Oe,xf){"use strict";var Yz=Object.defineProperty;var Qz=(Bt,Oe,xf)=>Oe in Bt?Yz(Bt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:xf}):Bt[Oe]=xf;var og=(Bt,Oe,xf)=>Qz(Bt,typeof Oe!="symbol"?Oe+"":Oe,xf);function r$(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const i in r)if(i!=="default"){const l=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,l.get?l:{enumerable:!0,get:()=>r[i]})}}return n.default=r,Object.freeze(n)}function a$(r,n){for(var i=0;i<n.length;i++){const l=n[i];if(typeof l!="string"&&!Array.isArray(l)){for(const d in l)if(d!=="default"&&!(d in r)){const g=Object.getOwnPropertyDescriptor(l,d);g&&Object.defineProperty(r,d,g.get?g:{enumerable:!0,get:()=>l[d]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}const i$=r$(Oe);var dd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ey(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var N0={exports:{}},sg={};/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-jsx-runtime.production.min.js
|
|
39
39
|
*
|
|
@@ -177,7 +177,7 @@ Error generating stack: `+S.message+`
|
|
|
177
177
|
Error generating stack: `+u.message+`
|
|
178
178
|
`+u.stack}}function xn(e,t,s){var u=e.displayName;if(u)return u;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function cu(e){return e.displayName||"Context"}function kn(e){if(e==null)return null;if(typeof e.tag=="number"&&v("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 yo:return"Fragment";case Jr:return"Portal";case bo:return"Profiler";case bi:return"StrictMode";case et:return"Suspense";case dt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case W:var t=e;return cu(t)+".Consumer";case ko:var s=e;return cu(s._context)+".Provider";case Pe:return xn(e,e.render,"ForwardRef");case Vt:var u=e.displayName||null;return u!==null?u:kn(e.type)||"Memo";case jt:{var p=e,y=p._payload,w=p._init;try{return kn(w(y))}catch{return null}}}return null}function wo(e,t,s){var u=t.displayName||t.name||"";return e.displayName||(u!==""?s+"("+u+")":s)}function Do(e){return e.displayName||"Context"}function Mt(e){var t=e.tag,s=e.type;switch(t){case Ke:return"Cache";case ye:var u=s;return Do(u)+".Consumer";case K:var p=s;return Do(p._context)+".Provider";case Qe:return"DehydratedFragment";case Y:return wo(s,s.render,"ForwardRef");case G:return"Fragment";case B:return s;case O:return"Portal";case N:return"Root";case j:return"Text";case Ce:return kn(s);case V:return s===bi?"StrictMode":"Mode";case Ue:return"Offscreen";case ne:return"Profiler";case Ge:return"Scope";case U:return"Suspense";case Ye:return"SuspenseList";case Me:return"TracingMarker";case E:case x:case ke:case A:case ie:case se:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var ml=i.ReactDebugCurrentFrame,ea=null,Yi=!1;function fa(){{if(ea===null)return null;var e=ea._debugOwner;if(e!==null&&typeof e<"u")return Mt(e)}return null}function ta(){return ea===null?"":Wo(ea)}function ir(){ml.getCurrentStack=null,ea=null,Yi=!1}function Tn(e){ml.getCurrentStack=e===null?null:ta,ea=e,Yi=!1}function ni(){return ea}function xr(e){Yi=e}function Da(e){return""+e}function ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Qn(e),e;default:return""}}var Ts={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function du(e,t){Ts[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||v("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||v("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 fu(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fs(e){return e._valueTracker}function Go(e){e._valueTracker=null}function Kf(e){var t="";return e&&(fu(e)?t=e.checked?"true":"false":t=e.value),t}function wi(e){var t=fu(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Qn(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var p=s.get,y=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return p.call(this)},set:function(_){Qn(_),u=""+_,y.call(this,_)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var w={getValue:function(){return u},setValue:function(_){Qn(_),u=""+_},stopTracking:function(){Go(e),delete e[t]}};return w}}function Qi(e){Fs(e)||(e._valueTracker=wi(e))}function So(e){if(!e)return!1;var t=Fs(e);if(!t)return!0;var s=t.getValue(),u=Kf(e);return u!==s?(t.setValue(u),!0):!1}function Di(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 pu=!1,hu=!1,Yo=!1,gl=!1;function mu(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function gu(e,t){var s=e,u=t.checked,p=Xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??s._wrapperState.initialChecked});return p}function Xi(e,t){du("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!hu&&(v("%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",fa()||"A component",t.type),hu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!pu&&(v("%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",fa()||"A component",t.type),pu=!0);var s=e,u=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:ki(t.value!=null?t.value:u),controlled:mu(t)}}function F(e,t){var s=e,u=t.checked;u!=null&&ar(s,"checked",u,!1)}function q(e,t){var s=e;{var u=mu(t);!s._wrapperState.controlled&&u&&!gl&&(v("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"),gl=!0),s._wrapperState.controlled&&!u&&!Yo&&(v("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"),Yo=!0)}F(e,t);var p=ki(t.value),y=t.type;if(p!=null)y==="number"?(p===0&&s.value===""||s.value!=p)&&(s.value=Da(p)):s.value!==Da(p)&&(s.value=Da(p));else if(y==="submit"||y==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?Tt(s,t.type,p):t.hasOwnProperty("defaultValue")&&Tt(s,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function he(e,t,s){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var p=t.type,y=p==="submit"||p==="reset";if(y&&(t.value===void 0||t.value===null))return;var w=Da(u._wrapperState.initialValue);s||w!==u.value&&(u.value=w),u.defaultValue=w}var _=u.name;_!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,_!==""&&(u.name=_)}function De(e,t){var s=e;q(s,t),Ve(s,t)}function Ve(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var u=e;u.parentNode;)u=u.parentNode;Qt(s,"name");for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),y=0;y<p.length;y++){var w=p[y];if(!(w===e||w.form!==e.form)){var _=yk(w);if(!_)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");So(w),q(w,_)}}}}function Tt(e,t,s){(t!=="number"||Di(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Da(e._wrapperState.initialValue):e.defaultValue!==Da(s)&&(e.defaultValue=Da(s)))}var Je=!1,$t=!1,an=!1;function wn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||$t||($t=!0,v("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(an||(an=!0,v("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Je&&(v("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Je=!0)}function In(e,t){t.value!=null&&e.setAttribute("value",Da(ki(t.value)))}var jn=Array.isArray;function Gt(e){return jn(e)}var zn;zn=!1;function fr(){var e=fa();return e?`
|
|
179
179
|
|
|
180
|
-
Check the render method of \``+e+"`.":""}var As=["value","defaultValue"];function mc(e){{du("select",e);for(var t=0;t<As.length;t++){var s=As[t];if(e[s]!=null){var u=Gt(e[s]);e.multiple&&!u?v("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,fr()):!e.multiple&&u&&v("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,fr())}}}}function Qo(e,t,s,u){var p=e.options;if(t){for(var y=s,w={},_=0;_<y.length;_++)w["$"+y[_]]=!0;for(var T=0;T<p.length;T++){var R=w.hasOwnProperty("$"+p[T].value);p[T].selected!==R&&(p[T].selected=R),R&&u&&(p[T].defaultSelected=!0)}}else{for(var M=Da(ki(s)),re=null,Z=0;Z<p.length;Z++){if(p[Z].value===M){p[Z].selected=!0,u&&(p[Z].defaultSelected=!0);return}re===null&&!p[Z].disabled&&(re=p[Z])}re!==null&&(re.selected=!0)}}function gc(e,t){return Xt({},t,{value:void 0})}function vl(e,t){var s=e;mc(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!zn&&(v("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"),zn=!0)}function Jf(e,t){var s=e;s.multiple=!!t.multiple;var u=t.value;u!=null?Qo(s,!!t.multiple,u,!1):t.defaultValue!=null&&Qo(s,!!t.multiple,t.defaultValue,!0)}function vc(e,t){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?Qo(s,!!t.multiple,p,!1):u!==!!t.multiple&&(t.defaultValue!=null?Qo(s,!!t.multiple,t.defaultValue,!0):Qo(s,!!t.multiple,t.multiple?[]:"",!1))}function Zf(e,t){var s=e,u=t.value;u!=null&&Qo(s,!!t.multiple,u,!1)}var Ih=!1;function ep(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Xt({},t,{value:void 0,defaultValue:void 0,children:Da(s._wrapperState.initialValue)});return u}function tp(e,t){var s=e;du("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Ih&&(v("%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",fa()||"A component"),Ih=!0);var u=t.value;if(u==null){var p=t.children,y=t.defaultValue;if(p!=null){v("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Gt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),u=y}s._wrapperState={initialValue:ki(u)}}function np(e,t){var s=e,u=ki(t.value),p=ki(t.defaultValue);if(u!=null){var y=Da(u);y!==s.value&&(s.value=y),t.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=Da(p))}function rp(e,t){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function Hg(e,t){np(e,t)}var Ki="http://www.w3.org/1999/xhtml",vu="http://www.w3.org/1998/Math/MathML",yu="http://www.w3.org/2000/svg";function yc(e){switch(e){case"svg":return yu;case"math":return vu;default:return Ki}}function ap(e,t){return e==null||e===Ki?yc(t):e===yu&&t==="foreignObject"?Ki:e}var bu=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,u,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,u,p)})}:e},Ad,$s=bu(function(e,t){if(e.namespaceURI===yu&&!("innerHTML"in e)){Ad=Ad||document.createElement("div"),Ad.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=Ad.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),pa=1,ri=3,_r=8,Sa=9,yl=11,Co=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===ri){s.nodeValue=t;return}}e.textContent=t},Ps={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"]},bc={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 kc(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var jh=["Webkit","ms","Moz","O"];Object.keys(bc).forEach(function(e){jh.forEach(function(t){bc[kc(t,e)]=bc[e]})});function $d(e,t,s){var u=t==null||typeof t=="boolean"||t==="";return u?"":!s&&typeof t=="number"&&t!==0&&!(bc.hasOwnProperty(e)&&bc[e])?t+"px":(ka(t,e),(""+t).trim())}var Pd=/([A-Z])/g,ku=/^ms-/;function Si(e){return e.replace(Pd,"-$1").toLowerCase().replace(ku,"-ms-")}var Nd=function(){};{var ip=/^(?:webkit|moz|o)[A-Z]/,Vg=/^-ms-/,op=/-(.)/g,sp=/;\s*$/,xo={},bl={},wu=!1,Xo=!1,qg=function(e){return e.replace(op,function(t,s){return s.toUpperCase()})},zh=function(e){xo.hasOwnProperty(e)&&xo[e]||(xo[e]=!0,v("Unsupported style property %s. Did you mean %s?",e,qg(e.replace(Vg,"ms-"))))},lp=function(e){xo.hasOwnProperty(e)&&xo[e]||(xo[e]=!0,v("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},up=function(e,t){bl.hasOwnProperty(t)&&bl[t]||(bl[t]=!0,v(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(sp,"")))},Uh=function(e,t){wu||(wu=!0,v("`NaN` is an invalid value for the `%s` css style property.",e))},Hh=function(e,t){Xo||(Xo=!0,v("`Infinity` is an invalid value for the `%s` css style property.",e))};Nd=function(e,t){e.indexOf("-")>-1?zh(e):ip.test(e)?lp(e):sp.test(t)&&up(e,t),typeof t=="number"&&(isNaN(t)?Uh(e,t):isFinite(t)||Hh(e,t))}}var Vh=Nd;function Wg(e){{var t="",s="";for(var u in e)if(e.hasOwnProperty(u)){var p=e[u];if(p!=null){var y=u.indexOf("--")===0;t+=s+(y?u:Si(u))+":",t+=$d(u,p,y),s=";"}}return t||null}}function qh(e,t){var s=e.style;for(var u in t)if(t.hasOwnProperty(u)){var p=u.indexOf("--")===0;p||Vh(u,t[u]);var y=$d(u,t[u],p);u==="float"&&(u="cssFloat"),p?s.setProperty(u,y):s[u]=y}}function Gg(e){return e==null||typeof e=="boolean"||e===""}function Wh(e){var t={};for(var s in e)for(var u=Ps[s]||[s],p=0;p<u.length;p++)t[u[p]]=s;return t}function Gh(e,t){{if(!t)return;var s=Wh(e),u=Wh(t),p={};for(var y in s){var w=s[y],_=u[y];if(_&&w!==_){var T=w+","+_;if(p[T])continue;p[T]=!0,v("%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.",Gg(e[w])?"Removing":"Updating",w,_)}}}}var Ca={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},Ns=Xt({menuitem:!0},Ca),Od="__html";function Rd(e,t){if(t){if(Ns[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"||!(Od 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&&v("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 Ko(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 wc={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"},Ld={"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},Du={},Yg=new RegExp("^(aria)-["+je+"]*$"),Su=new RegExp("^(aria)[A-Z]["+je+"]*$");function Cu(e,t){{if(Yn.call(Du,t)&&Du[t])return!0;if(Su.test(t)){var s="aria-"+t.slice(4).toLowerCase(),u=Ld.hasOwnProperty(s)?s:null;if(u==null)return v("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Du[t]=!0,!0;if(t!==u)return v("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Du[t]=!0,!0}if(Yg.test(t)){var p=t.toLowerCase(),y=Ld.hasOwnProperty(p)?p:null;if(y==null)return Du[t]=!0,!1;if(t!==y)return v("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),Du[t]=!0,!0}}return!0}function kl(e,t){{var s=[];for(var u in t){var p=Cu(e,u);p||s.push(u)}var y=s.map(function(w){return"`"+w+"`"}).join(", ");s.length===1?v("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):s.length>1&&v("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function xu(e,t){Ko(e,t)||kl(e,t)}var cp=!1;function _u(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!cp&&(cp=!0,e==="select"&&t.multiple?v("`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):v("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Os=function(){};{var Br={},dp=/^on./,Bd=/^on[^A-Z]/,Md=new RegExp("^(aria)-["+je+"]*$"),fp=new RegExp("^(aria)[A-Z]["+je+"]*$");Os=function(e,t,s,u){if(Yn.call(Br,t)&&Br[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return v("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."),Br[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,w=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var _=w.hasOwnProperty(p)?w[p]:null;if(_!=null)return v("Invalid event handler property `%s`. Did you mean `%s`?",t,_),Br[t]=!0,!0;if(dp.test(t))return v("Unknown event handler property `%s`. It will be ignored.",t),Br[t]=!0,!0}else if(dp.test(t))return Bd.test(t)&&v("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Br[t]=!0,!0;if(Md.test(t)||fp.test(t))return!0;if(p==="innerhtml")return v("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Br[t]=!0,!0;if(p==="aria")return v("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Br[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return v("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Br[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return v("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Br[t]=!0,!0;var T=ua(t),R=T!==null&&T.type===ur;if(wc.hasOwnProperty(p)){var M=wc[p];if(M!==t)return v("Invalid DOM property `%s`. Did you mean `%s`?",t,M),Br[t]=!0,!0}else if(!R&&t!==p)return v("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,p),Br[t]=!0,!0;return typeof s=="boolean"&&Kr(t,s,T,!1)?(s?v('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()}.',s,t,t,s,t):v('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.',s,t,t,s,t,t,t),Br[t]=!0,!0):R?!0:Kr(t,s,T,!1)?(Br[t]=!0,!1):((s==="false"||s==="true")&&T!==null&&T.type===J&&(v("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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,s),Br[t]=!0),!0)}}var tn=function(e,t,s){{var u=[];for(var p in t){var y=Os(e,p,t[p],s);y||u.push(p)}var w=u.map(function(_){return"`"+_+"`"}).join(", ");u.length===1?v("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 ",w,e):u.length>1&&v("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 ",w,e)}};function Dc(e,t,s){Ko(e,t)||tn(e,t,s)}var Id=1,jd=2,Ci=4,pp=Id|jd|Ci,wl=null;function Qg(e){wl!==null&&v("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),wl=e}function Xg(){wl===null&&v("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),wl=null}function Sc(e){return e===wl}function hp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ri?t.parentNode:t}var zd=null,Dl=null,$n=null;function Ud(e){var t=uf(e);if(t){if(typeof zd!="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 s=t.stateNode;if(s){var u=yk(s);zd(t.stateNode,t.type,u)}}}function Hd(e){zd=e}function Eu(e){Dl?$n?$n.push(e):$n=[e]:Dl=e}function Yh(){return Dl!==null||$n!==null}function Vd(){if(Dl){var e=Dl,t=$n;if(Dl=null,$n=null,Ud(e),t)for(var s=0;s<t.length;s++)Ud(t[s])}}var Tu=function(e,t){return e(t)},Cc=function(){},Jo=!1;function mp(){var e=Yh();e&&(Cc(),Vd())}function Qh(e,t,s){if(Jo)return e(t,s);Jo=!0;try{return Tu(e,t,s)}finally{Jo=!1,mp()}}function Kg(e,t,s){Tu=e,Cc=s}function gp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function xc(e,t,s){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!!(s.disabled&&gp(t));default:return!1}}function Zo(e,t){var s=e.stateNode;if(s===null)return null;var u=yk(s);if(u===null)return null;var p=u[t];if(xc(t,e.type,u))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var Fu=!1;if(Dn)try{var Rs={};Object.defineProperty(Rs,"passive",{get:function(){Fu=!0}}),window.addEventListener("test",Rs,Rs),window.removeEventListener("test",Rs,Rs)}catch{Fu=!1}function _c(e,t,s,u,p,y,w,_,T){var R=Array.prototype.slice.call(arguments,3);try{t.apply(s,R)}catch(M){this.onError(M)}}var _o=_c;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var qd=document.createElement("react");_o=function(e,t,s,u,p,y,w,_,T){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 R=document.createEvent("Event"),M=!1,re=!0,Z=window.event,pe=Object.getOwnPropertyDescriptor(window,"event");function ve(){qd.removeEventListener(ue,nt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Z)}var xe=Array.prototype.slice.call(arguments,3);function nt(){M=!0,ve(),t.apply(s,xe),re=!1}var St,Ot=!1,dn=!1;function on(Se){if(St=Se.error,Ot=!0,St===null&&Se.colno===0&&Se.lineno===0&&(dn=!0),Se.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch{}}var ue="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",on),qd.addEventListener(ue,nt,!1),R.initEvent(ue,!1,!1),qd.dispatchEvent(R),pe&&Object.defineProperty(window,"event",pe),M&&re&&(Ot?dn&&(St=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.")):St=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(St)),window.removeEventListener("error",on),!M)return ve(),_c.apply(this,arguments)}}var xi=_o,es=!1,Ec=null,Sl=!1,ai=null,Tc={onError:function(e){es=!0,Ec=e}};function Ji(e,t,s,u,p,y,w,_,T){es=!1,Ec=null,xi.apply(Tc,arguments)}function Zi(e,t,s,u,p,y,w,_,T){if(Ji.apply(this,arguments),es){var R=Fc();Sl||(Sl=!0,ai=R)}}function Ls(){if(Sl){var e=ai;throw Sl=!1,ai=null,e}}function ts(){return es}function Fc(){if(es){var e=Ec;return es=!1,Ec=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 Au(e){return e._reactInternals}function Jg(e){return e._reactInternals!==void 0}function Cl(e,t){e._reactInternals=t}var Ct=0,_i=1,Er=2,mn=4,Ei=16,Pt=32,Hn=64,yt=128,ha=256,Vn=512,Mr=1024,Ha=2048,Ti=4096,Nr=8192,$u=16384,ns=32767,Ac=32768,Va=65536,rs=131072,eo=1048576,xl=2097152,Eo=4194304,Wd=8388608,to=16777216,To=33554432,Bs=mn|Mr|0,Ms=Er|mn|Ei|Pt|Vn|Ti|Nr,Is=mn|Hn|Vn|Nr,Fo=Ha|Ei,wr=Eo|Wd|xl,Fi=i.ReactCurrentOwner;function ii(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Er|Ti))!==Ct&&(s=t.return),u=t.return;while(u)}return t.tag===N?s:null}function Ao(e){if(e.tag===U){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function xa(e){return e.tag===N?e.stateNode.containerInfo:null}function js(e){return ii(e)===e}function Xh(e){{var t=Fi.current;if(t!==null&&t.tag===E){var s=t,u=s.stateNode;u._warnedAboutRefsInRender||v("%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.",Mt(s)||"A component"),u._warnedAboutRefsInRender=!0}}var p=Au(e);return p?ii(p)===p:!1}function _l(e){if(ii(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Pu(e){var t=e.alternate;if(!t){var s=ii(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,p=t;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){var _=y.return;if(_!==null){u=p=_;continue}break}if(y.child===w.child){for(var T=y.child;T;){if(T===u)return _l(y),e;if(T===p)return _l(y),t;T=T.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=y,p=w;else{for(var R=!1,M=y.child;M;){if(M===u){R=!0,u=y,p=w;break}if(M===p){R=!0,p=y,u=w;break}M=M.sibling}if(!R){for(M=w.child;M;){if(M===u){R=!0,u=w,p=y;break}if(M===p){R=!0,p=w,u=y;break}M=M.sibling}if(!R)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!==p)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!==N)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function qa(e){var t=Pu(e);return t!==null?Sn(t):null}function Sn(e){if(e.tag===B||e.tag===j)return e;for(var t=e.child;t!==null;){var s=Sn(t);if(s!==null)return s;t=t.sibling}return null}function or(e){var t=Pu(e);return t!==null?Ai(t):null}function Ai(e){if(e.tag===B||e.tag===j)return e;for(var t=e.child;t!==null;){if(t.tag!==O){var s=Ai(t);if(s!==null)return s}t=t.sibling}return null}var vp=n.unstable_scheduleCallback,Kh=n.unstable_cancelCallback,yp=n.unstable_shouldYield,bp=n.unstable_requestPaint,Or=n.unstable_now,$c=n.unstable_getCurrentPriorityLevel,Nu=n.unstable_ImmediatePriority,zs=n.unstable_UserBlockingPriority,$o=n.unstable_NormalPriority,Zg=n.unstable_LowPriority,as=n.unstable_IdlePriority,Vr=n.unstable_yieldValue,Jh=n.unstable_setDisableYieldValue,El=null,Tr=null,tt=null,Wa=!1,Ga=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Us(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 v("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{gt&&(e=Xt({},e,{getLaneLabelMap:Tl,injectProfilingHooks:$i})),El=t.inject(e),Tr=t}catch(s){v("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function kp(e,t){if(Tr&&typeof Tr.onScheduleFiberRoot=="function")try{Tr.onScheduleFiberRoot(El,e,t)}catch(s){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",s))}}function Gd(e,t){if(Tr&&typeof Tr.onCommitFiberRoot=="function")try{var s=(e.current.flags&yt)===yt;if(at){var u;switch(t){case Ni:u=Nu;break;case ls:u=zs;break;case Ws:u=$o;break;case Vc:u=as;break;default:u=$o;break}Tr.onCommitFiberRoot(El,e,u,s)}}catch(p){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",p))}}function wp(e){if(Tr&&typeof Tr.onPostCommitFiberRoot=="function")try{Tr.onPostCommitFiberRoot(El,e)}catch(t){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",t))}}function Dp(e){if(Tr&&typeof Tr.onCommitFiberUnmount=="function")try{Tr.onCommitFiberUnmount(El,e)}catch(t){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",t))}}function Jn(e){if(typeof Vr=="function"&&(Jh(e),d(e)),Tr&&typeof Tr.setStrictMode=="function")try{Tr.setStrictMode(El,e)}catch(t){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",t))}}function $i(e){tt=e}function Tl(){{for(var e=new Map,t=1,s=0;s<we;s++){var u=wb(t);e.set(t,u),t*=2}return e}}function Sp(e){tt!==null&&typeof tt.markCommitStarted=="function"&&tt.markCommitStarted(e)}function Ou(){tt!==null&&typeof tt.markCommitStopped=="function"&&tt.markCommitStopped()}function Ya(e){tt!==null&&typeof tt.markComponentRenderStarted=="function"&&tt.markComponentRenderStarted(e)}function oi(){tt!==null&&typeof tt.markComponentRenderStopped=="function"&&tt.markComponentRenderStopped()}function Cp(e){tt!==null&&typeof tt.markComponentPassiveEffectMountStarted=="function"&&tt.markComponentPassiveEffectMountStarted(e)}function Zh(){tt!==null&&typeof tt.markComponentPassiveEffectMountStopped=="function"&&tt.markComponentPassiveEffectMountStopped()}function is(e){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStarted=="function"&&tt.markComponentPassiveEffectUnmountStarted(e)}function Hs(){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStopped=="function"&&tt.markComponentPassiveEffectUnmountStopped()}function Yd(e){tt!==null&&typeof tt.markComponentLayoutEffectMountStarted=="function"&&tt.markComponentLayoutEffectMountStarted(e)}function em(){tt!==null&&typeof tt.markComponentLayoutEffectMountStopped=="function"&&tt.markComponentLayoutEffectMountStopped()}function Fl(e){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStarted=="function"&&tt.markComponentLayoutEffectUnmountStarted(e)}function xp(){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStopped=="function"&&tt.markComponentLayoutEffectUnmountStopped()}function Pc(e,t,s){tt!==null&&typeof tt.markComponentErrored=="function"&&tt.markComponentErrored(e,t,s)}function Po(e,t,s){tt!==null&&typeof tt.markComponentSuspended=="function"&&tt.markComponentSuspended(e,t,s)}function Nc(e){tt!==null&&typeof tt.markLayoutEffectsStarted=="function"&&tt.markLayoutEffectsStarted(e)}function Ru(){tt!==null&&typeof tt.markLayoutEffectsStopped=="function"&&tt.markLayoutEffectsStopped()}function Al(e){tt!==null&&typeof tt.markPassiveEffectsStarted=="function"&&tt.markPassiveEffectsStarted(e)}function Qd(){tt!==null&&typeof tt.markPassiveEffectsStopped=="function"&&tt.markPassiveEffectsStopped()}function Vs(e){tt!==null&&typeof tt.markRenderStarted=="function"&&tt.markRenderStarted(e)}function Oc(){tt!==null&&typeof tt.markRenderYielded=="function"&&tt.markRenderYielded()}function Rc(){tt!==null&&typeof tt.markRenderStopped=="function"&&tt.markRenderStopped()}function pr(e){tt!==null&&typeof tt.markRenderScheduled=="function"&&tt.markRenderScheduled(e)}function Xd(e,t){tt!==null&&typeof tt.markForceUpdateScheduled=="function"&&tt.markForceUpdateScheduled(e,t)}function Lc(e,t){tt!==null&&typeof tt.markStateUpdateScheduled=="function"&&tt.markStateUpdateScheduled(e,t)}var xt=0,nn=1,f=2,h=8,k=16,C=Math.clz32?Math.clz32:ee,$=Math.log,I=Math.LN2;function ee(e){var t=e>>>0;return t===0?32:31-($(t)/I|0)|0}var we=31,ae=0,qe=0,Ee=1,un=2,Ut=4,Ft=8,zt=16,qn=32,cr=4194240,Dr=64,ft=128,rn=256,Sr=512,hr=1024,qr=2048,os=4096,Kd=8192,Bc=16384,qs=32768,tm=65536,Jd=131072,Zd=262144,nm=524288,_p=1048576,rm=2097152,Ep=130023424,Mc=4194304,am=8388608,Tp=16777216,im=33554432,om=67108864,ev=Mc,Fp=134217728,tv=268435455,Ap=268435456,Ic=536870912,no=1073741824;function wb(e){{if(e&Ee)return"Sync";if(e&un)return"InputContinuousHydration";if(e&Ut)return"InputContinuous";if(e&Ft)return"DefaultHydration";if(e&zt)return"Default";if(e&qn)return"TransitionHydration";if(e&cr)return"Transition";if(e&Ep)return"Retry";if(e&Fp)return"SelectiveHydration";if(e&Ap)return"IdleHydration";if(e&Ic)return"Idle";if(e&no)return"Offscreen"}}var sr=-1,jc=Dr,sm=Mc;function $p(e){switch(Lu(e)){case Ee:return Ee;case un:return un;case Ut:return Ut;case Ft:return Ft;case zt:return zt;case qn:return qn;case Dr:case ft:case rn:case Sr:case hr:case qr:case os:case Kd:case Bc:case qs:case tm:case Jd:case Zd:case nm:case _p:case rm:return e&cr;case Mc:case am:case Tp:case im:case om:return e&Ep;case Fp:return Fp;case Ap:return Ap;case Ic:return Ic;case no:return no;default:return v("Should have found matching lanes. This is a bug in React."),e}}function lm(e,t){var s=e.pendingLanes;if(s===ae)return ae;var u=ae,p=e.suspendedLanes,y=e.pingedLanes,w=s&tv;if(w!==ae){var _=w&~p;if(_!==ae)u=$p(_);else{var T=w&y;T!==ae&&(u=$p(T))}}else{var R=s&~p;R!==ae?u=$p(R):y!==ae&&(u=$p(y))}if(u===ae)return ae;if(t!==ae&&t!==u&&(t&p)===ae){var M=Lu(u),re=Lu(t);if(M>=re||M===zt&&(re&cr)!==ae)return t}(u&Ut)!==ae&&(u|=s&zt);var Z=e.entangledLanes;if(Z!==ae)for(var pe=e.entanglements,ve=u&Z;ve>0;){var xe=Wr(ve),nt=1<<xe;u|=pe[xe],ve&=~nt}return u}function ss(e,t){for(var s=e.eventTimes,u=sr;t>0;){var p=Wr(t),y=1<<p,w=s[p];w>u&&(u=w),t&=~y}return u}function nv(e,t){switch(e){case Ee:case un:case Ut:return t+250;case Ft:case zt:case qn:case Dr:case ft:case rn:case Sr:case hr:case qr:case os:case Kd:case Bc:case qs:case tm:case Jd:case Zd:case nm:case _p:case rm:return t+5e3;case Mc:case am:case Tp:case im:case om:return sr;case Fp:case Ap:case Ic:case no:return sr;default:return v("Should have found matching lanes. This is a bug in React."),sr}}function um(e,t){for(var s=e.pendingLanes,u=e.suspendedLanes,p=e.pingedLanes,y=e.expirationTimes,w=s;w>0;){var _=Wr(w),T=1<<_,R=y[_];R===sr?((T&u)===ae||(T&p)!==ae)&&(y[_]=nv(T,t)):R<=t&&(e.expiredLanes|=T),w&=~T}}function Db(e){return $p(e.pendingLanes)}function cm(e){var t=e.pendingLanes&-1073741825;return t!==ae?t:t&no?no:ae}function Sb(e){return(e&Ee)!==ae}function Pp(e){return(e&tv)!==ae}function zc(e){return(e&Ep)===e}function rv(e){var t=Ee|Ut|zt;return(e&t)===ae}function av(e){return(e&cr)===e}function dm(e,t){var s=un|Ut|Ft|zt;return(t&s)!==ae}function Cb(e,t){return(t&e.expiredLanes)!==ae}function iv(e){return(e&cr)!==ae}function ov(){var e=jc;return jc<<=1,(jc&cr)===ae&&(jc=Dr),e}function xb(){var e=sm;return sm<<=1,(sm&Ep)===ae&&(sm=Mc),e}function Lu(e){return e&-e}function Np(e){return Lu(e)}function Wr(e){return 31-C(e)}function _a(e){return Wr(e)}function Pi(e,t){return(e&t)!==ae}function Uc(e,t){return(e&t)===t}function Kt(e,t){return e|t}function Op(e,t){return e&~t}function sv(e,t){return e&t}function lv(e,t){return e!==qe&&e<t?e:t}function fm(e){for(var t=[],s=0;s<we;s++)t.push(e);return t}function Hc(e,t,s){e.pendingLanes|=t,t!==Ic&&(e.suspendedLanes=ae,e.pingedLanes=ae);var u=e.eventTimes,p=_a(t);u[p]=s}function _b(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,u=t;u>0;){var p=Wr(u),y=1<<p;s[p]=sr,u&=~y}}function uv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function cv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ae,e.pingedLanes=ae,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,p=e.eventTimes,y=e.expirationTimes,w=s;w>0;){var _=Wr(w),T=1<<_;u[_]=ae,p[_]=sr,y[_]=sr,w&=~T}}function Rp(e,t){for(var s=e.entangledLanes|=t,u=e.entanglements,p=s;p;){var y=Wr(p),w=1<<y;w&t|u[y]&t&&(u[y]|=t),p&=~w}}function Eb(e,t){var s=Lu(t),u;switch(s){case Ut:u=un;break;case zt:u=Ft;break;case Dr:case ft:case rn:case Sr:case hr:case qr:case os:case Kd:case Bc:case qs:case tm:case Jd:case Zd:case nm:case _p:case rm:case Mc:case am:case Tp:case im:case om:u=qn;break;case Ic:u=Ap;break;default:u=qe;break}return(u&(e.suspendedLanes|t))!==qe?qe:u}function pm(e,t,s){if(Ga)for(var u=e.pendingUpdatersLaneMap;s>0;){var p=_a(s),y=1<<p,w=u[p];w.add(t),s&=~y}}function Lp(e,t){if(Ga)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var p=_a(t),y=1<<p,w=s[p];w.size>0&&(w.forEach(function(_){var T=_.alternate;(T===null||!u.has(T))&&u.add(_)}),w.clear()),t&=~y}}function Tb(e,t){return null}var Ni=Ee,ls=Ut,Ws=zt,Vc=Ic,ro=qe;function us(){return ro}function na(e){ro=e}function dv(e,t){var s=ro;try{return ro=e,t()}finally{ro=s}}function Fb(e,t){return e!==0&&e<t?e:t}function Ab(e,t){return e>t?e:t}function qc(e,t){return e!==0&&e<t}function Ea(e){var t=Lu(e);return qc(Ni,t)?qc(ls,t)?Pp(t)?Ws:Vc:ls:Ni}function hm(e){var t=e.current.memoizedState;return t.isDehydrated}var $b;function mm(e){$b=e}function Qa(e){$b(e)}var fv;function pt(e){fv=e}var Wc;function Pb(e){Wc=e}var pv;function l2(e){pv=e}var ef;function gm(e){ef=e}var Bp=!1,Mp=[],$l=null,Pl=null,Gs=null,Gc=new Map,Ir=new Map,ma=[],Bu=["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 Nb(e){return Bu.indexOf(e)>-1}function Ob(e,t,s,u,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[u]}}function No(e,t){switch(e){case"focusin":case"focusout":$l=null;break;case"dragenter":case"dragleave":Pl=null;break;case"mouseover":case"mouseout":Gs=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;Gc.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Ir.delete(u);break}}}function tf(e,t,s,u,p,y){if(e===null||e.nativeEvent!==y){var w=Ob(t,s,u,p,y);if(t!==null){var _=uf(t);_!==null&&fv(_)}return w}e.eventSystemFlags|=u;var T=e.targetContainers;return p!==null&&T.indexOf(p)===-1&&T.push(p),e}function Ys(e,t,s,u,p){switch(t){case"focusin":{var y=p;return $l=tf($l,e,t,s,u,y),!0}case"dragenter":{var w=p;return Pl=tf(Pl,e,t,s,u,w),!0}case"mouseover":{var _=p;return Gs=tf(Gs,e,t,s,u,_),!0}case"pointerover":{var T=p,R=T.pointerId;return Gc.set(R,tf(Gc.get(R)||null,e,t,s,u,T)),!0}case"gotpointercapture":{var M=p,re=M.pointerId;return Ir.set(re,tf(Ir.get(re)||null,e,t,s,u,M)),!0}}return!1}function Rb(e){var t=Qp(e.target);if(t!==null){var s=ii(t);if(s!==null){var u=s.tag;if(u===U){var p=Ao(s);if(p!==null){e.blockedOn=p,ef(e.priority,function(){Wc(s)});return}}else if(u===N){var y=s.stateNode;if(hm(y)){e.blockedOn=xa(s);return}}}}e.blockedOn=null}function Lb(e){for(var t=pv(),s={blockedOn:null,target:e,priority:t},u=0;u<ma.length&&qc(t,ma[u].priority);u++);ma.splice(u,0,s),u===0&&Rb(s)}function Ip(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],u=Nl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var p=e.nativeEvent,y=new p.constructor(p.type,p);Qg(y),p.target.dispatchEvent(y),Xg()}else{var w=uf(u);return w!==null&&fv(w),e.blockedOn=u,!1}t.shift()}return!0}function hv(e,t,s){Ip(e)&&s.delete(t)}function Bb(){Bp=!1,$l!==null&&Ip($l)&&($l=null),Pl!==null&&Ip(Pl)&&(Pl=null),Gs!==null&&Ip(Gs)&&(Gs=null),Gc.forEach(hv),Ir.forEach(hv)}function jp(e,t){e.blockedOn===t&&(e.blockedOn=null,Bp||(Bp=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Bb)))}function Mu(e){if(Mp.length>0){jp(Mp[0],e);for(var t=1;t<Mp.length;t++){var s=Mp[t];s.blockedOn===e&&(s.blockedOn=null)}}$l!==null&&jp($l,e),Pl!==null&&jp(Pl,e),Gs!==null&&jp(Gs,e);var u=function(_){return jp(_,e)};Gc.forEach(u),Ir.forEach(u);for(var p=0;p<ma.length;p++){var y=ma[p];y.blockedOn===e&&(y.blockedOn=null)}for(;ma.length>0;){var w=ma[0];if(w.blockedOn!==null)break;Rb(w),w.blockedOn===null&&ma.shift()}}var Iu=i.ReactCurrentBatchConfig,Oi=!0;function _n(e){Oi=!!e}function ga(){return Oi}function Gr(e,t,s){var u=zp(t),p;switch(u){case Ni:p=Ta;break;case ls:p=ao;break;case Ws:default:p=ju;break}return p.bind(null,t,s,e)}function Ta(e,t,s,u){var p=us(),y=Iu.transition;Iu.transition=null;try{na(Ni),ju(e,t,s,u)}finally{na(p),Iu.transition=y}}function ao(e,t,s,u){var p=us(),y=Iu.transition;Iu.transition=null;try{na(ls),ju(e,t,s,u)}finally{na(p),Iu.transition=y}}function ju(e,t,s,u){Oi&&ra(e,t,s,u)}function ra(e,t,s,u){var p=Nl(e,t,s,u);if(p===null){D2(e,t,u,zu,s),No(e,u);return}if(Ys(p,e,t,s,u)){u.stopPropagation();return}if(No(e,u),t&Ci&&Nb(e)){for(;p!==null;){var y=uf(p);y!==null&&Qa(y);var w=Nl(e,t,s,u);if(w===null&&D2(e,t,u,zu,s),w===p)break;p=w}p!==null&&u.stopPropagation();return}D2(e,t,u,null,s)}var zu=null;function Nl(e,t,s,u){zu=null;var p=hp(u),y=Qp(p);if(y!==null){var w=ii(y);if(w===null)y=null;else{var _=w.tag;if(_===U){var T=Ao(w);if(T!==null)return T;y=null}else if(_===N){var R=w.stateNode;if(hm(R))return xa(w);y=null}else w!==y&&(y=null)}}return zu=y,null}function zp(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 Ni;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 ls;case"message":{var t=$c();switch(t){case Nu:return Ni;case zs:return ls;case $o:case Zg:return Ws;case as:return Vc;default:return Ws}}default:return Ws}}function mv(e,t,s){return e.addEventListener(t,s,!1),s}function Up(e,t,s){return e.addEventListener(t,s,!0),s}function Ri(e,t,s,u){return e.addEventListener(t,s,{capture:!0,passive:u}),s}function gv(e,t,s,u){return e.addEventListener(t,s,{passive:u}),s}var Qs=null,cs=null,Uu=null;function vv(e){return Qs=e,cs=Ol(),!0}function Hu(){Qs=null,cs=null,Uu=null}function Hp(){if(Uu)return Uu;var e,t=cs,s=t.length,u,p=Ol(),y=p.length;for(e=0;e<s&&t[e]===p[e];e++);var w=s-e;for(u=1;u<=w&&t[s-u]===p[y-u];u++);var _=u>1?1-u:void 0;return Uu=p.slice(e,_),Uu}function Ol(){return"value"in Qs?Qs.value:Qs.textContent}function Yc(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Vu(){return!0}function vm(){return!1}function Xa(e){function t(s,u,p,y,w){this._reactName=s,this._targetInst=p,this.type=u,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var _ in e)if(e.hasOwnProperty(_)){var T=e[_];T?this[_]=T(y):this[_]=y[_]}var R=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return R?this.isDefaultPrevented=Vu:this.isDefaultPrevented=vm,this.isPropagationStopped=vm,this}return Xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Vu)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Vu)},persist:function(){},isPersistent:Vu}),t}var Rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fa=Xa(Rl),Oo=Xt({},Rl,{view:0,detail:0}),ds=Xa(Oo),Ka,ym,Qc;function yv(e){e!==Qc&&(Qc&&e.type==="mousemove"?(Ka=e.screenX-Qc.screenX,ym=e.screenY-Qc.screenY):(Ka=0,ym=0),Qc=e)}var bm=Xt({},Oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wm,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:(yv(e),Ka)},movementY:function(e){return"movementY"in e?e.movementY:ym}}),Ll=Xa(bm),Mb=Xt({},bm,{dataTransfer:0}),bv=Xa(Mb),Xc=Xt({},Oo,{relatedTarget:0}),Vp=Xa(Xc),Kc=Xt({},Rl,{animationName:0,elapsedTime:0,pseudoElement:0}),Ib=Xa(Kc),jb=Xt({},Rl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kv=Xa(jb),km=Xt({},Rl,{data:0}),zb=Xa(km),u2=zb,Ub={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hb={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 Jc(e){if(e.key){var t=Ub[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Yc(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Hb[e.keyCode]||"Unidentified":""}var c2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nf(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=c2[e];return u?!!s[u]:!1}function wm(e){return nf}var Rr=Xt({},Oo,{key:Jc,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wm,charCode:function(e){return e.type==="keypress"?Yc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),d2=Xa(Rr),Vb=Xt({},bm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qb=Xa(Vb),f2=Xt({},Oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wm}),Wb=Xa(f2),Gb=Xt({},Rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),p2=Xa(Gb),Ro=Xt({},bm,{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}),wv=Xa(Ro),h2=[9,13,27,32],Bl=229,rf=Dn&&"CompositionEvent"in window,fs=null;Dn&&"documentMode"in document&&(fs=document.documentMode);var Dm=Dn&&"TextEvent"in window&&!fs,Sm=Dn&&(!rf||fs&&fs>8&&fs<=11),Cm=32,Yb=String.fromCharCode(Cm);function Dv(){Lt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Lt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Lt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Lt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Qb=!1;function Xb(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Kb(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function xm(e,t){return e==="keydown"&&t.keyCode===Bl}function qp(e,t){switch(e){case"keyup":return h2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Bl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function _m(e){return e.locale==="ko"}var af=!1;function Jb(e,t,s,u,p){var y,w;if(rf?y=Kb(t):af?qp(t,u)&&(y="onCompositionEnd"):xm(t,u)&&(y="onCompositionStart"),!y)return null;Sm&&!_m(u)&&(!af&&y==="onCompositionStart"?af=vv(p):y==="onCompositionEnd"&&af&&(w=Hp()));var _=ik(s,y);if(_.length>0){var T=new zb(y,t,null,u,p);if(e.push({event:T,listeners:_}),w)T.data=w;else{var R=Sv(u);R!==null&&(T.data=R)}}}function Cv(e,t){switch(e){case"compositionend":return Sv(t);case"keypress":var s=t.which;return s!==Cm?null:(Qb=!0,Yb);case"textInput":var u=t.data;return u===Yb&&Qb?null:u;default:return null}}function Em(e,t){if(af){if(e==="compositionend"||!rf&&qp(e,t)){var s=Hp();return Hu(),af=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!Xb(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sm&&!_m(t)?null:t.data;default:return null}}function xv(e,t,s,u,p){var y;if(Dm?y=Cv(t,u):y=Em(t,u),!y)return null;var w=ik(s,"onBeforeInput");if(w.length>0){var _=new u2("onBeforeInput","beforeinput",null,u,p);e.push({event:_,listeners:w}),_.data=y}}function Tm(e,t,s,u,p,y,w){Jb(e,t,s,u,p),xv(e,t,s,u,p)}var Zb={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 ek(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zb[e.type]:t==="textarea"}/**
|
|
180
|
+
Check the render method of \``+e+"`.":""}var As=["value","defaultValue"];function mc(e){{du("select",e);for(var t=0;t<As.length;t++){var s=As[t];if(e[s]!=null){var u=Gt(e[s]);e.multiple&&!u?v("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,fr()):!e.multiple&&u&&v("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,fr())}}}}function Qo(e,t,s,u){var p=e.options;if(t){for(var y=s,w={},_=0;_<y.length;_++)w["$"+y[_]]=!0;for(var T=0;T<p.length;T++){var R=w.hasOwnProperty("$"+p[T].value);p[T].selected!==R&&(p[T].selected=R),R&&u&&(p[T].defaultSelected=!0)}}else{for(var M=Da(ki(s)),re=null,Z=0;Z<p.length;Z++){if(p[Z].value===M){p[Z].selected=!0,u&&(p[Z].defaultSelected=!0);return}re===null&&!p[Z].disabled&&(re=p[Z])}re!==null&&(re.selected=!0)}}function gc(e,t){return Xt({},t,{value:void 0})}function vl(e,t){var s=e;mc(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!zn&&(v("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"),zn=!0)}function Jf(e,t){var s=e;s.multiple=!!t.multiple;var u=t.value;u!=null?Qo(s,!!t.multiple,u,!1):t.defaultValue!=null&&Qo(s,!!t.multiple,t.defaultValue,!0)}function vc(e,t){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?Qo(s,!!t.multiple,p,!1):u!==!!t.multiple&&(t.defaultValue!=null?Qo(s,!!t.multiple,t.defaultValue,!0):Qo(s,!!t.multiple,t.multiple?[]:"",!1))}function Zf(e,t){var s=e,u=t.value;u!=null&&Qo(s,!!t.multiple,u,!1)}var Ih=!1;function ep(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Xt({},t,{value:void 0,defaultValue:void 0,children:Da(s._wrapperState.initialValue)});return u}function tp(e,t){var s=e;du("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Ih&&(v("%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",fa()||"A component"),Ih=!0);var u=t.value;if(u==null){var p=t.children,y=t.defaultValue;if(p!=null){v("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Gt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),u=y}s._wrapperState={initialValue:ki(u)}}function np(e,t){var s=e,u=ki(t.value),p=ki(t.defaultValue);if(u!=null){var y=Da(u);y!==s.value&&(s.value=y),t.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=Da(p))}function rp(e,t){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function Hg(e,t){np(e,t)}var Ki="http://www.w3.org/1999/xhtml",vu="http://www.w3.org/1998/Math/MathML",yu="http://www.w3.org/2000/svg";function yc(e){switch(e){case"svg":return yu;case"math":return vu;default:return Ki}}function ap(e,t){return e==null||e===Ki?yc(t):e===yu&&t==="foreignObject"?Ki:e}var bu=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,u,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,u,p)})}:e},Ad,$s=bu(function(e,t){if(e.namespaceURI===yu&&!("innerHTML"in e)){Ad=Ad||document.createElement("div"),Ad.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=Ad.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),pa=1,ri=3,_r=8,Sa=9,yl=11,Co=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===ri){s.nodeValue=t;return}}e.textContent=t},Ps={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"]},bc={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 kc(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var jh=["Webkit","ms","Moz","O"];Object.keys(bc).forEach(function(e){jh.forEach(function(t){bc[kc(t,e)]=bc[e]})});function $d(e,t,s){var u=t==null||typeof t=="boolean"||t==="";return u?"":!s&&typeof t=="number"&&t!==0&&!(bc.hasOwnProperty(e)&&bc[e])?t+"px":(ka(t,e),(""+t).trim())}var Pd=/([A-Z])/g,ku=/^ms-/;function Si(e){return e.replace(Pd,"-$1").toLowerCase().replace(ku,"-ms-")}var Nd=function(){};{var ip=/^(?:webkit|moz|o)[A-Z]/,Vg=/^-ms-/,op=/-(.)/g,sp=/;\s*$/,xo={},bl={},wu=!1,Xo=!1,qg=function(e){return e.replace(op,function(t,s){return s.toUpperCase()})},zh=function(e){xo.hasOwnProperty(e)&&xo[e]||(xo[e]=!0,v("Unsupported style property %s. Did you mean %s?",e,qg(e.replace(Vg,"ms-"))))},lp=function(e){xo.hasOwnProperty(e)&&xo[e]||(xo[e]=!0,v("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},up=function(e,t){bl.hasOwnProperty(t)&&bl[t]||(bl[t]=!0,v(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(sp,"")))},Uh=function(e,t){wu||(wu=!0,v("`NaN` is an invalid value for the `%s` css style property.",e))},Hh=function(e,t){Xo||(Xo=!0,v("`Infinity` is an invalid value for the `%s` css style property.",e))};Nd=function(e,t){e.indexOf("-")>-1?zh(e):ip.test(e)?lp(e):sp.test(t)&&up(e,t),typeof t=="number"&&(isNaN(t)?Uh(e,t):isFinite(t)||Hh(e,t))}}var Vh=Nd;function Wg(e){{var t="",s="";for(var u in e)if(e.hasOwnProperty(u)){var p=e[u];if(p!=null){var y=u.indexOf("--")===0;t+=s+(y?u:Si(u))+":",t+=$d(u,p,y),s=";"}}return t||null}}function qh(e,t){var s=e.style;for(var u in t)if(t.hasOwnProperty(u)){var p=u.indexOf("--")===0;p||Vh(u,t[u]);var y=$d(u,t[u],p);u==="float"&&(u="cssFloat"),p?s.setProperty(u,y):s[u]=y}}function Gg(e){return e==null||typeof e=="boolean"||e===""}function Wh(e){var t={};for(var s in e)for(var u=Ps[s]||[s],p=0;p<u.length;p++)t[u[p]]=s;return t}function Gh(e,t){{if(!t)return;var s=Wh(e),u=Wh(t),p={};for(var y in s){var w=s[y],_=u[y];if(_&&w!==_){var T=w+","+_;if(p[T])continue;p[T]=!0,v("%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.",Gg(e[w])?"Removing":"Updating",w,_)}}}}var Ca={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},Ns=Xt({menuitem:!0},Ca),Od="__html";function Rd(e,t){if(t){if(Ns[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"||!(Od 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&&v("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 Ko(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 wc={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"},Ld={"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},Du={},Yg=new RegExp("^(aria)-["+je+"]*$"),Su=new RegExp("^(aria)[A-Z]["+je+"]*$");function Cu(e,t){{if(Yn.call(Du,t)&&Du[t])return!0;if(Su.test(t)){var s="aria-"+t.slice(4).toLowerCase(),u=Ld.hasOwnProperty(s)?s:null;if(u==null)return v("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Du[t]=!0,!0;if(t!==u)return v("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Du[t]=!0,!0}if(Yg.test(t)){var p=t.toLowerCase(),y=Ld.hasOwnProperty(p)?p:null;if(y==null)return Du[t]=!0,!1;if(t!==y)return v("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),Du[t]=!0,!0}}return!0}function kl(e,t){{var s=[];for(var u in t){var p=Cu(e,u);p||s.push(u)}var y=s.map(function(w){return"`"+w+"`"}).join(", ");s.length===1?v("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):s.length>1&&v("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function xu(e,t){Ko(e,t)||kl(e,t)}var cp=!1;function _u(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!cp&&(cp=!0,e==="select"&&t.multiple?v("`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):v("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Os=function(){};{var Br={},dp=/^on./,Bd=/^on[^A-Z]/,Md=new RegExp("^(aria)-["+je+"]*$"),fp=new RegExp("^(aria)[A-Z]["+je+"]*$");Os=function(e,t,s,u){if(Yn.call(Br,t)&&Br[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return v("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."),Br[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,w=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var _=w.hasOwnProperty(p)?w[p]:null;if(_!=null)return v("Invalid event handler property `%s`. Did you mean `%s`?",t,_),Br[t]=!0,!0;if(dp.test(t))return v("Unknown event handler property `%s`. It will be ignored.",t),Br[t]=!0,!0}else if(dp.test(t))return Bd.test(t)&&v("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Br[t]=!0,!0;if(Md.test(t)||fp.test(t))return!0;if(p==="innerhtml")return v("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Br[t]=!0,!0;if(p==="aria")return v("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Br[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return v("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Br[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return v("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Br[t]=!0,!0;var T=ua(t),R=T!==null&&T.type===ur;if(wc.hasOwnProperty(p)){var M=wc[p];if(M!==t)return v("Invalid DOM property `%s`. Did you mean `%s`?",t,M),Br[t]=!0,!0}else if(!R&&t!==p)return v("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,p),Br[t]=!0,!0;return typeof s=="boolean"&&Kr(t,s,T,!1)?(s?v('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()}.',s,t,t,s,t):v('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.',s,t,t,s,t,t,t),Br[t]=!0,!0):R?!0:Kr(t,s,T,!1)?(Br[t]=!0,!1):((s==="false"||s==="true")&&T!==null&&T.type===J&&(v("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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,s),Br[t]=!0),!0)}}var tn=function(e,t,s){{var u=[];for(var p in t){var y=Os(e,p,t[p],s);y||u.push(p)}var w=u.map(function(_){return"`"+_+"`"}).join(", ");u.length===1?v("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 ",w,e):u.length>1&&v("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 ",w,e)}};function Dc(e,t,s){Ko(e,t)||tn(e,t,s)}var Id=1,jd=2,Ci=4,pp=Id|jd|Ci,wl=null;function Qg(e){wl!==null&&v("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),wl=e}function Xg(){wl===null&&v("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),wl=null}function Sc(e){return e===wl}function hp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ri?t.parentNode:t}var zd=null,Dl=null,$n=null;function Ud(e){var t=uf(e);if(t){if(typeof zd!="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 s=t.stateNode;if(s){var u=yk(s);zd(t.stateNode,t.type,u)}}}function Hd(e){zd=e}function Eu(e){Dl?$n?$n.push(e):$n=[e]:Dl=e}function Yh(){return Dl!==null||$n!==null}function Vd(){if(Dl){var e=Dl,t=$n;if(Dl=null,$n=null,Ud(e),t)for(var s=0;s<t.length;s++)Ud(t[s])}}var Tu=function(e,t){return e(t)},Cc=function(){},Jo=!1;function mp(){var e=Yh();e&&(Cc(),Vd())}function Qh(e,t,s){if(Jo)return e(t,s);Jo=!0;try{return Tu(e,t,s)}finally{Jo=!1,mp()}}function Kg(e,t,s){Tu=e,Cc=s}function gp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function xc(e,t,s){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!!(s.disabled&&gp(t));default:return!1}}function Zo(e,t){var s=e.stateNode;if(s===null)return null;var u=yk(s);if(u===null)return null;var p=u[t];if(xc(t,e.type,u))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var Fu=!1;if(Dn)try{var Rs={};Object.defineProperty(Rs,"passive",{get:function(){Fu=!0}}),window.addEventListener("test",Rs,Rs),window.removeEventListener("test",Rs,Rs)}catch{Fu=!1}function _c(e,t,s,u,p,y,w,_,T){var R=Array.prototype.slice.call(arguments,3);try{t.apply(s,R)}catch(M){this.onError(M)}}var _o=_c;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var qd=document.createElement("react");_o=function(e,t,s,u,p,y,w,_,T){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 R=document.createEvent("Event"),M=!1,re=!0,Z=window.event,pe=Object.getOwnPropertyDescriptor(window,"event");function ve(){qd.removeEventListener(ue,nt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Z)}var xe=Array.prototype.slice.call(arguments,3);function nt(){M=!0,ve(),t.apply(s,xe),re=!1}var St,Ot=!1,dn=!1;function sn(Se){if(St=Se.error,Ot=!0,St===null&&Se.colno===0&&Se.lineno===0&&(dn=!0),Se.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch{}}var ue="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",sn),qd.addEventListener(ue,nt,!1),R.initEvent(ue,!1,!1),qd.dispatchEvent(R),pe&&Object.defineProperty(window,"event",pe),M&&re&&(Ot?dn&&(St=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.")):St=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(St)),window.removeEventListener("error",sn),!M)return ve(),_c.apply(this,arguments)}}var xi=_o,es=!1,Ec=null,Sl=!1,ai=null,Tc={onError:function(e){es=!0,Ec=e}};function Ji(e,t,s,u,p,y,w,_,T){es=!1,Ec=null,xi.apply(Tc,arguments)}function Zi(e,t,s,u,p,y,w,_,T){if(Ji.apply(this,arguments),es){var R=Fc();Sl||(Sl=!0,ai=R)}}function Ls(){if(Sl){var e=ai;throw Sl=!1,ai=null,e}}function ts(){return es}function Fc(){if(es){var e=Ec;return es=!1,Ec=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 Au(e){return e._reactInternals}function Jg(e){return e._reactInternals!==void 0}function Cl(e,t){e._reactInternals=t}var Ct=0,_i=1,Er=2,mn=4,Ei=16,Pt=32,Hn=64,yt=128,ha=256,Vn=512,Mr=1024,Ha=2048,Ti=4096,Nr=8192,$u=16384,ns=32767,Ac=32768,Va=65536,rs=131072,eo=1048576,xl=2097152,Eo=4194304,Wd=8388608,to=16777216,To=33554432,Bs=mn|Mr|0,Ms=Er|mn|Ei|Pt|Vn|Ti|Nr,Is=mn|Hn|Vn|Nr,Fo=Ha|Ei,wr=Eo|Wd|xl,Fi=i.ReactCurrentOwner;function ii(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Er|Ti))!==Ct&&(s=t.return),u=t.return;while(u)}return t.tag===N?s:null}function Ao(e){if(e.tag===U){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function xa(e){return e.tag===N?e.stateNode.containerInfo:null}function js(e){return ii(e)===e}function Xh(e){{var t=Fi.current;if(t!==null&&t.tag===E){var s=t,u=s.stateNode;u._warnedAboutRefsInRender||v("%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.",Mt(s)||"A component"),u._warnedAboutRefsInRender=!0}}var p=Au(e);return p?ii(p)===p:!1}function _l(e){if(ii(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Pu(e){var t=e.alternate;if(!t){var s=ii(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,p=t;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){var _=y.return;if(_!==null){u=p=_;continue}break}if(y.child===w.child){for(var T=y.child;T;){if(T===u)return _l(y),e;if(T===p)return _l(y),t;T=T.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=y,p=w;else{for(var R=!1,M=y.child;M;){if(M===u){R=!0,u=y,p=w;break}if(M===p){R=!0,p=y,u=w;break}M=M.sibling}if(!R){for(M=w.child;M;){if(M===u){R=!0,u=w,p=y;break}if(M===p){R=!0,p=w,u=y;break}M=M.sibling}if(!R)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!==p)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!==N)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function qa(e){var t=Pu(e);return t!==null?Sn(t):null}function Sn(e){if(e.tag===B||e.tag===j)return e;for(var t=e.child;t!==null;){var s=Sn(t);if(s!==null)return s;t=t.sibling}return null}function or(e){var t=Pu(e);return t!==null?Ai(t):null}function Ai(e){if(e.tag===B||e.tag===j)return e;for(var t=e.child;t!==null;){if(t.tag!==O){var s=Ai(t);if(s!==null)return s}t=t.sibling}return null}var vp=n.unstable_scheduleCallback,Kh=n.unstable_cancelCallback,yp=n.unstable_shouldYield,bp=n.unstable_requestPaint,Or=n.unstable_now,$c=n.unstable_getCurrentPriorityLevel,Nu=n.unstable_ImmediatePriority,zs=n.unstable_UserBlockingPriority,$o=n.unstable_NormalPriority,Zg=n.unstable_LowPriority,as=n.unstable_IdlePriority,Vr=n.unstable_yieldValue,Jh=n.unstable_setDisableYieldValue,El=null,Tr=null,tt=null,Wa=!1,Ga=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Us(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 v("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{gt&&(e=Xt({},e,{getLaneLabelMap:Tl,injectProfilingHooks:$i})),El=t.inject(e),Tr=t}catch(s){v("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function kp(e,t){if(Tr&&typeof Tr.onScheduleFiberRoot=="function")try{Tr.onScheduleFiberRoot(El,e,t)}catch(s){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",s))}}function Gd(e,t){if(Tr&&typeof Tr.onCommitFiberRoot=="function")try{var s=(e.current.flags&yt)===yt;if(at){var u;switch(t){case Ni:u=Nu;break;case ls:u=zs;break;case Ws:u=$o;break;case Vc:u=as;break;default:u=$o;break}Tr.onCommitFiberRoot(El,e,u,s)}}catch(p){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",p))}}function wp(e){if(Tr&&typeof Tr.onPostCommitFiberRoot=="function")try{Tr.onPostCommitFiberRoot(El,e)}catch(t){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",t))}}function Dp(e){if(Tr&&typeof Tr.onCommitFiberUnmount=="function")try{Tr.onCommitFiberUnmount(El,e)}catch(t){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",t))}}function Jn(e){if(typeof Vr=="function"&&(Jh(e),d(e)),Tr&&typeof Tr.setStrictMode=="function")try{Tr.setStrictMode(El,e)}catch(t){Wa||(Wa=!0,v("React instrumentation encountered an error: %s",t))}}function $i(e){tt=e}function Tl(){{for(var e=new Map,t=1,s=0;s<we;s++){var u=wb(t);e.set(t,u),t*=2}return e}}function Sp(e){tt!==null&&typeof tt.markCommitStarted=="function"&&tt.markCommitStarted(e)}function Ou(){tt!==null&&typeof tt.markCommitStopped=="function"&&tt.markCommitStopped()}function Ya(e){tt!==null&&typeof tt.markComponentRenderStarted=="function"&&tt.markComponentRenderStarted(e)}function oi(){tt!==null&&typeof tt.markComponentRenderStopped=="function"&&tt.markComponentRenderStopped()}function Cp(e){tt!==null&&typeof tt.markComponentPassiveEffectMountStarted=="function"&&tt.markComponentPassiveEffectMountStarted(e)}function Zh(){tt!==null&&typeof tt.markComponentPassiveEffectMountStopped=="function"&&tt.markComponentPassiveEffectMountStopped()}function is(e){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStarted=="function"&&tt.markComponentPassiveEffectUnmountStarted(e)}function Hs(){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStopped=="function"&&tt.markComponentPassiveEffectUnmountStopped()}function Yd(e){tt!==null&&typeof tt.markComponentLayoutEffectMountStarted=="function"&&tt.markComponentLayoutEffectMountStarted(e)}function em(){tt!==null&&typeof tt.markComponentLayoutEffectMountStopped=="function"&&tt.markComponentLayoutEffectMountStopped()}function Fl(e){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStarted=="function"&&tt.markComponentLayoutEffectUnmountStarted(e)}function xp(){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStopped=="function"&&tt.markComponentLayoutEffectUnmountStopped()}function Pc(e,t,s){tt!==null&&typeof tt.markComponentErrored=="function"&&tt.markComponentErrored(e,t,s)}function Po(e,t,s){tt!==null&&typeof tt.markComponentSuspended=="function"&&tt.markComponentSuspended(e,t,s)}function Nc(e){tt!==null&&typeof tt.markLayoutEffectsStarted=="function"&&tt.markLayoutEffectsStarted(e)}function Ru(){tt!==null&&typeof tt.markLayoutEffectsStopped=="function"&&tt.markLayoutEffectsStopped()}function Al(e){tt!==null&&typeof tt.markPassiveEffectsStarted=="function"&&tt.markPassiveEffectsStarted(e)}function Qd(){tt!==null&&typeof tt.markPassiveEffectsStopped=="function"&&tt.markPassiveEffectsStopped()}function Vs(e){tt!==null&&typeof tt.markRenderStarted=="function"&&tt.markRenderStarted(e)}function Oc(){tt!==null&&typeof tt.markRenderYielded=="function"&&tt.markRenderYielded()}function Rc(){tt!==null&&typeof tt.markRenderStopped=="function"&&tt.markRenderStopped()}function pr(e){tt!==null&&typeof tt.markRenderScheduled=="function"&&tt.markRenderScheduled(e)}function Xd(e,t){tt!==null&&typeof tt.markForceUpdateScheduled=="function"&&tt.markForceUpdateScheduled(e,t)}function Lc(e,t){tt!==null&&typeof tt.markStateUpdateScheduled=="function"&&tt.markStateUpdateScheduled(e,t)}var xt=0,nn=1,f=2,h=8,k=16,C=Math.clz32?Math.clz32:ee,$=Math.log,I=Math.LN2;function ee(e){var t=e>>>0;return t===0?32:31-($(t)/I|0)|0}var we=31,ae=0,qe=0,Ee=1,un=2,Ut=4,Ft=8,zt=16,qn=32,cr=4194240,Dr=64,ft=128,rn=256,Sr=512,hr=1024,qr=2048,os=4096,Kd=8192,Bc=16384,qs=32768,tm=65536,Jd=131072,Zd=262144,nm=524288,_p=1048576,rm=2097152,Ep=130023424,Mc=4194304,am=8388608,Tp=16777216,im=33554432,om=67108864,ev=Mc,Fp=134217728,tv=268435455,Ap=268435456,Ic=536870912,no=1073741824;function wb(e){{if(e&Ee)return"Sync";if(e&un)return"InputContinuousHydration";if(e&Ut)return"InputContinuous";if(e&Ft)return"DefaultHydration";if(e&zt)return"Default";if(e&qn)return"TransitionHydration";if(e&cr)return"Transition";if(e&Ep)return"Retry";if(e&Fp)return"SelectiveHydration";if(e&Ap)return"IdleHydration";if(e&Ic)return"Idle";if(e&no)return"Offscreen"}}var sr=-1,jc=Dr,sm=Mc;function $p(e){switch(Lu(e)){case Ee:return Ee;case un:return un;case Ut:return Ut;case Ft:return Ft;case zt:return zt;case qn:return qn;case Dr:case ft:case rn:case Sr:case hr:case qr:case os:case Kd:case Bc:case qs:case tm:case Jd:case Zd:case nm:case _p:case rm:return e&cr;case Mc:case am:case Tp:case im:case om:return e&Ep;case Fp:return Fp;case Ap:return Ap;case Ic:return Ic;case no:return no;default:return v("Should have found matching lanes. This is a bug in React."),e}}function lm(e,t){var s=e.pendingLanes;if(s===ae)return ae;var u=ae,p=e.suspendedLanes,y=e.pingedLanes,w=s&tv;if(w!==ae){var _=w&~p;if(_!==ae)u=$p(_);else{var T=w&y;T!==ae&&(u=$p(T))}}else{var R=s&~p;R!==ae?u=$p(R):y!==ae&&(u=$p(y))}if(u===ae)return ae;if(t!==ae&&t!==u&&(t&p)===ae){var M=Lu(u),re=Lu(t);if(M>=re||M===zt&&(re&cr)!==ae)return t}(u&Ut)!==ae&&(u|=s&zt);var Z=e.entangledLanes;if(Z!==ae)for(var pe=e.entanglements,ve=u&Z;ve>0;){var xe=Wr(ve),nt=1<<xe;u|=pe[xe],ve&=~nt}return u}function ss(e,t){for(var s=e.eventTimes,u=sr;t>0;){var p=Wr(t),y=1<<p,w=s[p];w>u&&(u=w),t&=~y}return u}function nv(e,t){switch(e){case Ee:case un:case Ut:return t+250;case Ft:case zt:case qn:case Dr:case ft:case rn:case Sr:case hr:case qr:case os:case Kd:case Bc:case qs:case tm:case Jd:case Zd:case nm:case _p:case rm:return t+5e3;case Mc:case am:case Tp:case im:case om:return sr;case Fp:case Ap:case Ic:case no:return sr;default:return v("Should have found matching lanes. This is a bug in React."),sr}}function um(e,t){for(var s=e.pendingLanes,u=e.suspendedLanes,p=e.pingedLanes,y=e.expirationTimes,w=s;w>0;){var _=Wr(w),T=1<<_,R=y[_];R===sr?((T&u)===ae||(T&p)!==ae)&&(y[_]=nv(T,t)):R<=t&&(e.expiredLanes|=T),w&=~T}}function Db(e){return $p(e.pendingLanes)}function cm(e){var t=e.pendingLanes&-1073741825;return t!==ae?t:t&no?no:ae}function Sb(e){return(e&Ee)!==ae}function Pp(e){return(e&tv)!==ae}function zc(e){return(e&Ep)===e}function rv(e){var t=Ee|Ut|zt;return(e&t)===ae}function av(e){return(e&cr)===e}function dm(e,t){var s=un|Ut|Ft|zt;return(t&s)!==ae}function Cb(e,t){return(t&e.expiredLanes)!==ae}function iv(e){return(e&cr)!==ae}function ov(){var e=jc;return jc<<=1,(jc&cr)===ae&&(jc=Dr),e}function xb(){var e=sm;return sm<<=1,(sm&Ep)===ae&&(sm=Mc),e}function Lu(e){return e&-e}function Np(e){return Lu(e)}function Wr(e){return 31-C(e)}function _a(e){return Wr(e)}function Pi(e,t){return(e&t)!==ae}function Uc(e,t){return(e&t)===t}function Kt(e,t){return e|t}function Op(e,t){return e&~t}function sv(e,t){return e&t}function lv(e,t){return e!==qe&&e<t?e:t}function fm(e){for(var t=[],s=0;s<we;s++)t.push(e);return t}function Hc(e,t,s){e.pendingLanes|=t,t!==Ic&&(e.suspendedLanes=ae,e.pingedLanes=ae);var u=e.eventTimes,p=_a(t);u[p]=s}function _b(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,u=t;u>0;){var p=Wr(u),y=1<<p;s[p]=sr,u&=~y}}function uv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function cv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ae,e.pingedLanes=ae,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,p=e.eventTimes,y=e.expirationTimes,w=s;w>0;){var _=Wr(w),T=1<<_;u[_]=ae,p[_]=sr,y[_]=sr,w&=~T}}function Rp(e,t){for(var s=e.entangledLanes|=t,u=e.entanglements,p=s;p;){var y=Wr(p),w=1<<y;w&t|u[y]&t&&(u[y]|=t),p&=~w}}function Eb(e,t){var s=Lu(t),u;switch(s){case Ut:u=un;break;case zt:u=Ft;break;case Dr:case ft:case rn:case Sr:case hr:case qr:case os:case Kd:case Bc:case qs:case tm:case Jd:case Zd:case nm:case _p:case rm:case Mc:case am:case Tp:case im:case om:u=qn;break;case Ic:u=Ap;break;default:u=qe;break}return(u&(e.suspendedLanes|t))!==qe?qe:u}function pm(e,t,s){if(Ga)for(var u=e.pendingUpdatersLaneMap;s>0;){var p=_a(s),y=1<<p,w=u[p];w.add(t),s&=~y}}function Lp(e,t){if(Ga)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var p=_a(t),y=1<<p,w=s[p];w.size>0&&(w.forEach(function(_){var T=_.alternate;(T===null||!u.has(T))&&u.add(_)}),w.clear()),t&=~y}}function Tb(e,t){return null}var Ni=Ee,ls=Ut,Ws=zt,Vc=Ic,ro=qe;function us(){return ro}function na(e){ro=e}function dv(e,t){var s=ro;try{return ro=e,t()}finally{ro=s}}function Fb(e,t){return e!==0&&e<t?e:t}function Ab(e,t){return e>t?e:t}function qc(e,t){return e!==0&&e<t}function Ea(e){var t=Lu(e);return qc(Ni,t)?qc(ls,t)?Pp(t)?Ws:Vc:ls:Ni}function hm(e){var t=e.current.memoizedState;return t.isDehydrated}var $b;function mm(e){$b=e}function Qa(e){$b(e)}var fv;function pt(e){fv=e}var Wc;function Pb(e){Wc=e}var pv;function l2(e){pv=e}var ef;function gm(e){ef=e}var Bp=!1,Mp=[],$l=null,Pl=null,Gs=null,Gc=new Map,Ir=new Map,ma=[],Bu=["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 Nb(e){return Bu.indexOf(e)>-1}function Ob(e,t,s,u,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[u]}}function No(e,t){switch(e){case"focusin":case"focusout":$l=null;break;case"dragenter":case"dragleave":Pl=null;break;case"mouseover":case"mouseout":Gs=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;Gc.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Ir.delete(u);break}}}function tf(e,t,s,u,p,y){if(e===null||e.nativeEvent!==y){var w=Ob(t,s,u,p,y);if(t!==null){var _=uf(t);_!==null&&fv(_)}return w}e.eventSystemFlags|=u;var T=e.targetContainers;return p!==null&&T.indexOf(p)===-1&&T.push(p),e}function Ys(e,t,s,u,p){switch(t){case"focusin":{var y=p;return $l=tf($l,e,t,s,u,y),!0}case"dragenter":{var w=p;return Pl=tf(Pl,e,t,s,u,w),!0}case"mouseover":{var _=p;return Gs=tf(Gs,e,t,s,u,_),!0}case"pointerover":{var T=p,R=T.pointerId;return Gc.set(R,tf(Gc.get(R)||null,e,t,s,u,T)),!0}case"gotpointercapture":{var M=p,re=M.pointerId;return Ir.set(re,tf(Ir.get(re)||null,e,t,s,u,M)),!0}}return!1}function Rb(e){var t=Qp(e.target);if(t!==null){var s=ii(t);if(s!==null){var u=s.tag;if(u===U){var p=Ao(s);if(p!==null){e.blockedOn=p,ef(e.priority,function(){Wc(s)});return}}else if(u===N){var y=s.stateNode;if(hm(y)){e.blockedOn=xa(s);return}}}}e.blockedOn=null}function Lb(e){for(var t=pv(),s={blockedOn:null,target:e,priority:t},u=0;u<ma.length&&qc(t,ma[u].priority);u++);ma.splice(u,0,s),u===0&&Rb(s)}function Ip(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],u=Nl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var p=e.nativeEvent,y=new p.constructor(p.type,p);Qg(y),p.target.dispatchEvent(y),Xg()}else{var w=uf(u);return w!==null&&fv(w),e.blockedOn=u,!1}t.shift()}return!0}function hv(e,t,s){Ip(e)&&s.delete(t)}function Bb(){Bp=!1,$l!==null&&Ip($l)&&($l=null),Pl!==null&&Ip(Pl)&&(Pl=null),Gs!==null&&Ip(Gs)&&(Gs=null),Gc.forEach(hv),Ir.forEach(hv)}function jp(e,t){e.blockedOn===t&&(e.blockedOn=null,Bp||(Bp=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Bb)))}function Mu(e){if(Mp.length>0){jp(Mp[0],e);for(var t=1;t<Mp.length;t++){var s=Mp[t];s.blockedOn===e&&(s.blockedOn=null)}}$l!==null&&jp($l,e),Pl!==null&&jp(Pl,e),Gs!==null&&jp(Gs,e);var u=function(_){return jp(_,e)};Gc.forEach(u),Ir.forEach(u);for(var p=0;p<ma.length;p++){var y=ma[p];y.blockedOn===e&&(y.blockedOn=null)}for(;ma.length>0;){var w=ma[0];if(w.blockedOn!==null)break;Rb(w),w.blockedOn===null&&ma.shift()}}var Iu=i.ReactCurrentBatchConfig,Oi=!0;function _n(e){Oi=!!e}function ga(){return Oi}function Gr(e,t,s){var u=zp(t),p;switch(u){case Ni:p=Ta;break;case ls:p=ao;break;case Ws:default:p=ju;break}return p.bind(null,t,s,e)}function Ta(e,t,s,u){var p=us(),y=Iu.transition;Iu.transition=null;try{na(Ni),ju(e,t,s,u)}finally{na(p),Iu.transition=y}}function ao(e,t,s,u){var p=us(),y=Iu.transition;Iu.transition=null;try{na(ls),ju(e,t,s,u)}finally{na(p),Iu.transition=y}}function ju(e,t,s,u){Oi&&ra(e,t,s,u)}function ra(e,t,s,u){var p=Nl(e,t,s,u);if(p===null){D2(e,t,u,zu,s),No(e,u);return}if(Ys(p,e,t,s,u)){u.stopPropagation();return}if(No(e,u),t&Ci&&Nb(e)){for(;p!==null;){var y=uf(p);y!==null&&Qa(y);var w=Nl(e,t,s,u);if(w===null&&D2(e,t,u,zu,s),w===p)break;p=w}p!==null&&u.stopPropagation();return}D2(e,t,u,null,s)}var zu=null;function Nl(e,t,s,u){zu=null;var p=hp(u),y=Qp(p);if(y!==null){var w=ii(y);if(w===null)y=null;else{var _=w.tag;if(_===U){var T=Ao(w);if(T!==null)return T;y=null}else if(_===N){var R=w.stateNode;if(hm(R))return xa(w);y=null}else w!==y&&(y=null)}}return zu=y,null}function zp(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 Ni;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 ls;case"message":{var t=$c();switch(t){case Nu:return Ni;case zs:return ls;case $o:case Zg:return Ws;case as:return Vc;default:return Ws}}default:return Ws}}function mv(e,t,s){return e.addEventListener(t,s,!1),s}function Up(e,t,s){return e.addEventListener(t,s,!0),s}function Ri(e,t,s,u){return e.addEventListener(t,s,{capture:!0,passive:u}),s}function gv(e,t,s,u){return e.addEventListener(t,s,{passive:u}),s}var Qs=null,cs=null,Uu=null;function vv(e){return Qs=e,cs=Ol(),!0}function Hu(){Qs=null,cs=null,Uu=null}function Hp(){if(Uu)return Uu;var e,t=cs,s=t.length,u,p=Ol(),y=p.length;for(e=0;e<s&&t[e]===p[e];e++);var w=s-e;for(u=1;u<=w&&t[s-u]===p[y-u];u++);var _=u>1?1-u:void 0;return Uu=p.slice(e,_),Uu}function Ol(){return"value"in Qs?Qs.value:Qs.textContent}function Yc(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Vu(){return!0}function vm(){return!1}function Xa(e){function t(s,u,p,y,w){this._reactName=s,this._targetInst=p,this.type=u,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var _ in e)if(e.hasOwnProperty(_)){var T=e[_];T?this[_]=T(y):this[_]=y[_]}var R=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return R?this.isDefaultPrevented=Vu:this.isDefaultPrevented=vm,this.isPropagationStopped=vm,this}return Xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Vu)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Vu)},persist:function(){},isPersistent:Vu}),t}var Rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fa=Xa(Rl),Oo=Xt({},Rl,{view:0,detail:0}),ds=Xa(Oo),Ka,ym,Qc;function yv(e){e!==Qc&&(Qc&&e.type==="mousemove"?(Ka=e.screenX-Qc.screenX,ym=e.screenY-Qc.screenY):(Ka=0,ym=0),Qc=e)}var bm=Xt({},Oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wm,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:(yv(e),Ka)},movementY:function(e){return"movementY"in e?e.movementY:ym}}),Ll=Xa(bm),Mb=Xt({},bm,{dataTransfer:0}),bv=Xa(Mb),Xc=Xt({},Oo,{relatedTarget:0}),Vp=Xa(Xc),Kc=Xt({},Rl,{animationName:0,elapsedTime:0,pseudoElement:0}),Ib=Xa(Kc),jb=Xt({},Rl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kv=Xa(jb),km=Xt({},Rl,{data:0}),zb=Xa(km),u2=zb,Ub={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hb={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 Jc(e){if(e.key){var t=Ub[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Yc(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Hb[e.keyCode]||"Unidentified":""}var c2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nf(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=c2[e];return u?!!s[u]:!1}function wm(e){return nf}var Rr=Xt({},Oo,{key:Jc,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wm,charCode:function(e){return e.type==="keypress"?Yc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),d2=Xa(Rr),Vb=Xt({},bm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qb=Xa(Vb),f2=Xt({},Oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wm}),Wb=Xa(f2),Gb=Xt({},Rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),p2=Xa(Gb),Ro=Xt({},bm,{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}),wv=Xa(Ro),h2=[9,13,27,32],Bl=229,rf=Dn&&"CompositionEvent"in window,fs=null;Dn&&"documentMode"in document&&(fs=document.documentMode);var Dm=Dn&&"TextEvent"in window&&!fs,Sm=Dn&&(!rf||fs&&fs>8&&fs<=11),Cm=32,Yb=String.fromCharCode(Cm);function Dv(){Lt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Lt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Lt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Lt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Qb=!1;function Xb(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Kb(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function xm(e,t){return e==="keydown"&&t.keyCode===Bl}function qp(e,t){switch(e){case"keyup":return h2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Bl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function _m(e){return e.locale==="ko"}var af=!1;function Jb(e,t,s,u,p){var y,w;if(rf?y=Kb(t):af?qp(t,u)&&(y="onCompositionEnd"):xm(t,u)&&(y="onCompositionStart"),!y)return null;Sm&&!_m(u)&&(!af&&y==="onCompositionStart"?af=vv(p):y==="onCompositionEnd"&&af&&(w=Hp()));var _=ik(s,y);if(_.length>0){var T=new zb(y,t,null,u,p);if(e.push({event:T,listeners:_}),w)T.data=w;else{var R=Sv(u);R!==null&&(T.data=R)}}}function Cv(e,t){switch(e){case"compositionend":return Sv(t);case"keypress":var s=t.which;return s!==Cm?null:(Qb=!0,Yb);case"textInput":var u=t.data;return u===Yb&&Qb?null:u;default:return null}}function Em(e,t){if(af){if(e==="compositionend"||!rf&&qp(e,t)){var s=Hp();return Hu(),af=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!Xb(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sm&&!_m(t)?null:t.data;default:return null}}function xv(e,t,s,u,p){var y;if(Dm?y=Cv(t,u):y=Em(t,u),!y)return null;var w=ik(s,"onBeforeInput");if(w.length>0){var _=new u2("onBeforeInput","beforeinput",null,u,p);e.push({event:_,listeners:w}),_.data=y}}function Tm(e,t,s,u,p,y,w){Jb(e,t,s,u,p),xv(e,t,s,u,p)}var Zb={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 ek(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zb[e.type]:t==="textarea"}/**
|
|
181
181
|
* Checks if an event is supported in the current execution environment.
|
|
182
182
|
*
|
|
183
183
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -189,8 +189,8 @@ Check the render method of \``+e+"`.":""}var As=["value","defaultValue"];functio
|
|
|
189
189
|
* @return {boolean} True if the event is supported.
|
|
190
190
|
* @internal
|
|
191
191
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
192
|
-
*/function Fm(e){if(!Dn)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function m2(){Lt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function of(e,t,s,u){Eu(u);var p=ik(t,"onChange");if(p.length>0){var y=new Fa("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Wp=null,qu=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];of(t,qu,e,hp(e)),Qh(c,t)}function c(e){$E(e,0)}function m(e){var t=Rm(e);if(So(t))return e}function b(e,t){if(e==="change")return t}var S=!1;Dn&&(S=Fm("input")&&(!document.documentMode||document.documentMode>9));function P(e,t){Wp=e,qu=t,Wp.attachEvent("onpropertychange",X)}function z(){Wp&&(Wp.detachEvent("onpropertychange",X),Wp=null,qu=null)}function X(e){e.propertyName==="value"&&m(qu)&&o(e)}function ge(e,t,s){e==="focusin"?(z(),P(t,s)):e==="focusout"&&z()}function Be(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return m(qu)}function ze(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Le(e,t){if(e==="click")return m(t)}function lt(e,t){if(e==="input"||e==="change")return m(t)}function ht(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Tt(e,"number",e.value)}function kt(e,t,s,u,p,y,w){var _=s?Rm(s):window,T,R;if(a(_)?T=b:ek(_)?S?T=lt:(T=Be,R=ge):ze(_)&&(T=Le),T){var M=T(t,s);if(M){of(e,M,u,p);return}}R&&R(t,_,s),t==="focusout"&&ht(_)}function jr(){Jt("onMouseEnter",["mouseout","mouseover"]),Jt("onMouseLeave",["mouseout","mouseover"]),Jt("onPointerEnter",["pointerout","pointerover"]),Jt("onPointerLeave",["pointerout","pointerover"])}function le(e,t,s,u,p,y,w){var _=t==="mouseover"||t==="pointerover",T=t==="mouseout"||t==="pointerout";if(_&&!Sc(u)){var R=u.relatedTarget||u.fromElement;if(R&&(Qp(R)||Iv(R)))return}if(!(!T&&!_)){var M;if(p.window===p)M=p;else{var re=p.ownerDocument;re?M=re.defaultView||re.parentWindow:M=window}var Z,pe;if(T){var ve=u.relatedTarget||u.toElement;if(Z=s,pe=ve?Qp(ve):null,pe!==null){var xe=ii(pe);(pe!==xe||pe.tag!==B&&pe.tag!==j)&&(pe=null)}}else Z=null,pe=s;if(Z!==pe){var nt=Ll,St="onMouseLeave",Ot="onMouseEnter",dn="mouse";(t==="pointerout"||t==="pointerover")&&(nt=qb,St="onPointerLeave",Ot="onPointerEnter",dn="pointer");var on=Z==null?M:Rm(Z),ue=pe==null?M:Rm(pe),Se=new nt(St,dn+"leave",Z,u,p);Se.target=on,Se.relatedTarget=ue;var ce=null,He=Qp(p);if(He===s){var ct=new nt(Ot,dn+"enter",pe,u,p);ct.target=ue,ct.relatedTarget=on,ce=ct}_4(e,Se,ce,Z,pe)}}}function te(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oe=typeof Object.is=="function"?Object.is:te;function We(e,t){if(oe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!Yn.call(t,y)||!oe(e[y],t[y]))return!1}return!0}function Dt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Nt(e,t){for(var s=Dt(e),u=0,p=0;s;){if(s.nodeType===ri){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=Dt(Rt(s))}}function Ht(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,_=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return va(e,p,y,w,_)}function va(e,t,s,u,p){var y=0,w=-1,_=-1,T=0,R=0,M=e,re=null;e:for(;;){for(var Z=null;M===t&&(s===0||M.nodeType===ri)&&(w=y+s),M===u&&(p===0||M.nodeType===ri)&&(_=y+p),M.nodeType===ri&&(y+=M.nodeValue.length),(Z=M.firstChild)!==null;)re=M,M=Z;for(;;){if(M===e)break e;if(re===t&&++T===s&&(w=y),re===u&&++R===p&&(_=y),(Z=M.nextSibling)!==null)break;M=re,re=M.parentNode}M=Z}return w===-1||_===-1?null:{start:w,end:_}}function Pn(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),_=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>_){var T=_;_=w,w=T}var R=Nt(e,w),M=Nt(e,_);if(R&&M){if(p.rangeCount===1&&p.anchorNode===R.node&&p.anchorOffset===R.offset&&p.focusNode===M.node&&p.focusOffset===M.offset)return;var re=s.createRange();re.setStart(R.node,R.offset),p.removeAllRanges(),w>_?(p.addRange(re),p.extend(M.node,M.offset)):(re.setEnd(M.node,M.offset),p.addRange(re))}}}function Ml(e){return e&&e.nodeType===ri}function tk(e,t){return!e||!t?!1:e===t?!0:Ml(e)?!1:Ml(t)?tk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function l4(e){return e&&e.ownerDocument&&tk(e.ownerDocument.documentElement,e)}function u4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function wE(){for(var e=window,t=Di();t instanceof e.HTMLIFrameElement;){if(u4(t))e=t.contentWindow;else return t;t=Di(e.document)}return t}function g2(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 c4(){var e=wE();return{focusedElem:e,selectionRange:g2(e)?f4(e):null}}function d4(e){var t=wE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&l4(s)){u!==null&&g2(s)&&p4(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===pa&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var _=p[w];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function f4(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Ht(e),t||{start:0,end:0}}function p4(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Pn(e,t)}var h4=Dn&&"documentMode"in document&&document.documentMode<=11;function m4(){Lt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Am=null,v2=null,_v=null,y2=!1;function g4(e){if("selectionStart"in e&&g2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function v4(e){return e.window===e?e.document:e.nodeType===Sa?e:e.ownerDocument}function DE(e,t,s){var u=v4(s);if(!(y2||Am==null||Am!==Di(u))){var p=g4(Am);if(!_v||!We(_v,p)){_v=p;var y=ik(v2,"onSelect");if(y.length>0){var w=new Fa("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=Am}}}}function y4(e,t,s,u,p,y,w){var _=s?Rm(s):window;switch(t){case"focusin":(ek(_)||_.contentEditable==="true")&&(Am=_,v2=s,_v=null);break;case"focusout":Am=null,v2=null,_v=null;break;case"mousedown":y2=!0;break;case"contextmenu":case"mouseup":case"dragend":y2=!1,DE(e,u,p);break;case"selectionchange":if(h4)break;case"keydown":case"keyup":DE(e,u,p)}}function nk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var $m={animationend:nk("Animation","AnimationEnd"),animationiteration:nk("Animation","AnimationIteration"),animationstart:nk("Animation","AnimationStart"),transitionend:nk("Transition","TransitionEnd")},b2={},SE={};Dn&&(SE=document.createElement("div").style,"AnimationEvent"in window||(delete $m.animationend.animation,delete $m.animationiteration.animation,delete $m.animationstart.animation),"TransitionEvent"in window||delete $m.transitionend.transition);function rk(e){if(b2[e])return b2[e];if(!$m[e])return e;var t=$m[e];for(var s in t)if(t.hasOwnProperty(s)&&s in SE)return b2[e]=t[s];return e}var CE=rk("animationend"),xE=rk("animationiteration"),_E=rk("animationstart"),EE=rk("transitionend"),TE=new Map,FE=["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 sf(e,t){TE.set(e,t),Lt(t,[e])}function b4(){for(var e=0;e<FE.length;e++){var t=FE[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);sf(s,"on"+u)}sf(CE,"onAnimationEnd"),sf(xE,"onAnimationIteration"),sf(_E,"onAnimationStart"),sf("dblclick","onDoubleClick"),sf("focusin","onFocus"),sf("focusout","onBlur"),sf(EE,"onTransitionEnd")}function k4(e,t,s,u,p,y,w){var _=TE.get(t);if(_!==void 0){var T=Fa,R=t;switch(t){case"keypress":if(Yc(u)===0)return;case"keydown":case"keyup":T=d2;break;case"focusin":R="focus",T=Vp;break;case"focusout":R="blur",T=Vp;break;case"beforeblur":case"afterblur":T=Vp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Ll;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=bv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=Wb;break;case CE:case xE:case _E:T=Ib;break;case EE:T=p2;break;case"scroll":T=ds;break;case"wheel":T=wv;break;case"copy":case"cut":case"paste":T=kv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=qb;break}var M=(y&Ci)!==0;{var re=!M&&t==="scroll",Z=C4(s,_,u.type,M,re);if(Z.length>0){var pe=new T(_,R,null,u,p);e.push({event:pe,listeners:Z})}}}}b4(),jr(),m2(),m4(),Dv();function w4(e,t,s,u,p,y,w){k4(e,t,s,u,p,y);var _=(y&pp)===0;_&&(le(e,t,s,u,p),kt(e,t,s,u,p),y4(e,t,s,u,p),Tm(e,t,s,u,p))}var Ev=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],k2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Ev));function AE(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,Zi(u,t,void 0,e),e.currentTarget=null}function D4(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,_=y.currentTarget,T=y.listener;if(w!==u&&e.isPropagationStopped())return;AE(e,T,_),u=w}else for(var R=0;R<t.length;R++){var M=t[R],re=M.instance,Z=M.currentTarget,pe=M.listener;if(re!==u&&e.isPropagationStopped())return;AE(e,pe,Z),u=re}}function $E(e,t){for(var s=(t&Ci)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;D4(y,w,s)}Ls()}function S4(e,t,s,u,p){var y=hp(s),w=[];w4(w,e,u,s,y,t),$E(w,t)}function Fr(e,t){k2.has(e)||v('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=Z8(t),p=E4(e);u.has(p)||(PE(t,e,jd,s),u.add(p))}function w2(e,t,s){k2.has(e)&&!t&&v('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|=Ci),PE(s,e,u,t)}var ak="_reactListening"+Math.random().toString(36).slice(2);function Tv(e){if(!e[ak]){e[ak]=!0,vt.forEach(function(s){s!=="selectionchange"&&(k2.has(s)||w2(s,!1,e),w2(s,!0,e))});var t=e.nodeType===Sa?e:e.ownerDocument;t!==null&&(t[ak]||(t[ak]=!0,w2("selectionchange",!1,t)))}}function PE(e,t,s,u,p){var y=Gr(e,t,s),w=void 0;Fu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?Ri(e,t,y,w):Up(e,t,y):w!==void 0?gv(e,t,y,w):mv(e,t,y)}function NE(e,t){return e===t||e.nodeType===_r&&e.parentNode===t}function D2(e,t,s,u,p){var y=u;if(!(t&Id)&&!(t&jd)){var w=p;if(u!==null){var _=u;e:for(;;){if(_===null)return;var T=_.tag;if(T===N||T===O){var R=_.stateNode.containerInfo;if(NE(R,w))break;if(T===O)for(var M=_.return;M!==null;){var re=M.tag;if(re===N||re===O){var Z=M.stateNode.containerInfo;if(NE(Z,w))return}M=M.return}for(;R!==null;){var pe=Qp(R);if(pe===null)return;var ve=pe.tag;if(ve===B||ve===j){_=y=pe;continue e}R=R.parentNode}}_=_.return}}}Qh(function(){return S4(e,t,s,y)})}function Fv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function C4(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,_=u?w:t,T=[],R=e,M=null;R!==null;){var re=R,Z=re.stateNode,pe=re.tag;if(pe===B&&Z!==null&&(M=Z,_!==null)){var ve=Zo(R,_);ve!=null&&T.push(Fv(R,ve,M))}if(p)break;R=R.return}return T}function ik(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,_=y.tag;if(_===B&&w!==null){var T=w,R=Zo(p,s);R!=null&&u.unshift(Fv(p,R,T));var M=Zo(p,t);M!=null&&u.push(Fv(p,M,T))}p=p.return}return u}function Pm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==B);return e||null}function x4(e,t){for(var s=e,u=t,p=0,y=s;y;y=Pm(y))p++;for(var w=0,_=u;_;_=Pm(_))w++;for(;p-w>0;)s=Pm(s),p--;for(;w-p>0;)u=Pm(u),w--;for(var T=p;T--;){if(s===u||u!==null&&s===u.alternate)return s;s=Pm(s),u=Pm(u)}return null}function OE(e,t,s,u,p){for(var y=t._reactName,w=[],_=s;_!==null&&_!==u;){var T=_,R=T.alternate,M=T.stateNode,re=T.tag;if(R!==null&&R===u)break;if(re===B&&M!==null){var Z=M;if(p){var pe=Zo(_,y);pe!=null&&w.unshift(Fv(_,pe,Z))}else if(!p){var ve=Zo(_,y);ve!=null&&w.push(Fv(_,ve,Z))}}_=_.return}w.length!==0&&e.push({event:t,listeners:w})}function _4(e,t,s,u,p){var y=u&&p?x4(u,p):null;u!==null&&OE(e,t,u,y,!1),p!==null&&s!==null&&OE(e,s,p,y,!0)}function E4(e,t){return e+"__bubble"}var Lo=!1,Av="dangerouslySetInnerHTML",ok="suppressContentEditableWarning",lf="suppressHydrationWarning",RE="autoFocus",Gp="children",Yp="style",sk="__html",S2,lk,$v,LE,uk,BE,ME;S2={dialog:!0,webview:!0},lk=function(e,t){xu(e,t),_u(e,t),Dc(e,t,{registrationNameDependencies:Xe,possibleRegistrationNames:At})},BE=Dn&&!document.documentMode,$v=function(e,t,s){if(!Lo){var u=ck(s),p=ck(t);p!==u&&(Lo=!0,v("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},LE=function(e){if(!Lo){Lo=!0;var t=[];e.forEach(function(s){t.push(s)}),v("Extra attributes from the server: %s",t)}},uk=function(e,t){t===!1?v("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):v("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},ME=function(e,t){var s=e.namespaceURI===Ki?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var T4=/\r\n?/g,F4=/\u0000|\uFFFD/g;function ck(e){Bn(e);var t=typeof e=="string"?e:""+e;return t.replace(T4,`
|
|
193
|
-
`).replace(F4,"")}function dk(e,t,s,u){var p=ck(t),y=ck(e);if(y!==p&&(u&&(Lo||(Lo=!0,v('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Ie))throw new Error("Text content does not match server-rendered HTML.")}function IE(e){return e.nodeType===Sa?e:e.ownerDocument}function A4(){}function fk(e){e.onclick=A4}function $4(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===Yp)w&&Object.freeze(w),qh(t,w);else if(y===Av){var _=w?w[sk]:void 0;_!=null&&$s(t,_)}else if(y===Gp)if(typeof w=="string"){var T=e!=="textarea"||w!=="";T&&Co(t,w)}else typeof w=="number"&&Co(t,""+w);else y===ok||y===lf||y===RE||(Xe.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&uk(y,w),y==="onScroll"&&Fr("scroll",t)):w!=null&&ar(t,y,w,p))}}function P4(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===Yp?qh(e,w):y===Av?$s(e,w):y===Gp?Co(e,w):ar(e,y,w,u)}}function N4(e,t,s,u){var p,y=IE(s),w,_=u;if(_===Ki&&(_=yc(e)),_===Ki){if(p=Ko(e,t),!p&&e!==e.toLowerCase()&&v("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var T=y.createElement("div");T.innerHTML="<script><\/script>";var R=T.firstChild;w=T.removeChild(R)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var M=w;t.multiple?M.multiple=!0:t.size&&(M.size=t.size)}}else w=y.createElementNS(_,e);return _===Ki&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Yn.call(S2,e)&&(S2[e]=!0,v("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function O4(e,t){return IE(t).createTextNode(e)}function R4(e,t,s,u){var p=Ko(t,s);lk(t,s);var y;switch(t){case"dialog":Fr("cancel",e),Fr("close",e),y=s;break;case"iframe":case"object":case"embed":Fr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Ev.length;w++)Fr(Ev[w],e);y=s;break;case"source":Fr("error",e),y=s;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),y=s;break;case"details":Fr("toggle",e),y=s;break;case"input":Xi(e,s),y=gu(e,s),Fr("invalid",e);break;case"option":wn(e,s),y=s;break;case"select":vl(e,s),y=gc(e,s),Fr("invalid",e);break;case"textarea":tp(e,s),y=ep(e,s),Fr("invalid",e);break;default:y=s}switch(Rd(t,y),$4(t,e,u,y,p),t){case"input":Qi(e),he(e,s,!1);break;case"textarea":Qi(e),rp(e);break;case"option":In(e,s);break;case"select":Jf(e,s);break;default:typeof y.onClick=="function"&&fk(e);break}}function L4(e,t,s,u,p){lk(t,u);var y=null,w,_;switch(t){case"input":w=gu(e,s),_=gu(e,u),y=[];break;case"select":w=gc(e,s),_=gc(e,u),y=[];break;case"textarea":w=ep(e,s),_=ep(e,u),y=[];break;default:w=s,_=u,typeof w.onClick!="function"&&typeof _.onClick=="function"&&fk(e);break}Rd(t,_);var T,R,M=null;for(T in w)if(!(_.hasOwnProperty(T)||!w.hasOwnProperty(T)||w[T]==null))if(T===Yp){var re=w[T];for(R in re)re.hasOwnProperty(R)&&(M||(M={}),M[R]="")}else T===Av||T===Gp||T===ok||T===lf||T===RE||(Xe.hasOwnProperty(T)?y||(y=[]):(y=y||[]).push(T,null));for(T in _){var Z=_[T],pe=w!=null?w[T]:void 0;if(!(!_.hasOwnProperty(T)||Z===pe||Z==null&&pe==null))if(T===Yp)if(Z&&Object.freeze(Z),pe){for(R in pe)pe.hasOwnProperty(R)&&(!Z||!Z.hasOwnProperty(R))&&(M||(M={}),M[R]="");for(R in Z)Z.hasOwnProperty(R)&&pe[R]!==Z[R]&&(M||(M={}),M[R]=Z[R])}else M||(y||(y=[]),y.push(T,M)),M=Z;else if(T===Av){var ve=Z?Z[sk]:void 0,xe=pe?pe[sk]:void 0;ve!=null&&xe!==ve&&(y=y||[]).push(T,ve)}else T===Gp?(typeof Z=="string"||typeof Z=="number")&&(y=y||[]).push(T,""+Z):T===ok||T===lf||(Xe.hasOwnProperty(T)?(Z!=null&&(typeof Z!="function"&&uk(T,Z),T==="onScroll"&&Fr("scroll",e)),!y&&pe!==Z&&(y=[])):(y=y||[]).push(T,Z))}return M&&(Gh(M,_[Yp]),(y=y||[]).push(Yp,M)),y}function B4(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&F(e,p);var y=Ko(s,u),w=Ko(s,p);switch(P4(e,t,y,w),s){case"input":q(e,p);break;case"textarea":np(e,p);break;case"select":vc(e,p);break}}function M4(e){{var t=e.toLowerCase();return wc.hasOwnProperty(t)&&wc[t]||null}}function I4(e,t,s,u,p,y,w){var _,T;switch(_=Ko(t,s),lk(t,s),t){case"dialog":Fr("cancel",e),Fr("close",e);break;case"iframe":case"object":case"embed":Fr("load",e);break;case"video":case"audio":for(var R=0;R<Ev.length;R++)Fr(Ev[R],e);break;case"source":Fr("error",e);break;case"img":case"image":case"link":Fr("error",e),Fr("load",e);break;case"details":Fr("toggle",e);break;case"input":Xi(e,s),Fr("invalid",e);break;case"option":wn(e,s);break;case"select":vl(e,s),Fr("invalid",e);break;case"textarea":tp(e,s),Fr("invalid",e);break}Rd(t,s);{T=new Set;for(var M=e.attributes,re=0;re<M.length;re++){var Z=M[re].name.toLowerCase();switch(Z){case"value":break;case"checked":break;case"selected":break;default:T.add(M[re].name)}}}var pe=null;for(var ve in s)if(s.hasOwnProperty(ve)){var xe=s[ve];if(ve===Gp)typeof xe=="string"?e.textContent!==xe&&(s[lf]!==!0&&dk(e.textContent,xe,y,w),pe=[Gp,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(s[lf]!==!0&&dk(e.textContent,xe,y,w),pe=[Gp,""+xe]);else if(Xe.hasOwnProperty(ve))xe!=null&&(typeof xe!="function"&&uk(ve,xe),ve==="onScroll"&&Fr("scroll",e));else if(w&&typeof _=="boolean"){var nt=void 0,St=ua(ve);if(s[lf]!==!0&&!(ve===ok||ve===lf||ve==="value"||ve==="checked"||ve==="selected")){if(ve===Av){var Ot=e.innerHTML,dn=xe?xe[sk]:void 0;if(dn!=null){var on=ME(e,dn);on!==Ot&&$v(ve,Ot,on)}}else if(ve===Yp){if(T.delete(ve),BE){var ue=Wg(xe);nt=e.getAttribute("style"),ue!==nt&&$v(ve,nt,ue)}}else if(_)T.delete(ve.toLowerCase()),nt=yi(e,ve,xe),xe!==nt&&$v(ve,nt,xe);else if(!An(ve,St,_)&&!hn(ve,xe,St,_)){var Se=!1;if(St!==null)T.delete(St.attributeName),nt=Hi(e,ve,xe,St);else{var ce=u;if(ce===Ki&&(ce=yc(t)),ce===Ki)T.delete(ve.toLowerCase());else{var He=M4(ve);He!==null&&He!==ve&&(Se=!0,T.delete(He)),T.delete(ve)}nt=yi(e,ve,xe)}var ct=Q;!ct&&xe!==nt&&!Se&&$v(ve,nt,xe)}}}}switch(w&&T.size>0&&s[lf]!==!0&&LE(T),t){case"input":Qi(e),he(e,s,!0);break;case"textarea":Qi(e),rp(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&fk(e);break}return pe}function j4(e,t,s){var u=e.nodeValue!==t;return u}function C2(e,t){{if(Lo)return;Lo=!0,v("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function x2(e,t){{if(Lo)return;Lo=!0,v('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function _2(e,t,s){{if(Lo)return;Lo=!0,v("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function E2(e,t){{if(t===""||Lo)return;Lo=!0,v('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function z4(e,t,s){switch(t){case"input":De(e,s);return;case"textarea":Hg(e,s);return;case"select":Zf(e,s);return}}var Pv=function(){},Nv=function(){};{var U4=["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"],jE=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],H4=jE.concat(["button"]),V4=["dd","dt","li","option","optgroup","p","rp","rt"],zE={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Nv=function(e,t){var s=Xt({},e||zE),u={tag:t};return jE.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),H4.indexOf(t)!==-1&&(s.pTagInButtonScope=null),U4.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var q4=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 V4.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},W4=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},UE={};Pv=function(e,t,s){s=s||zE;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&v("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=q4(e,p)?null:u,w=y?null:W4(e,s),_=y||w;if(_){var T=_.tag,R=!!y+"|"+e+"|"+T;if(!UE[R]){UE[R]=!0;var M=e,re="";if(e==="#text"?/\S/.test(t)?M="Text nodes":(M="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):M="<"+e+">",y){var Z="";T==="table"&&e==="tr"&&(Z+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",M,T,re,Z)}else v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",M,T)}}}}var pk="suppressHydrationWarning",hk="$",mk="/$",Ov="$?",Rv="$!",G4="style",T2=null,F2=null;function Y4(e){var t,s,u=e.nodeType;switch(u){case Sa:case yl:{t=u===Sa?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:ap(null,"");break}default:{var y=u===_r?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=ap(w,t);break}}{var _=t.toLowerCase(),T=Nv(null,_);return{namespace:s,ancestorInfo:T}}}function Q4(e,t,s){{var u=e,p=ap(u.namespace,t),y=Nv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function X4(e){T2=ga(),F2=c4();var t=null;return _n(!1),t}function K4(e){d4(F2),_n(T2),T2=null,F2=null}function J4(e,t,s,u,p){var y;{var w=u;if(Pv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,T=Nv(w.ancestorInfo,e);Pv(null,_,T)}y=w.namespace}var R=N4(e,t,s,y);return Mv(p,R),B2(R,t),R}function Z4(e,t){e.appendChild(t)}function e8(e,t,s,u,p){switch(R4(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function t8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,T=Nv(w.ancestorInfo,t);Pv(null,_,T)}}return L4(e,t,s,u)}function A2(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 n8(e,t,s,u){{var p=s;Pv(null,e,p.ancestorInfo)}var y=O4(e,t);return Mv(u,y),y}function r8(){var e=window.event;return e===void 0?Ws:zp(e.type)}var $2=typeof setTimeout=="function"?setTimeout:void 0,a8=typeof clearTimeout=="function"?clearTimeout:void 0,P2=-1,HE=typeof Promise=="function"?Promise:void 0,i8=typeof queueMicrotask=="function"?queueMicrotask:typeof HE<"u"?function(e){return HE.resolve(null).then(e).catch(o8)}:$2;function o8(e){setTimeout(function(){throw e})}function s8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function l8(e,t,s,u,p,y){B4(e,t,s,u,p),B2(e,p)}function VE(e){Co(e,"")}function u8(e,t,s){e.nodeValue=s}function c8(e,t){e.appendChild(t)}function d8(e,t){var s;e.nodeType===_r?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&fk(s)}function f8(e,t,s){e.insertBefore(t,s)}function p8(e,t,s){e.nodeType===_r?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function h8(e,t){e.removeChild(t)}function m8(e,t){e.nodeType===_r?e.parentNode.removeChild(t):e.removeChild(t)}function N2(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===_r){var y=p.data;if(y===mk)if(u===0){e.removeChild(p),Mu(t);return}else u--;else(y===hk||y===Ov||y===Rv)&&u++}s=p}while(s);Mu(t)}function g8(e,t){e.nodeType===_r?N2(e.parentNode,t):e.nodeType===pa&&N2(e,t),Mu(e)}function v8(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function y8(e){e.nodeValue=""}function b8(e,t){e=e;var s=t[G4],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=$d("display",u)}function k8(e,t){e.nodeValue=t}function w8(e){e.nodeType===pa?e.textContent="":e.nodeType===Sa&&e.documentElement&&e.removeChild(e.documentElement)}function D8(e,t,s){return e.nodeType!==pa||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function S8(e,t){return t===""||e.nodeType!==ri?null:e}function C8(e){return e.nodeType!==_r?null:e}function qE(e){return e.data===Ov}function O2(e){return e.data===Rv}function x8(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function _8(e,t){e._reactRetry=t}function gk(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===pa||t===ri)break;if(t===_r){var s=e.data;if(s===hk||s===Rv||s===Ov)break;if(s===mk)return null}}return e}function Lv(e){return gk(e.nextSibling)}function E8(e){return gk(e.firstChild)}function T8(e){return gk(e.firstChild)}function F8(e){return gk(e.nextSibling)}function A8(e,t,s,u,p,y,w){Mv(y,e),B2(e,s);var _;{var T=p;_=T.namespace}var R=(y.mode&nn)!==xt;return I4(e,t,s,_,u,R,w)}function $8(e,t,s,u){return Mv(s,e),s.mode&nn,j4(e,t)}function P8(e,t){Mv(t,e)}function N8(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===_r){var u=t.data;if(u===mk){if(s===0)return Lv(t);s--}else(u===hk||u===Rv||u===Ov)&&s++}t=t.nextSibling}return null}function WE(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===_r){var u=t.data;if(u===hk||u===Rv||u===Ov){if(s===0)return t;s--}else u===mk&&s++}t=t.previousSibling}return null}function O8(e){Mu(e)}function R8(e){Mu(e)}function L8(e){return e!=="head"&&e!=="body"}function B8(e,t,s,u){var p=!0;dk(t.nodeValue,s,u,p)}function M8(e,t,s,u,p,y){if(t[pk]!==!0){var w=!0;dk(u.nodeValue,p,y,w)}}function I8(e,t){t.nodeType===pa?C2(e,t):t.nodeType===_r||x2(e,t)}function j8(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===pa?C2(s,t):t.nodeType===_r||x2(s,t))}}function z8(e,t,s,u,p){(p||t[pk]!==!0)&&(u.nodeType===pa?C2(s,u):u.nodeType===_r||x2(s,u))}function U8(e,t,s){_2(e,t)}function H8(e,t){E2(e,t)}function V8(e,t,s){{var u=e.parentNode;u!==null&&_2(u,t)}}function q8(e,t){{var s=e.parentNode;s!==null&&E2(s,t)}}function W8(e,t,s,u,p,y){(y||t[pk]!==!0)&&_2(s,u)}function G8(e,t,s,u,p){(p||t[pk]!==!0)&&E2(s,u)}function Y8(e){v("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Q8(e){Tv(e)}var Nm=Math.random().toString(36).slice(2),Om="__reactFiber$"+Nm,R2="__reactProps$"+Nm,Bv="__reactContainer$"+Nm,L2="__reactEvents$"+Nm,X8="__reactListeners$"+Nm,K8="__reactHandles$"+Nm;function J8(e){delete e[Om],delete e[R2],delete e[L2],delete e[X8],delete e[K8]}function Mv(e,t){t[Om]=e}function vk(e,t){t[Bv]=e}function GE(e){e[Bv]=null}function Iv(e){return!!e[Bv]}function Qp(e){var t=e[Om];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Bv]||s[Om],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=WE(e);p!==null;){var y=p[Om];if(y)return y;p=WE(p)}return t}e=s,s=e.parentNode}return null}function uf(e){var t=e[Om]||e[Bv];return t&&(t.tag===B||t.tag===j||t.tag===U||t.tag===N)?t:null}function Rm(e){if(e.tag===B||e.tag===j)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function yk(e){return e[R2]||null}function B2(e,t){e[R2]=t}function Z8(e){var t=e[L2];return t===void 0&&(t=e[L2]=new Set),t}var YE={},QE=i.ReactDebugCurrentFrame;function bk(e){if(e){var t=e._owner,s=ti(e.type,e._source,t?t.type:null);QE.setExtraStackFrame(s)}else QE.setExtraStackFrame(null)}function Il(e,t,s,u,p){{var y=Function.call.bind(Yn);for(var w in e)if(y(e,w)){var _=void 0;try{if(typeof e[w]!="function"){var T=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){_=R}_&&!(_ instanceof Error)&&(bk(p),v("%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",s,w,typeof _),bk(null)),_ instanceof Error&&!(_.message in YE)&&(YE[_.message]=!0,bk(p),v("Failed %s type: %s",s,_.message),bk(null))}}}var M2=[],kk;kk=[];var Zc=-1;function cf(e){return{current:e}}function Li(e,t){if(Zc<0){v("Unexpected pop.");return}t!==kk[Zc]&&v("Unexpected Fiber popped."),e.current=M2[Zc],M2[Zc]=null,kk[Zc]=null,Zc--}function Bi(e,t,s){Zc++,M2[Zc]=e.current,kk[Zc]=s,e.current=t}var I2;I2={};var ps={};Object.freeze(ps);var ed=cf(ps),Wu=cf(!1),j2=ps;function Lm(e,t,s){return s&&Gu(t)?j2:ed.current}function XE(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Bm(e,t){{var s=e.type,u=s.contextTypes;if(!u)return ps;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var _=Mt(e)||"Unknown";Il(u,y,"context",_)}return p&&XE(e,t,y),y}}function wk(){return Wu.current}function Gu(e){{var t=e.childContextTypes;return t!=null}}function Dk(e){Li(Wu,e),Li(ed,e)}function z2(e){Li(Wu,e),Li(ed,e)}function KE(e,t,s){{if(ed.current!==ps)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bi(ed,t,e),Bi(Wu,s,e)}}function JE(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Mt(e)||"Unknown";I2[y]||(I2[y]=!0,v("%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.",y,y))}return s}var w=u.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((Mt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var T=Mt(e)||"Unknown";Il(p,w,"child context",T)}return Xt({},s,w)}}function Sk(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||ps;return j2=ed.current,Bi(ed,s,e),Bi(Wu,Wu.current,e),!0}}function ZE(e,t,s){{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(s){var p=JE(e,t,j2);u.__reactInternalMemoizedMergedChildContext=p,Li(Wu,e),Li(ed,e),Bi(ed,p,e),Bi(Wu,s,e)}else Li(Wu,e),Bi(Wu,s,e)}}function e6(e){{if(!js(e)||e.tag!==E)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 N:return t.stateNode.context;case E:{var s=t.type;if(Gu(s))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 df=0,Ck=1,td=null,U2=!1,H2=!1;function eT(e){td===null?td=[e]:td.push(e)}function t6(e){U2=!0,eT(e)}function tT(){U2&&ff()}function ff(){if(!H2&&td!==null){H2=!0;var e=0,t=us();try{var s=!0,u=td;for(na(Ni);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}td=null,U2=!1}catch(y){throw td!==null&&(td=td.slice(e+1)),vp(Nu,ff),y}finally{na(t),H2=!1}}return null}var Mm=[],Im=0,xk=null,_k=0,Xs=[],Ks=0,Xp=null,nd=1,rd="";function n6(e){return Jp(),(e.flags&eo)!==Ct}function r6(e){return Jp(),_k}function a6(){var e=rd,t=nd,s=t&~i6(t);return s.toString(32)+e}function Kp(e,t){Jp(),Mm[Im++]=_k,Mm[Im++]=xk,xk=e,_k=t}function nT(e,t,s){Jp(),Xs[Ks++]=nd,Xs[Ks++]=rd,Xs[Ks++]=Xp,Xp=e;var u=nd,p=rd,y=Ek(u)-1,w=u&~(1<<y),_=s+1,T=Ek(t)+y;if(T>30){var R=y-y%5,M=(1<<R)-1,re=(w&M).toString(32),Z=w>>R,pe=y-R,ve=Ek(t)+pe,xe=_<<pe,nt=xe|Z,St=re+p;nd=1<<ve|nt,rd=St}else{var Ot=_<<y,dn=Ot|w,on=p;nd=1<<T|dn,rd=on}}function V2(e){Jp();var t=e.return;if(t!==null){var s=1,u=0;Kp(e,s),nT(e,s,u)}}function Ek(e){return 32-C(e)}function i6(e){return 1<<Ek(e)-1}function q2(e){for(;e===xk;)xk=Mm[--Im],Mm[Im]=null,_k=Mm[--Im],Mm[Im]=null;for(;e===Xp;)Xp=Xs[--Ks],Xs[Ks]=null,rd=Xs[--Ks],Xs[Ks]=null,nd=Xs[--Ks],Xs[Ks]=null}function o6(){return Jp(),Xp!==null?{id:nd,overflow:rd}:null}function s6(e,t){Jp(),Xs[Ks++]=nd,Xs[Ks++]=rd,Xs[Ks++]=Xp,nd=t.id,rd=t.overflow,Xp=e}function Jp(){li()||v("Expected to be hydrating. This is a bug in React. Please file an issue.")}var si=null,Js=null,jl=!1,Zp=!1,pf=null;function l6(){jl&&v("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rT(){Zp=!0}function u6(){return Zp}function c6(e){var t=e.stateNode.containerInfo;return Js=T8(t),si=e,jl=!0,pf=null,Zp=!1,!0}function d6(e,t,s){return Js=F8(t),si=e,jl=!0,pf=null,Zp=!1,s!==null&&s6(e,s),!0}function aT(e,t){switch(e.tag){case N:{I8(e.stateNode.containerInfo,t);break}case B:{var s=(e.mode&nn)!==xt;z8(e.type,e.memoizedProps,e.stateNode,t,s);break}case U:{var u=e.memoizedState;u.dehydrated!==null&&j8(u.dehydrated,t);break}}}function iT(e,t){aT(e,t);var s=m7();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Ei):u.push(s)}function W2(e,t){{if(Zp)return;switch(e.tag){case N:{var s=e.stateNode.containerInfo;switch(t.tag){case B:var u=t.type;t.pendingProps,U8(s,u);break;case j:var p=t.pendingProps;H8(s,p);break}break}case B:{var y=e.type,w=e.memoizedProps,_=e.stateNode;switch(t.tag){case B:{var T=t.type,R=t.pendingProps,M=(e.mode&nn)!==xt;W8(y,w,_,T,R,M);break}case j:{var re=t.pendingProps,Z=(e.mode&nn)!==xt;G8(y,w,_,re,Z);break}}break}case U:{var pe=e.memoizedState,ve=pe.dehydrated;if(ve!==null)switch(t.tag){case B:var xe=t.type;t.pendingProps,V8(ve,xe);break;case j:var nt=t.pendingProps;q8(ve,nt);break}break}default:return}}}function oT(e,t){t.flags=t.flags&-4097|Er,W2(e,t)}function sT(e,t){switch(e.tag){case B:{var s=e.type;e.pendingProps;var u=D8(t,s);return u!==null?(e.stateNode=u,si=e,Js=E8(u),!0):!1}case j:{var p=e.pendingProps,y=S8(t,p);return y!==null?(e.stateNode=y,si=e,Js=null,!0):!1}case U:{var w=C8(t);if(w!==null){var _={dehydrated:w,treeContext:o6(),retryLane:no};e.memoizedState=_;var T=g7(w);return T.return=e,e.child=T,si=e,Js=null,!0}return!1}default:return!1}}function G2(e){return(e.mode&nn)!==xt&&(e.flags&yt)===Ct}function Y2(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Q2(e){if(jl){var t=Js;if(!t){G2(e)&&(W2(si,e),Y2()),oT(si,e),jl=!1,si=e;return}var s=t;if(!sT(e,t)){G2(e)&&(W2(si,e),Y2()),t=Lv(s);var u=si;if(!t||!sT(e,t)){oT(si,e),jl=!1,si=e;return}iT(u,s)}}}function f6(e,t,s){var u=e.stateNode,p=!Zp,y=A8(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function p6(e){var t=e.stateNode,s=e.memoizedProps,u=$8(t,s,e);if(u){var p=si;if(p!==null)switch(p.tag){case N:{var y=p.stateNode.containerInfo,w=(p.mode&nn)!==xt;B8(y,t,s,w);break}case B:{var _=p.type,T=p.memoizedProps,R=p.stateNode,M=(p.mode&nn)!==xt;M8(_,T,R,t,s,M);break}}}return u}function h6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");P8(s,e)}function m6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)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 N8(s)}function lT(e){for(var t=e.return;t!==null&&t.tag!==B&&t.tag!==N&&t.tag!==U;)t=t.return;si=t}function Tk(e){if(e!==si)return!1;if(!jl)return lT(e),jl=!0,!1;if(e.tag!==N&&(e.tag!==B||L8(e.type)&&!A2(e.type,e.memoizedProps))){var t=Js;if(t)if(G2(e))uT(e),Y2();else for(;t;)iT(e,t),t=Lv(t)}return lT(e),e.tag===U?Js=m6(e):Js=si?Lv(e.stateNode):null,!0}function g6(){return jl&&Js!==null}function uT(e){for(var t=Js;t;)aT(e,t),t=Lv(t)}function jm(){si=null,Js=null,jl=!1,Zp=!1}function cT(){pf!==null&&(rA(pf),pf=null)}function li(){return jl}function X2(e){pf===null?pf=[e]:pf.push(e)}var v6=i.ReactCurrentBatchConfig,y6=null;function b6(){return v6.transition}var zl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var k6=function(e){for(var t=null,s=e;s!==null;)s.mode&h&&(t=s),s=s.return;return t},eh=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},jv=[],zv=[],Uv=[],Hv=[],Vv=[],qv=[],th=new Set;zl.recordUnsafeLifecycleWarnings=function(e,t){th.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&jv.push(e),e.mode&h&&typeof t.UNSAFE_componentWillMount=="function"&&zv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uv.push(e),e.mode&h&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Hv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vv.push(e),e.mode&h&&typeof t.UNSAFE_componentWillUpdate=="function"&&qv.push(e))},zl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;jv.length>0&&(jv.forEach(function(Z){e.add(Mt(Z)||"Component"),th.add(Z.type)}),jv=[]);var t=new Set;zv.length>0&&(zv.forEach(function(Z){t.add(Mt(Z)||"Component"),th.add(Z.type)}),zv=[]);var s=new Set;Uv.length>0&&(Uv.forEach(function(Z){s.add(Mt(Z)||"Component"),th.add(Z.type)}),Uv=[]);var u=new Set;Hv.length>0&&(Hv.forEach(function(Z){u.add(Mt(Z)||"Component"),th.add(Z.type)}),Hv=[]);var p=new Set;Vv.length>0&&(Vv.forEach(function(Z){p.add(Mt(Z)||"Component"),th.add(Z.type)}),Vv=[]);var y=new Set;if(qv.length>0&&(qv.forEach(function(Z){y.add(Mt(Z)||"Component"),th.add(Z.type)}),qv=[]),t.size>0){var w=eh(t);v(`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.
|
|
192
|
+
*/function Fm(e){if(!Dn)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function m2(){Lt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function of(e,t,s,u){Eu(u);var p=ik(t,"onChange");if(p.length>0){var y=new Fa("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Wp=null,qu=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];of(t,qu,e,hp(e)),Qh(c,t)}function c(e){$E(e,0)}function m(e){var t=Rm(e);if(So(t))return e}function b(e,t){if(e==="change")return t}var S=!1;Dn&&(S=Fm("input")&&(!document.documentMode||document.documentMode>9));function P(e,t){Wp=e,qu=t,Wp.attachEvent("onpropertychange",X)}function z(){Wp&&(Wp.detachEvent("onpropertychange",X),Wp=null,qu=null)}function X(e){e.propertyName==="value"&&m(qu)&&o(e)}function ge(e,t,s){e==="focusin"?(z(),P(t,s)):e==="focusout"&&z()}function Be(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return m(qu)}function ze(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Le(e,t){if(e==="click")return m(t)}function lt(e,t){if(e==="input"||e==="change")return m(t)}function ht(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Tt(e,"number",e.value)}function kt(e,t,s,u,p,y,w){var _=s?Rm(s):window,T,R;if(a(_)?T=b:ek(_)?S?T=lt:(T=Be,R=ge):ze(_)&&(T=Le),T){var M=T(t,s);if(M){of(e,M,u,p);return}}R&&R(t,_,s),t==="focusout"&&ht(_)}function jr(){Jt("onMouseEnter",["mouseout","mouseover"]),Jt("onMouseLeave",["mouseout","mouseover"]),Jt("onPointerEnter",["pointerout","pointerover"]),Jt("onPointerLeave",["pointerout","pointerover"])}function le(e,t,s,u,p,y,w){var _=t==="mouseover"||t==="pointerover",T=t==="mouseout"||t==="pointerout";if(_&&!Sc(u)){var R=u.relatedTarget||u.fromElement;if(R&&(Qp(R)||Iv(R)))return}if(!(!T&&!_)){var M;if(p.window===p)M=p;else{var re=p.ownerDocument;re?M=re.defaultView||re.parentWindow:M=window}var Z,pe;if(T){var ve=u.relatedTarget||u.toElement;if(Z=s,pe=ve?Qp(ve):null,pe!==null){var xe=ii(pe);(pe!==xe||pe.tag!==B&&pe.tag!==j)&&(pe=null)}}else Z=null,pe=s;if(Z!==pe){var nt=Ll,St="onMouseLeave",Ot="onMouseEnter",dn="mouse";(t==="pointerout"||t==="pointerover")&&(nt=qb,St="onPointerLeave",Ot="onPointerEnter",dn="pointer");var sn=Z==null?M:Rm(Z),ue=pe==null?M:Rm(pe),Se=new nt(St,dn+"leave",Z,u,p);Se.target=sn,Se.relatedTarget=ue;var ce=null,He=Qp(p);if(He===s){var ct=new nt(Ot,dn+"enter",pe,u,p);ct.target=ue,ct.relatedTarget=sn,ce=ct}_4(e,Se,ce,Z,pe)}}}function te(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oe=typeof Object.is=="function"?Object.is:te;function We(e,t){if(oe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!Yn.call(t,y)||!oe(e[y],t[y]))return!1}return!0}function Dt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Nt(e,t){for(var s=Dt(e),u=0,p=0;s;){if(s.nodeType===ri){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=Dt(Rt(s))}}function Ht(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,_=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return va(e,p,y,w,_)}function va(e,t,s,u,p){var y=0,w=-1,_=-1,T=0,R=0,M=e,re=null;e:for(;;){for(var Z=null;M===t&&(s===0||M.nodeType===ri)&&(w=y+s),M===u&&(p===0||M.nodeType===ri)&&(_=y+p),M.nodeType===ri&&(y+=M.nodeValue.length),(Z=M.firstChild)!==null;)re=M,M=Z;for(;;){if(M===e)break e;if(re===t&&++T===s&&(w=y),re===u&&++R===p&&(_=y),(Z=M.nextSibling)!==null)break;M=re,re=M.parentNode}M=Z}return w===-1||_===-1?null:{start:w,end:_}}function Pn(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),_=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>_){var T=_;_=w,w=T}var R=Nt(e,w),M=Nt(e,_);if(R&&M){if(p.rangeCount===1&&p.anchorNode===R.node&&p.anchorOffset===R.offset&&p.focusNode===M.node&&p.focusOffset===M.offset)return;var re=s.createRange();re.setStart(R.node,R.offset),p.removeAllRanges(),w>_?(p.addRange(re),p.extend(M.node,M.offset)):(re.setEnd(M.node,M.offset),p.addRange(re))}}}function Ml(e){return e&&e.nodeType===ri}function tk(e,t){return!e||!t?!1:e===t?!0:Ml(e)?!1:Ml(t)?tk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function l4(e){return e&&e.ownerDocument&&tk(e.ownerDocument.documentElement,e)}function u4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function wE(){for(var e=window,t=Di();t instanceof e.HTMLIFrameElement;){if(u4(t))e=t.contentWindow;else return t;t=Di(e.document)}return t}function g2(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 c4(){var e=wE();return{focusedElem:e,selectionRange:g2(e)?f4(e):null}}function d4(e){var t=wE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&l4(s)){u!==null&&g2(s)&&p4(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===pa&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var _=p[w];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function f4(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Ht(e),t||{start:0,end:0}}function p4(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Pn(e,t)}var h4=Dn&&"documentMode"in document&&document.documentMode<=11;function m4(){Lt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Am=null,v2=null,_v=null,y2=!1;function g4(e){if("selectionStart"in e&&g2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function v4(e){return e.window===e?e.document:e.nodeType===Sa?e:e.ownerDocument}function DE(e,t,s){var u=v4(s);if(!(y2||Am==null||Am!==Di(u))){var p=g4(Am);if(!_v||!We(_v,p)){_v=p;var y=ik(v2,"onSelect");if(y.length>0){var w=new Fa("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=Am}}}}function y4(e,t,s,u,p,y,w){var _=s?Rm(s):window;switch(t){case"focusin":(ek(_)||_.contentEditable==="true")&&(Am=_,v2=s,_v=null);break;case"focusout":Am=null,v2=null,_v=null;break;case"mousedown":y2=!0;break;case"contextmenu":case"mouseup":case"dragend":y2=!1,DE(e,u,p);break;case"selectionchange":if(h4)break;case"keydown":case"keyup":DE(e,u,p)}}function nk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var $m={animationend:nk("Animation","AnimationEnd"),animationiteration:nk("Animation","AnimationIteration"),animationstart:nk("Animation","AnimationStart"),transitionend:nk("Transition","TransitionEnd")},b2={},SE={};Dn&&(SE=document.createElement("div").style,"AnimationEvent"in window||(delete $m.animationend.animation,delete $m.animationiteration.animation,delete $m.animationstart.animation),"TransitionEvent"in window||delete $m.transitionend.transition);function rk(e){if(b2[e])return b2[e];if(!$m[e])return e;var t=$m[e];for(var s in t)if(t.hasOwnProperty(s)&&s in SE)return b2[e]=t[s];return e}var CE=rk("animationend"),xE=rk("animationiteration"),_E=rk("animationstart"),EE=rk("transitionend"),TE=new Map,FE=["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 sf(e,t){TE.set(e,t),Lt(t,[e])}function b4(){for(var e=0;e<FE.length;e++){var t=FE[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);sf(s,"on"+u)}sf(CE,"onAnimationEnd"),sf(xE,"onAnimationIteration"),sf(_E,"onAnimationStart"),sf("dblclick","onDoubleClick"),sf("focusin","onFocus"),sf("focusout","onBlur"),sf(EE,"onTransitionEnd")}function k4(e,t,s,u,p,y,w){var _=TE.get(t);if(_!==void 0){var T=Fa,R=t;switch(t){case"keypress":if(Yc(u)===0)return;case"keydown":case"keyup":T=d2;break;case"focusin":R="focus",T=Vp;break;case"focusout":R="blur",T=Vp;break;case"beforeblur":case"afterblur":T=Vp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Ll;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=bv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=Wb;break;case CE:case xE:case _E:T=Ib;break;case EE:T=p2;break;case"scroll":T=ds;break;case"wheel":T=wv;break;case"copy":case"cut":case"paste":T=kv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=qb;break}var M=(y&Ci)!==0;{var re=!M&&t==="scroll",Z=C4(s,_,u.type,M,re);if(Z.length>0){var pe=new T(_,R,null,u,p);e.push({event:pe,listeners:Z})}}}}b4(),jr(),m2(),m4(),Dv();function w4(e,t,s,u,p,y,w){k4(e,t,s,u,p,y);var _=(y&pp)===0;_&&(le(e,t,s,u,p),kt(e,t,s,u,p),y4(e,t,s,u,p),Tm(e,t,s,u,p))}var Ev=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],k2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Ev));function AE(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,Zi(u,t,void 0,e),e.currentTarget=null}function D4(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,_=y.currentTarget,T=y.listener;if(w!==u&&e.isPropagationStopped())return;AE(e,T,_),u=w}else for(var R=0;R<t.length;R++){var M=t[R],re=M.instance,Z=M.currentTarget,pe=M.listener;if(re!==u&&e.isPropagationStopped())return;AE(e,pe,Z),u=re}}function $E(e,t){for(var s=(t&Ci)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;D4(y,w,s)}Ls()}function S4(e,t,s,u,p){var y=hp(s),w=[];w4(w,e,u,s,y,t),$E(w,t)}function Fr(e,t){k2.has(e)||v('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=Z8(t),p=E4(e);u.has(p)||(PE(t,e,jd,s),u.add(p))}function w2(e,t,s){k2.has(e)&&!t&&v('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|=Ci),PE(s,e,u,t)}var ak="_reactListening"+Math.random().toString(36).slice(2);function Tv(e){if(!e[ak]){e[ak]=!0,vt.forEach(function(s){s!=="selectionchange"&&(k2.has(s)||w2(s,!1,e),w2(s,!0,e))});var t=e.nodeType===Sa?e:e.ownerDocument;t!==null&&(t[ak]||(t[ak]=!0,w2("selectionchange",!1,t)))}}function PE(e,t,s,u,p){var y=Gr(e,t,s),w=void 0;Fu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?Ri(e,t,y,w):Up(e,t,y):w!==void 0?gv(e,t,y,w):mv(e,t,y)}function NE(e,t){return e===t||e.nodeType===_r&&e.parentNode===t}function D2(e,t,s,u,p){var y=u;if(!(t&Id)&&!(t&jd)){var w=p;if(u!==null){var _=u;e:for(;;){if(_===null)return;var T=_.tag;if(T===N||T===O){var R=_.stateNode.containerInfo;if(NE(R,w))break;if(T===O)for(var M=_.return;M!==null;){var re=M.tag;if(re===N||re===O){var Z=M.stateNode.containerInfo;if(NE(Z,w))return}M=M.return}for(;R!==null;){var pe=Qp(R);if(pe===null)return;var ve=pe.tag;if(ve===B||ve===j){_=y=pe;continue e}R=R.parentNode}}_=_.return}}}Qh(function(){return S4(e,t,s,y)})}function Fv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function C4(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,_=u?w:t,T=[],R=e,M=null;R!==null;){var re=R,Z=re.stateNode,pe=re.tag;if(pe===B&&Z!==null&&(M=Z,_!==null)){var ve=Zo(R,_);ve!=null&&T.push(Fv(R,ve,M))}if(p)break;R=R.return}return T}function ik(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,_=y.tag;if(_===B&&w!==null){var T=w,R=Zo(p,s);R!=null&&u.unshift(Fv(p,R,T));var M=Zo(p,t);M!=null&&u.push(Fv(p,M,T))}p=p.return}return u}function Pm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==B);return e||null}function x4(e,t){for(var s=e,u=t,p=0,y=s;y;y=Pm(y))p++;for(var w=0,_=u;_;_=Pm(_))w++;for(;p-w>0;)s=Pm(s),p--;for(;w-p>0;)u=Pm(u),w--;for(var T=p;T--;){if(s===u||u!==null&&s===u.alternate)return s;s=Pm(s),u=Pm(u)}return null}function OE(e,t,s,u,p){for(var y=t._reactName,w=[],_=s;_!==null&&_!==u;){var T=_,R=T.alternate,M=T.stateNode,re=T.tag;if(R!==null&&R===u)break;if(re===B&&M!==null){var Z=M;if(p){var pe=Zo(_,y);pe!=null&&w.unshift(Fv(_,pe,Z))}else if(!p){var ve=Zo(_,y);ve!=null&&w.push(Fv(_,ve,Z))}}_=_.return}w.length!==0&&e.push({event:t,listeners:w})}function _4(e,t,s,u,p){var y=u&&p?x4(u,p):null;u!==null&&OE(e,t,u,y,!1),p!==null&&s!==null&&OE(e,s,p,y,!0)}function E4(e,t){return e+"__bubble"}var Lo=!1,Av="dangerouslySetInnerHTML",ok="suppressContentEditableWarning",lf="suppressHydrationWarning",RE="autoFocus",Gp="children",Yp="style",sk="__html",S2,lk,$v,LE,uk,BE,ME;S2={dialog:!0,webview:!0},lk=function(e,t){xu(e,t),_u(e,t),Dc(e,t,{registrationNameDependencies:Xe,possibleRegistrationNames:At})},BE=Dn&&!document.documentMode,$v=function(e,t,s){if(!Lo){var u=ck(s),p=ck(t);p!==u&&(Lo=!0,v("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},LE=function(e){if(!Lo){Lo=!0;var t=[];e.forEach(function(s){t.push(s)}),v("Extra attributes from the server: %s",t)}},uk=function(e,t){t===!1?v("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):v("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},ME=function(e,t){var s=e.namespaceURI===Ki?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var T4=/\r\n?/g,F4=/\u0000|\uFFFD/g;function ck(e){Bn(e);var t=typeof e=="string"?e:""+e;return t.replace(T4,`
|
|
193
|
+
`).replace(F4,"")}function dk(e,t,s,u){var p=ck(t),y=ck(e);if(y!==p&&(u&&(Lo||(Lo=!0,v('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Ie))throw new Error("Text content does not match server-rendered HTML.")}function IE(e){return e.nodeType===Sa?e:e.ownerDocument}function A4(){}function fk(e){e.onclick=A4}function $4(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===Yp)w&&Object.freeze(w),qh(t,w);else if(y===Av){var _=w?w[sk]:void 0;_!=null&&$s(t,_)}else if(y===Gp)if(typeof w=="string"){var T=e!=="textarea"||w!=="";T&&Co(t,w)}else typeof w=="number"&&Co(t,""+w);else y===ok||y===lf||y===RE||(Xe.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&uk(y,w),y==="onScroll"&&Fr("scroll",t)):w!=null&&ar(t,y,w,p))}}function P4(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===Yp?qh(e,w):y===Av?$s(e,w):y===Gp?Co(e,w):ar(e,y,w,u)}}function N4(e,t,s,u){var p,y=IE(s),w,_=u;if(_===Ki&&(_=yc(e)),_===Ki){if(p=Ko(e,t),!p&&e!==e.toLowerCase()&&v("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var T=y.createElement("div");T.innerHTML="<script><\/script>";var R=T.firstChild;w=T.removeChild(R)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var M=w;t.multiple?M.multiple=!0:t.size&&(M.size=t.size)}}else w=y.createElementNS(_,e);return _===Ki&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!Yn.call(S2,e)&&(S2[e]=!0,v("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function O4(e,t){return IE(t).createTextNode(e)}function R4(e,t,s,u){var p=Ko(t,s);lk(t,s);var y;switch(t){case"dialog":Fr("cancel",e),Fr("close",e),y=s;break;case"iframe":case"object":case"embed":Fr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Ev.length;w++)Fr(Ev[w],e);y=s;break;case"source":Fr("error",e),y=s;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),y=s;break;case"details":Fr("toggle",e),y=s;break;case"input":Xi(e,s),y=gu(e,s),Fr("invalid",e);break;case"option":wn(e,s),y=s;break;case"select":vl(e,s),y=gc(e,s),Fr("invalid",e);break;case"textarea":tp(e,s),y=ep(e,s),Fr("invalid",e);break;default:y=s}switch(Rd(t,y),$4(t,e,u,y,p),t){case"input":Qi(e),he(e,s,!1);break;case"textarea":Qi(e),rp(e);break;case"option":In(e,s);break;case"select":Jf(e,s);break;default:typeof y.onClick=="function"&&fk(e);break}}function L4(e,t,s,u,p){lk(t,u);var y=null,w,_;switch(t){case"input":w=gu(e,s),_=gu(e,u),y=[];break;case"select":w=gc(e,s),_=gc(e,u),y=[];break;case"textarea":w=ep(e,s),_=ep(e,u),y=[];break;default:w=s,_=u,typeof w.onClick!="function"&&typeof _.onClick=="function"&&fk(e);break}Rd(t,_);var T,R,M=null;for(T in w)if(!(_.hasOwnProperty(T)||!w.hasOwnProperty(T)||w[T]==null))if(T===Yp){var re=w[T];for(R in re)re.hasOwnProperty(R)&&(M||(M={}),M[R]="")}else T===Av||T===Gp||T===ok||T===lf||T===RE||(Xe.hasOwnProperty(T)?y||(y=[]):(y=y||[]).push(T,null));for(T in _){var Z=_[T],pe=w!=null?w[T]:void 0;if(!(!_.hasOwnProperty(T)||Z===pe||Z==null&&pe==null))if(T===Yp)if(Z&&Object.freeze(Z),pe){for(R in pe)pe.hasOwnProperty(R)&&(!Z||!Z.hasOwnProperty(R))&&(M||(M={}),M[R]="");for(R in Z)Z.hasOwnProperty(R)&&pe[R]!==Z[R]&&(M||(M={}),M[R]=Z[R])}else M||(y||(y=[]),y.push(T,M)),M=Z;else if(T===Av){var ve=Z?Z[sk]:void 0,xe=pe?pe[sk]:void 0;ve!=null&&xe!==ve&&(y=y||[]).push(T,ve)}else T===Gp?(typeof Z=="string"||typeof Z=="number")&&(y=y||[]).push(T,""+Z):T===ok||T===lf||(Xe.hasOwnProperty(T)?(Z!=null&&(typeof Z!="function"&&uk(T,Z),T==="onScroll"&&Fr("scroll",e)),!y&&pe!==Z&&(y=[])):(y=y||[]).push(T,Z))}return M&&(Gh(M,_[Yp]),(y=y||[]).push(Yp,M)),y}function B4(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&F(e,p);var y=Ko(s,u),w=Ko(s,p);switch(P4(e,t,y,w),s){case"input":q(e,p);break;case"textarea":np(e,p);break;case"select":vc(e,p);break}}function M4(e){{var t=e.toLowerCase();return wc.hasOwnProperty(t)&&wc[t]||null}}function I4(e,t,s,u,p,y,w){var _,T;switch(_=Ko(t,s),lk(t,s),t){case"dialog":Fr("cancel",e),Fr("close",e);break;case"iframe":case"object":case"embed":Fr("load",e);break;case"video":case"audio":for(var R=0;R<Ev.length;R++)Fr(Ev[R],e);break;case"source":Fr("error",e);break;case"img":case"image":case"link":Fr("error",e),Fr("load",e);break;case"details":Fr("toggle",e);break;case"input":Xi(e,s),Fr("invalid",e);break;case"option":wn(e,s);break;case"select":vl(e,s),Fr("invalid",e);break;case"textarea":tp(e,s),Fr("invalid",e);break}Rd(t,s);{T=new Set;for(var M=e.attributes,re=0;re<M.length;re++){var Z=M[re].name.toLowerCase();switch(Z){case"value":break;case"checked":break;case"selected":break;default:T.add(M[re].name)}}}var pe=null;for(var ve in s)if(s.hasOwnProperty(ve)){var xe=s[ve];if(ve===Gp)typeof xe=="string"?e.textContent!==xe&&(s[lf]!==!0&&dk(e.textContent,xe,y,w),pe=[Gp,xe]):typeof xe=="number"&&e.textContent!==""+xe&&(s[lf]!==!0&&dk(e.textContent,xe,y,w),pe=[Gp,""+xe]);else if(Xe.hasOwnProperty(ve))xe!=null&&(typeof xe!="function"&&uk(ve,xe),ve==="onScroll"&&Fr("scroll",e));else if(w&&typeof _=="boolean"){var nt=void 0,St=ua(ve);if(s[lf]!==!0&&!(ve===ok||ve===lf||ve==="value"||ve==="checked"||ve==="selected")){if(ve===Av){var Ot=e.innerHTML,dn=xe?xe[sk]:void 0;if(dn!=null){var sn=ME(e,dn);sn!==Ot&&$v(ve,Ot,sn)}}else if(ve===Yp){if(T.delete(ve),BE){var ue=Wg(xe);nt=e.getAttribute("style"),ue!==nt&&$v(ve,nt,ue)}}else if(_)T.delete(ve.toLowerCase()),nt=yi(e,ve,xe),xe!==nt&&$v(ve,nt,xe);else if(!An(ve,St,_)&&!hn(ve,xe,St,_)){var Se=!1;if(St!==null)T.delete(St.attributeName),nt=Hi(e,ve,xe,St);else{var ce=u;if(ce===Ki&&(ce=yc(t)),ce===Ki)T.delete(ve.toLowerCase());else{var He=M4(ve);He!==null&&He!==ve&&(Se=!0,T.delete(He)),T.delete(ve)}nt=yi(e,ve,xe)}var ct=Q;!ct&&xe!==nt&&!Se&&$v(ve,nt,xe)}}}}switch(w&&T.size>0&&s[lf]!==!0&&LE(T),t){case"input":Qi(e),he(e,s,!0);break;case"textarea":Qi(e),rp(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&fk(e);break}return pe}function j4(e,t,s){var u=e.nodeValue!==t;return u}function C2(e,t){{if(Lo)return;Lo=!0,v("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function x2(e,t){{if(Lo)return;Lo=!0,v('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function _2(e,t,s){{if(Lo)return;Lo=!0,v("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function E2(e,t){{if(t===""||Lo)return;Lo=!0,v('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function z4(e,t,s){switch(t){case"input":De(e,s);return;case"textarea":Hg(e,s);return;case"select":Zf(e,s);return}}var Pv=function(){},Nv=function(){};{var U4=["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"],jE=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],H4=jE.concat(["button"]),V4=["dd","dt","li","option","optgroup","p","rp","rt"],zE={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Nv=function(e,t){var s=Xt({},e||zE),u={tag:t};return jE.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),H4.indexOf(t)!==-1&&(s.pTagInButtonScope=null),U4.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var q4=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 V4.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},W4=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},UE={};Pv=function(e,t,s){s=s||zE;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&v("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=q4(e,p)?null:u,w=y?null:W4(e,s),_=y||w;if(_){var T=_.tag,R=!!y+"|"+e+"|"+T;if(!UE[R]){UE[R]=!0;var M=e,re="";if(e==="#text"?/\S/.test(t)?M="Text nodes":(M="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):M="<"+e+">",y){var Z="";T==="table"&&e==="tr"&&(Z+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",M,T,re,Z)}else v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",M,T)}}}}var pk="suppressHydrationWarning",hk="$",mk="/$",Ov="$?",Rv="$!",G4="style",T2=null,F2=null;function Y4(e){var t,s,u=e.nodeType;switch(u){case Sa:case yl:{t=u===Sa?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:ap(null,"");break}default:{var y=u===_r?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=ap(w,t);break}}{var _=t.toLowerCase(),T=Nv(null,_);return{namespace:s,ancestorInfo:T}}}function Q4(e,t,s){{var u=e,p=ap(u.namespace,t),y=Nv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function X4(e){T2=ga(),F2=c4();var t=null;return _n(!1),t}function K4(e){d4(F2),_n(T2),T2=null,F2=null}function J4(e,t,s,u,p){var y;{var w=u;if(Pv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,T=Nv(w.ancestorInfo,e);Pv(null,_,T)}y=w.namespace}var R=N4(e,t,s,y);return Mv(p,R),B2(R,t),R}function Z4(e,t){e.appendChild(t)}function e8(e,t,s,u,p){switch(R4(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function t8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,T=Nv(w.ancestorInfo,t);Pv(null,_,T)}}return L4(e,t,s,u)}function A2(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 n8(e,t,s,u){{var p=s;Pv(null,e,p.ancestorInfo)}var y=O4(e,t);return Mv(u,y),y}function r8(){var e=window.event;return e===void 0?Ws:zp(e.type)}var $2=typeof setTimeout=="function"?setTimeout:void 0,a8=typeof clearTimeout=="function"?clearTimeout:void 0,P2=-1,HE=typeof Promise=="function"?Promise:void 0,i8=typeof queueMicrotask=="function"?queueMicrotask:typeof HE<"u"?function(e){return HE.resolve(null).then(e).catch(o8)}:$2;function o8(e){setTimeout(function(){throw e})}function s8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function l8(e,t,s,u,p,y){B4(e,t,s,u,p),B2(e,p)}function VE(e){Co(e,"")}function u8(e,t,s){e.nodeValue=s}function c8(e,t){e.appendChild(t)}function d8(e,t){var s;e.nodeType===_r?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&fk(s)}function f8(e,t,s){e.insertBefore(t,s)}function p8(e,t,s){e.nodeType===_r?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function h8(e,t){e.removeChild(t)}function m8(e,t){e.nodeType===_r?e.parentNode.removeChild(t):e.removeChild(t)}function N2(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===_r){var y=p.data;if(y===mk)if(u===0){e.removeChild(p),Mu(t);return}else u--;else(y===hk||y===Ov||y===Rv)&&u++}s=p}while(s);Mu(t)}function g8(e,t){e.nodeType===_r?N2(e.parentNode,t):e.nodeType===pa&&N2(e,t),Mu(e)}function v8(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function y8(e){e.nodeValue=""}function b8(e,t){e=e;var s=t[G4],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=$d("display",u)}function k8(e,t){e.nodeValue=t}function w8(e){e.nodeType===pa?e.textContent="":e.nodeType===Sa&&e.documentElement&&e.removeChild(e.documentElement)}function D8(e,t,s){return e.nodeType!==pa||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function S8(e,t){return t===""||e.nodeType!==ri?null:e}function C8(e){return e.nodeType!==_r?null:e}function qE(e){return e.data===Ov}function O2(e){return e.data===Rv}function x8(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function _8(e,t){e._reactRetry=t}function gk(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===pa||t===ri)break;if(t===_r){var s=e.data;if(s===hk||s===Rv||s===Ov)break;if(s===mk)return null}}return e}function Lv(e){return gk(e.nextSibling)}function E8(e){return gk(e.firstChild)}function T8(e){return gk(e.firstChild)}function F8(e){return gk(e.nextSibling)}function A8(e,t,s,u,p,y,w){Mv(y,e),B2(e,s);var _;{var T=p;_=T.namespace}var R=(y.mode&nn)!==xt;return I4(e,t,s,_,u,R,w)}function $8(e,t,s,u){return Mv(s,e),s.mode&nn,j4(e,t)}function P8(e,t){Mv(t,e)}function N8(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===_r){var u=t.data;if(u===mk){if(s===0)return Lv(t);s--}else(u===hk||u===Rv||u===Ov)&&s++}t=t.nextSibling}return null}function WE(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===_r){var u=t.data;if(u===hk||u===Rv||u===Ov){if(s===0)return t;s--}else u===mk&&s++}t=t.previousSibling}return null}function O8(e){Mu(e)}function R8(e){Mu(e)}function L8(e){return e!=="head"&&e!=="body"}function B8(e,t,s,u){var p=!0;dk(t.nodeValue,s,u,p)}function M8(e,t,s,u,p,y){if(t[pk]!==!0){var w=!0;dk(u.nodeValue,p,y,w)}}function I8(e,t){t.nodeType===pa?C2(e,t):t.nodeType===_r||x2(e,t)}function j8(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===pa?C2(s,t):t.nodeType===_r||x2(s,t))}}function z8(e,t,s,u,p){(p||t[pk]!==!0)&&(u.nodeType===pa?C2(s,u):u.nodeType===_r||x2(s,u))}function U8(e,t,s){_2(e,t)}function H8(e,t){E2(e,t)}function V8(e,t,s){{var u=e.parentNode;u!==null&&_2(u,t)}}function q8(e,t){{var s=e.parentNode;s!==null&&E2(s,t)}}function W8(e,t,s,u,p,y){(y||t[pk]!==!0)&&_2(s,u)}function G8(e,t,s,u,p){(p||t[pk]!==!0)&&E2(s,u)}function Y8(e){v("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Q8(e){Tv(e)}var Nm=Math.random().toString(36).slice(2),Om="__reactFiber$"+Nm,R2="__reactProps$"+Nm,Bv="__reactContainer$"+Nm,L2="__reactEvents$"+Nm,X8="__reactListeners$"+Nm,K8="__reactHandles$"+Nm;function J8(e){delete e[Om],delete e[R2],delete e[L2],delete e[X8],delete e[K8]}function Mv(e,t){t[Om]=e}function vk(e,t){t[Bv]=e}function GE(e){e[Bv]=null}function Iv(e){return!!e[Bv]}function Qp(e){var t=e[Om];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Bv]||s[Om],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=WE(e);p!==null;){var y=p[Om];if(y)return y;p=WE(p)}return t}e=s,s=e.parentNode}return null}function uf(e){var t=e[Om]||e[Bv];return t&&(t.tag===B||t.tag===j||t.tag===U||t.tag===N)?t:null}function Rm(e){if(e.tag===B||e.tag===j)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function yk(e){return e[R2]||null}function B2(e,t){e[R2]=t}function Z8(e){var t=e[L2];return t===void 0&&(t=e[L2]=new Set),t}var YE={},QE=i.ReactDebugCurrentFrame;function bk(e){if(e){var t=e._owner,s=ti(e.type,e._source,t?t.type:null);QE.setExtraStackFrame(s)}else QE.setExtraStackFrame(null)}function Il(e,t,s,u,p){{var y=Function.call.bind(Yn);for(var w in e)if(y(e,w)){var _=void 0;try{if(typeof e[w]!="function"){var T=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}_=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){_=R}_&&!(_ instanceof Error)&&(bk(p),v("%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",s,w,typeof _),bk(null)),_ instanceof Error&&!(_.message in YE)&&(YE[_.message]=!0,bk(p),v("Failed %s type: %s",s,_.message),bk(null))}}}var M2=[],kk;kk=[];var Zc=-1;function cf(e){return{current:e}}function Li(e,t){if(Zc<0){v("Unexpected pop.");return}t!==kk[Zc]&&v("Unexpected Fiber popped."),e.current=M2[Zc],M2[Zc]=null,kk[Zc]=null,Zc--}function Bi(e,t,s){Zc++,M2[Zc]=e.current,kk[Zc]=s,e.current=t}var I2;I2={};var ps={};Object.freeze(ps);var ed=cf(ps),Wu=cf(!1),j2=ps;function Lm(e,t,s){return s&&Gu(t)?j2:ed.current}function XE(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Bm(e,t){{var s=e.type,u=s.contextTypes;if(!u)return ps;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var _=Mt(e)||"Unknown";Il(u,y,"context",_)}return p&&XE(e,t,y),y}}function wk(){return Wu.current}function Gu(e){{var t=e.childContextTypes;return t!=null}}function Dk(e){Li(Wu,e),Li(ed,e)}function z2(e){Li(Wu,e),Li(ed,e)}function KE(e,t,s){{if(ed.current!==ps)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bi(ed,t,e),Bi(Wu,s,e)}}function JE(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Mt(e)||"Unknown";I2[y]||(I2[y]=!0,v("%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.",y,y))}return s}var w=u.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((Mt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var T=Mt(e)||"Unknown";Il(p,w,"child context",T)}return Xt({},s,w)}}function Sk(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||ps;return j2=ed.current,Bi(ed,s,e),Bi(Wu,Wu.current,e),!0}}function ZE(e,t,s){{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(s){var p=JE(e,t,j2);u.__reactInternalMemoizedMergedChildContext=p,Li(Wu,e),Li(ed,e),Bi(ed,p,e),Bi(Wu,s,e)}else Li(Wu,e),Bi(Wu,s,e)}}function e6(e){{if(!js(e)||e.tag!==E)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 N:return t.stateNode.context;case E:{var s=t.type;if(Gu(s))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 df=0,Ck=1,td=null,U2=!1,H2=!1;function eT(e){td===null?td=[e]:td.push(e)}function t6(e){U2=!0,eT(e)}function tT(){U2&&ff()}function ff(){if(!H2&&td!==null){H2=!0;var e=0,t=us();try{var s=!0,u=td;for(na(Ni);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}td=null,U2=!1}catch(y){throw td!==null&&(td=td.slice(e+1)),vp(Nu,ff),y}finally{na(t),H2=!1}}return null}var Mm=[],Im=0,xk=null,_k=0,Xs=[],Ks=0,Xp=null,nd=1,rd="";function n6(e){return Jp(),(e.flags&eo)!==Ct}function r6(e){return Jp(),_k}function a6(){var e=rd,t=nd,s=t&~i6(t);return s.toString(32)+e}function Kp(e,t){Jp(),Mm[Im++]=_k,Mm[Im++]=xk,xk=e,_k=t}function nT(e,t,s){Jp(),Xs[Ks++]=nd,Xs[Ks++]=rd,Xs[Ks++]=Xp,Xp=e;var u=nd,p=rd,y=Ek(u)-1,w=u&~(1<<y),_=s+1,T=Ek(t)+y;if(T>30){var R=y-y%5,M=(1<<R)-1,re=(w&M).toString(32),Z=w>>R,pe=y-R,ve=Ek(t)+pe,xe=_<<pe,nt=xe|Z,St=re+p;nd=1<<ve|nt,rd=St}else{var Ot=_<<y,dn=Ot|w,sn=p;nd=1<<T|dn,rd=sn}}function V2(e){Jp();var t=e.return;if(t!==null){var s=1,u=0;Kp(e,s),nT(e,s,u)}}function Ek(e){return 32-C(e)}function i6(e){return 1<<Ek(e)-1}function q2(e){for(;e===xk;)xk=Mm[--Im],Mm[Im]=null,_k=Mm[--Im],Mm[Im]=null;for(;e===Xp;)Xp=Xs[--Ks],Xs[Ks]=null,rd=Xs[--Ks],Xs[Ks]=null,nd=Xs[--Ks],Xs[Ks]=null}function o6(){return Jp(),Xp!==null?{id:nd,overflow:rd}:null}function s6(e,t){Jp(),Xs[Ks++]=nd,Xs[Ks++]=rd,Xs[Ks++]=Xp,nd=t.id,rd=t.overflow,Xp=e}function Jp(){li()||v("Expected to be hydrating. This is a bug in React. Please file an issue.")}var si=null,Js=null,jl=!1,Zp=!1,pf=null;function l6(){jl&&v("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rT(){Zp=!0}function u6(){return Zp}function c6(e){var t=e.stateNode.containerInfo;return Js=T8(t),si=e,jl=!0,pf=null,Zp=!1,!0}function d6(e,t,s){return Js=F8(t),si=e,jl=!0,pf=null,Zp=!1,s!==null&&s6(e,s),!0}function aT(e,t){switch(e.tag){case N:{I8(e.stateNode.containerInfo,t);break}case B:{var s=(e.mode&nn)!==xt;z8(e.type,e.memoizedProps,e.stateNode,t,s);break}case U:{var u=e.memoizedState;u.dehydrated!==null&&j8(u.dehydrated,t);break}}}function iT(e,t){aT(e,t);var s=mz();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Ei):u.push(s)}function W2(e,t){{if(Zp)return;switch(e.tag){case N:{var s=e.stateNode.containerInfo;switch(t.tag){case B:var u=t.type;t.pendingProps,U8(s,u);break;case j:var p=t.pendingProps;H8(s,p);break}break}case B:{var y=e.type,w=e.memoizedProps,_=e.stateNode;switch(t.tag){case B:{var T=t.type,R=t.pendingProps,M=(e.mode&nn)!==xt;W8(y,w,_,T,R,M);break}case j:{var re=t.pendingProps,Z=(e.mode&nn)!==xt;G8(y,w,_,re,Z);break}}break}case U:{var pe=e.memoizedState,ve=pe.dehydrated;if(ve!==null)switch(t.tag){case B:var xe=t.type;t.pendingProps,V8(ve,xe);break;case j:var nt=t.pendingProps;q8(ve,nt);break}break}default:return}}}function oT(e,t){t.flags=t.flags&-4097|Er,W2(e,t)}function sT(e,t){switch(e.tag){case B:{var s=e.type;e.pendingProps;var u=D8(t,s);return u!==null?(e.stateNode=u,si=e,Js=E8(u),!0):!1}case j:{var p=e.pendingProps,y=S8(t,p);return y!==null?(e.stateNode=y,si=e,Js=null,!0):!1}case U:{var w=C8(t);if(w!==null){var _={dehydrated:w,treeContext:o6(),retryLane:no};e.memoizedState=_;var T=gz(w);return T.return=e,e.child=T,si=e,Js=null,!0}return!1}default:return!1}}function G2(e){return(e.mode&nn)!==xt&&(e.flags&yt)===Ct}function Y2(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Q2(e){if(jl){var t=Js;if(!t){G2(e)&&(W2(si,e),Y2()),oT(si,e),jl=!1,si=e;return}var s=t;if(!sT(e,t)){G2(e)&&(W2(si,e),Y2()),t=Lv(s);var u=si;if(!t||!sT(e,t)){oT(si,e),jl=!1,si=e;return}iT(u,s)}}}function f6(e,t,s){var u=e.stateNode,p=!Zp,y=A8(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function p6(e){var t=e.stateNode,s=e.memoizedProps,u=$8(t,s,e);if(u){var p=si;if(p!==null)switch(p.tag){case N:{var y=p.stateNode.containerInfo,w=(p.mode&nn)!==xt;B8(y,t,s,w);break}case B:{var _=p.type,T=p.memoizedProps,R=p.stateNode,M=(p.mode&nn)!==xt;M8(_,T,R,t,s,M);break}}}return u}function h6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");P8(s,e)}function m6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)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 N8(s)}function lT(e){for(var t=e.return;t!==null&&t.tag!==B&&t.tag!==N&&t.tag!==U;)t=t.return;si=t}function Tk(e){if(e!==si)return!1;if(!jl)return lT(e),jl=!0,!1;if(e.tag!==N&&(e.tag!==B||L8(e.type)&&!A2(e.type,e.memoizedProps))){var t=Js;if(t)if(G2(e))uT(e),Y2();else for(;t;)iT(e,t),t=Lv(t)}return lT(e),e.tag===U?Js=m6(e):Js=si?Lv(e.stateNode):null,!0}function g6(){return jl&&Js!==null}function uT(e){for(var t=Js;t;)aT(e,t),t=Lv(t)}function jm(){si=null,Js=null,jl=!1,Zp=!1}function cT(){pf!==null&&(rA(pf),pf=null)}function li(){return jl}function X2(e){pf===null?pf=[e]:pf.push(e)}var v6=i.ReactCurrentBatchConfig,y6=null;function b6(){return v6.transition}var zl={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var k6=function(e){for(var t=null,s=e;s!==null;)s.mode&h&&(t=s),s=s.return;return t},eh=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},jv=[],zv=[],Uv=[],Hv=[],Vv=[],qv=[],th=new Set;zl.recordUnsafeLifecycleWarnings=function(e,t){th.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&jv.push(e),e.mode&h&&typeof t.UNSAFE_componentWillMount=="function"&&zv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uv.push(e),e.mode&h&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Hv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vv.push(e),e.mode&h&&typeof t.UNSAFE_componentWillUpdate=="function"&&qv.push(e))},zl.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;jv.length>0&&(jv.forEach(function(Z){e.add(Mt(Z)||"Component"),th.add(Z.type)}),jv=[]);var t=new Set;zv.length>0&&(zv.forEach(function(Z){t.add(Mt(Z)||"Component"),th.add(Z.type)}),zv=[]);var s=new Set;Uv.length>0&&(Uv.forEach(function(Z){s.add(Mt(Z)||"Component"),th.add(Z.type)}),Uv=[]);var u=new Set;Hv.length>0&&(Hv.forEach(function(Z){u.add(Mt(Z)||"Component"),th.add(Z.type)}),Hv=[]);var p=new Set;Vv.length>0&&(Vv.forEach(function(Z){p.add(Mt(Z)||"Component"),th.add(Z.type)}),Vv=[]);var y=new Set;if(qv.length>0&&(qv.forEach(function(Z){y.add(Mt(Z)||"Component"),th.add(Z.type)}),qv=[]),t.size>0){var w=eh(t);v(`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.
|
|
194
194
|
|
|
195
195
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
196
196
|
|
|
@@ -229,7 +229,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}
|
|
|
229
229
|
1. You may be adding a ref to a function component
|
|
230
230
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
231
231
|
3. You have multiple copies of React loaded
|
|
232
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function Ak(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function $k(e){{var t=Mt(e)||"Component";if(tD[t])return;tD[t]=!0,v("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 pT(e){var t=e._payload,s=e._init;return s(t)}function hT(e){function t(ue,Se){if(e){var ce=ue.deletions;ce===null?(ue.deletions=[Se],ue.flags|=Ei):ce.push(Se)}}function s(ue,Se){if(!e)return null;for(var ce=Se;ce!==null;)t(ue,ce),ce=ce.sibling;return null}function u(ue,Se){for(var ce=new Map,He=Se;He!==null;)He.key!==null?ce.set(He.key,He):ce.set(He.index,He),He=He.sibling;return ce}function p(ue,Se){var ce=ch(ue,Se);return ce.index=0,ce.sibling=null,ce}function y(ue,Se,ce){if(ue.index=ce,!e)return ue.flags|=eo,Se;var He=ue.alternate;if(He!==null){var ct=He.index;return ct<Se?(ue.flags|=Er,Se):ct}else return ue.flags|=Er,Se}function w(ue){return e&&ue.alternate===null&&(ue.flags|=Er),ue}function _(ue,Se,ce,He){if(Se===null||Se.tag!==j){var ct=XS(ce,ue.mode,He);return ct.return=ue,ct}else{var it=p(Se,ce);return it.return=ue,it}}function T(ue,Se,ce,He){var ct=ce.type;if(ct===yo)return M(ue,Se,ce.props.children,He,ce.key);if(Se!==null&&(Se.elementType===ct||bA(Se,ce)||typeof ct=="object"&&ct!==null&&ct.$$typeof===jt&&pT(ct)===Se.type)){var it=p(Se,ce.props);return it.ref=Wv(ue,Se,ce),it.return=ue,it._debugSource=ce._source,it._debugOwner=ce._owner,it}var It=QS(ce,ue.mode,He);return It.ref=Wv(ue,Se,ce),It.return=ue,It}function R(ue,Se,ce,He){if(Se===null||Se.tag!==O||Se.stateNode.containerInfo!==ce.containerInfo||Se.stateNode.implementation!==ce.implementation){var ct=KS(ce,ue.mode,He);return ct.return=ue,ct}else{var it=p(Se,ce.children||[]);return it.return=ue,it}}function M(ue,Se,ce,He,ct){if(Se===null||Se.tag!==G){var it=Cf(ce,ue.mode,He,ct);return it.return=ue,it}else{var It=p(Se,ce);return It.return=ue,It}}function re(ue,Se,ce){if(typeof Se=="string"&&Se!==""||typeof Se=="number"){var He=XS(""+Se,ue.mode,ce);return He.return=ue,He}if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case wa:{var ct=QS(Se,ue.mode,ce);return ct.ref=Wv(ue,null,Se),ct.return=ue,ct}case Jr:{var it=KS(Se,ue.mode,ce);return it.return=ue,it}case jt:{var It=Se._payload,Yt=Se._init;return re(ue,Yt(It),ce)}}if(Gt(Se)||Et(Se)){var er=Cf(Se,ue.mode,ce,null);return er.return=ue,er}Ak(ue,Se)}return typeof Se=="function"&&$k(ue),null}function Z(ue,Se,ce,He){var ct=Se!==null?Se.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number")return ct!==null?null:_(ue,Se,""+ce,He);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case wa:return ce.key===ct?T(ue,Se,ce,He):null;case Jr:return ce.key===ct?R(ue,Se,ce,He):null;case jt:{var it=ce._payload,It=ce._init;return Z(ue,Se,It(it),He)}}if(Gt(ce)||Et(ce))return ct!==null?null:M(ue,Se,ce,He,null);Ak(ue,ce)}return typeof ce=="function"&&$k(ue),null}function pe(ue,Se,ce,He,ct){if(typeof He=="string"&&He!==""||typeof He=="number"){var it=ue.get(ce)||null;return _(Se,it,""+He,ct)}if(typeof He=="object"&&He!==null){switch(He.$$typeof){case wa:{var It=ue.get(He.key===null?ce:He.key)||null;return T(Se,It,He,ct)}case Jr:{var Yt=ue.get(He.key===null?ce:He.key)||null;return R(Se,Yt,He,ct)}case jt:var er=He._payload,Nn=He._init;return pe(ue,Se,ce,Nn(er),ct)}if(Gt(He)||Et(He)){var aa=ue.get(ce)||null;return M(Se,aa,He,ct,null)}Ak(Se,He)}return typeof He=="function"&&$k(Se),null}function ve(ue,Se,ce){{if(typeof ue!="object"||ue===null)return Se;switch(ue.$$typeof){case wa:case Jr:fT(ue,ce);var He=ue.key;if(typeof He!="string")break;if(Se===null){Se=new Set,Se.add(He);break}if(!Se.has(He)){Se.add(He);break}v("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.",He);break;case jt:var ct=ue._payload,it=ue._init;ve(it(ct),Se,ce);break}}return Se}function xe(ue,Se,ce,He){for(var ct=null,it=0;it<ce.length;it++){var It=ce[it];ct=ve(It,ct,ue)}for(var Yt=null,er=null,Nn=Se,aa=0,On=0,Yr=null;Nn!==null&&On<ce.length;On++){Nn.index>On?(Yr=Nn,Nn=null):Yr=Nn.sibling;var Ii=Z(ue,Nn,ce[On],He);if(Ii===null){Nn===null&&(Nn=Yr);break}e&&Nn&&Ii.alternate===null&&t(ue,Nn),aa=y(Ii,aa,On),er===null?Yt=Ii:er.sibling=Ii,er=Ii,Nn=Yr}if(On===ce.length){if(s(ue,Nn),li()){var mi=On;Kp(ue,mi)}return Yt}if(Nn===null){for(;On<ce.length;On++){var ms=re(ue,ce[On],He);ms!==null&&(aa=y(ms,aa,On),er===null?Yt=ms:er.sibling=ms,er=ms)}if(li()){var lo=On;Kp(ue,lo)}return Yt}for(var uo=u(ue,Nn);On<ce.length;On++){var ji=pe(uo,ue,On,ce[On],He);ji!==null&&(e&&ji.alternate!==null&&uo.delete(ji.key===null?On:ji.key),aa=y(ji,aa,On),er===null?Yt=ji:er.sibling=ji,er=ji)}if(e&&uo.forEach(function(ig){return t(ue,ig)}),li()){var cd=On;Kp(ue,cd)}return Yt}function nt(ue,Se,ce,He){var ct=Et(ce);if(typeof ct!="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"&&ce[Symbol.toStringTag]==="Generator"&&(J2||v("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."),J2=!0),ce.entries===ct&&(K2||v("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),K2=!0);var it=ct.call(ce);if(it)for(var It=null,Yt=it.next();!Yt.done;Yt=it.next()){var er=Yt.value;It=ve(er,It,ue)}}var Nn=ct.call(ce);if(Nn==null)throw new Error("An iterable object provided no iterator.");for(var aa=null,On=null,Yr=Se,Ii=0,mi=0,ms=null,lo=Nn.next();Yr!==null&&!lo.done;mi++,lo=Nn.next()){Yr.index>mi?(ms=Yr,Yr=null):ms=Yr.sibling;var uo=Z(ue,Yr,lo.value,He);if(uo===null){Yr===null&&(Yr=ms);break}e&&Yr&&uo.alternate===null&&t(ue,Yr),Ii=y(uo,Ii,mi),On===null?aa=uo:On.sibling=uo,On=uo,Yr=ms}if(lo.done){if(s(ue,Yr),li()){var ji=mi;Kp(ue,ji)}return aa}if(Yr===null){for(;!lo.done;mi++,lo=Nn.next()){var cd=re(ue,lo.value,He);cd!==null&&(Ii=y(cd,Ii,mi),On===null?aa=cd:On.sibling=cd,On=cd)}if(li()){var ig=mi;Kp(ue,ig)}return aa}for(var Sy=u(ue,Yr);!lo.done;mi++,lo=Nn.next()){var tc=pe(Sy,ue,mi,lo.value,He);tc!==null&&(e&&tc.alternate!==null&&Sy.delete(tc.key===null?mi:tc.key),Ii=y(tc,Ii,mi),On===null?aa=tc:On.sibling=tc,On=tc)}if(e&&Sy.forEach(function(G7){return t(ue,G7)}),li()){var W7=mi;Kp(ue,W7)}return aa}function St(ue,Se,ce,He){if(Se!==null&&Se.tag===j){s(ue,Se.sibling);var ct=p(Se,ce);return ct.return=ue,ct}s(ue,Se);var it=XS(ce,ue.mode,He);return it.return=ue,it}function Ot(ue,Se,ce,He){for(var ct=ce.key,it=Se;it!==null;){if(it.key===ct){var It=ce.type;if(It===yo){if(it.tag===G){s(ue,it.sibling);var Yt=p(it,ce.props.children);return Yt.return=ue,Yt._debugSource=ce._source,Yt._debugOwner=ce._owner,Yt}}else if(it.elementType===It||bA(it,ce)||typeof It=="object"&&It!==null&&It.$$typeof===jt&&pT(It)===it.type){s(ue,it.sibling);var er=p(it,ce.props);return er.ref=Wv(ue,it,ce),er.return=ue,er._debugSource=ce._source,er._debugOwner=ce._owner,er}s(ue,it);break}else t(ue,it);it=it.sibling}if(ce.type===yo){var Nn=Cf(ce.props.children,ue.mode,He,ce.key);return Nn.return=ue,Nn}else{var aa=QS(ce,ue.mode,He);return aa.ref=Wv(ue,Se,ce),aa.return=ue,aa}}function dn(ue,Se,ce,He){for(var ct=ce.key,it=Se;it!==null;){if(it.key===ct)if(it.tag===O&&it.stateNode.containerInfo===ce.containerInfo&&it.stateNode.implementation===ce.implementation){s(ue,it.sibling);var It=p(it,ce.children||[]);return It.return=ue,It}else{s(ue,it);break}else t(ue,it);it=it.sibling}var Yt=KS(ce,ue.mode,He);return Yt.return=ue,Yt}function on(ue,Se,ce,He){var ct=typeof ce=="object"&&ce!==null&&ce.type===yo&&ce.key===null;if(ct&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case wa:return w(Ot(ue,Se,ce,He));case Jr:return w(dn(ue,Se,ce,He));case jt:var it=ce._payload,It=ce._init;return on(ue,Se,It(it),He)}if(Gt(ce))return xe(ue,Se,ce,He);if(Et(ce))return nt(ue,Se,ce,He);Ak(ue,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?w(St(ue,Se,""+ce,He)):(typeof ce=="function"&&$k(ue),s(ue,Se))}return on}var zm=hT(!0),mT=hT(!1);function D6(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=ch(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=ch(s,s.pendingProps),u.return=t;u.sibling=null}}function S6(e,t){for(var s=e.child;s!==null;)c7(s,t),s=s.sibling}var nD=cf(null),rD;rD={};var Pk=null,Um=null,aD=null,Nk=!1;function Ok(){Pk=null,Um=null,aD=null,Nk=!1}function gT(){Nk=!0}function vT(){Nk=!1}function yT(e,t,s){Bi(nD,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==rD&&v("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=rD}function iD(e,t){var s=nD.current;Li(nD,t),e._currentValue=s}function oD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(Uc(u.childLanes,t)?p!==null&&!Uc(p.childLanes,t)&&(p.childLanes=Kt(p.childLanes,t)):(u.childLanes=Kt(u.childLanes,t),p!==null&&(p.childLanes=Kt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&v("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 C6(e,t,s){x6(e,t,s)}function x6(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===E){var _=Np(s),T=ad(sr,_);T.tag=Lk;var R=u.updateQueue;if(R!==null){var M=R.shared,re=M.pending;re===null?T.next=T:(T.next=re.next,re.next=T),M.pending=T}}u.lanes=Kt(u.lanes,s);var Z=u.alternate;Z!==null&&(Z.lanes=Kt(Z.lanes,s)),oD(u.return,s,e),y.lanes=Kt(y.lanes,s);break}w=w.next}}else if(u.tag===K)p=u.type===e.type?null:u.child;else if(u.tag===Qe){var pe=u.return;if(pe===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");pe.lanes=Kt(pe.lanes,s);var ve=pe.alternate;ve!==null&&(ve.lanes=Kt(ve.lanes,s)),oD(pe,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var xe=p.sibling;if(xe!==null){xe.return=p.return,p=xe;break}p=p.return}u=p}}function Hm(e,t){Pk=e,Um=null,aD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Pi(s.lanes,t)&&sy(),s.firstContext=null)}}function ya(e){Nk&&v("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(aD!==e){var s={context:e,memoizedValue:t,next:null};if(Um===null){if(Pk===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().");Um=s,Pk.dependencies={lanes:ae,firstContext:s}}else Um=Um.next=s}return t}var nh=null;function sD(e){nh===null?nh=[e]:nh.push(e)}function _6(){if(nh!==null){for(var e=0;e<nh.length;e++){var t=nh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}nh=null}}function bT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,sD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Rk(e,u)}function E6(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,sD(t)):(s.next=p.next,p.next=s),t.interleaved=s}function T6(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,sD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Rk(e,u)}function Bo(e,t){return Rk(e,t)}var F6=Rk;function Rk(e,t){e.lanes=Kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Kt(s.lanes,t)),s===null&&(e.flags&(Er|Ti))!==Ct&&mA(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Kt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Kt(s.childLanes,t):(p.flags&(Er|Ti))!==Ct&&mA(e),u=p,p=p.return;if(u.tag===N){var y=u.stateNode;return y}else return null}var kT=0,wT=1,Lk=2,lD=3,Bk=!1,uD,Mk;uD=!1,Mk=null;function cD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ae},effects:null};e.updateQueue=t}function DT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function ad(e,t){var s={eventTime:e,lane:t,tag:kT,payload:null,callback:null,next:null};return s}function hf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(Mk===p&&!uD&&(v("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."),uD=!0),E9()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,F6(e,s)}else return T6(e,p,t,s)}function Ik(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(iv(s)){var y=p.lanes;y=sv(y,e.pendingLanes);var w=Kt(y,s);p.lanes=w,Rp(e,w)}}}function dD(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,_=s.firstBaseUpdate;if(_!==null){var T=_;do{var R={eventTime:T.eventTime,lane:T.lane,tag:T.tag,payload:T.payload,callback:T.callback,next:null};w===null?y=w=R:(w.next=R,w=R),T=T.next}while(T!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var M=s.lastBaseUpdate;M===null?s.firstBaseUpdate=t:M.next=t,s.lastBaseUpdate=t}function A6(e,t,s,u,p,y){switch(s.tag){case wT:{var w=s.payload;if(typeof w=="function"){gT();var _=w.call(y,u,p);{if(e.mode&h){Jn(!0);try{w.call(y,u,p)}finally{Jn(!1)}}vT()}return _}return w}case lD:e.flags=e.flags&-65537|yt;case kT:{var T=s.payload,R;if(typeof T=="function"){gT(),R=T.call(y,u,p);{if(e.mode&h){Jn(!0);try{T.call(y,u,p)}finally{Jn(!1)}}vT()}}else R=T;return R==null?u:Xt({},u,R)}case Lk:return Bk=!0,u}return u}function jk(e,t,s,u){var p=e.updateQueue;Bk=!1,Mk=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var T=_,R=T.next;T.next=null,w===null?y=R:w.next=R,w=T;var M=e.alternate;if(M!==null){var re=M.updateQueue,Z=re.lastBaseUpdate;Z!==w&&(Z===null?re.firstBaseUpdate=R:Z.next=R,re.lastBaseUpdate=T)}}if(y!==null){var pe=p.baseState,ve=ae,xe=null,nt=null,St=null,Ot=y;do{var dn=Ot.lane,on=Ot.eventTime;if(Uc(u,dn)){if(St!==null){var ue={eventTime:on,lane:qe,tag:Ot.tag,payload:Ot.payload,callback:Ot.callback,next:null};St=St.next=ue}pe=A6(e,p,Ot,pe,t,s);var Se=Ot.callback;if(Se!==null&&Ot.lane!==qe){e.flags|=Hn;var ce=p.effects;ce===null?p.effects=[Ot]:ce.push(Ot)}}else{var He={eventTime:on,lane:dn,tag:Ot.tag,payload:Ot.payload,callback:Ot.callback,next:null};St===null?(nt=St=He,xe=pe):St=St.next=He,ve=Kt(ve,dn)}if(Ot=Ot.next,Ot===null){if(_=p.shared.pending,_===null)break;var ct=_,it=ct.next;ct.next=null,Ot=it,p.lastBaseUpdate=ct,p.shared.pending=null}}while(!0);St===null&&(xe=pe),p.baseState=xe,p.firstBaseUpdate=nt,p.lastBaseUpdate=St;var It=p.shared.interleaved;if(It!==null){var Yt=It;do ve=Kt(ve,Yt.lane),Yt=Yt.next;while(Yt!==It)}else y===null&&(p.shared.lanes=ae);yy(ve),e.lanes=ve,e.memoizedState=pe}Mk=null}function $6(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function ST(){Bk=!1}function zk(){return Bk}function CT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,$6(w,s))}}var Gv={},mf=cf(Gv),Yv=cf(Gv),Uk=cf(Gv);function Hk(e){if(e===Gv)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 xT(){var e=Hk(Uk.current);return e}function fD(e,t){Bi(Uk,t,e),Bi(Yv,e,e),Bi(mf,Gv,e);var s=Y4(t);Li(mf,e),Bi(mf,s,e)}function Vm(e){Li(mf,e),Li(Yv,e),Li(Uk,e)}function pD(){var e=Hk(mf.current);return e}function _T(e){Hk(Uk.current);var t=Hk(mf.current),s=Q4(t,e.type);t!==s&&(Bi(Yv,e,e),Bi(mf,s,e))}function hD(e){Yv.current===e&&(Li(mf,e),Li(Yv,e))}var P6=0,ET=1,TT=1,Qv=2,Ul=cf(P6);function mD(e,t){return(e&t)!==0}function qm(e){return e&ET}function gD(e,t){return e&ET|t}function N6(e,t){return e|t}function gf(e,t){Bi(Ul,t,e)}function Wm(e){Li(Ul,e)}function O6(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function Vk(e){for(var t=e;t!==null;){if(t.tag===U){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||qE(u)||O2(u))return t}}else if(t.tag===Ye&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&yt)!==Ct;if(p)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 Mo=0,Aa=1,Yu=2,$a=4,ui=8,vD=[];function yD(){for(var e=0;e<vD.length;e++){var t=vD[e];t._workInProgressVersionPrimary=null}vD.length=0}function R6(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var ut=i.ReactCurrentDispatcher,Xv=i.ReactCurrentBatchConfig,bD,Gm;bD=new Set;var rh=ae,Zn=null,Pa=null,Na=null,qk=!1,Kv=!1,Jv=0,L6=0,B6=25,Te=null,Zs=null,vf=-1,kD=!1;function Un(){{var e=Te;Zs===null?Zs=[e]:Zs.push(e)}}function Ze(){{var e=Te;Zs!==null&&(vf++,Zs[vf]!==e&&M6(e))}}function Ym(e){e!=null&&!Gt(e)&&v("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Te,typeof e)}function M6(e){{var t=Mt(Zn);if(!bD.has(t)&&(bD.add(t),Zs!==null)){for(var s="",u=30,p=0;p<=vf;p++){for(var y=Zs[p],w=p===vf?e:y,_=p+1+". "+y;_.length<u;)_+=" ";_+=w+`
|
|
232
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function Ak(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function $k(e){{var t=Mt(e)||"Component";if(tD[t])return;tD[t]=!0,v("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 pT(e){var t=e._payload,s=e._init;return s(t)}function hT(e){function t(ue,Se){if(e){var ce=ue.deletions;ce===null?(ue.deletions=[Se],ue.flags|=Ei):ce.push(Se)}}function s(ue,Se){if(!e)return null;for(var ce=Se;ce!==null;)t(ue,ce),ce=ce.sibling;return null}function u(ue,Se){for(var ce=new Map,He=Se;He!==null;)He.key!==null?ce.set(He.key,He):ce.set(He.index,He),He=He.sibling;return ce}function p(ue,Se){var ce=ch(ue,Se);return ce.index=0,ce.sibling=null,ce}function y(ue,Se,ce){if(ue.index=ce,!e)return ue.flags|=eo,Se;var He=ue.alternate;if(He!==null){var ct=He.index;return ct<Se?(ue.flags|=Er,Se):ct}else return ue.flags|=Er,Se}function w(ue){return e&&ue.alternate===null&&(ue.flags|=Er),ue}function _(ue,Se,ce,He){if(Se===null||Se.tag!==j){var ct=XS(ce,ue.mode,He);return ct.return=ue,ct}else{var it=p(Se,ce);return it.return=ue,it}}function T(ue,Se,ce,He){var ct=ce.type;if(ct===yo)return M(ue,Se,ce.props.children,He,ce.key);if(Se!==null&&(Se.elementType===ct||bA(Se,ce)||typeof ct=="object"&&ct!==null&&ct.$$typeof===jt&&pT(ct)===Se.type)){var it=p(Se,ce.props);return it.ref=Wv(ue,Se,ce),it.return=ue,it._debugSource=ce._source,it._debugOwner=ce._owner,it}var It=QS(ce,ue.mode,He);return It.ref=Wv(ue,Se,ce),It.return=ue,It}function R(ue,Se,ce,He){if(Se===null||Se.tag!==O||Se.stateNode.containerInfo!==ce.containerInfo||Se.stateNode.implementation!==ce.implementation){var ct=KS(ce,ue.mode,He);return ct.return=ue,ct}else{var it=p(Se,ce.children||[]);return it.return=ue,it}}function M(ue,Se,ce,He,ct){if(Se===null||Se.tag!==G){var it=Cf(ce,ue.mode,He,ct);return it.return=ue,it}else{var It=p(Se,ce);return It.return=ue,It}}function re(ue,Se,ce){if(typeof Se=="string"&&Se!==""||typeof Se=="number"){var He=XS(""+Se,ue.mode,ce);return He.return=ue,He}if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case wa:{var ct=QS(Se,ue.mode,ce);return ct.ref=Wv(ue,null,Se),ct.return=ue,ct}case Jr:{var it=KS(Se,ue.mode,ce);return it.return=ue,it}case jt:{var It=Se._payload,Yt=Se._init;return re(ue,Yt(It),ce)}}if(Gt(Se)||Et(Se)){var er=Cf(Se,ue.mode,ce,null);return er.return=ue,er}Ak(ue,Se)}return typeof Se=="function"&&$k(ue),null}function Z(ue,Se,ce,He){var ct=Se!==null?Se.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number")return ct!==null?null:_(ue,Se,""+ce,He);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case wa:return ce.key===ct?T(ue,Se,ce,He):null;case Jr:return ce.key===ct?R(ue,Se,ce,He):null;case jt:{var it=ce._payload,It=ce._init;return Z(ue,Se,It(it),He)}}if(Gt(ce)||Et(ce))return ct!==null?null:M(ue,Se,ce,He,null);Ak(ue,ce)}return typeof ce=="function"&&$k(ue),null}function pe(ue,Se,ce,He,ct){if(typeof He=="string"&&He!==""||typeof He=="number"){var it=ue.get(ce)||null;return _(Se,it,""+He,ct)}if(typeof He=="object"&&He!==null){switch(He.$$typeof){case wa:{var It=ue.get(He.key===null?ce:He.key)||null;return T(Se,It,He,ct)}case Jr:{var Yt=ue.get(He.key===null?ce:He.key)||null;return R(Se,Yt,He,ct)}case jt:var er=He._payload,Nn=He._init;return pe(ue,Se,ce,Nn(er),ct)}if(Gt(He)||Et(He)){var aa=ue.get(ce)||null;return M(Se,aa,He,ct,null)}Ak(Se,He)}return typeof He=="function"&&$k(Se),null}function ve(ue,Se,ce){{if(typeof ue!="object"||ue===null)return Se;switch(ue.$$typeof){case wa:case Jr:fT(ue,ce);var He=ue.key;if(typeof He!="string")break;if(Se===null){Se=new Set,Se.add(He);break}if(!Se.has(He)){Se.add(He);break}v("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.",He);break;case jt:var ct=ue._payload,it=ue._init;ve(it(ct),Se,ce);break}}return Se}function xe(ue,Se,ce,He){for(var ct=null,it=0;it<ce.length;it++){var It=ce[it];ct=ve(It,ct,ue)}for(var Yt=null,er=null,Nn=Se,aa=0,On=0,Yr=null;Nn!==null&&On<ce.length;On++){Nn.index>On?(Yr=Nn,Nn=null):Yr=Nn.sibling;var Ii=Z(ue,Nn,ce[On],He);if(Ii===null){Nn===null&&(Nn=Yr);break}e&&Nn&&Ii.alternate===null&&t(ue,Nn),aa=y(Ii,aa,On),er===null?Yt=Ii:er.sibling=Ii,er=Ii,Nn=Yr}if(On===ce.length){if(s(ue,Nn),li()){var mi=On;Kp(ue,mi)}return Yt}if(Nn===null){for(;On<ce.length;On++){var ms=re(ue,ce[On],He);ms!==null&&(aa=y(ms,aa,On),er===null?Yt=ms:er.sibling=ms,er=ms)}if(li()){var lo=On;Kp(ue,lo)}return Yt}for(var uo=u(ue,Nn);On<ce.length;On++){var ji=pe(uo,ue,On,ce[On],He);ji!==null&&(e&&ji.alternate!==null&&uo.delete(ji.key===null?On:ji.key),aa=y(ji,aa,On),er===null?Yt=ji:er.sibling=ji,er=ji)}if(e&&uo.forEach(function(ig){return t(ue,ig)}),li()){var cd=On;Kp(ue,cd)}return Yt}function nt(ue,Se,ce,He){var ct=Et(ce);if(typeof ct!="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"&&ce[Symbol.toStringTag]==="Generator"&&(J2||v("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."),J2=!0),ce.entries===ct&&(K2||v("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),K2=!0);var it=ct.call(ce);if(it)for(var It=null,Yt=it.next();!Yt.done;Yt=it.next()){var er=Yt.value;It=ve(er,It,ue)}}var Nn=ct.call(ce);if(Nn==null)throw new Error("An iterable object provided no iterator.");for(var aa=null,On=null,Yr=Se,Ii=0,mi=0,ms=null,lo=Nn.next();Yr!==null&&!lo.done;mi++,lo=Nn.next()){Yr.index>mi?(ms=Yr,Yr=null):ms=Yr.sibling;var uo=Z(ue,Yr,lo.value,He);if(uo===null){Yr===null&&(Yr=ms);break}e&&Yr&&uo.alternate===null&&t(ue,Yr),Ii=y(uo,Ii,mi),On===null?aa=uo:On.sibling=uo,On=uo,Yr=ms}if(lo.done){if(s(ue,Yr),li()){var ji=mi;Kp(ue,ji)}return aa}if(Yr===null){for(;!lo.done;mi++,lo=Nn.next()){var cd=re(ue,lo.value,He);cd!==null&&(Ii=y(cd,Ii,mi),On===null?aa=cd:On.sibling=cd,On=cd)}if(li()){var ig=mi;Kp(ue,ig)}return aa}for(var Sy=u(ue,Yr);!lo.done;mi++,lo=Nn.next()){var tc=pe(Sy,ue,mi,lo.value,He);tc!==null&&(e&&tc.alternate!==null&&Sy.delete(tc.key===null?mi:tc.key),Ii=y(tc,Ii,mi),On===null?aa=tc:On.sibling=tc,On=tc)}if(e&&Sy.forEach(function(Gz){return t(ue,Gz)}),li()){var Wz=mi;Kp(ue,Wz)}return aa}function St(ue,Se,ce,He){if(Se!==null&&Se.tag===j){s(ue,Se.sibling);var ct=p(Se,ce);return ct.return=ue,ct}s(ue,Se);var it=XS(ce,ue.mode,He);return it.return=ue,it}function Ot(ue,Se,ce,He){for(var ct=ce.key,it=Se;it!==null;){if(it.key===ct){var It=ce.type;if(It===yo){if(it.tag===G){s(ue,it.sibling);var Yt=p(it,ce.props.children);return Yt.return=ue,Yt._debugSource=ce._source,Yt._debugOwner=ce._owner,Yt}}else if(it.elementType===It||bA(it,ce)||typeof It=="object"&&It!==null&&It.$$typeof===jt&&pT(It)===it.type){s(ue,it.sibling);var er=p(it,ce.props);return er.ref=Wv(ue,it,ce),er.return=ue,er._debugSource=ce._source,er._debugOwner=ce._owner,er}s(ue,it);break}else t(ue,it);it=it.sibling}if(ce.type===yo){var Nn=Cf(ce.props.children,ue.mode,He,ce.key);return Nn.return=ue,Nn}else{var aa=QS(ce,ue.mode,He);return aa.ref=Wv(ue,Se,ce),aa.return=ue,aa}}function dn(ue,Se,ce,He){for(var ct=ce.key,it=Se;it!==null;){if(it.key===ct)if(it.tag===O&&it.stateNode.containerInfo===ce.containerInfo&&it.stateNode.implementation===ce.implementation){s(ue,it.sibling);var It=p(it,ce.children||[]);return It.return=ue,It}else{s(ue,it);break}else t(ue,it);it=it.sibling}var Yt=KS(ce,ue.mode,He);return Yt.return=ue,Yt}function sn(ue,Se,ce,He){var ct=typeof ce=="object"&&ce!==null&&ce.type===yo&&ce.key===null;if(ct&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case wa:return w(Ot(ue,Se,ce,He));case Jr:return w(dn(ue,Se,ce,He));case jt:var it=ce._payload,It=ce._init;return sn(ue,Se,It(it),He)}if(Gt(ce))return xe(ue,Se,ce,He);if(Et(ce))return nt(ue,Se,ce,He);Ak(ue,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"?w(St(ue,Se,""+ce,He)):(typeof ce=="function"&&$k(ue),s(ue,Se))}return sn}var zm=hT(!0),mT=hT(!1);function D6(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=ch(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=ch(s,s.pendingProps),u.return=t;u.sibling=null}}function S6(e,t){for(var s=e.child;s!==null;)cz(s,t),s=s.sibling}var nD=cf(null),rD;rD={};var Pk=null,Um=null,aD=null,Nk=!1;function Ok(){Pk=null,Um=null,aD=null,Nk=!1}function gT(){Nk=!0}function vT(){Nk=!1}function yT(e,t,s){Bi(nD,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==rD&&v("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=rD}function iD(e,t){var s=nD.current;Li(nD,t),e._currentValue=s}function oD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(Uc(u.childLanes,t)?p!==null&&!Uc(p.childLanes,t)&&(p.childLanes=Kt(p.childLanes,t)):(u.childLanes=Kt(u.childLanes,t),p!==null&&(p.childLanes=Kt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&v("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 C6(e,t,s){x6(e,t,s)}function x6(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===E){var _=Np(s),T=ad(sr,_);T.tag=Lk;var R=u.updateQueue;if(R!==null){var M=R.shared,re=M.pending;re===null?T.next=T:(T.next=re.next,re.next=T),M.pending=T}}u.lanes=Kt(u.lanes,s);var Z=u.alternate;Z!==null&&(Z.lanes=Kt(Z.lanes,s)),oD(u.return,s,e),y.lanes=Kt(y.lanes,s);break}w=w.next}}else if(u.tag===K)p=u.type===e.type?null:u.child;else if(u.tag===Qe){var pe=u.return;if(pe===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");pe.lanes=Kt(pe.lanes,s);var ve=pe.alternate;ve!==null&&(ve.lanes=Kt(ve.lanes,s)),oD(pe,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var xe=p.sibling;if(xe!==null){xe.return=p.return,p=xe;break}p=p.return}u=p}}function Hm(e,t){Pk=e,Um=null,aD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Pi(s.lanes,t)&&sy(),s.firstContext=null)}}function ya(e){Nk&&v("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(aD!==e){var s={context:e,memoizedValue:t,next:null};if(Um===null){if(Pk===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().");Um=s,Pk.dependencies={lanes:ae,firstContext:s}}else Um=Um.next=s}return t}var nh=null;function sD(e){nh===null?nh=[e]:nh.push(e)}function _6(){if(nh!==null){for(var e=0;e<nh.length;e++){var t=nh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}nh=null}}function bT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,sD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Rk(e,u)}function E6(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,sD(t)):(s.next=p.next,p.next=s),t.interleaved=s}function T6(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,sD(t)):(s.next=p.next,p.next=s),t.interleaved=s,Rk(e,u)}function Bo(e,t){return Rk(e,t)}var F6=Rk;function Rk(e,t){e.lanes=Kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Kt(s.lanes,t)),s===null&&(e.flags&(Er|Ti))!==Ct&&mA(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Kt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Kt(s.childLanes,t):(p.flags&(Er|Ti))!==Ct&&mA(e),u=p,p=p.return;if(u.tag===N){var y=u.stateNode;return y}else return null}var kT=0,wT=1,Lk=2,lD=3,Bk=!1,uD,Mk;uD=!1,Mk=null;function cD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ae},effects:null};e.updateQueue=t}function DT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function ad(e,t){var s={eventTime:e,lane:t,tag:kT,payload:null,callback:null,next:null};return s}function hf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(Mk===p&&!uD&&(v("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."),uD=!0),E9()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,F6(e,s)}else return T6(e,p,t,s)}function Ik(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(iv(s)){var y=p.lanes;y=sv(y,e.pendingLanes);var w=Kt(y,s);p.lanes=w,Rp(e,w)}}}function dD(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,_=s.firstBaseUpdate;if(_!==null){var T=_;do{var R={eventTime:T.eventTime,lane:T.lane,tag:T.tag,payload:T.payload,callback:T.callback,next:null};w===null?y=w=R:(w.next=R,w=R),T=T.next}while(T!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var M=s.lastBaseUpdate;M===null?s.firstBaseUpdate=t:M.next=t,s.lastBaseUpdate=t}function A6(e,t,s,u,p,y){switch(s.tag){case wT:{var w=s.payload;if(typeof w=="function"){gT();var _=w.call(y,u,p);{if(e.mode&h){Jn(!0);try{w.call(y,u,p)}finally{Jn(!1)}}vT()}return _}return w}case lD:e.flags=e.flags&-65537|yt;case kT:{var T=s.payload,R;if(typeof T=="function"){gT(),R=T.call(y,u,p);{if(e.mode&h){Jn(!0);try{T.call(y,u,p)}finally{Jn(!1)}}vT()}}else R=T;return R==null?u:Xt({},u,R)}case Lk:return Bk=!0,u}return u}function jk(e,t,s,u){var p=e.updateQueue;Bk=!1,Mk=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var T=_,R=T.next;T.next=null,w===null?y=R:w.next=R,w=T;var M=e.alternate;if(M!==null){var re=M.updateQueue,Z=re.lastBaseUpdate;Z!==w&&(Z===null?re.firstBaseUpdate=R:Z.next=R,re.lastBaseUpdate=T)}}if(y!==null){var pe=p.baseState,ve=ae,xe=null,nt=null,St=null,Ot=y;do{var dn=Ot.lane,sn=Ot.eventTime;if(Uc(u,dn)){if(St!==null){var ue={eventTime:sn,lane:qe,tag:Ot.tag,payload:Ot.payload,callback:Ot.callback,next:null};St=St.next=ue}pe=A6(e,p,Ot,pe,t,s);var Se=Ot.callback;if(Se!==null&&Ot.lane!==qe){e.flags|=Hn;var ce=p.effects;ce===null?p.effects=[Ot]:ce.push(Ot)}}else{var He={eventTime:sn,lane:dn,tag:Ot.tag,payload:Ot.payload,callback:Ot.callback,next:null};St===null?(nt=St=He,xe=pe):St=St.next=He,ve=Kt(ve,dn)}if(Ot=Ot.next,Ot===null){if(_=p.shared.pending,_===null)break;var ct=_,it=ct.next;ct.next=null,Ot=it,p.lastBaseUpdate=ct,p.shared.pending=null}}while(!0);St===null&&(xe=pe),p.baseState=xe,p.firstBaseUpdate=nt,p.lastBaseUpdate=St;var It=p.shared.interleaved;if(It!==null){var Yt=It;do ve=Kt(ve,Yt.lane),Yt=Yt.next;while(Yt!==It)}else y===null&&(p.shared.lanes=ae);yy(ve),e.lanes=ve,e.memoizedState=pe}Mk=null}function $6(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function ST(){Bk=!1}function zk(){return Bk}function CT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,$6(w,s))}}var Gv={},mf=cf(Gv),Yv=cf(Gv),Uk=cf(Gv);function Hk(e){if(e===Gv)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 xT(){var e=Hk(Uk.current);return e}function fD(e,t){Bi(Uk,t,e),Bi(Yv,e,e),Bi(mf,Gv,e);var s=Y4(t);Li(mf,e),Bi(mf,s,e)}function Vm(e){Li(mf,e),Li(Yv,e),Li(Uk,e)}function pD(){var e=Hk(mf.current);return e}function _T(e){Hk(Uk.current);var t=Hk(mf.current),s=Q4(t,e.type);t!==s&&(Bi(Yv,e,e),Bi(mf,s,e))}function hD(e){Yv.current===e&&(Li(mf,e),Li(Yv,e))}var P6=0,ET=1,TT=1,Qv=2,Ul=cf(P6);function mD(e,t){return(e&t)!==0}function qm(e){return e&ET}function gD(e,t){return e&ET|t}function N6(e,t){return e|t}function gf(e,t){Bi(Ul,t,e)}function Wm(e){Li(Ul,e)}function O6(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function Vk(e){for(var t=e;t!==null;){if(t.tag===U){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||qE(u)||O2(u))return t}}else if(t.tag===Ye&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&yt)!==Ct;if(p)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 Mo=0,Aa=1,Yu=2,$a=4,ui=8,vD=[];function yD(){for(var e=0;e<vD.length;e++){var t=vD[e];t._workInProgressVersionPrimary=null}vD.length=0}function R6(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var ut=i.ReactCurrentDispatcher,Xv=i.ReactCurrentBatchConfig,bD,Gm;bD=new Set;var rh=ae,Zn=null,Pa=null,Na=null,qk=!1,Kv=!1,Jv=0,L6=0,B6=25,Te=null,Zs=null,vf=-1,kD=!1;function Un(){{var e=Te;Zs===null?Zs=[e]:Zs.push(e)}}function Ze(){{var e=Te;Zs!==null&&(vf++,Zs[vf]!==e&&M6(e))}}function Ym(e){e!=null&&!Gt(e)&&v("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Te,typeof e)}function M6(e){{var t=Mt(Zn);if(!bD.has(t)&&(bD.add(t),Zs!==null)){for(var s="",u=30,p=0;p<=vf;p++){for(var y=Zs[p],w=p===vf?e:y,_=p+1+". "+y;_.length<u;)_+=" ";_+=w+`
|
|
233
233
|
`,s+=_}v(`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
|
|
234
234
|
|
|
235
235
|
Previous render Next render
|
|
@@ -242,7 +242,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
242
242
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function wD(e,t){if(kD)return!1;if(t===null)return v("%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.",Te),!1;e.length!==t.length&&v(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
243
243
|
|
|
244
244
|
Previous: %s
|
|
245
|
-
Incoming: %s`,Te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!oe(e[s],t[s]))return!1;return!0}function Qm(e,t,s,u,p,y){rh=y,Zn=t,Zs=e!==null?e._debugHookTypes:null,vf=-1,kD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ae,e!==null&&e.memoizedState!==null?ut.current=XT:Zs!==null?ut.current=QT:ut.current=YT;var w=s(u,p);if(Kv){var _=0;do{if(Kv=!1,Jv=0,_>=B6)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,kD=!1,Pa=null,Na=null,t.updateQueue=null,vf=-1,ut.current=KT,w=s(u,p)}while(Kv)}ut.current=a0,t._debugHookTypes=Zs;var T=Pa!==null&&Pa.next!==null;if(rh=ae,Zn=null,Pa=null,Na=null,Te=null,Zs=null,vf=-1,e!==null&&(e.flags&wr)!==(t.flags&wr)&&(e.mode&nn)!==xt&&v("Internal React error: Expected static flag was missing. Please notify the React team."),qk=!1,T)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function Xm(){var e=Jv!==0;return Jv=0,e}function FT(e,t,s){t.updateQueue=e.updateQueue,(t.mode&k)!==xt?t.flags&=-50333701:t.flags&=-2053,e.lanes=Op(e.lanes,s)}function AT(){if(ut.current=a0,qk){for(var e=Zn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qk=!1}rh=ae,Zn=null,Pa=null,Na=null,Zs=null,vf=-1,Te=null,HT=!1,Kv=!1,Jv=0}function Qu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Na===null?Zn.memoizedState=Na=e:Na=Na.next=e,Na}function el(){var e;if(Pa===null){var t=Zn.alternate;t!==null?e=t.memoizedState:e=null}else e=Pa.next;var s;if(Na===null?s=Zn.memoizedState:s=Na.next,s!==null)Na=s,s=Na.next,Pa=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Pa=e;var u={memoizedState:Pa.memoizedState,baseState:Pa.baseState,baseQueue:Pa.baseQueue,queue:Pa.queue,next:null};Na===null?Zn.memoizedState=Na=u:Na=Na.next=u}return Na}function $T(){return{lastEffect:null,stores:null}}function DD(e,t){return typeof t=="function"?t(e):t}function SD(e,t,s){var u=Qu(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:ae,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=U6.bind(null,Zn,y);return[u.memoizedState,w]}function CD(e,t,s){var u=el(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=Pa,w=y.baseQueue,_=p.pending;if(_!==null){if(w!==null){var T=w.next,R=_.next;w.next=R,_.next=T}y.baseQueue!==w&&v("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=_,p.pending=null}if(w!==null){var M=w.next,re=y.baseState,Z=null,pe=null,ve=null,xe=M;do{var nt=xe.lane;if(Uc(rh,nt)){if(ve!==null){var St={lane:qe,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};ve=ve.next=St}if(xe.hasEagerState)re=xe.eagerState;else{var Ot=xe.action;re=e(re,Ot)}}else{var dn={lane:nt,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};ve===null?(pe=ve=dn,Z=re):ve=ve.next=dn,Zn.lanes=Kt(Zn.lanes,nt),yy(nt)}xe=xe.next}while(xe!==null&&xe!==M);ve===null?Z=re:ve.next=pe,oe(re,u.memoizedState)||sy(),u.memoizedState=re,u.baseState=Z,u.baseQueue=ve,p.lastRenderedState=re}var on=p.interleaved;if(on!==null){var ue=on;do{var Se=ue.lane;Zn.lanes=Kt(Zn.lanes,Se),yy(Se),ue=ue.next}while(ue!==on)}else w===null&&(p.lanes=ae);var ce=p.dispatch;return[u.memoizedState,ce]}function xD(e,t,s){var u=el(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,_=u.memoizedState;if(w!==null){p.pending=null;var T=w.next,R=T;do{var M=R.action;_=e(_,M),R=R.next}while(R!==T);oe(_,u.memoizedState)||sy(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),p.lastRenderedState=_}return[_,y]}function _D(e,t,s){var u=Zn,p=Qu(),y,w=li();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),Gm||y!==s()&&(v("The result of getServerSnapshot should be cached to avoid an infinite loop"),Gm=!0)}else{if(y=t(),!Gm){var _=t();oe(y,_)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),Gm=!0)}var T=C0();if(T===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dm(T,rh)||PT(u,t,y)}p.memoizedState=y;var R={value:y,getSnapshot:t};return p.queue=R,Xk(OT.bind(null,u,R,e),[e]),u.flags|=Ha,Zv(Aa|ui,NT.bind(null,u,R,y,t),void 0,null),y}function Wk(e,t,s){var u=Zn,p=el(),y=t();if(!Gm){var w=t();oe(y,w)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),Gm=!0)}var _=p.memoizedState,T=!oe(_,y);T&&(p.memoizedState=y,sy());var R=p.queue;if(ty(OT.bind(null,u,R,e),[e]),R.getSnapshot!==t||T||Na!==null&&Na.memoizedState.tag&Aa){u.flags|=Ha,Zv(Aa|ui,NT.bind(null,u,R,y,t),void 0,null);var M=C0();if(M===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dm(M,rh)||PT(u,t,y)}return y}function PT(e,t,s){e.flags|=$u;var u={getSnapshot:t,value:s},p=Zn.updateQueue;if(p===null)p=$T(),Zn.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function NT(e,t,s,u){t.value=s,t.getSnapshot=u,RT(t)&<(e)}function OT(e,t,s){var u=function(){RT(t)&<(e)};return s(u)}function RT(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!oe(s,u)}catch{return!0}}function LT(e){var t=Bo(e,Ee);t!==null&&Ba(t,e,Ee,sr)}function Gk(e){var t=Qu();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:ae,dispatch:null,lastRenderedReducer:DD,lastRenderedState:e};t.queue=s;var u=s.dispatch=H6.bind(null,Zn,s);return[t.memoizedState,u]}function ED(e){return CD(DD)}function TD(e){return xD(DD)}function Zv(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=Zn.updateQueue;if(y===null)y=$T(),Zn.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,y.lastEffect=p}}return p}function FD(e){var t=Qu();{var s={current:e};return t.memoizedState=s,s}}function Yk(e){var t=el();return t.memoizedState}function ey(e,t,s,u){var p=Qu(),y=u===void 0?null:u;Zn.flags|=e,p.memoizedState=Zv(Aa|t,s,void 0,y)}function Qk(e,t,s,u){var p=el(),y=u===void 0?null:u,w=void 0;if(Pa!==null){var _=Pa.memoizedState;if(w=_.destroy,y!==null){var T=_.deps;if(wD(y,T)){p.memoizedState=Zv(t,s,w,y);return}}}Zn.flags|=e,p.memoizedState=Zv(Aa|t,s,w,y)}function Xk(e,t){return(Zn.mode&k)!==xt?ey(To|Ha|Wd,ui,e,t):ey(Ha|Wd,ui,e,t)}function ty(e,t){return Qk(Ha,ui,e,t)}function AD(e,t){return ey(mn,Yu,e,t)}function Kk(e,t){return Qk(mn,Yu,e,t)}function $D(e,t){var s=mn;return s|=Eo,(Zn.mode&k)!==xt&&(s|=to),ey(s,$a,e,t)}function Jk(e,t){return Qk(mn,$a,e,t)}function BT(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||v("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function PD(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Eo,(Zn.mode&k)!==xt&&(p|=to),ey(p,$a,BT.bind(null,t,e),u)}function Zk(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return Qk(mn,$a,BT.bind(null,t,e),u)}function I6(e,t){}var e0=I6;function ND(e,t){var s=Qu(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function t0(e,t){var s=el(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(wD(u,y))return p[0]}return s.memoizedState=[e,u],e}function OD(e,t){var s=Qu(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function n0(e,t){var s=el(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(wD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function RD(e){var t=Qu();return t.memoizedState=e,e}function MT(e){var t=el(),s=Pa,u=s.memoizedState;return jT(t,u,e)}function IT(e){var t=el();if(Pa===null)return t.memoizedState=e,e;var s=Pa.memoizedState;return jT(t,s,e)}function jT(e,t,s){var u=!rv(rh);if(u){if(!oe(s,t)){var p=ov();Zn.lanes=Kt(Zn.lanes,p),yy(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,sy()),e.memoizedState=s,s}function j6(e,t,s){var u=us();na(Fb(u,ls)),e(!0);var p=Xv.transition;Xv.transition={};var y=Xv.transition;Xv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(na(u),Xv.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&g("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."),y._updatedFibers.clear()}}}function LD(){var e=Gk(!1),t=e[0],s=e[1],u=j6.bind(null,s),p=Qu();return p.memoizedState=u,[t,u]}function zT(){var e=ED(),t=e[0],s=el(),u=s.memoizedState;return[t,u]}function UT(){var e=TD(),t=e[0],s=el(),u=s.memoizedState;return[t,u]}var HT=!1;function z6(){return HT}function BD(){var e=Qu(),t=C0(),s=t.identifierPrefix,u;if(li()){var p=a6();u=":"+s+"R"+p;var y=Jv++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=L6++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function r0(){var e=el(),t=e.memoizedState;return t}function U6(e,t,s){typeof arguments[3]=="function"&&v("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=Df(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(VT(e))qT(t,p);else{var y=bT(e,t,p,u);if(y!==null){var w=so();Ba(y,e,u,w),WT(y,t,u)}}GT(e,u)}function H6(e,t,s){typeof arguments[3]=="function"&&v("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=Df(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(VT(e))qT(t,p);else{var y=e.alternate;if(e.lanes===ae&&(y===null||y.lanes===ae)){var w=t.lastRenderedReducer;if(w!==null){var _;_=ut.current,ut.current=Hl;try{var T=t.lastRenderedState,R=w(T,s);if(p.hasEagerState=!0,p.eagerState=R,oe(R,T)){E6(e,t,p,u);return}}catch{}finally{ut.current=_}}}var M=bT(e,t,p,u);if(M!==null){var re=so();Ba(M,e,u,re),WT(M,t,u)}}GT(e,u)}function VT(e){var t=e.alternate;return e===Zn||t!==null&&t===Zn}function qT(e,t){Kv=qk=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function WT(e,t,s){if(iv(s)){var u=t.lanes;u=sv(u,e.pendingLanes);var p=Kt(u,s);t.lanes=p,Rp(e,p)}}function GT(e,t,s){Lc(e,t)}var a0={readContext:ya,useCallback:Mi,useContext:Mi,useEffect:Mi,useImperativeHandle:Mi,useInsertionEffect:Mi,useLayoutEffect:Mi,useMemo:Mi,useReducer:Mi,useRef:Mi,useState:Mi,useDebugValue:Mi,useDeferredValue:Mi,useTransition:Mi,useMutableSource:Mi,useSyncExternalStore:Mi,useId:Mi,unstable_isNewReconciler:de},YT=null,QT=null,XT=null,KT=null,Xu=null,Hl=null,i0=null;{var MD=function(){v("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().")},qt=function(){v("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")};YT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Un(),Ym(t),ND(e,t)},useContext:function(e){return Te="useContext",Un(),ya(e)},useEffect:function(e,t){return Te="useEffect",Un(),Ym(t),Xk(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Un(),Ym(s),PD(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Un(),Ym(t),AD(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Un(),Ym(t),$D(e,t)},useMemo:function(e,t){Te="useMemo",Un(),Ym(t);var s=ut.current;ut.current=Xu;try{return OD(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Un();var u=ut.current;ut.current=Xu;try{return SD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Un(),FD(e)},useState:function(e){Te="useState",Un();var t=ut.current;ut.current=Xu;try{return Gk(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Un(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Un(),RD(e)},useTransition:function(){return Te="useTransition",Un(),LD()},useMutableSource:function(e,t,s){return Te="useMutableSource",Un(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Un(),_D(e,t,s)},useId:function(){return Te="useId",Un(),BD()},unstable_isNewReconciler:de},QT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Ze(),ND(e,t)},useContext:function(e){return Te="useContext",Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",Ze(),Xk(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),PD(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),AD(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),$D(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ut.current;ut.current=Xu;try{return OD(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ut.current;ut.current=Xu;try{return SD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Ze(),FD(e)},useState:function(e){Te="useState",Ze();var t=ut.current;ut.current=Xu;try{return Gk(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),RD(e)},useTransition:function(){return Te="useTransition",Ze(),LD()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),_D(e,t,s)},useId:function(){return Te="useId",Ze(),BD()},unstable_isNewReconciler:de},XT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Ze(),t0(e,t)},useContext:function(e){return Te="useContext",Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ut.current;ut.current=Hl;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ut.current;ut.current=Hl;try{return CD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Ze(),Yk()},useState:function(e){Te="useState",Ze();var t=ut.current;ut.current=Hl;try{return ED(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),MT(e)},useTransition:function(){return Te="useTransition",Ze(),zT()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),Wk(e,t)},useId:function(){return Te="useId",Ze(),r0()},unstable_isNewReconciler:de},KT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Ze(),t0(e,t)},useContext:function(e){return Te="useContext",Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ut.current;ut.current=i0;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ut.current;ut.current=i0;try{return xD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Ze(),Yk()},useState:function(e){Te="useState",Ze();var t=ut.current;ut.current=i0;try{return TD(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),IT(e)},useTransition:function(){return Te="useTransition",Ze(),UT()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),Wk(e,t)},useId:function(){return Te="useId",Ze(),r0()},unstable_isNewReconciler:de},Xu={readContext:function(e){return MD(),ya(e)},useCallback:function(e,t){return Te="useCallback",qt(),Un(),ND(e,t)},useContext:function(e){return Te="useContext",qt(),Un(),ya(e)},useEffect:function(e,t){return Te="useEffect",qt(),Un(),Xk(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",qt(),Un(),PD(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",qt(),Un(),AD(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",qt(),Un(),$D(e,t)},useMemo:function(e,t){Te="useMemo",qt(),Un();var s=ut.current;ut.current=Xu;try{return OD(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",qt(),Un();var u=ut.current;ut.current=Xu;try{return SD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",qt(),Un(),FD(e)},useState:function(e){Te="useState",qt(),Un();var t=ut.current;ut.current=Xu;try{return Gk(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",qt(),Un(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",qt(),Un(),RD(e)},useTransition:function(){return Te="useTransition",qt(),Un(),LD()},useMutableSource:function(e,t,s){return Te="useMutableSource",qt(),Un(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",qt(),Un(),_D(e,t,s)},useId:function(){return Te="useId",qt(),Un(),BD()},unstable_isNewReconciler:de},Hl={readContext:function(e){return MD(),ya(e)},useCallback:function(e,t){return Te="useCallback",qt(),Ze(),t0(e,t)},useContext:function(e){return Te="useContext",qt(),Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",qt(),Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",qt(),Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",qt(),Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",qt(),Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",qt(),Ze();var s=ut.current;ut.current=Hl;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",qt(),Ze();var u=ut.current;ut.current=Hl;try{return CD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",qt(),Ze(),Yk()},useState:function(e){Te="useState",qt(),Ze();var t=ut.current;ut.current=Hl;try{return ED(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",qt(),Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",qt(),Ze(),MT(e)},useTransition:function(){return Te="useTransition",qt(),Ze(),zT()},useMutableSource:function(e,t,s){return Te="useMutableSource",qt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",qt(),Ze(),Wk(e,t)},useId:function(){return Te="useId",qt(),Ze(),r0()},unstable_isNewReconciler:de},i0={readContext:function(e){return MD(),ya(e)},useCallback:function(e,t){return Te="useCallback",qt(),Ze(),t0(e,t)},useContext:function(e){return Te="useContext",qt(),Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",qt(),Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",qt(),Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",qt(),Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",qt(),Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",qt(),Ze();var s=ut.current;ut.current=Hl;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",qt(),Ze();var u=ut.current;ut.current=Hl;try{return xD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",qt(),Ze(),Yk()},useState:function(e){Te="useState",qt(),Ze();var t=ut.current;ut.current=Hl;try{return TD(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",qt(),Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",qt(),Ze(),IT(e)},useTransition:function(){return Te="useTransition",qt(),Ze(),UT()},useMutableSource:function(e,t,s){return Te="useMutableSource",qt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",qt(),Ze(),Wk(e,t)},useId:function(){return Te="useId",qt(),Ze(),r0()},unstable_isNewReconciler:de}}var yf=n.unstable_now,JT=0,o0=-1,ny=-1,s0=-1,ID=!1,l0=!1;function ZT(){return ID}function V6(){l0=!0}function q6(){ID=!1,l0=!1}function W6(){ID=l0,l0=!1}function eF(){return JT}function tF(){JT=yf()}function jD(e){ny=yf(),e.actualStartTime<0&&(e.actualStartTime=yf())}function nF(e){ny=-1}function u0(e,t){if(ny>=0){var s=yf()-ny;e.actualDuration+=s,t&&(e.selfBaseDuration=s),ny=-1}}function Ku(e){if(o0>=0){var t=yf()-o0;o0=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u.effectDuration+=t;return;case ne:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function zD(e){if(s0>=0){var t=yf()-s0;s0=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case ne:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function Ju(){o0=yf()}function UD(){s0=yf()}function HD(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Vl(e,t){if(e&&e.defaultProps){var s=Xt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var VD={},qD,WD,GD,YD,QD,rF,c0,XD,KD,JD,ry;{qD=new Set,WD=new Set,GD=new Set,YD=new Set,XD=new Set,QD=new Set,KD=new Set,JD=new Set,ry=new Set;var aF=new Set;c0=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;aF.has(s)||(aF.add(s),v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},rF=function(e,t){if(t===void 0){var s=kn(e)||"Component";QD.has(s)||(QD.add(s),v("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(VD,"_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(VD)}function ZD(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&h){Jn(!0);try{y=s(u,p)}finally{Jn(!1)}}rF(t,y)}var w=y==null?p:Xt({},p,y);if(e.memoizedState=w,e.lanes===ae){var _=e.updateQueue;_.baseState=w}}var eS={isMounted:Xh,enqueueSetState:function(e,t,s){var u=Au(e),p=so(),y=Df(u),w=ad(p,y);w.payload=t,s!=null&&(c0(s,"setState"),w.callback=s);var _=hf(u,w,y);_!==null&&(Ba(_,u,y,p),Ik(_,u,y)),Lc(u,y)},enqueueReplaceState:function(e,t,s){var u=Au(e),p=so(),y=Df(u),w=ad(p,y);w.tag=wT,w.payload=t,s!=null&&(c0(s,"replaceState"),w.callback=s);var _=hf(u,w,y);_!==null&&(Ba(_,u,y,p),Ik(_,u,y)),Lc(u,y)},enqueueForceUpdate:function(e,t){var s=Au(e),u=so(),p=Df(s),y=ad(u,p);y.tag=Lk,t!=null&&(c0(t,"forceUpdate"),y.callback=t);var w=hf(s,y,p);w!==null&&(Ba(w,s,p,u),Ik(w,s,p)),Xd(s,p)}};function iF(e,t,s,u,p,y,w){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var T=_.shouldComponentUpdate(u,y,w);{if(e.mode&h){Jn(!0);try{T=_.shouldComponentUpdate(u,y,w)}finally{Jn(!1)}}T===void 0&&v("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kn(t)||"Component")}return T}return t.prototype&&t.prototype.isPureReactComponent?!We(s,u)||!We(p,y):!0}function G6(e,t,s){var u=e.stateNode;{var p=kn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?v("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):v("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&v("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?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&v("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.",p),u.propTypes&&v("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&v("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!ry.has(t)&&(e.mode&h)===xt&&(ry.add(t),v(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
245
|
+
Incoming: %s`,Te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!oe(e[s],t[s]))return!1;return!0}function Qm(e,t,s,u,p,y){rh=y,Zn=t,Zs=e!==null?e._debugHookTypes:null,vf=-1,kD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ae,e!==null&&e.memoizedState!==null?ut.current=XT:Zs!==null?ut.current=QT:ut.current=YT;var w=s(u,p);if(Kv){var _=0;do{if(Kv=!1,Jv=0,_>=B6)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,kD=!1,Pa=null,Na=null,t.updateQueue=null,vf=-1,ut.current=KT,w=s(u,p)}while(Kv)}ut.current=a0,t._debugHookTypes=Zs;var T=Pa!==null&&Pa.next!==null;if(rh=ae,Zn=null,Pa=null,Na=null,Te=null,Zs=null,vf=-1,e!==null&&(e.flags&wr)!==(t.flags&wr)&&(e.mode&nn)!==xt&&v("Internal React error: Expected static flag was missing. Please notify the React team."),qk=!1,T)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function Xm(){var e=Jv!==0;return Jv=0,e}function FT(e,t,s){t.updateQueue=e.updateQueue,(t.mode&k)!==xt?t.flags&=-50333701:t.flags&=-2053,e.lanes=Op(e.lanes,s)}function AT(){if(ut.current=a0,qk){for(var e=Zn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qk=!1}rh=ae,Zn=null,Pa=null,Na=null,Zs=null,vf=-1,Te=null,HT=!1,Kv=!1,Jv=0}function Qu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Na===null?Zn.memoizedState=Na=e:Na=Na.next=e,Na}function el(){var e;if(Pa===null){var t=Zn.alternate;t!==null?e=t.memoizedState:e=null}else e=Pa.next;var s;if(Na===null?s=Zn.memoizedState:s=Na.next,s!==null)Na=s,s=Na.next,Pa=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Pa=e;var u={memoizedState:Pa.memoizedState,baseState:Pa.baseState,baseQueue:Pa.baseQueue,queue:Pa.queue,next:null};Na===null?Zn.memoizedState=Na=u:Na=Na.next=u}return Na}function $T(){return{lastEffect:null,stores:null}}function DD(e,t){return typeof t=="function"?t(e):t}function SD(e,t,s){var u=Qu(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:ae,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=U6.bind(null,Zn,y);return[u.memoizedState,w]}function CD(e,t,s){var u=el(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=Pa,w=y.baseQueue,_=p.pending;if(_!==null){if(w!==null){var T=w.next,R=_.next;w.next=R,_.next=T}y.baseQueue!==w&&v("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=_,p.pending=null}if(w!==null){var M=w.next,re=y.baseState,Z=null,pe=null,ve=null,xe=M;do{var nt=xe.lane;if(Uc(rh,nt)){if(ve!==null){var St={lane:qe,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};ve=ve.next=St}if(xe.hasEagerState)re=xe.eagerState;else{var Ot=xe.action;re=e(re,Ot)}}else{var dn={lane:nt,action:xe.action,hasEagerState:xe.hasEagerState,eagerState:xe.eagerState,next:null};ve===null?(pe=ve=dn,Z=re):ve=ve.next=dn,Zn.lanes=Kt(Zn.lanes,nt),yy(nt)}xe=xe.next}while(xe!==null&&xe!==M);ve===null?Z=re:ve.next=pe,oe(re,u.memoizedState)||sy(),u.memoizedState=re,u.baseState=Z,u.baseQueue=ve,p.lastRenderedState=re}var sn=p.interleaved;if(sn!==null){var ue=sn;do{var Se=ue.lane;Zn.lanes=Kt(Zn.lanes,Se),yy(Se),ue=ue.next}while(ue!==sn)}else w===null&&(p.lanes=ae);var ce=p.dispatch;return[u.memoizedState,ce]}function xD(e,t,s){var u=el(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,_=u.memoizedState;if(w!==null){p.pending=null;var T=w.next,R=T;do{var M=R.action;_=e(_,M),R=R.next}while(R!==T);oe(_,u.memoizedState)||sy(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),p.lastRenderedState=_}return[_,y]}function _D(e,t,s){var u=Zn,p=Qu(),y,w=li();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),Gm||y!==s()&&(v("The result of getServerSnapshot should be cached to avoid an infinite loop"),Gm=!0)}else{if(y=t(),!Gm){var _=t();oe(y,_)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),Gm=!0)}var T=C0();if(T===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dm(T,rh)||PT(u,t,y)}p.memoizedState=y;var R={value:y,getSnapshot:t};return p.queue=R,Xk(OT.bind(null,u,R,e),[e]),u.flags|=Ha,Zv(Aa|ui,NT.bind(null,u,R,y,t),void 0,null),y}function Wk(e,t,s){var u=Zn,p=el(),y=t();if(!Gm){var w=t();oe(y,w)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),Gm=!0)}var _=p.memoizedState,T=!oe(_,y);T&&(p.memoizedState=y,sy());var R=p.queue;if(ty(OT.bind(null,u,R,e),[e]),R.getSnapshot!==t||T||Na!==null&&Na.memoizedState.tag&Aa){u.flags|=Ha,Zv(Aa|ui,NT.bind(null,u,R,y,t),void 0,null);var M=C0();if(M===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dm(M,rh)||PT(u,t,y)}return y}function PT(e,t,s){e.flags|=$u;var u={getSnapshot:t,value:s},p=Zn.updateQueue;if(p===null)p=$T(),Zn.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function NT(e,t,s,u){t.value=s,t.getSnapshot=u,RT(t)&<(e)}function OT(e,t,s){var u=function(){RT(t)&<(e)};return s(u)}function RT(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!oe(s,u)}catch{return!0}}function LT(e){var t=Bo(e,Ee);t!==null&&Ba(t,e,Ee,sr)}function Gk(e){var t=Qu();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:ae,dispatch:null,lastRenderedReducer:DD,lastRenderedState:e};t.queue=s;var u=s.dispatch=H6.bind(null,Zn,s);return[t.memoizedState,u]}function ED(e){return CD(DD)}function TD(e){return xD(DD)}function Zv(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=Zn.updateQueue;if(y===null)y=$T(),Zn.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,y.lastEffect=p}}return p}function FD(e){var t=Qu();{var s={current:e};return t.memoizedState=s,s}}function Yk(e){var t=el();return t.memoizedState}function ey(e,t,s,u){var p=Qu(),y=u===void 0?null:u;Zn.flags|=e,p.memoizedState=Zv(Aa|t,s,void 0,y)}function Qk(e,t,s,u){var p=el(),y=u===void 0?null:u,w=void 0;if(Pa!==null){var _=Pa.memoizedState;if(w=_.destroy,y!==null){var T=_.deps;if(wD(y,T)){p.memoizedState=Zv(t,s,w,y);return}}}Zn.flags|=e,p.memoizedState=Zv(Aa|t,s,w,y)}function Xk(e,t){return(Zn.mode&k)!==xt?ey(To|Ha|Wd,ui,e,t):ey(Ha|Wd,ui,e,t)}function ty(e,t){return Qk(Ha,ui,e,t)}function AD(e,t){return ey(mn,Yu,e,t)}function Kk(e,t){return Qk(mn,Yu,e,t)}function $D(e,t){var s=mn;return s|=Eo,(Zn.mode&k)!==xt&&(s|=to),ey(s,$a,e,t)}function Jk(e,t){return Qk(mn,$a,e,t)}function BT(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||v("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function PD(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Eo,(Zn.mode&k)!==xt&&(p|=to),ey(p,$a,BT.bind(null,t,e),u)}function Zk(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return Qk(mn,$a,BT.bind(null,t,e),u)}function I6(e,t){}var e0=I6;function ND(e,t){var s=Qu(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function t0(e,t){var s=el(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(wD(u,y))return p[0]}return s.memoizedState=[e,u],e}function OD(e,t){var s=Qu(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function n0(e,t){var s=el(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(wD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function RD(e){var t=Qu();return t.memoizedState=e,e}function MT(e){var t=el(),s=Pa,u=s.memoizedState;return jT(t,u,e)}function IT(e){var t=el();if(Pa===null)return t.memoizedState=e,e;var s=Pa.memoizedState;return jT(t,s,e)}function jT(e,t,s){var u=!rv(rh);if(u){if(!oe(s,t)){var p=ov();Zn.lanes=Kt(Zn.lanes,p),yy(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,sy()),e.memoizedState=s,s}function j6(e,t,s){var u=us();na(Fb(u,ls)),e(!0);var p=Xv.transition;Xv.transition={};var y=Xv.transition;Xv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(na(u),Xv.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&g("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."),y._updatedFibers.clear()}}}function LD(){var e=Gk(!1),t=e[0],s=e[1],u=j6.bind(null,s),p=Qu();return p.memoizedState=u,[t,u]}function zT(){var e=ED(),t=e[0],s=el(),u=s.memoizedState;return[t,u]}function UT(){var e=TD(),t=e[0],s=el(),u=s.memoizedState;return[t,u]}var HT=!1;function z6(){return HT}function BD(){var e=Qu(),t=C0(),s=t.identifierPrefix,u;if(li()){var p=a6();u=":"+s+"R"+p;var y=Jv++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=L6++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function r0(){var e=el(),t=e.memoizedState;return t}function U6(e,t,s){typeof arguments[3]=="function"&&v("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=Df(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(VT(e))qT(t,p);else{var y=bT(e,t,p,u);if(y!==null){var w=so();Ba(y,e,u,w),WT(y,t,u)}}GT(e,u)}function H6(e,t,s){typeof arguments[3]=="function"&&v("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=Df(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(VT(e))qT(t,p);else{var y=e.alternate;if(e.lanes===ae&&(y===null||y.lanes===ae)){var w=t.lastRenderedReducer;if(w!==null){var _;_=ut.current,ut.current=Hl;try{var T=t.lastRenderedState,R=w(T,s);if(p.hasEagerState=!0,p.eagerState=R,oe(R,T)){E6(e,t,p,u);return}}catch{}finally{ut.current=_}}}var M=bT(e,t,p,u);if(M!==null){var re=so();Ba(M,e,u,re),WT(M,t,u)}}GT(e,u)}function VT(e){var t=e.alternate;return e===Zn||t!==null&&t===Zn}function qT(e,t){Kv=qk=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function WT(e,t,s){if(iv(s)){var u=t.lanes;u=sv(u,e.pendingLanes);var p=Kt(u,s);t.lanes=p,Rp(e,p)}}function GT(e,t,s){Lc(e,t)}var a0={readContext:ya,useCallback:Mi,useContext:Mi,useEffect:Mi,useImperativeHandle:Mi,useInsertionEffect:Mi,useLayoutEffect:Mi,useMemo:Mi,useReducer:Mi,useRef:Mi,useState:Mi,useDebugValue:Mi,useDeferredValue:Mi,useTransition:Mi,useMutableSource:Mi,useSyncExternalStore:Mi,useId:Mi,unstable_isNewReconciler:de},YT=null,QT=null,XT=null,KT=null,Xu=null,Hl=null,i0=null;{var MD=function(){v("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().")},qt=function(){v("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")};YT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Un(),Ym(t),ND(e,t)},useContext:function(e){return Te="useContext",Un(),ya(e)},useEffect:function(e,t){return Te="useEffect",Un(),Ym(t),Xk(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Un(),Ym(s),PD(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Un(),Ym(t),AD(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Un(),Ym(t),$D(e,t)},useMemo:function(e,t){Te="useMemo",Un(),Ym(t);var s=ut.current;ut.current=Xu;try{return OD(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Un();var u=ut.current;ut.current=Xu;try{return SD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Un(),FD(e)},useState:function(e){Te="useState",Un();var t=ut.current;ut.current=Xu;try{return Gk(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Un(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Un(),RD(e)},useTransition:function(){return Te="useTransition",Un(),LD()},useMutableSource:function(e,t,s){return Te="useMutableSource",Un(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Un(),_D(e,t,s)},useId:function(){return Te="useId",Un(),BD()},unstable_isNewReconciler:de},QT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Ze(),ND(e,t)},useContext:function(e){return Te="useContext",Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",Ze(),Xk(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),PD(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),AD(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),$D(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ut.current;ut.current=Xu;try{return OD(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ut.current;ut.current=Xu;try{return SD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Ze(),FD(e)},useState:function(e){Te="useState",Ze();var t=ut.current;ut.current=Xu;try{return Gk(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),RD(e)},useTransition:function(){return Te="useTransition",Ze(),LD()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),_D(e,t,s)},useId:function(){return Te="useId",Ze(),BD()},unstable_isNewReconciler:de},XT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Ze(),t0(e,t)},useContext:function(e){return Te="useContext",Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ut.current;ut.current=Hl;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ut.current;ut.current=Hl;try{return CD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Ze(),Yk()},useState:function(e){Te="useState",Ze();var t=ut.current;ut.current=Hl;try{return ED(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),MT(e)},useTransition:function(){return Te="useTransition",Ze(),zT()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),Wk(e,t)},useId:function(){return Te="useId",Ze(),r0()},unstable_isNewReconciler:de},KT={readContext:function(e){return ya(e)},useCallback:function(e,t){return Te="useCallback",Ze(),t0(e,t)},useContext:function(e){return Te="useContext",Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ut.current;ut.current=i0;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ut.current;ut.current=i0;try{return xD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",Ze(),Yk()},useState:function(e){Te="useState",Ze();var t=ut.current;ut.current=i0;try{return TD(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),IT(e)},useTransition:function(){return Te="useTransition",Ze(),UT()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),Wk(e,t)},useId:function(){return Te="useId",Ze(),r0()},unstable_isNewReconciler:de},Xu={readContext:function(e){return MD(),ya(e)},useCallback:function(e,t){return Te="useCallback",qt(),Un(),ND(e,t)},useContext:function(e){return Te="useContext",qt(),Un(),ya(e)},useEffect:function(e,t){return Te="useEffect",qt(),Un(),Xk(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",qt(),Un(),PD(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",qt(),Un(),AD(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",qt(),Un(),$D(e,t)},useMemo:function(e,t){Te="useMemo",qt(),Un();var s=ut.current;ut.current=Xu;try{return OD(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",qt(),Un();var u=ut.current;ut.current=Xu;try{return SD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",qt(),Un(),FD(e)},useState:function(e){Te="useState",qt(),Un();var t=ut.current;ut.current=Xu;try{return Gk(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",qt(),Un(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",qt(),Un(),RD(e)},useTransition:function(){return Te="useTransition",qt(),Un(),LD()},useMutableSource:function(e,t,s){return Te="useMutableSource",qt(),Un(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",qt(),Un(),_D(e,t,s)},useId:function(){return Te="useId",qt(),Un(),BD()},unstable_isNewReconciler:de},Hl={readContext:function(e){return MD(),ya(e)},useCallback:function(e,t){return Te="useCallback",qt(),Ze(),t0(e,t)},useContext:function(e){return Te="useContext",qt(),Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",qt(),Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",qt(),Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",qt(),Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",qt(),Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",qt(),Ze();var s=ut.current;ut.current=Hl;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",qt(),Ze();var u=ut.current;ut.current=Hl;try{return CD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",qt(),Ze(),Yk()},useState:function(e){Te="useState",qt(),Ze();var t=ut.current;ut.current=Hl;try{return ED(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",qt(),Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",qt(),Ze(),MT(e)},useTransition:function(){return Te="useTransition",qt(),Ze(),zT()},useMutableSource:function(e,t,s){return Te="useMutableSource",qt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",qt(),Ze(),Wk(e,t)},useId:function(){return Te="useId",qt(),Ze(),r0()},unstable_isNewReconciler:de},i0={readContext:function(e){return MD(),ya(e)},useCallback:function(e,t){return Te="useCallback",qt(),Ze(),t0(e,t)},useContext:function(e){return Te="useContext",qt(),Ze(),ya(e)},useEffect:function(e,t){return Te="useEffect",qt(),Ze(),ty(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",qt(),Ze(),Zk(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",qt(),Ze(),Kk(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",qt(),Ze(),Jk(e,t)},useMemo:function(e,t){Te="useMemo",qt(),Ze();var s=ut.current;ut.current=Hl;try{return n0(e,t)}finally{ut.current=s}},useReducer:function(e,t,s){Te="useReducer",qt(),Ze();var u=ut.current;ut.current=Hl;try{return xD(e,t,s)}finally{ut.current=u}},useRef:function(e){return Te="useRef",qt(),Ze(),Yk()},useState:function(e){Te="useState",qt(),Ze();var t=ut.current;ut.current=Hl;try{return TD(e)}finally{ut.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",qt(),Ze(),e0()},useDeferredValue:function(e){return Te="useDeferredValue",qt(),Ze(),IT(e)},useTransition:function(){return Te="useTransition",qt(),Ze(),UT()},useMutableSource:function(e,t,s){return Te="useMutableSource",qt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",qt(),Ze(),Wk(e,t)},useId:function(){return Te="useId",qt(),Ze(),r0()},unstable_isNewReconciler:de}}var yf=n.unstable_now,JT=0,o0=-1,ny=-1,s0=-1,ID=!1,l0=!1;function ZT(){return ID}function V6(){l0=!0}function q6(){ID=!1,l0=!1}function W6(){ID=l0,l0=!1}function eF(){return JT}function tF(){JT=yf()}function jD(e){ny=yf(),e.actualStartTime<0&&(e.actualStartTime=yf())}function nF(e){ny=-1}function u0(e,t){if(ny>=0){var s=yf()-ny;e.actualDuration+=s,t&&(e.selfBaseDuration=s),ny=-1}}function Ku(e){if(o0>=0){var t=yf()-o0;o0=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u.effectDuration+=t;return;case ne:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function zD(e){if(s0>=0){var t=yf()-s0;s0=-1;for(var s=e.return;s!==null;){switch(s.tag){case N:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case ne:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function Ju(){o0=yf()}function UD(){s0=yf()}function HD(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Vl(e,t){if(e&&e.defaultProps){var s=Xt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var VD={},qD,WD,GD,YD,QD,rF,c0,XD,KD,JD,ry;{qD=new Set,WD=new Set,GD=new Set,YD=new Set,XD=new Set,QD=new Set,KD=new Set,JD=new Set,ry=new Set;var aF=new Set;c0=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;aF.has(s)||(aF.add(s),v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},rF=function(e,t){if(t===void 0){var s=kn(e)||"Component";QD.has(s)||(QD.add(s),v("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(VD,"_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(VD)}function ZD(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&h){Jn(!0);try{y=s(u,p)}finally{Jn(!1)}}rF(t,y)}var w=y==null?p:Xt({},p,y);if(e.memoizedState=w,e.lanes===ae){var _=e.updateQueue;_.baseState=w}}var eS={isMounted:Xh,enqueueSetState:function(e,t,s){var u=Au(e),p=so(),y=Df(u),w=ad(p,y);w.payload=t,s!=null&&(c0(s,"setState"),w.callback=s);var _=hf(u,w,y);_!==null&&(Ba(_,u,y,p),Ik(_,u,y)),Lc(u,y)},enqueueReplaceState:function(e,t,s){var u=Au(e),p=so(),y=Df(u),w=ad(p,y);w.tag=wT,w.payload=t,s!=null&&(c0(s,"replaceState"),w.callback=s);var _=hf(u,w,y);_!==null&&(Ba(_,u,y,p),Ik(_,u,y)),Lc(u,y)},enqueueForceUpdate:function(e,t){var s=Au(e),u=so(),p=Df(s),y=ad(u,p);y.tag=Lk,t!=null&&(c0(t,"forceUpdate"),y.callback=t);var w=hf(s,y,p);w!==null&&(Ba(w,s,p,u),Ik(w,s,p)),Xd(s,p)}};function iF(e,t,s,u,p,y,w){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var T=_.shouldComponentUpdate(u,y,w);{if(e.mode&h){Jn(!0);try{T=_.shouldComponentUpdate(u,y,w)}finally{Jn(!1)}}T===void 0&&v("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kn(t)||"Component")}return T}return t.prototype&&t.prototype.isPureReactComponent?!We(s,u)||!We(p,y):!0}function G6(e,t,s){var u=e.stateNode;{var p=kn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?v("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):v("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&v("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?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&v("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.",p),u.propTypes&&v("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&v("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!ry.has(t)&&(e.mode&h)===xt&&(ry.add(t),v(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
246
246
|
|
|
247
247
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),t.contextTypes&&!ry.has(t)&&(e.mode&h)===xt&&(ry.add(t),v(`%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.
|
|
248
248
|
|
|
@@ -258,9 +258,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`,nt,St,pe!==null?`
|
|
|
258
258
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var M=Mt(e)||"Anonymous";R="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+M+".")}var re=T+`
|
|
259
259
|
`+w+`
|
|
260
260
|
|
|
261
|
-
`+(""+R);console.error(re)}catch(Z){setTimeout(function(){throw Z})}}var J6=typeof WeakMap=="function"?WeakMap:Map;function uF(e,t,s){var u=ad(sr,s);u.tag=lD,u.payload={element:null};var p=t.value;return u.callback=function(){V9(p),rS(e,t)},u}function aS(e,t,s){var u=ad(sr,s);u.tag=lD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){kA(e),rS(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){kA(e),rS(e,t),typeof p!="function"&&U9(this);var _=t.value,T=t.stack;this.componentDidCatch(_,{componentStack:T!==null?T:""}),typeof p!="function"&&(Pi(e.lanes,Ee)||v("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Mt(e)||"Unknown"))}),u}function cF(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new J6,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=q9.bind(null,e,t,s);Ga&&by(e,s),t.then(y,y)}}function Z6(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function e5(e,t){var s=e.tag;if((e.mode&nn)===xt&&(s===x||s===Y||s===se)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function dF(e){var t=e;do{if(t.tag===U&&O6(t))return t;t=t.return}while(t!==null);return null}function fF(e,t,s,u,p){if((e.mode&nn)===xt){if(e===t)e.flags|=Va;else{if(e.flags|=yt,s.flags|=rs,s.flags&=-52805,s.tag===E){var y=s.alternate;if(y===null)s.tag=ke;else{var w=ad(sr,Ee);w.tag=Lk,hf(s,w,Ee)}}s.lanes=Kt(s.lanes,Ee)}return e}return e.flags|=Va,e.lanes=p,e}function t5(e,t,s,u,p){if(s.flags|=Ac,Ga&&by(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;e5(s),li()&&s.mode&nn&&rT();var w=dF(t);if(w!==null){w.flags&=-257,fF(w,t,s,e,p),w.mode&nn&&cF(e,y,p),Z6(w,e,y);return}else{if(!Sb(p)){cF(e,y,p),BS();return}var _=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=_}}else if(li()&&s.mode&nn){rT();var T=dF(t);if(T!==null){(T.flags&Va)===Ct&&(T.flags|=ha),fF(T,t,s,e,p),X2(ah(u,s));return}}u=ah(u,s),O9(u);var R=t;do{switch(R.tag){case N:{var M=u;R.flags|=Va;var re=Np(p);R.lanes=Kt(R.lanes,re);var Z=uF(R,M,re);dD(R,Z);return}case E:var pe=u,ve=R.type,xe=R.stateNode;if((R.flags&yt)===Ct&&(typeof ve.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!dA(xe))){R.flags|=Va;var nt=Np(p);R.lanes=Kt(R.lanes,nt);var St=aS(R,pe,nt);dD(R,St);return}break}R=R.return}while(R!==null)}function n5(){return null}var ay=i.ReactCurrentOwner,ql=!1,iS,iy,oS,sS,lS,ih,uS,d0,oy;iS={},iy={},oS={},sS={},lS={},ih=!1,uS={},d0={},oy={};function io(e,t,s,u){e===null?t.child=mT(t,null,s,u):t.child=zm(t,e.child,s,u)}function r5(e,t,s,u){t.child=zm(t,e.child,null,u),t.child=zm(t,null,s,u)}function pF(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Il(y,u,"prop",kn(s))}var w=s.render,_=t.ref,T,R;Hm(t,p),Ya(t);{if(ay.current=t,xr(!0),T=Qm(e,t,w,u,_,p),R=Xm(),t.mode&h){Jn(!0);try{T=Qm(e,t,w,u,_,p),R=Xm()}finally{Jn(!1)}}xr(!1)}return oi(),e!==null&&!ql?(FT(e,t,p),id(e,t,p)):(li()&&R&&V2(t),t.flags|=_i,io(e,t,T,p),t.child)}function hF(e,t,s,u,p){if(e===null){var y=s.type;if(l7(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=ag(y),t.tag=se,t.type=w,fS(t,y),mF(e,t,w,u,p)}{var _=y.propTypes;if(_&&Il(_,u,"prop",kn(y)),s.defaultProps!==void 0){var T=kn(y)||"Unknown";oy[T]||(v("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",T),oy[T]=!0)}}var R=YS(s.type,null,u,t,t.mode,p);return R.ref=t.ref,R.return=t,t.child=R,R}{var M=s.type,re=M.propTypes;re&&Il(re,u,"prop",kn(M))}var Z=e.child,pe=yS(e,p);if(!pe){var ve=Z.memoizedProps,xe=s.compare;if(xe=xe!==null?xe:We,xe(ve,u)&&e.ref===t.ref)return id(e,t,p)}t.flags|=_i;var nt=ch(Z,u);return nt.ref=t.ref,nt.return=t,t.child=nt,nt}function mF(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===jt){var w=y,_=w._payload,T=w._init;try{y=T(_)}catch{y=null}var R=y&&y.propTypes;R&&Il(R,u,"prop",kn(y))}}if(e!==null){var M=e.memoizedProps;if(We(M,u)&&e.ref===t.ref&&t.type===e.type)if(ql=!1,t.pendingProps=u=M,yS(e,p))(e.flags&rs)!==Ct&&(ql=!0);else return t.lanes=e.lanes,id(e,t,p)}return cS(e,t,s,u,p)}function gF(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||_e)if((t.mode&nn)===xt){var w={baseLanes:ae,cachePool:null,transitions:null};t.memoizedState=w,x0(t,s)}else if(Pi(s,no)){var _={baseLanes:ae,cachePool:null,transitions:null};t.memoizedState=_;var T=y!==null?y.baseLanes:s;x0(t,T)}else{var R=null,M;if(y!==null){var re=y.baseLanes;M=Kt(re,s)}else M=s;t.lanes=t.childLanes=no;var Z={baseLanes:M,cachePool:R,transitions:null};return t.memoizedState=Z,t.updateQueue=null,x0(t,M),null}else{var pe;y!==null?(pe=Kt(y.baseLanes,s),t.memoizedState=null):pe=s,x0(t,pe)}return io(e,t,p,s),t.child}function a5(e,t,s){var u=t.pendingProps;return io(e,t,u,s),t.child}function i5(e,t,s){var u=t.pendingProps.children;return io(e,t,u,s),t.child}function o5(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return io(e,t,y,s),t.child}function vF(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Vn,t.flags|=xl)}function cS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Il(y,u,"prop",kn(s))}var w;{var _=Lm(t,s,!0);w=Bm(t,_)}var T,R;Hm(t,p),Ya(t);{if(ay.current=t,xr(!0),T=Qm(e,t,s,u,w,p),R=Xm(),t.mode&h){Jn(!0);try{T=Qm(e,t,s,u,w,p),R=Xm()}finally{Jn(!1)}}xr(!1)}return oi(),e!==null&&!ql?(FT(e,t,p),id(e,t,p)):(li()&&R&&V2(t),t.flags|=_i,io(e,t,T,p),t.child)}function yF(e,t,s,u,p){{switch(S7(t)){case!1:{var y=t.stateNode,w=t.type,_=new w(t.memoizedProps,y.context),T=_.state;y.updater.enqueueSetState(y,T,null);break}case!0:{t.flags|=yt,t.flags|=Va;var R=new Error("Simulated error coming from DevTools"),M=Np(p);t.lanes=Kt(t.lanes,M);var re=aS(t,ah(R,t),M);dD(t,re);break}}if(t.type!==t.elementType){var Z=s.propTypes;Z&&Il(Z,u,"prop",kn(s))}}var pe;Gu(s)?(pe=!0,Sk(t)):pe=!1,Hm(t,p);var ve=t.stateNode,xe;ve===null?(p0(e,t),sF(t,s,u),tS(t,s,u,p),xe=!0):e===null?xe=Q6(t,s,u,p):xe=X6(e,t,s,u,p);var nt=dS(e,t,s,xe,pe,p);{var St=t.stateNode;xe&&St.props!==u&&(ih||v("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Mt(t)||"a component"),ih=!0)}return nt}function dS(e,t,s,u,p,y){vF(e,t);var w=(t.flags&yt)!==Ct;if(!u&&!w)return p&&ZE(t,s,!1),id(e,t,y);var _=t.stateNode;ay.current=t;var T;if(w&&typeof s.getDerivedStateFromError!="function")T=null,nF();else{Ya(t);{if(xr(!0),T=_.render(),t.mode&h){Jn(!0);try{_.render()}finally{Jn(!1)}}xr(!1)}oi()}return t.flags|=_i,e!==null&&w?r5(e,t,T,y):io(e,t,T,y),t.memoizedState=_.state,p&&ZE(t,s,!0),t.child}function bF(e){var t=e.stateNode;t.pendingContext?KE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KE(e,t.context,!1),fD(e,t.containerInfo)}function s5(e,t,s){if(bF(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;DT(e,t),jk(t,u,null,s);var w=t.memoizedState;t.stateNode;var _=w.element;if(p.isDehydrated){var T={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},R=t.updateQueue;if(R.baseState=T,t.memoizedState=T,t.flags&ha){var M=ah(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 kF(e,t,_,s,M)}else if(_!==y){var re=ah(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return kF(e,t,_,s,re)}else{c6(t);var Z=mT(t,null,_,s);t.child=Z;for(var pe=Z;pe;)pe.flags=pe.flags&-3|Ti,pe=pe.sibling}}else{if(jm(),_===y)return id(e,t,s);io(e,t,_,s)}return t.child}function kF(e,t,s,u,p){return jm(),X2(p),t.flags|=ha,io(e,t,s,u),t.child}function l5(e,t,s){_T(t),e===null&&Q2(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,_=A2(u,p);return _?w=null:y!==null&&A2(u,y)&&(t.flags|=Pt),vF(e,t),io(e,t,w,s),t.child}function u5(e,t){return e===null&&Q2(t),null}function c5(e,t,s,u){p0(e,t);var p=t.pendingProps,y=s,w=y._payload,_=y._init,T=_(w);t.type=T;var R=t.tag=u7(T),M=Vl(T,p),re;switch(R){case x:return fS(t,T),t.type=T=ag(T),re=cS(null,t,T,M,u),re;case E:return t.type=T=US(T),re=yF(null,t,T,M,u),re;case Y:return t.type=T=HS(T),re=pF(null,t,T,M,u),re;case ie:{if(t.type!==t.elementType){var Z=T.propTypes;Z&&Il(Z,M,"prop",kn(T))}return re=hF(null,t,T,Vl(T.type,M),u),re}}var pe="";throw T!==null&&typeof T=="object"&&T.$$typeof===jt&&(pe=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+T+". "+("Lazy element type must resolve to a class or function."+pe))}function d5(e,t,s,u,p){p0(e,t),t.tag=E;var y;return Gu(s)?(y=!0,Sk(t)):y=!1,Hm(t,p),sF(t,s,u),tS(t,s,u,p),dS(null,t,s,!0,y,p)}function f5(e,t,s,u){p0(e,t);var p=t.pendingProps,y;{var w=Lm(t,s,!1);y=Bm(t,w)}Hm(t,u);var _,T;Ya(t);{if(s.prototype&&typeof s.prototype.render=="function"){var R=kn(s)||"Unknown";iS[R]||(v("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.",R,R),iS[R]=!0)}t.mode&h&&zl.recordLegacyContextWarning(t,null),xr(!0),ay.current=t,_=Qm(null,t,s,p,y,u),T=Xm(),xr(!1)}if(oi(),t.flags|=_i,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var M=kn(s)||"Unknown";iy[M]||(v("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.",M,M,M),iy[M]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var re=kn(s)||"Unknown";iy[re]||(v("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.",re,re,re),iy[re]=!0)}t.tag=E,t.memoizedState=null,t.updateQueue=null;var Z=!1;return Gu(s)?(Z=!0,Sk(t)):Z=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,cD(t),oF(t,_),tS(t,s,p,u),dS(null,t,s,!0,Z,u)}else{if(t.tag=x,t.mode&h){Jn(!0);try{_=Qm(null,t,s,p,y,u),T=Xm()}finally{Jn(!1)}}return li()&&T&&V2(t),io(null,t,_,u),fS(t,s),t.child}}function fS(e,t){{if(t&&t.childContextTypes&&v("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=fa();u&&(s+=`
|
|
261
|
+
`+(""+R);console.error(re)}catch(Z){setTimeout(function(){throw Z})}}var J6=typeof WeakMap=="function"?WeakMap:Map;function uF(e,t,s){var u=ad(sr,s);u.tag=lD,u.payload={element:null};var p=t.value;return u.callback=function(){V9(p),rS(e,t)},u}function aS(e,t,s){var u=ad(sr,s);u.tag=lD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){kA(e),rS(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){kA(e),rS(e,t),typeof p!="function"&&U9(this);var _=t.value,T=t.stack;this.componentDidCatch(_,{componentStack:T!==null?T:""}),typeof p!="function"&&(Pi(e.lanes,Ee)||v("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Mt(e)||"Unknown"))}),u}function cF(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new J6,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=q9.bind(null,e,t,s);Ga&&by(e,s),t.then(y,y)}}function Z6(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function e5(e,t){var s=e.tag;if((e.mode&nn)===xt&&(s===x||s===Y||s===se)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function dF(e){var t=e;do{if(t.tag===U&&O6(t))return t;t=t.return}while(t!==null);return null}function fF(e,t,s,u,p){if((e.mode&nn)===xt){if(e===t)e.flags|=Va;else{if(e.flags|=yt,s.flags|=rs,s.flags&=-52805,s.tag===E){var y=s.alternate;if(y===null)s.tag=ke;else{var w=ad(sr,Ee);w.tag=Lk,hf(s,w,Ee)}}s.lanes=Kt(s.lanes,Ee)}return e}return e.flags|=Va,e.lanes=p,e}function t5(e,t,s,u,p){if(s.flags|=Ac,Ga&&by(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;e5(s),li()&&s.mode&nn&&rT();var w=dF(t);if(w!==null){w.flags&=-257,fF(w,t,s,e,p),w.mode&nn&&cF(e,y,p),Z6(w,e,y);return}else{if(!Sb(p)){cF(e,y,p),BS();return}var _=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=_}}else if(li()&&s.mode&nn){rT();var T=dF(t);if(T!==null){(T.flags&Va)===Ct&&(T.flags|=ha),fF(T,t,s,e,p),X2(ah(u,s));return}}u=ah(u,s),O9(u);var R=t;do{switch(R.tag){case N:{var M=u;R.flags|=Va;var re=Np(p);R.lanes=Kt(R.lanes,re);var Z=uF(R,M,re);dD(R,Z);return}case E:var pe=u,ve=R.type,xe=R.stateNode;if((R.flags&yt)===Ct&&(typeof ve.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&!dA(xe))){R.flags|=Va;var nt=Np(p);R.lanes=Kt(R.lanes,nt);var St=aS(R,pe,nt);dD(R,St);return}break}R=R.return}while(R!==null)}function n5(){return null}var ay=i.ReactCurrentOwner,ql=!1,iS,iy,oS,sS,lS,ih,uS,d0,oy;iS={},iy={},oS={},sS={},lS={},ih=!1,uS={},d0={},oy={};function io(e,t,s,u){e===null?t.child=mT(t,null,s,u):t.child=zm(t,e.child,s,u)}function r5(e,t,s,u){t.child=zm(t,e.child,null,u),t.child=zm(t,null,s,u)}function pF(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Il(y,u,"prop",kn(s))}var w=s.render,_=t.ref,T,R;Hm(t,p),Ya(t);{if(ay.current=t,xr(!0),T=Qm(e,t,w,u,_,p),R=Xm(),t.mode&h){Jn(!0);try{T=Qm(e,t,w,u,_,p),R=Xm()}finally{Jn(!1)}}xr(!1)}return oi(),e!==null&&!ql?(FT(e,t,p),id(e,t,p)):(li()&&R&&V2(t),t.flags|=_i,io(e,t,T,p),t.child)}function hF(e,t,s,u,p){if(e===null){var y=s.type;if(lz(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=ag(y),t.tag=se,t.type=w,fS(t,y),mF(e,t,w,u,p)}{var _=y.propTypes;if(_&&Il(_,u,"prop",kn(y)),s.defaultProps!==void 0){var T=kn(y)||"Unknown";oy[T]||(v("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",T),oy[T]=!0)}}var R=YS(s.type,null,u,t,t.mode,p);return R.ref=t.ref,R.return=t,t.child=R,R}{var M=s.type,re=M.propTypes;re&&Il(re,u,"prop",kn(M))}var Z=e.child,pe=yS(e,p);if(!pe){var ve=Z.memoizedProps,xe=s.compare;if(xe=xe!==null?xe:We,xe(ve,u)&&e.ref===t.ref)return id(e,t,p)}t.flags|=_i;var nt=ch(Z,u);return nt.ref=t.ref,nt.return=t,t.child=nt,nt}function mF(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===jt){var w=y,_=w._payload,T=w._init;try{y=T(_)}catch{y=null}var R=y&&y.propTypes;R&&Il(R,u,"prop",kn(y))}}if(e!==null){var M=e.memoizedProps;if(We(M,u)&&e.ref===t.ref&&t.type===e.type)if(ql=!1,t.pendingProps=u=M,yS(e,p))(e.flags&rs)!==Ct&&(ql=!0);else return t.lanes=e.lanes,id(e,t,p)}return cS(e,t,s,u,p)}function gF(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||_e)if((t.mode&nn)===xt){var w={baseLanes:ae,cachePool:null,transitions:null};t.memoizedState=w,x0(t,s)}else if(Pi(s,no)){var _={baseLanes:ae,cachePool:null,transitions:null};t.memoizedState=_;var T=y!==null?y.baseLanes:s;x0(t,T)}else{var R=null,M;if(y!==null){var re=y.baseLanes;M=Kt(re,s)}else M=s;t.lanes=t.childLanes=no;var Z={baseLanes:M,cachePool:R,transitions:null};return t.memoizedState=Z,t.updateQueue=null,x0(t,M),null}else{var pe;y!==null?(pe=Kt(y.baseLanes,s),t.memoizedState=null):pe=s,x0(t,pe)}return io(e,t,p,s),t.child}function a5(e,t,s){var u=t.pendingProps;return io(e,t,u,s),t.child}function i5(e,t,s){var u=t.pendingProps.children;return io(e,t,u,s),t.child}function o5(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return io(e,t,y,s),t.child}function vF(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Vn,t.flags|=xl)}function cS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Il(y,u,"prop",kn(s))}var w;{var _=Lm(t,s,!0);w=Bm(t,_)}var T,R;Hm(t,p),Ya(t);{if(ay.current=t,xr(!0),T=Qm(e,t,s,u,w,p),R=Xm(),t.mode&h){Jn(!0);try{T=Qm(e,t,s,u,w,p),R=Xm()}finally{Jn(!1)}}xr(!1)}return oi(),e!==null&&!ql?(FT(e,t,p),id(e,t,p)):(li()&&R&&V2(t),t.flags|=_i,io(e,t,T,p),t.child)}function yF(e,t,s,u,p){{switch(Sz(t)){case!1:{var y=t.stateNode,w=t.type,_=new w(t.memoizedProps,y.context),T=_.state;y.updater.enqueueSetState(y,T,null);break}case!0:{t.flags|=yt,t.flags|=Va;var R=new Error("Simulated error coming from DevTools"),M=Np(p);t.lanes=Kt(t.lanes,M);var re=aS(t,ah(R,t),M);dD(t,re);break}}if(t.type!==t.elementType){var Z=s.propTypes;Z&&Il(Z,u,"prop",kn(s))}}var pe;Gu(s)?(pe=!0,Sk(t)):pe=!1,Hm(t,p);var ve=t.stateNode,xe;ve===null?(p0(e,t),sF(t,s,u),tS(t,s,u,p),xe=!0):e===null?xe=Q6(t,s,u,p):xe=X6(e,t,s,u,p);var nt=dS(e,t,s,xe,pe,p);{var St=t.stateNode;xe&&St.props!==u&&(ih||v("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Mt(t)||"a component"),ih=!0)}return nt}function dS(e,t,s,u,p,y){vF(e,t);var w=(t.flags&yt)!==Ct;if(!u&&!w)return p&&ZE(t,s,!1),id(e,t,y);var _=t.stateNode;ay.current=t;var T;if(w&&typeof s.getDerivedStateFromError!="function")T=null,nF();else{Ya(t);{if(xr(!0),T=_.render(),t.mode&h){Jn(!0);try{_.render()}finally{Jn(!1)}}xr(!1)}oi()}return t.flags|=_i,e!==null&&w?r5(e,t,T,y):io(e,t,T,y),t.memoizedState=_.state,p&&ZE(t,s,!0),t.child}function bF(e){var t=e.stateNode;t.pendingContext?KE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KE(e,t.context,!1),fD(e,t.containerInfo)}function s5(e,t,s){if(bF(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;DT(e,t),jk(t,u,null,s);var w=t.memoizedState;t.stateNode;var _=w.element;if(p.isDehydrated){var T={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},R=t.updateQueue;if(R.baseState=T,t.memoizedState=T,t.flags&ha){var M=ah(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 kF(e,t,_,s,M)}else if(_!==y){var re=ah(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return kF(e,t,_,s,re)}else{c6(t);var Z=mT(t,null,_,s);t.child=Z;for(var pe=Z;pe;)pe.flags=pe.flags&-3|Ti,pe=pe.sibling}}else{if(jm(),_===y)return id(e,t,s);io(e,t,_,s)}return t.child}function kF(e,t,s,u,p){return jm(),X2(p),t.flags|=ha,io(e,t,s,u),t.child}function l5(e,t,s){_T(t),e===null&&Q2(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,_=A2(u,p);return _?w=null:y!==null&&A2(u,y)&&(t.flags|=Pt),vF(e,t),io(e,t,w,s),t.child}function u5(e,t){return e===null&&Q2(t),null}function c5(e,t,s,u){p0(e,t);var p=t.pendingProps,y=s,w=y._payload,_=y._init,T=_(w);t.type=T;var R=t.tag=uz(T),M=Vl(T,p),re;switch(R){case x:return fS(t,T),t.type=T=ag(T),re=cS(null,t,T,M,u),re;case E:return t.type=T=US(T),re=yF(null,t,T,M,u),re;case Y:return t.type=T=HS(T),re=pF(null,t,T,M,u),re;case ie:{if(t.type!==t.elementType){var Z=T.propTypes;Z&&Il(Z,M,"prop",kn(T))}return re=hF(null,t,T,Vl(T.type,M),u),re}}var pe="";throw T!==null&&typeof T=="object"&&T.$$typeof===jt&&(pe=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+T+". "+("Lazy element type must resolve to a class or function."+pe))}function d5(e,t,s,u,p){p0(e,t),t.tag=E;var y;return Gu(s)?(y=!0,Sk(t)):y=!1,Hm(t,p),sF(t,s,u),tS(t,s,u,p),dS(null,t,s,!0,y,p)}function f5(e,t,s,u){p0(e,t);var p=t.pendingProps,y;{var w=Lm(t,s,!1);y=Bm(t,w)}Hm(t,u);var _,T;Ya(t);{if(s.prototype&&typeof s.prototype.render=="function"){var R=kn(s)||"Unknown";iS[R]||(v("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.",R,R),iS[R]=!0)}t.mode&h&&zl.recordLegacyContextWarning(t,null),xr(!0),ay.current=t,_=Qm(null,t,s,p,y,u),T=Xm(),xr(!1)}if(oi(),t.flags|=_i,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var M=kn(s)||"Unknown";iy[M]||(v("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.",M,M,M),iy[M]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var re=kn(s)||"Unknown";iy[re]||(v("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.",re,re,re),iy[re]=!0)}t.tag=E,t.memoizedState=null,t.updateQueue=null;var Z=!1;return Gu(s)?(Z=!0,Sk(t)):Z=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,cD(t),oF(t,_),tS(t,s,p,u),dS(null,t,s,!0,Z,u)}else{if(t.tag=x,t.mode&h){Jn(!0);try{_=Qm(null,t,s,p,y,u),T=Xm()}finally{Jn(!1)}}return li()&&T&&V2(t),io(null,t,_,u),fS(t,s),t.child}}function fS(e,t){{if(t&&t.childContextTypes&&v("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=fa();u&&(s+=`
|
|
262
262
|
|
|
263
|
-
Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),lS[p]||(lS[p]=!0,v("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=kn(t)||"Unknown";oy[w]||(v("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),oy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var _=kn(t)||"Unknown";sS[_]||(v("%s: Function components do not support getDerivedStateFromProps.",_),sS[_]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var T=kn(t)||"Unknown";oS[T]||(v("%s: Function components do not support contextType.",T),oS[T]=!0)}}}var pS={dehydrated:null,treeContext:null,retryLane:qe};function hS(e){return{baseLanes:e,cachePool:n5(),transitions:null}}function p5(e,t){var s=null;return{baseLanes:Kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function h5(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return mD(e,Qv)}function m5(e,t){return Op(e.childLanes,t)}function wF(e,t,s){var u=t.pendingProps;C7(t)&&(t.flags|=yt);var p=Ul.current,y=!1,w=(t.flags&yt)!==Ct;if(w||h5(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=N6(p,TT)),p=qm(p),gf(t,p),e===null){Q2(t);var _=t.memoizedState;if(_!==null){var T=_.dehydrated;if(T!==null)return k5(t,T)}var R=u.children,M=u.fallback;if(y){var re=g5(t,R,M,s),Z=t.child;return Z.memoizedState=hS(s),t.memoizedState=pS,re}else return mS(t,R)}else{var pe=e.memoizedState;if(pe!==null){var ve=pe.dehydrated;if(ve!==null)return w5(e,t,w,u,ve,pe,s)}if(y){var xe=u.fallback,nt=u.children,St=y5(e,t,nt,xe,s),Ot=t.child,dn=e.child.memoizedState;return Ot.memoizedState=dn===null?hS(s):p5(dn,s),Ot.childLanes=m5(e,s),t.memoizedState=pS,St}else{var on=u.children,ue=v5(e,t,on,s);return t.memoizedState=null,ue}}}function mS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=gS(p,u);return y.return=e,e.child=y,y}function g5(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},_,T;return(p&nn)===xt&&y!==null?(_=y,_.childLanes=ae,_.pendingProps=w,e.mode&f&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),T=Cf(s,p,u,null)):(_=gS(w,p),T=Cf(s,p,u,null)),_.return=e,T.return=e,_.sibling=T,e.child=_,T}function gS(e,t,s){return wA(e,t,ae,null)}function DF(e,t){return ch(e,t)}function v5(e,t,s,u){var p=e.child,y=p.sibling,w=DF(p,{mode:"visible",children:s});if((t.mode&nn)===xt&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var _=t.deletions;_===null?(t.deletions=[y],t.flags|=Ei):_.push(y)}return t.child=w,w}function y5(e,t,s,u,p){var y=t.mode,w=e.child,_=w.sibling,T={mode:"hidden",children:s},R;if((y&nn)===xt&&t.child!==w){var M=t.child;R=M,R.childLanes=ae,R.pendingProps=T,t.mode&f&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=w.selfBaseDuration,R.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else R=DF(w,T),R.subtreeFlags=w.subtreeFlags≀var re;return _!==null?re=ch(_,u):(re=Cf(u,y,p,null),re.flags|=Er),re.return=t,R.return=t,R.sibling=re,t.child=R,re}function f0(e,t,s,u){u!==null&&X2(u),zm(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=mS(t,y);return w.flags|=Er,t.memoizedState=null,w}function b5(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},_=gS(w,y),T=Cf(u,y,p,null);return T.flags|=Er,_.return=t,T.return=t,_.sibling=T,t.child=_,(t.mode&nn)!==xt&&zm(t,e.child,null,p),T}function k5(e,t,s){return(e.mode&nn)===xt?(v("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=Ee):O2(t)?e.lanes=Ft:e.lanes=no,null}function w5(e,t,s,u,p,y,w){if(s)if(t.flags&ha){t.flags&=-257;var _=nS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return f0(e,t,w,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var T=u.children,R=u.fallback,M=b5(e,t,T,R,w),re=t.child;return re.memoizedState=hS(w),t.memoizedState=pS,M}else{if(l6(),(t.mode&nn)===xt)return f0(e,t,w,null);if(O2(p)){var Z,pe,ve;{var xe=x8(p);Z=xe.digest,pe=xe.message,ve=xe.stack}var nt;pe?nt=new Error(pe):nt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=nS(nt,Z,ve);return f0(e,t,w,St)}var Ot=Pi(w,e.childLanes);if(ql||Ot){var dn=C0();if(dn!==null){var on=Eb(dn,w);if(on!==qe&&on!==y.retryLane){y.retryLane=on;var ue=sr;Bo(e,on),Ba(dn,e,on,ue)}}BS();var Se=nS(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 f0(e,t,w,Se)}else if(qE(p)){t.flags|=yt,t.child=e.child;var ce=W9.bind(null,e);return _8(p,ce),null}else{d6(t,p,y.treeContext);var He=u.children,ct=mS(t,He);return ct.flags|=Ti,ct}}}function SF(e,t,s){e.lanes=Kt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Kt(u.lanes,t)),oD(e.return,t,s)}function D5(e,t,s){for(var u=t;u!==null;){if(u.tag===U){var p=u.memoizedState;p!==null&&SF(u,s,e)}else if(u.tag===Ye)SF(u,s,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 S5(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&Vk(u)===null&&(s=t),t=t.sibling}return s}function C5(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!uS[e])if(uS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{v('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{v('"%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:v('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else v('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function x5(e,t){e!==void 0&&!d0[e]&&(e!=="collapsed"&&e!=="hidden"?(d0[e]=!0,v('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(d0[e]=!0,v('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function CF(e,t){{var s=Gt(e),u=!s&&typeof Et(e)=="function";if(s||u){var p=s?"array":"iterable";return v("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>",p,t,p),!1}}return!0}function _5(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Gt(e)){for(var s=0;s<e.length;s++)if(!CF(e[s],s))return}else{var u=Et(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!CF(y.value,w))return;w++}}else v('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 vS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function xF(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;C5(p),x5(y,p),_5(w,p),io(e,t,w,s);var _=Ul.current,T=mD(_,Qv);if(T)_=gD(_,Qv),t.flags|=yt;else{var R=e!==null&&(e.flags&yt)!==Ct;R&&D5(t,t.child,s),_=qm(_)}if(gf(t,_),(t.mode&nn)===xt)t.memoizedState=null;else switch(p){case"forwards":{var M=S5(t.child),re;M===null?(re=t.child,t.child=null):(re=M.sibling,M.sibling=null),vS(t,!1,re,M,y);break}case"backwards":{var Z=null,pe=t.child;for(t.child=null;pe!==null;){var ve=pe.alternate;if(ve!==null&&Vk(ve)===null){t.child=pe;break}var xe=pe.sibling;pe.sibling=Z,Z=pe,pe=xe}vS(t,!0,Z,null,y);break}case"together":{vS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function E5(e,t,s){fD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=zm(t,null,u,s):io(e,t,u,s),t.child}var _F=!1;function T5(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,_=y.value;{"value"in y||_F||(_F=!0,v("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var T=t.type.propTypes;T&&Il(T,y,"prop","Context.Provider")}if(yT(t,p,_),w!==null){var R=w.value;if(oe(R,_)){if(w.children===y.children&&!wk())return id(e,t,s)}else C6(t,p,s)}var M=y.children;return io(e,t,M,s),t.child}var EF=!1;function F5(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(EF||(EF=!0,v("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 p=t.pendingProps,y=p.children;typeof y!="function"&&v("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."),Hm(t,s);var w=ya(u);Ya(t);var _;return ay.current=t,xr(!0),_=y(w),xr(!1),oi(),t.flags|=_i,io(e,t,_,s),t.child}function sy(){ql=!0}function p0(e,t){(t.mode&nn)===xt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Er)}function id(e,t,s){return e!==null&&(t.dependencies=e.dependencies),nF(),yy(t.lanes),Pi(s,t.childLanes)?(D6(e,t),t.child):null}function A5(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Ei):y.push(e),s.flags|=Er,s}}function yS(e,t){var s=e.lanes;return!!Pi(s,t)}function $5(e,t,s){switch(t.tag){case N:bF(t),t.stateNode,jm();break;case B:_T(t);break;case E:{var u=t.type;Gu(u)&&Sk(t);break}case O:fD(t,t.stateNode.containerInfo);break;case K:{var p=t.memoizedProps.value,y=t.type._context;yT(t,y,p);break}case ne:{var w=Pi(s,t.childLanes);w&&(t.flags|=mn);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case U:{var T=t.memoizedState;if(T!==null){if(T.dehydrated!==null)return gf(t,qm(Ul.current)),t.flags|=yt,null;var R=t.child,M=R.childLanes;if(Pi(s,M))return wF(e,t,s);gf(t,qm(Ul.current));var re=id(e,t,s);return re!==null?re.sibling:null}else gf(t,qm(Ul.current));break}case Ye:{var Z=(e.flags&yt)!==Ct,pe=Pi(s,t.childLanes);if(Z){if(pe)return xF(e,t,s);t.flags|=yt}var ve=t.memoizedState;if(ve!==null&&(ve.rendering=null,ve.tail=null,ve.lastEffect=null),gf(t,Ul.current),pe)break;return null}case Ue:case Ne:return t.lanes=ae,gF(e,t,s)}return id(e,t,s)}function TF(e,t,s){if(t._debugNeedsRemount&&e!==null)return A5(e,t,YS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||wk()||t.type!==e.type)ql=!0;else{var y=yS(e,s);if(!y&&(t.flags&yt)===Ct)return ql=!1,$5(e,t,s);(e.flags&rs)!==Ct?ql=!0:ql=!1}}else if(ql=!1,li()&&n6(t)){var w=t.index,_=r6();nT(t,_,w)}switch(t.lanes=ae,t.tag){case A:return f5(e,t,t.type,s);case Ce:{var T=t.elementType;return c5(e,t,T,s)}case x:{var R=t.type,M=t.pendingProps,re=t.elementType===R?M:Vl(R,M);return cS(e,t,R,re,s)}case E:{var Z=t.type,pe=t.pendingProps,ve=t.elementType===Z?pe:Vl(Z,pe);return yF(e,t,Z,ve,s)}case N:return s5(e,t,s);case B:return l5(e,t,s);case j:return u5(e,t);case U:return wF(e,t,s);case O:return E5(e,t,s);case Y:{var xe=t.type,nt=t.pendingProps,St=t.elementType===xe?nt:Vl(xe,nt);return pF(e,t,xe,St,s)}case G:return a5(e,t,s);case V:return i5(e,t,s);case ne:return o5(e,t,s);case K:return T5(e,t,s);case ye:return F5(e,t,s);case ie:{var Ot=t.type,dn=t.pendingProps,on=Vl(Ot,dn);if(t.type!==t.elementType){var ue=Ot.propTypes;ue&&Il(ue,on,"prop",kn(Ot))}return on=Vl(Ot.type,on),hF(e,t,Ot,on,s)}case se:return mF(e,t,t.type,t.pendingProps,s);case ke:{var Se=t.type,ce=t.pendingProps,He=t.elementType===Se?ce:Vl(Se,ce);return d5(e,t,Se,He,s)}case Ye:return xF(e,t,s);case Ge:break;case Ue:return gF(e,t,s)}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 Km(e){e.flags|=mn}function FF(e){e.flags|=Vn,e.flags|=xl}var AF,bS,$F,PF;AF=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===B||p.tag===j)Z4(e,p.stateNode);else if(p.tag!==O&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},bS=function(e,t){},$F=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,_=pD(),T=t8(w,s,y,u,p,_);t.updateQueue=T,T&&Km(t)}},PF=function(e,t,s,u){s!==u&&Km(t)};function ly(e,t){if(!li())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function ci(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=ae,u=Ct;if(t){if((e.mode&f)!==xt){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Kt(s,Kt(y.lanes,y.childLanes)),u|=y.subtreeFlags&wr,u|=y.flags&wr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Kt(s,Kt(w.lanes,w.childLanes)),u|=w.subtreeFlags&wr,u|=w.flags&wr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&f)!==xt){for(var _=e.actualDuration,T=e.selfBaseDuration,R=e.child;R!==null;)s=Kt(s,Kt(R.lanes,R.childLanes)),u|=R.subtreeFlags,u|=R.flags,_+=R.actualDuration,T+=R.treeBaseDuration,R=R.sibling;e.actualDuration=_,e.treeBaseDuration=T}else for(var M=e.child;M!==null;)s=Kt(s,Kt(M.lanes,M.childLanes)),u|=M.subtreeFlags,u|=M.flags,M.return=e,M=M.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function P5(e,t,s){if(g6()&&(t.mode&nn)!==xt&&(t.flags&yt)===Ct)return uT(t),jm(),t.flags|=ha|Ac|Va,!1;var u=Tk(t);if(s!==null&&s.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(h6(t),ci(t),(t.mode&f)!==xt){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(jm(),(t.flags&yt)===Ct&&(t.memoizedState=null),t.flags|=mn,ci(t),(t.mode&f)!==xt){var w=s!==null;if(w){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return cT(),!0}function NF(e,t,s){var u=t.pendingProps;switch(q2(t),t.tag){case A:case Ce:case se:case x:case Y:case G:case V:case ne:case ye:case ie:return ci(t),null;case E:{var p=t.type;return Gu(p)&&Dk(t),ci(t),null}case N:{var y=t.stateNode;if(Vm(t),z2(t),yD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Tk(t);if(w)Km(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&ha)!==Ct)&&(t.flags|=Mr,cT())}}return bS(e,t),ci(t),null}case B:{hD(t);var T=xT(),R=t.type;if(e!==null&&t.stateNode!=null)$F(e,t,R,u,T),e.ref!==t.ref&&FF(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 ci(t),null}var M=pD(),re=Tk(t);if(re)f6(t,T,M)&&Km(t);else{var Z=J4(R,u,T,M,t);AF(Z,t,!1,!1),t.stateNode=Z,e8(Z,R,u,T)&&Km(t)}t.ref!==null&&FF(t)}return ci(t),null}case j:{var pe=u;if(e&&t.stateNode!=null){var ve=e.memoizedProps;PF(e,t,ve,pe)}else{if(typeof pe!="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 xe=xT(),nt=pD(),St=Tk(t);St?p6(t)&&Km(t):t.stateNode=n8(pe,xe,nt,t)}return ci(t),null}case U:{Wm(t);var Ot=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var dn=P5(e,t,Ot);if(!dn)return t.flags&Va?t:null}if((t.flags&yt)!==Ct)return t.lanes=s,(t.mode&f)!==xt&&HD(t),t;var on=Ot!==null,ue=e!==null&&e.memoizedState!==null;if(on!==ue&&on){var Se=t.child;if(Se.flags|=Nr,(t.mode&nn)!==xt){var ce=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);ce||mD(Ul.current,TT)?N9():BS()}}var He=t.updateQueue;if(He!==null&&(t.flags|=mn),ci(t),(t.mode&f)!==xt&&on){var ct=t.child;ct!==null&&(t.treeBaseDuration-=ct.treeBaseDuration)}return null}case O:return Vm(t),bS(e,t),e===null&&Q8(t.stateNode.containerInfo),ci(t),null;case K:var it=t.type._context;return iD(it,t),ci(t),null;case ke:{var It=t.type;return Gu(It)&&Dk(t),ci(t),null}case Ye:{Wm(t);var Yt=t.memoizedState;if(Yt===null)return ci(t),null;var er=(t.flags&yt)!==Ct,Nn=Yt.rendering;if(Nn===null)if(er)ly(Yt,!1);else{var aa=R9()&&(e===null||(e.flags&yt)===Ct);if(!aa)for(var On=t.child;On!==null;){var Yr=Vk(On);if(Yr!==null){er=!0,t.flags|=yt,ly(Yt,!1);var Ii=Yr.updateQueue;return Ii!==null&&(t.updateQueue=Ii,t.flags|=mn),t.subtreeFlags=Ct,S6(t,s),gf(t,gD(Ul.current,Qv)),t.child}On=On.sibling}Yt.tail!==null&&Or()>eA()&&(t.flags|=yt,er=!0,ly(Yt,!1),t.lanes=ev)}else{if(!er){var mi=Vk(Nn);if(mi!==null){t.flags|=yt,er=!0;var ms=mi.updateQueue;if(ms!==null&&(t.updateQueue=ms,t.flags|=mn),ly(Yt,!0),Yt.tail===null&&Yt.tailMode==="hidden"&&!Nn.alternate&&!li())return ci(t),null}else Or()*2-Yt.renderingStartTime>eA()&&s!==no&&(t.flags|=yt,er=!0,ly(Yt,!1),t.lanes=ev)}if(Yt.isBackwards)Nn.sibling=t.child,t.child=Nn;else{var lo=Yt.last;lo!==null?lo.sibling=Nn:t.child=Nn,Yt.last=Nn}}if(Yt.tail!==null){var uo=Yt.tail;Yt.rendering=uo,Yt.tail=uo.sibling,Yt.renderingStartTime=Or(),uo.sibling=null;var ji=Ul.current;return er?ji=gD(ji,Qv):ji=qm(ji),gf(t,ji),uo}return ci(t),null}case Ge:break;case Ue:case Ne:{LS(t);var cd=t.memoizedState,ig=cd!==null;if(e!==null){var Sy=e.memoizedState,tc=Sy!==null;tc!==ig&&(t.flags|=Nr)}return!ig||(t.mode&nn)===xt?ci(t):Pi(ec,no)&&(ci(t),t.subtreeFlags&(Er|mn)&&(t.flags|=Nr)),null}case Ke:return null;case Me: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 N5(e,t,s){switch(q2(t),t.tag){case E:{var u=t.type;Gu(u)&&Dk(t);var p=t.flags;return p&Va?(t.flags=p&-65537|yt,(t.mode&f)!==xt&&HD(t),t):null}case N:{t.stateNode,Vm(t),z2(t),yD();var y=t.flags;return(y&Va)!==Ct&&(y&yt)===Ct?(t.flags=y&-65537|yt,t):null}case B:return hD(t),null;case U:{Wm(t);var w=t.memoizedState;if(w!==null&&w.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.");jm()}var _=t.flags;return _&Va?(t.flags=_&-65537|yt,(t.mode&f)!==xt&&HD(t),t):null}case Ye:return Wm(t),null;case O:return Vm(t),null;case K:var T=t.type._context;return iD(T,t),null;case Ue:case Ne:return LS(t),null;case Ke:return null;default:return null}}function OF(e,t,s){switch(q2(t),t.tag){case E:{var u=t.type.childContextTypes;u!=null&&Dk(t);break}case N:{t.stateNode,Vm(t),z2(t),yD();break}case B:{hD(t);break}case O:Vm(t);break;case U:Wm(t);break;case Ye:Wm(t);break;case K:var p=t.type._context;iD(p,t);break;case Ue:case Ne:LS(t);break}}var RF=null;RF=new Set;var h0=!1,di=!1,O5=typeof WeakSet=="function"?WeakSet:Set,mt=null,Jm=null,Zm=null;function R5(e){Ji(null,function(){throw e}),Fc()}var L5=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&f)try{Ju(),t.componentWillUnmount()}finally{Ku(e)}else t.componentWillUnmount()};function LF(e,t){try{bf($a,e)}catch(s){mr(e,t,s)}}function kS(e,t,s){try{L5(e,s)}catch(u){mr(e,t,u)}}function B5(e,t,s){try{s.componentDidMount()}catch(u){mr(e,t,u)}}function BF(e,t){try{IF(e)}catch(s){mr(e,t,s)}}function eg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(at&&st&&e.mode&f)try{Ju(),u=s(null)}finally{Ku(e)}else u=s(null)}catch(p){mr(e,t,p)}typeof u=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else s.current=null}function m0(e,t,s){try{s()}catch(u){mr(e,t,u)}}var MF=!1;function M5(e,t){X4(e.containerInfo),mt=t,I5();var s=MF;return MF=!1,s}function I5(){for(;mt!==null;){var e=mt,t=e.child;(e.subtreeFlags&Bs)!==Ct&&t!==null?(t.return=e,mt=t):j5()}}function j5(){for(;mt!==null;){var e=mt;Tn(e);try{z5(e)}catch(s){mr(e,e.return,s)}ir();var t=e.sibling;if(t!==null){t.return=e.return,mt=t;return}mt=e.return}}function z5(e){var t=e.alternate,s=e.flags;if((s&Mr)!==Ct){switch(Tn(e),e.tag){case x:case Y:case se:break;case E:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!ih&&(y.props!==e.memoizedProps&&v("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.",Mt(e)||"instance"),y.state!==e.memoizedState&&v("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.",Mt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:Vl(e.type,u),p);{var _=RF;w===void 0&&!_.has(e.type)&&(_.add(e.type),v("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Mt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case N:{{var T=e.stateNode;w8(T.containerInfo)}break}case B:case j:case O:case ke: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.")}ir()}}function Wl(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var _=w.destroy;w.destroy=void 0,_!==void 0&&((e&ui)!==Mo?is(t):(e&$a)!==Mo&&Fl(t),(e&Yu)!==Mo&&ky(!0),m0(t,s,_),(e&Yu)!==Mo&&ky(!1),(e&ui)!==Mo?Hs():(e&$a)!==Mo&&xp())}w=w.next}while(w!==y)}}function bf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&ui)!==Mo?Cp(t):(e&$a)!==Mo&&Yd(t);var w=y.create;(e&Yu)!==Mo&&ky(!0),y.destroy=w(),(e&Yu)!==Mo&&ky(!1),(e&ui)!==Mo?Zh():(e&$a)!==Mo&&em();{var _=y.destroy;if(_!==void 0&&typeof _!="function"){var T=void 0;(y.tag&$a)!==Ct?T="useLayoutEffect":(y.tag&Yu)!==Ct?T="useInsertionEffect":T="useEffect";var R=void 0;_===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?R=`
|
|
263
|
+
Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),lS[p]||(lS[p]=!0,v("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=kn(t)||"Unknown";oy[w]||(v("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),oy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var _=kn(t)||"Unknown";sS[_]||(v("%s: Function components do not support getDerivedStateFromProps.",_),sS[_]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var T=kn(t)||"Unknown";oS[T]||(v("%s: Function components do not support contextType.",T),oS[T]=!0)}}}var pS={dehydrated:null,treeContext:null,retryLane:qe};function hS(e){return{baseLanes:e,cachePool:n5(),transitions:null}}function p5(e,t){var s=null;return{baseLanes:Kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function h5(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return mD(e,Qv)}function m5(e,t){return Op(e.childLanes,t)}function wF(e,t,s){var u=t.pendingProps;Cz(t)&&(t.flags|=yt);var p=Ul.current,y=!1,w=(t.flags&yt)!==Ct;if(w||h5(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=N6(p,TT)),p=qm(p),gf(t,p),e===null){Q2(t);var _=t.memoizedState;if(_!==null){var T=_.dehydrated;if(T!==null)return k5(t,T)}var R=u.children,M=u.fallback;if(y){var re=g5(t,R,M,s),Z=t.child;return Z.memoizedState=hS(s),t.memoizedState=pS,re}else return mS(t,R)}else{var pe=e.memoizedState;if(pe!==null){var ve=pe.dehydrated;if(ve!==null)return w5(e,t,w,u,ve,pe,s)}if(y){var xe=u.fallback,nt=u.children,St=y5(e,t,nt,xe,s),Ot=t.child,dn=e.child.memoizedState;return Ot.memoizedState=dn===null?hS(s):p5(dn,s),Ot.childLanes=m5(e,s),t.memoizedState=pS,St}else{var sn=u.children,ue=v5(e,t,sn,s);return t.memoizedState=null,ue}}}function mS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=gS(p,u);return y.return=e,e.child=y,y}function g5(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},_,T;return(p&nn)===xt&&y!==null?(_=y,_.childLanes=ae,_.pendingProps=w,e.mode&f&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),T=Cf(s,p,u,null)):(_=gS(w,p),T=Cf(s,p,u,null)),_.return=e,T.return=e,_.sibling=T,e.child=_,T}function gS(e,t,s){return wA(e,t,ae,null)}function DF(e,t){return ch(e,t)}function v5(e,t,s,u){var p=e.child,y=p.sibling,w=DF(p,{mode:"visible",children:s});if((t.mode&nn)===xt&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var _=t.deletions;_===null?(t.deletions=[y],t.flags|=Ei):_.push(y)}return t.child=w,w}function y5(e,t,s,u,p){var y=t.mode,w=e.child,_=w.sibling,T={mode:"hidden",children:s},R;if((y&nn)===xt&&t.child!==w){var M=t.child;R=M,R.childLanes=ae,R.pendingProps=T,t.mode&f&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=w.selfBaseDuration,R.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else R=DF(w,T),R.subtreeFlags=w.subtreeFlags≀var re;return _!==null?re=ch(_,u):(re=Cf(u,y,p,null),re.flags|=Er),re.return=t,R.return=t,R.sibling=re,t.child=R,re}function f0(e,t,s,u){u!==null&&X2(u),zm(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=mS(t,y);return w.flags|=Er,t.memoizedState=null,w}function b5(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},_=gS(w,y),T=Cf(u,y,p,null);return T.flags|=Er,_.return=t,T.return=t,_.sibling=T,t.child=_,(t.mode&nn)!==xt&&zm(t,e.child,null,p),T}function k5(e,t,s){return(e.mode&nn)===xt?(v("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=Ee):O2(t)?e.lanes=Ft:e.lanes=no,null}function w5(e,t,s,u,p,y,w){if(s)if(t.flags&ha){t.flags&=-257;var _=nS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return f0(e,t,w,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=yt,null;var T=u.children,R=u.fallback,M=b5(e,t,T,R,w),re=t.child;return re.memoizedState=hS(w),t.memoizedState=pS,M}else{if(l6(),(t.mode&nn)===xt)return f0(e,t,w,null);if(O2(p)){var Z,pe,ve;{var xe=x8(p);Z=xe.digest,pe=xe.message,ve=xe.stack}var nt;pe?nt=new Error(pe):nt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=nS(nt,Z,ve);return f0(e,t,w,St)}var Ot=Pi(w,e.childLanes);if(ql||Ot){var dn=C0();if(dn!==null){var sn=Eb(dn,w);if(sn!==qe&&sn!==y.retryLane){y.retryLane=sn;var ue=sr;Bo(e,sn),Ba(dn,e,sn,ue)}}BS();var Se=nS(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 f0(e,t,w,Se)}else if(qE(p)){t.flags|=yt,t.child=e.child;var ce=W9.bind(null,e);return _8(p,ce),null}else{d6(t,p,y.treeContext);var He=u.children,ct=mS(t,He);return ct.flags|=Ti,ct}}}function SF(e,t,s){e.lanes=Kt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Kt(u.lanes,t)),oD(e.return,t,s)}function D5(e,t,s){for(var u=t;u!==null;){if(u.tag===U){var p=u.memoizedState;p!==null&&SF(u,s,e)}else if(u.tag===Ye)SF(u,s,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 S5(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&Vk(u)===null&&(s=t),t=t.sibling}return s}function C5(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!uS[e])if(uS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{v('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{v('"%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:v('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else v('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function x5(e,t){e!==void 0&&!d0[e]&&(e!=="collapsed"&&e!=="hidden"?(d0[e]=!0,v('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(d0[e]=!0,v('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function CF(e,t){{var s=Gt(e),u=!s&&typeof Et(e)=="function";if(s||u){var p=s?"array":"iterable";return v("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>",p,t,p),!1}}return!0}function _5(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Gt(e)){for(var s=0;s<e.length;s++)if(!CF(e[s],s))return}else{var u=Et(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!CF(y.value,w))return;w++}}else v('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 vS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function xF(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;C5(p),x5(y,p),_5(w,p),io(e,t,w,s);var _=Ul.current,T=mD(_,Qv);if(T)_=gD(_,Qv),t.flags|=yt;else{var R=e!==null&&(e.flags&yt)!==Ct;R&&D5(t,t.child,s),_=qm(_)}if(gf(t,_),(t.mode&nn)===xt)t.memoizedState=null;else switch(p){case"forwards":{var M=S5(t.child),re;M===null?(re=t.child,t.child=null):(re=M.sibling,M.sibling=null),vS(t,!1,re,M,y);break}case"backwards":{var Z=null,pe=t.child;for(t.child=null;pe!==null;){var ve=pe.alternate;if(ve!==null&&Vk(ve)===null){t.child=pe;break}var xe=pe.sibling;pe.sibling=Z,Z=pe,pe=xe}vS(t,!0,Z,null,y);break}case"together":{vS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function E5(e,t,s){fD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=zm(t,null,u,s):io(e,t,u,s),t.child}var _F=!1;function T5(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,_=y.value;{"value"in y||_F||(_F=!0,v("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var T=t.type.propTypes;T&&Il(T,y,"prop","Context.Provider")}if(yT(t,p,_),w!==null){var R=w.value;if(oe(R,_)){if(w.children===y.children&&!wk())return id(e,t,s)}else C6(t,p,s)}var M=y.children;return io(e,t,M,s),t.child}var EF=!1;function F5(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(EF||(EF=!0,v("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 p=t.pendingProps,y=p.children;typeof y!="function"&&v("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."),Hm(t,s);var w=ya(u);Ya(t);var _;return ay.current=t,xr(!0),_=y(w),xr(!1),oi(),t.flags|=_i,io(e,t,_,s),t.child}function sy(){ql=!0}function p0(e,t){(t.mode&nn)===xt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Er)}function id(e,t,s){return e!==null&&(t.dependencies=e.dependencies),nF(),yy(t.lanes),Pi(s,t.childLanes)?(D6(e,t),t.child):null}function A5(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Ei):y.push(e),s.flags|=Er,s}}function yS(e,t){var s=e.lanes;return!!Pi(s,t)}function $5(e,t,s){switch(t.tag){case N:bF(t),t.stateNode,jm();break;case B:_T(t);break;case E:{var u=t.type;Gu(u)&&Sk(t);break}case O:fD(t,t.stateNode.containerInfo);break;case K:{var p=t.memoizedProps.value,y=t.type._context;yT(t,y,p);break}case ne:{var w=Pi(s,t.childLanes);w&&(t.flags|=mn);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case U:{var T=t.memoizedState;if(T!==null){if(T.dehydrated!==null)return gf(t,qm(Ul.current)),t.flags|=yt,null;var R=t.child,M=R.childLanes;if(Pi(s,M))return wF(e,t,s);gf(t,qm(Ul.current));var re=id(e,t,s);return re!==null?re.sibling:null}else gf(t,qm(Ul.current));break}case Ye:{var Z=(e.flags&yt)!==Ct,pe=Pi(s,t.childLanes);if(Z){if(pe)return xF(e,t,s);t.flags|=yt}var ve=t.memoizedState;if(ve!==null&&(ve.rendering=null,ve.tail=null,ve.lastEffect=null),gf(t,Ul.current),pe)break;return null}case Ue:case Ne:return t.lanes=ae,gF(e,t,s)}return id(e,t,s)}function TF(e,t,s){if(t._debugNeedsRemount&&e!==null)return A5(e,t,YS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||wk()||t.type!==e.type)ql=!0;else{var y=yS(e,s);if(!y&&(t.flags&yt)===Ct)return ql=!1,$5(e,t,s);(e.flags&rs)!==Ct?ql=!0:ql=!1}}else if(ql=!1,li()&&n6(t)){var w=t.index,_=r6();nT(t,_,w)}switch(t.lanes=ae,t.tag){case A:return f5(e,t,t.type,s);case Ce:{var T=t.elementType;return c5(e,t,T,s)}case x:{var R=t.type,M=t.pendingProps,re=t.elementType===R?M:Vl(R,M);return cS(e,t,R,re,s)}case E:{var Z=t.type,pe=t.pendingProps,ve=t.elementType===Z?pe:Vl(Z,pe);return yF(e,t,Z,ve,s)}case N:return s5(e,t,s);case B:return l5(e,t,s);case j:return u5(e,t);case U:return wF(e,t,s);case O:return E5(e,t,s);case Y:{var xe=t.type,nt=t.pendingProps,St=t.elementType===xe?nt:Vl(xe,nt);return pF(e,t,xe,St,s)}case G:return a5(e,t,s);case V:return i5(e,t,s);case ne:return o5(e,t,s);case K:return T5(e,t,s);case ye:return F5(e,t,s);case ie:{var Ot=t.type,dn=t.pendingProps,sn=Vl(Ot,dn);if(t.type!==t.elementType){var ue=Ot.propTypes;ue&&Il(ue,sn,"prop",kn(Ot))}return sn=Vl(Ot.type,sn),hF(e,t,Ot,sn,s)}case se:return mF(e,t,t.type,t.pendingProps,s);case ke:{var Se=t.type,ce=t.pendingProps,He=t.elementType===Se?ce:Vl(Se,ce);return d5(e,t,Se,He,s)}case Ye:return xF(e,t,s);case Ge:break;case Ue:return gF(e,t,s)}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 Km(e){e.flags|=mn}function FF(e){e.flags|=Vn,e.flags|=xl}var AF,bS,$F,PF;AF=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===B||p.tag===j)Z4(e,p.stateNode);else if(p.tag!==O&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},bS=function(e,t){},$F=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,_=pD(),T=t8(w,s,y,u,p,_);t.updateQueue=T,T&&Km(t)}},PF=function(e,t,s,u){s!==u&&Km(t)};function ly(e,t){if(!li())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function ci(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=ae,u=Ct;if(t){if((e.mode&f)!==xt){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Kt(s,Kt(y.lanes,y.childLanes)),u|=y.subtreeFlags&wr,u|=y.flags&wr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Kt(s,Kt(w.lanes,w.childLanes)),u|=w.subtreeFlags&wr,u|=w.flags&wr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&f)!==xt){for(var _=e.actualDuration,T=e.selfBaseDuration,R=e.child;R!==null;)s=Kt(s,Kt(R.lanes,R.childLanes)),u|=R.subtreeFlags,u|=R.flags,_+=R.actualDuration,T+=R.treeBaseDuration,R=R.sibling;e.actualDuration=_,e.treeBaseDuration=T}else for(var M=e.child;M!==null;)s=Kt(s,Kt(M.lanes,M.childLanes)),u|=M.subtreeFlags,u|=M.flags,M.return=e,M=M.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function P5(e,t,s){if(g6()&&(t.mode&nn)!==xt&&(t.flags&yt)===Ct)return uT(t),jm(),t.flags|=ha|Ac|Va,!1;var u=Tk(t);if(s!==null&&s.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(h6(t),ci(t),(t.mode&f)!==xt){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(jm(),(t.flags&yt)===Ct&&(t.memoizedState=null),t.flags|=mn,ci(t),(t.mode&f)!==xt){var w=s!==null;if(w){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return cT(),!0}function NF(e,t,s){var u=t.pendingProps;switch(q2(t),t.tag){case A:case Ce:case se:case x:case Y:case G:case V:case ne:case ye:case ie:return ci(t),null;case E:{var p=t.type;return Gu(p)&&Dk(t),ci(t),null}case N:{var y=t.stateNode;if(Vm(t),z2(t),yD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Tk(t);if(w)Km(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&ha)!==Ct)&&(t.flags|=Mr,cT())}}return bS(e,t),ci(t),null}case B:{hD(t);var T=xT(),R=t.type;if(e!==null&&t.stateNode!=null)$F(e,t,R,u,T),e.ref!==t.ref&&FF(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 ci(t),null}var M=pD(),re=Tk(t);if(re)f6(t,T,M)&&Km(t);else{var Z=J4(R,u,T,M,t);AF(Z,t,!1,!1),t.stateNode=Z,e8(Z,R,u,T)&&Km(t)}t.ref!==null&&FF(t)}return ci(t),null}case j:{var pe=u;if(e&&t.stateNode!=null){var ve=e.memoizedProps;PF(e,t,ve,pe)}else{if(typeof pe!="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 xe=xT(),nt=pD(),St=Tk(t);St?p6(t)&&Km(t):t.stateNode=n8(pe,xe,nt,t)}return ci(t),null}case U:{Wm(t);var Ot=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var dn=P5(e,t,Ot);if(!dn)return t.flags&Va?t:null}if((t.flags&yt)!==Ct)return t.lanes=s,(t.mode&f)!==xt&&HD(t),t;var sn=Ot!==null,ue=e!==null&&e.memoizedState!==null;if(sn!==ue&&sn){var Se=t.child;if(Se.flags|=Nr,(t.mode&nn)!==xt){var ce=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);ce||mD(Ul.current,TT)?N9():BS()}}var He=t.updateQueue;if(He!==null&&(t.flags|=mn),ci(t),(t.mode&f)!==xt&&sn){var ct=t.child;ct!==null&&(t.treeBaseDuration-=ct.treeBaseDuration)}return null}case O:return Vm(t),bS(e,t),e===null&&Q8(t.stateNode.containerInfo),ci(t),null;case K:var it=t.type._context;return iD(it,t),ci(t),null;case ke:{var It=t.type;return Gu(It)&&Dk(t),ci(t),null}case Ye:{Wm(t);var Yt=t.memoizedState;if(Yt===null)return ci(t),null;var er=(t.flags&yt)!==Ct,Nn=Yt.rendering;if(Nn===null)if(er)ly(Yt,!1);else{var aa=R9()&&(e===null||(e.flags&yt)===Ct);if(!aa)for(var On=t.child;On!==null;){var Yr=Vk(On);if(Yr!==null){er=!0,t.flags|=yt,ly(Yt,!1);var Ii=Yr.updateQueue;return Ii!==null&&(t.updateQueue=Ii,t.flags|=mn),t.subtreeFlags=Ct,S6(t,s),gf(t,gD(Ul.current,Qv)),t.child}On=On.sibling}Yt.tail!==null&&Or()>eA()&&(t.flags|=yt,er=!0,ly(Yt,!1),t.lanes=ev)}else{if(!er){var mi=Vk(Nn);if(mi!==null){t.flags|=yt,er=!0;var ms=mi.updateQueue;if(ms!==null&&(t.updateQueue=ms,t.flags|=mn),ly(Yt,!0),Yt.tail===null&&Yt.tailMode==="hidden"&&!Nn.alternate&&!li())return ci(t),null}else Or()*2-Yt.renderingStartTime>eA()&&s!==no&&(t.flags|=yt,er=!0,ly(Yt,!1),t.lanes=ev)}if(Yt.isBackwards)Nn.sibling=t.child,t.child=Nn;else{var lo=Yt.last;lo!==null?lo.sibling=Nn:t.child=Nn,Yt.last=Nn}}if(Yt.tail!==null){var uo=Yt.tail;Yt.rendering=uo,Yt.tail=uo.sibling,Yt.renderingStartTime=Or(),uo.sibling=null;var ji=Ul.current;return er?ji=gD(ji,Qv):ji=qm(ji),gf(t,ji),uo}return ci(t),null}case Ge:break;case Ue:case Ne:{LS(t);var cd=t.memoizedState,ig=cd!==null;if(e!==null){var Sy=e.memoizedState,tc=Sy!==null;tc!==ig&&(t.flags|=Nr)}return!ig||(t.mode&nn)===xt?ci(t):Pi(ec,no)&&(ci(t),t.subtreeFlags&(Er|mn)&&(t.flags|=Nr)),null}case Ke:return null;case Me: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 N5(e,t,s){switch(q2(t),t.tag){case E:{var u=t.type;Gu(u)&&Dk(t);var p=t.flags;return p&Va?(t.flags=p&-65537|yt,(t.mode&f)!==xt&&HD(t),t):null}case N:{t.stateNode,Vm(t),z2(t),yD();var y=t.flags;return(y&Va)!==Ct&&(y&yt)===Ct?(t.flags=y&-65537|yt,t):null}case B:return hD(t),null;case U:{Wm(t);var w=t.memoizedState;if(w!==null&&w.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.");jm()}var _=t.flags;return _&Va?(t.flags=_&-65537|yt,(t.mode&f)!==xt&&HD(t),t):null}case Ye:return Wm(t),null;case O:return Vm(t),null;case K:var T=t.type._context;return iD(T,t),null;case Ue:case Ne:return LS(t),null;case Ke:return null;default:return null}}function OF(e,t,s){switch(q2(t),t.tag){case E:{var u=t.type.childContextTypes;u!=null&&Dk(t);break}case N:{t.stateNode,Vm(t),z2(t),yD();break}case B:{hD(t);break}case O:Vm(t);break;case U:Wm(t);break;case Ye:Wm(t);break;case K:var p=t.type._context;iD(p,t);break;case Ue:case Ne:LS(t);break}}var RF=null;RF=new Set;var h0=!1,di=!1,O5=typeof WeakSet=="function"?WeakSet:Set,mt=null,Jm=null,Zm=null;function R5(e){Ji(null,function(){throw e}),Fc()}var L5=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&f)try{Ju(),t.componentWillUnmount()}finally{Ku(e)}else t.componentWillUnmount()};function LF(e,t){try{bf($a,e)}catch(s){mr(e,t,s)}}function kS(e,t,s){try{L5(e,s)}catch(u){mr(e,t,u)}}function B5(e,t,s){try{s.componentDidMount()}catch(u){mr(e,t,u)}}function BF(e,t){try{IF(e)}catch(s){mr(e,t,s)}}function eg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(at&&st&&e.mode&f)try{Ju(),u=s(null)}finally{Ku(e)}else u=s(null)}catch(p){mr(e,t,p)}typeof u=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else s.current=null}function m0(e,t,s){try{s()}catch(u){mr(e,t,u)}}var MF=!1;function M5(e,t){X4(e.containerInfo),mt=t,I5();var s=MF;return MF=!1,s}function I5(){for(;mt!==null;){var e=mt,t=e.child;(e.subtreeFlags&Bs)!==Ct&&t!==null?(t.return=e,mt=t):j5()}}function j5(){for(;mt!==null;){var e=mt;Tn(e);try{z5(e)}catch(s){mr(e,e.return,s)}ir();var t=e.sibling;if(t!==null){t.return=e.return,mt=t;return}mt=e.return}}function z5(e){var t=e.alternate,s=e.flags;if((s&Mr)!==Ct){switch(Tn(e),e.tag){case x:case Y:case se:break;case E:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!ih&&(y.props!==e.memoizedProps&&v("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.",Mt(e)||"instance"),y.state!==e.memoizedState&&v("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.",Mt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:Vl(e.type,u),p);{var _=RF;w===void 0&&!_.has(e.type)&&(_.add(e.type),v("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Mt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case N:{{var T=e.stateNode;w8(T.containerInfo)}break}case B:case j:case O:case ke: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.")}ir()}}function Wl(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var _=w.destroy;w.destroy=void 0,_!==void 0&&((e&ui)!==Mo?is(t):(e&$a)!==Mo&&Fl(t),(e&Yu)!==Mo&&ky(!0),m0(t,s,_),(e&Yu)!==Mo&&ky(!1),(e&ui)!==Mo?Hs():(e&$a)!==Mo&&xp())}w=w.next}while(w!==y)}}function bf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&ui)!==Mo?Cp(t):(e&$a)!==Mo&&Yd(t);var w=y.create;(e&Yu)!==Mo&&ky(!0),y.destroy=w(),(e&Yu)!==Mo&&ky(!1),(e&ui)!==Mo?Zh():(e&$a)!==Mo&&em();{var _=y.destroy;if(_!==void 0&&typeof _!="function"){var T=void 0;(y.tag&$a)!==Ct?T="useLayoutEffect":(y.tag&Yu)!==Ct?T="useInsertionEffect":T="useEffect";var R=void 0;_===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?R=`
|
|
264
264
|
|
|
265
265
|
It looks like you wrote `+T+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
266
266
|
|
|
@@ -273,11 +273,11 @@ It looks like you wrote `+T+`(async () => ...) or returned a Promise. Instead, w
|
|
|
273
273
|
fetchData();
|
|
274
274
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
275
275
|
|
|
276
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:R=" You returned: "+_,v("%s must not return anything besides a function, which is used for clean-up.%s",T,R)}}}y=y.next}while(y!==p)}}function U5(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case ne:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=eF(),_=t.alternate===null?"mount":"update";ZT()&&(_="nested-update"),typeof y=="function"&&y(p,_,s,w);var T=t.return;e:for(;T!==null;){switch(T.tag){case N:var R=T.stateNode;R.passiveEffectDuration+=s;break e;case ne:var M=T.stateNode;M.passiveEffectDuration+=s;break e}T=T.return}break}}}function H5(e,t,s,u){if((s.flags&Is)!==Ct)switch(s.tag){case x:case Y:case se:{if(!di)if(s.mode&f)try{Ju(),bf($a|Aa,s)}finally{Ku(s)}else bf($a|Aa,s);break}case E:{var p=s.stateNode;if(s.flags&mn&&!di)if(t===null)if(s.type===s.elementType&&!ih&&(p.props!==s.memoizedProps&&v("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Mt(s)||"instance")),s.mode&f)try{Ju(),p.componentDidMount()}finally{Ku(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:Vl(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!ih&&(p.props!==s.memoizedProps&&v("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Mt(s)||"instance")),s.mode&f)try{Ju(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{Ku(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!ih&&(p.props!==s.memoizedProps&&v("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Mt(s)||"instance")),CT(s,_,p));break}case N:{var T=s.updateQueue;if(T!==null){var R=null;if(s.child!==null)switch(s.child.tag){case B:R=s.child.stateNode;break;case E:R=s.child.stateNode;break}CT(s,T,R)}break}case B:{var M=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,Z=s.memoizedProps;s8(M,re,Z)}break}case j:break;case O:break;case ne:{{var pe=s.memoizedProps,ve=pe.onCommit,xe=pe.onRender,nt=s.stateNode.effectDuration,St=eF(),Ot=t===null?"mount":"update";ZT()&&(Ot="nested-update"),typeof xe=="function"&&xe(s.memoizedProps.id,Ot,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ve=="function"&&ve(s.memoizedProps.id,Ot,nt,St),j9(s);var dn=s.return;e:for(;dn!==null;){switch(dn.tag){case N:var on=dn.stateNode;on.effectDuration+=nt;break e;case ne:var ue=dn.stateNode;ue.effectDuration+=nt;break e}dn=dn.return}}}break}case U:{K5(e,s);break}case Ye:case ke:case Ge:case Ue:case Ne:case Me: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.")}di||s.flags&Vn&&IF(s)}function V5(e){switch(e.tag){case x:case Y:case se:{if(e.mode&f)try{Ju(),LF(e,e.return)}finally{Ku(e)}else LF(e,e.return);break}case E:{var t=e.stateNode;typeof t.componentDidMount=="function"&&B5(e,e.return,t),BF(e,e.return);break}case B:{BF(e,e.return);break}}}function q5(e,t){for(var s=null,u=e;;){if(u.tag===B){if(s===null){s=u;try{var p=u.stateNode;t?v8(p):b8(u.stateNode,u.memoizedProps)}catch(w){mr(e,e.return,w)}}}else if(u.tag===j){if(s===null)try{var y=u.stateNode;t?y8(y):k8(y,u.memoizedProps)}catch(w){mr(e,e.return,w)}}else if(!((u.tag===Ue||u.tag===Ne)&&u.memoizedState!==null&&u!==e)&&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;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function IF(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case B:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&f)try{Ju(),p=t(u)}finally{Ku(e)}else p=t(u);typeof p=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else t.hasOwnProperty("current")||v("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Mt(e)),t.current=u}}function W5(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function jF(e){var t=e.alternate;t!==null&&(e.alternate=null,jF(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===B){var s=e.stateNode;s!==null&&J8(s)}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 G5(e){for(var t=e.return;t!==null;){if(zF(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 zF(e){return e.tag===B||e.tag===N||e.tag===O}function UF(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||zF(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==B&&t.tag!==j&&t.tag!==Qe;){if(t.flags&Er||t.child===null||t.tag===O)continue e;t.child.return=t,t=t.child}if(!(t.flags&Er))return t.stateNode}}function Y5(e){var t=G5(e);switch(t.tag){case B:{var s=t.stateNode;t.flags&Pt&&(VE(s),t.flags&=-33);var u=UF(e);DS(e,u,s);break}case N:case O:{var p=t.stateNode.containerInfo,y=UF(e);wS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wS(e,t,s){var u=e.tag,p=u===B||u===j;if(p){var y=e.stateNode;t?p8(s,y,t):d8(s,y)}else if(u!==O){var w=e.child;if(w!==null){wS(w,t,s);for(var _=w.sibling;_!==null;)wS(_,t,s),_=_.sibling}}}function DS(e,t,s){var u=e.tag,p=u===B||u===j;if(p){var y=e.stateNode;t?f8(s,y,t):c8(s,y)}else if(u!==O){var w=e.child;if(w!==null){DS(w,t,s);for(var _=w.sibling;_!==null;)DS(_,t,s),_=_.sibling}}}var fi=null,Gl=!1;function Q5(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case B:{fi=u.stateNode,Gl=!1;break e}case N:{fi=u.stateNode.containerInfo,Gl=!0;break e}case O:{fi=u.stateNode.containerInfo,Gl=!0;break e}}u=u.return}if(fi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");HF(e,t,s),fi=null,Gl=!1}W5(s)}function kf(e,t,s){for(var u=s.child;u!==null;)HF(e,t,u),u=u.sibling}function HF(e,t,s){switch(Dp(s),s.tag){case B:di||eg(s,t);case j:{{var u=fi,p=Gl;fi=null,kf(e,t,s),fi=u,Gl=p,fi!==null&&(Gl?m8(fi,s.stateNode):h8(fi,s.stateNode))}return}case Qe:{fi!==null&&(Gl?g8(fi,s.stateNode):N2(fi,s.stateNode));return}case O:{{var y=fi,w=Gl;fi=s.stateNode.containerInfo,Gl=!0,kf(e,t,s),fi=y,Gl=w}return}case x:case Y:case ie:case se:{if(!di){var _=s.updateQueue;if(_!==null){var T=_.lastEffect;if(T!==null){var R=T.next,M=R;do{var re=M,Z=re.destroy,pe=re.tag;Z!==void 0&&((pe&Yu)!==Mo?m0(s,t,Z):(pe&$a)!==Mo&&(Fl(s),s.mode&f?(Ju(),m0(s,t,Z),Ku(s)):m0(s,t,Z),xp())),M=M.next}while(M!==R)}}}kf(e,t,s);return}case E:{if(!di){eg(s,t);var ve=s.stateNode;typeof ve.componentWillUnmount=="function"&&kS(s,t,ve)}kf(e,t,s);return}case Ge:{kf(e,t,s);return}case Ue:{if(s.mode&nn){var xe=di;di=xe||s.memoizedState!==null,kf(e,t,s),di=xe}else kf(e,t,s);break}default:{kf(e,t,s);return}}}function X5(e){e.memoizedState}function K5(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&R8(y)}}}}function VF(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new O5),t.forEach(function(u){var p=G9.bind(null,e,u);if(!s.has(u)){if(s.add(u),Ga)if(Jm!==null&&Zm!==null)by(Zm,Jm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function J5(e,t,s){Jm=s,Zm=e,Tn(t),qF(t,e),Tn(t),Jm=null,Zm=null}function Yl(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{Q5(e,t,y)}catch(T){mr(y,t,T)}}var w=ni();if(t.subtreeFlags&Ms)for(var _=t.child;_!==null;)Tn(_),qF(_,e),_=_.sibling;Tn(w)}function qF(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case x:case Y:case ie:case se:{if(Yl(t,e),Zu(e),p&mn){try{Wl(Yu|Aa,e,e.return),bf(Yu|Aa,e)}catch(It){mr(e,e.return,It)}if(e.mode&f){try{Ju(),Wl($a|Aa,e,e.return)}catch(It){mr(e,e.return,It)}Ku(e)}else try{Wl($a|Aa,e,e.return)}catch(It){mr(e,e.return,It)}}return}case E:{Yl(t,e),Zu(e),p&Vn&&u!==null&&eg(u,u.return);return}case B:{Yl(t,e),Zu(e),p&Vn&&u!==null&&eg(u,u.return);{if(e.flags&Pt){var y=e.stateNode;try{VE(y)}catch(It){mr(e,e.return,It)}}if(p&mn){var w=e.stateNode;if(w!=null){var _=e.memoizedProps,T=u!==null?u.memoizedProps:_,R=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{l8(w,M,R,T,_,e)}catch(It){mr(e,e.return,It)}}}}return}case j:{if(Yl(t,e),Zu(e),p&mn){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 re=e.stateNode,Z=e.memoizedProps,pe=u!==null?u.memoizedProps:Z;try{u8(re,pe,Z)}catch(It){mr(e,e.return,It)}}return}case N:{if(Yl(t,e),Zu(e),p&mn&&u!==null){var ve=u.memoizedState;if(ve.isDehydrated)try{O8(t.containerInfo)}catch(It){mr(e,e.return,It)}}return}case O:{Yl(t,e),Zu(e);return}case U:{Yl(t,e),Zu(e);var xe=e.child;if(xe.flags&Nr){var nt=xe.stateNode,St=xe.memoizedState,Ot=St!==null;if(nt.isHidden=Ot,Ot){var dn=xe.alternate!==null&&xe.alternate.memoizedState!==null;dn||P9()}}if(p&mn){try{X5(e)}catch(It){mr(e,e.return,It)}VF(e)}return}case Ue:{var on=u!==null&&u.memoizedState!==null;if(e.mode&nn){var ue=di;di=ue||on,Yl(t,e),di=ue}else Yl(t,e);if(Zu(e),p&Nr){var Se=e.stateNode,ce=e.memoizedState,He=ce!==null,ct=e;if(Se.isHidden=He,He&&!on&&(ct.mode&nn)!==xt){mt=ct;for(var it=ct.child;it!==null;)mt=it,e9(it),it=it.sibling}q5(ct,He)}return}case Ye:{Yl(t,e),Zu(e),p&mn&&VF(e);return}case Ge:return;default:{Yl(t,e),Zu(e);return}}}function Zu(e){var t=e.flags;if(t&Er){try{Y5(e)}catch(s){mr(e,e.return,s)}e.flags&=-3}t&Ti&&(e.flags&=-4097)}function Z5(e,t,s){Jm=s,Zm=t,mt=e,WF(e,t,s),Jm=null,Zm=null}function WF(e,t,s){for(var u=(e.mode&nn)!==xt;mt!==null;){var p=mt,y=p.child;if(p.tag===Ue&&u){var w=p.memoizedState!==null,_=w||h0;if(_){SS(e,t,s);continue}else{var T=p.alternate,R=T!==null&&T.memoizedState!==null,M=R||di,re=h0,Z=di;h0=_,di=M,di&&!Z&&(mt=p,t9(p));for(var pe=y;pe!==null;)mt=pe,WF(pe,t,s),pe=pe.sibling;mt=p,h0=re,di=Z,SS(e,t,s);continue}}(p.subtreeFlags&Is)!==Ct&&y!==null?(y.return=p,mt=y):SS(e,t,s)}}function SS(e,t,s){for(;mt!==null;){var u=mt;if((u.flags&Is)!==Ct){var p=u.alternate;Tn(u);try{H5(t,p,u,s)}catch(w){mr(u,u.return,w)}ir()}if(u===e){mt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,mt=y;return}mt=u.return}}function e9(e){for(;mt!==null;){var t=mt,s=t.child;switch(t.tag){case x:case Y:case ie:case se:{if(t.mode&f)try{Ju(),Wl($a,t,t.return)}finally{Ku(t)}else Wl($a,t,t.return);break}case E:{eg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&kS(t,t.return,u);break}case B:{eg(t,t.return);break}case Ue:{var p=t.memoizedState!==null;if(p){GF(e);continue}break}}s!==null?(s.return=t,mt=s):GF(e)}}function GF(e){for(;mt!==null;){var t=mt;if(t===e){mt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,mt=s;return}mt=t.return}}function t9(e){for(;mt!==null;){var t=mt,s=t.child;if(t.tag===Ue){var u=t.memoizedState!==null;if(u){YF(e);continue}}s!==null?(s.return=t,mt=s):YF(e)}}function YF(e){for(;mt!==null;){var t=mt;Tn(t);try{V5(t)}catch(u){mr(t,t.return,u)}if(ir(),t===e){mt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,mt=s;return}mt=t.return}}function n9(e,t,s,u){mt=t,r9(t,e,s,u)}function r9(e,t,s,u){for(;mt!==null;){var p=mt,y=p.child;(p.subtreeFlags&Fo)!==Ct&&y!==null?(y.return=p,mt=y):a9(e,t,s,u)}}function a9(e,t,s,u){for(;mt!==null;){var p=mt;if((p.flags&Ha)!==Ct){Tn(p);try{i9(t,p,s,u)}catch(w){mr(p,p.return,w)}ir()}if(p===e){mt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,mt=y;return}mt=p.return}}function i9(e,t,s,u){switch(t.tag){case x:case Y:case se:{if(t.mode&f){UD();try{bf(ui|Aa,t)}finally{zD(t)}}else bf(ui|Aa,t);break}}}function o9(e){mt=e,s9()}function s9(){for(;mt!==null;){var e=mt,t=e.child;if((mt.flags&Ei)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];mt=p,c9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}mt=e}}(e.subtreeFlags&Fo)!==Ct&&t!==null?(t.return=e,mt=t):l9()}}function l9(){for(;mt!==null;){var e=mt;(e.flags&Ha)!==Ct&&(Tn(e),u9(e),ir());var t=e.sibling;if(t!==null){t.return=e.return,mt=t;return}mt=e.return}}function u9(e){switch(e.tag){case x:case Y:case se:{e.mode&f?(UD(),Wl(ui|Aa,e,e.return),zD(e)):Wl(ui|Aa,e,e.return);break}}}function c9(e,t){for(;mt!==null;){var s=mt;Tn(s),f9(s,t),ir();var u=s.child;u!==null?(u.return=s,mt=u):d9(e)}}function d9(e){for(;mt!==null;){var t=mt,s=t.sibling,u=t.return;if(jF(t),t===e){mt=null;return}if(s!==null){s.return=u,mt=s;return}mt=u}}function f9(e,t){switch(e.tag){case x:case Y:case se:{e.mode&f?(UD(),Wl(ui,e,t),zD(e)):Wl(ui,e,t);break}}}function p9(e){switch(e.tag){case x:case Y:case se:{try{bf($a|Aa,e)}catch(s){mr(e,e.return,s)}break}case E:{var t=e.stateNode;try{t.componentDidMount()}catch(s){mr(e,e.return,s)}break}}}function h9(e){switch(e.tag){case x:case Y:case se:{try{bf(ui|Aa,e)}catch(t){mr(e,e.return,t)}break}}}function m9(e){switch(e.tag){case x:case Y:case se:{try{Wl($a|Aa,e,e.return)}catch(s){mr(e,e.return,s)}break}case E:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&kS(e,e.return,t);break}}}function g9(e){switch(e.tag){case x:case Y:case se:try{Wl(ui|Aa,e,e.return)}catch(t){mr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var uy=Symbol.for;uy("selector.component"),uy("selector.has_pseudo_class"),uy("selector.role"),uy("selector.test_id"),uy("selector.text")}var v9=[];function y9(){v9.forEach(function(e){return e()})}var b9=i.ReactCurrentActQueue;function k9(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function QF(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&b9.current!==null&&v("The current testing environment is not configured to support act(...)"),e}}var w9=Math.ceil,CS=i.ReactCurrentDispatcher,xS=i.ReactCurrentOwner,pi=i.ReactCurrentBatchConfig,Ql=i.ReactCurrentActQueue,Oa=0,XF=1,hi=2,tl=4,od=0,cy=1,oh=2,g0=3,dy=4,KF=5,_S=6,Cn=Oa,oo=null,zr=null,Ra=ae,ec=ae,ES=cf(ae),La=od,fy=null,v0=ae,py=ae,y0=ae,hy=null,Io=null,TS=0,JF=500,ZF=1/0,D9=500,sd=null;function my(){ZF=Or()+D9}function eA(){return ZF}var b0=!1,FS=null,tg=null,sh=!1,wf=null,gy=ae,AS=[],$S=null,S9=50,vy=0,PS=null,NS=!1,k0=!1,C9=50,ng=0,w0=null,D0=sr,S0=ae,tA=!1;function C0(){return oo}function so(){return(Cn&(hi|tl))!==Oa?Or():(D0!==sr||(D0=Or()),D0)}function Df(e){var t=e.mode;if((t&nn)===xt)return Ee;if((Cn&hi)!==Oa&&Ra!==ae)return Np(Ra);var s=b6()!==y6;if(s){if(pi.transition!==null){var u=pi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return S0===qe&&(S0=ov()),S0}var p=us();if(p!==qe)return p;var y=r8();return y}function x9(e){var t=e.mode;return(t&nn)===xt?Ee:xb()}function Ba(e,t,s,u){Q9(),tA&&v("useInsertionEffect must not schedule updates."),NS&&(k0=!0),Hc(e,s,u),(Cn&hi)!==ae&&e===oo?J9(t):(Ga&&pm(e,t,s),Z9(t),e===oo&&((Cn&hi)===Oa&&(py=Kt(py,s)),La===dy&&Sf(e,Ra)),jo(e,u),s===Ee&&Cn===Oa&&(t.mode&nn)===xt&&!Ql.isBatchingLegacy&&(my(),tT()))}function _9(e,t,s){var u=e.current;u.lanes=t,Hc(e,t,s),jo(e,s)}function E9(e){return(Cn&hi)!==Oa}function jo(e,t){var s=e.callbackNode;um(e,t);var u=lm(e,e===oo?Ra:ae);if(u===ae){s!==null&&vA(s),e.callbackNode=null,e.callbackPriority=qe;return}var p=Lu(u),y=e.callbackPriority;if(y===p&&!(Ql.current!==null&&s!==jS)){s==null&&y!==Ee&&v("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&vA(s);var w;if(p===Ee)e.tag===df?(Ql.isBatchingLegacy!==null&&(Ql.didScheduleLegacyUpdate=!0),t6(aA.bind(null,e))):eT(aA.bind(null,e)),Ql.current!==null?Ql.current.push(ff):i8(function(){(Cn&(hi|tl))===Oa&&ff()}),w=null;else{var _;switch(Ea(u)){case Ni:_=Nu;break;case ls:_=zs;break;case Ws:_=$o;break;case Vc:_=as;break;default:_=$o;break}w=zS(_,nA.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function nA(e,t){if(q6(),D0=sr,S0=ae,(Cn&(hi|tl))!==Oa)throw new Error("Should not already be working.");var s=e.callbackNode,u=ud();if(u&&e.callbackNode!==s)return null;var p=lm(e,e===oo?Ra:ae);if(p===ae)return null;var y=!dm(e,p)&&!Cb(e,p)&&!t,w=y?B9(e,p):_0(e,p);if(w!==od){if(w===oh){var _=cm(e);_!==ae&&(p=_,w=OS(e,_))}if(w===cy){var T=fy;throw lh(e,ae),Sf(e,p),jo(e,Or()),T}if(w===_S)Sf(e,p);else{var R=!dm(e,p),M=e.current.alternate;if(R&&!F9(M)){if(w=_0(e,p),w===oh){var re=cm(e);re!==ae&&(p=re,w=OS(e,re))}if(w===cy){var Z=fy;throw lh(e,ae),Sf(e,p),jo(e,Or()),Z}}e.finishedWork=M,e.finishedLanes=p,T9(e,w,p)}}return jo(e,Or()),e.callbackNode===s?nA.bind(null,e):null}function OS(e,t){var s=hy;if(hm(e)){var u=lh(e,t);u.flags|=ha,Y8(e.containerInfo)}var p=_0(e,t);if(p!==oh){var y=Io;Io=s,y!==null&&rA(y)}return p}function rA(e){Io===null?Io=e:Io.push.apply(Io,e)}function T9(e,t,s){switch(t){case od:case cy:throw new Error("Root did not complete. This is a bug in React.");case oh:{uh(e,Io,sd);break}case g0:{if(Sf(e,s),zc(s)&&!yA()){var u=TS+JF-Or();if(u>10){var p=lm(e,ae);if(p!==ae)break;var y=e.suspendedLanes;if(!Uc(y,s)){so(),uv(e,y);break}e.timeoutHandle=$2(uh.bind(null,e,Io,sd),u);break}}uh(e,Io,sd);break}case dy:{if(Sf(e,s),av(s))break;if(!yA()){var w=ss(e,s),_=w,T=Or()-_,R=Y9(T)-T;if(R>10){e.timeoutHandle=$2(uh.bind(null,e,Io,sd),R);break}}uh(e,Io,sd);break}case KF:{uh(e,Io,sd);break}default:throw new Error("Unknown root exit status.")}}function F9(e){for(var t=e;;){if(t.flags&$u){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,_=y.value;try{if(!oe(w(),_))return!1}catch{return!1}}}}var T=t.child;if(t.subtreeFlags&$u&&T!==null){T.return=t,t=T;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 Sf(e,t){t=Op(t,y0),t=Op(t,py),_b(e,t)}function aA(e){if(W6(),(Cn&(hi|tl))!==Oa)throw new Error("Should not already be working.");ud();var t=lm(e,ae);if(!Pi(t,Ee))return jo(e,Or()),null;var s=_0(e,t);if(e.tag!==df&&s===oh){var u=cm(e);u!==ae&&(t=u,s=OS(e,u))}if(s===cy){var p=fy;throw lh(e,ae),Sf(e,t),jo(e,Or()),p}if(s===_S)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,uh(e,Io,sd),jo(e,Or()),null}function A9(e,t){t!==ae&&(Rp(e,Kt(t,Ee)),jo(e,Or()),(Cn&(hi|tl))===Oa&&(my(),ff()))}function RS(e,t){var s=Cn;Cn|=XF;try{return e(t)}finally{Cn=s,Cn===Oa&&!Ql.isBatchingLegacy&&(my(),tT())}}function $9(e,t,s,u,p){var y=us(),w=pi.transition;try{return pi.transition=null,na(Ni),e(t,s,u,p)}finally{na(y),pi.transition=w,Cn===Oa&&my()}}function ld(e){wf!==null&&wf.tag===df&&(Cn&(hi|tl))===Oa&&ud();var t=Cn;Cn|=XF;var s=pi.transition,u=us();try{return pi.transition=null,na(Ni),e?e():void 0}finally{na(u),pi.transition=s,Cn=t,(Cn&(hi|tl))===Oa&&ff()}}function iA(){return(Cn&(hi|tl))!==Oa}function x0(e,t){Bi(ES,ec,e),ec=Kt(ec,t)}function LS(e){ec=ES.current,Li(ES,e)}function lh(e,t){e.finishedWork=null,e.finishedLanes=ae;var s=e.timeoutHandle;if(s!==P2&&(e.timeoutHandle=P2,a8(s)),zr!==null)for(var u=zr.return;u!==null;){var p=u.alternate;OF(p,u),u=u.return}oo=e;var y=ch(e.current,null);return zr=y,Ra=ec=t,La=od,fy=null,v0=ae,py=ae,y0=ae,hy=null,Io=null,_6(),zl.discardPendingWarnings(),y}function oA(e,t){do{var s=zr;try{if(Ok(),AT(),ir(),xS.current=null,s===null||s.return===null){La=cy,fy=t,zr=null;return}if(at&&s.mode&f&&u0(s,!0),gt)if(oi(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;Po(s,u,Ra)}else Pc(s,t,Ra);t5(e,s.return,s,t,Ra),cA(s)}catch(p){t=p,zr===s&&s!==null?(s=s.return,zr=s):s=zr;continue}return}while(!0)}function sA(){var e=CS.current;return CS.current=a0,e===null?a0:e}function lA(e){CS.current=e}function P9(){TS=Or()}function yy(e){v0=Kt(e,v0)}function N9(){La===od&&(La=g0)}function BS(){(La===od||La===g0||La===oh)&&(La=dy),oo!==null&&(Pp(v0)||Pp(py))&&Sf(oo,Ra)}function O9(e){La!==dy&&(La=oh),hy===null?hy=[e]:hy.push(e)}function R9(){return La===od}function _0(e,t){var s=Cn;Cn|=hi;var u=sA();if(oo!==e||Ra!==t){if(Ga){var p=e.memoizedUpdaters;p.size>0&&(by(e,Ra),p.clear()),Lp(e,t)}sd=Tb(),lh(e,t)}Vs(t);do try{L9();break}catch(y){oA(e,y)}while(!0);if(Ok(),Cn=s,lA(u),zr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Rc(),oo=null,Ra=ae,La}function L9(){for(;zr!==null;)uA(zr)}function B9(e,t){var s=Cn;Cn|=hi;var u=sA();if(oo!==e||Ra!==t){if(Ga){var p=e.memoizedUpdaters;p.size>0&&(by(e,Ra),p.clear()),Lp(e,t)}sd=Tb(),my(),lh(e,t)}Vs(t);do try{M9();break}catch(y){oA(e,y)}while(!0);return Ok(),lA(u),Cn=s,zr!==null?(Oc(),od):(Rc(),oo=null,Ra=ae,La)}function M9(){for(;zr!==null&&!yp();)uA(zr)}function uA(e){var t=e.alternate;Tn(e);var s;(e.mode&f)!==xt?(jD(e),s=MS(t,e,ec),u0(e,!0)):s=MS(t,e,ec),ir(),e.memoizedProps=e.pendingProps,s===null?cA(e):zr=s,xS.current=null}function cA(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Ac)===Ct){Tn(t);var p=void 0;if((t.mode&f)===xt?p=NF(s,t,ec):(jD(t),p=NF(s,t,ec),u0(t,!1)),ir(),p!==null){zr=p;return}}else{var y=N5(s,t);if(y!==null){y.flags&=ns,zr=y;return}if((t.mode&f)!==xt){u0(t,!1);for(var w=t.actualDuration,_=t.child;_!==null;)w+=_.actualDuration,_=_.sibling;t.actualDuration=w}if(u!==null)u.flags|=Ac,u.subtreeFlags=Ct,u.deletions=null;else{La=_S,zr=null;return}}var T=t.sibling;if(T!==null){zr=T;return}t=u,zr=t}while(t!==null);La===od&&(La=KF)}function uh(e,t,s){var u=us(),p=pi.transition;try{pi.transition=null,na(Ni),I9(e,t,s,u)}finally{pi.transition=p,na(u)}return null}function I9(e,t,s,u){do ud();while(wf!==null);if(X9(),(Cn&(hi|tl))!==Oa)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Sp(y),p===null)return Ou(),null;if(y===ae&&v("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ae,p===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=qe;var w=Kt(p.lanes,p.childLanes);cv(e,w),e===oo&&(oo=null,zr=null,Ra=ae),((p.subtreeFlags&Fo)!==Ct||(p.flags&Fo)!==Ct)&&(sh||(sh=!0,$S=s,zS($o,function(){return ud(),null})));var _=(p.subtreeFlags&(Bs|Ms|Is|Fo))!==Ct,T=(p.flags&(Bs|Ms|Is|Fo))!==Ct;if(_||T){var R=pi.transition;pi.transition=null;var M=us();na(Ni);var re=Cn;Cn|=tl,xS.current=null,M5(e,p),tF(),J5(e,p,y),K4(e.containerInfo),e.current=p,Nc(y),Z5(p,e,y),Ru(),bp(),Cn=re,na(M),pi.transition=R}else e.current=p,tF();var Z=sh;if(sh?(sh=!1,wf=e,gy=y):(ng=0,w0=null),w=e.pendingLanes,w===ae&&(tg=null),Z||hA(e.current,!1),Gd(p.stateNode,u),Ga&&e.memoizedUpdaters.clear(),y9(),jo(e,Or()),t!==null)for(var pe=e.onRecoverableError,ve=0;ve<t.length;ve++){var xe=t[ve],nt=xe.stack,St=xe.digest;pe(xe.value,{componentStack:nt,digest:St})}if(b0){b0=!1;var Ot=FS;throw FS=null,Ot}return Pi(gy,Ee)&&e.tag!==df&&ud(),w=e.pendingLanes,Pi(w,Ee)?(V6(),e===PS?vy++:(vy=0,PS=e)):vy=0,ff(),Ou(),null}function ud(){if(wf!==null){var e=Ea(gy),t=Ab(Ws,e),s=pi.transition,u=us();try{return pi.transition=null,na(t),z9()}finally{na(u),pi.transition=s}}return!1}function j9(e){AS.push(e),sh||(sh=!0,zS($o,function(){return ud(),null}))}function z9(){if(wf===null)return!1;var e=$S;$S=null;var t=wf,s=gy;if(wf=null,gy=ae,(Cn&(hi|tl))!==Oa)throw new Error("Cannot flush passive effects while already rendering.");NS=!0,k0=!1,Al(s);var u=Cn;Cn|=tl,o9(t.current),n9(t,t.current,s,e);{var p=AS;AS=[];for(var y=0;y<p.length;y++){var w=p[y];U5(t,w)}}Qd(),hA(t.current,!0),Cn=u,ff(),k0?t===w0?ng++:(ng=0,w0=t):ng=0,NS=!1,k0=!1,wp(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function dA(e){return tg!==null&&tg.has(e)}function U9(e){tg===null?tg=new Set([e]):tg.add(e)}function H9(e){b0||(b0=!0,FS=e)}var V9=H9;function fA(e,t,s){var u=ah(s,t),p=uF(e,u,Ee),y=hf(e,p,Ee),w=so();y!==null&&(Hc(y,Ee,w),jo(y,w))}function mr(e,t,s){if(R5(s),ky(!1),e.tag===N){fA(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===N){fA(u,e,s);return}else if(u.tag===E){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!dA(y)){var w=ah(s,e),_=aS(u,w,Ee),T=hf(u,_,Ee),R=so();T!==null&&(Hc(T,Ee,R),jo(T,R));return}}u=u.return}v(`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.
|
|
276
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:R=" You returned: "+_,v("%s must not return anything besides a function, which is used for clean-up.%s",T,R)}}}y=y.next}while(y!==p)}}function U5(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case ne:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=eF(),_=t.alternate===null?"mount":"update";ZT()&&(_="nested-update"),typeof y=="function"&&y(p,_,s,w);var T=t.return;e:for(;T!==null;){switch(T.tag){case N:var R=T.stateNode;R.passiveEffectDuration+=s;break e;case ne:var M=T.stateNode;M.passiveEffectDuration+=s;break e}T=T.return}break}}}function H5(e,t,s,u){if((s.flags&Is)!==Ct)switch(s.tag){case x:case Y:case se:{if(!di)if(s.mode&f)try{Ju(),bf($a|Aa,s)}finally{Ku(s)}else bf($a|Aa,s);break}case E:{var p=s.stateNode;if(s.flags&mn&&!di)if(t===null)if(s.type===s.elementType&&!ih&&(p.props!==s.memoizedProps&&v("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Mt(s)||"instance")),s.mode&f)try{Ju(),p.componentDidMount()}finally{Ku(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:Vl(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!ih&&(p.props!==s.memoizedProps&&v("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Mt(s)||"instance")),s.mode&f)try{Ju(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{Ku(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!ih&&(p.props!==s.memoizedProps&&v("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.",Mt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Mt(s)||"instance")),CT(s,_,p));break}case N:{var T=s.updateQueue;if(T!==null){var R=null;if(s.child!==null)switch(s.child.tag){case B:R=s.child.stateNode;break;case E:R=s.child.stateNode;break}CT(s,T,R)}break}case B:{var M=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,Z=s.memoizedProps;s8(M,re,Z)}break}case j:break;case O:break;case ne:{{var pe=s.memoizedProps,ve=pe.onCommit,xe=pe.onRender,nt=s.stateNode.effectDuration,St=eF(),Ot=t===null?"mount":"update";ZT()&&(Ot="nested-update"),typeof xe=="function"&&xe(s.memoizedProps.id,Ot,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ve=="function"&&ve(s.memoizedProps.id,Ot,nt,St),j9(s);var dn=s.return;e:for(;dn!==null;){switch(dn.tag){case N:var sn=dn.stateNode;sn.effectDuration+=nt;break e;case ne:var ue=dn.stateNode;ue.effectDuration+=nt;break e}dn=dn.return}}}break}case U:{K5(e,s);break}case Ye:case ke:case Ge:case Ue:case Ne:case Me: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.")}di||s.flags&Vn&&IF(s)}function V5(e){switch(e.tag){case x:case Y:case se:{if(e.mode&f)try{Ju(),LF(e,e.return)}finally{Ku(e)}else LF(e,e.return);break}case E:{var t=e.stateNode;typeof t.componentDidMount=="function"&&B5(e,e.return,t),BF(e,e.return);break}case B:{BF(e,e.return);break}}}function q5(e,t){for(var s=null,u=e;;){if(u.tag===B){if(s===null){s=u;try{var p=u.stateNode;t?v8(p):b8(u.stateNode,u.memoizedProps)}catch(w){mr(e,e.return,w)}}}else if(u.tag===j){if(s===null)try{var y=u.stateNode;t?y8(y):k8(y,u.memoizedProps)}catch(w){mr(e,e.return,w)}}else if(!((u.tag===Ue||u.tag===Ne)&&u.memoizedState!==null&&u!==e)&&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;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function IF(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case B:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&f)try{Ju(),p=t(u)}finally{Ku(e)}else p=t(u);typeof p=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Mt(e))}else t.hasOwnProperty("current")||v("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Mt(e)),t.current=u}}function W5(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function jF(e){var t=e.alternate;t!==null&&(e.alternate=null,jF(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===B){var s=e.stateNode;s!==null&&J8(s)}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 G5(e){for(var t=e.return;t!==null;){if(zF(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 zF(e){return e.tag===B||e.tag===N||e.tag===O}function UF(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||zF(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==B&&t.tag!==j&&t.tag!==Qe;){if(t.flags&Er||t.child===null||t.tag===O)continue e;t.child.return=t,t=t.child}if(!(t.flags&Er))return t.stateNode}}function Y5(e){var t=G5(e);switch(t.tag){case B:{var s=t.stateNode;t.flags&Pt&&(VE(s),t.flags&=-33);var u=UF(e);DS(e,u,s);break}case N:case O:{var p=t.stateNode.containerInfo,y=UF(e);wS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wS(e,t,s){var u=e.tag,p=u===B||u===j;if(p){var y=e.stateNode;t?p8(s,y,t):d8(s,y)}else if(u!==O){var w=e.child;if(w!==null){wS(w,t,s);for(var _=w.sibling;_!==null;)wS(_,t,s),_=_.sibling}}}function DS(e,t,s){var u=e.tag,p=u===B||u===j;if(p){var y=e.stateNode;t?f8(s,y,t):c8(s,y)}else if(u!==O){var w=e.child;if(w!==null){DS(w,t,s);for(var _=w.sibling;_!==null;)DS(_,t,s),_=_.sibling}}}var fi=null,Gl=!1;function Q5(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case B:{fi=u.stateNode,Gl=!1;break e}case N:{fi=u.stateNode.containerInfo,Gl=!0;break e}case O:{fi=u.stateNode.containerInfo,Gl=!0;break e}}u=u.return}if(fi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");HF(e,t,s),fi=null,Gl=!1}W5(s)}function kf(e,t,s){for(var u=s.child;u!==null;)HF(e,t,u),u=u.sibling}function HF(e,t,s){switch(Dp(s),s.tag){case B:di||eg(s,t);case j:{{var u=fi,p=Gl;fi=null,kf(e,t,s),fi=u,Gl=p,fi!==null&&(Gl?m8(fi,s.stateNode):h8(fi,s.stateNode))}return}case Qe:{fi!==null&&(Gl?g8(fi,s.stateNode):N2(fi,s.stateNode));return}case O:{{var y=fi,w=Gl;fi=s.stateNode.containerInfo,Gl=!0,kf(e,t,s),fi=y,Gl=w}return}case x:case Y:case ie:case se:{if(!di){var _=s.updateQueue;if(_!==null){var T=_.lastEffect;if(T!==null){var R=T.next,M=R;do{var re=M,Z=re.destroy,pe=re.tag;Z!==void 0&&((pe&Yu)!==Mo?m0(s,t,Z):(pe&$a)!==Mo&&(Fl(s),s.mode&f?(Ju(),m0(s,t,Z),Ku(s)):m0(s,t,Z),xp())),M=M.next}while(M!==R)}}}kf(e,t,s);return}case E:{if(!di){eg(s,t);var ve=s.stateNode;typeof ve.componentWillUnmount=="function"&&kS(s,t,ve)}kf(e,t,s);return}case Ge:{kf(e,t,s);return}case Ue:{if(s.mode&nn){var xe=di;di=xe||s.memoizedState!==null,kf(e,t,s),di=xe}else kf(e,t,s);break}default:{kf(e,t,s);return}}}function X5(e){e.memoizedState}function K5(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&R8(y)}}}}function VF(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new O5),t.forEach(function(u){var p=G9.bind(null,e,u);if(!s.has(u)){if(s.add(u),Ga)if(Jm!==null&&Zm!==null)by(Zm,Jm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function J5(e,t,s){Jm=s,Zm=e,Tn(t),qF(t,e),Tn(t),Jm=null,Zm=null}function Yl(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{Q5(e,t,y)}catch(T){mr(y,t,T)}}var w=ni();if(t.subtreeFlags&Ms)for(var _=t.child;_!==null;)Tn(_),qF(_,e),_=_.sibling;Tn(w)}function qF(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case x:case Y:case ie:case se:{if(Yl(t,e),Zu(e),p&mn){try{Wl(Yu|Aa,e,e.return),bf(Yu|Aa,e)}catch(It){mr(e,e.return,It)}if(e.mode&f){try{Ju(),Wl($a|Aa,e,e.return)}catch(It){mr(e,e.return,It)}Ku(e)}else try{Wl($a|Aa,e,e.return)}catch(It){mr(e,e.return,It)}}return}case E:{Yl(t,e),Zu(e),p&Vn&&u!==null&&eg(u,u.return);return}case B:{Yl(t,e),Zu(e),p&Vn&&u!==null&&eg(u,u.return);{if(e.flags&Pt){var y=e.stateNode;try{VE(y)}catch(It){mr(e,e.return,It)}}if(p&mn){var w=e.stateNode;if(w!=null){var _=e.memoizedProps,T=u!==null?u.memoizedProps:_,R=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{l8(w,M,R,T,_,e)}catch(It){mr(e,e.return,It)}}}}return}case j:{if(Yl(t,e),Zu(e),p&mn){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 re=e.stateNode,Z=e.memoizedProps,pe=u!==null?u.memoizedProps:Z;try{u8(re,pe,Z)}catch(It){mr(e,e.return,It)}}return}case N:{if(Yl(t,e),Zu(e),p&mn&&u!==null){var ve=u.memoizedState;if(ve.isDehydrated)try{O8(t.containerInfo)}catch(It){mr(e,e.return,It)}}return}case O:{Yl(t,e),Zu(e);return}case U:{Yl(t,e),Zu(e);var xe=e.child;if(xe.flags&Nr){var nt=xe.stateNode,St=xe.memoizedState,Ot=St!==null;if(nt.isHidden=Ot,Ot){var dn=xe.alternate!==null&&xe.alternate.memoizedState!==null;dn||P9()}}if(p&mn){try{X5(e)}catch(It){mr(e,e.return,It)}VF(e)}return}case Ue:{var sn=u!==null&&u.memoizedState!==null;if(e.mode&nn){var ue=di;di=ue||sn,Yl(t,e),di=ue}else Yl(t,e);if(Zu(e),p&Nr){var Se=e.stateNode,ce=e.memoizedState,He=ce!==null,ct=e;if(Se.isHidden=He,He&&!sn&&(ct.mode&nn)!==xt){mt=ct;for(var it=ct.child;it!==null;)mt=it,e9(it),it=it.sibling}q5(ct,He)}return}case Ye:{Yl(t,e),Zu(e),p&mn&&VF(e);return}case Ge:return;default:{Yl(t,e),Zu(e);return}}}function Zu(e){var t=e.flags;if(t&Er){try{Y5(e)}catch(s){mr(e,e.return,s)}e.flags&=-3}t&Ti&&(e.flags&=-4097)}function Z5(e,t,s){Jm=s,Zm=t,mt=e,WF(e,t,s),Jm=null,Zm=null}function WF(e,t,s){for(var u=(e.mode&nn)!==xt;mt!==null;){var p=mt,y=p.child;if(p.tag===Ue&&u){var w=p.memoizedState!==null,_=w||h0;if(_){SS(e,t,s);continue}else{var T=p.alternate,R=T!==null&&T.memoizedState!==null,M=R||di,re=h0,Z=di;h0=_,di=M,di&&!Z&&(mt=p,t9(p));for(var pe=y;pe!==null;)mt=pe,WF(pe,t,s),pe=pe.sibling;mt=p,h0=re,di=Z,SS(e,t,s);continue}}(p.subtreeFlags&Is)!==Ct&&y!==null?(y.return=p,mt=y):SS(e,t,s)}}function SS(e,t,s){for(;mt!==null;){var u=mt;if((u.flags&Is)!==Ct){var p=u.alternate;Tn(u);try{H5(t,p,u,s)}catch(w){mr(u,u.return,w)}ir()}if(u===e){mt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,mt=y;return}mt=u.return}}function e9(e){for(;mt!==null;){var t=mt,s=t.child;switch(t.tag){case x:case Y:case ie:case se:{if(t.mode&f)try{Ju(),Wl($a,t,t.return)}finally{Ku(t)}else Wl($a,t,t.return);break}case E:{eg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&kS(t,t.return,u);break}case B:{eg(t,t.return);break}case Ue:{var p=t.memoizedState!==null;if(p){GF(e);continue}break}}s!==null?(s.return=t,mt=s):GF(e)}}function GF(e){for(;mt!==null;){var t=mt;if(t===e){mt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,mt=s;return}mt=t.return}}function t9(e){for(;mt!==null;){var t=mt,s=t.child;if(t.tag===Ue){var u=t.memoizedState!==null;if(u){YF(e);continue}}s!==null?(s.return=t,mt=s):YF(e)}}function YF(e){for(;mt!==null;){var t=mt;Tn(t);try{V5(t)}catch(u){mr(t,t.return,u)}if(ir(),t===e){mt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,mt=s;return}mt=t.return}}function n9(e,t,s,u){mt=t,r9(t,e,s,u)}function r9(e,t,s,u){for(;mt!==null;){var p=mt,y=p.child;(p.subtreeFlags&Fo)!==Ct&&y!==null?(y.return=p,mt=y):a9(e,t,s,u)}}function a9(e,t,s,u){for(;mt!==null;){var p=mt;if((p.flags&Ha)!==Ct){Tn(p);try{i9(t,p,s,u)}catch(w){mr(p,p.return,w)}ir()}if(p===e){mt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,mt=y;return}mt=p.return}}function i9(e,t,s,u){switch(t.tag){case x:case Y:case se:{if(t.mode&f){UD();try{bf(ui|Aa,t)}finally{zD(t)}}else bf(ui|Aa,t);break}}}function o9(e){mt=e,s9()}function s9(){for(;mt!==null;){var e=mt,t=e.child;if((mt.flags&Ei)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];mt=p,c9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}mt=e}}(e.subtreeFlags&Fo)!==Ct&&t!==null?(t.return=e,mt=t):l9()}}function l9(){for(;mt!==null;){var e=mt;(e.flags&Ha)!==Ct&&(Tn(e),u9(e),ir());var t=e.sibling;if(t!==null){t.return=e.return,mt=t;return}mt=e.return}}function u9(e){switch(e.tag){case x:case Y:case se:{e.mode&f?(UD(),Wl(ui|Aa,e,e.return),zD(e)):Wl(ui|Aa,e,e.return);break}}}function c9(e,t){for(;mt!==null;){var s=mt;Tn(s),f9(s,t),ir();var u=s.child;u!==null?(u.return=s,mt=u):d9(e)}}function d9(e){for(;mt!==null;){var t=mt,s=t.sibling,u=t.return;if(jF(t),t===e){mt=null;return}if(s!==null){s.return=u,mt=s;return}mt=u}}function f9(e,t){switch(e.tag){case x:case Y:case se:{e.mode&f?(UD(),Wl(ui,e,t),zD(e)):Wl(ui,e,t);break}}}function p9(e){switch(e.tag){case x:case Y:case se:{try{bf($a|Aa,e)}catch(s){mr(e,e.return,s)}break}case E:{var t=e.stateNode;try{t.componentDidMount()}catch(s){mr(e,e.return,s)}break}}}function h9(e){switch(e.tag){case x:case Y:case se:{try{bf(ui|Aa,e)}catch(t){mr(e,e.return,t)}break}}}function m9(e){switch(e.tag){case x:case Y:case se:{try{Wl($a|Aa,e,e.return)}catch(s){mr(e,e.return,s)}break}case E:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&kS(e,e.return,t);break}}}function g9(e){switch(e.tag){case x:case Y:case se:try{Wl(ui|Aa,e,e.return)}catch(t){mr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var uy=Symbol.for;uy("selector.component"),uy("selector.has_pseudo_class"),uy("selector.role"),uy("selector.test_id"),uy("selector.text")}var v9=[];function y9(){v9.forEach(function(e){return e()})}var b9=i.ReactCurrentActQueue;function k9(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function QF(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&b9.current!==null&&v("The current testing environment is not configured to support act(...)"),e}}var w9=Math.ceil,CS=i.ReactCurrentDispatcher,xS=i.ReactCurrentOwner,pi=i.ReactCurrentBatchConfig,Ql=i.ReactCurrentActQueue,Oa=0,XF=1,hi=2,tl=4,od=0,cy=1,oh=2,g0=3,dy=4,KF=5,_S=6,Cn=Oa,oo=null,zr=null,Ra=ae,ec=ae,ES=cf(ae),La=od,fy=null,v0=ae,py=ae,y0=ae,hy=null,Io=null,TS=0,JF=500,ZF=1/0,D9=500,sd=null;function my(){ZF=Or()+D9}function eA(){return ZF}var b0=!1,FS=null,tg=null,sh=!1,wf=null,gy=ae,AS=[],$S=null,S9=50,vy=0,PS=null,NS=!1,k0=!1,C9=50,ng=0,w0=null,D0=sr,S0=ae,tA=!1;function C0(){return oo}function so(){return(Cn&(hi|tl))!==Oa?Or():(D0!==sr||(D0=Or()),D0)}function Df(e){var t=e.mode;if((t&nn)===xt)return Ee;if((Cn&hi)!==Oa&&Ra!==ae)return Np(Ra);var s=b6()!==y6;if(s){if(pi.transition!==null){var u=pi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return S0===qe&&(S0=ov()),S0}var p=us();if(p!==qe)return p;var y=r8();return y}function x9(e){var t=e.mode;return(t&nn)===xt?Ee:xb()}function Ba(e,t,s,u){Q9(),tA&&v("useInsertionEffect must not schedule updates."),NS&&(k0=!0),Hc(e,s,u),(Cn&hi)!==ae&&e===oo?J9(t):(Ga&&pm(e,t,s),Z9(t),e===oo&&((Cn&hi)===Oa&&(py=Kt(py,s)),La===dy&&Sf(e,Ra)),jo(e,u),s===Ee&&Cn===Oa&&(t.mode&nn)===xt&&!Ql.isBatchingLegacy&&(my(),tT()))}function _9(e,t,s){var u=e.current;u.lanes=t,Hc(e,t,s),jo(e,s)}function E9(e){return(Cn&hi)!==Oa}function jo(e,t){var s=e.callbackNode;um(e,t);var u=lm(e,e===oo?Ra:ae);if(u===ae){s!==null&&vA(s),e.callbackNode=null,e.callbackPriority=qe;return}var p=Lu(u),y=e.callbackPriority;if(y===p&&!(Ql.current!==null&&s!==jS)){s==null&&y!==Ee&&v("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&vA(s);var w;if(p===Ee)e.tag===df?(Ql.isBatchingLegacy!==null&&(Ql.didScheduleLegacyUpdate=!0),t6(aA.bind(null,e))):eT(aA.bind(null,e)),Ql.current!==null?Ql.current.push(ff):i8(function(){(Cn&(hi|tl))===Oa&&ff()}),w=null;else{var _;switch(Ea(u)){case Ni:_=Nu;break;case ls:_=zs;break;case Ws:_=$o;break;case Vc:_=as;break;default:_=$o;break}w=zS(_,nA.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function nA(e,t){if(q6(),D0=sr,S0=ae,(Cn&(hi|tl))!==Oa)throw new Error("Should not already be working.");var s=e.callbackNode,u=ud();if(u&&e.callbackNode!==s)return null;var p=lm(e,e===oo?Ra:ae);if(p===ae)return null;var y=!dm(e,p)&&!Cb(e,p)&&!t,w=y?B9(e,p):_0(e,p);if(w!==od){if(w===oh){var _=cm(e);_!==ae&&(p=_,w=OS(e,_))}if(w===cy){var T=fy;throw lh(e,ae),Sf(e,p),jo(e,Or()),T}if(w===_S)Sf(e,p);else{var R=!dm(e,p),M=e.current.alternate;if(R&&!F9(M)){if(w=_0(e,p),w===oh){var re=cm(e);re!==ae&&(p=re,w=OS(e,re))}if(w===cy){var Z=fy;throw lh(e,ae),Sf(e,p),jo(e,Or()),Z}}e.finishedWork=M,e.finishedLanes=p,T9(e,w,p)}}return jo(e,Or()),e.callbackNode===s?nA.bind(null,e):null}function OS(e,t){var s=hy;if(hm(e)){var u=lh(e,t);u.flags|=ha,Y8(e.containerInfo)}var p=_0(e,t);if(p!==oh){var y=Io;Io=s,y!==null&&rA(y)}return p}function rA(e){Io===null?Io=e:Io.push.apply(Io,e)}function T9(e,t,s){switch(t){case od:case cy:throw new Error("Root did not complete. This is a bug in React.");case oh:{uh(e,Io,sd);break}case g0:{if(Sf(e,s),zc(s)&&!yA()){var u=TS+JF-Or();if(u>10){var p=lm(e,ae);if(p!==ae)break;var y=e.suspendedLanes;if(!Uc(y,s)){so(),uv(e,y);break}e.timeoutHandle=$2(uh.bind(null,e,Io,sd),u);break}}uh(e,Io,sd);break}case dy:{if(Sf(e,s),av(s))break;if(!yA()){var w=ss(e,s),_=w,T=Or()-_,R=Y9(T)-T;if(R>10){e.timeoutHandle=$2(uh.bind(null,e,Io,sd),R);break}}uh(e,Io,sd);break}case KF:{uh(e,Io,sd);break}default:throw new Error("Unknown root exit status.")}}function F9(e){for(var t=e;;){if(t.flags&$u){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,_=y.value;try{if(!oe(w(),_))return!1}catch{return!1}}}}var T=t.child;if(t.subtreeFlags&$u&&T!==null){T.return=t,t=T;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 Sf(e,t){t=Op(t,y0),t=Op(t,py),_b(e,t)}function aA(e){if(W6(),(Cn&(hi|tl))!==Oa)throw new Error("Should not already be working.");ud();var t=lm(e,ae);if(!Pi(t,Ee))return jo(e,Or()),null;var s=_0(e,t);if(e.tag!==df&&s===oh){var u=cm(e);u!==ae&&(t=u,s=OS(e,u))}if(s===cy){var p=fy;throw lh(e,ae),Sf(e,t),jo(e,Or()),p}if(s===_S)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,uh(e,Io,sd),jo(e,Or()),null}function A9(e,t){t!==ae&&(Rp(e,Kt(t,Ee)),jo(e,Or()),(Cn&(hi|tl))===Oa&&(my(),ff()))}function RS(e,t){var s=Cn;Cn|=XF;try{return e(t)}finally{Cn=s,Cn===Oa&&!Ql.isBatchingLegacy&&(my(),tT())}}function $9(e,t,s,u,p){var y=us(),w=pi.transition;try{return pi.transition=null,na(Ni),e(t,s,u,p)}finally{na(y),pi.transition=w,Cn===Oa&&my()}}function ld(e){wf!==null&&wf.tag===df&&(Cn&(hi|tl))===Oa&&ud();var t=Cn;Cn|=XF;var s=pi.transition,u=us();try{return pi.transition=null,na(Ni),e?e():void 0}finally{na(u),pi.transition=s,Cn=t,(Cn&(hi|tl))===Oa&&ff()}}function iA(){return(Cn&(hi|tl))!==Oa}function x0(e,t){Bi(ES,ec,e),ec=Kt(ec,t)}function LS(e){ec=ES.current,Li(ES,e)}function lh(e,t){e.finishedWork=null,e.finishedLanes=ae;var s=e.timeoutHandle;if(s!==P2&&(e.timeoutHandle=P2,a8(s)),zr!==null)for(var u=zr.return;u!==null;){var p=u.alternate;OF(p,u),u=u.return}oo=e;var y=ch(e.current,null);return zr=y,Ra=ec=t,La=od,fy=null,v0=ae,py=ae,y0=ae,hy=null,Io=null,_6(),zl.discardPendingWarnings(),y}function oA(e,t){do{var s=zr;try{if(Ok(),AT(),ir(),xS.current=null,s===null||s.return===null){La=cy,fy=t,zr=null;return}if(at&&s.mode&f&&u0(s,!0),gt)if(oi(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;Po(s,u,Ra)}else Pc(s,t,Ra);t5(e,s.return,s,t,Ra),cA(s)}catch(p){t=p,zr===s&&s!==null?(s=s.return,zr=s):s=zr;continue}return}while(!0)}function sA(){var e=CS.current;return CS.current=a0,e===null?a0:e}function lA(e){CS.current=e}function P9(){TS=Or()}function yy(e){v0=Kt(e,v0)}function N9(){La===od&&(La=g0)}function BS(){(La===od||La===g0||La===oh)&&(La=dy),oo!==null&&(Pp(v0)||Pp(py))&&Sf(oo,Ra)}function O9(e){La!==dy&&(La=oh),hy===null?hy=[e]:hy.push(e)}function R9(){return La===od}function _0(e,t){var s=Cn;Cn|=hi;var u=sA();if(oo!==e||Ra!==t){if(Ga){var p=e.memoizedUpdaters;p.size>0&&(by(e,Ra),p.clear()),Lp(e,t)}sd=Tb(),lh(e,t)}Vs(t);do try{L9();break}catch(y){oA(e,y)}while(!0);if(Ok(),Cn=s,lA(u),zr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Rc(),oo=null,Ra=ae,La}function L9(){for(;zr!==null;)uA(zr)}function B9(e,t){var s=Cn;Cn|=hi;var u=sA();if(oo!==e||Ra!==t){if(Ga){var p=e.memoizedUpdaters;p.size>0&&(by(e,Ra),p.clear()),Lp(e,t)}sd=Tb(),my(),lh(e,t)}Vs(t);do try{M9();break}catch(y){oA(e,y)}while(!0);return Ok(),lA(u),Cn=s,zr!==null?(Oc(),od):(Rc(),oo=null,Ra=ae,La)}function M9(){for(;zr!==null&&!yp();)uA(zr)}function uA(e){var t=e.alternate;Tn(e);var s;(e.mode&f)!==xt?(jD(e),s=MS(t,e,ec),u0(e,!0)):s=MS(t,e,ec),ir(),e.memoizedProps=e.pendingProps,s===null?cA(e):zr=s,xS.current=null}function cA(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Ac)===Ct){Tn(t);var p=void 0;if((t.mode&f)===xt?p=NF(s,t,ec):(jD(t),p=NF(s,t,ec),u0(t,!1)),ir(),p!==null){zr=p;return}}else{var y=N5(s,t);if(y!==null){y.flags&=ns,zr=y;return}if((t.mode&f)!==xt){u0(t,!1);for(var w=t.actualDuration,_=t.child;_!==null;)w+=_.actualDuration,_=_.sibling;t.actualDuration=w}if(u!==null)u.flags|=Ac,u.subtreeFlags=Ct,u.deletions=null;else{La=_S,zr=null;return}}var T=t.sibling;if(T!==null){zr=T;return}t=u,zr=t}while(t!==null);La===od&&(La=KF)}function uh(e,t,s){var u=us(),p=pi.transition;try{pi.transition=null,na(Ni),I9(e,t,s,u)}finally{pi.transition=p,na(u)}return null}function I9(e,t,s,u){do ud();while(wf!==null);if(X9(),(Cn&(hi|tl))!==Oa)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Sp(y),p===null)return Ou(),null;if(y===ae&&v("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ae,p===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=qe;var w=Kt(p.lanes,p.childLanes);cv(e,w),e===oo&&(oo=null,zr=null,Ra=ae),((p.subtreeFlags&Fo)!==Ct||(p.flags&Fo)!==Ct)&&(sh||(sh=!0,$S=s,zS($o,function(){return ud(),null})));var _=(p.subtreeFlags&(Bs|Ms|Is|Fo))!==Ct,T=(p.flags&(Bs|Ms|Is|Fo))!==Ct;if(_||T){var R=pi.transition;pi.transition=null;var M=us();na(Ni);var re=Cn;Cn|=tl,xS.current=null,M5(e,p),tF(),J5(e,p,y),K4(e.containerInfo),e.current=p,Nc(y),Z5(p,e,y),Ru(),bp(),Cn=re,na(M),pi.transition=R}else e.current=p,tF();var Z=sh;if(sh?(sh=!1,wf=e,gy=y):(ng=0,w0=null),w=e.pendingLanes,w===ae&&(tg=null),Z||hA(e.current,!1),Gd(p.stateNode,u),Ga&&e.memoizedUpdaters.clear(),y9(),jo(e,Or()),t!==null)for(var pe=e.onRecoverableError,ve=0;ve<t.length;ve++){var xe=t[ve],nt=xe.stack,St=xe.digest;pe(xe.value,{componentStack:nt,digest:St})}if(b0){b0=!1;var Ot=FS;throw FS=null,Ot}return Pi(gy,Ee)&&e.tag!==df&&ud(),w=e.pendingLanes,Pi(w,Ee)?(V6(),e===PS?vy++:(vy=0,PS=e)):vy=0,ff(),Ou(),null}function ud(){if(wf!==null){var e=Ea(gy),t=Ab(Ws,e),s=pi.transition,u=us();try{return pi.transition=null,na(t),z9()}finally{na(u),pi.transition=s}}return!1}function j9(e){AS.push(e),sh||(sh=!0,zS($o,function(){return ud(),null}))}function z9(){if(wf===null)return!1;var e=$S;$S=null;var t=wf,s=gy;if(wf=null,gy=ae,(Cn&(hi|tl))!==Oa)throw new Error("Cannot flush passive effects while already rendering.");NS=!0,k0=!1,Al(s);var u=Cn;Cn|=tl,o9(t.current),n9(t,t.current,s,e);{var p=AS;AS=[];for(var y=0;y<p.length;y++){var w=p[y];U5(t,w)}}Qd(),hA(t.current,!0),Cn=u,ff(),k0?t===w0?ng++:(ng=0,w0=t):ng=0,NS=!1,k0=!1,wp(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function dA(e){return tg!==null&&tg.has(e)}function U9(e){tg===null?tg=new Set([e]):tg.add(e)}function H9(e){b0||(b0=!0,FS=e)}var V9=H9;function fA(e,t,s){var u=ah(s,t),p=uF(e,u,Ee),y=hf(e,p,Ee),w=so();y!==null&&(Hc(y,Ee,w),jo(y,w))}function mr(e,t,s){if(R5(s),ky(!1),e.tag===N){fA(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===N){fA(u,e,s);return}else if(u.tag===E){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!dA(y)){var w=ah(s,e),_=aS(u,w,Ee),T=hf(u,_,Ee),R=so();T!==null&&(Hc(T,Ee,R),jo(T,R));return}}u=u.return}v(`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.
|
|
277
277
|
|
|
278
278
|
Error message:
|
|
279
279
|
|
|
280
|
-
%s`,s)}function q9(e,t,s){var u=e.pingCache;u!==null&&u.delete(t);var p=so();uv(e,s),
|
|
280
|
+
%s`,s)}function q9(e,t,s){var u=e.pingCache;u!==null&&u.delete(t);var p=so();uv(e,s),ez(e),oo===e&&Uc(Ra,s)&&(La===dy||La===g0&&zc(Ra)&&Or()-TS<JF?lh(e,ae):y0=Kt(y0,s)),jo(e,p)}function pA(e,t){t===qe&&(t=x9(e));var s=so(),u=Bo(e,t);u!==null&&(Hc(u,t,s),jo(u,s))}function W9(e){var t=e.memoizedState,s=qe;t!==null&&(s=t.retryLane),pA(e,s)}function G9(e,t){var s=qe,u;switch(e.tag){case U:u=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case Ye: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),pA(e,s)}function Y9(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:w9(e/1960)*1960}function Q9(){if(vy>S9)throw vy=0,PS=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.");ng>C9&&(ng=0,w0=null,v("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 X9(){zl.flushLegacyContextWarning(),zl.flushPendingUnsafeLifecycleWarnings()}function hA(e,t){Tn(e),E0(e,to,m9),t&&E0(e,To,g9),E0(e,to,p9),t&&E0(e,To,h9),ir()}function E0(e,t,s){for(var u=e,p=null;u!==null;){var y=u.subtreeFlags&t;u!==p&&u.child!==null&&y!==Ct?u=u.child:((u.flags&t)!==Ct&&s(u),u.sibling!==null?u=u.sibling:u=p=u.return)}}var T0=null;function mA(e){{if((Cn&hi)!==Oa||!(e.mode&nn))return;var t=e.tag;if(t!==A&&t!==N&&t!==E&&t!==x&&t!==Y&&t!==ie&&t!==se)return;var s=Mt(e)||"ReactComponent";if(T0!==null){if(T0.has(s))return;T0.add(s)}else T0=new Set([s]);var u=ea;try{Tn(e),v("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?Tn(e):ir()}}}var MS;{var K9=null;MS=function(e,t,s){var u=DA(K9,t);try{return TF(e,t,s)}catch(y){if(u6()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(Ok(),AT(),OF(e,t),DA(t,u),t.mode&f&&jD(t),Ji(null,TF,null,e,t,s),ts()){var p=Fc();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var gA=!1,IS;IS=new Set;function J9(e){if(Yi&&!z6())switch(e.tag){case x:case Y:case se:{var t=zr&&Mt(zr)||"Unknown",s=t;if(!IS.has(s)){IS.add(s);var u=Mt(e)||"Unknown";v("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 E:{gA||(v("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),gA=!0);break}}}function by(e,t){if(Ga){var s=e.memoizedUpdaters;s.forEach(function(u){pm(e,u,t)})}}var jS={};function zS(e,t){{var s=Ql.current;return s!==null?(s.push(t),jS):vp(e,t)}}function vA(e){if(e!==jS)return Kh(e)}function yA(){return Ql.current!==null}function Z9(e){{if(e.mode&nn){if(!QF())return}else if(!k9()||Cn!==Oa||e.tag!==x&&e.tag!==Y&&e.tag!==se)return;if(Ql.current===null){var t=ea;try{Tn(e),v(`An update to %s inside a test was not wrapped in act(...).
|
|
281
281
|
|
|
282
282
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
283
283
|
|
|
@@ -286,7 +286,7 @@ act(() => {
|
|
|
286
286
|
});
|
|
287
287
|
/* assert on the output */
|
|
288
288
|
|
|
289
|
-
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`,Mt(e))}finally{t?Tn(e):ir()}}}}function
|
|
289
|
+
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`,Mt(e))}finally{t?Tn(e):ir()}}}}function ez(e){e.tag!==df&&QF()&&Ql.current===null&&v(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
290
290
|
|
|
291
291
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
292
292
|
|
|
@@ -295,15 +295,15 @@ act(() => {
|
|
|
295
295
|
});
|
|
296
296
|
/* assert on the output */
|
|
297
297
|
|
|
298
|
-
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 ky(e){tA=e}var nl=null,rg=null,
|
|
298
|
+
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 ky(e){tA=e}var nl=null,rg=null,tz=function(e){nl=e};function ag(e){{if(nl===null)return e;var t=nl(e);return t===void 0?e:t.current}}function US(e){return ag(e)}function HS(e){{if(nl===null)return e;var t=nl(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=ag(e.render);if(e.render!==s){var u={$$typeof:Pe,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function bA(e,t){{if(nl===null)return!1;var s=e.elementType,u=t.type,p=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case E:{typeof u=="function"&&(p=!0);break}case x:{(typeof u=="function"||y===jt)&&(p=!0);break}case Y:{(y===Pe||y===jt)&&(p=!0);break}case ie:case se:{(y===Vt||y===jt)&&(p=!0);break}default:return!1}if(p){var w=nl(s);if(w!==void 0&&w===nl(u))return!0}return!1}}function kA(e){{if(nl===null||typeof WeakSet!="function")return;rg===null&&(rg=new WeakSet),rg.add(e)}}var nz=function(e,t){{if(nl===null)return;var s=t.staleFamilies,u=t.updatedFamilies;ud(),ld(function(){VS(e.current,u,s)})}},rz=function(e,t){{if(e.context!==ps)return;ud(),ld(function(){wy(t,e,null,null)})}};function VS(e,t,s){{var u=e.alternate,p=e.child,y=e.sibling,w=e.tag,_=e.type,T=null;switch(w){case x:case se:case E:T=_;break;case Y:T=_.render;break}if(nl===null)throw new Error("Expected resolveFamily to be set during hot reload.");var R=!1,M=!1;if(T!==null){var re=nl(T);re!==void 0&&(s.has(re)?M=!0:t.has(re)&&(w===E?M=!0:R=!0))}if(rg!==null&&(rg.has(e)||u!==null&&rg.has(u))&&(M=!0),M&&(e._debugNeedsRemount=!0),M||R){var Z=Bo(e,Ee);Z!==null&&Ba(Z,e,Ee,sr)}p!==null&&!M&&VS(p,t,s),y!==null&&VS(y,t,s)}}var az=function(e,t){{var s=new Set,u=new Set(t.map(function(p){return p.current}));return qS(e.current,u,s),s}};function qS(e,t,s){{var u=e.child,p=e.sibling,y=e.tag,w=e.type,_=null;switch(y){case x:case se:case E:_=w;break;case Y:_=w.render;break}var T=!1;_!==null&&t.has(_)&&(T=!0),T?iz(e,s):u!==null&&qS(u,t,s),p!==null&&qS(p,t,s)}}function iz(e,t){{var s=oz(e,t);if(s)return;for(var u=e;;){switch(u.tag){case B:t.add(u.stateNode);return;case O:t.add(u.stateNode.containerInfo);return;case N:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function oz(e,t){for(var s=e,u=!1;;){if(s.tag===B)u=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return u;for(;s.sibling===null;){if(s.return===null||s.return===e)return u;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var WS;{WS=!1;try{var QU=Object.preventExtensions({})}catch{WS=!0}}function sz(e,t,s,u){this.tag=e,this.key=s,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=Ct,this.subtreeFlags=Ct,this.deletions=null,this.lanes=ae,this.childLanes=ae,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,!WS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var hs=function(e,t,s,u){return new sz(e,t,s,u)};function GS(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function lz(e){return typeof e=="function"&&!GS(e)&&e.defaultProps===void 0}function uz(e){if(typeof e=="function")return GS(e)?E:x;if(e!=null){var t=e.$$typeof;if(t===Pe)return Y;if(t===Vt)return ie}return A}function ch(e,t){var s=e.alternate;s===null?(s=hs(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=Ct,s.subtreeFlags=Ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&wr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var u=e.dependencies;switch(s.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case A:case x:case se:s.type=ag(e.type);break;case E:s.type=US(e.type);break;case Y:s.type=HS(e.type);break}return s}function cz(e,t){e.flags&=wr|Er;var s=e.alternate;if(s===null)e.childLanes=ae,e.lanes=t,e.child=null,e.subtreeFlags=Ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=Ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var u=s.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function dz(e,t,s){var u;return e===Ck?(u=nn,t===!0&&(u|=h,u|=k)):u=xt,Ga&&(u|=f),hs(N,null,null,u)}function YS(e,t,s,u,p,y){var w=A,_=e;if(typeof e=="function")GS(e)?(w=E,_=US(_)):_=ag(_);else if(typeof e=="string")w=B;else e:switch(e){case yo:return Cf(s.children,p,y,t);case bi:w=V,p|=h,(p&nn)!==xt&&(p|=k);break;case bo:return fz(s,p,y,t);case et:return pz(s,p,y,t);case dt:return hz(s,p,y,t);case br:return wA(s,p,y,t);case Xn:case Wt:case Kn:case Pr:case en:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ko:w=K;break e;case W:w=ye;break e;case Pe:w=Y,_=HS(_);break e;case Vt:w=ie;break e;case jt:w=Ce,_=null;break e}var T="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(T+=" 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 R=u?Mt(u):null;R&&(T+=`
|
|
299
299
|
|
|
300
|
-
Check the render method of \``+R+"`.")}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)+"."+T))}}var M=hs(w,s,t,p);return M.elementType=e,M.type=_,M.lanes=y,M._debugOwner=u,M}function QS(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,_=YS(p,y,w,u,t,s);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Cf(e,t,s,u){var p=hs(G,e,u,t);return p.lanes=s,p}function
|
|
300
|
+
Check the render method of \``+R+"`.")}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)+"."+T))}}var M=hs(w,s,t,p);return M.elementType=e,M.type=_,M.lanes=y,M._debugOwner=u,M}function QS(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,_=YS(p,y,w,u,t,s);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Cf(e,t,s,u){var p=hs(G,e,u,t);return p.lanes=s,p}function fz(e,t,s,u){typeof e.id!="string"&&v('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=hs(ne,e,u,t|f);return p.elementType=bo,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function pz(e,t,s,u){var p=hs(U,e,u,t);return p.elementType=et,p.lanes=s,p}function hz(e,t,s,u){var p=hs(Ye,e,u,t);return p.elementType=dt,p.lanes=s,p}function wA(e,t,s,u){var p=hs(Ue,e,u,t);p.elementType=br,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function XS(e,t,s){var u=hs(j,e,null,t);return u.lanes=s,u}function mz(){var e=hs(B,null,null,xt);return e.elementType="DELETED",e}function gz(e){var t=hs(Qe,null,null,xt);return t.stateNode=e,t}function KS(e,t,s){var u=e.children!==null?e.children:[],p=hs(O,u,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function DA(e,t){return e===null&&(e=hs(A,null,null,xt)),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 vz(e,t,s,u,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=P2,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=qe,this.eventTimes=fm(ae),this.expirationTimes=fm(sr),this.pendingLanes=ae,this.suspendedLanes=ae,this.pingedLanes=ae,this.expiredLanes=ae,this.mutableReadLanes=ae,this.finishedLanes=ae,this.entangledLanes=ae,this.entanglements=fm(ae),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],w=0;w<we;w++)y.push(new Set)}switch(t){case Ck:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case df:this._debugRootType=s?"hydrate()":"render()";break}}function SA(e,t,s,u,p,y,w,_,T,R){var M=new vz(e,t,s,_,T),re=dz(t,y);M.current=re,re.stateNode=M;{var Z={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};re.memoizedState=Z}return cD(re),M}var JS="18.3.1";function yz(e,t,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return bn(u),{$$typeof:Jr,key:u==null?null:""+u,children:e,containerInfo:t,implementation:s}}var ZS,e1;ZS=!1,e1={};function CA(e){if(!e)return ps;var t=Au(e),s=e6(t);if(t.tag===E){var u=t.type;if(Gu(u))return JE(t,u,s)}return s}function bz(e,t){{var s=Au(e);if(s===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 p=qa(s);if(p===null)return null;if(p.mode&h){var y=Mt(s)||"Component";if(!e1[y]){e1[y]=!0;var w=ea;try{Tn(p),s.mode&h?v("%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,y):v("%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,y)}finally{w?Tn(w):ir()}}}return p.stateNode}}function xA(e,t,s,u,p,y,w,_){var T=!1,R=null;return SA(e,t,T,R,s,u,p,y,w)}function _A(e,t,s,u,p,y,w,_,T,R){var M=!0,re=SA(s,u,M,e,p,y,w,_,T);re.context=CA(null);var Z=re.current,pe=so(),ve=Df(Z),xe=ad(pe,ve);return xe.callback=t??null,hf(Z,xe,ve),_9(re,ve,pe),re}function wy(e,t,s,u){kp(t,e);var p=t.current,y=so(),w=Df(p);pr(w);var _=CA(s);t.context===null?t.context=_:t.pendingContext=_,Yi&&ea!==null&&!ZS&&(ZS=!0,v(`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.
|
|
301
301
|
|
|
302
|
-
Check the render method of %s.`,Mt(ea)||"Unknown"));var T=ad(y,w);T.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&v("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),T.callback=u);var R=hf(p,T,w);return R!==null&&(Ba(R,p,w,y),Ik(R,p,w)),w}function F0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case B:return t.child.stateNode;default:return t.child.stateNode}}function
|
|
302
|
+
Check the render method of %s.`,Mt(ea)||"Unknown"));var T=ad(y,w);T.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&v("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),T.callback=u);var R=hf(p,T,w);return R!==null&&(Ba(R,p,w,y),Ik(R,p,w)),w}function F0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case B:return t.child.stateNode;default:return t.child.stateNode}}function kz(e){switch(e.tag){case N:{var t=e.stateNode;if(hm(t)){var s=Db(t);A9(t,s)}break}case U:{ld(function(){var p=Bo(e,Ee);if(p!==null){var y=so();Ba(p,e,Ee,y)}});var u=Ee;t1(e,u);break}}}function EA(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=lv(s.retryLane,t))}function t1(e,t){EA(e,t);var s=e.alternate;s&&EA(s,t)}function wz(e){if(e.tag===U){var t=Fp,s=Bo(e,t);if(s!==null){var u=so();Ba(s,e,t,u)}t1(e,t)}}function Dz(e){if(e.tag===U){var t=Df(e),s=Bo(e,t);if(s!==null){var u=so();Ba(s,e,t,u)}t1(e,t)}}function TA(e){var t=or(e);return t===null?null:t.stateNode}var FA=function(e){return null};function Sz(e){return FA(e)}var AA=function(e){return!1};function Cz(e){return AA(e)}var $A=null,PA=null,NA=null,OA=null,RA=null,LA=null,BA=null,MA=null,IA=null;{var jA=function(e,t,s){var u=t[s],p=Gt(e)?e.slice():Xt({},e);return s+1===t.length?(Gt(p)?p.splice(u,1):delete p[u],p):(p[u]=jA(e[u],t,s+1),p)},zA=function(e,t){return jA(e,t,0)},UA=function(e,t,s,u){var p=t[u],y=Gt(e)?e.slice():Xt({},e);if(u+1===t.length){var w=s[u];y[w]=y[p],Gt(y)?y.splice(p,1):delete y[p]}else y[p]=UA(e[p],t,s,u+1);return y},HA=function(e,t,s){if(t.length!==s.length){g("copyWithRename() expects paths of the same length");return}else for(var u=0;u<s.length-1;u++)if(t[u]!==s[u]){g("copyWithRename() expects paths to be the same except for the deepest key");return}return UA(e,t,s,0)},VA=function(e,t,s,u){if(s>=t.length)return u;var p=t[s],y=Gt(e)?e.slice():Xt({},e);return y[p]=VA(e[p],t,s+1,u),y},qA=function(e,t,s){return VA(e,t,0,s)},n1=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};$A=function(e,t,s,u){var p=n1(e,t);if(p!==null){var y=qA(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Xt({},e.memoizedProps);var w=Bo(e,Ee);w!==null&&Ba(w,e,Ee,sr)}},PA=function(e,t,s){var u=n1(e,t);if(u!==null){var p=zA(u.memoizedState,s);u.memoizedState=p,u.baseState=p,e.memoizedProps=Xt({},e.memoizedProps);var y=Bo(e,Ee);y!==null&&Ba(y,e,Ee,sr)}},NA=function(e,t,s,u){var p=n1(e,t);if(p!==null){var y=HA(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Xt({},e.memoizedProps);var w=Bo(e,Ee);w!==null&&Ba(w,e,Ee,sr)}},OA=function(e,t,s){e.pendingProps=qA(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Bo(e,Ee);u!==null&&Ba(u,e,Ee,sr)},RA=function(e,t){e.pendingProps=zA(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Bo(e,Ee);s!==null&&Ba(s,e,Ee,sr)},LA=function(e,t,s){e.pendingProps=HA(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=Bo(e,Ee);u!==null&&Ba(u,e,Ee,sr)},BA=function(e){var t=Bo(e,Ee);t!==null&&Ba(t,e,Ee,sr)},MA=function(e){FA=e},IA=function(e){AA=e}}function xz(e){var t=qa(e);return t===null?null:t.stateNode}function _z(e){return null}function Ez(){return ea}function Tz(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return Us({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:$A,overrideHookStateDeletePath:PA,overrideHookStateRenamePath:NA,overrideProps:OA,overridePropsDeletePath:RA,overridePropsRenamePath:LA,setErrorHandler:MA,setSuspenseHandler:IA,scheduleUpdate:BA,currentDispatcherRef:s,findHostInstanceByFiber:xz,findFiberByHostInstance:t||_z,findHostInstancesForRefresh:az,scheduleRefresh:nz,scheduleRoot:rz,setRefreshHandler:tz,getCurrentFiber:Ez,reconcilerVersion:JS})}var WA=typeof reportError=="function"?reportError:function(e){console.error(e)};function r1(e){this._internalRoot=e}A0.prototype.render=r1.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?v("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):$0(arguments[1])?v("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"&&v("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==_r){var u=TA(t.current);u&&u.parentNode!==s&&v("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.")}}wy(e,t,null,null)},A0.prototype.unmount=r1.prototype.unmount=function(){typeof arguments[0]=="function"&&v("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;iA()&&v("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."),ld(function(){wy(null,e,null,null)}),GE(t)}};function Fz(e,t){if(!$0(e))throw new Error("createRoot(...): Target container is not a DOM element.");GA(e);var s=!1,u=!1,p="",y=WA;t!=null&&(t.hydrate?g("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===wa&&v(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
303
303
|
|
|
304
304
|
let root = createRoot(domContainer);
|
|
305
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=xA(e,Ck,null,s,u,p,y);vk(w.current,e);var _=e.nodeType===_r?e.parentNode:e;return Tv(_),new r1(w)}function A0(e){this._internalRoot=e}function
|
|
306
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}zo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i1,zo.createPortal=j7,zo.createRoot=U7,zo.findDOMNode=R7,zo.flushSync=V7,zo.hydrate=L7,zo.hydrateRoot=H7,zo.render=B7,zo.unmountComponentAtNode=I7,zo.unstable_batchedUpdates=RS,zo.unstable_renderSubtreeIntoContainer=z7,zo.version=JS,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),zo}function H1(){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(H1)}catch(r){console.error(r)}}}process.env.NODE_ENV==="production"?(H1(),M0.exports=L$()):M0.exports=B$();var V1=M0.exports,z0,Oy=V1;if(process.env.NODE_ENV==="production")z0=Oy.createRoot,Oy.hydrateRoot;else{var q1=Oy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;z0=function(r,n){q1.usingClientEntryPoint=!0;try{return Oy.createRoot(r,n)}finally{q1.usingClientEntryPoint=!1}}}const M$=r=>{const n=document.createElement("div"),i=z0(n);return V1.flushSync(()=>{i.render(r)}),n.innerHTML},I$={hi:"Hei!"},j$={from:"Fra",to:"Til"},z$={buttonAltText:"Åpne kalender",deleteDate:"Fjern dato"},U$={month:"Måned",year:"År",days:["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Man","Tir","Ons","Tor","Fre","Lør","Søn"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],week:"Uke",prevMonth:"Forrige måned",nextMonth:"Neste måned"},H$={search:{placeholder:"Søk…"},labels:{optional:"Valgfritt",required:"Må fylles ut"},messages:{required:"Dette feltet er påkrevd",invalid:"Ugyldig verdi",invalidPattern:"Ugyldig format",tooShort:"For kort",tooLong:"For lang",rangeUnderflow:"For lav verdi",rangeOverflow:"For høy verdi",dateUnderflow:"For tidlig dato",dateOverflow:"For sen dato"},helptext:{helptextDropdownButton:"Les mer"},date:{multiple:"Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato."}},gs={example:I$,generic:j$,calendar:z$,dates:U$,forms:H$};(function(){(function(r){const n=new WeakMap,i=new WeakMap,l=new WeakMap,d=new WeakMap,g=new WeakMap,v=new WeakMap,D=new WeakMap,x=new WeakMap,E=new WeakMap,A=new WeakMap,N=new WeakMap,O=new WeakMap,B=new WeakMap,j=new WeakMap,G=new WeakMap,V={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"},ye=(be,J)=>{for(let me in V){J[me]=null;let $e=null;const _t=V[me];Object.defineProperty(J,me,{get(){return $e},set(Fe){$e=Fe,be.isConnected?be.setAttribute(_t,Fe):A.set(be,J)}})}};function K(be){const J=d.get(be),{form:me}=J;_e(be,me,J),Ne(be,J.labels)}const Y=(be,J=!1)=>{const me=document.createTreeWalker(be,NodeFilter.SHOW_ELEMENT,{acceptNode(Fe){return d.has(Fe)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let $e=me.nextNode();const _t=!J||be.disabled;for(;$e;)$e.formDisabledCallback&&_t&&Qe($e,be.disabled),$e=me.nextNode()},ne={attributes:!0,attributeFilter:["disabled","name"]},U=st()?new MutationObserver(be=>{for(const J of be){const me=J.target;if(J.attributeName==="disabled"&&(me.constructor.formAssociated?Qe(me,me.hasAttribute("disabled")):me.localName==="fieldset"&&Y(me)),J.attributeName==="name"&&me.constructor.formAssociated){const $e=d.get(me),_t=E.get(me);$e.setFormValue(_t)}}}):{};function ie(be){be.forEach(J=>{const{addedNodes:me,removedNodes:$e}=J,_t=Array.from(me),Fe=Array.from($e);_t.forEach(je=>{var bt;if(d.has(je)&&je.constructor.formAssociated&&K(je),A.has(je)){const wt=A.get(je);Object.keys(V).filter(Zt=>wt[Zt]!==null).forEach(Zt=>{je.setAttribute(V[Zt],wt[Zt])}),A.delete(je)}if(G.has(je)){const wt=G.get(je);je.setAttribute("internals-valid",wt.validity.valid.toString()),je.setAttribute("internals-invalid",(!wt.validity.valid).toString()),je.setAttribute("aria-invalid",(!wt.validity.valid).toString()),G.delete(je)}if(je.localName==="form"){const wt=x.get(je),Zt=document.createTreeWalker(je,NodeFilter.SHOW_ELEMENT,{acceptNode(An){return d.has(An)&&An.constructor.formAssociated&&!(wt&&wt.has(An))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let rr=Zt.nextNode();for(;rr;)K(rr),rr=Zt.nextNode()}je.localName==="fieldset"&&((bt=U.observe)===null||bt===void 0||bt.call(U,je,ne),Y(je,!0))}),Fe.forEach(je=>{const bt=d.get(je);bt&&l.get(bt)&&Ye(bt),D.has(je)&&D.get(je).disconnect()})})}function se(be){be.forEach(J=>{const{removedNodes:me}=J;me.forEach($e=>{const _t=B.get(J.target);d.has($e)&&at($e),_t.disconnect()})})}const Ce=be=>{var J,me;const $e=new MutationObserver(se);!((J=window==null?void 0:window.ShadyDOM)===null||J===void 0)&&J.inUse&&be.mode&&be.host&&(be=be.host),(me=$e.observe)===null||me===void 0||me.call($e,be,{childList:!0}),B.set(be,$e)};st()&&new MutationObserver(ie);const ke={childList:!0,subtree:!0},Qe=(be,J)=>{be.toggleAttribute("internals-disabled",J),J?be.setAttribute("aria-disabled","true"):be.removeAttribute("aria-disabled"),be.formDisabledCallback&&be.formDisabledCallback.apply(be,[J])},Ye=be=>{l.get(be).forEach(J=>{J.remove()}),l.set(be,[])},Ge=(be,J)=>{const me=document.createElement("input");return me.type="hidden",me.name=be.getAttribute("name"),be.after(me),l.get(J).push(me),me},Ue=(be,J)=>{var me;l.set(J,[]),(me=U.observe)===null||me===void 0||me.call(U,be,ne)},Ne=(be,J)=>{if(J.length){Array.from(J).forEach($e=>$e.addEventListener("click",be.click.bind(be)));let me=J[0].id;J[0].id||(me=`${J[0].htmlFor}_Label`,J[0].id=me),be.setAttribute("aria-labelledby",me)}},Ke=be=>{const J=Array.from(be.elements).filter(Fe=>!Fe.tagName.includes("-")&&Fe.validity).map(Fe=>Fe.validity.valid),me=x.get(be)||[],$e=Array.from(me).filter(Fe=>Fe.isConnected).map(Fe=>d.get(Fe).validity.valid),_t=[...J,...$e].includes(!1);be.toggleAttribute("internals-invalid",_t),be.toggleAttribute("internals-valid",!_t)},Me=be=>{Ke(Q(be.target))},Ie=be=>{Ke(Q(be.target))},de=be=>{const J=["button[type=submit]","input[type=submit]","button:not([type])"].map(me=>`${me}:not([disabled])`).map(me=>`${me}:not([form])${be.id?`,${me}[form='${be.id}']`:""}`).join(",");be.addEventListener("click",me=>{if(me.target.closest(J)){const $e=x.get(be);if(be.noValidate)return;$e.size&&Array.from($e).reverse().map(_t=>d.get(_t).reportValidity()).includes(!1)&&me.preventDefault()}})},Re=be=>{const J=x.get(be.target);J&&J.size&&J.forEach(me=>{me.constructor.formAssociated&&me.formResetCallback&&me.formResetCallback.apply(me)})},_e=(be,J,me)=>{if(J){const $e=x.get(J);if($e)$e.add(be);else{const _t=new Set;_t.add(be),x.set(J,_t),de(J),J.addEventListener("reset",Re),J.addEventListener("input",Me),J.addEventListener("change",Ie)}v.set(J,{ref:be,internals:me}),be.constructor.formAssociated&&be.formAssociatedCallback&&setTimeout(()=>{be.formAssociatedCallback.apply(be,[J])},0),Ke(J)}},Q=be=>{let J=be.parentNode;return J&&J.tagName!=="FORM"&&(J=Q(J)),J},fe=(be,J,me=DOMException)=>{if(!be.constructor.formAssociated)throw new me(J)},gt=(be,J,me)=>{const $e=x.get(be);return $e&&$e.size&&$e.forEach(_t=>{d.get(_t)[me]()||(J=!1)}),J},at=be=>{if(be.constructor.formAssociated){const J=d.get(be),{labels:me,form:$e}=J;Ne(be,me),_e(be,$e,J)}};function st(){return typeof MutationObserver<"u"}class vt{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const Xe=be=>(be.badInput=!1,be.customError=!1,be.patternMismatch=!1,be.rangeOverflow=!1,be.rangeUnderflow=!1,be.stepMismatch=!1,be.tooLong=!1,be.tooShort=!1,be.typeMismatch=!1,be.valid=!0,be.valueMissing=!1,be),At=(be,J,me)=>(be.valid=Lt(J),Object.keys(J).forEach($e=>be[$e]=J[$e]),me&&Ke(me),be),Lt=be=>{let J=!0;for(let me in be)me!=="valid"&&be[me]!==!1&&(J=!1);return J},Jt=new WeakMap;function Dn(be,J){be.toggleAttribute(J,!0),be.part&&be.part.add(J)}class Yn extends Set{static get isPolyfilled(){return!0}constructor(J){if(super(),!J||!J.tagName||J.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");Jt.set(this,J)}add(J){if(!/^--/.test(J)||typeof J!="string")throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${J} must start with '--'.`);const me=super.add(J),$e=Jt.get(this),_t=`state${J}`;return $e.isConnected?Dn($e,_t):setTimeout(()=>{Dn($e,_t)}),me}clear(){for(let[J]of this.entries())this.delete(J);super.clear()}delete(J){const me=super.delete(J),$e=Jt.get(this);return $e.isConnected?($e.toggleAttribute(`state${J}`,!1),$e.part&&$e.part.remove(`state${J}`)):setTimeout(()=>{$e.toggleAttribute(`state${J}`,!1),$e.part&&$e.part.remove(`state${J}`)}),me}}function yn(be,J,me,$e){if(typeof J=="function"?be!==J||!0:!J.has(be))throw new TypeError("Cannot read private member from an object whose class did not declare it");return me==="m"?$e:me==="a"?$e.call(be):$e?$e.value:J.get(be)}function ot(be,J,me,$e,_t){if(typeof J=="function"?be!==J||!0:!J.has(be))throw new TypeError("Cannot write private member to an object whose class did not declare it");return J.set(be,me),me}var Ln;class Qt{constructor(J){Ln.set(this,void 0),ot(this,Ln,J);for(let me=0;me<J.length;me++){let $e=J[me];this[me]=$e,$e.hasAttribute("name")&&(this[$e.getAttribute("name")]=$e)}Object.freeze(this)}get length(){return yn(this,Ln,"f").length}[(Ln=new WeakMap,Symbol.iterator)](){return yn(this,Ln,"f")[Symbol.iterator]()}item(J){return this[J]==null?null:this[J]}namedItem(J){return this[J]==null?null:this[J]}}function bn(){const be=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=me;const J=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=$e;function me(...Fe){let je=be.apply(this,Fe);return gt(this,je,"checkValidity")}function $e(...Fe){let je=J.apply(this,Fe);return gt(this,je,"reportValidity")}const{get:_t}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...Fe){const je=_t.call(this,...Fe),bt=Array.from(x.get(this)||[]);if(bt.length===0)return je;const wt=Array.from(je).concat(bt).sort((Zt,rr)=>Zt.compareDocumentPosition?Zt.compareDocumentPosition(rr)&2?1:-1:0);return new Qt(wt)}})}class pn{static get isPolyfilled(){return!0}constructor(J){if(!J||!J.tagName||J.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");const me=J.getRootNode(),$e=new vt;this.states=new Yn(J),n.set(this,J),i.set(this,$e),d.set(J,this),ye(J,this),Ue(J,this),Object.seal(this),me instanceof DocumentFragment&&Ce(me)}checkValidity(){const J=n.get(this);if(fe(J,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const me=i.get(this);if(!me.valid){const $e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});J.dispatchEvent($e)}return me.valid}get form(){const J=n.get(this);fe(J,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");let me;return J.constructor.formAssociated===!0&&(me=Q(J)),me}get labels(){const J=n.get(this);fe(J,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const me=J.getAttribute("id"),$e=J.getRootNode();return $e&&me?$e.querySelectorAll(`[for="${me}"]`):[]}reportValidity(){const J=n.get(this);if(fe(J,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const me=this.checkValidity(),$e=O.get(this);if($e&&!J.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!me&&$e&&(J.focus(),$e.focus()),me}setFormValue(J){const me=n.get(this);if(fe(me,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),Ye(this),J!=null&&!(J instanceof FormData)){if(me.getAttribute("name")){const $e=Ge(me,this);$e.value=J}}else J!=null&&J instanceof FormData&&Array.from(J).reverse().forEach(([$e,_t])=>{if(typeof _t=="string"){const Fe=Ge(me,this);Fe.name=$e,Fe.value=_t}});E.set(me,J)}setValidity(J,me,$e){const _t=n.get(this);if(fe(_t,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!J)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");O.set(this,$e);const Fe=i.get(this),je={};for(const Zt in J)je[Zt]=J[Zt];Object.keys(je).length===0&&Xe(Fe);const bt=Object.assign(Object.assign({},Fe),je);delete bt.valid;const{valid:wt}=At(Fe,bt,this.form);if(!wt&&!me)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");g.set(this,wt?"":me),_t.isConnected?(_t.toggleAttribute("internals-invalid",!wt),_t.toggleAttribute("internals-valid",wt),_t.setAttribute("aria-invalid",`${!wt}`)):G.set(_t,this)}get shadowRoot(){const J=n.get(this);return N.get(J)||null}get validationMessage(){const J=n.get(this);return fe(J,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),g.get(this)}get validity(){const J=n.get(this);return fe(J,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const J=n.get(this);return fe(J,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(J.disabled||J.hasAttribute("disabled")||J.hasAttribute("readonly"))}}function ka(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class be extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const J=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(J,be);const me=new be;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every($e=>$e in me.internals)}let Bn=!1,Qn=!1;function ur(be){Qn||(Qn=!0,window.CustomStateSet=Yn,be&&(HTMLElement.prototype.attachInternals=function(...J){const me=be.call(this,J);return me.states=new Yn(this),me}))}function $r(be=!0){if(!Bn){if(Bn=!0,typeof window<"u"&&(window.ElementInternals=pn),typeof CustomElementRegistry<"u"){const J=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(me,$e,_t){if($e.formAssociated){const Fe=$e.prototype.connectedCallback;$e.prototype.connectedCallback=function(){j.has(this)||(j.set(this,!0),this.hasAttribute("disabled")&&Qe(this,!0)),Fe!=null&&Fe.apply(this),at(this)}}J.call(this,me,$e,_t)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(this.tagName){if(this.tagName.indexOf("-")===-1)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.")}else return{};if(d.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new pn(this)}),typeof Element<"u"){let J=function(...$e){const _t=me.apply(this,$e);if(N.set(this,_t),st()){const Fe=new MutationObserver(ie);window.ShadyDOM?Fe.observe(this,ke):Fe.observe(_t,ke),D.set(this,Fe)}return _t};const me=Element.prototype.attachShadow;Element.prototype.attachShadow=J}st()&&typeof document<"u"&&new MutationObserver(ie).observe(document.documentElement,ke),typeof HTMLFormElement<"u"&&bn(),(be||typeof window<"u"&&!window.CustomStateSet)&&ur()}}return customElements.polyfillWrapFlushCallback||(ka()?typeof window<"u"&&!window.CustomStateSet&&ur(HTMLElement.prototype.attachInternals):$r(!1)),r.forceCustomStateSetPolyfill=ur,r.forceElementInternalsPolyfill=$r,Object.defineProperty(r,"__esModule",{value:!0}),r})({})})();var V$=Object.defineProperty,W1=(r,n,i,l)=>{for(var d=void 0,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=v(n,i,d)||d);return d&&V$(n,i,d),d};class Qr extends mh{constructor(){super(),this.strings=gs,this.role=null}connectedCallback(){super.connectedCallback()}createRenderRoot(){return this}hotReplacedCallback(){this.requestUpdate()}update(n){n.forEach((i,l)=>{typeof l=="string"&&this[l]&&typeof this[l]=="object"&&this[l].$$typeof&&(this[l]=M$(this[l]))}),super.update(n)}}W1([H({type:Object})],Qr.prototype,"strings"),W1([H({type:String})],Qr.prototype,"role");/**
|
|
305
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=xA(e,Ck,null,s,u,p,y);vk(w.current,e);var _=e.nodeType===_r?e.parentNode:e;return Tv(_),new r1(w)}function A0(e){this._internalRoot=e}function Az(e){e&&Lb(e)}A0.prototype.unstable_scheduleHydration=Az;function $z(e,t,s){if(!$0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");GA(e),t===void 0&&v("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,p=s!=null&&s.hydratedSources||null,y=!1,w=!1,_="",T=WA;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onRecoverableError!==void 0&&(T=s.onRecoverableError));var R=_A(t,null,e,Ck,u,y,w,_,T);if(vk(R.current,e),Tv(e),p)for(var M=0;M<p.length;M++){var re=p[M];R6(R,re)}return new A0(R)}function $0(e){return!!(e&&(e.nodeType===pa||e.nodeType===Sa||e.nodeType===yl))}function Dy(e){return!!(e&&(e.nodeType===pa||e.nodeType===Sa||e.nodeType===yl||e.nodeType===_r&&e.nodeValue===" react-mount-point-unstable "))}function GA(e){e.nodeType===pa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("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."),Iv(e)&&(e._reactRootContainer?v("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):v("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 Pz=i.ReactCurrentOwner,YA;YA=function(e){if(e._reactRootContainer&&e.nodeType!==_r){var t=TA(e._reactRootContainer.current);t&&t.parentNode!==e&&v("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 s=!!e._reactRootContainer,u=a1(e),p=!!(u&&uf(u));p&&!s&&v("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===pa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("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 a1(e){return e?e.nodeType===Sa?e.documentElement:e.firstChild:null}function QA(){}function Nz(e,t,s,u,p){if(p){if(typeof u=="function"){var y=u;u=function(){var Z=F0(w);y.call(Z)}}var w=_A(t,u,e,df,null,!1,!1,"",QA);e._reactRootContainer=w,vk(w.current,e);var _=e.nodeType===_r?e.parentNode:e;return Tv(_),ld(),w}else{for(var T;T=e.lastChild;)e.removeChild(T);if(typeof u=="function"){var R=u;u=function(){var Z=F0(M);R.call(Z)}}var M=xA(e,df,null,!1,!1,"",QA);e._reactRootContainer=M,vk(M.current,e);var re=e.nodeType===_r?e.parentNode:e;return Tv(re),ld(function(){wy(t,M,s,u)}),M}}function Oz(e,t){e!==null&&typeof e!="function"&&v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function P0(e,t,s,u,p){YA(s),Oz(p===void 0?null:p,"render");var y=s._reactRootContainer,w;if(!y)w=Nz(s,t,e,p,u);else{if(w=y,typeof p=="function"){var _=p;p=function(){var T=F0(w);_.call(T)}}wy(t,w,e,p)}return F0(w)}var XA=!1;function Rz(e){{XA||(XA=!0,v("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=Pz.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||v("%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.",kn(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===pa?e:bz(e,"findDOMNode")}function Lz(e,t,s){if(v("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"),!Dy(t))throw new Error("Target container is not a DOM element.");{var u=Iv(t)&&t._reactRootContainer===void 0;u&&v("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 P0(null,e,t,!0,s)}function Bz(e,t,s){if(v("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"),!Dy(t))throw new Error("Target container is not a DOM element.");{var u=Iv(t)&&t._reactRootContainer===void 0;u&&v("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 P0(null,e,t,!1,s)}function Mz(e,t,s,u){if(v("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"),!Dy(s))throw new Error("Target container is not a DOM element.");if(e==null||!Jg(e))throw new Error("parentComponent must be a valid React Component");return P0(e,t,s,!1,u)}var KA=!1;function Iz(e){if(KA||(KA=!0,v("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")),!Dy(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Iv(e)&&e._reactRootContainer===void 0;t&&v("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 s=a1(e),u=s&&!uf(s);u&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return ld(function(){P0(null,null,e,!1,function(){e._reactRootContainer=null,GE(e)})}),!0}else{{var p=a1(e),y=!!(p&&uf(p)),w=e.nodeType===pa&&Dy(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",w?"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}}mm(kz),pt(wz),Pb(Dz),l2(us),gm(dv),(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")&&v("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"),Hd(z4),Kg(RS,$9,ld);function jz(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!$0(t))throw new Error("Target container is not a DOM element.");return yz(e,t,null,s)}function zz(e,t,s,u){return Mz(e,t,s,u)}var i1={usingClientEntryPoint:!1,Events:[uf,Rm,yk,Eu,Vd,RS]};function Uz(e,t){return i1.usingClientEntryPoint||v('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Fz(e,t)}function Hz(e,t,s){return i1.usingClientEntryPoint||v('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),$z(e,t,s)}function Vz(e){return iA()&&v("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."),ld(e)}var qz=Tz({findFiberByHostInstance:Qp,bundleType:1,version:JS,rendererPackageName:"react-dom"});if(!qz&&Dn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var JA=window.location.protocol;/^(https?|file):$/.test(JA)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(JA==="file:"?`
|
|
306
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}zo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i1,zo.createPortal=jz,zo.createRoot=Uz,zo.findDOMNode=Rz,zo.flushSync=Vz,zo.hydrate=Lz,zo.hydrateRoot=Hz,zo.render=Bz,zo.unmountComponentAtNode=Iz,zo.unstable_batchedUpdates=RS,zo.unstable_renderSubtreeIntoContainer=zz,zo.version=JS,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),zo}function H1(){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(H1)}catch(r){console.error(r)}}}process.env.NODE_ENV==="production"?(H1(),M0.exports=L$()):M0.exports=B$();var V1=M0.exports,z0,Oy=V1;if(process.env.NODE_ENV==="production")z0=Oy.createRoot,Oy.hydrateRoot;else{var q1=Oy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;z0=function(r,n){q1.usingClientEntryPoint=!0;try{return Oy.createRoot(r,n)}finally{q1.usingClientEntryPoint=!1}}}const M$=r=>{const n=document.createElement("div"),i=z0(n);return V1.flushSync(()=>{i.render(r)}),n.innerHTML},I$={hi:"Hei!"},j$={from:"Fra",to:"Til"},z$={buttonAltText:"Åpne kalender",deleteDate:"Fjern dato"},U$={month:"Måned",year:"År",days:["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Man","Tir","Ons","Tor","Fre","Lør","Søn"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],week:"Uke",prevMonth:"Forrige måned",nextMonth:"Neste måned"},H$={search:{placeholder:"Søk…"},labels:{optional:"Valgfritt",required:"Må fylles ut"},messages:{required:"Dette feltet er påkrevd",invalid:"Ugyldig verdi",invalidPattern:"Ugyldig format",tooShort:"For kort",tooLong:"For lang",rangeUnderflow:"For lav verdi",rangeOverflow:"For høy verdi",dateUnderflow:"For tidlig dato",dateOverflow:"For sen dato"},helptext:{helptextDropdownButton:"Les mer"},date:{multiple:"Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato."}},gs={example:I$,generic:j$,calendar:z$,dates:U$,forms:H$};(function(){(function(r){const n=new WeakMap,i=new WeakMap,l=new WeakMap,d=new WeakMap,g=new WeakMap,v=new WeakMap,D=new WeakMap,x=new WeakMap,E=new WeakMap,A=new WeakMap,N=new WeakMap,O=new WeakMap,B=new WeakMap,j=new WeakMap,G=new WeakMap,V={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"},ye=(be,J)=>{for(let me in V){J[me]=null;let $e=null;const _t=V[me];Object.defineProperty(J,me,{get(){return $e},set(Fe){$e=Fe,be.isConnected?be.setAttribute(_t,Fe):A.set(be,J)}})}};function K(be){const J=d.get(be),{form:me}=J;_e(be,me,J),Ne(be,J.labels)}const Y=(be,J=!1)=>{const me=document.createTreeWalker(be,NodeFilter.SHOW_ELEMENT,{acceptNode(Fe){return d.has(Fe)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let $e=me.nextNode();const _t=!J||be.disabled;for(;$e;)$e.formDisabledCallback&&_t&&Qe($e,be.disabled),$e=me.nextNode()},ne={attributes:!0,attributeFilter:["disabled","name"]},U=st()?new MutationObserver(be=>{for(const J of be){const me=J.target;if(J.attributeName==="disabled"&&(me.constructor.formAssociated?Qe(me,me.hasAttribute("disabled")):me.localName==="fieldset"&&Y(me)),J.attributeName==="name"&&me.constructor.formAssociated){const $e=d.get(me),_t=E.get(me);$e.setFormValue(_t)}}}):{};function ie(be){be.forEach(J=>{const{addedNodes:me,removedNodes:$e}=J,_t=Array.from(me),Fe=Array.from($e);_t.forEach(je=>{var bt;if(d.has(je)&&je.constructor.formAssociated&&K(je),A.has(je)){const wt=A.get(je);Object.keys(V).filter(Zt=>wt[Zt]!==null).forEach(Zt=>{je.setAttribute(V[Zt],wt[Zt])}),A.delete(je)}if(G.has(je)){const wt=G.get(je);je.setAttribute("internals-valid",wt.validity.valid.toString()),je.setAttribute("internals-invalid",(!wt.validity.valid).toString()),je.setAttribute("aria-invalid",(!wt.validity.valid).toString()),G.delete(je)}if(je.localName==="form"){const wt=x.get(je),Zt=document.createTreeWalker(je,NodeFilter.SHOW_ELEMENT,{acceptNode(An){return d.has(An)&&An.constructor.formAssociated&&!(wt&&wt.has(An))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let rr=Zt.nextNode();for(;rr;)K(rr),rr=Zt.nextNode()}je.localName==="fieldset"&&((bt=U.observe)===null||bt===void 0||bt.call(U,je,ne),Y(je,!0))}),Fe.forEach(je=>{const bt=d.get(je);bt&&l.get(bt)&&Ye(bt),D.has(je)&&D.get(je).disconnect()})})}function se(be){be.forEach(J=>{const{removedNodes:me}=J;me.forEach($e=>{const _t=B.get(J.target);d.has($e)&&at($e),_t.disconnect()})})}const Ce=be=>{var J,me;const $e=new MutationObserver(se);!((J=window==null?void 0:window.ShadyDOM)===null||J===void 0)&&J.inUse&&be.mode&&be.host&&(be=be.host),(me=$e.observe)===null||me===void 0||me.call($e,be,{childList:!0}),B.set(be,$e)};st()&&new MutationObserver(ie);const ke={childList:!0,subtree:!0},Qe=(be,J)=>{be.toggleAttribute("internals-disabled",J),J?be.setAttribute("aria-disabled","true"):be.removeAttribute("aria-disabled"),be.formDisabledCallback&&be.formDisabledCallback.apply(be,[J])},Ye=be=>{l.get(be).forEach(J=>{J.remove()}),l.set(be,[])},Ge=(be,J)=>{const me=document.createElement("input");return me.type="hidden",me.name=be.getAttribute("name"),be.after(me),l.get(J).push(me),me},Ue=(be,J)=>{var me;l.set(J,[]),(me=U.observe)===null||me===void 0||me.call(U,be,ne)},Ne=(be,J)=>{if(J.length){Array.from(J).forEach($e=>$e.addEventListener("click",be.click.bind(be)));let me=J[0].id;J[0].id||(me=`${J[0].htmlFor}_Label`,J[0].id=me),be.setAttribute("aria-labelledby",me)}},Ke=be=>{const J=Array.from(be.elements).filter(Fe=>!Fe.tagName.includes("-")&&Fe.validity).map(Fe=>Fe.validity.valid),me=x.get(be)||[],$e=Array.from(me).filter(Fe=>Fe.isConnected).map(Fe=>d.get(Fe).validity.valid),_t=[...J,...$e].includes(!1);be.toggleAttribute("internals-invalid",_t),be.toggleAttribute("internals-valid",!_t)},Me=be=>{Ke(Q(be.target))},Ie=be=>{Ke(Q(be.target))},de=be=>{const J=["button[type=submit]","input[type=submit]","button:not([type])"].map(me=>`${me}:not([disabled])`).map(me=>`${me}:not([form])${be.id?`,${me}[form='${be.id}']`:""}`).join(",");be.addEventListener("click",me=>{if(me.target.closest(J)){const $e=x.get(be);if(be.noValidate)return;$e.size&&Array.from($e).reverse().map(_t=>d.get(_t).reportValidity()).includes(!1)&&me.preventDefault()}})},Re=be=>{const J=x.get(be.target);J&&J.size&&J.forEach(me=>{me.constructor.formAssociated&&me.formResetCallback&&me.formResetCallback.apply(me)})},_e=(be,J,me)=>{if(J){const $e=x.get(J);if($e)$e.add(be);else{const _t=new Set;_t.add(be),x.set(J,_t),de(J),J.addEventListener("reset",Re),J.addEventListener("input",Me),J.addEventListener("change",Ie)}v.set(J,{ref:be,internals:me}),be.constructor.formAssociated&&be.formAssociatedCallback&&setTimeout(()=>{be.formAssociatedCallback.apply(be,[J])},0),Ke(J)}},Q=be=>{let J=be.parentNode;return J&&J.tagName!=="FORM"&&(J=Q(J)),J},fe=(be,J,me=DOMException)=>{if(!be.constructor.formAssociated)throw new me(J)},gt=(be,J,me)=>{const $e=x.get(be);return $e&&$e.size&&$e.forEach(_t=>{d.get(_t)[me]()||(J=!1)}),J},at=be=>{if(be.constructor.formAssociated){const J=d.get(be),{labels:me,form:$e}=J;Ne(be,me),_e(be,$e,J)}};function st(){return typeof MutationObserver<"u"}class vt{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const Xe=be=>(be.badInput=!1,be.customError=!1,be.patternMismatch=!1,be.rangeOverflow=!1,be.rangeUnderflow=!1,be.stepMismatch=!1,be.tooLong=!1,be.tooShort=!1,be.typeMismatch=!1,be.valid=!0,be.valueMissing=!1,be),At=(be,J,me)=>(be.valid=Lt(J),Object.keys(J).forEach($e=>be[$e]=J[$e]),me&&Ke(me),be),Lt=be=>{let J=!0;for(let me in be)me!=="valid"&&be[me]!==!1&&(J=!1);return J},Jt=new WeakMap;function Dn(be,J){be.toggleAttribute(J,!0),be.part&&be.part.add(J)}class Yn extends Set{static get isPolyfilled(){return!0}constructor(J){if(super(),!J||!J.tagName||J.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");Jt.set(this,J)}add(J){if(!/^--/.test(J)||typeof J!="string")throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${J} must start with '--'.`);const me=super.add(J),$e=Jt.get(this),_t=`state${J}`;return $e.isConnected?Dn($e,_t):setTimeout(()=>{Dn($e,_t)}),me}clear(){for(let[J]of this.entries())this.delete(J);super.clear()}delete(J){const me=super.delete(J),$e=Jt.get(this);return $e.isConnected?($e.toggleAttribute(`state${J}`,!1),$e.part&&$e.part.remove(`state${J}`)):setTimeout(()=>{$e.toggleAttribute(`state${J}`,!1),$e.part&&$e.part.remove(`state${J}`)}),me}}function yn(be,J,me,$e){if(typeof J=="function"?be!==J||!0:!J.has(be))throw new TypeError("Cannot read private member from an object whose class did not declare it");return me==="m"?$e:me==="a"?$e.call(be):$e?$e.value:J.get(be)}function ot(be,J,me,$e,_t){if(typeof J=="function"?be!==J||!0:!J.has(be))throw new TypeError("Cannot write private member to an object whose class did not declare it");return J.set(be,me),me}var Ln;class Qt{constructor(J){Ln.set(this,void 0),ot(this,Ln,J);for(let me=0;me<J.length;me++){let $e=J[me];this[me]=$e,$e.hasAttribute("name")&&(this[$e.getAttribute("name")]=$e)}Object.freeze(this)}get length(){return yn(this,Ln,"f").length}[(Ln=new WeakMap,Symbol.iterator)](){return yn(this,Ln,"f")[Symbol.iterator]()}item(J){return this[J]==null?null:this[J]}namedItem(J){return this[J]==null?null:this[J]}}function bn(){const be=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=me;const J=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=$e;function me(...Fe){let je=be.apply(this,Fe);return gt(this,je,"checkValidity")}function $e(...Fe){let je=J.apply(this,Fe);return gt(this,je,"reportValidity")}const{get:_t}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...Fe){const je=_t.call(this,...Fe),bt=Array.from(x.get(this)||[]);if(bt.length===0)return je;const wt=Array.from(je).concat(bt).sort((Zt,rr)=>Zt.compareDocumentPosition?Zt.compareDocumentPosition(rr)&2?1:-1:0);return new Qt(wt)}})}class pn{static get isPolyfilled(){return!0}constructor(J){if(!J||!J.tagName||J.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");const me=J.getRootNode(),$e=new vt;this.states=new Yn(J),n.set(this,J),i.set(this,$e),d.set(J,this),ye(J,this),Ue(J,this),Object.seal(this),me instanceof DocumentFragment&&Ce(me)}checkValidity(){const J=n.get(this);if(fe(J,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const me=i.get(this);if(!me.valid){const $e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});J.dispatchEvent($e)}return me.valid}get form(){const J=n.get(this);fe(J,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");let me;return J.constructor.formAssociated===!0&&(me=Q(J)),me}get labels(){const J=n.get(this);fe(J,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const me=J.getAttribute("id"),$e=J.getRootNode();return $e&&me?$e.querySelectorAll(`[for="${me}"]`):[]}reportValidity(){const J=n.get(this);if(fe(J,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const me=this.checkValidity(),$e=O.get(this);if($e&&!J.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!me&&$e&&(J.focus(),$e.focus()),me}setFormValue(J){const me=n.get(this);if(fe(me,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),Ye(this),J!=null&&!(J instanceof FormData)){if(me.getAttribute("name")){const $e=Ge(me,this);$e.value=J}}else J!=null&&J instanceof FormData&&Array.from(J).reverse().forEach(([$e,_t])=>{if(typeof _t=="string"){const Fe=Ge(me,this);Fe.name=$e,Fe.value=_t}});E.set(me,J)}setValidity(J,me,$e){const _t=n.get(this);if(fe(_t,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!J)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");O.set(this,$e);const Fe=i.get(this),je={};for(const Zt in J)je[Zt]=J[Zt];Object.keys(je).length===0&&Xe(Fe);const bt=Object.assign(Object.assign({},Fe),je);delete bt.valid;const{valid:wt}=At(Fe,bt,this.form);if(!wt&&!me)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");g.set(this,wt?"":me),_t.isConnected?(_t.toggleAttribute("internals-invalid",!wt),_t.toggleAttribute("internals-valid",wt),_t.setAttribute("aria-invalid",`${!wt}`)):G.set(_t,this)}get shadowRoot(){const J=n.get(this);return N.get(J)||null}get validationMessage(){const J=n.get(this);return fe(J,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),g.get(this)}get validity(){const J=n.get(this);return fe(J,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const J=n.get(this);return fe(J,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(J.disabled||J.hasAttribute("disabled")||J.hasAttribute("readonly"))}}function ka(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class be extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const J=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(J,be);const me=new be;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every($e=>$e in me.internals)}let Bn=!1,Qn=!1;function ur(be){Qn||(Qn=!0,window.CustomStateSet=Yn,be&&(HTMLElement.prototype.attachInternals=function(...J){const me=be.call(this,J);return me.states=new Yn(this),me}))}function $r(be=!0){if(!Bn){if(Bn=!0,typeof window<"u"&&(window.ElementInternals=pn),typeof CustomElementRegistry<"u"){const J=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(me,$e,_t){if($e.formAssociated){const Fe=$e.prototype.connectedCallback;$e.prototype.connectedCallback=function(){j.has(this)||(j.set(this,!0),this.hasAttribute("disabled")&&Qe(this,!0)),Fe!=null&&Fe.apply(this),at(this)}}J.call(this,me,$e,_t)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(this.tagName){if(this.tagName.indexOf("-")===-1)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.")}else return{};if(d.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new pn(this)}),typeof Element<"u"){let J=function(...$e){const _t=me.apply(this,$e);if(N.set(this,_t),st()){const Fe=new MutationObserver(ie);window.ShadyDOM?Fe.observe(this,ke):Fe.observe(_t,ke),D.set(this,Fe)}return _t};const me=Element.prototype.attachShadow;Element.prototype.attachShadow=J}st()&&typeof document<"u"&&new MutationObserver(ie).observe(document.documentElement,ke),typeof HTMLFormElement<"u"&&bn(),(be||typeof window<"u"&&!window.CustomStateSet)&&ur()}}return customElements.polyfillWrapFlushCallback||(ka()?typeof window<"u"&&!window.CustomStateSet&&ur(HTMLElement.prototype.attachInternals):$r(!1)),r.forceCustomStateSetPolyfill=ur,r.forceElementInternalsPolyfill=$r,Object.defineProperty(r,"__esModule",{value:!0}),r})({})})();var V$=Object.defineProperty,W1=(r,n,i,l)=>{for(var d=void 0,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=v(n,i,d)||d);return d&&V$(n,i,d),d};class Qr extends mh{constructor(){super(),this.strings=gs,this.role=null}connectedCallback(){super.connectedCallback()}createRenderRoot(){return this}hotReplacedCallback(){this.requestUpdate()}update(n){n.forEach((i,l)=>{typeof l=="string"&&this[l]&&typeof this[l]=="object"&&this[l].$$typeof&&(this[l]=M$(this[l]))}),super.update(n)}}W1([H({type:Object})],Qr.prototype,"strings"),W1([H({type:String})],Qr.prototype,"role");/**
|
|
307
307
|
* @license
|
|
308
308
|
* Copyright 2017 Google LLC
|
|
309
309
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -311,7 +311,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
311
311
|
* @license
|
|
312
312
|
* Copyright 2018 Google LLC
|
|
313
313
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
314
|
-
*/const
|
|
314
|
+
*/const on=Ff(class extends gh{constructor(r){var n;if(super(r),r.type!==rl.ATTRIBUTE||r.name!=="class"||((n=r.strings)==null?void 0:n.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(n=>r[n]).join(" ")+" "}update(r,[n]){var i,l;if(this.st===void 0){this.st=new Set,r.strings!==void 0&&(this.nt=new Set(r.strings.join(" ").split(/\s/).filter(g=>g!=="")));for(const g in n)n[g]&&!((i=this.nt)!=null&&i.has(g))&&this.st.add(g);return this.render(n)}const d=r.element.classList;for(const g of this.st)g in n||(d.remove(g),this.st.delete(g));for(const g in n){const v=!!n[g];v===this.st.has(g)||(l=this.nt)!=null&&l.has(g)||(v?(d.add(g),this.st.add(g)):(d.remove(g),this.st.delete(g)))}return co}});/**
|
|
315
315
|
* @license
|
|
316
316
|
* Copyright 2017 Google LLC
|
|
317
317
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -335,36 +335,41 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
335
335
|
* @license
|
|
336
336
|
* Copyright 2017 Google LLC
|
|
337
337
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
338
|
-
*/let q0=class extends By{};q0.directiveName="unsafeSVG",q0.resultType=2;const Z1=Ff(q0);var eP=Object.defineProperty,tP=Object.getOwnPropertyDescriptor,vg=(r,n,i,l)=>{for(var d=l>1?void 0:l?tP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&eP(n,i,d),d};window.pktFetch=window.pktFetch===void 0?fetch:window.pktFetch,window.pktIconPath=window.pktIconPath||"https://punkt-cdn.oslo.kommune.no/12.34/icons/";const nP=r=>new Promise(n=>setTimeout(n,r)),Iy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',W0={},rP=async(r,n)=>{let i=0;for(;W0[n+r+".svg"]==="fetching"&&(i++,!(i>50));)await nP(50);return localStorage.getItem(n+r+".svg")?Promise.resolve(localStorage.getItem(n+r+".svg")):typeof window.pktFetch=="function"?(W0[n+r+".svg"]="fetching",Promise.resolve(window.pktFetch(n+r+".svg").then(l=>l.ok?l.text():(console.error("Missing icon: "+n+r+".svg"),Iy)).then(l=>(l!==Iy&&localStorage.setItem(n+r+".svg",l),W0[n+r+".svg"]="fetched",l)))):Promise.resolve(Iy)};let $f=class extends Qr{constructor(){super(...arguments),this.path=window.pktIconPath,this.name="",this.icon=Z1(Iy),this._updatedProps=[]}connectedCallback(){super.connectedCallback(),this.classList.add("pkt-icon")}async attributeChangedCallback(n,i,l){super.attributeChangedCallback(n,i,l),(n==="name"||n==="path")&&this.getIcon(this.name)}async updated(n){super.updated(n),(n.has("name")||n.has("path"))&&this.getIcon(this.name)}async getIcon(n=""){this._updatedProps.length>0?(this.path||(this.path,window.pktIconPath),this.icon=Z1(await rP(this.name||"",this.path).then(i=>i)),this._updatedProps=[]):this._updatedProps.includes(n)||this._updatedProps.push(n)}render(){return Ae`${this.name&&this.icon}`}};vg([H({type:String,reflect:!1})],$f.prototype,"path",2),vg([H({type:String,reflect:!0})],$f.prototype,"name",2),vg([H({type:SVGElement})],$f.prototype,"icon",2),vg([H({type:Array,noAccessor:!0})],$f.prototype,"_updatedProps",2),$f=vg([gr("pkt-icon")],$f);const aP={skin:{default:"info"},ariaLive:{default:"polite"},compact:{default:!1},closeAlert:{default:!1}},jy={props:aP};var iP=Object.defineProperty,oP=Object.getOwnPropertyDescriptor,nc=(r,n,i,l)=>{for(var d=l>1?void 0:l?oP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&iP(n,i,d),d};let al=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.compact=jy.props.compact.default,this.title="",this.skin=jy.props.skin.default,this.ariaLive=jy.props.ariaLive.default,this["aria-live"]=null,this.closeAlert=jy.props.closeAlert.default,this.date=null,this._isClosed=!1,this.close=n=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:n},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:n},bubbles:!0,composed:!0}))},this.slotController=new Ma(this,this.defaultSlot),this._isClosed=!1}connectedCallback(){super.connectedCallback(),this["aria-live"]=this.getAttribute("aria-live")||this.ariaLive}attributeChangedCallback(n,i,l){n==="ariaLive"&&(this["aria-live"]=l),super.attributeChangedCallback(n,i,l)}updated(n){super.updated(n),n.has("ariaLive")&&(this["aria-live"]=this.ariaLive),n.has("_isClosed")&&J1(this,"pkt-hide",this._isClosed)}render(){const n={"pkt-alert":!0,"pkt-alert--compact":this.compact,[`pkt-alert--${this.skin}`]:this.skin,"pkt-hide":this._isClosed};return Ae`
|
|
339
|
-
<div class=${
|
|
340
|
-
<
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
338
|
+
*/let q0=class extends By{};q0.directiveName="unsafeSVG",q0.resultType=2;const Z1=Ff(q0);var eP=Object.defineProperty,tP=Object.getOwnPropertyDescriptor,vg=(r,n,i,l)=>{for(var d=l>1?void 0:l?tP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&eP(n,i,d),d};window.pktFetch=window.pktFetch===void 0?fetch:window.pktFetch,window.pktIconPath=window.pktIconPath||"https://punkt-cdn.oslo.kommune.no/12.34/icons/";const nP=r=>new Promise(n=>setTimeout(n,r)),Iy='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>',W0={},rP=async(r,n)=>{let i=0;for(;W0[n+r+".svg"]==="fetching"&&(i++,!(i>50));)await nP(50);return localStorage.getItem(n+r+".svg")?Promise.resolve(localStorage.getItem(n+r+".svg")):typeof window.pktFetch=="function"?(W0[n+r+".svg"]="fetching",Promise.resolve(window.pktFetch(n+r+".svg").then(l=>l.ok?l.text():(console.error("Missing icon: "+n+r+".svg"),Iy)).then(l=>(l!==Iy&&localStorage.setItem(n+r+".svg",l),W0[n+r+".svg"]="fetched",l)))):Promise.resolve(Iy)};let $f=class extends Qr{constructor(){super(...arguments),this.path=window.pktIconPath,this.name="",this.icon=Z1(Iy),this._updatedProps=[]}connectedCallback(){super.connectedCallback(),this.classList.add("pkt-icon")}async attributeChangedCallback(n,i,l){super.attributeChangedCallback(n,i,l),(n==="name"||n==="path")&&this.getIcon(this.name)}async updated(n){super.updated(n),(n.has("name")||n.has("path"))&&this.getIcon(this.name)}async getIcon(n=""){this._updatedProps.length>0?(this.path||(this.path,window.pktIconPath),this.icon=Z1(await rP(this.name||"",this.path).then(i=>i)),this._updatedProps=[]):this._updatedProps.includes(n)||this._updatedProps.push(n)}render(){return Ae`${this.name&&this.icon}`}};vg([H({type:String,reflect:!1})],$f.prototype,"path",2),vg([H({type:String,reflect:!0})],$f.prototype,"name",2),vg([H({type:SVGElement})],$f.prototype,"icon",2),vg([H({type:Array,noAccessor:!0})],$f.prototype,"_updatedProps",2),$f=vg([gr("pkt-icon")],$f);const aP={skin:{default:"info"},ariaLive:{default:"polite"},compact:{default:!1},closeAlert:{default:!1}},jy={props:aP};var iP=Object.defineProperty,oP=Object.getOwnPropertyDescriptor,nc=(r,n,i,l)=>{for(var d=l>1?void 0:l?oP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&iP(n,i,d),d};let al=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.compact=jy.props.compact.default,this.title="",this.skin=jy.props.skin.default,this.ariaLive=jy.props.ariaLive.default,this["aria-live"]=null,this.closeAlert=jy.props.closeAlert.default,this.date=null,this._isClosed=!1,this.close=n=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:n},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:n},bubbles:!0,composed:!0}))},this.slotController=new Ma(this,this.defaultSlot),this._isClosed=!1}connectedCallback(){super.connectedCallback(),this["aria-live"]=this.getAttribute("aria-live")||this.ariaLive}attributeChangedCallback(n,i,l){n==="ariaLive"&&(this["aria-live"]=l),super.attributeChangedCallback(n,i,l)}updated(n){super.updated(n),n.has("ariaLive")&&(this["aria-live"]=this.ariaLive),n.has("_isClosed")&&J1(this,"pkt-hide",this._isClosed)}render(){const n={"pkt-alert":!0,"pkt-alert--compact":this.compact,[`pkt-alert--${this.skin}`]:this.skin,"pkt-hide":this._isClosed},i={"pkt-alert__grid":!0,"pkt-alert__noTitle":!this.title,"pkt-alert__noDate":!this.date};return Ae`
|
|
339
|
+
<div class=${on(n)}>
|
|
340
|
+
<div class=${on(i)}>
|
|
341
|
+
<pkt-icon
|
|
342
|
+
class="pkt-alert__icon"
|
|
343
|
+
aria-hidden="true"
|
|
344
|
+
name=${this.skin==="info"?"alert-information":`alert-${this.skin}`}
|
|
345
|
+
></pkt-icon>
|
|
344
346
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
347
|
+
${this.closeAlert?Ae`
|
|
348
|
+
<div class="pkt-alert__close">
|
|
349
|
+
<pkt-button
|
|
350
|
+
tabindex="0"
|
|
351
|
+
aria-label="close"
|
|
352
|
+
size=${this.compact?"small":"medium"}
|
|
353
|
+
type="button"
|
|
354
|
+
skin="tertiary"
|
|
355
|
+
iconName="close"
|
|
356
|
+
variant="icon-only"
|
|
357
|
+
@click=${this.close}
|
|
358
|
+
>
|
|
359
|
+
</pkt-button>
|
|
360
|
+
</div>
|
|
361
|
+
`:rt}
|
|
362
|
+
${this.title?Ae`<div class="pkt-alert__title">${this.title}</div>`:rt}
|
|
359
363
|
|
|
360
|
-
|
|
364
|
+
<div class="pkt-alert__text" ${ln(this.defaultSlot)}></div>
|
|
361
365
|
|
|
362
|
-
|
|
366
|
+
${this.date?Ae`<div class="pkt-alert__date">Sist oppdatert: ${this.date}</div>`:rt}
|
|
367
|
+
</div>
|
|
363
368
|
</div>
|
|
364
369
|
`}};nc([H({type:Boolean,reflect:!1})],al.prototype,"compact",2),nc([H({type:String,reflect:!0})],al.prototype,"title",2),nc([H({type:String,reflect:!0})],al.prototype,"skin",2),nc([H({type:String})],al.prototype,"ariaLive",2),nc([H({type:String,reflect:!0})],al.prototype,"aria-live",2),nc([H({type:Boolean,reflect:!0})],al.prototype,"closeAlert",2),nc([H({type:String,reflect:!0})],al.prototype,"date",2),nc([Fn()],al.prototype,"_isClosed",2),al=nc([gr("pkt-alert")],al);var sP=Object.defineProperty,lP=Object.getOwnPropertyDescriptor,zy=(r,n,i,l)=>{for(var d=l>1?void 0:l?lP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&sP(n,i,d),d};let vh=class extends mh{constructor(){super(...arguments),this.ariaLabelledBy="",this.compact=!1,this.skin="borderless"}updated(n){n.has("skin")&&this.requestUpdate()}render(){const n={"pkt-accordion":!0,"pkt-accordion--compact":this.compact,[`pkt-accordion--${this.skin}`]:this.skin};return Ae`
|
|
365
370
|
<div
|
|
366
371
|
part="container"
|
|
367
|
-
class=${
|
|
372
|
+
class=${on(n)}
|
|
368
373
|
data-testid="pkt-accordion"
|
|
369
374
|
aria-labelledby=${this.ariaLabelledBy}
|
|
370
375
|
>
|
|
@@ -372,7 +377,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
372
377
|
</div>
|
|
373
378
|
`}};zy([H({type:String,reflect:!0,attribute:"aria-labelledby"})],vh.prototype,"ariaLabelledBy",2),zy([H({type:Boolean,reflect:!0,attribute:"compact"})],vh.prototype,"compact",2),zy([H({type:String,reflect:!0,attribute:"skin"})],vh.prototype,"skin",2),vh=zy([gr("pkt-accordion")],vh);const uP=vh;var cP=Object.defineProperty,dP=Object.getOwnPropertyDescriptor,yh=(r,n,i,l)=>{for(var d=l>1?void 0:l?dP(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&cP(n,i,d),d};let pd=class extends Qr{constructor(){super(),this.defaultOpen=!1,this.title="",this.skin=void 0,this.compact=!1,this.isOpen=this.defaultOpen,this.accordionItemRef=fn(),this.defaultSlot=fn(),this.slotController=new Ma(this,this.defaultSlot)}render(){const n={"pkt-accordion-item":!0,"pkt-accordion-item--compact":this.compact,[`pkt-accordion-item--${this.skin}`]:!!this.skin};return Ae`
|
|
374
379
|
<details
|
|
375
|
-
class=${
|
|
380
|
+
class=${on(n)}
|
|
376
381
|
id=${this.id}
|
|
377
382
|
?open=${this.isOpen}
|
|
378
383
|
${ln(this.accordionItemRef)}
|
|
@@ -495,7 +500,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
495
500
|
/>
|
|
496
501
|
</div> `):n.push(Ae`<div class="pkt-txt-16-medium" aria-live="polite">
|
|
497
502
|
${this.monthStrings[this.month]} ${this.year}
|
|
498
|
-
</div>`),n}renderDayView(n,i,l){var d;const g=md(this.year,this.month,n),v=Ia(g),D=v===Ia(i),x=this.selected.includes(v),E=FN(g),A=this.isExcluded(l,g)||!x&&this.multiple&&this.maxMultiple>0&&this.selected.length>=this.maxMultiple,N=this.focusedDate?this.focusedDate===v&&!A?"0":"-1":!A&&this.tabIndexSet===0||this.tabIndexSet===n?"0":"-1";N==="0"&&(this.tabIndexSet=n),this.selectableDates.push({currentDateISO:v,isDisabled:A,tabindex:N});const O={"pkt-cal-today":D,"pkt-cal-selected":x,"pkt-cal-in-range":this.inRange[v],"pkt-cal-excluded":this.isExcluded(l,g),"pkt-cal-in-range-first":this.range&&(this.selected.length===2||this.rangeHovered!==null)&&v===this.selected[0],"pkt-cal-in-range-last":this.range&&this.selected.length===2&&v===this.selected[1],"pkt-cal-range-hover":this.rangeHovered!==null&&v===Ia(this.rangeHovered)};return Ae`<td class=${
|
|
503
|
+
</div>`),n}renderDayView(n,i,l){var d;const g=md(this.year,this.month,n),v=Ia(g),D=v===Ia(i),x=this.selected.includes(v),E=FN(g),A=this.isExcluded(l,g)||!x&&this.multiple&&this.maxMultiple>0&&this.selected.length>=this.maxMultiple,N=this.focusedDate?this.focusedDate===v&&!A?"0":"-1":!A&&this.tabIndexSet===0||this.tabIndexSet===n?"0":"-1";N==="0"&&(this.tabIndexSet=n),this.selectableDates.push({currentDateISO:v,isDisabled:A,tabindex:N});const O={"pkt-cal-today":D,"pkt-cal-selected":x,"pkt-cal-in-range":this.inRange[v],"pkt-cal-excluded":this.isExcluded(l,g),"pkt-cal-in-range-first":this.range&&(this.selected.length===2||this.rangeHovered!==null)&&v===this.selected[0],"pkt-cal-in-range-last":this.range&&this.selected.length===2&&v===this.selected[1],"pkt-cal-range-hover":this.rangeHovered!==null&&v===Ia(this.rangeHovered)};return Ae`<td class=${on(O)}>
|
|
499
504
|
<div
|
|
500
505
|
?aria-selected=${x}
|
|
501
506
|
role="gridcell"
|
|
@@ -529,7 +534,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
529
534
|
${N}
|
|
530
535
|
</tr>`)}return E}isExcluded(n,i){return this.excludeweekdays.includes(n.toString())||this.earliest&&yg(i,1)<ia(this.earliest)||this.latest&&yg(i,-1)>ia(this.latest)?!0:this.excludedates.some(l=>typeof l=="string"?l===Ia(i):l.toDateString()===i.toDateString())}isPrevMonthAllowed(){const n=md(this.year,this.month,0);return!(this.earliest&&ia(this.earliest)>n)}prevMonth(){const n=this.month===0?11:this.month-1,i=this.month===0?this.year-1:this.year;this.changeMonth(i,n)}isNextMonthAllowed(){const n=md(this.month===11?this.year+1:this.year,this.month===11?0:this.month+1,1);return!(this.latest&&ia(this.latest)<n)}nextMonth(){const n=this.month===11?0:this.month+1,i=this.month===11?this.year+1:this.year;this.changeMonth(i,n)}changeMonth(n,i){this.year=typeof n=="string"?parseInt(n):n,this.month=typeof i=="string"?parseInt(i):i,this.tabIndexSet=0,this.focusedDate=null,this.selectableDates=[]}isInRange(n){if(this.range&&this.selected.length===2){if(n>ia(this.selected[0])&&n<ia(this.selected[1]))return!0}else if(this.range&&this.selected.length===1&&this.rangeHovered&&n>ia(this.selected[0])&&n<this.rangeHovered)return!0;return!1}isRangeAllowed(n){let i=!0;if(this._selected.length===1){const l=Y0({start:this._selected[0],end:n});if(Array.isArray(l)&&l.length)for(let d=0;d<l.length;d++)this.excludedates.forEach(g=>{g>this._selected[0]&&g<n&&(i=!1)}),this.excludeweekdays.includes(xN(l[d]).toString())&&(i=!1)}return i}emptySelected(){this.selected=[],this._selected=[],this.inRange={}}addToSelected(n){this.selected.includes(Ia(n))||(this.selected=[...this.selected,Ia(n)],this._selected=[...this._selected,n],this.range&&this.selected.length===2&&this.close())}removeFromSelected(n){if(this.selected.length===1)this.emptySelected();else{const i=this.selected.indexOf(Ia(n)),l=[...this.selected],d=[...this._selected];l.splice(i,1),d.splice(i,1),this.selected=l,this._selected=d}}toggleSelected(n){const i=Ia(n);this.selected.includes(i)?this.removeFromSelected(n):this.maxMultiple&&this.selected.length>=this.maxMultiple||this.addToSelected(n)}handleRangeSelect(n){const i=Ia(n);return this.selected.includes(i)?this.selected.indexOf(i)===0?this.emptySelected():this.removeFromSelected(n):this.selected.length>1?(this.emptySelected(),this.addToSelected(n)):(this.selected.length===1&&!this.isRangeAllowed(n)&&this.emptySelected(),this.selected.length===1&&this._selected[0]>n&&this.emptySelected(),this.addToSelected(n)),Promise.resolve()}handleRangeHover(n){if(this.range&&this._selected.length===1&&this.isRangeAllowed(n)&&this._selected[0]<n){this.rangeHovered=n,this.inRange={};const i=Y0({start:this._selected[0],end:n});if(Array.isArray(i)&&i.length)for(let l=0;l<i.length;l++)this.inRange[Ia(i[l])]=this.isInRange(i[l])}else this.rangeHovered=null}handleDateSelect(n){if(n)return this.range?this.handleRangeSelect(n):this.multiple?this.toggleSelected(n):(this.selected.includes(Ia(n))?this.emptySelected():(this.emptySelected(),this.addToSelected(n)),this.close()),this.dispatchEvent(new CustomEvent("date-selected",{detail:this.selected,bubbles:!0,composed:!0})),Promise.resolve()}focusOnCurrentDate(){const n=Ia(ia()),i=this.querySelector(`div[data-date="${n}"]`);if(i instanceof HTMLDivElement)this.focusedDate=n,i.focus();else{const l=this.selectableDates.find(d=>!d.isDisabled);if(l){const d=this.querySelector(`div[data-date="${l.currentDateISO}"]`);d instanceof HTMLDivElement&&(this.focusedDate=l.currentDateISO,d.focus())}}}closeEvent(n){!this.contains(n.relatedTarget)&&!n.target.classList.contains("pkt-hide")&&this.close()}close(){this.dispatchEvent(new CustomEvent("close",{detail:!0,bubbles:!0,composed:!0}))}};lr([H({type:Boolean})],nr.prototype,"multiple",2),lr([H({type:Number})],nr.prototype,"maxMultiple",2),lr([H({type:Boolean})],nr.prototype,"range",2),lr([H({type:Boolean})],nr.prototype,"weeknumbers",2),lr([H({type:Boolean})],nr.prototype,"withcontrols",2),lr([H({converter:wh.csvToArray})],nr.prototype,"selected",2),lr([H({type:String})],nr.prototype,"earliest",2),lr([H({type:String})],nr.prototype,"latest",2),lr([H({converter:wh.stringsToDate})],nr.prototype,"excludedates",2),lr([H({converter:wh.csvToArray})],nr.prototype,"excludeweekdays",2),lr([H({converter:wh.stringToDate})],nr.prototype,"currentmonth",2),lr([H({type:Array})],nr.prototype,"dayStrings",2),lr([H({type:Array})],nr.prototype,"dayStringsLong",2),lr([H({type:Array})],nr.prototype,"monthStrings",2),lr([H({type:String})],nr.prototype,"weekString",2),lr([H({type:String})],nr.prototype,"prevMonthString",2),lr([H({type:String})],nr.prototype,"nextMonthString",2),lr([H({type:Array})],nr.prototype,"_selected",2),lr([H({type:Number})],nr.prototype,"year",2),lr([H({type:Number})],nr.prototype,"month",2),lr([H({type:Number})],nr.prototype,"week",2),lr([H({type:Date})],nr.prototype,"rangeHovered",2),lr([Fn()],nr.prototype,"inRange",2),lr([Fn()],nr.prototype,"focusedDate",2),lr([Fn()],nr.prototype,"selectableDates",2),lr([Fn()],nr.prototype,"currentmonthtouched",2),lr([Fn()],nr.prototype,"tabIndexSet",2),nr=lr([gr("pkt-calendar")],nr);const RN={closeTag:{default:!1},size:{default:"medium"},skin:{default:"blue"},type:{default:"button"}},Wy={props:RN};var LN=Object.defineProperty,BN=Object.getOwnPropertyDescriptor,Xl=(r,n,i,l)=>{for(var d=l>1?void 0:l?BN(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&LN(n,i,d),d};let ys=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.closeTag=Wy.props.closeTag.default,this.size=Wy.props.size.default,this.skin=Wy.props.skin.default,this.textStyle=null,this.iconName=void 0,this.type=Wy.props.type.default,this.ariaLabel=null,this._isClosed=!1,this._ariaDescription=null,this.close=n=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:n},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:n},bubbles:!0,composed:!0}))},this.slotController=new Ma(this,this.defaultSlot),this._isClosed=!1}firstUpdated(n){var i,l;if(super.firstUpdated(n),this.closeTag&&!this.ariaLabel){const d=(l=(i=this.defaultSlot.value)==null?void 0:i.textContent)==null?void 0:l.trim();d&&(this._ariaDescription=`Klikk for å fjerne ${d}`)}}render(){const n={"pkt-tag":!0,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,[`pkt-tag--${this.textStyle}`]:!!this.textStyle},i={"pkt-tag":!0,"pkt-btn":!0,"pkt-btn--tertiary":!0,[`pkt-tag--${this.textStyle}`]:!!this.textStyle,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,"pkt-btn--icons-right-and-left":this.closeTag&&!!this.iconName,"pkt-hide":this._isClosed};return this.closeTag?Ae`
|
|
531
536
|
<button
|
|
532
|
-
class=${
|
|
537
|
+
class=${on(i)}
|
|
533
538
|
type=${this.type}
|
|
534
539
|
@click=${this.close}
|
|
535
540
|
aria-label=${En(this.ariaLabel||void 0)}
|
|
@@ -540,12 +545,12 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
540
545
|
<pkt-icon class="pkt-tag__close-btn" name="close"></pkt-icon>
|
|
541
546
|
</button>
|
|
542
547
|
`:Ae`
|
|
543
|
-
<span class=${
|
|
548
|
+
<span class=${on(n)}>
|
|
544
549
|
${this.iconName&&Ae`<pkt-icon class="pkt-tag__icon" name=${this.iconName}></pkt-icon>`}
|
|
545
550
|
<span ${ln(this.defaultSlot)}></span>
|
|
546
551
|
</span>
|
|
547
552
|
`}};Xl([H({type:Boolean,reflect:!0})],ys.prototype,"closeTag",2),Xl([H({type:String,reflect:!0})],ys.prototype,"size",2),Xl([H({type:String,reflect:!0})],ys.prototype,"skin",2),Xl([H({type:String,reflect:!0})],ys.prototype,"textStyle",2),Xl([H({type:String,reflect:!0})],ys.prototype,"iconName",2),Xl([H({type:String})],ys.prototype,"type",2),Xl([H({type:String})],ys.prototype,"ariaLabel",2),Xl([Fn()],ys.prototype,"_isClosed",2),Xl([Fn()],ys.prototype,"_ariaDescription",2),ys=Xl([gr("pkt-tag")],ys);const MN={skin:{default:"outlined"},direction:{default:"portrait"}},bC={props:MN};var IN=Object.defineProperty,jN=Object.getOwnPropertyDescriptor,Of=(r,n,i,l)=>{for(var d=l>1?void 0:l?jN(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&IN(n,i,d),d};let rc=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.skin=bC.props.skin.default,this.direction=bC.props.direction.default,this.image={src:"",alt:""},this.heading="",this.subheading="",this.tags=[],this.slotController=new Ma(this,this.defaultSlot)}connectedCallback(){super.connectedCallback()}render(){const n={"pkt-card":!0,[`pkt-card--${this.skin}`]:this.skin,[`pkt-card--${this.direction}`]:this.direction};return Ae`
|
|
548
|
-
<div class=${
|
|
553
|
+
<div class=${on(n)}>
|
|
549
554
|
${this.image.src&&Ae`
|
|
550
555
|
<div class="pkt-card__image">
|
|
551
556
|
<img src=${this.image.src} alt=${this.image.alt||""} />
|
|
@@ -588,7 +593,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
588
593
|
<span class="pkt-btn__text">${My(this.helptextDropdownButton)}</span>
|
|
589
594
|
</button>
|
|
590
595
|
<div
|
|
591
|
-
class="${
|
|
596
|
+
class="${on({"pkt-inputwrapper__helptext":!0,"pkt-inputwrapper__helptext-expandable-open":this.isHelpTextOpen,"pkt-inputwrapper__helptext-expandable-closed":!this.isHelpTextOpen})}"
|
|
592
597
|
>
|
|
593
598
|
${My(this.helptextDropdown)}
|
|
594
599
|
</div>
|
|
@@ -598,7 +603,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
598
603
|
${this.helptext&&My(this.helptext)}
|
|
599
604
|
</div>
|
|
600
605
|
${n()}
|
|
601
|
-
</div>`}`}};Dh([H({type:String,reflect:!0})],gd.prototype,"forId",2),Dh([H({type:String})],gd.prototype,"helptext",2),Dh([H({type:String})],gd.prototype,"helptextDropdown",2),Dh([H({type:String})],gd.prototype,"helptextDropdownButton",2),Dh([Fn()],gd.prototype,"isHelpTextOpen",2),gd=Dh([gr("pkt-helptext")],gd);var qN=Object.defineProperty,WN=Object.getOwnPropertyDescriptor,Ar=(r,n,i,l)=>{for(var d=l>1?void 0:l?WN(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&qN(n,i,d),d};let vr=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.helptextSlot=fn(),this.hasHelptextSlot=!0,this.forId=Rf(),this.label="",this.helptext=null,this.helptextDropdown=null,this.helptextDropdownButton=null,this.counter=Uo.props.counter.default,this.counterCurrent=0,this.counterMaxLength=0,this.counterError=null,this.counterPosition="bottom",this.optionalTag=Uo.props.optionalTag.default,this.optionalText=Uo.props.optionalText.default,this.requiredTag=Uo.props.requiredTag.default,this.requiredText=Uo.props.requiredText.default,this.hasError=Uo.props.hasError.default,this.errorMessage="",this.disabled=Uo.props.disabled.default,this.inline=Uo.props.inline.default,this.ariaDescribedby=void 0,this.hasFieldset=Uo.props.hasFieldset.default,this.useWrapper=Uo.props.useWrapper.default,this.role="group",this.slotController=new Ma(this,this.defaultSlot,this.helptextSlot)}updateSlots(n){this.hasHelptextSlot=n.has("helptext"),this.requestUpdate()}updated(n){super.updated(n)}render(){const n={"pkt-inputwrapper":!0,"pkt-inputwrapper--error":this.hasError,"pkt-inputwrapper--disabled":this.disabled,"pkt-inputwrapper--inline":this.inline},i={"pkt-tag":!0,"pkt-tag--small":!0,"pkt-tag--thin-text":!0,"pkt-tag--blue-light":this.optionalTag,"pkt-tag--beige":!this.optionalTag&&this.requiredTag},l=this.ariaDescribedby?this.ariaDescribedby:this.helptext?`${this.forId}-helptext`:rt,d=()=>this.optionalTag||this.requiredTag?Ae`<span class=${
|
|
606
|
+
</div>`}`}};Dh([H({type:String,reflect:!0})],gd.prototype,"forId",2),Dh([H({type:String})],gd.prototype,"helptext",2),Dh([H({type:String})],gd.prototype,"helptextDropdown",2),Dh([H({type:String})],gd.prototype,"helptextDropdownButton",2),Dh([Fn()],gd.prototype,"isHelpTextOpen",2),gd=Dh([gr("pkt-helptext")],gd);var qN=Object.defineProperty,WN=Object.getOwnPropertyDescriptor,Ar=(r,n,i,l)=>{for(var d=l>1?void 0:l?WN(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&qN(n,i,d),d};let vr=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.helptextSlot=fn(),this.hasHelptextSlot=!0,this.forId=Rf(),this.label="",this.helptext=null,this.helptextDropdown=null,this.helptextDropdownButton=null,this.counter=Uo.props.counter.default,this.counterCurrent=0,this.counterMaxLength=0,this.counterError=null,this.counterPosition="bottom",this.optionalTag=Uo.props.optionalTag.default,this.optionalText=Uo.props.optionalText.default,this.requiredTag=Uo.props.requiredTag.default,this.requiredText=Uo.props.requiredText.default,this.hasError=Uo.props.hasError.default,this.errorMessage="",this.disabled=Uo.props.disabled.default,this.inline=Uo.props.inline.default,this.ariaDescribedby=void 0,this.hasFieldset=Uo.props.hasFieldset.default,this.useWrapper=Uo.props.useWrapper.default,this.role="group",this.slotController=new Ma(this,this.defaultSlot,this.helptextSlot)}updateSlots(n){this.hasHelptextSlot=n.has("helptext"),this.requestUpdate()}updated(n){super.updated(n)}render(){const n={"pkt-inputwrapper":!0,"pkt-inputwrapper--error":this.hasError,"pkt-inputwrapper--disabled":this.disabled,"pkt-inputwrapper--inline":this.inline},i={"pkt-tag":!0,"pkt-tag--small":!0,"pkt-tag--thin-text":!0,"pkt-tag--blue-light":this.optionalTag,"pkt-tag--beige":!this.optionalTag&&this.requiredTag},l=this.ariaDescribedby?this.ariaDescribedby:this.helptext?`${this.forId}-helptext`:rt,d=()=>this.optionalTag||this.requiredTag?Ae`<span class=${on(i)}
|
|
602
607
|
>${this.optionalTag?this.optionalText:this.requiredTag?this.requiredText:rt}</span
|
|
603
608
|
>`:rt,g=()=>this.useWrapper?this.hasFieldset?Ae`<legend
|
|
604
609
|
class="pkt-inputwrapper__legend"
|
|
@@ -649,9 +654,9 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
649
654
|
${this.counterPosition==="bottom"?D():rt} ${x()}
|
|
650
655
|
`,A=()=>this.hasFieldset?Ae`<fieldset class="pkt-inputwrapper__fieldset" aria-describedby="${l}">
|
|
651
656
|
${E()}
|
|
652
|
-
</fieldset>`:Ae`<div class="pkt-inputwrapper__fieldset">${E()}</div>`;return Ae`<div class=${
|
|
657
|
+
</fieldset>`:Ae`<div class="pkt-inputwrapper__fieldset">${E()}</div>`;return Ae`<div class=${on(n)}>${A()}</div> `}toggleDropdown(n){this.dispatchEvent(new CustomEvent("toggleHelpText",{bubbles:!1,detail:{isOpen:n.detail.isOpen}}))}handleLabelClick(n){this.disabled&&(n.preventDefault(),n.stopImmediatePropagation()),this.dispatchEvent(new CustomEvent("labelClick",{bubbles:!0,composed:!0,detail:"label clicked"}))}};Ar([Fn()],vr.prototype,"hasHelptextSlot",2),Ar([H({type:String})],vr.prototype,"forId",2),Ar([H({type:String})],vr.prototype,"label",2),Ar([H({type:String})],vr.prototype,"helptext",2),Ar([H({type:String})],vr.prototype,"helptextDropdown",2),Ar([H({type:String})],vr.prototype,"helptextDropdownButton",2),Ar([H({type:Boolean})],vr.prototype,"counter",2),Ar([H({type:Number})],vr.prototype,"counterCurrent",2),Ar([H({type:Number})],vr.prototype,"counterMaxLength",2),Ar([H({type:String})],vr.prototype,"counterError",2),Ar([H({type:String,reflect:!1})],vr.prototype,"counterPosition",2),Ar([H({type:Boolean})],vr.prototype,"optionalTag",2),Ar([H({type:String})],vr.prototype,"optionalText",2),Ar([H({type:Boolean})],vr.prototype,"requiredTag",2),Ar([H({type:String})],vr.prototype,"requiredText",2),Ar([H({type:Boolean})],vr.prototype,"hasError",2),Ar([H({type:String})],vr.prototype,"errorMessage",2),Ar([H({type:Boolean})],vr.prototype,"disabled",2),Ar([H({type:Boolean})],vr.prototype,"inline",2),Ar([H({type:String})],vr.prototype,"ariaDescribedby",2),Ar([H({type:Boolean})],vr.prototype,"hasFieldset",2),Ar([H({type:Boolean})],vr.prototype,"useWrapper",2),Ar([H({type:String,reflect:!0})],vr.prototype,"role",2),vr=Ar([gr("pkt-input-wrapper")],vr);var GN=Object.defineProperty,YN=Object.getOwnPropertyDescriptor,gi=(r,n,i,l)=>{for(var d=l>1?void 0:l?YN(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&GN(n,i,d),d};let Ja=class extends Qr{constructor(){super(...arguments),this.id=Rf(),this.label=null,this.options=[],this.isOpen=!1,this.disabled=!1,this.includeSearch=!1,this.isMultiSelect=!1,this.allowUserInput=!1,this.maxIsReached=!1,this.customUserInput=null,this.searchPlaceholder=null,this.searchValue=null,this.maxLength=0,this.userMessage=null,this._selectedOptions=0,this._filteredOptions=[]}connectedCallback(){super.connectedCallback(),this.includeSearch&&!this.searchValue&&(this.searchValue=""),this.options.length>0&&this.filterOptions(),this.setAttribute("tabindex","-1"),this.addEventListener("focus",this.focusFirstOrSelectedOption)}updated(n){(n.has("options")||n.has("searchValue"))&&this.filterOptions(),super.updated(n)}attributeChangedCallback(n,i,l){(n==="options"||n==="searchValue"||n==="search-value")&&this.filterOptions(),super.attributeChangedCallback(n,i,l)}render(){return Ae`
|
|
653
658
|
<div
|
|
654
|
-
class=${
|
|
659
|
+
class=${on({"pkt-listbox":!0,"pkt-listbox__open":this.isOpen,"pkt-txt-16-light":!0})}
|
|
655
660
|
role="listbox"
|
|
656
661
|
aria-label=${En(this.label)}
|
|
657
662
|
>
|
|
@@ -680,7 +685,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
680
685
|
@click=${()=>{this.toggleOption(n)}}
|
|
681
686
|
aria-selected=${n.selected?"true":"false"}
|
|
682
687
|
@keydown=${this.handleOptionKeydown}
|
|
683
|
-
class=${
|
|
688
|
+
class=${on({"pkt-listbox__option":!0,"pkt-listbox__option--selected":!!(!this.isMultiSelect&&n.selected),"pkt-listbox__option--checkBox":this.isMultiSelect})}
|
|
684
689
|
tabindex="${this.disabled||n.disabled?"-1":"0"}"
|
|
685
690
|
data-index=${i}
|
|
686
691
|
data-value=${n.value}
|
|
@@ -766,7 +771,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
766
771
|
<div class="pkt-contents" ${ln(this.helptextSlot)} name="helptext" slot="helptext"></div>
|
|
767
772
|
<div class="pkt-combobox" @focusout=${this.handleFocusOut}>
|
|
768
773
|
<div
|
|
769
|
-
class=${
|
|
774
|
+
class=${on({"pkt-combobox__input":!0,"pkt-combobox__input--fullwidth":this.fullwidth,"pkt-combobox__input--open":this._isOptionsOpen,"pkt-combobox__input--error":this.hasError,"pkt-combobox__input--disabled":this.disabled})}
|
|
770
775
|
tabindex="-1"
|
|
771
776
|
@click=${this.handleInputClick}
|
|
772
777
|
>
|
|
@@ -788,7 +793,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
788
793
|
tabindex="${this.disabled?"-1":"0"}"
|
|
789
794
|
>
|
|
790
795
|
<pkt-icon
|
|
791
|
-
class=${
|
|
796
|
+
class=${on({"pkt-combobox__arrow-icon":!0,"pkt-combobox__arrow-icon--open":this._isOptionsOpen})}
|
|
792
797
|
name="chevron-thin-down"
|
|
793
798
|
></pkt-icon>
|
|
794
799
|
</div>
|
|
@@ -857,7 +862,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
857
862
|
>
|
|
858
863
|
${this.renderValueTag(v)}
|
|
859
864
|
</pkt-tag>
|
|
860
|
-
`});return n?i:l}renderValueTag(n){if(!n)return"";switch(this.displayValueAs){case"prefixAndValue":return Ae`<span data-focusfix=${this.id}>${n.prefix||""} ${n.value}</span>`;case"value":return Ae`<span data-focusfix=${this.id}>${n.value}</span>`;case"label":default:return Ae`<span data-focusfix=${this.id}>${n.label||n.value}</span>`}}handleInput(n){if(n.stopPropagation(),n.stopImmediatePropagation(),this.disabled)return;this.touched=!0;const i=n.target;if(this._search=i.value,this.checkForMatches(),this.typeahead)if(this._search){if(this._options=this.options.filter(l=>{var d;return(d=l.fulltext)==null?void 0:d.toLowerCase().includes(this._search.toLowerCase())}),n.inputType!=="deleteContentBackward"){const l=this._options.filter(d=>{var g;return!d.selected&&((g=d.label)==null?void 0:g.toLowerCase().startsWith(this._search.toLowerCase()))});if(l.length>0&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const d=l[0];d!=null&&d.label&&(i.value=d.label,window.setTimeout(()=>i.setSelectionRange(this._search.length,i.value.length),0),i.selectionDirection="backward")}}}else this._options=[...this.options]}handleFocus(){if(!this.disabled){if(!this.multiple&&this._value[0]&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const n=this.findValueInOptions(this._value[0]);this._editingSingleValue=!0,this.inputRef.value.value=this.displayValueAs==="label"&&n!=null&&n.label?n.label:this._value[0]}this._inputFocus=!0,this._search="",this._options=[...this.options],this._isOptionsOpen=!0,this.onFocus(),this.requestUpdate()}}handleFocusOut(n){var i,l,d,g,v;if(!this.disabled&&((l=(i=n.relatedTarget)==null?void 0:i.closest("pkt-combobox"))==null?void 0:l.id)!==this.id&&((g=(d=n.relatedTarget)==null?void 0:d.closest("pkt-combobox"))==null?void 0:g.id)!==this.id&&((v=n.target)==null?void 0:v.getAttribute("data-focusfix"))!==this.id&&n.relatedTarget!==this.focusRef.value&&n.relatedTarget!==this.inputRef.value&&n.relatedTarget!==this.arrowRef.value&&this._isOptionsOpen){if(this._inputFocus=!1,this._addValueText=null,this._userInfoMessage="",this._search="",this.inputRef.value&&this.inputRef.value.type!=="hidden"&&this.inputRef.value.value!==""){const D=this.inputRef.value.value;!this._value.includes(D)&&!this._options.find(x=>x.label===D)?this.allowUserInput?this.addNewUserValue(D):this.multiple||this.removeValue(this._value[0]):this._value.includes(D)||this.setSelected(D),this.inputRef.value.value=""}this._isOptionsOpen=!1,this.onBlur()}}handleBlur(){this._inputFocus=!1,this._editingSingleValue=!1,this.onBlur()}handleInputClick(n){var i,l;this.disabled||(n.currentTarget&&n.currentTarget!==this.arrowRef.value&&((i=this.inputRef.value)==null?void 0:i.type)!=="hidden"?(l=this.inputRef.value)==null||l.focus():this.handleArrowClick(n))}handleArrowClick(n){var i,l;this.disabled||n instanceof KeyboardEvent&&n.key&&n.key!=="Enter"&&n.key!==" "&&n.key!=="ArrowDown"||(n.stopImmediatePropagation(),n.preventDefault(),this._isOptionsOpen=!this._isOptionsOpen,this._isOptionsOpen?(i=this.listboxRef.value)==null||i.focusFirstOrSelectedOption():(l=this.arrowRef.value)==null||l.focus())}handleOptionToggled(n){this.toggleValue(n.detail)}handleSearch(n){n.stopPropagation(),this._search=n.detail.toLowerCase()}handleInputKeydown(n){var i,l,d;switch(n.key){case",":case"Enter":n.preventDefault(),this.addValue();break;case"Backspace":!this._search&&((i=this.inputRef.value)==null?void 0:i.type)==="hidden"&&this.removeLastValue(n);break;case"Tab":case"ArrowDown":n.shiftKey||((l=this.listboxRef.value)==null||l.focusFirstOrSelectedOption(),n.preventDefault());break;case"Escape":this._isOptionsOpen=!1,(d=this.arrowRef.value)==null||d.focus(),n.preventDefault();break}}handleTagRemove(n){this.removeSelected(n)}blurInput(){this.inputRef.value&&this.inputRef.value.matches(":focus")&&this.inputRef.value.blur()}checkForMatches(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value)||this._search||"",l=i.trim().toLowerCase()||"";if(!l){!this.multiple&&this._value[0]&&this.removeValue(this._value[0]),this.resetComboboxInput(!1);return}const d=this._value.find(D=>D.toLowerCase()===l),g=this._options.filter(D=>{var x;return((x=D.label)==null?void 0:x.toLowerCase().includes(l))??!1}),v=g.find(D=>{var x;return((x=D.label)==null?void 0:x.toLowerCase())===l||D.value.toLowerCase()===l});switch(!0){case((g.length===0||!v)&&this.allowUserInput):this._addValueText=i,this._userInfoMessage="";break;case(g.length===0&&!this.allowUserInput):this._addValueText=null,this._userInfoMessage="Ingen match i søket";break;case!!d:this._addValueText=null,this._userInfoMessage="Verdien er allerede valgt";break;case g.length>1:this._addValueText=null,this._userInfoMessage="";break;default:this._addValueText=null,this._userInfoMessage=""}}findValueInOptions(n){return this.options.find(i=>i.value===n||i.label===n)||null}findIndexInOptions(n){return this._options.findIndex(i=>i.value===n||i.label===n)}isMaxItemsReached(){const n=this.maxlength!==null&&this._value.length>=this.maxlength;return n?this._maxIsReached=!0:this._maxIsReached=!1,n}toggleValue(n){var i,l;if(this.disabled)return;this.touched=!0,this._userInfoMessage="",this._addValueText=null;const d=((i=this.findValueInOptions(n))==null?void 0:i.value)||null,g=this._value.includes(n||d||""),v=!!d,D=((l=this._options.find(V=>V.value===n))==null?void 0:l.disabled)||!1,x=!(n!=null&&n.trim()),E=!this.multiple,A=this.multiple,N=this.isMaxItemsReached();let O=!1,B=!0,j="",G="";D||(!v&&this.allowUserInput&&!x?(this.addNewUserValue(n),j="Ny verdi lagt til",O=!A):!v&&!this.allowUserInput?(E&&this._value[0]&&this.removeValue(this._value[0]),B=!1,O=!0,j="Ingen treff i søket"):g?(this.removeValue(d),O=!0):x&&E?(this.removeAllSelected(),O=!0):E?(this._value[0]&&this.removeSelected(this._value[0]),this.setSelected(d),O=!1,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&(this.inputRef.value.value="",this.inputRef.value.blur())):A&&!N?(this.setSelected(d),O=!0):A&&N?(this._userInfoMessage="Maks antall valg nådd",B=!1,G=n):(E&&this.removeAllSelected(),this._userInfoMessage="Ingen gyldig verdi valgt",B=!1,O=!0,G=n),this._isOptionsOpen=O,O||window.setTimeout(()=>{var V;(V=this.focusRef.value)==null||V.focus()},0),this._userInfoMessage=j,this._search=G||"",this.resetComboboxInput(B),A&&this.isMaxItemsReached())}setSelected(n){if(!this._value.includes(n)){if(this.multiple&&this.isMaxItemsReached()){this._userInfoMessage="Maks antall valg nådd";return}!this.multiple&&this.removeAllSelected(),this._value=n?[...this._value,n]:this._value,this._options=this._options.map(i=>(i.value===n&&(i.selected=!0),i)),this.resetComboboxInput(!0)}}removeSelected(n){if(!n)return;this._value=this._value.filter(l=>l!==n);const i=this.findValueInOptions(n);i?(i.selected=!1,i.userAdded?(this._options=[...this._options.filter(l=>l.value!==n)],this.options=[...this.options.filter(l=>l.value!==n)]):this._options=[...this._options,i]):!n&&!this.multiple&&(this._options=this._options.map(l=>(l.selected=!1,l)))}addAllOptions(){if(this.multiple){if(this.maxlength&&this._options.length>this.maxlength){this._userInfoMessage="For mange valgt";return}this._value=this._options.map(n=>n.value),this._options=this._options.map(n=>(n.selected=!0,n)),this.requestUpdate()}}removeAllSelected(){this._value=[],this._options=this._options.map(n=>(n.selected=!1,n)),this._options=this._options.filter(n=>!n.userAdded),this.requestUpdate()}addValue(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value.trim())||"";this._search=i,this.toggleValue(i)}removeValue(n){this._value=this.multiple?this._value.filter(i=>i!==n):[],this.removeSelected(n)}addNewUserValue(n){if(!n||n.trim()==="")return;if(!this.multiple)this._value[0]&&this.removeSelected(this._value[0]),this._value=[n],this._isOptionsOpen=!1,this.blurInput();else if(!this.findValueInOptions(n)){if(this.isMaxItemsReached())return;this._value=[...this._value,n]}const i={value:n,label:n,userAdded:!0};this.options=[i,...this.options],this._options=[i,...this._options],this.setSelected(n),this.requestUpdate()}resetComboboxInput(n=!0){if(this._addValueText=null,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&n)if(this._search="",this.multiple)this.inputRef.value.value="";else{const i=this.findValueInOptions(this._value[0]);window.setTimeout(()=>{!this.inputRef.value||this.inputRef.value.type==="hidden"||(this.inputRef.value.value=this.displayValueAs==="label"&&i!=null&&i.label?i.label:this._value[0]||"")},0),this._userInfoMessage=""}this._options=[...this.options]}removeLastValue(n){if(this._value.length===0)return;n.preventDefault();const i=this._value[this._value.length-1];i&&this.removeSelected(i),this.isMaxItemsReached()}};oa([H({type:String,reflect:!0})],Ur.prototype,"value",2),oa([H({type:Array})],Ur.prototype,"options",2),oa([H({type:Boolean})],Ur.prototype,"allowUserInput",2),oa([H({type:Boolean})],Ur.prototype,"typeahead",2),oa([H({type:Boolean})],Ur.prototype,"includeSearch",2),oa([H({type:String})],Ur.prototype,"searchPlaceholder",2),oa([H({type:Boolean})],Ur.prototype,"multiple",2),oa([H({type:Number})],Ur.prototype,"maxlength",2),oa([H({type:String})],Ur.prototype,"displayValueAs",2),oa([H({type:String})],Ur.prototype,"tagPlacement",2),oa([Fn()],Ur.prototype,"_options",2),oa([Fn()],Ur.prototype,"_isOptionsOpen",2),oa([Fn()],Ur.prototype,"_value",2),oa([Fn()],Ur.prototype,"_userInfoMessage",2),oa([Fn()],Ur.prototype,"_addValueText",2),oa([Fn()],Ur.prototype,"_maxIsReached",2),oa([Fn()],Ur.prototype,"_search",2),oa([Fn()],Ur.prototype,"_inputFocus",2),oa([Fn()],Ur.prototype,"_editingSingleValue",2),Ur=oa([gr("pkt-combobox")],Ur);var ZN=Object.defineProperty,e3=Object.getOwnPropertyDescriptor,Kl=(r,n,i,l)=>{for(var d=l>1?void 0:l?e3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&ZN(n,i,d),d};let bs=class extends cn{constructor(){super(...arguments),this.inputRef=fn(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.isSwitch=!1,this.labelPosition="right",this.hideLabel=!1,this.checked=null,this.type="checkbox"}connectedCallback(){super.connectedCallback()}attributeChangedCallback(n,i,l){n==="defaultChecked"&&!this.checked&&(this.checked=this.defaultChecked),n==="checked"&&(this.checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(n,i,l)}firstUpdated(n){n.has("defaultChecked")&&!this.checked&&(this.checked=this.defaultChecked),super.firstUpdated(n)}render(){const n=sn({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),i=sn({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError}),l=sn({"pkt-input-check__input-label":!0,"pkt-input-check__input-label--left":this.labelPosition==="left","pkt-input-check__input-label--right":this.labelPosition==="right","pkt-sr-only":this.hideLabel}),d=()=>Ae`
|
|
865
|
+
`});return n?i:l}renderValueTag(n){if(!n)return"";switch(this.displayValueAs){case"prefixAndValue":return Ae`<span data-focusfix=${this.id}>${n.prefix||""} ${n.value}</span>`;case"value":return Ae`<span data-focusfix=${this.id}>${n.value}</span>`;case"label":default:return Ae`<span data-focusfix=${this.id}>${n.label||n.value}</span>`}}handleInput(n){if(n.stopPropagation(),n.stopImmediatePropagation(),this.disabled)return;this.touched=!0;const i=n.target;if(this._search=i.value,this.checkForMatches(),this.typeahead)if(this._search){if(this._options=this.options.filter(l=>{var d;return(d=l.fulltext)==null?void 0:d.toLowerCase().includes(this._search.toLowerCase())}),n.inputType!=="deleteContentBackward"){const l=this._options.filter(d=>{var g;return!d.selected&&((g=d.label)==null?void 0:g.toLowerCase().startsWith(this._search.toLowerCase()))});if(l.length>0&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const d=l[0];d!=null&&d.label&&(i.value=d.label,window.setTimeout(()=>i.setSelectionRange(this._search.length,i.value.length),0),i.selectionDirection="backward")}}}else this._options=[...this.options]}handleFocus(){if(!this.disabled){if(!this.multiple&&this._value[0]&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const n=this.findValueInOptions(this._value[0]);this._editingSingleValue=!0,this.inputRef.value.value=this.displayValueAs==="label"&&n!=null&&n.label?n.label:this._value[0]}this._inputFocus=!0,this._search="",this._options=[...this.options],this._isOptionsOpen=!0,this.onFocus(),this.requestUpdate()}}handleFocusOut(n){var i,l,d,g,v;if(!this.disabled&&((l=(i=n.relatedTarget)==null?void 0:i.closest("pkt-combobox"))==null?void 0:l.id)!==this.id&&((g=(d=n.relatedTarget)==null?void 0:d.closest("pkt-combobox"))==null?void 0:g.id)!==this.id&&((v=n.target)==null?void 0:v.getAttribute("data-focusfix"))!==this.id&&n.relatedTarget!==this.focusRef.value&&n.relatedTarget!==this.inputRef.value&&n.relatedTarget!==this.arrowRef.value&&this._isOptionsOpen){if(this._inputFocus=!1,this._addValueText=null,this._userInfoMessage="",this._search="",this.inputRef.value&&this.inputRef.value.type!=="hidden"&&this.inputRef.value.value!==""){const D=this.inputRef.value.value;!this._value.includes(D)&&!this._options.find(x=>x.label===D)?this.allowUserInput?this.addNewUserValue(D):this.multiple||this.removeValue(this._value[0]):this._value.includes(D)||this.setSelected(D),this.inputRef.value.value=""}this._isOptionsOpen=!1,this.onBlur()}}handleBlur(){this._inputFocus=!1,this._editingSingleValue=!1,this.onBlur()}handleInputClick(n){var i,l;this.disabled||(n.currentTarget&&n.currentTarget!==this.arrowRef.value&&((i=this.inputRef.value)==null?void 0:i.type)!=="hidden"?(l=this.inputRef.value)==null||l.focus():this.handleArrowClick(n))}handleArrowClick(n){var i,l;this.disabled||n instanceof KeyboardEvent&&n.key&&n.key!=="Enter"&&n.key!==" "&&n.key!=="ArrowDown"||(n.stopImmediatePropagation(),n.preventDefault(),this._isOptionsOpen=!this._isOptionsOpen,this._isOptionsOpen?(i=this.listboxRef.value)==null||i.focusFirstOrSelectedOption():(l=this.arrowRef.value)==null||l.focus())}handleOptionToggled(n){this.toggleValue(n.detail)}handleSearch(n){n.stopPropagation(),this._search=n.detail.toLowerCase()}handleInputKeydown(n){var i,l,d;switch(n.key){case",":case"Enter":n.preventDefault(),this.addValue();break;case"Backspace":!this._search&&((i=this.inputRef.value)==null?void 0:i.type)==="hidden"&&this.removeLastValue(n);break;case"Tab":case"ArrowDown":n.shiftKey||((l=this.listboxRef.value)==null||l.focusFirstOrSelectedOption(),n.preventDefault());break;case"Escape":this._isOptionsOpen=!1,(d=this.arrowRef.value)==null||d.focus(),n.preventDefault();break}}handleTagRemove(n){this.removeSelected(n)}blurInput(){this.inputRef.value&&this.inputRef.value.matches(":focus")&&this.inputRef.value.blur()}checkForMatches(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value)||this._search||"",l=i.trim().toLowerCase()||"";if(!l){!this.multiple&&this._value[0]&&this.removeValue(this._value[0]),this.resetComboboxInput(!1);return}const d=this._value.find(D=>D.toLowerCase()===l),g=this._options.filter(D=>{var x;return((x=D.label)==null?void 0:x.toLowerCase().includes(l))??!1}),v=g.find(D=>{var x;return((x=D.label)==null?void 0:x.toLowerCase())===l||D.value.toLowerCase()===l});switch(!0){case((g.length===0||!v)&&this.allowUserInput):this._addValueText=i,this._userInfoMessage="";break;case(g.length===0&&!this.allowUserInput):this._addValueText=null,this._userInfoMessage="Ingen match i søket";break;case!!d:this._addValueText=null,this._userInfoMessage="Verdien er allerede valgt";break;case g.length>1:this._addValueText=null,this._userInfoMessage="";break;default:this._addValueText=null,this._userInfoMessage=""}}findValueInOptions(n){return this.options.find(i=>i.value===n||i.label===n)||null}findIndexInOptions(n){return this._options.findIndex(i=>i.value===n||i.label===n)}isMaxItemsReached(){const n=this.maxlength!==null&&this._value.length>=this.maxlength;return n?this._maxIsReached=!0:this._maxIsReached=!1,n}toggleValue(n){var i,l;if(this.disabled)return;this.touched=!0,this._userInfoMessage="",this._addValueText=null;const d=((i=this.findValueInOptions(n))==null?void 0:i.value)||null,g=this._value.includes(n||d||""),v=!!d,D=((l=this._options.find(V=>V.value===n))==null?void 0:l.disabled)||!1,x=!(n!=null&&n.trim()),E=!this.multiple,A=this.multiple,N=this.isMaxItemsReached();let O=!1,B=!0,j="",G="";D||(!v&&this.allowUserInput&&!x?(this.addNewUserValue(n),j="Ny verdi lagt til",O=!A):!v&&!this.allowUserInput?(E&&this._value[0]&&this.removeValue(this._value[0]),B=!1,O=!0,j="Ingen treff i søket"):g?(this.removeValue(d),O=!0):x&&E?(this.removeAllSelected(),O=!0):E?(this._value[0]&&this.removeSelected(this._value[0]),this.setSelected(d),O=!1,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&(this.inputRef.value.value="",this.inputRef.value.blur())):A&&!N?(this.setSelected(d),O=!0):A&&N?(this._userInfoMessage="Maks antall valg nådd",B=!1,G=n):(E&&this.removeAllSelected(),this._userInfoMessage="Ingen gyldig verdi valgt",B=!1,O=!0,G=n),this._isOptionsOpen=O,O||window.setTimeout(()=>{var V;(V=this.focusRef.value)==null||V.focus()},0),this._userInfoMessage=j,this._search=G||"",this.resetComboboxInput(B),A&&this.isMaxItemsReached())}setSelected(n){if(!this._value.includes(n)){if(this.multiple&&this.isMaxItemsReached()){this._userInfoMessage="Maks antall valg nådd";return}!this.multiple&&this.removeAllSelected(),this._value=n?[...this._value,n]:this._value,this._options=this._options.map(i=>(i.value===n&&(i.selected=!0),i)),this.resetComboboxInput(!0)}}removeSelected(n){if(!n)return;this._value=this._value.filter(l=>l!==n);const i=this.findValueInOptions(n);i?(i.selected=!1,i.userAdded?(this._options=[...this._options.filter(l=>l.value!==n)],this.options=[...this.options.filter(l=>l.value!==n)]):this._options=[...this._options,i]):!n&&!this.multiple&&(this._options=this._options.map(l=>(l.selected=!1,l)))}addAllOptions(){if(this.multiple){if(this.maxlength&&this._options.length>this.maxlength){this._userInfoMessage="For mange valgt";return}this._value=this._options.map(n=>n.value),this._options=this._options.map(n=>(n.selected=!0,n)),this.requestUpdate()}}removeAllSelected(){this._value=[],this._options=this._options.map(n=>(n.selected=!1,n)),this._options=this._options.filter(n=>!n.userAdded),this.requestUpdate()}addValue(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value.trim())||"";this._search=i,this.toggleValue(i)}removeValue(n){this._value=this.multiple?this._value.filter(i=>i!==n):[],this.removeSelected(n)}addNewUserValue(n){if(!n||n.trim()==="")return;if(!this.multiple)this._value[0]&&this.removeSelected(this._value[0]),this._value=[n],this._isOptionsOpen=!1,this.blurInput();else if(!this.findValueInOptions(n)){if(this.isMaxItemsReached())return;this._value=[...this._value,n]}const i={value:n,label:n,userAdded:!0};this.options=[i,...this.options],this._options=[i,...this._options],this.setSelected(n),this.requestUpdate()}resetComboboxInput(n=!0){if(this._addValueText=null,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&n)if(this._search="",this.multiple)this.inputRef.value.value="";else{const i=this.findValueInOptions(this._value[0]);window.setTimeout(()=>{!this.inputRef.value||this.inputRef.value.type==="hidden"||(this.inputRef.value.value=this.displayValueAs==="label"&&i!=null&&i.label?i.label:this._value[0]||"")},0),this._userInfoMessage=""}this._options=[...this.options]}removeLastValue(n){if(this._value.length===0)return;n.preventDefault();const i=this._value[this._value.length-1];i&&this.removeSelected(i),this.isMaxItemsReached()}};oa([H({type:String,reflect:!0})],Ur.prototype,"value",2),oa([H({type:Array})],Ur.prototype,"options",2),oa([H({type:Boolean})],Ur.prototype,"allowUserInput",2),oa([H({type:Boolean})],Ur.prototype,"typeahead",2),oa([H({type:Boolean})],Ur.prototype,"includeSearch",2),oa([H({type:String})],Ur.prototype,"searchPlaceholder",2),oa([H({type:Boolean})],Ur.prototype,"multiple",2),oa([H({type:Number})],Ur.prototype,"maxlength",2),oa([H({type:String})],Ur.prototype,"displayValueAs",2),oa([H({type:String})],Ur.prototype,"tagPlacement",2),oa([Fn()],Ur.prototype,"_options",2),oa([Fn()],Ur.prototype,"_isOptionsOpen",2),oa([Fn()],Ur.prototype,"_value",2),oa([Fn()],Ur.prototype,"_userInfoMessage",2),oa([Fn()],Ur.prototype,"_addValueText",2),oa([Fn()],Ur.prototype,"_maxIsReached",2),oa([Fn()],Ur.prototype,"_search",2),oa([Fn()],Ur.prototype,"_inputFocus",2),oa([Fn()],Ur.prototype,"_editingSingleValue",2),Ur=oa([gr("pkt-combobox")],Ur);var ZN=Object.defineProperty,e3=Object.getOwnPropertyDescriptor,Kl=(r,n,i,l)=>{for(var d=l>1?void 0:l?e3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&ZN(n,i,d),d};let bs=class extends cn{constructor(){super(...arguments),this.inputRef=fn(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.isSwitch=!1,this.labelPosition="right",this.hideLabel=!1,this.checked=null,this.type="checkbox"}connectedCallback(){super.connectedCallback()}attributeChangedCallback(n,i,l){n==="defaultChecked"&&!this.checked&&(this.checked=this.defaultChecked),n==="checked"&&(this.checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(n,i,l)}firstUpdated(n){n.has("defaultChecked")&&!this.checked&&(this.checked=this.defaultChecked),super.firstUpdated(n)}render(){const n=on({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),i=on({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError}),l=on({"pkt-input-check__input-label":!0,"pkt-input-check__input-label--left":this.labelPosition==="left","pkt-input-check__input-label--right":this.labelPosition==="right","pkt-sr-only":this.hideLabel}),d=()=>Ae`
|
|
861
866
|
<label class=${l} for=${this.id+"-internal"}>
|
|
862
867
|
${this.label}
|
|
863
868
|
${this.checkHelptext?Ae`<div class="pkt-input-check__input-helptext">${this.checkHelptext}</div>`:rt}
|
|
@@ -884,7 +889,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
884
889
|
</div>
|
|
885
890
|
`}toggleChecked(n){n.stopImmediatePropagation(),this.touched=!0,this.inputRef.value&&(this.checked=this.inputRef.value.matches(":checked"),this.valueChecked(this.checked))}};Kl([H({type:String,reflect:!0})],bs.prototype,"value",2),Kl([H({type:String})],bs.prototype,"checkHelptext",2),Kl([H({type:Boolean})],bs.prototype,"defaultChecked",2),Kl([H({type:Boolean})],bs.prototype,"hasTile",2),Kl([H({type:Boolean})],bs.prototype,"isSwitch",2),Kl([H({type:String})],bs.prototype,"labelPosition",2),Kl([H({type:Boolean})],bs.prototype,"hideLabel",2),Kl([H({type:Boolean,reflect:!0})],bs.prototype,"checked",2),Kl([H({type:String,reflect:!0})],bs.prototype,"type",2),bs=Kl([gr("pkt-checkbox")],bs);const t3={dateformat:{default:"dd.MM.yyyy"},min:{default:null},max:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},range:{default:!1}},Lf={props:t3};var n3=Object.defineProperty,r3=Object.getOwnPropertyDescriptor,sa=(r,n,i,l)=>{for(var d=l>1?void 0:l?r3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&n3(n,i,d),d};const SC=r=>new Promise(n=>setTimeout(n,r));let Hr=class extends cn{constructor(){super(),this.value="",this._value=this.value?Array.isArray(this.value)?this.value:this.value.split(","):[],this.label="Datovelger",this.dateformat=Lf.props.dateformat.default,this.multiple=Lf.props.multiple.default,this.maxlength=null,this.range=Lf.props.range.default,this.showRangeLabels=!1,this.min=null,this.max=null,this.weeknumbers=Lf.props.weeknumbers.default,this.withcontrols=Lf.props.withcontrols.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.calendarOpen=!1,this.timezone="Europe/Oslo",this.inputClasses={},this.buttonClasses={},this.inputRef=fn(),this.inputRefTo=fn(),this.btnRef=fn(),this.calRef=fn(),this.popupRef=fn(),this.helptextSlot=fn(),this.addToSelected=n=>{const i=n.target;if(!i.value)return;const l=this.min?ia(this.min):null,d=this.max?ia(this.max):null,g=ia(i.value.split(",")[0]);g&&!isNaN(g.getTime())&&(!l||g>=l)&&(!d||g<=d)&&this.calRef.value&&this.calRef.value.handleDateSelect(g),i.value=""},this.slotController=new Ma(this,this.helptextSlot)}async connectedCallback(){super.connectedCallback();const n=navigator.userAgent,i=/iP(hone|od|ad)/.test(n);this.inputType=i?"text":"date",document&&document.body.addEventListener("click",l=>{var d,g;(d=this.inputRef)!=null&&d.value&&(g=this.btnRef)!=null&&g.value&&!this.inputRef.value.contains(l.target)&&!(this.inputRefTo.value&&this.inputRefTo.value.contains(l.target))&&!this.btnRef.value.contains(l.target)&&!l.target.closest(".pkt-calendar-popup")&&this.calendarOpen&&(this.onBlur(),this.hideCalendar())}),this.value.length&&this._value.length===0&&(this._value=Array.isArray(this.value)?this.value:this.value.split(",")),this.min=this.min||Lf.props.min.default,this.max=this.max||Lf.props.max.default,typeof this.excludedates=="string"&&(this.excludedates=this.excludedates.split(",")),typeof this.excludeweekdays=="string"&&(this.excludeweekdays=this.excludeweekdays.split(",")),(this.multiple||this.range)&&this.name&&!this.name.endsWith("[]")&&(this.name=this.name+"[]"),this.calendarOpen&&(await SC(20),this.handleCalendarPosition())}disconnectedCallback(){super.disconnectedCallback(),document&&document.body.removeEventListener("click",n=>{var i,l;(i=this.inputRef)!=null&&i.value&&(l=this.btnRef)!=null&&l.value&&!this.inputRef.value.contains(n.target)&&!this.btnRef.value.contains(n.target)&&this.hideCalendar()})}attributeChangedCallback(n,i,l){if(n==="value"){if(this.range&&(l==null?void 0:l.split(",").length)===1)return;this.value!==i&&this.valueChanged(l,i)}n==="excludedates"&&typeof this.excludedates=="string"&&(this.excludedates=(l==null?void 0:l.split(","))??[]),n==="excludeweekdays"&&typeof this.excludeweekdays=="string"&&(this.excludeweekdays=(l==null?void 0:l.split(","))??[]),super.attributeChangedCallback(n,i,l)}updated(n){if(n.has("value")){if(this.range&&this.value.length===1)return;this.valueChanged(this.value,n.get("value"))}super.updated(n)}renderInput(){return Ae`
|
|
886
891
|
<input
|
|
887
|
-
class="${
|
|
892
|
+
class="${on(this.inputClasses)}"
|
|
888
893
|
.type=${this.inputType}
|
|
889
894
|
id="${this.id}-input"
|
|
890
895
|
.value=${this._value[0]??""}
|
|
@@ -902,7 +907,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
902
907
|
`}renderRangeInput(){const n={"pkt-input-prefix":this.showRangeLabels,"pkt-hide":!this.showRangeLabels};return Ae`
|
|
903
908
|
${this.showRangeLabels?Ae` <div class="pkt-input-prefix">${this.strings.generic.from}</div> `:rt}
|
|
904
909
|
<input
|
|
905
|
-
class=${
|
|
910
|
+
class=${on(this.inputClasses)}
|
|
906
911
|
.type=${this.inputType}
|
|
907
912
|
id="${this.id}-input"
|
|
908
913
|
.value=${this._value[0]??""}
|
|
@@ -917,12 +922,12 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
917
922
|
@change=${i=>{i.stopImmediatePropagation()}}
|
|
918
923
|
${ln(this.inputRef)}
|
|
919
924
|
/>
|
|
920
|
-
<div class="${
|
|
925
|
+
<div class="${on(n)}" id="${this.id}-to-label">
|
|
921
926
|
${this.strings.generic.to}
|
|
922
927
|
</div>
|
|
923
928
|
${this.showRangeLabels?rt:Ae` <div class="pkt-input-separator">–</div> `}
|
|
924
929
|
<input
|
|
925
|
-
class=${
|
|
930
|
+
class=${on(this.inputClasses)}
|
|
926
931
|
.type=${this.inputType}
|
|
927
932
|
id="${this.id}-to"
|
|
928
933
|
aria-labelledby="${this.id}-to-label"
|
|
@@ -940,7 +945,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
940
945
|
/>
|
|
941
946
|
`}renderMultipleInput(){return Ae`
|
|
942
947
|
<input
|
|
943
|
-
class=${
|
|
948
|
+
class=${on(this.inputClasses)}
|
|
944
949
|
.type=${this.inputType}
|
|
945
950
|
id="${this.id}-input"
|
|
946
951
|
min=${En(this.min)}
|
|
@@ -1021,7 +1026,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1021
1026
|
<div class="pkt-input__container">
|
|
1022
1027
|
${this.range?this.renderRangeInput():this.multiple?this.renderMultipleInput():this.renderInput()}
|
|
1023
1028
|
<button
|
|
1024
|
-
class="${
|
|
1029
|
+
class="${on(this.buttonClasses)}"
|
|
1025
1030
|
type="button"
|
|
1026
1031
|
@click=${this.toggleCalendar}
|
|
1027
1032
|
?disabled=${this.disabled}
|
|
@@ -1035,7 +1040,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1035
1040
|
</pkt-input-wrapper>
|
|
1036
1041
|
${this.renderCalendar()}
|
|
1037
1042
|
`}handleCalendarPosition(){var n;if(this.popupRef.value&&this.inputRef.value){const i=this.multiple&&!!this.maxlength,l=((n=this.inputRef.value.parentElement)==null?void 0:n.getBoundingClientRect())||this.inputRef.value.getBoundingClientRect(),d=i?l.height+30:l.height,g=this.popupRef.value.getBoundingClientRect().height;let v=i?"calc(100% - 30px)":"100%";l&&l.top+g>window.innerHeight&&l.top-g>0&&(v=`calc(100% - ${d}px - ${g}px)`),this.popupRef.value.style.top=v}}handleFocusOut(n){this.contains(n.target)||(this.onBlur(),this.hideCalendar())}async showCalendar(){var n;this.calendarOpen=!0,await SC(20),this.handleCalendarPosition(),this.isMobileSafari&&((n=this.calRef.value)==null||n.focusOnCurrentDate())}hideCalendar(){this.calendarOpen=!1}async toggleCalendar(n){n.preventDefault(),this.calendarOpen?this.hideCalendar():this.showCalendar()}};sa([H({type:String,reflect:!0})],Hr.prototype,"value",2),sa([H({type:Array})],Hr.prototype,"_value",2),sa([H({type:String,reflect:!0})],Hr.prototype,"label",2),sa([H({type:String})],Hr.prototype,"dateformat",2),sa([H({type:Boolean,reflect:!0})],Hr.prototype,"multiple",2),sa([H({type:Number,reflect:!0})],Hr.prototype,"maxlength",2),sa([H({type:Boolean,reflect:!0})],Hr.prototype,"range",2),sa([H({type:Boolean})],Hr.prototype,"showRangeLabels",2),sa([H({type:String,reflect:!0})],Hr.prototype,"min",2),sa([H({type:String,reflect:!0})],Hr.prototype,"max",2),sa([H({type:Boolean})],Hr.prototype,"weeknumbers",2),sa([H({type:Boolean,reflect:!0})],Hr.prototype,"withcontrols",2),sa([H({converter:wh.csvToArray})],Hr.prototype,"excludedates",2),sa([H({converter:wh.csvToArray})],Hr.prototype,"excludeweekdays",2),sa([H({type:String})],Hr.prototype,"currentmonth",2),sa([H({type:Boolean,reflect:!0})],Hr.prototype,"calendarOpen",2),sa([H({type:String})],Hr.prototype,"timezone",2),sa([Fn()],Hr.prototype,"inputClasses",2),sa([Fn()],Hr.prototype,"buttonClasses",2),Hr=sa([gr("pkt-datepicker")],Hr);const a3={href:{default:"#"},target:{default:"_self"},external:{default:!1}},Z0={props:a3};var i3=Object.defineProperty,o3=Object.getOwnPropertyDescriptor,Sh=(r,n,i,l)=>{for(var d=l>1?void 0:l?o3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&i3(n,i,d),d};let vd=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.href=Z0.props.href.default,this.iconName=void 0,this.iconPosition=void 0,this.external=Z0.props.external.default,this.target=Z0.props.target.default,this.slotController=new Ma(this,this.defaultSlot)}render(){const n={"pkt-link":!0,"pkt-link--icon-left":!!this.iconName&&this.iconPosition==="left"||!!(this.iconName&&!this.iconPosition),"pkt-link--icon-right":!!this.iconName&&this.iconPosition==="right","pkt-link--external":this.external};return Ae`<a
|
|
1038
|
-
class=${
|
|
1043
|
+
class=${on(n)}
|
|
1039
1044
|
href=${this.href}
|
|
1040
1045
|
@click=${this.handleClick}
|
|
1041
1046
|
.target=${this.target}
|
|
@@ -1053,7 +1058,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1053
1058
|
|
|
1054
1059
|
<div class="pkt-linkcard__text" ${ln(this.defaultSlot)}></div>
|
|
1055
1060
|
</a>
|
|
1056
|
-
`}};Bf([H({type:String,reflect:!0})],ac.prototype,"title",2),Bf([H({type:String,reflect:!0})],ac.prototype,"href",2),Bf([H({type:String,reflect:!0})],ac.prototype,"iconName",2),Bf([H({type:Boolean,reflect:!0})],ac.prototype,"external",2),Bf([H({type:Boolean,reflect:!0})],ac.prototype,"openInNewTab",2),Bf([H({type:String,reflect:!0})],ac.prototype,"skin",2),ac=Bf([gr("pkt-linkcard")],ac);var u3=Object.defineProperty,c3=Object.getOwnPropertyDescriptor,yd=(r,n,i,l)=>{for(var d=l>1?void 0:l?c3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&u3(n,i,d),d};let Jl=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.delay=0,this.inline=!1,this.isLoading=!0,this.message=null,this.size="medium",this.variant="shapes",this._shouldDisplayLoader=!1,this.slotController=new Ma(this,this.defaultSlot)}connectedCallback(){super.connectedCallback(),this._shouldDisplayLoader=this.delay===0,this.delay>0&&this.setupLoader()}updated(r){r.has("delay")&&this.setupLoader()}render(){const r=
|
|
1061
|
+
`}};Bf([H({type:String,reflect:!0})],ac.prototype,"title",2),Bf([H({type:String,reflect:!0})],ac.prototype,"href",2),Bf([H({type:String,reflect:!0})],ac.prototype,"iconName",2),Bf([H({type:Boolean,reflect:!0})],ac.prototype,"external",2),Bf([H({type:Boolean,reflect:!0})],ac.prototype,"openInNewTab",2),Bf([H({type:String,reflect:!0})],ac.prototype,"skin",2),ac=Bf([gr("pkt-linkcard")],ac);var u3=Object.defineProperty,c3=Object.getOwnPropertyDescriptor,yd=(r,n,i,l)=>{for(var d=l>1?void 0:l?c3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&u3(n,i,d),d};let Jl=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.delay=0,this.inline=!1,this.isLoading=!0,this.message=null,this.size="medium",this.variant="shapes",this._shouldDisplayLoader=!1,this.slotController=new Ma(this,this.defaultSlot)}connectedCallback(){super.connectedCallback(),this._shouldDisplayLoader=this.delay===0,this.delay>0&&this.setupLoader()}updated(r){r.has("delay")&&this.setupLoader()}render(){const r=on({"pkt-loader":!0,[`pkt-loader--${this.inline?"inline":"box"}`]:!0,[`pkt-loader--${this.size}`]:!0}),n=on({"pkt-contents":!0,"pkt-hide":this.isLoading});return Ae`<div role="status" aria-live="polite" .aria-busy=${this.isLoading} class=${r}>
|
|
1057
1062
|
${this.isLoading&&this._shouldDisplayLoader?Ae`<div class="pkt-loader__spinner">
|
|
1058
1063
|
<pkt-icon
|
|
1059
1064
|
name=${this.getVariant(this.variant)}
|
|
@@ -1063,7 +1068,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1063
1068
|
${this.message&&Ae`<p>${this.message}</p>`}
|
|
1064
1069
|
</div>`:rt}
|
|
1065
1070
|
<div class=${n} ${ln(this.defaultSlot)}></div>
|
|
1066
|
-
</div>`}getVariant(r){switch(r){case"blue":return"spinner-blue";case"rainbow":return"spinner";default:return"loader"}}setupLoader(){this.delay>0&&(this._shouldDisplayLoader=!1,setTimeout(()=>{this._shouldDisplayLoader=!0,this.requestUpdate()},this.delay))}};yd([H({type:Number})],Jl.prototype,"delay",2),yd([H({type:Boolean})],Jl.prototype,"inline",2),yd([H({type:Boolean})],Jl.prototype,"isLoading",2),yd([H({type:String})],Jl.prototype,"message",2),yd([H({type:String})],Jl.prototype,"size",2),yd([H({type:String})],Jl.prototype,"variant",2),yd([Fn()],Jl.prototype,"_shouldDisplayLoader",2),Jl=yd([gr("pkt-loader")],Jl);const d3={skin:{default:"beige"},compact:{default:!1},closable:{default:!1}},ew={props:d3};var f3=Object.defineProperty,p3=Object.getOwnPropertyDescriptor,Ch=(r,n,i,l)=>{for(var d=l>1?void 0:l?p3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&f3(n,i,d),d};let bd=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.closable=ew.props.closable.default,this.compact=ew.props.compact.default,this.title="",this.skin=ew.props.skin.default,this._isClosed=!1,this.close=r=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:r},bubbles:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:r},bubbles:!0}))},this.slotController=new Ma(this,this.defaultSlot),this._isClosed=!1}updated(r){super.updated(r),r.has("_isClosed")&&J1(this,"pkt-hide",this._isClosed)}render(){const r={"pkt-messagebox":!0,"pkt-messagebox--compact":this.compact,[`pkt-messagebox--${this.skin}`]:this.skin,"pkt-messagebox--closable":this.closable,"pkt-hide":this._isClosed};return Ae`<div class=${
|
|
1071
|
+
</div>`}getVariant(r){switch(r){case"blue":return"spinner-blue";case"rainbow":return"spinner";default:return"loader"}}setupLoader(){this.delay>0&&(this._shouldDisplayLoader=!1,setTimeout(()=>{this._shouldDisplayLoader=!0,this.requestUpdate()},this.delay))}};yd([H({type:Number})],Jl.prototype,"delay",2),yd([H({type:Boolean})],Jl.prototype,"inline",2),yd([H({type:Boolean})],Jl.prototype,"isLoading",2),yd([H({type:String})],Jl.prototype,"message",2),yd([H({type:String})],Jl.prototype,"size",2),yd([H({type:String})],Jl.prototype,"variant",2),yd([Fn()],Jl.prototype,"_shouldDisplayLoader",2),Jl=yd([gr("pkt-loader")],Jl);const d3={skin:{default:"beige"},compact:{default:!1},closable:{default:!1}},ew={props:d3};var f3=Object.defineProperty,p3=Object.getOwnPropertyDescriptor,Ch=(r,n,i,l)=>{for(var d=l>1?void 0:l?p3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&f3(n,i,d),d};let bd=class extends Qr{constructor(){super(),this.defaultSlot=fn(),this.closable=ew.props.closable.default,this.compact=ew.props.compact.default,this.title="",this.skin=ew.props.skin.default,this._isClosed=!1,this.close=r=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:r},bubbles:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:r},bubbles:!0}))},this.slotController=new Ma(this,this.defaultSlot),this._isClosed=!1}updated(r){super.updated(r),r.has("_isClosed")&&J1(this,"pkt-hide",this._isClosed)}render(){const r={"pkt-messagebox":!0,"pkt-messagebox--compact":this.compact,[`pkt-messagebox--${this.skin}`]:this.skin,"pkt-messagebox--closable":this.closable,"pkt-hide":this._isClosed};return Ae`<div class=${on(r)}>
|
|
1067
1072
|
${this.closable?Ae`<div class="pkt-messagebox__close">
|
|
1068
1073
|
<button
|
|
1069
1074
|
@click=${this.close}
|
|
@@ -1076,7 +1081,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1076
1081
|
<div class="pkt-messagebox__text" ${ln(this.defaultSlot)}></div>
|
|
1077
1082
|
</div>`}};Ch([H({type:Boolean,reflect:!0})],bd.prototype,"closable",2),Ch([H({type:Boolean,reflect:!0})],bd.prototype,"compact",2),Ch([H({type:String,reflect:!0})],bd.prototype,"title",2),Ch([H({type:String,reflect:!0})],bd.prototype,"skin",2),Ch([Fn()],bd.prototype,"_isClosed",2),bd=Ch([gr("pkt-messagebox")],bd);const h3={hideCloseButton:{default:!1},closeOnBackdropClick:{default:!1},size:{default:"medium"}},tw={props:h3};var m3=Object.defineProperty,g3=Object.getOwnPropertyDescriptor,kd=(r,n,i,l)=>{for(var d=l>1?void 0:l?g3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&m3(n,i,d),d};let Zl=class extends Qr{constructor(){super(),this.headingText="",this.removePadding=!1,this.hideCloseButton=tw.props.hideCloseButton.default,this.closeOnBackdropClick=tw.props.closeOnBackdropClick.default,this.closeButtonSkin="blue",this.size=tw.props.size.default,this.defaultSlot=fn(),this.dialogRef=fn(),this._isOpen=!1,this.close=(n,i=!1)=>{var l;if(!this._isOpen)return;this._isOpen=!1,document.body.classList.remove("pkt-modal--open");const d=document.activeElement;d&&!this.isElementInViewport(d)&&d.scrollIntoView({behavior:"smooth",block:"nearest"}),this.dispatchEvent(new CustomEvent("close",{detail:{origin:n},bubbles:!0,composed:!0})),i||(l=this.dialogRef.value)==null||l.close(),this.requestUpdate()},this.showModal=n=>{var i;this._isOpen=!0,(i=this.dialogRef.value)==null||i.showModal();const l=document.querySelector(".pkt-modal");requestAnimationFrame(()=>{var d;this.dialogRef.value&&((d=this.dialogRef.value)==null||d.focus())}),l&&document.body.classList.add("pkt-modal--open"),this.dispatchEvent(new CustomEvent("showModal",{detail:{origin:n},bubbles:!0,composed:!0})),this.requestUpdate()},this.slotController=new Ma(this,this.defaultSlot),this._isOpen=!1}async connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("click",this.handleBackdropClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("click",this.handleBackdropClick)}handleKeyDown(n){n.key==="Escape"&&this.close(n)}handleBackdropClick(n){var i;this.closeOnBackdropClick&&n.target===((i=this.dialogRef)==null?void 0:i.value)&&this.close(n)}isElementInViewport(n){const i=n.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth)}render(){const n={"pkt-modal":!0,"pkt-modal--removePadding":this.removePadding??!1,"pkt-modal--noHeadingText":this.headingText===""||this.headingText===void 0,[`pkt-modal--${this.size}`]:this.size!==void 0},i={"pkt-modal__headingText":!0,"pkt-txt-24":!0},l={"pkt-modal__content":!0,"pkt-txt-18-light":!0},d=this.closeButtonSkin==="blue",g={"pkt-modal__closeButton":!0,[`pkt-modal__closeButton--${this.closeButtonSkin}`]:!0},v={"pkt-btn":!0,[`pkt-btn--${d?"tertiary":"primary"}`]:!0,"pkt-btn--icon-only":!0,"pkt-btn--medium":!0};return Ae`
|
|
1078
1083
|
<dialog
|
|
1079
|
-
class=${
|
|
1084
|
+
class=${on(n)}
|
|
1080
1085
|
${ln(this.dialogRef)}
|
|
1081
1086
|
aria-labelledby="pkt-modal__headingText"
|
|
1082
1087
|
aria-describedby="pkt-modal__content"
|
|
@@ -1084,13 +1089,13 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1084
1089
|
>
|
|
1085
1090
|
<div class="pkt-modal__header">
|
|
1086
1091
|
<div class="pkt-modal__header-background"></div>
|
|
1087
|
-
${this.headingText?Ae`<h1 id="pkt-modal__headingText" class=${
|
|
1092
|
+
${this.headingText?Ae`<h1 id="pkt-modal__headingText" class=${on(i)}>
|
|
1088
1093
|
${this.headingText}
|
|
1089
1094
|
</h1>`:rt}
|
|
1090
|
-
${this.hideCloseButton?rt:Ae`<div class="${
|
|
1095
|
+
${this.hideCloseButton?rt:Ae`<div class="${on(g)}">
|
|
1091
1096
|
<pkt-button
|
|
1092
1097
|
@click=${D=>this.close(D)}
|
|
1093
|
-
class=${
|
|
1098
|
+
class=${on(v)}
|
|
1094
1099
|
aria-label="close"
|
|
1095
1100
|
iconname="close"
|
|
1096
1101
|
variant="icon-only"
|
|
@@ -1101,7 +1106,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1101
1106
|
<div class="pkt-modal__container">
|
|
1102
1107
|
<div
|
|
1103
1108
|
id="pkt-modal__content"
|
|
1104
|
-
class=${
|
|
1109
|
+
class=${on(l)}
|
|
1105
1110
|
${ln(this.defaultSlot)}
|
|
1106
1111
|
></div>
|
|
1107
1112
|
</div>
|
|
@@ -1110,7 +1115,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1110
1115
|
* @license
|
|
1111
1116
|
* Copyright 2018 Google LLC
|
|
1112
1117
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1113
|
-
*/const CC="important",v3=" !"+CC,y3=Ff(class extends gh{constructor(r){var n;if(super(r),r.type!==rl.ATTRIBUTE||r.name!=="style"||((n=r.strings)==null?void 0:n.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((n,i)=>{const l=r[i];return l==null?n:n+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${l};`},"")}update(r,[n]){const{style:i}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(n)),this.render(n);for(const l of this.ft)n[l]==null&&(this.ft.delete(l),l.includes("-")?i.removeProperty(l):i[l]=null);for(const l in n){const d=n[l];if(d!=null){this.ft.add(l);const g=typeof d=="string"&&d.endsWith(v3);l.includes("-")||g?i.setProperty(l,g?d.slice(0,-11):d,g?CC:""):i[l]=d}}return co}});var b3=Object.defineProperty,k3=Object.getOwnPropertyDescriptor,ba=(r,n,i,l)=>{for(var d=l>1?void 0:l?k3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&b3(n,i,d),d};let Xr=class extends Qr{constructor(){super(),this.ariaLabel=null,this.ariaLabelledby=null,this.ariaValueText=null,this.ariaLive="polite",this.id=Rf(),this.role="progressbar",this.skin="dark-blue",this.statusPlacement="following",this.statusType="none",this.title="",this.titlePosition="left",this.valueCurrent=0,this.valueMax=100,this.valueMin=0,this.labelWidth=0,this.progressbarId=this.id,this.computedAriaLabelledby=null,this.computedAriaValueText="",this.labelRef=fn(),this.progressBarRef=fn()}firstUpdated(r){super.firstUpdated(r),this.setComputedValues(),this.syncAttributes()}updated(r){super.updated(r),r.has("valueCurrent")&&this.labelRef.value&&(this.labelWidth=this.labelRef.value.getBoundingClientRect().width||0),r.has("id")&&this.id&&(this.progressBarId=this.id),(r.has("statusType")||r.has("id")||r.has("ariaLabelledby"))&&(this.progressbarId=this.id||Rf(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`),(r.has("ariaValueText")||r.has("valueCurrent")||r.has("valueMax"))&&(this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""),this.syncAttributes()}render(){const r=this.statusType!=="none",n=this.valueMax-this.valueMin,i=this.valueCurrent/n*100,l=this.statusType==="fraction"?Math.round(i):Math.round((this.valueCurrent-this.valueMin)/(this.valueMax-this.valueMin)*100),d=`${this.valueCurrent} av ${n}`,g=
|
|
1118
|
+
*/const CC="important",v3=" !"+CC,y3=Ff(class extends gh{constructor(r){var n;if(super(r),r.type!==rl.ATTRIBUTE||r.name!=="style"||((n=r.strings)==null?void 0:n.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((n,i)=>{const l=r[i];return l==null?n:n+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${l};`},"")}update(r,[n]){const{style:i}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(n)),this.render(n);for(const l of this.ft)n[l]==null&&(this.ft.delete(l),l.includes("-")?i.removeProperty(l):i[l]=null);for(const l in n){const d=n[l];if(d!=null){this.ft.add(l);const g=typeof d=="string"&&d.endsWith(v3);l.includes("-")||g?i.setProperty(l,g?d.slice(0,-11):d,g?CC:""):i[l]=d}}return co}});var b3=Object.defineProperty,k3=Object.getOwnPropertyDescriptor,ba=(r,n,i,l)=>{for(var d=l>1?void 0:l?k3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&b3(n,i,d),d};let Xr=class extends Qr{constructor(){super(),this.ariaLabel=null,this.ariaLabelledby=null,this.ariaValueText=null,this.ariaLive="polite",this.id=Rf(),this.role="progressbar",this.skin="dark-blue",this.statusPlacement="following",this.statusType="none",this.title="",this.titlePosition="left",this.valueCurrent=0,this.valueMax=100,this.valueMin=0,this.labelWidth=0,this.progressbarId=this.id,this.computedAriaLabelledby=null,this.computedAriaValueText="",this.labelRef=fn(),this.progressBarRef=fn()}firstUpdated(r){super.firstUpdated(r),this.setComputedValues(),this.syncAttributes()}updated(r){super.updated(r),r.has("valueCurrent")&&this.labelRef.value&&(this.labelWidth=this.labelRef.value.getBoundingClientRect().width||0),r.has("id")&&this.id&&(this.progressBarId=this.id),(r.has("statusType")||r.has("id")||r.has("ariaLabelledby"))&&(this.progressbarId=this.id||Rf(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`),(r.has("ariaValueText")||r.has("valueCurrent")||r.has("valueMax"))&&(this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""),this.syncAttributes()}render(){const r=this.statusType!=="none",n=this.valueMax-this.valueMin,i=this.valueCurrent/n*100,l=this.statusType==="fraction"?Math.round(i):Math.round((this.valueCurrent-this.valueMin)/(this.valueMax-this.valueMin)*100),d=`${this.valueCurrent} av ${n}`,g=on({"pkt-progressbar__bar":!0,[`pkt-progressbar__bar--${this.skin}`]:!!this.skin}),v=on({"pkt-progressbar__title":!0,"pkt-progressbar__title-center":this.titlePosition==="center"}),D=on({"pkt-progressbar__status":!0,"pkt-progressbar__status--center":this.statusPlacement==="center"}),x=on({"pkt-progressbar__status-placement--following":this.statusPlacement==="following","pkt-progressbar__status-placement--center":this.statusPlacement==="center","pkt-progressbar__status-placement--left":this.statusPlacement==="left"});return Ae` <div
|
|
1114
1119
|
class="pkt-progressbar__container"
|
|
1115
1120
|
.ref=${this.progressBarRef}
|
|
1116
1121
|
style=${y3({"--pkt-progress-label-width":`${this.labelWidth}px`,"--pkt-progress-width":`${l}%`})}
|
|
@@ -1126,7 +1131,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1126
1131
|
${this.statusType==="percentage"?`${l}%`:d}
|
|
1127
1132
|
</span>
|
|
1128
1133
|
</div>`:rt}
|
|
1129
|
-
</div>`}setComputedValues(){this.progressbarId=this.id||Rf(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`,this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""}syncAttributes(){this._handleAttribute("aria-live",this.ariaLive),this._handleAttribute("aria-valuenow",this.valueCurrent),this._handleAttribute("aria-valuemin",this.valueMin),this._handleAttribute("aria-valuemax",this.valueMax),this._handleAttribute("aria-valuetext",this.computedAriaValueText),this._handleAttribute("aria-label",this.ariaLabel),this._handleAttribute("role",this.role),this._handleAttribute("aria-atomic","true"),this._handleAttribute("id",this.progressbarId),this.ariaLabel||this._handleAttribute("aria-labelledby",this.computedAriaLabelledby)}_handleAttribute(r,n){n==null||n===""?this.removeAttribute(r):this.setAttribute(r,String(n))}};ba([H({type:String})],Xr.prototype,"ariaLabel",2),ba([H({type:String,reflect:!0})],Xr.prototype,"ariaLabelledby",2),ba([H({type:String,reflect:!0})],Xr.prototype,"ariaValueText",2),ba([H({type:String})],Xr.prototype,"ariaLive",2),ba([H({type:String,reflect:!0})],Xr.prototype,"id",2),ba([H({type:String})],Xr.prototype,"role",2),ba([H({type:String})],Xr.prototype,"skin",2),ba([H({type:String})],Xr.prototype,"statusPlacement",2),ba([H({type:String})],Xr.prototype,"statusType",2),ba([H({type:String,reflect:!0})],Xr.prototype,"title",2),ba([H({type:String})],Xr.prototype,"titlePosition",2),ba([H({type:Number,reflect:!0})],Xr.prototype,"valueCurrent",2),ba([H({type:Number})],Xr.prototype,"valueMax",2),ba([H({type:Number})],Xr.prototype,"valueMin",2),ba([Fn()],Xr.prototype,"labelWidth",2),ba([Fn()],Xr.prototype,"progressbarId",2),ba([Fn()],Xr.prototype,"computedAriaLabelledby",2),ba([Fn()],Xr.prototype,"computedAriaValueText",2),Xr=ba([gr("pkt-progressbar")],Xr);var w3=Object.defineProperty,D3=Object.getOwnPropertyDescriptor,wd=(r,n,i,l)=>{for(var d=l>1?void 0:l?D3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&w3(n,i,d),d};let eu=class extends cn{constructor(){super(...arguments),this.inputRef=fn(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(r,n,i){r==="defaultChecked"&&(this._checked=this.defaultChecked),r==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(r,n,i)}updated(r){r.has("checked")&&this.checked!==null&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0,(r.get("checked")===""||r.get("checked")==="true"||r.get("checked")===!0)!==this._checked&&this.toggleChecked()),super.updated(r)}render(){const r=
|
|
1134
|
+
</div>`}setComputedValues(){this.progressbarId=this.id||Rf(),this.computedAriaLabelledby=this.ariaLabelledby||`${this.progressbarId}-title`,this.computedAriaValueText=this.statusType==="fraction"&&!this.ariaValueText?`${this.valueCurrent} av ${this.valueMax-this.valueMin}`:this.ariaValueText||""}syncAttributes(){this._handleAttribute("aria-live",this.ariaLive),this._handleAttribute("aria-valuenow",this.valueCurrent),this._handleAttribute("aria-valuemin",this.valueMin),this._handleAttribute("aria-valuemax",this.valueMax),this._handleAttribute("aria-valuetext",this.computedAriaValueText),this._handleAttribute("aria-label",this.ariaLabel),this._handleAttribute("role",this.role),this._handleAttribute("aria-atomic","true"),this._handleAttribute("id",this.progressbarId),this.ariaLabel||this._handleAttribute("aria-labelledby",this.computedAriaLabelledby)}_handleAttribute(r,n){n==null||n===""?this.removeAttribute(r):this.setAttribute(r,String(n))}};ba([H({type:String})],Xr.prototype,"ariaLabel",2),ba([H({type:String,reflect:!0})],Xr.prototype,"ariaLabelledby",2),ba([H({type:String,reflect:!0})],Xr.prototype,"ariaValueText",2),ba([H({type:String})],Xr.prototype,"ariaLive",2),ba([H({type:String,reflect:!0})],Xr.prototype,"id",2),ba([H({type:String})],Xr.prototype,"role",2),ba([H({type:String})],Xr.prototype,"skin",2),ba([H({type:String})],Xr.prototype,"statusPlacement",2),ba([H({type:String})],Xr.prototype,"statusType",2),ba([H({type:String,reflect:!0})],Xr.prototype,"title",2),ba([H({type:String})],Xr.prototype,"titlePosition",2),ba([H({type:Number,reflect:!0})],Xr.prototype,"valueCurrent",2),ba([H({type:Number})],Xr.prototype,"valueMax",2),ba([H({type:Number})],Xr.prototype,"valueMin",2),ba([Fn()],Xr.prototype,"labelWidth",2),ba([Fn()],Xr.prototype,"progressbarId",2),ba([Fn()],Xr.prototype,"computedAriaLabelledby",2),ba([Fn()],Xr.prototype,"computedAriaValueText",2),Xr=ba([gr("pkt-progressbar")],Xr);var w3=Object.defineProperty,D3=Object.getOwnPropertyDescriptor,wd=(r,n,i,l)=>{for(var d=l>1?void 0:l?D3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&w3(n,i,d),d};let eu=class extends cn{constructor(){super(...arguments),this.inputRef=fn(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(r,n,i){r==="defaultChecked"&&(this._checked=this.defaultChecked),r==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(r,n,i)}updated(r){r.has("checked")&&this.checked!==null&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0,(r.get("checked")===""||r.get("checked")==="true"||r.get("checked")===!0)!==this._checked&&this.toggleChecked()),super.updated(r)}render(){const r=on({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),n=on({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError});return Ae`
|
|
1130
1135
|
<div class="pkt-input-check">
|
|
1131
1136
|
<div class=${r}>
|
|
1132
1137
|
<input
|
|
@@ -1153,7 +1158,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1153
1158
|
* @license
|
|
1154
1159
|
* Copyright 2020 Google LLC
|
|
1155
1160
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1156
|
-
*/const S3=Ff(class extends gh{constructor(r){if(super(r),r.type!==rl.PROPERTY&&r.type!==rl.ATTRIBUTE&&r.type!==rl.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Y1(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(r,[n]){if(n===co||n===rt)return n;const i=r.element,l=r.name;if(r.type===rl.PROPERTY){if(n===i[l])return co}else if(r.type===rl.BOOLEAN_ATTRIBUTE){if(!!n===i.hasAttribute(l))return co}else if(r.type===rl.ATTRIBUTE&&i.getAttribute(l)===n+"")return co;return X1(r),n}});var C3=Object.defineProperty,x3=Object.getOwnPropertyDescriptor,xg=(r,n,i,l)=>{for(var d=l>1?void 0:l?x3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&C3(n,i,d),d};let Mf=class extends cn{constructor(){super(),this.inputRef=fn(),this.helptextSlot=fn(),this.value="",this.autocomplete="off",this.rows=null,this.counterCurrent=0,this.slotController=new Ma(this,this.helptextSlot)}attributeChangedCallback(n,i,l){n==="value"&&this.value!==i&&(this.counterCurrent=l?l.length:0,this.valueChanged(l,i)),super.attributeChangedCallback(n,i,l)}updated(n){var i;super.updated(n),n.has("value")&&(this.counterCurrent=((i=this.value)==null?void 0:i.length)||0,this.valueChanged(this.value,n.get("value"))),n.has("id")&&!this.name&&this.id&&(this.name=this.id)}render(){const n=
|
|
1161
|
+
*/const S3=Ff(class extends gh{constructor(r){if(super(r),r.type!==rl.PROPERTY&&r.type!==rl.ATTRIBUTE&&r.type!==rl.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Y1(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(r,[n]){if(n===co||n===rt)return n;const i=r.element,l=r.name;if(r.type===rl.PROPERTY){if(n===i[l])return co}else if(r.type===rl.BOOLEAN_ATTRIBUTE){if(!!n===i.hasAttribute(l))return co}else if(r.type===rl.ATTRIBUTE&&i.getAttribute(l)===n+"")return co;return X1(r),n}});var C3=Object.defineProperty,x3=Object.getOwnPropertyDescriptor,xg=(r,n,i,l)=>{for(var d=l>1?void 0:l?x3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&C3(n,i,d),d};let Mf=class extends cn{constructor(){super(),this.inputRef=fn(),this.helptextSlot=fn(),this.value="",this.autocomplete="off",this.rows=null,this.counterCurrent=0,this.slotController=new Ma(this,this.helptextSlot)}attributeChangedCallback(n,i,l){n==="value"&&this.value!==i&&(this.counterCurrent=l?l.length:0,this.valueChanged(l,i)),super.attributeChangedCallback(n,i,l)}updated(n){var i;super.updated(n),n.has("value")&&(this.counterCurrent=((i=this.value)==null?void 0:i.length)||0,this.valueChanged(this.value,n.get("value"))),n.has("id")&&!this.name&&this.id&&(this.name=this.id)}render(){const n=on({"pkt-input":!0,"pkt-input--fullwidth":this.fullwidth,"pkt-input--counter-error":this.counter&&this.counterMaxLength&&this.value.length&&this.value.length>this.counterMaxLength}),i=this.ariaLabelledby||`${this.id}-input-label`;return Ae`<pkt-input-wrapper
|
|
1157
1162
|
label=${this.label}
|
|
1158
1163
|
?counter=${this.counter}
|
|
1159
1164
|
?disabled=${this.disabled}
|
|
@@ -1197,7 +1202,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1197
1202
|
@focus=${l=>{this.onFocus(),l.stopImmediatePropagation()}}
|
|
1198
1203
|
@blur=${l=>{this.value=l.target.value,this.onBlur(),l.stopImmediatePropagation()}}
|
|
1199
1204
|
></textarea>
|
|
1200
|
-
</pkt-input-wrapper>`}};xg([H({type:String,reflect:!0})],Mf.prototype,"value",2),xg([H({type:String})],Mf.prototype,"autocomplete",2),xg([H({type:Number})],Mf.prototype,"rows",2),xg([Fn()],Mf.prototype,"counterCurrent",2),Mf=xg([gr("pkt-textarea")],Mf);var _3=Object.defineProperty,E3=Object.getOwnPropertyDescriptor,tu=(r,n,i,l)=>{for(var d=l>1?void 0:l?E3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&_3(n,i,d),d};let ks=class extends cn{constructor(){super(),this.inputRef=fn(),this.helptextSlot=fn(),this.value="",this.type="text",this.size=null,this.autocomplete=null,this.iconNameRight=null,this.prefix=null,this.suffix=null,this.omitSearchIcon=!1,this.counterCurrent=0,this.slotController=new Ma(this,this.helptextSlot)}attributeChangedCallback(n,i,l){n==="value"&&this.value!==i&&(this.counterCurrent=l?l.length:0,this.valueChanged(l,i)),super.attributeChangedCallback(n,i,l)}updated(n){var i;super.updated(n),n.has("value")&&(this.counterCurrent=((i=this.value)==null?void 0:i.length)||0,this.valueChanged(this.value,n.get("value"))),n.has("id")&&!this.name&&this.id&&(this.name=this.id)}render(){const n=this.type==="search"&&!this.iconNameRight&&!this.omitSearchIcon,i=
|
|
1205
|
+
</pkt-input-wrapper>`}};xg([H({type:String,reflect:!0})],Mf.prototype,"value",2),xg([H({type:String})],Mf.prototype,"autocomplete",2),xg([H({type:Number})],Mf.prototype,"rows",2),xg([Fn()],Mf.prototype,"counterCurrent",2),Mf=xg([gr("pkt-textarea")],Mf);var _3=Object.defineProperty,E3=Object.getOwnPropertyDescriptor,tu=(r,n,i,l)=>{for(var d=l>1?void 0:l?E3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&_3(n,i,d),d};let ks=class extends cn{constructor(){super(),this.inputRef=fn(),this.helptextSlot=fn(),this.value="",this.type="text",this.size=null,this.autocomplete=null,this.iconNameRight=null,this.prefix=null,this.suffix=null,this.omitSearchIcon=!1,this.counterCurrent=0,this.slotController=new Ma(this,this.helptextSlot)}attributeChangedCallback(n,i,l){n==="value"&&this.value!==i&&(this.counterCurrent=l?l.length:0,this.valueChanged(l,i)),super.attributeChangedCallback(n,i,l)}updated(n){var i;super.updated(n),n.has("value")&&(this.counterCurrent=((i=this.value)==null?void 0:i.length)||0,this.valueChanged(this.value,n.get("value"))),n.has("id")&&!this.name&&this.id&&(this.name=this.id)}render(){const n=this.type==="search"&&!this.iconNameRight&&!this.omitSearchIcon,i=on({"pkt-input":!0,"pkt-input--fullwidth":this.fullwidth,"pkt-input--counter-error":this.counter&&this.counterMaxLength&&this.value.length&&this.value.length>this.counterMaxLength}),l=this.ariaLabelledby||`${this.id}-input-label`;return Ae`
|
|
1201
1206
|
<pkt-input-wrapper
|
|
1202
1207
|
label="${this.label}"
|
|
1203
1208
|
?counter=${this.counter}
|
|
@@ -1310,7 +1315,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1310
1315
|
<div class="pkt-contents" ${ln(this.helptextSlot)} name="helptext" slot="helptext"></div>
|
|
1311
1316
|
</pkt-input-wrapper>
|
|
1312
1317
|
`}};Gy([H({type:Array})],xh.prototype,"options",2),Gy([H({type:String,reflect:!0})],xh.prototype,"value",2),Gy([Fn()],xh.prototype,"_options",2),xh=Gy([gr("pkt-select")],xh);var A3=Object.defineProperty,$3=Object.getOwnPropertyDescriptor,_g=(r,n,i,l)=>{for(var d=l>1?void 0:l?$3(n,i):n,g=r.length-1,v;g>=0;g--)(v=r[g])&&(d=(l?v(n,i,d):v(d))||d);return l&&d&&A3(n,i,d),d};let _h=class extends Qr{constructor(){super(),this.string="",this.strings=[],this.darkmode=!1,this._list=[],this.defaultSlot=fn(),this.namedSlot=fn(),this.slotController=new Ma(this,this.defaultSlot,this.namedSlot)}connectedCallback(){this.strings.length&&this.strings.forEach(r=>{this._list.push(r.toUpperCase())}),super.connectedCallback()}render(){const r={"pkt-component":!0,"pkt-component--has-list":this.strings.length>0,"pkt-darkmode":this.darkmode};return Ae`
|
|
1313
|
-
<div class="${
|
|
1318
|
+
<div class="${on(r)}">
|
|
1314
1319
|
<h1 class="pkt-txt-28">${this.string}</h1>
|
|
1315
1320
|
|
|
1316
1321
|
<h2 class="pkt-txt-22">Innhold fra attributter og funksjoner</h2>
|