zenn-cli 0.2.11-alpha.4 → 0.2.11
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.
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
`);for(c=s=0;s<R.length&&!R[s].includes("DetermineComponentFrameRoot");)s++;for(;c<w.length&&!w[c].includes("DetermineComponentFrameRoot");)c++;if(s===R.length||c===w.length)for(s=R.length-1,c=w.length-1;1<=s&&0<=c&&R[s]!==w[c];)c--;for(;1<=s&&0<=c;s--,c--)if(R[s]!==w[c]){if(s!==1||c!==1)do if(s--,c--,0>c||R[s]!==w[c]){var V=`
|
|
6
6
|
`+R[s].replace(" at new "," at ");return t.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",t.displayName)),V}while(1<=s&&0<=c);break}}}finally{dt=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?xe(i):""}function su(t,a){switch(t.tag){case 26:case 27:case 5:return xe(t.type);case 16:return xe("Lazy");case 13:return t.child!==a&&a!==null?xe("Suspense Fallback"):xe("Suspense");case 19:return xe("SuspenseList");case 0:case 15:return Ke(t.type,!1);case 11:return Ke(t.type.render,!1);case 1:return Ke(t.type,!0);case 31:return xe("Activity");default:return""}}function Ju(t){try{var a="",i=null;do a+=su(t,i),i=t,t=t.return;while(t);return a}catch(s){return`
|
|
7
7
|
Error generating stack: `+s.message+`
|
|
8
|
-
`+s.stack}}var Et=Object.prototype.hasOwnProperty,Ct=e.unstable_scheduleCallback,lu=e.unstable_cancelCallback,Js=e.unstable_shouldYield,el=e.unstable_requestPaint,Pt=e.unstable_now,Qt=e.unstable_getCurrentPriorityLevel,Au=e.unstable_ImmediatePriority,Pn=e.unstable_UserBlockingPriority,Hn=e.unstable_NormalPriority,Qi=e.unstable_LowPriority,a1=e.unstable_IdlePriority,K3=e.log,Z3=e.unstable_setDisableYieldValue,Xi=null,cu=null;function Ra(t){if(typeof K3=="function"&&Z3(t),cu&&typeof cu.setStrictMode=="function")try{cu.setStrictMode(Xi,t)}catch{}}var ou=Math.clz32?Math.clz32:J3,$3=Math.log,W3=Math.LN2;function J3(t){return t>>>=0,t===0?32:31-($3(t)/W3|0)|0}var tl=256,ul=262144,al=4194304;function cn(t){var a=t&42;if(a!==0)return a;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function nl(t,a,i){var s=t.pendingLanes;if(s===0)return 0;var c=0,o=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var g=s&134217727;return g!==0?(s=g&~o,s!==0?c=cn(s):(m&=g,m!==0?c=cn(m):i||(i=g&~t,i!==0&&(c=cn(i))))):(g=s&~o,g!==0?c=cn(g):m!==0?c=cn(m):i||(i=s&~t,i!==0&&(c=cn(i)))),c===0?0:a!==0&&a!==c&&(a&o)===0&&(o=c&-c,i=a&-a,o>=i||o===32&&(i&4194048)!==0)?a:c}function Ki(t,a){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&a)===0}function eT(t,a){switch(t){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function n1(){var t=al;return al<<=1,(al&62914560)===0&&(al=4194304),t}function No(t){for(var a=[],i=0;31>i;i++)a.push(t);return a}function Zi(t,a){t.pendingLanes|=a,a!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function tT(t,a,i,s,c,o){var m=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var g=t.entanglements,R=t.expirationTimes,w=t.hiddenUpdates;for(i=m&~i;0<i;){var V=31-ou(i),X=1<<V;g[V]=0,R[V]=-1;var U=w[V];if(U!==null)for(w[V]=null,V=0;V<U.length;V++){var k=U[V];k!==null&&(k.lane&=-536870913)}i&=~X}s!==0&&i1(t,s,0),o!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=o&~(m&~a))}function i1(t,a,i){t.pendingLanes|=a,t.suspendedLanes&=~a;var s=31-ou(a);t.entangledLanes|=a,t.entanglements[s]=t.entanglements[s]|1073741824|i&261930}function r1(t,a){var i=t.entangledLanes|=a;for(t=t.entanglements;i;){var s=31-ou(i),c=1<<s;c&a|t[s]&a&&(t[s]|=a),i&=~c}}function s1(t,a){var i=a&-a;return i=(i&42)!==0?1:Ro(i),(i&(t.suspendedLanes|a))!==0?0:i}function Ro(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Oo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function l1(){var t=ne.p;return t!==0?t:(t=window.event,t===void 0?32:QD(t.type))}function c1(t,a){var i=ne.p;try{return ne.p=t,a()}finally{ne.p=i}}var Oa=Math.random().toString(36).slice(2),Bt="__reactFiber$"+Oa,Xt="__reactProps$"+Oa,kn="__reactContainer$"+Oa,Fo="__reactEvents$"+Oa,uT="__reactListeners$"+Oa,aT="__reactHandles$"+Oa,o1="__reactResources$"+Oa,$i="__reactMarker$"+Oa;function xo(t){delete t[Bt],delete t[Xt],delete t[Fo],delete t[uT],delete t[aT]}function jn(t){var a=t[Bt];if(a)return a;for(var i=t.parentNode;i;){if(a=i[kn]||i[Bt]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(t=xD(t);t!==null;){if(i=t[Bt])return i;t=xD(t)}return a}t=i,i=t.parentNode}return null}function zn(t){if(t=t[Bt]||t[kn]){var a=t.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return t}return null}function Wi(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t.stateNode;throw Error(r(33))}function qn(t){var a=t[o1];return a||(a=t[o1]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Nt(t){t[$i]=!0}var f1=new Set,d1={};function on(t,a){Yn(t,a),Yn(t+"Capture",a)}function Yn(t,a){for(d1[t]=a,t=0;t<a.length;t++)f1.add(a[t])}var nT=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),h1={},m1={};function iT(t){return Et.call(m1,t)?!0:Et.call(h1,t)?!1:nT.test(t)?m1[t]=!0:(h1[t]=!0,!1)}function il(t,a,i){if(iT(a))if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(a);return;case"boolean":var s=a.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(a);return}}t.setAttribute(a,""+i)}}function rl(t,a,i){if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttribute(a,""+i)}}function ea(t,a,i,s){if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(a,i,""+s)}}function vu(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function E1(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function rT(t,a,i){var s=Object.getOwnPropertyDescriptor(t.constructor.prototype,a);if(!t.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,o=s.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return c.call(this)},set:function(m){i=""+m,o.call(this,m)}}),Object.defineProperty(t,a,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(m){i=""+m},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function Lo(t){if(!t._valueTracker){var a=E1(t)?"checked":"value";t._valueTracker=rT(t,a,""+t[a])}}function D1(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var i=a.getValue(),s="";return t&&(s=E1(t)?t.checked?"true":"false":t.value),t=s,t!==i?(a.setValue(t),!0):!1}function sl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var sT=/[\n"\\]/g;function Cu(t){return t.replace(sT,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Bo(t,a,i,s,c,o,m,g){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),a!=null?m==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+vu(a)):t.value!==""+vu(a)&&(t.value=""+vu(a)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),a!=null?Mo(t,m,vu(a)):i!=null?Mo(t,m,vu(i)):s!=null&&t.removeAttribute("value"),c==null&&o!=null&&(t.defaultChecked=!!o),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+vu(g):t.removeAttribute("name")}function p1(t,a,i,s,c,o,m,g){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),a!=null||i!=null){if(!(o!=="submit"&&o!=="reset"||a!=null)){Lo(t);return}i=i!=null?""+vu(i):"",a=a!=null?""+vu(a):i,g||a===t.value||(t.value=a),t.defaultValue=a}s=s??c,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=g?t.checked:!!s,t.defaultChecked=!!s,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),Lo(t)}function Mo(t,a,i){a==="number"&&sl(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function Gn(t,a,i,s){if(t=t.options,a){a={};for(var c=0;c<i.length;c++)a["$"+i[c]]=!0;for(i=0;i<t.length;i++)c=a.hasOwnProperty("$"+t[i].value),t[i].selected!==c&&(t[i].selected=c),c&&s&&(t[i].defaultSelected=!0)}else{for(i=""+vu(i),a=null,c=0;c<t.length;c++){if(t[c].value===i){t[c].selected=!0,s&&(t[c].defaultSelected=!0);return}a!==null||t[c].disabled||(a=t[c])}a!==null&&(a.selected=!0)}}function g1(t,a,i){if(a!=null&&(a=""+vu(a),a!==t.value&&(t.value=a),i==null)){t.defaultValue!==a&&(t.defaultValue=a);return}t.defaultValue=i!=null?""+vu(i):""}function b1(t,a,i,s){if(a==null){if(s!=null){if(i!=null)throw Error(r(92));if(Ve(s)){if(1<s.length)throw Error(r(93));s=s[0]}i=s}i==null&&(i=""),a=i}i=vu(a),t.defaultValue=i,s=t.textContent,s===i&&s!==""&&s!==null&&(t.value=s),Lo(t)}function Vn(t,a){if(a){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=a;return}}t.textContent=a}var lT=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function T1(t,a,i){var s=a.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="":s?t.setProperty(a,i):typeof i!="number"||i===0||lT.has(a)?a==="float"?t.cssFloat=i:t[a]=(""+i).trim():t[a]=i+"px"}function _1(t,a,i){if(a!=null&&typeof a!="object")throw Error(r(62));if(t=t.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||a!=null&&a.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var c in a)s=a[c],a.hasOwnProperty(c)&&i[c]!==s&&T1(t,c,s)}else for(var o in a)a.hasOwnProperty(o)&&T1(t,o,a[o])}function Io(t){if(t.indexOf("-")===-1)return!1;switch(t){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 cT=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),oT=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ll(t){return oT.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ta(){}var wo=null;function Uo(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Qn=null,Xn=null;function A1(t){var a=zn(t);if(a&&(t=a.stateNode)){var i=t[Xt]||null;e:switch(t=a.stateNode,a.type){case"input":if(Bo(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Cu(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var s=i[a];if(s!==t&&s.form===t.form){var c=s[Xt]||null;if(!c)throw Error(r(90));Bo(s,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(a=0;a<i.length;a++)s=i[a],s.form===t.form&&D1(s)}break e;case"textarea":g1(t,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&Gn(t,!!i.multiple,a,!1)}}}var Po=!1;function v1(t,a,i){if(Po)return t(a,i);Po=!0;try{var s=t(a);return s}finally{if(Po=!1,(Qn!==null||Xn!==null)&&(Kl(),Qn&&(a=Qn,t=Xn,Xn=Qn=null,A1(a),t)))for(a=0;a<t.length;a++)A1(t[a])}}function Ji(t,a){var i=t.stateNode;if(i===null)return null;var s=i[Xt]||null;if(s===null)return null;i=s[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(r(231,a,typeof i));return i}var ua=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ho=!1;if(ua)try{var er={};Object.defineProperty(er,"passive",{get:function(){Ho=!0}}),window.addEventListener("test",er,er),window.removeEventListener("test",er,er)}catch{Ho=!1}var Fa=null,ko=null,cl=null;function C1(){if(cl)return cl;var t,a=ko,i=a.length,s,c="value"in Fa?Fa.value:Fa.textContent,o=c.length;for(t=0;t<i&&a[t]===c[t];t++);var m=i-t;for(s=1;s<=m&&a[i-s]===c[o-s];s++);return cl=c.slice(t,1<s?1-s:void 0)}function ol(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function fl(){return!0}function y1(){return!1}function Kt(t){function a(i,s,c,o,m){this._reactName=i,this._targetInst=c,this.type=s,this.nativeEvent=o,this.target=m,this.currentTarget=null;for(var g in t)t.hasOwnProperty(g)&&(i=t[g],this[g]=i?i(o):o[g]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?fl:y1,this.isPropagationStopped=y1,this}return T(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=fl)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=fl)},persist:function(){},isPersistent:fl}),a}var fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dl=Kt(fn),tr=T({},fn,{view:0,detail:0}),fT=Kt(tr),jo,zo,ur,hl=T({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yo,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ur&&(ur&&t.type==="mousemove"?(jo=t.screenX-ur.screenX,zo=t.screenY-ur.screenY):zo=jo=0,ur=t),jo)},movementY:function(t){return"movementY"in t?t.movementY:zo}}),S1=Kt(hl),dT=T({},hl,{dataTransfer:0}),hT=Kt(dT),mT=T({},tr,{relatedTarget:0}),qo=Kt(mT),ET=T({},fn,{animationName:0,elapsedTime:0,pseudoElement:0}),DT=Kt(ET),pT=T({},fn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),gT=Kt(pT),bT=T({},fn,{data:0}),N1=Kt(bT),TT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_T={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"},AT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vT(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=AT[t])?!!a[t]:!1}function Yo(){return vT}var CT=T({},tr,{key:function(t){if(t.key){var a=TT[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=ol(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_T[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yo,charCode:function(t){return t.type==="keypress"?ol(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ol(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),yT=Kt(CT),ST=T({},hl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),R1=Kt(ST),NT=T({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yo}),RT=Kt(NT),OT=T({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0}),FT=Kt(OT),xT=T({},hl,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),LT=Kt(xT),BT=T({},fn,{newState:0,oldState:0}),MT=Kt(BT),IT=[9,13,27,32],Go=ua&&"CompositionEvent"in window,ar=null;ua&&"documentMode"in document&&(ar=document.documentMode);var wT=ua&&"TextEvent"in window&&!ar,O1=ua&&(!Go||ar&&8<ar&&11>=ar),F1=" ",x1=!1;function L1(t,a){switch(t){case"keyup":return IT.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Kn=!1;function UT(t,a){switch(t){case"compositionend":return B1(a);case"keypress":return a.which!==32?null:(x1=!0,F1);case"textInput":return t=a.data,t===F1&&x1?null:t;default:return null}}function PT(t,a){if(Kn)return t==="compositionend"||!Go&&L1(t,a)?(t=C1(),cl=ko=Fa=null,Kn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return O1&&a.locale!=="ko"?null:a.data;default:return null}}var HT={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 M1(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!HT[t.type]:a==="textarea"}function I1(t,a,i,s){Qn?Xn?Xn.push(s):Xn=[s]:Qn=s,a=uc(a,"onChange"),0<a.length&&(i=new dl("onChange","change",null,i,s),t.push({event:i,listeners:a}))}var nr=null,ir=null;function kT(t){pD(t,0)}function ml(t){var a=Wi(t);if(D1(a))return t}function w1(t,a){if(t==="change")return a}var U1=!1;if(ua){var Vo;if(ua){var Qo="oninput"in document;if(!Qo){var P1=document.createElement("div");P1.setAttribute("oninput","return;"),Qo=typeof P1.oninput=="function"}Vo=Qo}else Vo=!1;U1=Vo&&(!document.documentMode||9<document.documentMode)}function H1(){nr&&(nr.detachEvent("onpropertychange",k1),ir=nr=null)}function k1(t){if(t.propertyName==="value"&&ml(ir)){var a=[];I1(a,ir,t,Uo(t)),v1(kT,a)}}function jT(t,a,i){t==="focusin"?(H1(),nr=a,ir=i,nr.attachEvent("onpropertychange",k1)):t==="focusout"&&H1()}function zT(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ml(ir)}function qT(t,a){if(t==="click")return ml(a)}function YT(t,a){if(t==="input"||t==="change")return ml(a)}function GT(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var fu=typeof Object.is=="function"?Object.is:GT;function rr(t,a){if(fu(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var i=Object.keys(t),s=Object.keys(a);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var c=i[s];if(!Et.call(a,c)||!fu(t[c],a[c]))return!1}return!0}function j1(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function z1(t,a){var i=j1(t);t=0;for(var s;i;){if(i.nodeType===3){if(s=t+i.textContent.length,t<=a&&s>=a)return{node:i,offset:a-t};t=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=j1(i)}}function q1(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?q1(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function Y1(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var a=sl(t.document);a instanceof t.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)t=a.contentWindow;else break;a=sl(t.document)}return a}function Xo(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}var VT=ua&&"documentMode"in document&&11>=document.documentMode,Zn=null,Ko=null,sr=null,Zo=!1;function G1(t,a,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Zo||Zn==null||Zn!==sl(s)||(s=Zn,"selectionStart"in s&&Xo(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),sr&&rr(sr,s)||(sr=s,s=uc(Ko,"onSelect"),0<s.length&&(a=new dl("onSelect","select",null,a,i),t.push({event:a,listeners:s}),a.target=Zn)))}function dn(t,a){var i={};return i[t.toLowerCase()]=a.toLowerCase(),i["Webkit"+t]="webkit"+a,i["Moz"+t]="moz"+a,i}var $n={animationend:dn("Animation","AnimationEnd"),animationiteration:dn("Animation","AnimationIteration"),animationstart:dn("Animation","AnimationStart"),transitionrun:dn("Transition","TransitionRun"),transitionstart:dn("Transition","TransitionStart"),transitioncancel:dn("Transition","TransitionCancel"),transitionend:dn("Transition","TransitionEnd")},$o={},V1={};ua&&(V1=document.createElement("div").style,"AnimationEvent"in window||(delete $n.animationend.animation,delete $n.animationiteration.animation,delete $n.animationstart.animation),"TransitionEvent"in window||delete $n.transitionend.transition);function hn(t){if($o[t])return $o[t];if(!$n[t])return t;var a=$n[t],i;for(i in a)if(a.hasOwnProperty(i)&&i in V1)return $o[t]=a[i];return t}var Q1=hn("animationend"),X1=hn("animationiteration"),K1=hn("animationstart"),QT=hn("transitionrun"),XT=hn("transitionstart"),KT=hn("transitioncancel"),Z1=hn("transitionend"),$1=new Map,Wo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Wo.push("scrollEnd");function Uu(t,a){$1.set(t,a),on(a,[t])}var El=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},yu=[],Wn=0,Jo=0;function Dl(){for(var t=Wn,a=Jo=Wn=0;a<t;){var i=yu[a];yu[a++]=null;var s=yu[a];yu[a++]=null;var c=yu[a];yu[a++]=null;var o=yu[a];if(yu[a++]=null,s!==null&&c!==null){var m=s.pending;m===null?c.next=c:(c.next=m.next,m.next=c),s.pending=c}o!==0&&W1(i,c,o)}}function pl(t,a,i,s){yu[Wn++]=t,yu[Wn++]=a,yu[Wn++]=i,yu[Wn++]=s,Jo|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function ef(t,a,i,s){return pl(t,a,i,s),gl(t)}function mn(t,a){return pl(t,null,null,a),gl(t)}function W1(t,a,i){t.lanes|=i;var s=t.alternate;s!==null&&(s.lanes|=i);for(var c=!1,o=t.return;o!==null;)o.childLanes|=i,s=o.alternate,s!==null&&(s.childLanes|=i),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(c=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,c&&a!==null&&(c=31-ou(i),t=o.hiddenUpdates,s=t[c],s===null?t[c]=[a]:s.push(a),a.lane=i|536870912),o):null}function gl(t){if(50<Or)throw Or=0,o0=null,Error(r(185));for(var a=t.return;a!==null;)t=a,a=t.return;return t.tag===3?t.stateNode:null}var Jn={};function ZT(t,a,i,s){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function du(t,a,i,s){return new ZT(t,a,i,s)}function tf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function aa(t,a){var i=t.alternate;return i===null?(i=du(t.tag,a,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=a,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,a=t.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function J1(t,a){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=a,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type,a=i.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),t}function bl(t,a,i,s,c,o){var m=0;if(s=t,typeof t=="function")tf(t)&&(m=1);else if(typeof t=="string")m=tA(t,i,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case ie:return t=du(31,i,a,c),t.elementType=ie,t.lanes=o,t;case x:return En(i.children,c,o,a);case P:m=8,c|=24;break;case B:return t=du(12,i,a,c|2),t.elementType=B,t.lanes=o,t;case ue:return t=du(13,i,a,c),t.elementType=ue,t.lanes=o,t;case te:return t=du(19,i,a,c),t.elementType=te,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case H:m=10;break e;case Z:m=9;break e;case $:m=11;break e;case q:m=14;break e;case K:m=16,s=null;break e}m=29,i=Error(r(130,t===null?"null":typeof t,"")),s=null}return a=du(m,i,a,c),a.elementType=t,a.type=s,a.lanes=o,a}function En(t,a,i,s){return t=du(7,t,s,a),t.lanes=i,t}function uf(t,a,i){return t=du(6,t,null,a),t.lanes=i,t}function em(t){var a=du(18,null,null,0);return a.stateNode=t,a}function af(t,a,i){return a=du(4,t.children!==null?t.children:[],t.key,a),a.lanes=i,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}var tm=new WeakMap;function Su(t,a){if(typeof t=="object"&&t!==null){var i=tm.get(t);return i!==void 0?i:(a={value:t,source:a,stack:Ju(a)},tm.set(t,a),a)}return{value:t,source:a,stack:Ju(a)}}var ei=[],ti=0,Tl=null,lr=0,Nu=[],Ru=0,xa=null,Gu=1,Vu="";function na(t,a){ei[ti++]=lr,ei[ti++]=Tl,Tl=t,lr=a}function um(t,a,i){Nu[Ru++]=Gu,Nu[Ru++]=Vu,Nu[Ru++]=xa,xa=t;var s=Gu;t=Vu;var c=32-ou(s)-1;s&=~(1<<c),i+=1;var o=32-ou(a)+c;if(30<o){var m=c-c%5;o=(s&(1<<m)-1).toString(32),s>>=m,c-=m,Gu=1<<32-ou(a)+c|i<<c|s,Vu=o+t}else Gu=1<<o|i<<c|s,Vu=t}function nf(t){t.return!==null&&(na(t,1),um(t,1,0))}function rf(t){for(;t===Tl;)Tl=ei[--ti],ei[ti]=null,lr=ei[--ti],ei[ti]=null;for(;t===xa;)xa=Nu[--Ru],Nu[Ru]=null,Vu=Nu[--Ru],Nu[Ru]=null,Gu=Nu[--Ru],Nu[Ru]=null}function am(t,a){Nu[Ru++]=Gu,Nu[Ru++]=Vu,Nu[Ru++]=xa,Gu=a.id,Vu=a.overflow,xa=t}var Mt=null,it=null,Ue=!1,La=null,Ou=!1,sf=Error(r(519));function Ba(t){var a=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw cr(Su(a,t)),sf}function nm(t){var a=t.stateNode,i=t.type,s=t.memoizedProps;switch(a[Bt]=t,a[Xt]=s,i){case"dialog":Be("cancel",a),Be("close",a);break;case"iframe":case"object":case"embed":Be("load",a);break;case"video":case"audio":for(i=0;i<xr.length;i++)Be(xr[i],a);break;case"source":Be("error",a);break;case"img":case"image":case"link":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;case"input":Be("invalid",a),p1(a,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":Be("invalid",a);break;case"textarea":Be("invalid",a),b1(a,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||s.suppressHydrationWarning===!0||_D(a.textContent,i)?(s.popover!=null&&(Be("beforetoggle",a),Be("toggle",a)),s.onScroll!=null&&Be("scroll",a),s.onScrollEnd!=null&&Be("scrollend",a),s.onClick!=null&&(a.onclick=ta),a=!0):a=!1,a||Ba(t,!0)}function im(t){for(Mt=t.return;Mt;)switch(Mt.tag){case 5:case 31:case 13:Ou=!1;return;case 27:case 3:Ou=!0;return;default:Mt=Mt.return}}function ui(t){if(t!==Mt)return!1;if(!Ue)return im(t),Ue=!0,!1;var a=t.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||y0(t.type,t.memoizedProps)),i=!i),i&&it&&Ba(t),im(t),a===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));it=FD(t)}else if(a===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));it=FD(t)}else a===27?(a=it,Qa(t.type)?(t=F0,F0=null,it=t):it=a):it=Mt?xu(t.stateNode.nextSibling):null;return!0}function Dn(){it=Mt=null,Ue=!1}function lf(){var t=La;return t!==null&&(Jt===null?Jt=t:Jt.push.apply(Jt,t),La=null),t}function cr(t){La===null?La=[t]:La.push(t)}var cf=O(null),pn=null,ia=null;function Ma(t,a,i){ae(cf,a._currentValue),a._currentValue=i}function ra(t){t._currentValue=cf.current,G(cf)}function of(t,a,i){for(;t!==null;){var s=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,s!==null&&(s.childLanes|=a)):s!==null&&(s.childLanes&a)!==a&&(s.childLanes|=a),t===i)break;t=t.return}}function ff(t,a,i,s){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var o=c.dependencies;if(o!==null){var m=c.child;o=o.firstContext;e:for(;o!==null;){var g=o;o=c;for(var R=0;R<a.length;R++)if(g.context===a[R]){o.lanes|=i,g=o.alternate,g!==null&&(g.lanes|=i),of(o.return,i,t),s||(m=null);break e}o=g.next}}else if(c.tag===18){if(m=c.return,m===null)throw Error(r(341));m.lanes|=i,o=m.alternate,o!==null&&(o.lanes|=i),of(m,i,t),m=null}else m=c.child;if(m!==null)m.return=c;else for(m=c;m!==null;){if(m===t){m=null;break}if(c=m.sibling,c!==null){c.return=m.return,m=c;break}m=m.return}c=m}}function ai(t,a,i,s){t=null;for(var c=a,o=!1;c!==null;){if(!o){if((c.flags&524288)!==0)o=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var m=c.alternate;if(m===null)throw Error(r(387));if(m=m.memoizedProps,m!==null){var g=c.type;fu(c.pendingProps.value,m.value)||(t!==null?t.push(g):t=[g])}}else if(c===Ne.current){if(m=c.alternate,m===null)throw Error(r(387));m.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(wr):t=[wr])}c=c.return}t!==null&&ff(a,t,i,s),a.flags|=262144}function _l(t){for(t=t.firstContext;t!==null;){if(!fu(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function gn(t){pn=t,ia=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function It(t){return rm(pn,t)}function Al(t,a){return pn===null&&gn(t),rm(t,a)}function rm(t,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},ia===null){if(t===null)throw Error(r(308));ia=a,t.dependencies={lanes:0,firstContext:a},t.flags|=524288}else ia=ia.next=a;return i}var $T=typeof AbortController<"u"?AbortController:function(){var t=[],a=this.signal={aborted:!1,addEventListener:function(i,s){t.push(s)}};this.abort=function(){a.aborted=!0,t.forEach(function(i){return i()})}},WT=e.unstable_scheduleCallback,JT=e.unstable_NormalPriority,gt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function df(){return{controller:new $T,data:new Map,refCount:0}}function or(t){t.refCount--,t.refCount===0&&WT(JT,function(){t.controller.abort()})}var fr=null,hf=0,ni=0,ii=null;function e_(t,a){if(fr===null){var i=fr=[];hf=0,ni=D0(),ii={status:"pending",value:void 0,then:function(s){i.push(s)}}}return hf++,a.then(sm,sm),a}function sm(){if(--hf===0&&fr!==null){ii!==null&&(ii.status="fulfilled");var t=fr;fr=null,ni=0,ii=null;for(var a=0;a<t.length;a++)(0,t[a])()}}function t_(t,a){var i=[],s={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return t.then(function(){s.status="fulfilled",s.value=a;for(var c=0;c<i.length;c++)(0,i[c])(a)},function(c){for(s.status="rejected",s.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),s}var lm=Y.S;Y.S=function(t,a){GE=Pt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&e_(t,a),lm!==null&&lm(t,a)};var bn=O(null);function mf(){var t=bn.current;return t!==null?t:ut.pooledCache}function vl(t,a){a===null?ae(bn,bn.current):ae(bn,a.pool)}function cm(){var t=mf();return t===null?null:{parent:gt._currentValue,pool:t}}var ri=Error(r(460)),Ef=Error(r(474)),Cl=Error(r(542)),yl={then:function(){}};function om(t){return t=t.status,t==="fulfilled"||t==="rejected"}function fm(t,a,i){switch(i=t[i],i===void 0?t.push(a):i!==a&&(a.then(ta,ta),a=i),a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,hm(t),t;default:if(typeof a.status=="string")a.then(ta,ta);else{if(t=ut,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=a,t.status="pending",t.then(function(s){if(a.status==="pending"){var c=a;c.status="fulfilled",c.value=s}},function(s){if(a.status==="pending"){var c=a;c.status="rejected",c.reason=s}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,hm(t),t}throw _n=a,ri}}function Tn(t){try{var a=t._init;return a(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(_n=i,ri):i}}var _n=null;function dm(){if(_n===null)throw Error(r(459));var t=_n;return _n=null,t}function hm(t){if(t===ri||t===Cl)throw Error(r(483))}var si=null,dr=0;function Sl(t){var a=dr;return dr+=1,si===null&&(si=[]),fm(si,t,a)}function hr(t,a){a=a.props.ref,t.ref=a!==void 0?a:null}function Nl(t,a){throw a.$$typeof===y?Error(r(525)):(t=Object.prototype.toString.call(a),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t)))}function mm(t){function a(L,F){if(t){var I=L.deletions;I===null?(L.deletions=[F],L.flags|=16):I.push(F)}}function i(L,F){if(!t)return null;for(;F!==null;)a(L,F),F=F.sibling;return null}function s(L){for(var F=new Map;L!==null;)L.key!==null?F.set(L.key,L):F.set(L.index,L),L=L.sibling;return F}function c(L,F){return L=aa(L,F),L.index=0,L.sibling=null,L}function o(L,F,I){return L.index=I,t?(I=L.alternate,I!==null?(I=I.index,I<F?(L.flags|=67108866,F):I):(L.flags|=67108866,F)):(L.flags|=1048576,F)}function m(L){return t&&L.alternate===null&&(L.flags|=67108866),L}function g(L,F,I,Q){return F===null||F.tag!==6?(F=uf(I,L.mode,Q),F.return=L,F):(F=c(F,I),F.return=L,F)}function R(L,F,I,Q){var oe=I.type;return oe===x?V(L,F,I.props.children,Q,I.key):F!==null&&(F.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===K&&Tn(oe)===F.type)?(F=c(F,I.props),hr(F,I),F.return=L,F):(F=bl(I.type,I.key,I.props,null,L.mode,Q),hr(F,I),F.return=L,F)}function w(L,F,I,Q){return F===null||F.tag!==4||F.stateNode.containerInfo!==I.containerInfo||F.stateNode.implementation!==I.implementation?(F=af(I,L.mode,Q),F.return=L,F):(F=c(F,I.children||[]),F.return=L,F)}function V(L,F,I,Q,oe){return F===null||F.tag!==7?(F=En(I,L.mode,Q,oe),F.return=L,F):(F=c(F,I),F.return=L,F)}function X(L,F,I){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return F=uf(""+F,L.mode,I),F.return=L,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case v:return I=bl(F.type,F.key,F.props,null,L.mode,I),hr(I,F),I.return=L,I;case N:return F=af(F,L.mode,I),F.return=L,F;case K:return F=Tn(F),X(L,F,I)}if(Ve(F)||ye(F))return F=En(F,L.mode,I,null),F.return=L,F;if(typeof F.then=="function")return X(L,Sl(F),I);if(F.$$typeof===H)return X(L,Al(L,F),I);Nl(L,F)}return null}function U(L,F,I,Q){var oe=F!==null?F.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return oe!==null?null:g(L,F,""+I,Q);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case v:return I.key===oe?R(L,F,I,Q):null;case N:return I.key===oe?w(L,F,I,Q):null;case K:return I=Tn(I),U(L,F,I,Q)}if(Ve(I)||ye(I))return oe!==null?null:V(L,F,I,Q,null);if(typeof I.then=="function")return U(L,F,Sl(I),Q);if(I.$$typeof===H)return U(L,F,Al(L,I),Q);Nl(L,I)}return null}function k(L,F,I,Q,oe){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return L=L.get(I)||null,g(F,L,""+Q,oe);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case v:return L=L.get(Q.key===null?I:Q.key)||null,R(F,L,Q,oe);case N:return L=L.get(Q.key===null?I:Q.key)||null,w(F,L,Q,oe);case K:return Q=Tn(Q),k(L,F,I,Q,oe)}if(Ve(Q)||ye(Q))return L=L.get(I)||null,V(F,L,Q,oe,null);if(typeof Q.then=="function")return k(L,F,I,Sl(Q),oe);if(Q.$$typeof===H)return k(L,F,I,Al(F,Q),oe);Nl(F,Q)}return null}function se(L,F,I,Q){for(var oe=null,qe=null,le=F,Ce=F=0,we=null;le!==null&&Ce<I.length;Ce++){le.index>Ce?(we=le,le=null):we=le.sibling;var Ye=U(L,le,I[Ce],Q);if(Ye===null){le===null&&(le=we);break}t&&le&&Ye.alternate===null&&a(L,le),F=o(Ye,F,Ce),qe===null?oe=Ye:qe.sibling=Ye,qe=Ye,le=we}if(Ce===I.length)return i(L,le),Ue&&na(L,Ce),oe;if(le===null){for(;Ce<I.length;Ce++)le=X(L,I[Ce],Q),le!==null&&(F=o(le,F,Ce),qe===null?oe=le:qe.sibling=le,qe=le);return Ue&&na(L,Ce),oe}for(le=s(le);Ce<I.length;Ce++)we=k(le,L,Ce,I[Ce],Q),we!==null&&(t&&we.alternate!==null&&le.delete(we.key===null?Ce:we.key),F=o(we,F,Ce),qe===null?oe=we:qe.sibling=we,qe=we);return t&&le.forEach(function(Wa){return a(L,Wa)}),Ue&&na(L,Ce),oe}function Ee(L,F,I,Q){if(I==null)throw Error(r(151));for(var oe=null,qe=null,le=F,Ce=F=0,we=null,Ye=I.next();le!==null&&!Ye.done;Ce++,Ye=I.next()){le.index>Ce?(we=le,le=null):we=le.sibling;var Wa=U(L,le,Ye.value,Q);if(Wa===null){le===null&&(le=we);break}t&&le&&Wa.alternate===null&&a(L,le),F=o(Wa,F,Ce),qe===null?oe=Wa:qe.sibling=Wa,qe=Wa,le=we}if(Ye.done)return i(L,le),Ue&&na(L,Ce),oe;if(le===null){for(;!Ye.done;Ce++,Ye=I.next())Ye=X(L,Ye.value,Q),Ye!==null&&(F=o(Ye,F,Ce),qe===null?oe=Ye:qe.sibling=Ye,qe=Ye);return Ue&&na(L,Ce),oe}for(le=s(le);!Ye.done;Ce++,Ye=I.next())Ye=k(le,L,Ce,Ye.value,Q),Ye!==null&&(t&&Ye.alternate!==null&&le.delete(Ye.key===null?Ce:Ye.key),F=o(Ye,F,Ce),qe===null?oe=Ye:qe.sibling=Ye,qe=Ye);return t&&le.forEach(function(dA){return a(L,dA)}),Ue&&na(L,Ce),oe}function et(L,F,I,Q){if(typeof I=="object"&&I!==null&&I.type===x&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case v:e:{for(var oe=I.key;F!==null;){if(F.key===oe){if(oe=I.type,oe===x){if(F.tag===7){i(L,F.sibling),Q=c(F,I.props.children),Q.return=L,L=Q;break e}}else if(F.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===K&&Tn(oe)===F.type){i(L,F.sibling),Q=c(F,I.props),hr(Q,I),Q.return=L,L=Q;break e}i(L,F);break}else a(L,F);F=F.sibling}I.type===x?(Q=En(I.props.children,L.mode,Q,I.key),Q.return=L,L=Q):(Q=bl(I.type,I.key,I.props,null,L.mode,Q),hr(Q,I),Q.return=L,L=Q)}return m(L);case N:e:{for(oe=I.key;F!==null;){if(F.key===oe)if(F.tag===4&&F.stateNode.containerInfo===I.containerInfo&&F.stateNode.implementation===I.implementation){i(L,F.sibling),Q=c(F,I.children||[]),Q.return=L,L=Q;break e}else{i(L,F);break}else a(L,F);F=F.sibling}Q=af(I,L.mode,Q),Q.return=L,L=Q}return m(L);case K:return I=Tn(I),et(L,F,I,Q)}if(Ve(I))return se(L,F,I,Q);if(ye(I)){if(oe=ye(I),typeof oe!="function")throw Error(r(150));return I=oe.call(I),Ee(L,F,I,Q)}if(typeof I.then=="function")return et(L,F,Sl(I),Q);if(I.$$typeof===H)return et(L,F,Al(L,I),Q);Nl(L,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,F!==null&&F.tag===6?(i(L,F.sibling),Q=c(F,I),Q.return=L,L=Q):(i(L,F),Q=uf(I,L.mode,Q),Q.return=L,L=Q),m(L)):i(L,F)}return function(L,F,I,Q){try{dr=0;var oe=et(L,F,I,Q);return si=null,oe}catch(le){if(le===ri||le===Cl)throw le;var qe=du(29,le,null,L.mode);return qe.lanes=Q,qe.return=L,qe}finally{}}}var An=mm(!0),Em=mm(!1),Ia=!1;function Df(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pf(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function wa(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ua(t,a,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,(Qe&2)!==0){var c=s.pending;return c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a,a=gl(t),W1(t,null,i),a}return pl(t,s,a,i),gl(t)}function mr(t,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var s=a.lanes;s&=t.pendingLanes,i|=s,a.lanes=i,r1(t,i)}}function gf(t,a){var i=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var c=null,o=null;if(i=i.firstBaseUpdate,i!==null){do{var m={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};o===null?c=o=m:o=o.next=m,i=i.next}while(i!==null);o===null?c=o=a:o=o.next=a}else c=o=a;i={baseState:s.baseState,firstBaseUpdate:c,lastBaseUpdate:o,shared:s.shared,callbacks:s.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=a:t.next=a,i.lastBaseUpdate=a}var bf=!1;function Er(){if(bf){var t=ii;if(t!==null)throw t}}function Dr(t,a,i,s){bf=!1;var c=t.updateQueue;Ia=!1;var o=c.firstBaseUpdate,m=c.lastBaseUpdate,g=c.shared.pending;if(g!==null){c.shared.pending=null;var R=g,w=R.next;R.next=null,m===null?o=w:m.next=w,m=R;var V=t.alternate;V!==null&&(V=V.updateQueue,g=V.lastBaseUpdate,g!==m&&(g===null?V.firstBaseUpdate=w:g.next=w,V.lastBaseUpdate=R))}if(o!==null){var X=c.baseState;m=0,V=w=R=null,g=o;do{var U=g.lane&-536870913,k=U!==g.lane;if(k?(Ie&U)===U:(s&U)===U){U!==0&&U===ni&&(bf=!0),V!==null&&(V=V.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var se=t,Ee=g;U=a;var et=i;switch(Ee.tag){case 1:if(se=Ee.payload,typeof se=="function"){X=se.call(et,X,U);break e}X=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=Ee.payload,U=typeof se=="function"?se.call(et,X,U):se,U==null)break e;X=T({},X,U);break e;case 2:Ia=!0}}U=g.callback,U!==null&&(t.flags|=64,k&&(t.flags|=8192),k=c.callbacks,k===null?c.callbacks=[U]:k.push(U))}else k={lane:U,tag:g.tag,payload:g.payload,callback:g.callback,next:null},V===null?(w=V=k,R=X):V=V.next=k,m|=U;if(g=g.next,g===null){if(g=c.shared.pending,g===null)break;k=g,g=k.next,k.next=null,c.lastBaseUpdate=k,c.shared.pending=null}}while(!0);V===null&&(R=X),c.baseState=R,c.firstBaseUpdate=w,c.lastBaseUpdate=V,o===null&&(c.shared.lanes=0),za|=m,t.lanes=m,t.memoizedState=X}}function Dm(t,a){if(typeof t!="function")throw Error(r(191,t));t.call(a)}function pm(t,a){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)Dm(i[t],a)}var li=O(null),Rl=O(0);function gm(t,a){t=Ea,ae(Rl,t),ae(li,a),Ea=t|a.baseLanes}function Tf(){ae(Rl,Ea),ae(li,li.current)}function _f(){Ea=Rl.current,G(li),G(Rl)}var hu=O(null),Fu=null;function Pa(t){var a=t.alternate;ae(Dt,Dt.current&1),ae(hu,t),Fu===null&&(a===null||li.current!==null||a.memoizedState!==null)&&(Fu=t)}function Af(t){ae(Dt,Dt.current),ae(hu,t),Fu===null&&(Fu=t)}function bm(t){t.tag===22?(ae(Dt,Dt.current),ae(hu,t),Fu===null&&(Fu=t)):Ha()}function Ha(){ae(Dt,Dt.current),ae(hu,hu.current)}function mu(t){G(hu),Fu===t&&(Fu=null),G(Dt)}var Dt=O(0);function Ol(t){for(var a=t;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||R0(i)||O0(i)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var sa=0,ve=null,We=null,bt=null,Fl=!1,ci=!1,vn=!1,xl=0,pr=0,oi=null,u_=0;function ht(){throw Error(r(321))}function vf(t,a){if(a===null)return!1;for(var i=0;i<a.length&&i<t.length;i++)if(!fu(t[i],a[i]))return!1;return!0}function Cf(t,a,i,s,c,o){return sa=o,ve=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,Y.H=t===null||t.memoizedState===null?uE:Hf,vn=!1,o=i(s,c),vn=!1,ci&&(o=_m(a,i,s,c)),Tm(t),o}function Tm(t){Y.H=Tr;var a=We!==null&&We.next!==null;if(sa=0,bt=We=ve=null,Fl=!1,pr=0,oi=null,a)throw Error(r(300));t===null||Tt||(t=t.dependencies,t!==null&&_l(t)&&(Tt=!0))}function _m(t,a,i,s){ve=t;var c=0;do{if(ci&&(oi=null),pr=0,ci=!1,25<=c)throw Error(r(301));if(c+=1,bt=We=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}Y.H=aE,o=a(i,s)}while(ci);return o}function a_(){var t=Y.H,a=t.useState()[0];return a=typeof a.then=="function"?gr(a):a,t=t.useState()[0],(We!==null?We.memoizedState:null)!==t&&(ve.flags|=1024),a}function yf(){var t=xl!==0;return xl=0,t}function Sf(t,a,i){a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i}function Nf(t){if(Fl){for(t=t.memoizedState;t!==null;){var a=t.queue;a!==null&&(a.pending=null),t=t.next}Fl=!1}sa=0,bt=We=ve=null,ci=!1,pr=xl=0,oi=null}function qt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?ve.memoizedState=bt=t:bt=bt.next=t,bt}function pt(){if(We===null){var t=ve.alternate;t=t!==null?t.memoizedState:null}else t=We.next;var a=bt===null?ve.memoizedState:bt.next;if(a!==null)bt=a,We=t;else{if(t===null)throw ve.alternate===null?Error(r(467)):Error(r(310));We=t,t={memoizedState:We.memoizedState,baseState:We.baseState,baseQueue:We.baseQueue,queue:We.queue,next:null},bt===null?ve.memoizedState=bt=t:bt=bt.next=t}return bt}function Ll(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gr(t){var a=pr;return pr+=1,oi===null&&(oi=[]),t=fm(oi,t,a),a=ve,(bt===null?a.memoizedState:bt.next)===null&&(a=a.alternate,Y.H=a===null||a.memoizedState===null?uE:Hf),t}function Bl(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return gr(t);if(t.$$typeof===H)return It(t)}throw Error(r(438,String(t)))}function Rf(t){var a=null,i=ve.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var s=ve.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(a={data:s.data.map(function(c){return c.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=Ll(),ve.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0)for(i=a.data[a.index]=Array(t),s=0;s<t;s++)i[s]=pe;return a.index++,i}function la(t,a){return typeof a=="function"?a(t):a}function Ml(t){var a=pt();return Of(a,We,t)}function Of(t,a,i){var s=t.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=i;var c=t.baseQueue,o=s.pending;if(o!==null){if(c!==null){var m=c.next;c.next=o.next,o.next=m}a.baseQueue=c=o,s.pending=null}if(o=t.baseState,c===null)t.memoizedState=o;else{a=c.next;var g=m=null,R=null,w=a,V=!1;do{var X=w.lane&-536870913;if(X!==w.lane?(Ie&X)===X:(sa&X)===X){var U=w.revertLane;if(U===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),X===ni&&(V=!0);else if((sa&U)===U){w=w.next,U===ni&&(V=!0);continue}else X={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},R===null?(g=R=X,m=o):R=R.next=X,ve.lanes|=U,za|=U;X=w.action,vn&&i(o,X),o=w.hasEagerState?w.eagerState:i(o,X)}else U={lane:X,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},R===null?(g=R=U,m=o):R=R.next=U,ve.lanes|=X,za|=X;w=w.next}while(w!==null&&w!==a);if(R===null?m=o:R.next=g,!fu(o,t.memoizedState)&&(Tt=!0,V&&(i=ii,i!==null)))throw i;t.memoizedState=o,t.baseState=m,t.baseQueue=R,s.lastRenderedState=o}return c===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function Ff(t){var a=pt(),i=a.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=t;var s=i.dispatch,c=i.pending,o=a.memoizedState;if(c!==null){i.pending=null;var m=c=c.next;do o=t(o,m.action),m=m.next;while(m!==c);fu(o,a.memoizedState)||(Tt=!0),a.memoizedState=o,a.baseQueue===null&&(a.baseState=o),i.lastRenderedState=o}return[o,s]}function Am(t,a,i){var s=ve,c=pt(),o=Ue;if(o){if(i===void 0)throw Error(r(407));i=i()}else i=a();var m=!fu((We||c).memoizedState,i);if(m&&(c.memoizedState=i,Tt=!0),c=c.queue,Bf(ym.bind(null,s,c,t),[t]),c.getSnapshot!==a||m||bt!==null&&bt.memoizedState.tag&1){if(s.flags|=2048,fi(9,{destroy:void 0},Cm.bind(null,s,c,i,a),null),ut===null)throw Error(r(349));o||(sa&127)!==0||vm(s,a,i)}return i}function vm(t,a,i){t.flags|=16384,t={getSnapshot:a,value:i},a=ve.updateQueue,a===null?(a=Ll(),ve.updateQueue=a,a.stores=[t]):(i=a.stores,i===null?a.stores=[t]:i.push(t))}function Cm(t,a,i,s){a.value=i,a.getSnapshot=s,Sm(a)&&Nm(t)}function ym(t,a,i){return i(function(){Sm(a)&&Nm(t)})}function Sm(t){var a=t.getSnapshot;t=t.value;try{var i=a();return!fu(t,i)}catch{return!0}}function Nm(t){var a=mn(t,2);a!==null&&eu(a,t,2)}function xf(t){var a=qt();if(typeof t=="function"){var i=t;if(t=i(),vn){Ra(!0);try{i()}finally{Ra(!1)}}}return a.memoizedState=a.baseState=t,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:t},a}function Rm(t,a,i,s){return t.baseState=i,Of(t,We,typeof s=="function"?s:la)}function n_(t,a,i,s,c){if(Ul(t))throw Error(r(485));if(t=a.action,t!==null){var o={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){o.listeners.push(m)}};Y.T!==null?i(!0):o.isTransition=!1,s(o),i=a.pending,i===null?(o.next=a.pending=o,Om(a,o)):(o.next=i.next,a.pending=i.next=o)}}function Om(t,a){var i=a.action,s=a.payload,c=t.state;if(a.isTransition){var o=Y.T,m={};Y.T=m;try{var g=i(c,s),R=Y.S;R!==null&&R(m,g),Fm(t,a,g)}catch(w){Lf(t,a,w)}finally{o!==null&&m.types!==null&&(o.types=m.types),Y.T=o}}else try{o=i(c,s),Fm(t,a,o)}catch(w){Lf(t,a,w)}}function Fm(t,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){xm(t,a,s)},function(s){return Lf(t,a,s)}):xm(t,a,i)}function xm(t,a,i){a.status="fulfilled",a.value=i,Lm(a),t.state=i,a=t.pending,a!==null&&(i=a.next,i===a?t.pending=null:(i=i.next,a.next=i,Om(t,i)))}function Lf(t,a,i){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do a.status="rejected",a.reason=i,Lm(a),a=a.next;while(a!==s)}t.action=null}function Lm(t){t=t.listeners;for(var a=0;a<t.length;a++)(0,t[a])()}function Bm(t,a){return a}function Mm(t,a){if(Ue){var i=ut.formState;if(i!==null){e:{var s=ve;if(Ue){if(it){t:{for(var c=it,o=Ou;c.nodeType!==8;){if(!o){c=null;break t}if(c=xu(c.nextSibling),c===null){c=null;break t}}o=c.data,c=o==="F!"||o==="F"?c:null}if(c){it=xu(c.nextSibling),s=c.data==="F!";break e}}Ba(s)}s=!1}s&&(a=i[0])}}return i=qt(),i.memoizedState=i.baseState=a,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bm,lastRenderedState:a},i.queue=s,i=Jm.bind(null,ve,s),s.dispatch=i,s=xf(!1),o=Pf.bind(null,ve,!1,s.queue),s=qt(),c={state:a,dispatch:null,action:t,pending:null},s.queue=c,i=n_.bind(null,ve,c,o,i),c.dispatch=i,s.memoizedState=t,[a,i,!1]}function Im(t){var a=pt();return wm(a,We,t)}function wm(t,a,i){if(a=Of(t,a,Bm)[0],t=Ml(la)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var s=gr(a)}catch(m){throw m===ri?Cl:m}else s=a;a=pt();var c=a.queue,o=c.dispatch;return i!==a.memoizedState&&(ve.flags|=2048,fi(9,{destroy:void 0},i_.bind(null,c,i),null)),[s,o,t]}function i_(t,a){t.action=a}function Um(t){var a=pt(),i=We;if(i!==null)return wm(a,i,t);pt(),a=a.memoizedState,i=pt();var s=i.queue.dispatch;return i.memoizedState=t,[a,s,!1]}function fi(t,a,i,s){return t={tag:t,create:i,deps:s,inst:a,next:null},a=ve.updateQueue,a===null&&(a=Ll(),ve.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=t.next=t:(s=i.next,i.next=t,t.next=s,a.lastEffect=t),t}function Pm(){return pt().memoizedState}function Il(t,a,i,s){var c=qt();ve.flags|=t,c.memoizedState=fi(1|a,{destroy:void 0},i,s===void 0?null:s)}function wl(t,a,i,s){var c=pt();s=s===void 0?null:s;var o=c.memoizedState.inst;We!==null&&s!==null&&vf(s,We.memoizedState.deps)?c.memoizedState=fi(a,o,i,s):(ve.flags|=t,c.memoizedState=fi(1|a,o,i,s))}function Hm(t,a){Il(8390656,8,t,a)}function Bf(t,a){wl(2048,8,t,a)}function r_(t){ve.flags|=4;var a=ve.updateQueue;if(a===null)a=Ll(),ve.updateQueue=a,a.events=[t];else{var i=a.events;i===null?a.events=[t]:i.push(t)}}function km(t){var a=pt().memoizedState;return r_({ref:a,nextImpl:t}),function(){if((Qe&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function jm(t,a){return wl(4,2,t,a)}function zm(t,a){return wl(4,4,t,a)}function qm(t,a){if(typeof a=="function"){t=t();var i=a(t);return function(){typeof i=="function"?i():a(null)}}if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function Ym(t,a,i){i=i!=null?i.concat([t]):null,wl(4,4,qm.bind(null,a,t),i)}function Mf(){}function Gm(t,a){var i=pt();a=a===void 0?null:a;var s=i.memoizedState;return a!==null&&vf(a,s[1])?s[0]:(i.memoizedState=[t,a],t)}function Vm(t,a){var i=pt();a=a===void 0?null:a;var s=i.memoizedState;if(a!==null&&vf(a,s[1]))return s[0];if(s=t(),vn){Ra(!0);try{t()}finally{Ra(!1)}}return i.memoizedState=[s,a],s}function If(t,a,i){return i===void 0||(sa&1073741824)!==0&&(Ie&261930)===0?t.memoizedState=a:(t.memoizedState=i,t=QE(),ve.lanes|=t,za|=t,i)}function Qm(t,a,i,s){return fu(i,a)?i:li.current!==null?(t=If(t,i,s),fu(t,a)||(Tt=!0),t):(sa&42)===0||(sa&1073741824)!==0&&(Ie&261930)===0?(Tt=!0,t.memoizedState=i):(t=QE(),ve.lanes|=t,za|=t,a)}function Xm(t,a,i,s,c){var o=ne.p;ne.p=o!==0&&8>o?o:8;var m=Y.T,g={};Y.T=g,Pf(t,!1,a,i);try{var R=c(),w=Y.S;if(w!==null&&w(g,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var V=t_(R,s);br(t,a,V,pu(t))}else br(t,a,s,pu(t))}catch(X){br(t,a,{then:function(){},status:"rejected",reason:X},pu())}finally{ne.p=o,m!==null&&g.types!==null&&(m.types=g.types),Y.T=m}}function s_(){}function wf(t,a,i,s){if(t.tag!==5)throw Error(r(476));var c=Km(t).queue;Xm(t,c,a,ce,i===null?s_:function(){return Zm(t),i(s)})}function Km(t){var a=t.memoizedState;if(a!==null)return a;a={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:ce},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:i},next:null},t.memoizedState=a,t=t.alternate,t!==null&&(t.memoizedState=a),a}function Zm(t){var a=Km(t);a.next===null&&(a=t.alternate.memoizedState),br(t,a.next.queue,{},pu())}function Uf(){return It(wr)}function $m(){return pt().memoizedState}function Wm(){return pt().memoizedState}function l_(t){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var i=pu();t=wa(i);var s=Ua(a,t,i);s!==null&&(eu(s,a,i),mr(s,a,i)),a={cache:df()},t.payload=a;return}a=a.return}}function c_(t,a,i){var s=pu();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Ul(t)?eE(a,i):(i=ef(t,a,i,s),i!==null&&(eu(i,t,s),tE(i,a,s)))}function Jm(t,a,i){var s=pu();br(t,a,i,s)}function br(t,a,i,s){var c={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Ul(t))eE(a,c);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=a.lastRenderedReducer,o!==null))try{var m=a.lastRenderedState,g=o(m,i);if(c.hasEagerState=!0,c.eagerState=g,fu(g,m))return pl(t,a,c,0),ut===null&&Dl(),!1}catch{}finally{}if(i=ef(t,a,c,s),i!==null)return eu(i,t,s),tE(i,a,s),!0}return!1}function Pf(t,a,i,s){if(s={lane:2,revertLane:D0(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Ul(t)){if(a)throw Error(r(479))}else a=ef(t,i,s,2),a!==null&&eu(a,t,2)}function Ul(t){var a=t.alternate;return t===ve||a!==null&&a===ve}function eE(t,a){ci=Fl=!0;var i=t.pending;i===null?a.next=a:(a.next=i.next,i.next=a),t.pending=a}function tE(t,a,i){if((i&4194048)!==0){var s=a.lanes;s&=t.pendingLanes,i|=s,a.lanes=i,r1(t,i)}}var Tr={readContext:It,use:Bl,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useInsertionEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useSyncExternalStore:ht,useId:ht,useHostTransitionStatus:ht,useFormState:ht,useActionState:ht,useOptimistic:ht,useMemoCache:ht,useCacheRefresh:ht};Tr.useEffectEvent=ht;var uE={readContext:It,use:Bl,useCallback:function(t,a){return qt().memoizedState=[t,a===void 0?null:a],t},useContext:It,useEffect:Hm,useImperativeHandle:function(t,a,i){i=i!=null?i.concat([t]):null,Il(4194308,4,qm.bind(null,a,t),i)},useLayoutEffect:function(t,a){return Il(4194308,4,t,a)},useInsertionEffect:function(t,a){Il(4,2,t,a)},useMemo:function(t,a){var i=qt();a=a===void 0?null:a;var s=t();if(vn){Ra(!0);try{t()}finally{Ra(!1)}}return i.memoizedState=[s,a],s},useReducer:function(t,a,i){var s=qt();if(i!==void 0){var c=i(a);if(vn){Ra(!0);try{i(a)}finally{Ra(!1)}}}else c=a;return s.memoizedState=s.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},s.queue=t,t=t.dispatch=c_.bind(null,ve,t),[s.memoizedState,t]},useRef:function(t){var a=qt();return t={current:t},a.memoizedState=t},useState:function(t){t=xf(t);var a=t.queue,i=Jm.bind(null,ve,a);return a.dispatch=i,[t.memoizedState,i]},useDebugValue:Mf,useDeferredValue:function(t,a){var i=qt();return If(i,t,a)},useTransition:function(){var t=xf(!1);return t=Xm.bind(null,ve,t.queue,!0,!1),qt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,a,i){var s=ve,c=qt();if(Ue){if(i===void 0)throw Error(r(407));i=i()}else{if(i=a(),ut===null)throw Error(r(349));(Ie&127)!==0||vm(s,a,i)}c.memoizedState=i;var o={value:i,getSnapshot:a};return c.queue=o,Hm(ym.bind(null,s,o,t),[t]),s.flags|=2048,fi(9,{destroy:void 0},Cm.bind(null,s,o,i,a),null),i},useId:function(){var t=qt(),a=ut.identifierPrefix;if(Ue){var i=Vu,s=Gu;i=(s&~(1<<32-ou(s)-1)).toString(32)+i,a="_"+a+"R_"+i,i=xl++,0<i&&(a+="H"+i.toString(32)),a+="_"}else i=u_++,a="_"+a+"r_"+i.toString(32)+"_";return t.memoizedState=a},useHostTransitionStatus:Uf,useFormState:Mm,useActionState:Mm,useOptimistic:function(t){var a=qt();a.memoizedState=a.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=Pf.bind(null,ve,!0,i),i.dispatch=a,[t,a]},useMemoCache:Rf,useCacheRefresh:function(){return qt().memoizedState=l_.bind(null,ve)},useEffectEvent:function(t){var a=qt(),i={impl:t};return a.memoizedState=i,function(){if((Qe&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},Hf={readContext:It,use:Bl,useCallback:Gm,useContext:It,useEffect:Bf,useImperativeHandle:Ym,useInsertionEffect:jm,useLayoutEffect:zm,useMemo:Vm,useReducer:Ml,useRef:Pm,useState:function(){return Ml(la)},useDebugValue:Mf,useDeferredValue:function(t,a){var i=pt();return Qm(i,We.memoizedState,t,a)},useTransition:function(){var t=Ml(la)[0],a=pt().memoizedState;return[typeof t=="boolean"?t:gr(t),a]},useSyncExternalStore:Am,useId:$m,useHostTransitionStatus:Uf,useFormState:Im,useActionState:Im,useOptimistic:function(t,a){var i=pt();return Rm(i,We,t,a)},useMemoCache:Rf,useCacheRefresh:Wm};Hf.useEffectEvent=km;var aE={readContext:It,use:Bl,useCallback:Gm,useContext:It,useEffect:Bf,useImperativeHandle:Ym,useInsertionEffect:jm,useLayoutEffect:zm,useMemo:Vm,useReducer:Ff,useRef:Pm,useState:function(){return Ff(la)},useDebugValue:Mf,useDeferredValue:function(t,a){var i=pt();return We===null?If(i,t,a):Qm(i,We.memoizedState,t,a)},useTransition:function(){var t=Ff(la)[0],a=pt().memoizedState;return[typeof t=="boolean"?t:gr(t),a]},useSyncExternalStore:Am,useId:$m,useHostTransitionStatus:Uf,useFormState:Um,useActionState:Um,useOptimistic:function(t,a){var i=pt();return We!==null?Rm(i,We,t,a):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:Rf,useCacheRefresh:Wm};aE.useEffectEvent=km;function kf(t,a,i,s){a=t.memoizedState,i=i(s,a),i=i==null?a:T({},a,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var jf={enqueueSetState:function(t,a,i){t=t._reactInternals;var s=pu(),c=wa(s);c.payload=a,i!=null&&(c.callback=i),a=Ua(t,c,s),a!==null&&(eu(a,t,s),mr(a,t,s))},enqueueReplaceState:function(t,a,i){t=t._reactInternals;var s=pu(),c=wa(s);c.tag=1,c.payload=a,i!=null&&(c.callback=i),a=Ua(t,c,s),a!==null&&(eu(a,t,s),mr(a,t,s))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var i=pu(),s=wa(i);s.tag=2,a!=null&&(s.callback=a),a=Ua(t,s,i),a!==null&&(eu(a,t,i),mr(a,t,i))}};function nE(t,a,i,s,c,o,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,o,m):a.prototype&&a.prototype.isPureReactComponent?!rr(i,s)||!rr(c,o):!0}function iE(t,a,i,s){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,s),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,s),a.state!==t&&jf.enqueueReplaceState(a,a.state,null)}function Cn(t,a){var i=a;if("ref"in a){i={};for(var s in a)s!=="ref"&&(i[s]=a[s])}if(t=t.defaultProps){i===a&&(i=T({},i));for(var c in t)i[c]===void 0&&(i[c]=t[c])}return i}function rE(t){El(t)}function sE(t){console.error(t)}function lE(t){El(t)}function Pl(t,a){try{var i=t.onUncaughtError;i(a.value,{componentStack:a.stack})}catch(s){setTimeout(function(){throw s})}}function cE(t,a,i){try{var s=t.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function zf(t,a,i){return i=wa(i),i.tag=3,i.payload={element:null},i.callback=function(){Pl(t,a)},i}function oE(t){return t=wa(t),t.tag=3,t}function fE(t,a,i,s){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var o=s.value;t.payload=function(){return c(o)},t.callback=function(){cE(a,i,s)}}var m=i.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){cE(a,i,s),typeof c!="function"&&(qa===null?qa=new Set([this]):qa.add(this));var g=s.stack;this.componentDidCatch(s.value,{componentStack:g!==null?g:""})})}function o_(t,a,i,s,c){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(a=i.alternate,a!==null&&ai(a,i,c,!0),i=hu.current,i!==null){switch(i.tag){case 31:case 13:return Fu===null?Zl():i.alternate===null&&mt===0&&(mt=3),i.flags&=-257,i.flags|=65536,i.lanes=c,s===yl?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([s]):a.add(s),h0(t,s,c)),!1;case 22:return i.flags|=65536,s===yl?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([s]):i.add(s)),h0(t,s,c)),!1}throw Error(r(435,i.tag))}return h0(t,s,c),Zl(),!1}if(Ue)return a=hu.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=c,s!==sf&&(t=Error(r(422),{cause:s}),cr(Su(t,i)))):(s!==sf&&(a=Error(r(423),{cause:s}),cr(Su(a,i))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,s=Su(s,i),c=zf(t.stateNode,s,c),gf(t,c),mt!==4&&(mt=2)),!1;var o=Error(r(520),{cause:s});if(o=Su(o,i),Rr===null?Rr=[o]:Rr.push(o),mt!==4&&(mt=2),a===null)return!0;s=Su(s,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,t=c&-c,i.lanes|=t,t=zf(i.stateNode,s,t),gf(i,t),!1;case 1:if(a=i.type,o=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(qa===null||!qa.has(o))))return i.flags|=65536,c&=-c,i.lanes|=c,c=oE(c),fE(c,t,i,s),gf(i,c),!1}i=i.return}while(i!==null);return!1}var qf=Error(r(461)),Tt=!1;function wt(t,a,i,s){a.child=t===null?Em(a,null,i,s):An(a,t.child,i,s)}function dE(t,a,i,s,c){i=i.render;var o=a.ref;if("ref"in s){var m={};for(var g in s)g!=="ref"&&(m[g]=s[g])}else m=s;return gn(a),s=Cf(t,a,i,m,o,c),g=yf(),t!==null&&!Tt?(Sf(t,a,c),ca(t,a,c)):(Ue&&g&&nf(a),a.flags|=1,wt(t,a,s,c),a.child)}function hE(t,a,i,s,c){if(t===null){var o=i.type;return typeof o=="function"&&!tf(o)&&o.defaultProps===void 0&&i.compare===null?(a.tag=15,a.type=o,mE(t,a,o,s,c)):(t=bl(i.type,null,s,a,a.mode,c),t.ref=a.ref,t.return=a,a.child=t)}if(o=t.child,!$f(t,c)){var m=o.memoizedProps;if(i=i.compare,i=i!==null?i:rr,i(m,s)&&t.ref===a.ref)return ca(t,a,c)}return a.flags|=1,t=aa(o,s),t.ref=a.ref,t.return=a,a.child=t}function mE(t,a,i,s,c){if(t!==null){var o=t.memoizedProps;if(rr(o,s)&&t.ref===a.ref)if(Tt=!1,a.pendingProps=s=o,$f(t,c))(t.flags&131072)!==0&&(Tt=!0);else return a.lanes=t.lanes,ca(t,a,c)}return Yf(t,a,i,s,c)}function EE(t,a,i,s){var c=s.children,o=t!==null?t.memoizedState:null;if(t===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((a.flags&128)!==0){if(o=o!==null?o.baseLanes|i:i,t!==null){for(s=a.child=t.child,c=0;s!==null;)c=c|s.lanes|s.childLanes,s=s.sibling;s=c&~o}else s=0,a.child=null;return DE(t,a,o,i,s)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},t!==null&&vl(a,o!==null?o.cachePool:null),o!==null?gm(a,o):Tf(),bm(a);else return s=a.lanes=536870912,DE(t,a,o!==null?o.baseLanes|i:i,i,s)}else o!==null?(vl(a,o.cachePool),gm(a,o),Ha(),a.memoizedState=null):(t!==null&&vl(a,null),Tf(),Ha());return wt(t,a,c,i),a.child}function _r(t,a){return t!==null&&t.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function DE(t,a,i,s,c){var o=mf();return o=o===null?null:{parent:gt._currentValue,pool:o},a.memoizedState={baseLanes:i,cachePool:o},t!==null&&vl(a,null),Tf(),bm(a),t!==null&&ai(t,a,s,!0),a.childLanes=c,null}function Hl(t,a){return a=jl({mode:a.mode,children:a.children},t.mode),a.ref=t.ref,t.child=a,a.return=t,a}function pE(t,a,i){return An(a,t.child,null,i),t=Hl(a,a.pendingProps),t.flags|=2,mu(a),a.memoizedState=null,t}function f_(t,a,i){var s=a.pendingProps,c=(a.flags&128)!==0;if(a.flags&=-129,t===null){if(Ue){if(s.mode==="hidden")return t=Hl(a,s),a.lanes=536870912,_r(null,t);if(Af(a),(t=it)?(t=OD(t,Ou),t=t!==null&&t.data==="&"?t:null,t!==null&&(a.memoizedState={dehydrated:t,treeContext:xa!==null?{id:Gu,overflow:Vu}:null,retryLane:536870912,hydrationErrors:null},i=em(t),i.return=a,a.child=i,Mt=a,it=null)):t=null,t===null)throw Ba(a);return a.lanes=536870912,null}return Hl(a,s)}var o=t.memoizedState;if(o!==null){var m=o.dehydrated;if(Af(a),c)if(a.flags&256)a.flags&=-257,a=pE(t,a,i);else if(a.memoizedState!==null)a.child=t.child,a.flags|=128,a=null;else throw Error(r(558));else if(Tt||ai(t,a,i,!1),c=(i&t.childLanes)!==0,Tt||c){if(s=ut,s!==null&&(m=s1(s,i),m!==0&&m!==o.retryLane))throw o.retryLane=m,mn(t,m),eu(s,t,m),qf;Zl(),a=pE(t,a,i)}else t=o.treeContext,it=xu(m.nextSibling),Mt=a,Ue=!0,La=null,Ou=!1,t!==null&&am(a,t),a=Hl(a,s),a.flags|=4096;return a}return t=aa(t.child,{mode:s.mode,children:s.children}),t.ref=a.ref,a.child=t,t.return=a,t}function kl(t,a){var i=a.ref;if(i===null)t!==null&&t.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(t===null||t.ref!==i)&&(a.flags|=4194816)}}function Yf(t,a,i,s,c){return gn(a),i=Cf(t,a,i,s,void 0,c),s=yf(),t!==null&&!Tt?(Sf(t,a,c),ca(t,a,c)):(Ue&&s&&nf(a),a.flags|=1,wt(t,a,i,c),a.child)}function gE(t,a,i,s,c,o){return gn(a),a.updateQueue=null,i=_m(a,s,i,c),Tm(t),s=yf(),t!==null&&!Tt?(Sf(t,a,o),ca(t,a,o)):(Ue&&s&&nf(a),a.flags|=1,wt(t,a,i,o),a.child)}function bE(t,a,i,s,c){if(gn(a),a.stateNode===null){var o=Jn,m=i.contextType;typeof m=="object"&&m!==null&&(o=It(m)),o=new i(s,o),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=jf,a.stateNode=o,o._reactInternals=a,o=a.stateNode,o.props=s,o.state=a.memoizedState,o.refs={},Df(a),m=i.contextType,o.context=typeof m=="object"&&m!==null?It(m):Jn,o.state=a.memoizedState,m=i.getDerivedStateFromProps,typeof m=="function"&&(kf(a,i,m,s),o.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(m=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),m!==o.state&&jf.enqueueReplaceState(o,o.state,null),Dr(a,s,o,c),Er(),o.state=a.memoizedState),typeof o.componentDidMount=="function"&&(a.flags|=4194308),s=!0}else if(t===null){o=a.stateNode;var g=a.memoizedProps,R=Cn(i,g);o.props=R;var w=o.context,V=i.contextType;m=Jn,typeof V=="object"&&V!==null&&(m=It(V));var X=i.getDerivedStateFromProps;V=typeof X=="function"||typeof o.getSnapshotBeforeUpdate=="function",g=a.pendingProps!==g,V||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(g||w!==m)&&iE(a,o,s,m),Ia=!1;var U=a.memoizedState;o.state=U,Dr(a,s,o,c),Er(),w=a.memoizedState,g||U!==w||Ia?(typeof X=="function"&&(kf(a,i,X,s),w=a.memoizedState),(R=Ia||nE(a,i,R,s,U,w,m))?(V||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(a.flags|=4194308)):(typeof o.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=s,a.memoizedState=w),o.props=s,o.state=w,o.context=m,s=R):(typeof o.componentDidMount=="function"&&(a.flags|=4194308),s=!1)}else{o=a.stateNode,pf(t,a),m=a.memoizedProps,V=Cn(i,m),o.props=V,X=a.pendingProps,U=o.context,w=i.contextType,R=Jn,typeof w=="object"&&w!==null&&(R=It(w)),g=i.getDerivedStateFromProps,(w=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(m!==X||U!==R)&&iE(a,o,s,R),Ia=!1,U=a.memoizedState,o.state=U,Dr(a,s,o,c),Er();var k=a.memoizedState;m!==X||U!==k||Ia||t!==null&&t.dependencies!==null&&_l(t.dependencies)?(typeof g=="function"&&(kf(a,i,g,s),k=a.memoizedState),(V=Ia||nE(a,i,V,s,U,k,R)||t!==null&&t.dependencies!==null&&_l(t.dependencies))?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(s,k,R),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(s,k,R)),typeof o.componentDidUpdate=="function"&&(a.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=1024),a.memoizedProps=s,a.memoizedState=k),o.props=s,o.state=k,o.context=R,s=V):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=1024),s=!1)}return o=s,kl(t,a),s=(a.flags&128)!==0,o||s?(o=a.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:o.render(),a.flags|=1,t!==null&&s?(a.child=An(a,t.child,null,c),a.child=An(a,null,i,c)):wt(t,a,i,c),a.memoizedState=o.state,t=a.child):t=ca(t,a,c),t}function TE(t,a,i,s){return Dn(),a.flags|=256,wt(t,a,i,s),a.child}var Gf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vf(t){return{baseLanes:t,cachePool:cm()}}function Qf(t,a,i){return t=t!==null?t.childLanes&~i:0,a&&(t|=Du),t}function _E(t,a,i){var s=a.pendingProps,c=!1,o=(a.flags&128)!==0,m;if((m=o)||(m=t!==null&&t.memoizedState===null?!1:(Dt.current&2)!==0),m&&(c=!0,a.flags&=-129),m=(a.flags&32)!==0,a.flags&=-33,t===null){if(Ue){if(c?Pa(a):Ha(),(t=it)?(t=OD(t,Ou),t=t!==null&&t.data!=="&"?t:null,t!==null&&(a.memoizedState={dehydrated:t,treeContext:xa!==null?{id:Gu,overflow:Vu}:null,retryLane:536870912,hydrationErrors:null},i=em(t),i.return=a,a.child=i,Mt=a,it=null)):t=null,t===null)throw Ba(a);return O0(t)?a.lanes=32:a.lanes=536870912,null}var g=s.children;return s=s.fallback,c?(Ha(),c=a.mode,g=jl({mode:"hidden",children:g},c),s=En(s,c,i,null),g.return=a,s.return=a,g.sibling=s,a.child=g,s=a.child,s.memoizedState=Vf(i),s.childLanes=Qf(t,m,i),a.memoizedState=Gf,_r(null,s)):(Pa(a),Xf(a,g))}var R=t.memoizedState;if(R!==null&&(g=R.dehydrated,g!==null)){if(o)a.flags&256?(Pa(a),a.flags&=-257,a=Kf(t,a,i)):a.memoizedState!==null?(Ha(),a.child=t.child,a.flags|=128,a=null):(Ha(),g=s.fallback,c=a.mode,s=jl({mode:"visible",children:s.children},c),g=En(g,c,i,null),g.flags|=2,s.return=a,g.return=a,s.sibling=g,a.child=s,An(a,t.child,null,i),s=a.child,s.memoizedState=Vf(i),s.childLanes=Qf(t,m,i),a.memoizedState=Gf,a=_r(null,s));else if(Pa(a),O0(g)){if(m=g.nextSibling&&g.nextSibling.dataset,m)var w=m.dgst;m=w,s=Error(r(419)),s.stack="",s.digest=m,cr({value:s,source:null,stack:null}),a=Kf(t,a,i)}else if(Tt||ai(t,a,i,!1),m=(i&t.childLanes)!==0,Tt||m){if(m=ut,m!==null&&(s=s1(m,i),s!==0&&s!==R.retryLane))throw R.retryLane=s,mn(t,s),eu(m,t,s),qf;R0(g)||Zl(),a=Kf(t,a,i)}else R0(g)?(a.flags|=192,a.child=t.child,a=null):(t=R.treeContext,it=xu(g.nextSibling),Mt=a,Ue=!0,La=null,Ou=!1,t!==null&&am(a,t),a=Xf(a,s.children),a.flags|=4096);return a}return c?(Ha(),g=s.fallback,c=a.mode,R=t.child,w=R.sibling,s=aa(R,{mode:"hidden",children:s.children}),s.subtreeFlags=R.subtreeFlags&65011712,w!==null?g=aa(w,g):(g=En(g,c,i,null),g.flags|=2),g.return=a,s.return=a,s.sibling=g,a.child=s,_r(null,s),s=a.child,g=t.child.memoizedState,g===null?g=Vf(i):(c=g.cachePool,c!==null?(R=gt._currentValue,c=c.parent!==R?{parent:R,pool:R}:c):c=cm(),g={baseLanes:g.baseLanes|i,cachePool:c}),s.memoizedState=g,s.childLanes=Qf(t,m,i),a.memoizedState=Gf,_r(t.child,s)):(Pa(a),i=t.child,t=i.sibling,i=aa(i,{mode:"visible",children:s.children}),i.return=a,i.sibling=null,t!==null&&(m=a.deletions,m===null?(a.deletions=[t],a.flags|=16):m.push(t)),a.child=i,a.memoizedState=null,i)}function Xf(t,a){return a=jl({mode:"visible",children:a},t.mode),a.return=t,t.child=a}function jl(t,a){return t=du(22,t,null,a),t.lanes=0,t}function Kf(t,a,i){return An(a,t.child,null,i),t=Xf(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function AE(t,a,i){t.lanes|=a;var s=t.alternate;s!==null&&(s.lanes|=a),of(t.return,a,i)}function Zf(t,a,i,s,c,o){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:c,treeForkCount:o}:(m.isBackwards=a,m.rendering=null,m.renderingStartTime=0,m.last=s,m.tail=i,m.tailMode=c,m.treeForkCount=o)}function vE(t,a,i){var s=a.pendingProps,c=s.revealOrder,o=s.tail;s=s.children;var m=Dt.current,g=(m&2)!==0;if(g?(m=m&1|2,a.flags|=128):m&=1,ae(Dt,m),wt(t,a,s,i),s=Ue?lr:0,!g&&t!==null&&(t.flags&128)!==0)e:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&AE(t,i,a);else if(t.tag===19)AE(t,i,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break e;for(;t.sibling===null;){if(t.return===null||t.return===a)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(i=a.child,c=null;i!==null;)t=i.alternate,t!==null&&Ol(t)===null&&(c=i),i=i.sibling;i=c,i===null?(c=a.child,a.child=null):(c=i.sibling,i.sibling=null),Zf(a,!1,c,i,o,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=a.child,a.child=null;c!==null;){if(t=c.alternate,t!==null&&Ol(t)===null){a.child=c;break}t=c.sibling,c.sibling=i,i=c,c=t}Zf(a,!0,i,null,o,s);break;case"together":Zf(a,!1,null,null,void 0,s);break;default:a.memoizedState=null}return a.child}function ca(t,a,i){if(t!==null&&(a.dependencies=t.dependencies),za|=a.lanes,(i&a.childLanes)===0)if(t!==null){if(ai(t,a,i,!1),(i&a.childLanes)===0)return null}else return null;if(t!==null&&a.child!==t.child)throw Error(r(153));if(a.child!==null){for(t=a.child,i=aa(t,t.pendingProps),a.child=i,i.return=a;t.sibling!==null;)t=t.sibling,i=i.sibling=aa(t,t.pendingProps),i.return=a;i.sibling=null}return a.child}function $f(t,a){return(t.lanes&a)!==0?!0:(t=t.dependencies,!!(t!==null&&_l(t)))}function d_(t,a,i){switch(a.tag){case 3:nt(a,a.stateNode.containerInfo),Ma(a,gt,t.memoizedState.cache),Dn();break;case 27:case 5:j(a);break;case 4:nt(a,a.stateNode.containerInfo);break;case 10:Ma(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Af(a),null;break;case 13:var s=a.memoizedState;if(s!==null)return s.dehydrated!==null?(Pa(a),a.flags|=128,null):(i&a.child.childLanes)!==0?_E(t,a,i):(Pa(a),t=ca(t,a,i),t!==null?t.sibling:null);Pa(a);break;case 19:var c=(t.flags&128)!==0;if(s=(i&a.childLanes)!==0,s||(ai(t,a,i,!1),s=(i&a.childLanes)!==0),c){if(s)return vE(t,a,i);a.flags|=128}if(c=a.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),ae(Dt,Dt.current),s)break;return null;case 22:return a.lanes=0,EE(t,a,i,a.pendingProps);case 24:Ma(a,gt,t.memoizedState.cache)}return ca(t,a,i)}function CE(t,a,i){if(t!==null)if(t.memoizedProps!==a.pendingProps)Tt=!0;else{if(!$f(t,i)&&(a.flags&128)===0)return Tt=!1,d_(t,a,i);Tt=(t.flags&131072)!==0}else Tt=!1,Ue&&(a.flags&1048576)!==0&&um(a,lr,a.index);switch(a.lanes=0,a.tag){case 16:e:{var s=a.pendingProps;if(t=Tn(a.elementType),a.type=t,typeof t=="function")tf(t)?(s=Cn(t,s),a.tag=1,a=bE(null,a,t,s,i)):(a.tag=0,a=Yf(null,a,t,s,i));else{if(t!=null){var c=t.$$typeof;if(c===$){a.tag=11,a=dE(null,a,t,s,i);break e}else if(c===q){a.tag=14,a=hE(null,a,t,s,i);break e}}throw a=Se(t)||t,Error(r(306,a,""))}}return a;case 0:return Yf(t,a,a.type,a.pendingProps,i);case 1:return s=a.type,c=Cn(s,a.pendingProps),bE(t,a,s,c,i);case 3:e:{if(nt(a,a.stateNode.containerInfo),t===null)throw Error(r(387));s=a.pendingProps;var o=a.memoizedState;c=o.element,pf(t,a),Dr(a,s,null,i);var m=a.memoizedState;if(s=m.cache,Ma(a,gt,s),s!==o.cache&&ff(a,[gt],i,!0),Er(),s=m.element,o.isDehydrated)if(o={element:s,isDehydrated:!1,cache:m.cache},a.updateQueue.baseState=o,a.memoizedState=o,a.flags&256){a=TE(t,a,s,i);break e}else if(s!==c){c=Su(Error(r(424)),a),cr(c),a=TE(t,a,s,i);break e}else{switch(t=a.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(it=xu(t.firstChild),Mt=a,Ue=!0,La=null,Ou=!0,i=Em(a,null,s,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Dn(),s===c){a=ca(t,a,i);break e}wt(t,a,s,i)}a=a.child}return a;case 26:return kl(t,a),t===null?(i=ID(a.type,null,a.pendingProps,null))?a.memoizedState=i:Ue||(i=a.type,t=a.pendingProps,s=ac(ge.current).createElement(i),s[Bt]=a,s[Xt]=t,Ut(s,i,t),Nt(s),a.stateNode=s):a.memoizedState=ID(a.type,t.memoizedProps,a.pendingProps,t.memoizedState),null;case 27:return j(a),t===null&&Ue&&(s=a.stateNode=LD(a.type,a.pendingProps,ge.current),Mt=a,Ou=!0,c=it,Qa(a.type)?(F0=c,it=xu(s.firstChild)):it=c),wt(t,a,a.pendingProps.children,i),kl(t,a),t===null&&(a.flags|=4194304),a.child;case 5:return t===null&&Ue&&((c=s=it)&&(s=z_(s,a.type,a.pendingProps,Ou),s!==null?(a.stateNode=s,Mt=a,it=xu(s.firstChild),Ou=!1,c=!0):c=!1),c||Ba(a)),j(a),c=a.type,o=a.pendingProps,m=t!==null?t.memoizedProps:null,s=o.children,y0(c,o)?s=null:m!==null&&y0(c,m)&&(a.flags|=32),a.memoizedState!==null&&(c=Cf(t,a,a_,null,null,i),wr._currentValue=c),kl(t,a),wt(t,a,s,i),a.child;case 6:return t===null&&Ue&&((t=i=it)&&(i=q_(i,a.pendingProps,Ou),i!==null?(a.stateNode=i,Mt=a,it=null,t=!0):t=!1),t||Ba(a)),null;case 13:return _E(t,a,i);case 4:return nt(a,a.stateNode.containerInfo),s=a.pendingProps,t===null?a.child=An(a,null,s,i):wt(t,a,s,i),a.child;case 11:return dE(t,a,a.type,a.pendingProps,i);case 7:return wt(t,a,a.pendingProps,i),a.child;case 8:return wt(t,a,a.pendingProps.children,i),a.child;case 12:return wt(t,a,a.pendingProps.children,i),a.child;case 10:return s=a.pendingProps,Ma(a,a.type,s.value),wt(t,a,s.children,i),a.child;case 9:return c=a.type._context,s=a.pendingProps.children,gn(a),c=It(c),s=s(c),a.flags|=1,wt(t,a,s,i),a.child;case 14:return hE(t,a,a.type,a.pendingProps,i);case 15:return mE(t,a,a.type,a.pendingProps,i);case 19:return vE(t,a,i);case 31:return f_(t,a,i);case 22:return EE(t,a,i,a.pendingProps);case 24:return gn(a),s=It(gt),t===null?(c=mf(),c===null&&(c=ut,o=df(),c.pooledCache=o,o.refCount++,o!==null&&(c.pooledCacheLanes|=i),c=o),a.memoizedState={parent:s,cache:c},Df(a),Ma(a,gt,c)):((t.lanes&i)!==0&&(pf(t,a),Dr(a,null,null,i),Er()),c=t.memoizedState,o=a.memoizedState,c.parent!==s?(c={parent:s,cache:s},a.memoizedState=c,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=c),Ma(a,gt,s)):(s=o.cache,Ma(a,gt,s),s!==c.cache&&ff(a,[gt],i,!0))),wt(t,a,a.pendingProps.children,i),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function oa(t){t.flags|=4}function Wf(t,a,i,s,c){if((a=(t.mode&32)!==0)&&(a=!1),a){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if($E())t.flags|=8192;else throw _n=yl,Ef}else t.flags&=-16777217}function yE(t,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!kD(a))if($E())t.flags|=8192;else throw _n=yl,Ef}function zl(t,a){a!==null&&(t.flags|=4),t.flags&16384&&(a=t.tag!==22?n1():536870912,t.lanes|=a,Ei|=a)}function Ar(t,a){if(!Ue)switch(t.tailMode){case"hidden":a=t.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function rt(t){var a=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(a)for(var c=t.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags&65011712,s|=c.flags&65011712,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags,s|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=s,t.childLanes=i,a}function h_(t,a,i){var s=a.pendingProps;switch(rf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(a),null;case 1:return rt(a),null;case 3:return i=a.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),ra(gt),ke(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(ui(a)?oa(a):t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,lf())),rt(a),null;case 26:var c=a.type,o=a.memoizedState;return t===null?(oa(a),o!==null?(rt(a),yE(a,o)):(rt(a),Wf(a,c,null,s,i))):o?o!==t.memoizedState?(oa(a),rt(a),yE(a,o)):(rt(a),a.flags&=-16777217):(t=t.memoizedProps,t!==s&&oa(a),rt(a),Wf(a,c,t,s,i)),null;case 27:if(de(a),i=ge.current,c=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==s&&oa(a);else{if(!s){if(a.stateNode===null)throw Error(r(166));return rt(a),null}t=re.current,ui(a)?nm(a):(t=LD(c,s,i),a.stateNode=t,oa(a))}return rt(a),null;case 5:if(de(a),c=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==s&&oa(a);else{if(!s){if(a.stateNode===null)throw Error(r(166));return rt(a),null}if(o=re.current,ui(a))nm(a);else{var m=ac(ge.current);switch(o){case 1:o=m.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:o=m.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":o=m.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":o=m.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":o=m.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof s.is=="string"?m.createElement("select",{is:s.is}):m.createElement("select"),s.multiple?o.multiple=!0:s.size&&(o.size=s.size);break;default:o=typeof s.is=="string"?m.createElement(c,{is:s.is}):m.createElement(c)}}o[Bt]=a,o[Xt]=s;e:for(m=a.child;m!==null;){if(m.tag===5||m.tag===6)o.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===a)break e;for(;m.sibling===null;){if(m.return===null||m.return===a)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}a.stateNode=o;e:switch(Ut(o,c,s),c){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&oa(a)}}return rt(a),Wf(a,a.type,t===null?null:t.memoizedProps,a.pendingProps,i),null;case 6:if(t&&a.stateNode!=null)t.memoizedProps!==s&&oa(a);else{if(typeof s!="string"&&a.stateNode===null)throw Error(r(166));if(t=ge.current,ui(a)){if(t=a.stateNode,i=a.memoizedProps,s=null,c=Mt,c!==null)switch(c.tag){case 27:case 5:s=c.memoizedProps}t[Bt]=a,t=!!(t.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||_D(t.nodeValue,i)),t||Ba(a,!0)}else t=ac(t).createTextNode(s),t[Bt]=a,a.stateNode=t}return rt(a),null;case 31:if(i=a.memoizedState,t===null||t.memoizedState!==null){if(s=ui(a),i!==null){if(t===null){if(!s)throw Error(r(318));if(t=a.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[Bt]=a}else Dn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;rt(a),t=!1}else i=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return a.flags&256?(mu(a),a):(mu(a),null);if((a.flags&128)!==0)throw Error(r(558))}return rt(a),null;case 13:if(s=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=ui(a),s!==null&&s.dehydrated!==null){if(t===null){if(!c)throw Error(r(318));if(c=a.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[Bt]=a}else Dn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;rt(a),c=!1}else c=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return a.flags&256?(mu(a),a):(mu(a),null)}return mu(a),(a.flags&128)!==0?(a.lanes=i,a):(i=s!==null,t=t!==null&&t.memoizedState!==null,i&&(s=a.child,c=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(c=s.alternate.memoizedState.cachePool.pool),o=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(o=s.memoizedState.cachePool.pool),o!==c&&(s.flags|=2048)),i!==t&&i&&(a.child.flags|=8192),zl(a,a.updateQueue),rt(a),null);case 4:return ke(),t===null&&T0(a.stateNode.containerInfo),rt(a),null;case 10:return ra(a.type),rt(a),null;case 19:if(G(Dt),s=a.memoizedState,s===null)return rt(a),null;if(c=(a.flags&128)!==0,o=s.rendering,o===null)if(c)Ar(s,!1);else{if(mt!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(o=Ol(t),o!==null){for(a.flags|=128,Ar(s,!1),t=o.updateQueue,a.updateQueue=t,zl(a,t),a.subtreeFlags=0,t=i,i=a.child;i!==null;)J1(i,t),i=i.sibling;return ae(Dt,Dt.current&1|2),Ue&&na(a,s.treeForkCount),a.child}t=t.sibling}s.tail!==null&&Pt()>Ql&&(a.flags|=128,c=!0,Ar(s,!1),a.lanes=4194304)}else{if(!c)if(t=Ol(o),t!==null){if(a.flags|=128,c=!0,t=t.updateQueue,a.updateQueue=t,zl(a,t),Ar(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Ue)return rt(a),null}else 2*Pt()-s.renderingStartTime>Ql&&i!==536870912&&(a.flags|=128,c=!0,Ar(s,!1),a.lanes=4194304);s.isBackwards?(o.sibling=a.child,a.child=o):(t=s.last,t!==null?t.sibling=o:a.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Pt(),t.sibling=null,i=Dt.current,ae(Dt,c?i&1|2:i&1),Ue&&na(a,s.treeForkCount),t):(rt(a),null);case 22:case 23:return mu(a),_f(),s=a.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(a.flags|=8192):s&&(a.flags|=8192),s?(i&536870912)!==0&&(a.flags&128)===0&&(rt(a),a.subtreeFlags&6&&(a.flags|=8192)):rt(a),i=a.updateQueue,i!==null&&zl(a,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),s=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==i&&(a.flags|=2048),t!==null&&G(bn),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),ra(gt),rt(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function m_(t,a){switch(rf(a),a.tag){case 1:return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return ra(gt),ke(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 26:case 27:case 5:return de(a),null;case 31:if(a.memoizedState!==null){if(mu(a),a.alternate===null)throw Error(r(340));Dn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 13:if(mu(a),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Dn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return G(Dt),null;case 4:return ke(),null;case 10:return ra(a.type),null;case 22:case 23:return mu(a),_f(),t!==null&&G(bn),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 24:return ra(gt),null;case 25:return null;default:return null}}function SE(t,a){switch(rf(a),a.tag){case 3:ra(gt),ke();break;case 26:case 27:case 5:de(a);break;case 4:ke();break;case 31:a.memoizedState!==null&&mu(a);break;case 13:mu(a);break;case 19:G(Dt);break;case 10:ra(a.type);break;case 22:case 23:mu(a),_f(),t!==null&&G(bn);break;case 24:ra(gt)}}function vr(t,a){try{var i=a.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var c=s.next;i=c;do{if((i.tag&t)===t){s=void 0;var o=i.create,m=i.inst;s=o(),m.destroy=s}i=i.next}while(i!==c)}}catch(g){$e(a,a.return,g)}}function ka(t,a,i){try{var s=a.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var o=c.next;s=o;do{if((s.tag&t)===t){var m=s.inst,g=m.destroy;if(g!==void 0){m.destroy=void 0,c=a;var R=i,w=g;try{w()}catch(V){$e(c,R,V)}}}s=s.next}while(s!==o)}}catch(V){$e(a,a.return,V)}}function NE(t){var a=t.updateQueue;if(a!==null){var i=t.stateNode;try{pm(a,i)}catch(s){$e(t,t.return,s)}}}function RE(t,a,i){i.props=Cn(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(s){$e(t,a,s)}}function Cr(t,a){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof i=="function"?t.refCleanup=i(s):i.current=s}}catch(c){$e(t,a,c)}}function Qu(t,a){var i=t.ref,s=t.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(c){$e(t,a,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){$e(t,a,c)}else i.current=null}function OE(t){var a=t.type,i=t.memoizedProps,s=t.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break e;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(c){$e(t,t.return,c)}}function Jf(t,a,i){try{var s=t.stateNode;w_(s,t.type,i,a),s[Xt]=a}catch(c){$e(t,t.return,c)}}function FE(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Qa(t.type)||t.tag===4}function e0(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||FE(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Qa(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function t0(t,a,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(t),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=ta));else if(s!==4&&(s===27&&Qa(t.type)&&(i=t.stateNode,a=null),t=t.child,t!==null))for(t0(t,a,i),t=t.sibling;t!==null;)t0(t,a,i),t=t.sibling}function ql(t,a,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,a?i.insertBefore(t,a):i.appendChild(t);else if(s!==4&&(s===27&&Qa(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(ql(t,a,i),t=t.sibling;t!==null;)ql(t,a,i),t=t.sibling}function xE(t){var a=t.stateNode,i=t.memoizedProps;try{for(var s=t.type,c=a.attributes;c.length;)a.removeAttributeNode(c[0]);Ut(a,s,i),a[Bt]=t,a[Xt]=i}catch(o){$e(t,t.return,o)}}var fa=!1,_t=!1,u0=!1,LE=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function E_(t,a){if(t=t.containerInfo,v0=oc,t=Y1(t),Xo(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var c=s.anchorOffset,o=s.focusNode;s=s.focusOffset;try{i.nodeType,o.nodeType}catch{i=null;break e}var m=0,g=-1,R=-1,w=0,V=0,X=t,U=null;t:for(;;){for(var k;X!==i||c!==0&&X.nodeType!==3||(g=m+c),X!==o||s!==0&&X.nodeType!==3||(R=m+s),X.nodeType===3&&(m+=X.nodeValue.length),(k=X.firstChild)!==null;)U=X,X=k;for(;;){if(X===t)break t;if(U===i&&++w===c&&(g=m),U===o&&++V===s&&(R=m),(k=X.nextSibling)!==null)break;X=U,U=X.parentNode}X=k}i=g===-1||R===-1?null:{start:g,end:R}}else i=null}i=i||{start:0,end:0}}else i=null;for(C0={focusedElem:t,selectionRange:i},oc=!1,Rt=a;Rt!==null;)if(a=Rt,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,Rt=t;else for(;Rt!==null;){switch(a=Rt,o=a.alternate,t=a.flags,a.tag){case 0:if((t&4)!==0&&(t=a.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i<t.length;i++)c=t[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,i=a,c=o.memoizedProps,o=o.memoizedState,s=i.stateNode;try{var se=Cn(i.type,c);t=s.getSnapshotBeforeUpdate(se,o),s.__reactInternalSnapshotBeforeUpdate=t}catch(Ee){$e(i,i.return,Ee)}}break;case 3:if((t&1024)!==0){if(t=a.stateNode.containerInfo,i=t.nodeType,i===9)N0(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":N0(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=a.sibling,t!==null){t.return=a.return,Rt=t;break}Rt=a.return}}function BE(t,a,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:ha(t,i),s&4&&vr(5,i);break;case 1:if(ha(t,i),s&4)if(t=i.stateNode,a===null)try{t.componentDidMount()}catch(m){$e(i,i.return,m)}else{var c=Cn(i.type,a.memoizedProps);a=a.memoizedState;try{t.componentDidUpdate(c,a,t.__reactInternalSnapshotBeforeUpdate)}catch(m){$e(i,i.return,m)}}s&64&&NE(i),s&512&&Cr(i,i.return);break;case 3:if(ha(t,i),s&64&&(t=i.updateQueue,t!==null)){if(a=null,i.child!==null)switch(i.child.tag){case 27:case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}try{pm(t,a)}catch(m){$e(i,i.return,m)}}break;case 27:a===null&&s&4&&xE(i);case 26:case 5:ha(t,i),a===null&&s&4&&OE(i),s&512&&Cr(i,i.return);break;case 12:ha(t,i);break;case 31:ha(t,i),s&4&&wE(t,i);break;case 13:ha(t,i),s&4&&UE(t,i),s&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=C_.bind(null,i),Y_(t,i))));break;case 22:if(s=i.memoizedState!==null||fa,!s){a=a!==null&&a.memoizedState!==null||_t,c=fa;var o=_t;fa=s,(_t=a)&&!o?ma(t,i,(i.subtreeFlags&8772)!==0):ha(t,i),fa=c,_t=o}break;case 30:break;default:ha(t,i)}}function ME(t){var a=t.alternate;a!==null&&(t.alternate=null,ME(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&xo(a)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var lt=null,Zt=!1;function da(t,a,i){for(i=i.child;i!==null;)IE(t,a,i),i=i.sibling}function IE(t,a,i){if(cu&&typeof cu.onCommitFiberUnmount=="function")try{cu.onCommitFiberUnmount(Xi,i)}catch{}switch(i.tag){case 26:_t||Qu(i,a),da(t,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:_t||Qu(i,a);var s=lt,c=Zt;Qa(i.type)&&(lt=i.stateNode,Zt=!1),da(t,a,i),Br(i.stateNode),lt=s,Zt=c;break;case 5:_t||Qu(i,a);case 6:if(s=lt,c=Zt,lt=null,da(t,a,i),lt=s,Zt=c,lt!==null)if(Zt)try{(lt.nodeType===9?lt.body:lt.nodeName==="HTML"?lt.ownerDocument.body:lt).removeChild(i.stateNode)}catch(o){$e(i,a,o)}else try{lt.removeChild(i.stateNode)}catch(o){$e(i,a,o)}break;case 18:lt!==null&&(Zt?(t=lt,ND(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),vi(t)):ND(lt,i.stateNode));break;case 4:s=lt,c=Zt,lt=i.stateNode.containerInfo,Zt=!0,da(t,a,i),lt=s,Zt=c;break;case 0:case 11:case 14:case 15:ka(2,i,a),_t||ka(4,i,a),da(t,a,i);break;case 1:_t||(Qu(i,a),s=i.stateNode,typeof s.componentWillUnmount=="function"&&RE(i,a,s)),da(t,a,i);break;case 21:da(t,a,i);break;case 22:_t=(s=_t)||i.memoizedState!==null,da(t,a,i),_t=s;break;default:da(t,a,i)}}function wE(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{vi(t)}catch(i){$e(a,a.return,i)}}}function UE(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{vi(t)}catch(i){$e(a,a.return,i)}}function D_(t){switch(t.tag){case 31:case 13:case 19:var a=t.stateNode;return a===null&&(a=t.stateNode=new LE),a;case 22:return t=t.stateNode,a=t._retryCache,a===null&&(a=t._retryCache=new LE),a;default:throw Error(r(435,t.tag))}}function Yl(t,a){var i=D_(t);a.forEach(function(s){if(!i.has(s)){i.add(s);var c=y_.bind(null,t,s);s.then(c,c)}})}function $t(t,a){var i=a.deletions;if(i!==null)for(var s=0;s<i.length;s++){var c=i[s],o=t,m=a,g=m;e:for(;g!==null;){switch(g.tag){case 27:if(Qa(g.type)){lt=g.stateNode,Zt=!1;break e}break;case 5:lt=g.stateNode,Zt=!1;break e;case 3:case 4:lt=g.stateNode.containerInfo,Zt=!0;break e}g=g.return}if(lt===null)throw Error(r(160));IE(o,m,c),lt=null,Zt=!1,o=c.alternate,o!==null&&(o.return=null),c.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)PE(a,t),a=a.sibling}var Pu=null;function PE(t,a){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:$t(a,t),Wt(t),s&4&&(ka(3,t,t.return),vr(3,t),ka(5,t,t.return));break;case 1:$t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),s&64&&fa&&(t=t.updateQueue,t!==null&&(s=t.callbacks,s!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var c=Pu;if($t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),s&4){var o=i!==null?i.memoizedState:null;if(s=t.memoizedState,i===null)if(s===null)if(t.stateNode===null){e:{s=t.type,i=t.memoizedProps,c=c.ownerDocument||c;t:switch(s){case"title":o=c.getElementsByTagName("title")[0],(!o||o[$i]||o[Bt]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=c.createElement(s),c.head.insertBefore(o,c.querySelector("head > title"))),Ut(o,s,i),o[Bt]=t,Nt(o),s=o;break e;case"link":var m=PD("link","href",c).get(s+(i.href||""));if(m){for(var g=0;g<m.length;g++)if(o=m[g],o.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&o.getAttribute("rel")===(i.rel==null?null:i.rel)&&o.getAttribute("title")===(i.title==null?null:i.title)&&o.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){m.splice(g,1);break t}}o=c.createElement(s),Ut(o,s,i),c.head.appendChild(o);break;case"meta":if(m=PD("meta","content",c).get(s+(i.content||""))){for(g=0;g<m.length;g++)if(o=m[g],o.getAttribute("content")===(i.content==null?null:""+i.content)&&o.getAttribute("name")===(i.name==null?null:i.name)&&o.getAttribute("property")===(i.property==null?null:i.property)&&o.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&o.getAttribute("charset")===(i.charSet==null?null:i.charSet)){m.splice(g,1);break t}}o=c.createElement(s),Ut(o,s,i),c.head.appendChild(o);break;default:throw Error(r(468,s))}o[Bt]=t,Nt(o),s=o}t.stateNode=s}else HD(c,t.type,t.stateNode);else t.stateNode=UD(c,s,t.memoizedProps);else o!==s?(o===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):o.count--,s===null?HD(c,t.type,t.stateNode):UD(c,s,t.memoizedProps)):s===null&&t.stateNode!==null&&Jf(t,t.memoizedProps,i.memoizedProps)}break;case 27:$t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),i!==null&&s&4&&Jf(t,t.memoizedProps,i.memoizedProps);break;case 5:if($t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),t.flags&32){c=t.stateNode;try{Vn(c,"")}catch(se){$e(t,t.return,se)}}s&4&&t.stateNode!=null&&(c=t.memoizedProps,Jf(t,c,i!==null?i.memoizedProps:c)),s&1024&&(u0=!0);break;case 6:if($t(a,t),Wt(t),s&4){if(t.stateNode===null)throw Error(r(162));s=t.memoizedProps,i=t.stateNode;try{i.nodeValue=s}catch(se){$e(t,t.return,se)}}break;case 3:if(rc=null,c=Pu,Pu=nc(a.containerInfo),$t(a,t),Pu=c,Wt(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{vi(a.containerInfo)}catch(se){$e(t,t.return,se)}u0&&(u0=!1,HE(t));break;case 4:s=Pu,Pu=nc(t.stateNode.containerInfo),$t(a,t),Wt(t),Pu=s;break;case 12:$t(a,t),Wt(t);break;case 31:$t(a,t),Wt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Yl(t,s)));break;case 13:$t(a,t),Wt(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Vl=Pt()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Yl(t,s)));break;case 22:c=t.memoizedState!==null;var R=i!==null&&i.memoizedState!==null,w=fa,V=_t;if(fa=w||c,_t=V||R,$t(a,t),_t=V,fa=w,Wt(t),s&8192)e:for(a=t.stateNode,a._visibility=c?a._visibility&-2:a._visibility|1,c&&(i===null||R||fa||_t||yn(t)),i=null,a=t;;){if(a.tag===5||a.tag===26){if(i===null){R=i=a;try{if(o=R.stateNode,c)m=o.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{g=R.stateNode;var X=R.memoizedProps.style,U=X!=null&&X.hasOwnProperty("display")?X.display:null;g.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(se){$e(R,R.return,se)}}}else if(a.tag===6){if(i===null){R=a;try{R.stateNode.nodeValue=c?"":R.memoizedProps}catch(se){$e(R,R.return,se)}}}else if(a.tag===18){if(i===null){R=a;try{var k=R.stateNode;c?RD(k,!0):RD(R.stateNode,!1)}catch(se){$e(R,R.return,se)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===t)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}s&4&&(s=t.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Yl(t,i))));break;case 19:$t(a,t),Wt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Yl(t,s)));break;case 30:break;case 21:break;default:$t(a,t),Wt(t)}}function Wt(t){var a=t.flags;if(a&2){try{for(var i,s=t.return;s!==null;){if(FE(s)){i=s;break}s=s.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var c=i.stateNode,o=e0(t);ql(t,o,c);break;case 5:var m=i.stateNode;i.flags&32&&(Vn(m,""),i.flags&=-33);var g=e0(t);ql(t,g,m);break;case 3:case 4:var R=i.stateNode.containerInfo,w=e0(t);t0(t,w,R);break;default:throw Error(r(161))}}catch(V){$e(t,t.return,V)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function HE(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var a=t;HE(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),t=t.sibling}}function ha(t,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)BE(t,a.alternate,a),a=a.sibling}function yn(t){for(t=t.child;t!==null;){var a=t;switch(a.tag){case 0:case 11:case 14:case 15:ka(4,a,a.return),yn(a);break;case 1:Qu(a,a.return);var i=a.stateNode;typeof i.componentWillUnmount=="function"&&RE(a,a.return,i),yn(a);break;case 27:Br(a.stateNode);case 26:case 5:Qu(a,a.return),yn(a);break;case 22:a.memoizedState===null&&yn(a);break;case 30:yn(a);break;default:yn(a)}t=t.sibling}}function ma(t,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var s=a.alternate,c=t,o=a,m=o.flags;switch(o.tag){case 0:case 11:case 15:ma(c,o,i),vr(4,o);break;case 1:if(ma(c,o,i),s=o,c=s.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(w){$e(s,s.return,w)}if(s=o,c=s.updateQueue,c!==null){var g=s.stateNode;try{var R=c.shared.hiddenCallbacks;if(R!==null)for(c.shared.hiddenCallbacks=null,c=0;c<R.length;c++)Dm(R[c],g)}catch(w){$e(s,s.return,w)}}i&&m&64&&NE(o),Cr(o,o.return);break;case 27:xE(o);case 26:case 5:ma(c,o,i),i&&s===null&&m&4&&OE(o),Cr(o,o.return);break;case 12:ma(c,o,i);break;case 31:ma(c,o,i),i&&m&4&&wE(c,o);break;case 13:ma(c,o,i),i&&m&4&&UE(c,o);break;case 22:o.memoizedState===null&&ma(c,o,i),Cr(o,o.return);break;case 30:break;default:ma(c,o,i)}a=a.sibling}}function a0(t,a){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(t=a.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&or(i))}function n0(t,a){t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&or(t))}function Hu(t,a,i,s){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)kE(t,a,i,s),a=a.sibling}function kE(t,a,i,s){var c=a.flags;switch(a.tag){case 0:case 11:case 15:Hu(t,a,i,s),c&2048&&vr(9,a);break;case 1:Hu(t,a,i,s);break;case 3:Hu(t,a,i,s),c&2048&&(t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&or(t)));break;case 12:if(c&2048){Hu(t,a,i,s),t=a.stateNode;try{var o=a.memoizedProps,m=o.id,g=o.onPostCommit;typeof g=="function"&&g(m,a.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){$e(a,a.return,R)}}else Hu(t,a,i,s);break;case 31:Hu(t,a,i,s);break;case 13:Hu(t,a,i,s);break;case 23:break;case 22:o=a.stateNode,m=a.alternate,a.memoizedState!==null?o._visibility&2?Hu(t,a,i,s):yr(t,a):o._visibility&2?Hu(t,a,i,s):(o._visibility|=2,di(t,a,i,s,(a.subtreeFlags&10256)!==0||!1)),c&2048&&a0(m,a);break;case 24:Hu(t,a,i,s),c&2048&&n0(a.alternate,a);break;default:Hu(t,a,i,s)}}function di(t,a,i,s,c){for(c=c&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var o=t,m=a,g=i,R=s,w=m.flags;switch(m.tag){case 0:case 11:case 15:di(o,m,g,R,c),vr(8,m);break;case 23:break;case 22:var V=m.stateNode;m.memoizedState!==null?V._visibility&2?di(o,m,g,R,c):yr(o,m):(V._visibility|=2,di(o,m,g,R,c)),c&&w&2048&&a0(m.alternate,m);break;case 24:di(o,m,g,R,c),c&&w&2048&&n0(m.alternate,m);break;default:di(o,m,g,R,c)}a=a.sibling}}function yr(t,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var i=t,s=a,c=s.flags;switch(s.tag){case 22:yr(i,s),c&2048&&a0(s.alternate,s);break;case 24:yr(i,s),c&2048&&n0(s.alternate,s);break;default:yr(i,s)}a=a.sibling}}var Sr=8192;function hi(t,a,i){if(t.subtreeFlags&Sr)for(t=t.child;t!==null;)jE(t,a,i),t=t.sibling}function jE(t,a,i){switch(t.tag){case 26:hi(t,a,i),t.flags&Sr&&t.memoizedState!==null&&uA(i,Pu,t.memoizedState,t.memoizedProps);break;case 5:hi(t,a,i);break;case 3:case 4:var s=Pu;Pu=nc(t.stateNode.containerInfo),hi(t,a,i),Pu=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=Sr,Sr=16777216,hi(t,a,i),Sr=s):hi(t,a,i));break;default:hi(t,a,i)}}function zE(t){var a=t.alternate;if(a!==null&&(t=a.child,t!==null)){a.child=null;do a=t.sibling,t.sibling=null,t=a;while(t!==null)}}function Nr(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var s=a[i];Rt=s,YE(s,t)}zE(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qE(t),t=t.sibling}function qE(t){switch(t.tag){case 0:case 11:case 15:Nr(t),t.flags&2048&&ka(9,t,t.return);break;case 3:Nr(t);break;case 12:Nr(t);break;case 22:var a=t.stateNode;t.memoizedState!==null&&a._visibility&2&&(t.return===null||t.return.tag!==13)?(a._visibility&=-3,Gl(t)):Nr(t);break;default:Nr(t)}}function Gl(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var s=a[i];Rt=s,YE(s,t)}zE(t)}for(t=t.child;t!==null;){switch(a=t,a.tag){case 0:case 11:case 15:ka(8,a,a.return),Gl(a);break;case 22:i=a.stateNode,i._visibility&2&&(i._visibility&=-3,Gl(a));break;default:Gl(a)}t=t.sibling}}function YE(t,a){for(;Rt!==null;){var i=Rt;switch(i.tag){case 0:case 11:case 15:ka(8,i,a);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:or(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Rt=s;else e:for(i=t;Rt!==null;){s=Rt;var c=s.sibling,o=s.return;if(ME(s),s===i){Rt=null;break e}if(c!==null){c.return=o,Rt=c;break e}Rt=o}}}var p_={getCacheForType:function(t){var a=It(gt),i=a.data.get(t);return i===void 0&&(i=t(),a.data.set(t,i)),i},cacheSignal:function(){return It(gt).controller.signal}},g_=typeof WeakMap=="function"?WeakMap:Map,Qe=0,ut=null,Le=null,Ie=0,Ze=0,Eu=null,ja=!1,mi=!1,i0=!1,Ea=0,mt=0,za=0,Sn=0,r0=0,Du=0,Ei=0,Rr=null,Jt=null,s0=!1,Vl=0,GE=0,Ql=1/0,Xl=null,qa=null,yt=0,Ya=null,Di=null,Da=0,l0=0,c0=null,VE=null,Or=0,o0=null;function pu(){return(Qe&2)!==0&&Ie!==0?Ie&-Ie:Y.T!==null?D0():l1()}function QE(){if(Du===0)if((Ie&536870912)===0||Ue){var t=ul;ul<<=1,(ul&3932160)===0&&(ul=262144),Du=t}else Du=536870912;return t=hu.current,t!==null&&(t.flags|=32),Du}function eu(t,a,i){(t===ut&&(Ze===2||Ze===9)||t.cancelPendingCommit!==null)&&(pi(t,0),Ga(t,Ie,Du,!1)),Zi(t,i),((Qe&2)===0||t!==ut)&&(t===ut&&((Qe&2)===0&&(Sn|=i),mt===4&&Ga(t,Ie,Du,!1)),Xu(t))}function XE(t,a,i){if((Qe&6)!==0)throw Error(r(327));var s=!i&&(a&127)===0&&(a&t.expiredLanes)===0||Ki(t,a),c=s?__(t,a):d0(t,a,!0),o=s;do{if(c===0){mi&&!s&&Ga(t,a,0,!1);break}else{if(i=t.current.alternate,o&&!b_(i)){c=d0(t,a,!1),o=!1;continue}if(c===2){if(o=a,t.errorRecoveryDisabledLanes&o)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){a=m;e:{var g=t;c=Rr;var R=g.current.memoizedState.isDehydrated;if(R&&(pi(g,m).flags|=256),m=d0(g,m,!1),m!==2){if(i0&&!R){g.errorRecoveryDisabledLanes|=o,Sn|=o,c=4;break e}o=Jt,Jt=c,o!==null&&(Jt===null?Jt=o:Jt.push.apply(Jt,o))}c=m}if(o=!1,c!==2)continue}}if(c===1){pi(t,0),Ga(t,a,0,!0);break}e:{switch(s=t,o=c,o){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:Ga(s,a,Du,!ja);break e;case 2:Jt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(c=Vl+300-Pt(),10<c)){if(Ga(s,a,Du,!ja),nl(s,0,!0)!==0)break e;Da=a,s.timeoutHandle=yD(KE.bind(null,s,i,Jt,Xl,s0,a,Du,Sn,Ei,ja,o,"Throttled",-0,0),c);break e}KE(s,i,Jt,Xl,s0,a,Du,Sn,Ei,ja,o,null,-0,0)}}break}while(!0);Xu(t)}function KE(t,a,i,s,c,o,m,g,R,w,V,X,U,k){if(t.timeoutHandle=-1,X=a.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ta},jE(a,o,X);var se=(o&62914560)===o?Vl-Pt():(o&4194048)===o?GE-Pt():0;if(se=aA(X,se),se!==null){Da=o,t.cancelPendingCommit=se(aD.bind(null,t,a,o,i,s,c,m,g,R,V,X,null,U,k)),Ga(t,o,m,!w);return}}aD(t,a,o,i,s,c,m,g,R)}function b_(t){for(var a=t;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var c=i[s],o=c.getSnapshot;c=c.value;try{if(!fu(o(),c))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ga(t,a,i,s){a&=~r0,a&=~Sn,t.suspendedLanes|=a,t.pingedLanes&=~a,s&&(t.warmLanes|=a),s=t.expirationTimes;for(var c=a;0<c;){var o=31-ou(c),m=1<<o;s[o]=-1,c&=~m}i!==0&&i1(t,i,a)}function Kl(){return(Qe&6)===0?(Fr(0),!1):!0}function f0(){if(Le!==null){if(Ze===0)var t=Le.return;else t=Le,ia=pn=null,Nf(t),si=null,dr=0,t=Le;for(;t!==null;)SE(t.alternate,t),t=t.return;Le=null}}function pi(t,a){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,H_(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),Da=0,f0(),ut=t,Le=i=aa(t.current,null),Ie=a,Ze=0,Eu=null,ja=!1,mi=Ki(t,a),i0=!1,Ei=Du=r0=Sn=za=mt=0,Jt=Rr=null,s0=!1,(a&8)!==0&&(a|=a&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=a;0<s;){var c=31-ou(s),o=1<<c;a|=t[c],s&=~o}return Ea=a,Dl(),i}function ZE(t,a){ve=null,Y.H=Tr,a===ri||a===Cl?(a=dm(),Ze=3):a===Ef?(a=dm(),Ze=4):Ze=a===qf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Eu=a,Le===null&&(mt=1,Pl(t,Su(a,t.current)))}function $E(){var t=hu.current;return t===null?!0:(Ie&4194048)===Ie?Fu===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?t===Fu:!1}function WE(){var t=Y.H;return Y.H=Tr,t===null?Tr:t}function JE(){var t=Y.A;return Y.A=p_,t}function Zl(){mt=4,ja||(Ie&4194048)!==Ie&&hu.current!==null||(mi=!0),(za&134217727)===0&&(Sn&134217727)===0||ut===null||Ga(ut,Ie,Du,!1)}function d0(t,a,i){var s=Qe;Qe|=2;var c=WE(),o=JE();(ut!==t||Ie!==a)&&(Xl=null,pi(t,a)),a=!1;var m=mt;e:do try{if(Ze!==0&&Le!==null){var g=Le,R=Eu;switch(Ze){case 8:f0(),m=6;break e;case 3:case 2:case 9:case 6:hu.current===null&&(a=!0);var w=Ze;if(Ze=0,Eu=null,gi(t,g,R,w),i&&mi){m=0;break e}break;default:w=Ze,Ze=0,Eu=null,gi(t,g,R,w)}}T_(),m=mt;break}catch(V){ZE(t,V)}while(!0);return a&&t.shellSuspendCounter++,ia=pn=null,Qe=s,Y.H=c,Y.A=o,Le===null&&(ut=null,Ie=0,Dl()),m}function T_(){for(;Le!==null;)eD(Le)}function __(t,a){var i=Qe;Qe|=2;var s=WE(),c=JE();ut!==t||Ie!==a?(Xl=null,Ql=Pt()+500,pi(t,a)):mi=Ki(t,a);e:do try{if(Ze!==0&&Le!==null){a=Le;var o=Eu;t:switch(Ze){case 1:Ze=0,Eu=null,gi(t,a,o,1);break;case 2:case 9:if(om(o)){Ze=0,Eu=null,tD(a);break}a=function(){Ze!==2&&Ze!==9||ut!==t||(Ze=7),Xu(t)},o.then(a,a);break e;case 3:Ze=7;break e;case 4:Ze=5;break e;case 7:om(o)?(Ze=0,Eu=null,tD(a)):(Ze=0,Eu=null,gi(t,a,o,7));break;case 5:var m=null;switch(Le.tag){case 26:m=Le.memoizedState;case 5:case 27:var g=Le;if(m?kD(m):g.stateNode.complete){Ze=0,Eu=null;var R=g.sibling;if(R!==null)Le=R;else{var w=g.return;w!==null?(Le=w,$l(w)):Le=null}break t}}Ze=0,Eu=null,gi(t,a,o,5);break;case 6:Ze=0,Eu=null,gi(t,a,o,6);break;case 8:f0(),mt=6;break e;default:throw Error(r(462))}}A_();break}catch(V){ZE(t,V)}while(!0);return ia=pn=null,Y.H=s,Y.A=c,Qe=i,Le!==null?0:(ut=null,Ie=0,Dl(),mt)}function A_(){for(;Le!==null&&!Js();)eD(Le)}function eD(t){var a=CE(t.alternate,t,Ea);t.memoizedProps=t.pendingProps,a===null?$l(t):Le=a}function tD(t){var a=t,i=a.alternate;switch(a.tag){case 15:case 0:a=gE(i,a,a.pendingProps,a.type,void 0,Ie);break;case 11:a=gE(i,a,a.pendingProps,a.type.render,a.ref,Ie);break;case 5:Nf(a);default:SE(i,a),a=Le=J1(a,Ea),a=CE(i,a,Ea)}t.memoizedProps=t.pendingProps,a===null?$l(t):Le=a}function gi(t,a,i,s){ia=pn=null,Nf(a),si=null,dr=0;var c=a.return;try{if(o_(t,c,a,i,Ie)){mt=1,Pl(t,Su(i,t.current)),Le=null;return}}catch(o){if(c!==null)throw Le=c,o;mt=1,Pl(t,Su(i,t.current)),Le=null;return}a.flags&32768?(Ue||s===1?t=!0:mi||(Ie&536870912)!==0?t=!1:(ja=t=!0,(s===2||s===9||s===3||s===6)&&(s=hu.current,s!==null&&s.tag===13&&(s.flags|=16384))),uD(a,t)):$l(a)}function $l(t){var a=t;do{if((a.flags&32768)!==0){uD(a,ja);return}t=a.return;var i=h_(a.alternate,a,Ea);if(i!==null){Le=i;return}if(a=a.sibling,a!==null){Le=a;return}Le=a=t}while(a!==null);mt===0&&(mt=5)}function uD(t,a){do{var i=m_(t.alternate,t);if(i!==null){i.flags&=32767,Le=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(t=t.sibling,t!==null)){Le=t;return}Le=t=i}while(t!==null);mt=6,Le=null}function aD(t,a,i,s,c,o,m,g,R){t.cancelPendingCommit=null;do Wl();while(yt!==0);if((Qe&6)!==0)throw Error(r(327));if(a!==null){if(a===t.current)throw Error(r(177));if(o=a.lanes|a.childLanes,o|=Jo,tT(t,i,o,m,g,R),t===ut&&(Le=ut=null,Ie=0),Di=a,Ya=t,Da=i,l0=o,c0=c,VE=s,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,S_(Hn,function(){return lD(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||s){s=Y.T,Y.T=null,c=ne.p,ne.p=2,m=Qe,Qe|=4;try{E_(t,a,i)}finally{Qe=m,ne.p=c,Y.T=s}}yt=1,nD(),iD(),rD()}}function nD(){if(yt===1){yt=0;var t=Ya,a=Di,i=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||i){i=Y.T,Y.T=null;var s=ne.p;ne.p=2;var c=Qe;Qe|=4;try{PE(a,t);var o=C0,m=Y1(t.containerInfo),g=o.focusedElem,R=o.selectionRange;if(m!==g&&g&&g.ownerDocument&&q1(g.ownerDocument.documentElement,g)){if(R!==null&&Xo(g)){var w=R.start,V=R.end;if(V===void 0&&(V=w),"selectionStart"in g)g.selectionStart=w,g.selectionEnd=Math.min(V,g.value.length);else{var X=g.ownerDocument||document,U=X&&X.defaultView||window;if(U.getSelection){var k=U.getSelection(),se=g.textContent.length,Ee=Math.min(R.start,se),et=R.end===void 0?Ee:Math.min(R.end,se);!k.extend&&Ee>et&&(m=et,et=Ee,Ee=m);var L=z1(g,Ee),F=z1(g,et);if(L&&F&&(k.rangeCount!==1||k.anchorNode!==L.node||k.anchorOffset!==L.offset||k.focusNode!==F.node||k.focusOffset!==F.offset)){var I=X.createRange();I.setStart(L.node,L.offset),k.removeAllRanges(),Ee>et?(k.addRange(I),k.extend(F.node,F.offset)):(I.setEnd(F.node,F.offset),k.addRange(I))}}}}for(X=[],k=g;k=k.parentNode;)k.nodeType===1&&X.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<X.length;g++){var Q=X[g];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}oc=!!v0,C0=v0=null}finally{Qe=c,ne.p=s,Y.T=i}}t.current=a,yt=2}}function iD(){if(yt===2){yt=0;var t=Ya,a=Di,i=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||i){i=Y.T,Y.T=null;var s=ne.p;ne.p=2;var c=Qe;Qe|=4;try{BE(t,a.alternate,a)}finally{Qe=c,ne.p=s,Y.T=i}}yt=3}}function rD(){if(yt===4||yt===3){yt=0,el();var t=Ya,a=Di,i=Da,s=VE;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?yt=5:(yt=0,Di=Ya=null,sD(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&(qa=null),Oo(i),a=a.stateNode,cu&&typeof cu.onCommitFiberRoot=="function")try{cu.onCommitFiberRoot(Xi,a,void 0,(a.current.flags&128)===128)}catch{}if(s!==null){a=Y.T,c=ne.p,ne.p=2,Y.T=null;try{for(var o=t.onRecoverableError,m=0;m<s.length;m++){var g=s[m];o(g.value,{componentStack:g.stack})}}finally{Y.T=a,ne.p=c}}(Da&3)!==0&&Wl(),Xu(t),c=t.pendingLanes,(i&261930)!==0&&(c&42)!==0?t===o0?Or++:(Or=0,o0=t):Or=0,Fr(0)}}function sD(t,a){(t.pooledCacheLanes&=a)===0&&(a=t.pooledCache,a!=null&&(t.pooledCache=null,or(a)))}function Wl(){return nD(),iD(),rD(),lD()}function lD(){if(yt!==5)return!1;var t=Ya,a=l0;l0=0;var i=Oo(Da),s=Y.T,c=ne.p;try{ne.p=32>i?32:i,Y.T=null,i=c0,c0=null;var o=Ya,m=Da;if(yt=0,Di=Ya=null,Da=0,(Qe&6)!==0)throw Error(r(331));var g=Qe;if(Qe|=4,qE(o.current),kE(o,o.current,m,i),Qe=g,Fr(0,!1),cu&&typeof cu.onPostCommitFiberRoot=="function")try{cu.onPostCommitFiberRoot(Xi,o)}catch{}return!0}finally{ne.p=c,Y.T=s,sD(t,a)}}function cD(t,a,i){a=Su(i,a),a=zf(t.stateNode,a,2),t=Ua(t,a,2),t!==null&&(Zi(t,2),Xu(t))}function $e(t,a,i){if(t.tag===3)cD(t,t,i);else for(;a!==null;){if(a.tag===3){cD(a,t,i);break}else if(a.tag===1){var s=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(qa===null||!qa.has(s))){t=Su(i,t),i=oE(2),s=Ua(a,i,2),s!==null&&(fE(i,s,a,t),Zi(s,2),Xu(s));break}}a=a.return}}function h0(t,a,i){var s=t.pingCache;if(s===null){s=t.pingCache=new g_;var c=new Set;s.set(a,c)}else c=s.get(a),c===void 0&&(c=new Set,s.set(a,c));c.has(i)||(i0=!0,c.add(i),t=v_.bind(null,t,a,i),a.then(t,t))}function v_(t,a,i){var s=t.pingCache;s!==null&&s.delete(a),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,ut===t&&(Ie&i)===i&&(mt===4||mt===3&&(Ie&62914560)===Ie&&300>Pt()-Vl?(Qe&2)===0&&pi(t,0):r0|=i,Ei===Ie&&(Ei=0)),Xu(t)}function oD(t,a){a===0&&(a=n1()),t=mn(t,a),t!==null&&(Zi(t,a),Xu(t))}function C_(t){var a=t.memoizedState,i=0;a!==null&&(i=a.retryLane),oD(t,i)}function y_(t,a){var i=0;switch(t.tag){case 31:case 13:var s=t.stateNode,c=t.memoizedState;c!==null&&(i=c.retryLane);break;case 19:s=t.stateNode;break;case 22:s=t.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(a),oD(t,i)}function S_(t,a){return Ct(t,a)}var Jl=null,bi=null,m0=!1,ec=!1,E0=!1,Va=0;function Xu(t){t!==bi&&t.next===null&&(bi===null?Jl=bi=t:bi=bi.next=t),ec=!0,m0||(m0=!0,R_())}function Fr(t,a){if(!E0&&ec){E0=!0;do for(var i=!1,s=Jl;s!==null;){if(t!==0){var c=s.pendingLanes;if(c===0)var o=0;else{var m=s.suspendedLanes,g=s.pingedLanes;o=(1<<31-ou(42|t)+1)-1,o&=c&~(m&~g),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(i=!0,mD(s,o))}else o=Ie,o=nl(s,s===ut?o:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(o&3)===0||Ki(s,o)||(i=!0,mD(s,o));s=s.next}while(i);E0=!1}}function N_(){fD()}function fD(){ec=m0=!1;var t=0;Va!==0&&P_()&&(t=Va);for(var a=Pt(),i=null,s=Jl;s!==null;){var c=s.next,o=dD(s,a);o===0?(s.next=null,i===null?Jl=c:i.next=c,c===null&&(bi=i)):(i=s,(t!==0||(o&3)!==0)&&(ec=!0)),s=c}yt!==0&&yt!==5||Fr(t),Va!==0&&(Va=0)}function dD(t,a){for(var i=t.suspendedLanes,s=t.pingedLanes,c=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var m=31-ou(o),g=1<<m,R=c[m];R===-1?((g&i)===0||(g&s)!==0)&&(c[m]=eT(g,a)):R<=a&&(t.expiredLanes|=g),o&=~g}if(a=ut,i=Ie,i=nl(t,t===a?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,i===0||t===a&&(Ze===2||Ze===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&lu(s),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||Ki(t,i)){if(a=i&-i,a===t.callbackPriority)return a;switch(s!==null&&lu(s),Oo(i)){case 2:case 8:i=Pn;break;case 32:i=Hn;break;case 268435456:i=a1;break;default:i=Hn}return s=hD.bind(null,t),i=Ct(i,s),t.callbackPriority=a,t.callbackNode=i,a}return s!==null&&s!==null&&lu(s),t.callbackPriority=2,t.callbackNode=null,2}function hD(t,a){if(yt!==0&&yt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(Wl()&&t.callbackNode!==i)return null;var s=Ie;return s=nl(t,t===ut?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(XE(t,s,a),dD(t,Pt()),t.callbackNode!=null&&t.callbackNode===i?hD.bind(null,t):null)}function mD(t,a){if(Wl())return null;XE(t,a,!0)}function R_(){k_(function(){(Qe&6)!==0?Ct(Au,N_):fD()})}function D0(){if(Va===0){var t=ni;t===0&&(t=tl,tl<<=1,(tl&261888)===0&&(tl=256)),Va=t}return Va}function ED(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ll(""+t)}function DD(t,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,t.id&&i.setAttribute("form",t.id),a.parentNode.insertBefore(i,a),t=new FormData(t),i.parentNode.removeChild(i),t}function O_(t,a,i,s,c){if(a==="submit"&&i&&i.stateNode===c){var o=ED((c[Xt]||null).action),m=s.submitter;m&&(a=(a=m[Xt]||null)?ED(a.formAction):m.getAttribute("formAction"),a!==null&&(o=a,m=null));var g=new dl("action","action",null,s,c);t.push({event:g,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Va!==0){var R=m?DD(c,m):new FormData(c);wf(i,{pending:!0,data:R,method:c.method,action:o},null,R)}}else typeof o=="function"&&(g.preventDefault(),R=m?DD(c,m):new FormData(c),wf(i,{pending:!0,data:R,method:c.method,action:o},o,R))},currentTarget:c}]})}}for(var p0=0;p0<Wo.length;p0++){var g0=Wo[p0],F_=g0.toLowerCase(),x_=g0[0].toUpperCase()+g0.slice(1);Uu(F_,"on"+x_)}Uu(Q1,"onAnimationEnd"),Uu(X1,"onAnimationIteration"),Uu(K1,"onAnimationStart"),Uu("dblclick","onDoubleClick"),Uu("focusin","onFocus"),Uu("focusout","onBlur"),Uu(QT,"onTransitionRun"),Uu(XT,"onTransitionStart"),Uu(KT,"onTransitionCancel"),Uu(Z1,"onTransitionEnd"),Yn("onMouseEnter",["mouseout","mouseover"]),Yn("onMouseLeave",["mouseout","mouseover"]),Yn("onPointerEnter",["pointerout","pointerover"]),Yn("onPointerLeave",["pointerout","pointerover"]),on("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),on("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),on("onBeforeInput",["compositionend","keypress","textInput","paste"]),on("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),on("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),on("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),L_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xr));function pD(t,a){a=(a&4)!==0;for(var i=0;i<t.length;i++){var s=t[i],c=s.event;s=s.listeners;e:{var o=void 0;if(a)for(var m=s.length-1;0<=m;m--){var g=s[m],R=g.instance,w=g.currentTarget;if(g=g.listener,R!==o&&c.isPropagationStopped())break e;o=g,c.currentTarget=w;try{o(c)}catch(V){El(V)}c.currentTarget=null,o=R}else for(m=0;m<s.length;m++){if(g=s[m],R=g.instance,w=g.currentTarget,g=g.listener,R!==o&&c.isPropagationStopped())break e;o=g,c.currentTarget=w;try{o(c)}catch(V){El(V)}c.currentTarget=null,o=R}}}}function Be(t,a){var i=a[Fo];i===void 0&&(i=a[Fo]=new Set);var s=t+"__bubble";i.has(s)||(gD(a,t,2,!1),i.add(s))}function b0(t,a,i){var s=0;a&&(s|=4),gD(i,t,s,a)}var tc="_reactListening"+Math.random().toString(36).slice(2);function T0(t){if(!t[tc]){t[tc]=!0,f1.forEach(function(i){i!=="selectionchange"&&(L_.has(i)||b0(i,!1,t),b0(i,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[tc]||(a[tc]=!0,b0("selectionchange",!1,a))}}function gD(t,a,i,s){switch(QD(a)){case 2:var c=rA;break;case 8:c=sA;break;default:c=I0}i=c.bind(null,a,i,t),c=void 0,!Ho||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(c=!0),s?c!==void 0?t.addEventListener(a,i,{capture:!0,passive:c}):t.addEventListener(a,i,!0):c!==void 0?t.addEventListener(a,i,{passive:c}):t.addEventListener(a,i,!1)}function _0(t,a,i,s,c){var o=s;if((a&1)===0&&(a&2)===0&&s!==null)e:for(;;){if(s===null)return;var m=s.tag;if(m===3||m===4){var g=s.stateNode.containerInfo;if(g===c)break;if(m===4)for(m=s.return;m!==null;){var R=m.tag;if((R===3||R===4)&&m.stateNode.containerInfo===c)return;m=m.return}for(;g!==null;){if(m=jn(g),m===null)return;if(R=m.tag,R===5||R===6||R===26||R===27){s=o=m;continue e}g=g.parentNode}}s=s.return}v1(function(){var w=o,V=Uo(i),X=[];e:{var U=$1.get(t);if(U!==void 0){var k=dl,se=t;switch(t){case"keypress":if(ol(i)===0)break e;case"keydown":case"keyup":k=yT;break;case"focusin":se="focus",k=qo;break;case"focusout":se="blur",k=qo;break;case"beforeblur":case"afterblur":k=qo;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=S1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=hT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=RT;break;case Q1:case X1:case K1:k=DT;break;case Z1:k=FT;break;case"scroll":case"scrollend":k=fT;break;case"wheel":k=LT;break;case"copy":case"cut":case"paste":k=gT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=R1;break;case"toggle":case"beforetoggle":k=MT}var Ee=(a&4)!==0,et=!Ee&&(t==="scroll"||t==="scrollend"),L=Ee?U!==null?U+"Capture":null:U;Ee=[];for(var F=w,I;F!==null;){var Q=F;if(I=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||I===null||L===null||(Q=Ji(F,L),Q!=null&&Ee.push(Lr(F,Q,I))),et)break;F=F.return}0<Ee.length&&(U=new k(U,se,null,i,V),X.push({event:U,listeners:Ee}))}}if((a&7)===0){e:{if(U=t==="mouseover"||t==="pointerover",k=t==="mouseout"||t==="pointerout",U&&i!==wo&&(se=i.relatedTarget||i.fromElement)&&(jn(se)||se[kn]))break e;if((k||U)&&(U=V.window===V?V:(U=V.ownerDocument)?U.defaultView||U.parentWindow:window,k?(se=i.relatedTarget||i.toElement,k=w,se=se?jn(se):null,se!==null&&(et=f(se),Ee=se.tag,se!==et||Ee!==5&&Ee!==27&&Ee!==6)&&(se=null)):(k=null,se=w),k!==se)){if(Ee=S1,Q="onMouseLeave",L="onMouseEnter",F="mouse",(t==="pointerout"||t==="pointerover")&&(Ee=R1,Q="onPointerLeave",L="onPointerEnter",F="pointer"),et=k==null?U:Wi(k),I=se==null?U:Wi(se),U=new Ee(Q,F+"leave",k,i,V),U.target=et,U.relatedTarget=I,Q=null,jn(V)===w&&(Ee=new Ee(L,F+"enter",se,i,V),Ee.target=I,Ee.relatedTarget=et,Q=Ee),et=Q,k&&se)t:{for(Ee=B_,L=k,F=se,I=0,Q=L;Q;Q=Ee(Q))I++;Q=0;for(var oe=F;oe;oe=Ee(oe))Q++;for(;0<I-Q;)L=Ee(L),I--;for(;0<Q-I;)F=Ee(F),Q--;for(;I--;){if(L===F||F!==null&&L===F.alternate){Ee=L;break t}L=Ee(L),F=Ee(F)}Ee=null}else Ee=null;k!==null&&bD(X,U,k,Ee,!1),se!==null&&et!==null&&bD(X,et,se,Ee,!0)}}e:{if(U=w?Wi(w):window,k=U.nodeName&&U.nodeName.toLowerCase(),k==="select"||k==="input"&&U.type==="file")var qe=w1;else if(M1(U))if(U1)qe=YT;else{qe=zT;var le=jT}else k=U.nodeName,!k||k.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?w&&Io(w.elementType)&&(qe=w1):qe=qT;if(qe&&(qe=qe(t,w))){I1(X,qe,i,V);break e}le&&le(t,U,w),t==="focusout"&&w&&U.type==="number"&&w.memoizedProps.value!=null&&Mo(U,"number",U.value)}switch(le=w?Wi(w):window,t){case"focusin":(M1(le)||le.contentEditable==="true")&&(Zn=le,Ko=w,sr=null);break;case"focusout":sr=Ko=Zn=null;break;case"mousedown":Zo=!0;break;case"contextmenu":case"mouseup":case"dragend":Zo=!1,G1(X,i,V);break;case"selectionchange":if(VT)break;case"keydown":case"keyup":G1(X,i,V)}var Ce;if(Go)e:{switch(t){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else Kn?L1(t,i)&&(we="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(we="onCompositionStart");we&&(O1&&i.locale!=="ko"&&(Kn||we!=="onCompositionStart"?we==="onCompositionEnd"&&Kn&&(Ce=C1()):(Fa=V,ko="value"in Fa?Fa.value:Fa.textContent,Kn=!0)),le=uc(w,we),0<le.length&&(we=new N1(we,t,null,i,V),X.push({event:we,listeners:le}),Ce?we.data=Ce:(Ce=B1(i),Ce!==null&&(we.data=Ce)))),(Ce=wT?UT(t,i):PT(t,i))&&(we=uc(w,"onBeforeInput"),0<we.length&&(le=new N1("onBeforeInput","beforeinput",null,i,V),X.push({event:le,listeners:we}),le.data=Ce)),O_(X,t,w,i,V)}pD(X,a)})}function Lr(t,a,i){return{instance:t,listener:a,currentTarget:i}}function uc(t,a){for(var i=a+"Capture",s=[];t!==null;){var c=t,o=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||o===null||(c=Ji(t,i),c!=null&&s.unshift(Lr(t,c,o)),c=Ji(t,a),c!=null&&s.push(Lr(t,c,o))),t.tag===3)return s;t=t.return}return[]}function B_(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function bD(t,a,i,s,c){for(var o=a._reactName,m=[];i!==null&&i!==s;){var g=i,R=g.alternate,w=g.stateNode;if(g=g.tag,R!==null&&R===s)break;g!==5&&g!==26&&g!==27||w===null||(R=w,c?(w=Ji(i,o),w!=null&&m.unshift(Lr(i,w,R))):c||(w=Ji(i,o),w!=null&&m.push(Lr(i,w,R)))),i=i.return}m.length!==0&&t.push({event:a,listeners:m})}var M_=/\r\n?/g,I_=/\u0000|\uFFFD/g;function TD(t){return(typeof t=="string"?t:""+t).replace(M_,`
|
|
9
|
-
`).replace(I_,"")}function _D(t,a){return a=TD(a),TD(t)===a}function Je(t,a,i,s,c,o){switch(i){case"children":typeof s=="string"?a==="body"||a==="textarea"&&s===""||Vn(t,s):(typeof s=="number"||typeof s=="bigint")&&a!=="body"&&Vn(t,""+s);break;case"className":rl(t,"class",s);break;case"tabIndex":rl(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":rl(t,i,s);break;case"style":_1(t,s,o);break;case"data":if(a!=="object"){rl(t,"data",s);break}case"src":case"href":if(s===""&&(a!=="a"||i!=="href")){t.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=ll(""+s),t.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="function"){t.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(i==="formAction"?(a!=="input"&&Je(t,a,"name",c.name,c,null),Je(t,a,"formEncType",c.formEncType,c,null),Je(t,a,"formMethod",c.formMethod,c,null),Je(t,a,"formTarget",c.formTarget,c,null)):(Je(t,a,"encType",c.encType,c,null),Je(t,a,"method",c.method,c,null),Je(t,a,"target",c.target,c,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=ll(""+s),t.setAttribute(i,s);break;case"onClick":s!=null&&(t.onclick=ta);break;case"onScroll":s!=null&&Be("scroll",t);break;case"onScrollEnd":s!=null&&Be("scrollend",t);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=i}}break;case"multiple":t.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":t.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){t.removeAttribute("xlink:href");break}i=ll(""+s),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,""+s):t.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":s===!0?t.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,s):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?t.setAttribute(i,s):t.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?t.removeAttribute(i):t.setAttribute(i,s);break;case"popover":Be("beforetoggle",t),Be("toggle",t),il(t,"popover",s);break;case"xlinkActuate":ea(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ea(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ea(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ea(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ea(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ea(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ea(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ea(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ea(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":il(t,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=cT.get(i)||i,il(t,i,s))}}function A0(t,a,i,s,c,o){switch(i){case"style":_1(t,s,o);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=i}}break;case"children":typeof s=="string"?Vn(t,s):(typeof s=="number"||typeof s=="bigint")&&Vn(t,""+s);break;case"onScroll":s!=null&&Be("scroll",t);break;case"onScrollEnd":s!=null&&Be("scrollend",t);break;case"onClick":s!=null&&(t.onclick=ta);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!d1.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),a=i.slice(2,c?i.length-7:void 0),o=t[Xt]||null,o=o!=null?o[i]:null,typeof o=="function"&&t.removeEventListener(a,o,c),typeof s=="function")){typeof o!="function"&&o!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(a,s,c);break e}i in t?t[i]=s:s===!0?t.setAttribute(i,""):il(t,i,s)}}}function Ut(t,a,i){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Be("error",t),Be("load",t);var s=!1,c=!1,o;for(o in i)if(i.hasOwnProperty(o)){var m=i[o];if(m!=null)switch(o){case"src":s=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Je(t,a,o,m,i,null)}}c&&Je(t,a,"srcSet",i.srcSet,i,null),s&&Je(t,a,"src",i.src,i,null);return;case"input":Be("invalid",t);var g=o=m=c=null,R=null,w=null;for(s in i)if(i.hasOwnProperty(s)){var V=i[s];if(V!=null)switch(s){case"name":c=V;break;case"type":m=V;break;case"checked":R=V;break;case"defaultChecked":w=V;break;case"value":o=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(r(137,a));break;default:Je(t,a,s,V,i,null)}}p1(t,o,g,R,w,m,c,!1);return;case"select":Be("invalid",t),s=m=o=null;for(c in i)if(i.hasOwnProperty(c)&&(g=i[c],g!=null))switch(c){case"value":o=g;break;case"defaultValue":m=g;break;case"multiple":s=g;default:Je(t,a,c,g,i,null)}a=o,i=m,t.multiple=!!s,a!=null?Gn(t,!!s,a,!1):i!=null&&Gn(t,!!s,i,!0);return;case"textarea":Be("invalid",t),o=c=s=null;for(m in i)if(i.hasOwnProperty(m)&&(g=i[m],g!=null))switch(m){case"value":s=g;break;case"defaultValue":c=g;break;case"children":o=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:Je(t,a,m,g,i,null)}b1(t,s,c,o);return;case"option":for(R in i)if(i.hasOwnProperty(R)&&(s=i[R],s!=null))switch(R){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Je(t,a,R,s,i,null)}return;case"dialog":Be("beforetoggle",t),Be("toggle",t),Be("cancel",t),Be("close",t);break;case"iframe":case"object":Be("load",t);break;case"video":case"audio":for(s=0;s<xr.length;s++)Be(xr[s],t);break;case"image":Be("error",t),Be("load",t);break;case"details":Be("toggle",t);break;case"embed":case"source":case"link":Be("error",t),Be("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in i)if(i.hasOwnProperty(w)&&(s=i[w],s!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Je(t,a,w,s,i,null)}return;default:if(Io(a)){for(V in i)i.hasOwnProperty(V)&&(s=i[V],s!==void 0&&A0(t,a,V,s,i,void 0));return}}for(g in i)i.hasOwnProperty(g)&&(s=i[g],s!=null&&Je(t,a,g,s,i,null))}function w_(t,a,i,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,o=null,m=null,g=null,R=null,w=null,V=null;for(k in i){var X=i[k];if(i.hasOwnProperty(k)&&X!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":R=X;default:s.hasOwnProperty(k)||Je(t,a,k,null,s,X)}}for(var U in s){var k=s[U];if(X=i[U],s.hasOwnProperty(U)&&(k!=null||X!=null))switch(U){case"type":o=k;break;case"name":c=k;break;case"checked":w=k;break;case"defaultChecked":V=k;break;case"value":m=k;break;case"defaultValue":g=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,a));break;default:k!==X&&Je(t,a,U,k,s,X)}}Bo(t,m,g,R,w,V,o,c);return;case"select":k=m=g=U=null;for(o in i)if(R=i[o],i.hasOwnProperty(o)&&R!=null)switch(o){case"value":break;case"multiple":k=R;default:s.hasOwnProperty(o)||Je(t,a,o,null,s,R)}for(c in s)if(o=s[c],R=i[c],s.hasOwnProperty(c)&&(o!=null||R!=null))switch(c){case"value":U=o;break;case"defaultValue":g=o;break;case"multiple":m=o;default:o!==R&&Je(t,a,c,o,s,R)}a=g,i=m,s=k,U!=null?Gn(t,!!i,U,!1):!!s!=!!i&&(a!=null?Gn(t,!!i,a,!0):Gn(t,!!i,i?[]:"",!1));return;case"textarea":k=U=null;for(g in i)if(c=i[g],i.hasOwnProperty(g)&&c!=null&&!s.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Je(t,a,g,null,s,c)}for(m in s)if(c=s[m],o=i[m],s.hasOwnProperty(m)&&(c!=null||o!=null))switch(m){case"value":U=c;break;case"defaultValue":k=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==o&&Je(t,a,m,c,s,o)}g1(t,U,k);return;case"option":for(var se in i)if(U=i[se],i.hasOwnProperty(se)&&U!=null&&!s.hasOwnProperty(se))switch(se){case"selected":t.selected=!1;break;default:Je(t,a,se,null,s,U)}for(R in s)if(U=s[R],k=i[R],s.hasOwnProperty(R)&&U!==k&&(U!=null||k!=null))switch(R){case"selected":t.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:Je(t,a,R,U,s,k)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ee in i)U=i[Ee],i.hasOwnProperty(Ee)&&U!=null&&!s.hasOwnProperty(Ee)&&Je(t,a,Ee,null,s,U);for(w in s)if(U=s[w],k=i[w],s.hasOwnProperty(w)&&U!==k&&(U!=null||k!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,a));break;default:Je(t,a,w,U,s,k)}return;default:if(Io(a)){for(var et in i)U=i[et],i.hasOwnProperty(et)&&U!==void 0&&!s.hasOwnProperty(et)&&A0(t,a,et,void 0,s,U);for(V in s)U=s[V],k=i[V],!s.hasOwnProperty(V)||U===k||U===void 0&&k===void 0||A0(t,a,V,U,s,k);return}}for(var L in i)U=i[L],i.hasOwnProperty(L)&&U!=null&&!s.hasOwnProperty(L)&&Je(t,a,L,null,s,U);for(X in s)U=s[X],k=i[X],!s.hasOwnProperty(X)||U===k||U==null&&k==null||Je(t,a,X,U,s,k)}function AD(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function U_(){if(typeof performance.getEntriesByType=="function"){for(var t=0,a=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var c=i[s],o=c.transferSize,m=c.initiatorType,g=c.duration;if(o&&g&&AD(m)){for(m=0,g=c.responseEnd,s+=1;s<i.length;s++){var R=i[s],w=R.startTime;if(w>g)break;var V=R.transferSize,X=R.initiatorType;V&&AD(X)&&(R=R.responseEnd,m+=V*(R<g?1:(g-w)/(R-w)))}if(--s,a+=8*(o+m)/(c.duration/1e3),t++,10<t)break}}if(0<t)return a/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var v0=null,C0=null;function ac(t){return t.nodeType===9?t:t.ownerDocument}function vD(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function CD(t,a){if(t===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&a==="foreignObject"?0:t}function y0(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var S0=null;function P_(){var t=window.event;return t&&t.type==="popstate"?t===S0?!1:(S0=t,!0):(S0=null,!1)}var yD=typeof setTimeout=="function"?setTimeout:void 0,H_=typeof clearTimeout=="function"?clearTimeout:void 0,SD=typeof Promise=="function"?Promise:void 0,k_=typeof queueMicrotask=="function"?queueMicrotask:typeof SD<"u"?function(t){return SD.resolve(null).then(t).catch(j_)}:yD;function j_(t){setTimeout(function(){throw t})}function Qa(t){return t==="head"}function ND(t,a){var i=a,s=0;do{var c=i.nextSibling;if(t.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(s===0){t.removeChild(c),vi(a);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Br(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Br(i);for(var o=i.firstChild;o;){var m=o.nextSibling,g=o.nodeName;o[$i]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&o.rel.toLowerCase()==="stylesheet"||i.removeChild(o),o=m}}else i==="body"&&Br(t.ownerDocument.body);i=c}while(i);vi(a)}function RD(t,a){var i=t;t=0;do{var s=i.nextSibling;if(i.nodeType===1?a?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(a?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=s}while(i)}function N0(t){var a=t.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":N0(i),xo(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function z_(t,a,i,s){for(;t.nodeType===1;){var c=i;if(t.nodeName.toLowerCase()!==a.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[$i])switch(a){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(a==="input"&&t.type==="hidden"){var o=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=xu(t.nextSibling),t===null)break}return null}function q_(t,a,i){if(a==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=xu(t.nextSibling),t===null))return null;return t}function OD(t,a){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=xu(t.nextSibling),t===null))return null;return t}function R0(t){return t.data==="$?"||t.data==="$~"}function O0(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Y_(t,a){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=a;else if(t.data!=="$?"||i.readyState!=="loading")a();else{var s=function(){a(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function xu(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return t}var F0=null;function FD(t){t=t.nextSibling;for(var a=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(a===0)return xu(t.nextSibling);a--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||a++}t=t.nextSibling}return null}function xD(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(a===0)return t;a--}else i!=="/$"&&i!=="/&"||a++}t=t.previousSibling}return null}function LD(t,a,i){switch(a=ac(i),t){case"html":if(t=a.documentElement,!t)throw Error(r(452));return t;case"head":if(t=a.head,!t)throw Error(r(453));return t;case"body":if(t=a.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Br(t){for(var a=t.attributes;a.length;)t.removeAttributeNode(a[0]);xo(t)}var Lu=new Map,BD=new Set;function nc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var pa=ne.d;ne.d={f:G_,r:V_,D:Q_,C:X_,L:K_,m:Z_,X:W_,S:$_,M:J_};function G_(){var t=pa.f(),a=Kl();return t||a}function V_(t){var a=zn(t);a!==null&&a.tag===5&&a.type==="form"?Zm(a):pa.r(t)}var Ti=typeof document>"u"?null:document;function MD(t,a,i){var s=Ti;if(s&&typeof a=="string"&&a){var c=Cu(a);c='link[rel="'+t+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),BD.has(c)||(BD.add(c),t={rel:t,crossOrigin:i,href:a},s.querySelector(c)===null&&(a=s.createElement("link"),Ut(a,"link",t),Nt(a),s.head.appendChild(a)))}}function Q_(t){pa.D(t),MD("dns-prefetch",t,null)}function X_(t,a){pa.C(t,a),MD("preconnect",t,a)}function K_(t,a,i){pa.L(t,a,i);var s=Ti;if(s&&t&&a){var c='link[rel="preload"][as="'+Cu(a)+'"]';a==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Cu(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Cu(i.imageSizes)+'"]')):c+='[href="'+Cu(t)+'"]';var o=c;switch(a){case"style":o=_i(t);break;case"script":o=Ai(t)}Lu.has(o)||(t=T({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:t,as:a},i),Lu.set(o,t),s.querySelector(c)!==null||a==="style"&&s.querySelector(Mr(o))||a==="script"&&s.querySelector(Ir(o))||(a=s.createElement("link"),Ut(a,"link",t),Nt(a),s.head.appendChild(a)))}}function Z_(t,a){pa.m(t,a);var i=Ti;if(i&&t){var s=a&&typeof a.as=="string"?a.as:"script",c='link[rel="modulepreload"][as="'+Cu(s)+'"][href="'+Cu(t)+'"]',o=c;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Ai(t)}if(!Lu.has(o)&&(t=T({rel:"modulepreload",href:t},a),Lu.set(o,t),i.querySelector(c)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ir(o)))return}s=i.createElement("link"),Ut(s,"link",t),Nt(s),i.head.appendChild(s)}}}function $_(t,a,i){pa.S(t,a,i);var s=Ti;if(s&&t){var c=qn(s).hoistableStyles,o=_i(t);a=a||"default";var m=c.get(o);if(!m){var g={loading:0,preload:null};if(m=s.querySelector(Mr(o)))g.loading=5;else{t=T({rel:"stylesheet",href:t,"data-precedence":a},i),(i=Lu.get(o))&&x0(t,i);var R=m=s.createElement("link");Nt(R),Ut(R,"link",t),R._p=new Promise(function(w,V){R.onload=w,R.onerror=V}),R.addEventListener("load",function(){g.loading|=1}),R.addEventListener("error",function(){g.loading|=2}),g.loading|=4,ic(m,a,s)}m={type:"stylesheet",instance:m,count:1,state:g},c.set(o,m)}}}function W_(t,a){pa.X(t,a);var i=Ti;if(i&&t){var s=qn(i).hoistableScripts,c=Ai(t),o=s.get(c);o||(o=i.querySelector(Ir(c)),o||(t=T({src:t,async:!0},a),(a=Lu.get(c))&&L0(t,a),o=i.createElement("script"),Nt(o),Ut(o,"link",t),i.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(c,o))}}function J_(t,a){pa.M(t,a);var i=Ti;if(i&&t){var s=qn(i).hoistableScripts,c=Ai(t),o=s.get(c);o||(o=i.querySelector(Ir(c)),o||(t=T({src:t,async:!0,type:"module"},a),(a=Lu.get(c))&&L0(t,a),o=i.createElement("script"),Nt(o),Ut(o,"link",t),i.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(c,o))}}function ID(t,a,i,s){var c=(c=ge.current)?nc(c):null;if(!c)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=_i(i.href),i=qn(c).hoistableStyles,s=i.get(a),s||(s={type:"style",instance:null,count:0,state:null},i.set(a,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=_i(i.href);var o=qn(c).hoistableStyles,m=o.get(t);if(m||(c=c.ownerDocument||c,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,m),(o=c.querySelector(Mr(t)))&&!o._p&&(m.instance=o,m.state.loading=5),Lu.has(t)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Lu.set(t,i),o||eA(c,t,i,m.state))),a&&s===null)throw Error(r(528,""));return m}if(a&&s!==null)throw Error(r(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Ai(i),i=qn(c).hoistableScripts,s=i.get(a),s||(s={type:"script",instance:null,count:0,state:null},i.set(a,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function _i(t){return'href="'+Cu(t)+'"'}function Mr(t){return'link[rel="stylesheet"]['+t+"]"}function wD(t){return T({},t,{"data-precedence":t.precedence,precedence:null})}function eA(t,a,i,s){t.querySelector('link[rel="preload"][as="style"]['+a+"]")?s.loading=1:(a=t.createElement("link"),s.preload=a,a.addEventListener("load",function(){return s.loading|=1}),a.addEventListener("error",function(){return s.loading|=2}),Ut(a,"link",i),Nt(a),t.head.appendChild(a))}function Ai(t){return'[src="'+Cu(t)+'"]'}function Ir(t){return"script[async]"+t}function UD(t,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var s=t.querySelector('style[data-href~="'+Cu(i.href)+'"]');if(s)return a.instance=s,Nt(s),s;var c=T({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),Nt(s),Ut(s,"style",c),ic(s,i.precedence,t),a.instance=s;case"stylesheet":c=_i(i.href);var o=t.querySelector(Mr(c));if(o)return a.state.loading|=4,a.instance=o,Nt(o),o;s=wD(i),(c=Lu.get(c))&&x0(s,c),o=(t.ownerDocument||t).createElement("link"),Nt(o);var m=o;return m._p=new Promise(function(g,R){m.onload=g,m.onerror=R}),Ut(o,"link",s),a.state.loading|=4,ic(o,i.precedence,t),a.instance=o;case"script":return o=Ai(i.src),(c=t.querySelector(Ir(o)))?(a.instance=c,Nt(c),c):(s=i,(c=Lu.get(o))&&(s=T({},i),L0(s,c)),t=t.ownerDocument||t,c=t.createElement("script"),Nt(c),Ut(c,"link",s),t.head.appendChild(c),a.instance=c);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(s=a.instance,a.state.loading|=4,ic(s,i.precedence,t));return a.instance}function ic(t,a,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=s.length?s[s.length-1]:null,o=c,m=0;m<s.length;m++){var g=s[m];if(g.dataset.precedence===a)o=g;else if(o!==c)break}o?o.parentNode.insertBefore(t,o.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(t,a.firstChild))}function x0(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.title==null&&(t.title=a.title)}function L0(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.integrity==null&&(t.integrity=a.integrity)}var rc=null;function PD(t,a,i){if(rc===null){var s=new Map,c=rc=new Map;c.set(i,s)}else c=rc,s=c.get(i),s||(s=new Map,c.set(i,s));if(s.has(t))return s;for(s.set(t,null),i=i.getElementsByTagName(t),c=0;c<i.length;c++){var o=i[c];if(!(o[$i]||o[Bt]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var m=o.getAttribute(a)||"";m=t+m;var g=s.get(m);g?g.push(o):s.set(m,[o])}}return s}function HD(t,a,i){t=t.ownerDocument||t,t.head.insertBefore(i,a==="title"?t.querySelector("head > title"):null)}function tA(t,a,i){if(i===1||a.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return t=a.disabled,typeof a.precedence=="string"&&t==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function kD(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function uA(t,a,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=_i(s.href),o=a.querySelector(Mr(c));if(o){a=o._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(t.count++,t=sc.bind(t),a.then(t,t)),i.state.loading|=4,i.instance=o,Nt(o);return}o=a.ownerDocument||a,s=wD(s),(c=Lu.get(c))&&x0(s,c),o=o.createElement("link"),Nt(o);var m=o;m._p=new Promise(function(g,R){m.onload=g,m.onerror=R}),Ut(o,"link",s),i.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=sc.bind(t),a.addEventListener("load",i),a.addEventListener("error",i))}}var B0=0;function aA(t,a){return t.stylesheets&&t.count===0&&cc(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var s=setTimeout(function(){if(t.stylesheets&&cc(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+a);0<t.imgBytes&&B0===0&&(B0=62500*U_());var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&cc(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>B0?50:800)+a);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(c)}}:null}function sc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)cc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var lc=null;function cc(t,a){t.stylesheets=null,t.unsuspend!==null&&(t.count++,lc=new Map,a.forEach(nA,t),lc=null,sc.call(t))}function nA(t,a){if(!(a.state.loading&4)){var i=lc.get(t);if(i)var s=i.get(null);else{i=new Map,lc.set(t,i);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<c.length;o++){var m=c[o];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(i.set(m.dataset.precedence,m),s=m)}s&&i.set(null,s)}c=a.instance,m=c.getAttribute("data-precedence"),o=i.get(m)||s,o===s&&i.set(null,c),i.set(m,c),this.count++,s=sc.bind(this),c.addEventListener("load",s),c.addEventListener("error",s),o?o.parentNode.insertBefore(c,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),a.state.loading|=4}}var wr={$$typeof:H,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function iA(t,a,i,s,c,o,m,g,R){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=No(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=No(0),this.hiddenUpdates=No(null),this.identifierPrefix=s,this.onUncaughtError=c,this.onCaughtError=o,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function jD(t,a,i,s,c,o,m,g,R,w,V,X){return t=new iA(t,a,i,m,R,w,V,X,g),a=1,o===!0&&(a|=24),o=du(3,null,null,a),t.current=o,o.stateNode=t,a=df(),a.refCount++,t.pooledCache=a,a.refCount++,o.memoizedState={element:s,isDehydrated:i,cache:a},Df(o),t}function zD(t){return t?(t=Jn,t):Jn}function qD(t,a,i,s,c,o){c=zD(c),s.context===null?s.context=c:s.pendingContext=c,s=wa(a),s.payload={element:i},o=o===void 0?null:o,o!==null&&(s.callback=o),i=Ua(t,s,a),i!==null&&(eu(i,t,a),mr(i,t,a))}function YD(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<a?i:a}}function M0(t,a){YD(t,a),(t=t.alternate)&&YD(t,a)}function GD(t){if(t.tag===13||t.tag===31){var a=mn(t,67108864);a!==null&&eu(a,t,67108864),M0(t,67108864)}}function VD(t){if(t.tag===13||t.tag===31){var a=pu();a=Ro(a);var i=mn(t,a);i!==null&&eu(i,t,a),M0(t,a)}}var oc=!0;function rA(t,a,i,s){var c=Y.T;Y.T=null;var o=ne.p;try{ne.p=2,I0(t,a,i,s)}finally{ne.p=o,Y.T=c}}function sA(t,a,i,s){var c=Y.T;Y.T=null;var o=ne.p;try{ne.p=8,I0(t,a,i,s)}finally{ne.p=o,Y.T=c}}function I0(t,a,i,s){if(oc){var c=w0(s);if(c===null)_0(t,a,s,fc,i),XD(t,s);else if(cA(c,t,a,i,s))s.stopPropagation();else if(XD(t,s),a&4&&-1<lA.indexOf(t)){for(;c!==null;){var o=zn(c);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var m=cn(o.pendingLanes);if(m!==0){var g=o;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var R=1<<31-ou(m);g.entanglements[1]|=R,m&=~R}Xu(o),(Qe&6)===0&&(Ql=Pt()+500,Fr(0))}}break;case 31:case 13:g=mn(o,2),g!==null&&eu(g,o,2),Kl(),M0(o,2)}if(o=w0(s),o===null&&_0(t,a,s,fc,i),o===c)break;c=o}c!==null&&s.stopPropagation()}else _0(t,a,s,null,i)}}function w0(t){return t=Uo(t),U0(t)}var fc=null;function U0(t){if(fc=null,t=jn(t),t!==null){var a=f(t);if(a===null)t=null;else{var i=a.tag;if(i===13){if(t=h(a),t!==null)return t;t=null}else if(i===31){if(t=D(a),t!==null)return t;t=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null)}}return fc=t,null}function QD(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qt()){case Au:return 2;case Pn:return 8;case Hn:case Qi:return 32;case a1:return 268435456;default:return 32}default:return 32}}var P0=!1,Xa=null,Ka=null,Za=null,Ur=new Map,Pr=new Map,$a=[],lA="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".split(" ");function XD(t,a){switch(t){case"focusin":case"focusout":Xa=null;break;case"dragenter":case"dragleave":Ka=null;break;case"mouseover":case"mouseout":Za=null;break;case"pointerover":case"pointerout":Ur.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pr.delete(a.pointerId)}}function Hr(t,a,i,s,c,o){return t===null||t.nativeEvent!==o?(t={blockedOn:a,domEventName:i,eventSystemFlags:s,nativeEvent:o,targetContainers:[c]},a!==null&&(a=zn(a),a!==null&&GD(a)),t):(t.eventSystemFlags|=s,a=t.targetContainers,c!==null&&a.indexOf(c)===-1&&a.push(c),t)}function cA(t,a,i,s,c){switch(a){case"focusin":return Xa=Hr(Xa,t,a,i,s,c),!0;case"dragenter":return Ka=Hr(Ka,t,a,i,s,c),!0;case"mouseover":return Za=Hr(Za,t,a,i,s,c),!0;case"pointerover":var o=c.pointerId;return Ur.set(o,Hr(Ur.get(o)||null,t,a,i,s,c)),!0;case"gotpointercapture":return o=c.pointerId,Pr.set(o,Hr(Pr.get(o)||null,t,a,i,s,c)),!0}return!1}function KD(t){var a=jn(t.target);if(a!==null){var i=f(a);if(i!==null){if(a=i.tag,a===13){if(a=h(i),a!==null){t.blockedOn=a,c1(t.priority,function(){VD(i)});return}}else if(a===31){if(a=D(i),a!==null){t.blockedOn=a,c1(t.priority,function(){VD(i)});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function dc(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var i=w0(t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);wo=s,i.target.dispatchEvent(s),wo=null}else return a=zn(i),a!==null&&GD(a),t.blockedOn=i,!1;a.shift()}return!0}function ZD(t,a,i){dc(t)&&i.delete(a)}function oA(){P0=!1,Xa!==null&&dc(Xa)&&(Xa=null),Ka!==null&&dc(Ka)&&(Ka=null),Za!==null&&dc(Za)&&(Za=null),Ur.forEach(ZD),Pr.forEach(ZD)}function hc(t,a){t.blockedOn===a&&(t.blockedOn=null,P0||(P0=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,oA)))}var mc=null;function $D(t){mc!==t&&(mc=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){mc===t&&(mc=null);for(var a=0;a<t.length;a+=3){var i=t[a],s=t[a+1],c=t[a+2];if(typeof s!="function"){if(U0(s||i)===null)continue;break}var o=zn(i);o!==null&&(t.splice(a,3),a-=3,wf(o,{pending:!0,data:c,method:i.method,action:s},s,c))}}))}function vi(t){function a(R){return hc(R,t)}Xa!==null&&hc(Xa,t),Ka!==null&&hc(Ka,t),Za!==null&&hc(Za,t),Ur.forEach(a),Pr.forEach(a);for(var i=0;i<$a.length;i++){var s=$a[i];s.blockedOn===t&&(s.blockedOn=null)}for(;0<$a.length&&(i=$a[0],i.blockedOn===null);)KD(i),i.blockedOn===null&&$a.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var c=i[s],o=i[s+1],m=c[Xt]||null;if(typeof o=="function")m||$D(i);else if(m){var g=null;if(o&&o.hasAttribute("formAction")){if(c=o,m=o[Xt]||null)g=m.formAction;else if(U0(c)!==null)continue}else g=m.action;typeof g=="function"?i[s+1]=g:(i.splice(s,3),s-=3),$D(i)}}}function WD(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(m){return c=m})},focusReset:"manual",scroll:"manual"})}function a(){c!==null&&(c(),c=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),c!==null&&(c(),c=null)}}}function H0(t){this._internalRoot=t}Ec.prototype.render=H0.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(r(409));var i=a.current,s=pu();qD(i,s,t,a,null,null)},Ec.prototype.unmount=H0.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;qD(t.current,2,null,t,null,null),Kl(),a[kn]=null}};function Ec(t){this._internalRoot=t}Ec.prototype.unstable_scheduleHydration=function(t){if(t){var a=l1();t={blockedOn:null,target:t,priority:a};for(var i=0;i<$a.length&&a!==0&&a<$a[i].priority;i++);$a.splice(i,0,t),i===0&&KD(t)}};var JD=u.version;if(JD!=="19.2.0")throw Error(r(527,JD,"19.2.0"));ne.findDOMNode=function(t){var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=p(a),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var fA={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Dc.isDisabled&&Dc.supportsFiber)try{Xi=Dc.inject(fA),cu=Dc}catch{}}return jr.createRoot=function(t,a){if(!l(t))throw Error(r(299));var i=!1,s="",c=rE,o=sE,m=lE;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(m=a.onRecoverableError)),a=jD(t,1,!1,null,null,i,s,null,c,o,m,WD),t[kn]=a.current,T0(t),new H0(a)},jr.hydrateRoot=function(t,a,i){if(!l(t))throw Error(r(299));var s=!1,c="",o=rE,m=sE,g=lE,R=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(o=i.onUncaughtError),i.onCaughtError!==void 0&&(m=i.onCaughtError),i.onRecoverableError!==void 0&&(g=i.onRecoverableError),i.formState!==void 0&&(R=i.formState)),a=jD(t,1,!0,a,i??null,s,c,R,o,m,g,WD),a.context=zD(null),i=a.current,s=pu(),s=Ro(s),c=wa(s),c.callback=null,Ua(i,c,s),i=s,a.current.lanes=i,Zi(a,i),Xu(a),t[kn]=a.current,T0(t),new Ec(a)},jr.version="19.2.0",jr}var cp;function _A(){if(cp)return j0.exports;cp=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(u){console.error(u)}}return e(),j0.exports=TA(),j0.exports}var AA=_A();const vA=io(AA),CA="modulepreload",yA=function(e){return"/"+e},op={},SA=function(u,n,r){let l=Promise.resolve();if(n&&n.length>0){let p=function(b){return Promise.all(b.map(T=>Promise.resolve(T).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var h=p;document.getElementsByTagName("link");const D=document.querySelector("meta[property=csp-nonce]"),E=D?.nonce||D?.getAttribute("nonce");l=p(n.map(b=>{if(b=yA(b),b in op)return;op[b]=!0;const T=b.endsWith(".css"),y=T?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${b}"]${y}`))return;const v=document.createElement("link");if(v.rel=T?"stylesheet":CA,T||(v.as="script"),v.crossOrigin="",v.href=b,E&&v.setAttribute("nonce",E),document.head.appendChild(v),T)return new Promise((N,x)=>{v.addEventListener("load",N),v.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${b}`)))})}))}function f(D){const E=new Event("vite:preloadError",{cancelable:!0});if(E.payload=D,window.dispatchEvent(E),!E.defaultPrevented)throw D}return l.then(D=>{for(const E of D||[])E.status==="rejected"&&f(E.reason);return u().catch(f)})};var Te=iu();const jt=io(Te);var V0={},Q0={},ku={},fp;function js(){if(fp)return ku;fp=1,Object.defineProperty(ku,"__esModule",{value:!0}),ku.isUndefinedOr=ku.isNumber=ku.isStringOrUndefined=ku.isString=void 0;const e=l=>typeof l=="string";ku.isString=e;const u=l=>typeof l=="string"||l===void 0;ku.isStringOrUndefined=u;const n=l=>typeof l=="number";ku.isNumber=n;const r=l=>f=>f===void 0||l(f);return ku.isUndefinedOr=r,ku}var zr={},X0={exports:{}},dp;function Lt(){return dp||(dp=1,(function(e){function u(n){return n&&n.__esModule?n:{default:n}}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(X0)),X0.exports}var K0={exports:{}},hp;function NA(){return hp||(hp=1,(function(e){function u(){return e.exports=u=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var f in l)({}).hasOwnProperty.call(l,f)&&(n[f]=l[f])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,u.apply(null,arguments)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(K0)),K0.exports}var pc={},Nn={},mp;function gh(){if(mp)return Nn;mp=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.routeRecordSegmentGetterKey=Nn.routeRecordParentKey=void 0;const e=Symbol("routeRecordParentKey");Nn.routeRecordParentKey=e;const u=Symbol("routeRecordSegmentGetterKey");return Nn.routeRecordSegmentGetterKey=u,Nn}var Ep;function bh(){if(Ep)return pc;Ep=1,Object.defineProperty(pc,"__esModule",{value:!0}),pc.getRouteRecordLocation=n;var e=gh();const u={pathname:"/",state:null};function n(r,l,f=u){const h=r[e.routeRecordParentKey].composeFromTop(f,l);return r[e.routeRecordParentKey].composer.compose(h,r[e.routeRecordSegmentGetterKey](l))}return pc}var qr={},Dp;function RA(){if(Dp)return qr;Dp=1,Object.defineProperty(qr,"__esModule",{value:!0}),qr.locationToURL=void 0;const e=u=>"".concat(u.pathname).concat(u.search?u.search.startsWith("?")?u.search:"?"+u.search:"").concat(u.hash||"");return qr.locationToURL=e,qr}var Yr={},pp;function Th(){if(pp)return Yr;pp=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.RouteContext=void 0;var e=iu();const u=(0,e.createContext)(void 0);return Yr.RouteContext=u,Yr}var Gr={},Vr={},gp;function _h(){if(gp)return Vr;gp=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.HistoryContext=void 0;var e=iu();const u=(0,e.createContext)(void 0);return Vr.HistoryContext=u,Vr}var Qr={},bp;function vb(){if(bp)return Qr;bp=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.getNavigationBaseLocation=void 0;var e=gh();const u=(n,r)=>{const l=n?.ancestorRoutes,f=r[e.routeRecordParentKey].getAttachmentRoot(),h=l?.find(({link:D})=>D===f);return h?.location||n?.routeLocation};return Qr.getNavigationBaseLocation=u,Qr}var Tp;function Ah(){if(Tp)return Gr;Tp=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.useNavigate=void 0;var e=iu(),u=bh(),n=_h(),r=Th(),l=vb();const f=()=>{const h=(0,e.useContext)(n.HistoryContext),D=(0,e.useContext)(r.RouteContext);if(h===void 0)throw new Error("No history found in the context. Please make sure you have placed RoconRoot above.");const{history:E}=h;return(0,e.useMemo)(()=>{const b=(y,v)=>{const N=(0,l.getNavigationBaseLocation)(D,y),x=(0,u.getRouteRecordLocation)(y,v||{},N);x.state?E.push(x,x.state):E.push(x)};return Object.assign(b,{push:b,replace:(y,v)=>{const N=(0,l.getNavigationBaseLocation)(D,y),x=(0,u.getRouteRecordLocation)(y,v||{},N);E.replace((0,u.getRouteRecordLocation)(y,v||{},N)),x.state?E.replace(x,x.state):E.replace(x)}})},[E,D])};return Gr.useNavigate=f,Gr}var _p;function OA(){if(_p)return zr;_p=1;var e=Lt();Object.defineProperty(zr,"__esModule",{value:!0}),zr.Link=void 0;var u=e(NA()),n=p(iu()),r=bh(),l=RA(),f=Th(),h=Ah(),D=vb();function E(v){if(typeof WeakMap!="function")return null;var N=new WeakMap,x=new WeakMap;return(E=function(P){return P?x:N})(v)}function p(v,N){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var x=E(N);if(x&&x.has(v))return x.get(v);var P={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in v)if(Z!=="default"&&Object.prototype.hasOwnProperty.call(v,Z)){var H=B?Object.getOwnPropertyDescriptor(v,Z):null;H&&(H.get||H.set)?Object.defineProperty(P,Z,H):P[Z]=v[Z]}return P.default=v,x&&x.set(v,P),P}const b=({route:v,match:N,...x},P)=>{const B=(0,n.useContext)(f.RouteContext),Z=(0,h.useNavigate)(),H=(0,n.useMemo)(()=>{const $=(0,D.getNavigationBaseLocation)(B,v),ue=(0,r.getRouteRecordLocation)(v,N||{},$);return(0,l.locationToURL)(ue)},[v,N,B]);return n.default.createElement("a",(0,u.default)({ref:P,href:H,onClick:$=>{y($)||($.preventDefault(),Z(v,N))}},x))},T=(0,n.forwardRef)(b);zr.Link=T;function y(v){return v.metaKey||v.altKey||v.ctrlKey||v.shiftKey}return zr}var Xr={},Ap;function FA(){if(Ap)return Xr;Ap=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.Redirect=void 0;var e=iu(),u=Ah();const n=({route:r,match:l})=>{const f=(0,u.useNavigate)();return(0,e.useLayoutEffect)(()=>{f.replace(r,l)}),null};return Xr.Redirect=n,Xr}var Kr={};function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var n=arguments[u];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nn.apply(null,arguments)}var Gt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Gt||(Gt={}));var xi=function(e){return e},Pc="beforeunload",xA="hashchange",Cb="popstate";function LA(e){e===void 0&&(e={});var u=e,n=u.window,r=n===void 0?document.defaultView:n,l=r.history;function f(){var q=r.location,K=q.pathname,ie=q.search,pe=q.hash,be=l.state||{};return[be.idx,xi({pathname:K,search:ie,hash:pe,state:be.usr||null,key:be.key||"default"})]}var h=null;function D(){if(h)v.call(h),h=null;else{var q=Gt.Pop,K=f(),ie=K[0],pe=K[1];if(v.length){if(ie!=null){var be=b-ie;be&&(h={action:q,location:pe,retry:function(){ue(be*-1)}},ue(be))}}else Z(q)}}r.addEventListener(Cb,D);var E=Gt.Pop,p=f(),b=p[0],T=p[1],y=Li(),v=Li();b==null&&(b=0,l.replaceState(nn({},l.state,{idx:b}),""));function N(q){return typeof q=="string"?q:Oi(q)}function x(q,K){return K===void 0&&(K=null),xi(nn({pathname:T.pathname,hash:"",search:""},typeof q=="string"?Bi(q):q,{state:K,key:kc()}))}function P(q,K){return[{usr:q.state,key:q.key,idx:K},N(q)]}function B(q,K,ie){return!v.length||(v.call({action:q,location:K,retry:ie}),!1)}function Z(q){E=q;var K=f();b=K[0],T=K[1],y.call({action:E,location:T})}function H(q,K){var ie=Gt.Push,pe=x(q,K);function be(){H(q,K)}if(B(ie,pe,be)){var ye=P(pe,b+1),He=ye[0],Se=ye[1];try{l.pushState(He,"",Se)}catch{r.location.assign(Se)}Z(ie)}}function $(q,K){var ie=Gt.Replace,pe=x(q,K);function be(){$(q,K)}if(B(ie,pe,be)){var ye=P(pe,b),He=ye[0],Se=ye[1];l.replaceState(He,"",Se),Z(ie)}}function ue(q){l.go(q)}var te={get action(){return E},get location(){return T},createHref:N,push:H,replace:$,go:ue,back:function(){ue(-1)},forward:function(){ue(1)},listen:function(K){return y.push(K)},block:function(K){var ie=v.push(K);return v.length===1&&r.addEventListener(Pc,Hc),function(){ie(),v.length||r.removeEventListener(Pc,Hc)}}};return te}function BA(e){e===void 0&&(e={});var u=e,n=u.window,r=n===void 0?document.defaultView:n,l=r.history;function f(){var K=Bi(r.location.hash.substr(1)),ie=K.pathname,pe=ie===void 0?"/":ie,be=K.search,ye=be===void 0?"":be,He=K.hash,Se=He===void 0?"":He,Ve=l.state||{};return[Ve.idx,xi({pathname:pe,search:ye,hash:Se,state:Ve.usr||null,key:Ve.key||"default"})]}var h=null;function D(){if(h)v.call(h),h=null;else{var K=Gt.Pop,ie=f(),pe=ie[0],be=ie[1];if(v.length){if(pe!=null){var ye=b-pe;ye&&(h={action:K,location:be,retry:function(){te(ye*-1)}},te(ye))}}else H(K)}}r.addEventListener(Cb,D),r.addEventListener(xA,function(){var K=f(),ie=K[1];Oi(ie)!==Oi(T)&&D()});var E=Gt.Pop,p=f(),b=p[0],T=p[1],y=Li(),v=Li();b==null&&(b=0,l.replaceState(nn({},l.state,{idx:b}),""));function N(){var K=document.querySelector("base"),ie="";if(K&&K.getAttribute("href")){var pe=r.location.href,be=pe.indexOf("#");ie=be===-1?pe:pe.slice(0,be)}return ie}function x(K){return N()+"#"+(typeof K=="string"?K:Oi(K))}function P(K,ie){return ie===void 0&&(ie=null),xi(nn({pathname:T.pathname,hash:"",search:""},typeof K=="string"?Bi(K):K,{state:ie,key:kc()}))}function B(K,ie){return[{usr:K.state,key:K.key,idx:ie},x(K)]}function Z(K,ie,pe){return!v.length||(v.call({action:K,location:ie,retry:pe}),!1)}function H(K){E=K;var ie=f();b=ie[0],T=ie[1],y.call({action:E,location:T})}function $(K,ie){var pe=Gt.Push,be=P(K,ie);function ye(){$(K,ie)}if(Z(pe,be,ye)){var He=B(be,b+1),Se=He[0],Ve=He[1];try{l.pushState(Se,"",Ve)}catch{r.location.assign(Ve)}H(pe)}}function ue(K,ie){var pe=Gt.Replace,be=P(K,ie);function ye(){ue(K,ie)}if(Z(pe,be,ye)){var He=B(be,b),Se=He[0],Ve=He[1];l.replaceState(Se,"",Ve),H(pe)}}function te(K){l.go(K)}var q={get action(){return E},get location(){return T},createHref:x,push:$,replace:ue,go:te,back:function(){te(-1)},forward:function(){te(1)},listen:function(ie){return y.push(ie)},block:function(ie){var pe=v.push(ie);return v.length===1&&r.addEventListener(Pc,Hc),function(){pe(),v.length||r.removeEventListener(Pc,Hc)}}};return q}function MA(e){e===void 0&&(e={});var u=e,n=u.initialEntries,r=n===void 0?["/"]:n,l=u.initialIndex,f=r.map(function(H){var $=xi(nn({pathname:"/",search:"",hash:"",state:null,key:kc()},typeof H=="string"?Bi(H):H));return $}),h=vp(l??f.length-1,0,f.length-1),D=Gt.Pop,E=f[h],p=Li(),b=Li();function T(H){return typeof H=="string"?H:Oi(H)}function y(H,$){return $===void 0&&($=null),xi(nn({pathname:E.pathname,search:"",hash:""},typeof H=="string"?Bi(H):H,{state:$,key:kc()}))}function v(H,$,ue){return!b.length||(b.call({action:H,location:$,retry:ue}),!1)}function N(H,$){D=H,E=$,p.call({action:D,location:E})}function x(H,$){var ue=Gt.Push,te=y(H,$);function q(){x(H,$)}v(ue,te,q)&&(h+=1,f.splice(h,f.length,te),N(ue,te))}function P(H,$){var ue=Gt.Replace,te=y(H,$);function q(){P(H,$)}v(ue,te,q)&&(f[h]=te,N(ue,te))}function B(H){var $=vp(h+H,0,f.length-1),ue=Gt.Pop,te=f[$];function q(){B(H)}v(ue,te,q)&&(h=$,N(ue,te))}var Z={get index(){return h},get action(){return D},get location(){return E},createHref:T,push:x,replace:P,go:B,back:function(){B(-1)},forward:function(){B(1)},listen:function($){return p.push($)},block:function($){return b.push($)}};return Z}function vp(e,u,n){return Math.min(Math.max(e,u),n)}function Hc(e){e.preventDefault(),e.returnValue=""}function Li(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function kc(){return Math.random().toString(36).substr(2,8)}function Oi(e){var u=e.pathname,n=u===void 0?"/":u,r=e.search,l=r===void 0?"":r,f=e.hash,h=f===void 0?"":f;return l&&l!=="?"&&(n+=l.charAt(0)==="?"?l:"?"+l),h&&h!=="#"&&(n+=h.charAt(0)==="#"?h:"#"+h),n}function Bi(e){var u={};if(e){var n=e.indexOf("#");n>=0&&(u.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(u.search=e.substr(r),e=e.substr(0,r)),e&&(u.pathname=e)}return u}const IA=Object.freeze(Object.defineProperty({__proto__:null,get Action(){return Gt},createBrowserHistory:LA,createHashHistory:BA,createMemoryHistory:MA,createPath:Oi,parsePath:Bi},Symbol.toStringTag,{value:"Module"})),wA=ph(IA);var Zr={},Cp;function yb(){if(Cp)return Zr;Cp=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.LocationContext=void 0;var e=iu();const u=(0,e.createContext)(void 0);return Zr.LocationContext=u,Zr}var yp;function UA(){if(yp)return Kr;yp=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.RoconRoot=void 0;var e=wA,u=f(iu()),n=_h(),r=yb();function l(D){if(typeof WeakMap!="function")return null;var E=new WeakMap,p=new WeakMap;return(l=function(b){return b?p:E})(D)}function f(D,E){if(D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var p=l(E);if(p&&p.has(D))return p.get(D);var b={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in D)if(y!=="default"&&Object.prototype.hasOwnProperty.call(D,y)){var v=T?Object.getOwnPropertyDescriptor(D,y):null;v&&(v.get||v.set)?Object.defineProperty(b,y,v):b[y]=D[y]}return b.default=D,p&&p.set(D,b),b}const h=(0,u.memo)(D=>{const E=(0,u.useMemo)(()=>D.history||(0,e.createBrowserHistory)(),[D.history]),p=(0,u.useMemo)(()=>({history:E}),[E]),[b,T]=(0,u.useState)(E.location);return(0,u.useEffect)(()=>(T(E.location),E.listen(y=>{T(y.location)})),[E]),u.default.createElement(n.HistoryContext.Provider,{value:p},u.default.createElement(r.LocationContext.Provider,{value:b},D.children))});return Kr.RoconRoot=h,Kr}var Ci={},Sp;function Sb(){if(Sp)return Ci;Sp=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.isLocationNotFoundError=u,Ci.LocationNotFoundError=void 0;let e=class extends Error{};Ci.LocationNotFoundError=e;function u(n){return n instanceof e}return Ci}var $r={},Np;function PA(){if(Np)return $r;Np=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.useHistory=void 0;var e=iu(),u=_h();const n=()=>{const r=(0,e.useContext)(u.HistoryContext);if(r===void 0)throw new Error("No history found in the context. Please make sure you have placed RoconRoot above.");return r.history};return $r.useHistory=n,$r}var Wr={},Rp;function Nb(){if(Rp)return Wr;Rp=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.useLocation=void 0;var e=iu(),u=yb();const n=()=>{const r=(0,e.useContext)(u.LocationContext);if(r===void 0)throw new Error("No location found. Please make sure you have placed RoconRoot above.");return r};return Wr.useLocation=n,Wr}var Jr={},es={},Z0={exports:{}},$0={exports:{}},Op;function HA(){return Op||(Op=1,(function(e){function u(n,r){return r.get?r.get.call(n):r.value}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})($0)),$0.exports}var W0={exports:{}},J0={exports:{}},Fp;function kA(){return Fp||(Fp=1,(function(e){function u(n,r,l){if(typeof n=="function"?n===r:n.has(r))return arguments.length<3?r:l;throw new TypeError("Private element is not present on this object")}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(J0)),J0.exports}var xp;function Rb(){return xp||(xp=1,(function(e){var u=kA();function n(r,l){return r.get(u(r,l))}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(W0)),W0.exports}var Lp;function Ca(){return Lp||(Lp=1,(function(e){var u=HA(),n=Rb();function r(l,f){var h=n(f,l);return u(l,h)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Z0)),Z0.exports}var ed={exports:{}},td={exports:{}},Bp;function jA(){return Bp||(Bp=1,(function(e){function u(n,r,l){if(r.set)r.set.call(n,l);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=l}}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(td)),td.exports}var Mp;function ya(){return Mp||(Mp=1,(function(e){var u=jA(),n=Rb();function r(l,f,h){var D=n(f,l);return u(l,D,h),h}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(ed)),ed.exports}var Ip;function Fb(){if(Ip)return es;Ip=1;var e=Lt();Object.defineProperty(es,"__esModule",{value:!0}),es.RoutePathResolver=void 0;var u=e(Ca()),n=e(ya());function r(E,p,b){l(E,p),p.set(E,b)}function l(E,p){if(p.has(E))throw new TypeError("Cannot initialize the same private elements twice on an object")}var f=new WeakMap;let h=class Ob{static getFromBuilder(p){return new Ob(p.getBuilderLink().resolver)}constructor(p){r(this,f,{writable:!0,value:void 0}),(0,n.default)(this,f,p)}resolve(p){return(0,u.default)(this,f).resolve(p).filter(D)}resolveAction(p){const b=this.resolve(p)[0];if(b===void 0)return;const T=b.route.action(b.match);return{route:b.route,result:T}}};es.RoutePathResolver=h;function D(E){return!!E.route.action}return es}var wp;function zA(){if(wp)return Jr;wp=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.useRoutes=void 0;var e=h(iu()),u=Fb(),n=Th(),r=Sb(),l=Nb();function f(E){if(typeof WeakMap!="function")return null;var p=new WeakMap,b=new WeakMap;return(f=function(T){return T?b:p})(E)}function h(E,p){if(E&&E.__esModule)return E;if(E===null||typeof E!="object"&&typeof E!="function")return{default:E};var b=f(p);if(b&&b.has(E))return b.get(E);var T={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in E)if(v!=="default"&&Object.prototype.hasOwnProperty.call(E,v)){var N=y?Object.getOwnPropertyDescriptor(E,v):null;N&&(N.get||N.set)?Object.defineProperty(T,v,N):T[v]=E[v]}return T.default=E,b&&b.set(E,T),T}const D=E=>{var p;const b=(0,e.useContext)(n.RouteContext),T=(0,l.useLocation)(),y=(p=b?.nextLocation)!==null&&p!==void 0?p:T,v=(0,e.useMemo)(()=>u.RoutePathResolver.getFromBuilder(E),[E]),{routeContextValue:N,result:x}=(0,e.useMemo)(()=>{const P=v.resolve(y)[0];if(P===void 0)throw new r.LocationNotFoundError("Current location could not be resolved.");const B=b?b.ancestorRoutes.concat():[];B.push({link:E.getBuilderLink().getAttachmentRoot(),location:b?.routeLocation||{pathname:"/",state:null}});const Z=e.default.createElement(P.route.action,P.match),H={route:P.route,ancestorRoutes:B,routeLocation:P.currentLocation,nextLocation:P.remainingLocation};return{result:Z,routeContextValue:H}},[b,v,y]);return e.default.createElement(n.RouteContext.Provider,{value:N},x)};return Jr.useRoutes=D,Jr}var gu={},Yt={},ts={},us={},ud={exports:{}},ad={exports:{}},nd={exports:{}},Up;function xb(){return Up||(Up=1,(function(e){function u(n){"@babel/helpers - typeof";return e.exports=u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,u(n)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(nd)),nd.exports}var id={exports:{}},Pp;function qA(){return Pp||(Pp=1,(function(e){var u=xb().default;function n(r,l){if(u(r)!="object"||!r)return r;var f=r[Symbol.toPrimitive];if(f!==void 0){var h=f.call(r,l||"default");if(u(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(id)),id.exports}var Hp;function YA(){return Hp||(Hp=1,(function(e){var u=xb().default,n=qA();function r(l){var f=n(l,"string");return u(f)=="symbol"?f:f+""}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(ad)),ad.exports}var kp;function ru(){return kp||(kp=1,(function(e){var u=YA();function n(r,l,f){return(l=u(l))in r?Object.defineProperty(r,l,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[l]=f,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ud)),ud.exports}var as={},ns={},jp;function Lb(){if(jp)return ns;jp=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.createSegmentDecomposer=e,ns.resolveChain=u;function e(n,r){const{composer:l}=n;return f=>l.decompose(f).flatMap(({segment:D,nextLocation:E})=>{const p=r(D,E);return p===void 0?[]:[{...p,segment:D,nextLocation:E}]})}function u(n,r,l){var f;const h=(f=n.segmentDecomposer)===null||f===void 0?void 0:f.call(n,r);return h===void 0?[]:h.flatMap(D=>{const E=n.composer.compose(l,D.segment),p=D.type==="normal"?{}:{[D.matchKey]:D.matchValue},b=D.link;if(b===void 0)return[{route:D.value,match:p,remainingLocation:D.nextLocation,currentLocation:E}];const T=u(b,D.nextLocation,E);if(T.length===0&&b.composer.isLeaf(D.nextLocation))return[{route:D.value,match:p,remainingLocation:D.nextLocation,currentLocation:E}];switch(D.type){case"normal":return T;case"matching":{const y=D.matchKey,v=D.matchValue;return T.map(N=>(N.match[y]=v,N))}}})}return ns}var zp;function GA(){if(zp)return as;zp=1;var e=Lt();Object.defineProperty(as,"__esModule",{value:!0}),as.RouteResolver=void 0;var u=e(ru()),n=Lb();let r=class{constructor(f){(0,u.default)(this,"link",void 0),this.link=f}resolve(f){return(0,n.resolveChain)(this.link,f,{pathname:"/",state:null})}};return as.RouteResolver=r,as}var qp;function zs(){if(qp)return us;qp=1;var e=Lt();Object.defineProperty(us,"__esModule",{value:!0}),us.BuilderLink=void 0;var u=e(ru()),n=e(ya()),r=e(Ca()),l=GA(),f=Lb();function h(b,T,y){D(b,T),T.set(b,y)}function D(b,T){if(T.has(b))throw new TypeError("Cannot initialize the same private elements twice on an object")}var E=new WeakMap;let p=class{constructor(T){(0,u.default)(this,"composer",void 0),(0,u.default)(this,"resolver",void 0),h(this,E,{writable:!0,value:{state:"unattached"}}),(0,u.default)(this,"currentBuilder",void 0),(0,u.default)(this,"segmentDecomposer",void 0),this.composer=T.composer,this.resolver=new l.RouteResolver(this)}attachToParent(T,y){if((0,r.default)(this,E).state!=="unattached")throw new Error("A builder cannot be attached more than once.");(0,n.default)(this,E,{state:"attached",parentLink:T,segmentGetter:y}),this.resolver=T.resolver}collectUpToTop(){const T=[];let y=this,v=y.getParentLinkAndSegmentGetter();for(;v!==void 0;)T.push({link:v[1],segmentGetter:v[0]}),y=v[1],v=y.getParentLinkAndSegmentGetter();return T}composeFromTop(T,y){return this.collectUpToTop().reverse().reduce((N,{link:x,segmentGetter:P})=>x.composer.compose(N,P(y)),T)}getAttachmentRoot(){const T=this.collectUpToTop();return T.length===0?this:T[T.length-1].link}getParentLinkAndSegmentGetter(){const T=(0,r.default)(this,E);if(T.state==="attached")return[T.segmentGetter,T.parentLink]}getBuilderLink(){return this}register(T,y){this.currentBuilder=T,this.segmentDecomposer=(0,f.createSegmentDecomposer)(this,y)}inherit(){return this}};return us.BuilderLink=p,us}var is={},gc={},Yp;function VA(){if(Yp)return gc;Yp=1,Object.defineProperty(gc,"__esModule",{value:!0}),gc.composePath=e;function e(u,n){const r=u.endsWith("/"),l=n.startsWith("/");return r&&l?u+n.slice(1):!r&&!l?u+"/"+n:u+n}return gc}var bc={},Gp;function QA(){if(Gp)return bc;Gp=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.decomposePath=e;function e(u){if(!u.startsWith("/")||u==="/")return;const n=u.indexOf("/",1),r=n===-1?u.length:n,l=u.substring(1,r),f=u.slice(r);return[l,f]}return bc}var Vp;function XA(){if(Vp)return is;Vp=1,Object.defineProperty(is,"__esModule",{value:!0}),is.PathLocationComposer=void 0;var e=VA(),u=QA();let n=class{isLeaf(l){return l.pathname==="/"}compose(l,f){return f===void 0?l:{...l,pathname:(0,e.composePath)(l.pathname,f)}}decompose(l){const{pathname:f}=l,h=(0,u.decomposePath)(f),D={leaf:!0,segment:void 0,nextLocation:l};if(h===void 0)return[D];const[E,p]=h,b={...l,pathname:p||"/"};return[D,{leaf:!1,segment:E,nextLocation:b}]}};return is.PathLocationComposer=n,is}var rd={},rs={},ss={},Qp;function vh(){if(Qp)return ss;Qp=1;var e=Lt();Object.defineProperty(ss,"__esModule",{value:!0}),ss.RouteRecordBase=void 0;var u=e(ru()),n=e(Ca()),r=e(ya()),l=gh();function f(p,b,T){h(p,b),b.set(p,T)}function h(p,b){if(b.has(p))throw new TypeError("Cannot initialize the same private elements twice on an object")}var D=new WeakMap;let E=class{constructor(b,T,y){(0,u.default)(this,"action",void 0),(0,u.default)(this,l.routeRecordParentKey,void 0),f(this,D,{writable:!0,value:void 0}),(0,u.default)(this,l.routeRecordSegmentGetterKey,void 0),(0,u.default)(this,"attach",void 0),this.action=T,this[l.routeRecordSegmentGetterKey]=y,Object.defineProperty(this,l.routeRecordParentKey,{value:b}),Object.defineProperty(this,"attach",{configurable:!0,writable:!0,value(v){const N=v.getBuilderLink().getAttachmentRoot();return(0,r.default)(this,D,N),N.attachToParent(b,y),v}})}getAttachedBuilderLink(){return(0,n.default)(this,D)}};return ss.RouteRecordBase=E,ss}var Xp;function KA(){if(Xp)return rs;Xp=1;var e=Lt();Object.defineProperty(rs,"__esModule",{value:!0}),rs.PathRouteRecord=void 0;var u=e(ru()),n=vh();let r=class extends n.RouteRecordBase{constructor(f,h,D){super(f.getBuilderLink(),D,()=>h),(0,u.default)(this,"key",void 0),this.key=h}};return rs.PathRouteRecord=r,rs}var Kp;function ZA(){return Kp||(Kp=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PathRouteRecord",{enumerable:!0,get:function(){return u.PathRouteRecord}});var u=KA()})(rd)),rd}var ls={},Zp;function ro(){if(Zp)return ls;Zp=1;var e=Lt();Object.defineProperty(ls,"__esModule",{value:!0}),ls.MatchingRouteRecord=void 0;var u=e(ru()),n=e(ya()),r=e(Ca()),l=vh();function f(p,b,T){h(p,b),b.set(p,T)}function h(p,b){if(b.has(p))throw new TypeError("Cannot initialize the same private elements twice on an object")}var D=new WeakMap;let E=class extends l.RouteRecordBase{constructor(b,T,y,v){super(b.getBuilderLink(),v,N=>{const x=N[this.key];if(!(0,r.default)(this,D).call(this,x))throw new Error("Invariant failure: type of '".concat(x,"' is wrong"));return x}),(0,u.default)(this,"key",void 0),f(this,D,{writable:!0,value:void 0}),(0,n.default)(this,D,y),this.key=T}};return ls.MatchingRouteRecord=E,ls}var cs={},$p;function $A(){if($p)return cs;$p=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.isRootPath=void 0;const e=({pathname:u})=>!u||u==="/";return cs.isRootPath=e,cs}var Wp;function WA(){if(Wp)return ts;Wp=1;var e=Lt();Object.defineProperty(ts,"__esModule",{value:!0}),ts.PathRouteBuilder=void 0;var u=e(Ca()),n=e(ya()),r=zs(),l=js(),f=XA(),h=ZA(),D=ro(),E=$A();function p(P,B,Z){b(P,B),B.set(P,Z)}function b(P,B){if(B.has(P))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap,v=new WeakMap,N=new WeakMap;let x=class Ni{static init(){return new Ni(new r.BuilderLink({composer:new f.PathLocationComposer}))}constructor(B){p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:Object.create(null)}),p(this,v,{writable:!0,value:void 0}),p(this,N,{writable:!0,value:void 0}),(0,n.default)(this,T,B),B.register(this,(Z,H)=>{if(Z===void 0){if(!(0,E.isRootPath)(H))return;const te=(0,u.default)(this,N);return te&&{type:"normal",value:te,link:te.getAttachedBuilderLink()}}const $=(0,u.default)(this,y)[Z];if($!==void 0)return{type:"normal",value:$,link:$.getAttachedBuilderLink()};const ue=(0,u.default)(this,v);if(ue!==void 0)return{type:"matching",value:ue.route,link:ue.route.getAttachedBuilderLink(),matchKey:ue.matchKey,matchValue:Z}})}routes(B){const Z=new Ni((0,u.default)(this,T).inherit()),H=(0,u.default)(Z,y);Object.assign(H,(0,u.default)(this,y));for(const $ of Object.getOwnPropertyNames(B))H[$]=new h.PathRouteRecord(Z,$,B[$].action);return(0,n.default)(Z,v,(0,u.default)(this,v)),(0,n.default)(Z,N,(0,u.default)(this,N)),Z}route(B,Z){const H=new Ni((0,u.default)(this,T).inherit()),$=(0,u.default)(H,y);Object.assign($,(0,u.default)(this,y));let ue,te;Z&&Z({action(ie){return ue=ie,this},attach(ie){return te=ie,ie}});const q=new h.PathRouteRecord(H,B,ue);return te!==void 0&&q.attach(te),$[B]=q,(0,n.default)(H,v,(0,u.default)(this,v)),(0,n.default)(H,N,(0,u.default)(this,N)),H}any(B,Z){const H=new Ni((0,u.default)(this,T).inherit());return(0,n.default)(H,y,(0,u.default)(this,y)),(0,n.default)(H,v,{matchKey:B,route:new D.MatchingRouteRecord(H,B,l.isString,Z?.action)}),(0,n.default)(H,N,(0,u.default)(this,N)),H}exact(B){const Z=new Ni((0,u.default)(this,T).inherit());return(0,n.default)(Z,y,(0,u.default)(this,y)),(0,n.default)(Z,v,(0,u.default)(this,v)),(0,n.default)(Z,N,new h.PathRouteRecord(Z,void 0,B.action)),Z}getRoutes(){return(0,u.default)(this,y)}get _(){return this.getRoutes()}get anyRoute(){var B;return(B=(0,u.default)(this,v))===null||B===void 0?void 0:B.route}get exactRoute(){return(0,u.default)(this,N)}getBuilderLink(){return(0,u.default)(this,T)}};return ts.PathRouteBuilder=x,ts}var os={},fs={},Tc={},Jp;function JA(){if(Jp)return Tc;Jp=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.locationDiff=e;function e(n,r){var l;const f=n.pathname.split("/").filter(x=>x!==""),h=r.pathname.split("/").filter(x=>x!=="");if(!u(f,h))return;const D="/"+h.slice(f.length).join("/"),E=new URLSearchParams(n.search),p=new URLSearchParams(r.search);for(const[x,P]of E.entries()){if(p.get(x)!==P)return;p.delete(x)}const b={...r,pathname:D},T=p.toString();T!==""?b.search="?"+T:b.search!==void 0&&(b.search="");const y={},v=(l=n.state)!==null&&l!==void 0?l:{};for(const[x,P]of Object.entries((N=r.state)!==null&&N!==void 0?N:{})){var N;if(v[x]!==void 0){if(v[x]!==P)return;continue}y[x]=P}return r.state!==null&&(b.state=y),b}function u(n,r){return n.every((l,f)=>l===r[f])}return Tc}var eg;function e6(){if(eg)return fs;eg=1;var e=Lt();Object.defineProperty(fs,"__esModule",{value:!0}),fs.ConstLocationComposer=void 0;var u=e(ru()),n=JA();let r=class{constructor(f){(0,u.default)(this,"location",void 0),this.location=f}isLeaf(){return!1}compose(){return this.location}decompose(f){const h=(0,n.locationDiff)(this.location,f);return h===void 0?[]:[{leaf:!1,segment:void 0,nextLocation:h}]}};return fs.ConstLocationComposer=r,fs}var ds={},tg;function t6(){if(tg)return ds;tg=1;var e=Lt();Object.defineProperty(ds,"__esModule",{value:!0}),ds.ConstRouteRecord=void 0;var u=e(ru()),n=vh();let r=class extends n.RouteRecordBase{constructor(f,h,D){super(f.getBuilderLink(),D,()=>this.location),(0,u.default)(this,"location",void 0),this.location=h}};return ds.ConstRouteRecord=r,ds}var hs={},ug;function so(){if(ug)return hs;ug=1;var e=Lt();Object.defineProperty(hs,"__esModule",{value:!0}),hs.SingleRouteAbstractBuilder=void 0;var u=e(ru()),n=bh();let r=class{constructor(){(0,u.default)(this,"attach",void 0),Object.defineProperty(this,"attach",{configurable:!0,value(f){return this.getRoute().attach(f)}})}get route(){return this.getRoute()}getLocation(f){return(0,n.getRouteRecordLocation)(this.getRoute(),f)}};return hs.SingleRouteAbstractBuilder=r,hs}var _c={},ag;function u6(){if(ag)return _c;ag=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.fillOptions=e;function e(u){u.root||(u.root={pathname:"/",state:null})}return _c}var ng;function a6(){if(ng)return os;ng=1;var e=Lt();Object.defineProperty(os,"__esModule",{value:!0}),os.RootRouteBuilder=void 0;var u=e(Ca()),n=e(ya()),r=zs(),l=e6(),f=t6(),h=so(),D=u6();function E(N,x,P){p(N,x),x.set(N,P)}function p(N,x){if(x.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}var b=new WeakMap,T=new WeakMap,y=new WeakMap;let v=class Id extends h.SingleRouteAbstractBuilder{static init(x={}){(0,D.fillOptions)(x);const P=new r.BuilderLink({composer:new l.ConstLocationComposer(x.root)});return new Id(P,x.root)}constructor(x,P){super(),E(this,b,{writable:!0,value:void 0}),E(this,T,{writable:!0,value:void 0}),E(this,y,{writable:!0,value:void 0}),(0,n.default)(this,y,x),(0,n.default)(this,b,P),(0,n.default)(this,T,new f.ConstRouteRecord(this,P,void 0)),x.register(this,()=>{const B=(0,u.default)(this,T);return{type:"normal",value:B,link:B.getAttachedBuilderLink()}})}action(x){const P=(0,u.default)(this,b),B=new Id((0,u.default)(this,y).inherit(),P);return(0,n.default)(B,T,new f.ConstRouteRecord(B,P,x)),B}getRoute(){return(0,u.default)(this,T)}getBuilderLink(){return(0,u.default)(this,y)}};return os.RootRouteBuilder=v,os}var ms={},Es={},ig;function n6(){if(ig)return Es;ig=1;var e=Lt();Object.defineProperty(Es,"__esModule",{value:!0}),Es.SearchLocationComposer=void 0;var u=e(ru());let n=class{constructor(l,f){(0,u.default)(this,"key",void 0),(0,u.default)(this,"optional",void 0),this.key=l,this.optional=f}isLeaf(l){return!l.search}compose(l,f){const h=new URLSearchParams(l.search);f!==void 0&&h.set(this.key,f);const D=h.toString();return{...l,search:D&&"?"+D}}decompose(l){const{search:f}=l,h=new URLSearchParams(f),D=h.get(this.key);if(D===null)return this.optional?[{leaf:!1,segment:void 0,nextLocation:l}]:[];h.delete(this.key);const E=h.toString(),p={...l,search:E&&"?"+E};return[{leaf:!1,segment:D,nextLocation:p}]}};return Es.SearchLocationComposer=n,Es}var rg;function i6(){if(rg)return ms;rg=1;var e=Lt();Object.defineProperty(ms,"__esModule",{value:!0}),ms.SearchRouteBuilder=void 0;var u=e(ru()),n=e(Ca()),r=e(ya()),l=zs(),f=js(),h=n6(),D=ro(),E=so();function p(N,x,P){b(N,x),x.set(N,P)}function b(N,x){if(x.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap;let v=class wd extends E.SingleRouteAbstractBuilder{static init(x,P={}){var B;const Z=(B=P.searchKey)!==null&&B!==void 0?B:x,H=P.optional||!1,$=new l.BuilderLink({composer:new h.SearchLocationComposer(Z,H)});return new wd($,x,H)}constructor(x,P,B){super(),(0,u.default)(this,"matchKey",void 0),(0,u.default)(this,"optional",void 0),p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:void 0}),(0,r.default)(this,T,x),this.matchKey=P,this.optional=B,(0,r.default)(this,y,new D.MatchingRouteRecord(this,P,B?f.isStringOrUndefined:f.isString,void 0)),x.register(this,Z=>{const H=(0,n.default)(this,y);return{type:"matching",value:H,link:H.getAttachedBuilderLink(),matchKey:P,matchValue:Z}})}action(x){const P=new wd((0,n.default)(this,T).inherit(),this.matchKey,this.optional);return(0,r.default)(P,y,new D.MatchingRouteRecord(P,this.matchKey,this.optional?f.isStringOrUndefined:f.isString,x)),P}getRoute(){return(0,n.default)(this,y)}getBuilderLink(){return(0,n.default)(this,T)}};return ms.SearchRouteBuilder=v,ms}var Ds={},ps={},sg;function r6(){if(sg)return ps;sg=1;var e=Lt();Object.defineProperty(ps,"__esModule",{value:!0}),ps.SingleHashLocationComposer=void 0;var u=e(ru());let n=class{constructor(l){(0,u.default)(this,"optional",void 0),this.optional=l}isLeaf(l){return!l.hash}compose(l,f){return{...l,hash:f!==void 0?"#"+f:""}}decompose(l){const{hash:f}=l;if(!(f!=null&&f.startsWith("#")))return this.optional?[{leaf:!1,segment:void 0,nextLocation:l}]:[];const h={...l,hash:""};return[{leaf:!1,segment:f.slice(1),nextLocation:h}]}};return ps.SingleHashLocationComposer=n,ps}var lg;function s6(){if(lg)return Ds;lg=1;var e=Lt();Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.SingleHashRouteBuilder=void 0;var u=e(ru()),n=e(Ca()),r=e(ya()),l=zs(),f=js(),h=r6(),D=ro(),E=so();function p(N,x,P){b(N,x),x.set(N,P)}function b(N,x){if(x.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap;let v=class Ud extends E.SingleRouteAbstractBuilder{static init(x,P={}){const B=P.optional||!1,Z=new l.BuilderLink({composer:new h.SingleHashLocationComposer(B)});return new Ud(Z,x,B)}constructor(x,P,B){super(),(0,u.default)(this,"matchKey",void 0),(0,u.default)(this,"optional",void 0),p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:void 0}),(0,r.default)(this,T,x),this.matchKey=P,this.optional=B,(0,r.default)(this,y,new D.MatchingRouteRecord(this,P,B?f.isStringOrUndefined:f.isString,void 0)),x.register(this,Z=>{const H=(0,n.default)(this,y);return{type:"matching",value:H,link:H.getAttachedBuilderLink(),matchKey:P,matchValue:Z}})}action(x){const P=new Ud((0,n.default)(this,T).inherit(),this.matchKey,this.optional);return(0,r.default)(P,y,new D.MatchingRouteRecord(P,this.matchKey,this.optional?f.isStringOrUndefined:f.isString,x)),P}getRoute(){return(0,n.default)(this,y)}getBuilderLink(){return(0,n.default)(this,T)}};return Ds.SingleHashRouteBuilder=v,Ds}var gs={},bs={},cg;function l6(){if(cg)return bs;cg=1;var e=Lt();Object.defineProperty(bs,"__esModule",{value:!0}),bs.StateLocationComposer=void 0;var u=e(ru());let n=class{constructor(l,f,h){(0,u.default)(this,"key",void 0),(0,u.default)(this,"optional",void 0),(0,u.default)(this,"validator",void 0),this.key=l,this.optional=h,this.validator=f}isLeaf(l){var f;return((f=l.state)===null||f===void 0?void 0:f[this.key])===void 0}compose(l,f){const h={...l.state,[this.key]:f};return{...l,state:h}}decompose(l){const{state:f}=l,h=f?.[this.key];if(h===void 0)return this.optional?[{leaf:!1,segment:void 0,nextLocation:l}]:[];if(!this.validator(h))return[];const{[this.key]:D,...E}=f,p={...l,state:E};return[{leaf:!1,segment:h,nextLocation:p}]}};return bs.StateLocationComposer=n,bs}var og;function c6(){if(og)return gs;og=1;var e=Lt();Object.defineProperty(gs,"__esModule",{value:!0}),gs.StateRouteBuilder=void 0;var u=e(ru()),n=e(Ca()),r=e(ya()),l=zs(),f=js(),h=l6(),D=ro(),E=so();function p(x,P,B){b(x,P),P.set(x,B)}function b(x,P){if(P.has(x))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap,v=new WeakMap;let N=class Pd extends E.SingleRouteAbstractBuilder{static init(P,B,Z={}){var H;const $=(H=Z.stateKey)!==null&&H!==void 0?H:P,ue=Z.optional||!1,te=ue?(0,f.isUndefinedOr)(B):B,q=new l.BuilderLink({composer:new h.StateLocationComposer($,te,ue)});return new Pd(q,P,te)}constructor(P,B,Z){super(),(0,u.default)(this,"matchKey",void 0),p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:void 0}),p(this,v,{writable:!0,value:void 0}),(0,r.default)(this,T,P),this.matchKey=B,(0,r.default)(this,y,Z),(0,r.default)(this,v,new D.MatchingRouteRecord(this,B,Z,void 0)),P.register(this,H=>{const $=(0,n.default)(this,v);return{type:"matching",value:$,link:$.getAttachedBuilderLink(),matchKey:B,matchValue:H}})}action(P){const B=(0,n.default)(this,y),Z=new Pd((0,n.default)(this,T).inherit(),this.matchKey,B);return(0,r.default)(Z,v,new D.MatchingRouteRecord(Z,this.matchKey,B,P)),Z}getRoute(){return(0,n.default)(this,v)}getBuilderLink(){return(0,n.default)(this,T)}};return gs.StateRouteBuilder=N,gs}var fg;function o6(){if(fg)return Yt;fg=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.Resolver=Yt.SingleHash=Yt.Root=Yt.State=Yt.Search=Yt.Path=void 0;var e=WA(),u=a6(),n=Fb(),r=i6(),l=s6(),f=c6();const h=e.PathRouteBuilder.init;Yt.Path=h;const D=r.SearchRouteBuilder.init;Yt.Search=D;const E=f.StateRouteBuilder.init;Yt.State=E;const p=u.RootRouteBuilder.init;Yt.Root=p;const b=l.SingleHashRouteBuilder.init;Yt.SingleHash=b;const T=n.RoutePathResolver.getFromBuilder;return Yt.Resolver=T,Yt}var dg;function f6(){if(dg)return gu;dg=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.SingleHash=gu.Root=gu.State=gu.Search=gu.Path=void 0;var e=o6();const u=e.Path;gu.Path=u;const n=e.Search;gu.Search=n;const r=e.State;gu.State=r;const l=e.Root;gu.Root=l;const f=e.SingleHash;return gu.SingleHash=f,gu}var hg;function d6(){return hg||(hg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var u={validator:!0,Link:!0,Redirect:!0,RoconRoot:!0,isLocationNotFoundError:!0,LocationNotFoundError:!0,useHistory:!0,useLocation:!0,useNavigate:!0,useRoutes:!0};Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return r.Link}}),Object.defineProperty(e,"Redirect",{enumerable:!0,get:function(){return l.Redirect}}),Object.defineProperty(e,"RoconRoot",{enumerable:!0,get:function(){return f.RoconRoot}}),Object.defineProperty(e,"isLocationNotFoundError",{enumerable:!0,get:function(){return h.isLocationNotFoundError}}),Object.defineProperty(e,"LocationNotFoundError",{enumerable:!0,get:function(){return h.LocationNotFoundError}}),Object.defineProperty(e,"useHistory",{enumerable:!0,get:function(){return D.useHistory}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return E.useLocation}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return p.useNavigate}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return b.useRoutes}}),e.validator=void 0;var n=v(js());e.validator=n;var r=OA(),l=FA(),f=UA(),h=Sb(),D=PA(),E=Nb(),p=Ah(),b=zA(),T=f6();Object.keys(T).forEach(function(N){N==="default"||N==="__esModule"||Object.prototype.hasOwnProperty.call(u,N)||N in e&&e[N]===T[N]||Object.defineProperty(e,N,{enumerable:!0,get:function(){return T[N]}})});function y(N){if(typeof WeakMap!="function")return null;var x=new WeakMap,P=new WeakMap;return(y=function(B){return B?P:x})(N)}function v(N,x){if(N&&N.__esModule)return N;if(N===null||typeof N!="object"&&typeof N!="function")return{default:N};var P=y(x);if(P&&P.has(N))return P.get(N);var B={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in N)if(H!=="default"&&Object.prototype.hasOwnProperty.call(N,H)){var $=Z?Object.getOwnPropertyDescriptor(N,H):null;$&&($.get||$.set)?Object.defineProperty(B,H,$):B[H]=N[H]}return B.default=N,P&&P.set(N,B),B}})(Q0)),Q0}var mg;function h6(){return mg||(mg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var u={Rocon:!0};e.default=e.Rocon=void 0;var n=l(d6());e.Rocon=n,e.default=n,Object.keys(n).forEach(function(f){f==="default"||f==="__esModule"||Object.prototype.hasOwnProperty.call(u,f)||f in e&&e[f]===n[f]||Object.defineProperty(e,f,{enumerable:!0,get:function(){return n[f]}})});function r(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,D=new WeakMap;return(r=function(E){return E?D:h})(f)}function l(f,h){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var D=r(h);if(D&&D.has(f))return D.get(f);var E={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in f)if(b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)){var T=p?Object.getOwnPropertyDescriptor(f,b):null;T&&(T.get||T.set)?Object.defineProperty(E,b,T):E[b]=f[b]}return E.default=f,D&&D.set(f,E),E}})(V0)),V0}var sd,Eg;function m6(){return Eg||(Eg=1,sd=h6()),sd}var Vt=m6();const Mi=io(Vt);var nu=function(){return nu=Object.assign||function(u){for(var n,r=1,l=arguments.length;r<l;r++){n=arguments[r];for(var f in n)Object.prototype.hasOwnProperty.call(n,f)&&(u[f]=n[f])}return u},nu.apply(this,arguments)};function Ls(e,u,n){if(n||arguments.length===2)for(var r=0,l=u.length,f;r<l;r++)(f||!(r in u))&&(f||(f=Array.prototype.slice.call(u,0,r)),f[r]=u[r]);return e.concat(f||Array.prototype.slice.call(u))}var st="-ms-",ys="-moz-",Xe="-webkit-",Bb="comm",lo="rule",Ch="decl",E6="@import",Mb="@keyframes",D6="@layer",Ib=Math.abs,yh=String.fromCharCode,Hd=Object.assign;function p6(e,u){return Ft(e,0)^45?(((u<<2^Ft(e,0))<<2^Ft(e,1))<<2^Ft(e,2))<<2^Ft(e,3):0}function wb(e){return e.trim()}function ba(e,u){return(e=u.exec(e))?e[0]:e}function Re(e,u,n){return e.replace(u,n)}function Fc(e,u,n){return e.indexOf(u,n)}function Ft(e,u){return e.charCodeAt(u)|0}function Ii(e,u,n){return e.slice(u,n)}function Ku(e){return e.length}function Ub(e){return e.length}function vs(e,u){return u.push(e),e}function g6(e,u){return e.map(u).join("")}function Dg(e,u){return e.filter(function(n){return!ba(n,u)})}var co=1,wi=1,Pb=0,wu=0,vt=0,qi="";function oo(e,u,n,r,l,f,h,D){return{value:e,root:u,parent:n,type:r,props:l,children:f,line:co,column:wi,length:h,return:"",siblings:D}}function Ja(e,u){return Hd(oo("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},u)}function yi(e){for(;e.root;)e=Ja(e.root,{children:[e]});vs(e,e.siblings)}function b6(){return vt}function T6(){return vt=wu>0?Ft(qi,--wu):0,wi--,vt===10&&(wi=1,co--),vt}function zu(){return vt=wu<Pb?Ft(qi,wu++):0,wi++,vt===10&&(wi=1,co++),vt}function Ln(){return Ft(qi,wu)}function xc(){return wu}function fo(e,u){return Ii(qi,e,u)}function kd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _6(e){return co=wi=1,Pb=Ku(qi=e),wu=0,[]}function A6(e){return qi="",e}function ld(e){return wb(fo(wu-1,jd(e===91?e+2:e===40?e+1:e)))}function v6(e){for(;(vt=Ln())&&vt<33;)zu();return kd(e)>2||kd(vt)>3?"":" "}function C6(e,u){for(;--u&&zu()&&!(vt<48||vt>102||vt>57&&vt<65||vt>70&&vt<97););return fo(e,xc()+(u<6&&Ln()==32&&zu()==32))}function jd(e){for(;zu();)switch(vt){case e:return wu;case 34:case 39:e!==34&&e!==39&&jd(vt);break;case 40:e===41&&jd(e);break;case 92:zu();break}return wu}function y6(e,u){for(;zu()&&e+vt!==57;)if(e+vt===84&&Ln()===47)break;return"/*"+fo(u,wu-1)+"*"+yh(e===47?e:zu())}function S6(e){for(;!kd(Ln());)zu();return fo(e,wu)}function N6(e){return A6(Lc("",null,null,null,[""],e=_6(e),0,[0],e))}function Lc(e,u,n,r,l,f,h,D,E){for(var p=0,b=0,T=h,y=0,v=0,N=0,x=1,P=1,B=1,Z=0,H="",$=l,ue=f,te=r,q=H;P;)switch(N=Z,Z=zu()){case 40:if(N!=108&&Ft(q,T-1)==58){Fc(q+=Re(ld(Z),"&","&\f"),"&\f",Ib(p?D[p-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:q+=ld(Z);break;case 9:case 10:case 13:case 32:q+=v6(N);break;case 92:q+=C6(xc()-1,7);continue;case 47:switch(Ln()){case 42:case 47:vs(R6(y6(zu(),xc()),u,n,E),E);break;default:q+="/"}break;case 123*x:D[p++]=Ku(q)*B;case 125*x:case 59:case 0:switch(Z){case 0:case 125:P=0;case 59+b:B==-1&&(q=Re(q,/\f/g,"")),v>0&&Ku(q)-T&&vs(v>32?gg(q+";",r,n,T-1,E):gg(Re(q," ","")+";",r,n,T-2,E),E);break;case 59:q+=";";default:if(vs(te=pg(q,u,n,p,b,l,D,H,$=[],ue=[],T,f),f),Z===123)if(b===0)Lc(q,u,te,te,$,f,T,D,ue);else switch(y===99&&Ft(q,3)===110?100:y){case 100:case 108:case 109:case 115:Lc(e,te,te,r&&vs(pg(e,te,te,0,0,l,D,H,l,$=[],T,ue),ue),l,ue,T,D,r?$:ue);break;default:Lc(q,te,te,te,[""],ue,0,D,ue)}}p=b=v=0,x=B=1,H=q="",T=h;break;case 58:T=1+Ku(q),v=N;default:if(x<1){if(Z==123)--x;else if(Z==125&&x++==0&&T6()==125)continue}switch(q+=yh(Z),Z*x){case 38:B=b>0?1:(q+="\f",-1);break;case 44:D[p++]=(Ku(q)-1)*B,B=1;break;case 64:Ln()===45&&(q+=ld(zu())),y=Ln(),b=T=Ku(H=q+=S6(xc())),Z++;break;case 45:N===45&&Ku(q)==2&&(x=0)}}return f}function pg(e,u,n,r,l,f,h,D,E,p,b,T){for(var y=l-1,v=l===0?f:[""],N=Ub(v),x=0,P=0,B=0;x<r;++x)for(var Z=0,H=Ii(e,y+1,y=Ib(P=h[x])),$=e;Z<N;++Z)($=wb(P>0?v[Z]+" "+H:Re(H,/&\f/g,v[Z])))&&(E[B++]=$);return oo(e,u,n,l===0?lo:D,E,p,b,T)}function R6(e,u,n,r){return oo(e,u,n,Bb,yh(b6()),Ii(e,2,-2),0,r)}function gg(e,u,n,r,l){return oo(e,u,n,Ch,Ii(e,0,r),Ii(e,r+1,-1),r,l)}function Hb(e,u,n){switch(p6(e,u)){case 5103:return Xe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Xe+e+e;case 4789:return ys+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xe+e+ys+e+st+e+e;case 5936:switch(Ft(e,u+11)){case 114:return Xe+e+st+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xe+e+st+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xe+e+st+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Xe+e+st+e+e;case 6165:return Xe+e+st+"flex-"+e+e;case 5187:return Xe+e+Re(e,/(\w+).+(:[^]+)/,Xe+"box-$1$2"+st+"flex-$1$2")+e;case 5443:return Xe+e+st+"flex-item-"+Re(e,/flex-|-self/g,"")+(ba(e,/flex-|baseline/)?"":st+"grid-row-"+Re(e,/flex-|-self/g,""))+e;case 4675:return Xe+e+st+"flex-line-pack"+Re(e,/align-content|flex-|-self/g,"")+e;case 5548:return Xe+e+st+Re(e,"shrink","negative")+e;case 5292:return Xe+e+st+Re(e,"basis","preferred-size")+e;case 6060:return Xe+"box-"+Re(e,"-grow","")+Xe+e+st+Re(e,"grow","positive")+e;case 4554:return Xe+Re(e,/([^-])(transform)/g,"$1"+Xe+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Xe+"$1"),/(image-set)/,Xe+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Xe+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Xe+"box-pack:$3"+st+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xe+e+e;case 4200:if(!ba(e,/flex-|baseline/))return st+"grid-column-align"+Ii(e,u)+e;break;case 2592:case 3360:return st+Re(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,l){return u=l,ba(r.props,/grid-\w+-end/)})?~Fc(e+(n=n[u].value),"span",0)?e:st+Re(e,"-start","")+e+st+"grid-row-span:"+(~Fc(n,"span",0)?ba(n,/\d+/):+ba(n,/\d+/)-+ba(e,/\d+/))+";":st+Re(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ba(r.props,/grid-\w+-start/)})?e:st+Re(Re(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Xe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ku(e)-1-u>6)switch(Ft(e,u+1)){case 109:if(Ft(e,u+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Xe+"$2-$3$1"+ys+(Ft(e,u+3)==108?"$3":"$2-$3"))+e;case 115:return~Fc(e,"stretch",0)?Hb(Re(e,"stretch","fill-available"),u,n)+e:e}break;case 5152:case 5920:return Re(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,l,f,h,D,E,p){return st+l+":"+f+p+(h?st+l+"-span:"+(D?E:+E-+f)+p:"")+e});case 4949:if(Ft(e,u+6)===121)return Re(e,":",":"+Xe)+e;break;case 6444:switch(Ft(e,Ft(e,14)===45?18:11)){case 120:return Re(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Xe+(Ft(e,14)===45?"inline-":"")+"box$3$1"+Xe+"$2$3$1"+st+"$2box$3")+e;case 100:return Re(e,":",":"+st)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Re(e,"scroll-","scroll-snap-")+e}return e}function jc(e,u){for(var n="",r=0;r<e.length;r++)n+=u(e[r],r,e,u)||"";return n}function O6(e,u,n,r){switch(e.type){case D6:if(e.children.length)break;case E6:case Ch:return e.return=e.return||e.value;case Bb:return"";case Mb:return e.return=e.value+"{"+jc(e.children,r)+"}";case lo:if(!Ku(e.value=e.props.join(",")))return""}return Ku(n=jc(e.children,r))?e.return=e.value+"{"+n+"}":""}function F6(e){var u=Ub(e);return function(n,r,l,f){for(var h="",D=0;D<u;D++)h+=e[D](n,r,l,f)||"";return h}}function x6(e){return function(u){u.root||(u=u.return)&&e(u)}}function L6(e,u,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ch:e.return=Hb(e.value,e.length,n);return;case Mb:return jc([Ja(e,{value:Re(e.value,"@","@"+Xe)})],r);case lo:if(e.length)return g6(n=e.props,function(l){switch(ba(l,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":yi(Ja(e,{props:[Re(l,/:(read-\w+)/,":"+ys+"$1")]})),yi(Ja(e,{props:[l]})),Hd(e,{props:Dg(n,r)});break;case"::placeholder":yi(Ja(e,{props:[Re(l,/:(plac\w+)/,":"+Xe+"input-$1")]})),yi(Ja(e,{props:[Re(l,/:(plac\w+)/,":"+ys+"$1")]})),yi(Ja(e,{props:[Re(l,/:(plac\w+)/,st+"input-$1")]})),yi(Ja(e,{props:[l]})),Hd(e,{props:Dg(n,r)});break}return""})}}var B6={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bu={},Ui=typeof process<"u"&&bu!==void 0&&(bu.REACT_APP_SC_ATTR||bu.SC_ATTR)||"data-styled",kb="active",jb="data-styled-version",ho="6.1.19",Sh=`/*!sc*/
|
|
10
|
-
`,zc=typeof window<"u"&&typeof document<"u",M6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&bu!==void 0&&bu.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&bu.REACT_APP_SC_DISABLE_SPEEDY!==""?bu.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&bu.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&bu!==void 0&&bu.SC_DISABLE_SPEEDY!==void 0&&bu.SC_DISABLE_SPEEDY!==""&&bu.SC_DISABLE_SPEEDY!=="false"&&bu.SC_DISABLE_SPEEDY),mo=Object.freeze([]),Pi=Object.freeze({});function I6(e,u,n){return n===void 0&&(n=Pi),e.theme!==n.theme&&e.theme||u||n.theme}var zb=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),w6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,U6=/(^-|-$)/g;function bg(e){return e.replace(w6,"-").replace(U6,"")}var P6=/(a)(d)/gi,Ac=52,Tg=function(e){return String.fromCharCode(e+(e>25?39:97))};function zd(e){var u,n="";for(u=Math.abs(e);u>Ac;u=u/Ac|0)n=Tg(u%Ac)+n;return(Tg(u%Ac)+n).replace(P6,"$1-$2")}var cd,qb=5381,Ri=function(e,u){for(var n=u.length;n;)e=33*e^u.charCodeAt(--n);return e},Yb=function(e){return Ri(qb,e)};function Gb(e){return zd(Yb(e)>>>0)}function H6(e){return e.displayName||e.name||"Component"}function od(e){return typeof e=="string"&&!0}var Vb=typeof Symbol=="function"&&Symbol.for,Qb=Vb?Symbol.for("react.memo"):60115,k6=Vb?Symbol.for("react.forward_ref"):60112,j6={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z6={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xb={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q6=((cd={})[k6]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},cd[Qb]=Xb,cd);function _g(e){return("type"in(u=e)&&u.type.$$typeof)===Qb?Xb:"$$typeof"in e?q6[e.$$typeof]:j6;var u}var Y6=Object.defineProperty,G6=Object.getOwnPropertyNames,Ag=Object.getOwnPropertySymbols,V6=Object.getOwnPropertyDescriptor,Q6=Object.getPrototypeOf,vg=Object.prototype;function Kb(e,u,n){if(typeof u!="string"){if(vg){var r=Q6(u);r&&r!==vg&&Kb(e,r,n)}var l=G6(u);Ag&&(l=l.concat(Ag(u)));for(var f=_g(e),h=_g(u),D=0;D<l.length;++D){var E=l[D];if(!(E in z6||n&&n[E]||h&&E in h||f&&E in f)){var p=V6(u,E);try{Y6(e,E,p)}catch{}}}}return e}function Hi(e){return typeof e=="function"}function Nh(e){return typeof e=="object"&&"styledComponentId"in e}function Fn(e,u){return e&&u?"".concat(e," ").concat(u):e||u||""}function qd(e,u){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Bs(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Yd(e,u,n){if(n===void 0&&(n=!1),!n&&!Bs(e)&&!Array.isArray(e))return u;if(Array.isArray(u))for(var r=0;r<u.length;r++)e[r]=Yd(e[r],u[r]);else if(Bs(u))for(var r in u)e[r]=Yd(e[r],u[r]);return e}function Rh(e,u){Object.defineProperty(e,"toString",{value:u})}function qs(e){for(var u=[],n=1;n<arguments.length;n++)u[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(u.length>0?" Args: ".concat(u.join(", ")):""))}var X6=(function(){function e(u){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=u}return e.prototype.indexOfGroup=function(u){for(var n=0,r=0;r<u;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(u,n){if(u>=this.groupSizes.length){for(var r=this.groupSizes,l=r.length,f=l;u>=f;)if((f<<=1)<0)throw qs(16,"".concat(u));this.groupSizes=new Uint32Array(f),this.groupSizes.set(r),this.length=f;for(var h=l;h<f;h++)this.groupSizes[h]=0}for(var D=this.indexOfGroup(u+1),E=(h=0,n.length);h<E;h++)this.tag.insertRule(D,n[h])&&(this.groupSizes[u]++,D++)},e.prototype.clearGroup=function(u){if(u<this.length){var n=this.groupSizes[u],r=this.indexOfGroup(u),l=r+n;this.groupSizes[u]=0;for(var f=r;f<l;f++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(u){var n="";if(u>=this.length||this.groupSizes[u]===0)return n;for(var r=this.groupSizes[u],l=this.indexOfGroup(u),f=l+r,h=l;h<f;h++)n+="".concat(this.tag.getRule(h)).concat(Sh);return n},e})(),Bc=new Map,qc=new Map,Mc=1,vc=function(e){if(Bc.has(e))return Bc.get(e);for(;qc.has(Mc);)Mc++;var u=Mc++;return Bc.set(e,u),qc.set(u,e),u},K6=function(e,u){Mc=u+1,Bc.set(e,u),qc.set(u,e)},Z6="style[".concat(Ui,"][").concat(jb,'="').concat(ho,'"]'),$6=new RegExp("^".concat(Ui,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),W6=function(e,u,n){for(var r,l=n.split(","),f=0,h=l.length;f<h;f++)(r=l[f])&&e.registerName(u,r)},J6=function(e,u){for(var n,r=((n=u.textContent)!==null&&n!==void 0?n:"").split(Sh),l=[],f=0,h=r.length;f<h;f++){var D=r[f].trim();if(D){var E=D.match($6);if(E){var p=0|parseInt(E[1],10),b=E[2];p!==0&&(K6(b,p),W6(e,b,E[3]),e.getTag().insertRules(p,l)),l.length=0}else l.push(D)}}},Cg=function(e){for(var u=document.querySelectorAll(Z6),n=0,r=u.length;n<r;n++){var l=u[n];l&&l.getAttribute(Ui)!==kb&&(J6(e,l),l.parentNode&&l.parentNode.removeChild(l))}};function ev(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Zb=function(e){var u=document.head,n=e||u,r=document.createElement("style"),l=(function(D){var E=Array.from(D.querySelectorAll("style[".concat(Ui,"]")));return E[E.length-1]})(n),f=l!==void 0?l.nextSibling:null;r.setAttribute(Ui,kb),r.setAttribute(jb,ho);var h=ev();return h&&r.setAttribute("nonce",h),n.insertBefore(r,f),r},tv=(function(){function e(u){this.element=Zb(u),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,l=0,f=r.length;l<f;l++){var h=r[l];if(h.ownerNode===n)return h}throw qs(17)})(this.element),this.length=0}return e.prototype.insertRule=function(u,n){try{return this.sheet.insertRule(n,u),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(u){this.sheet.deleteRule(u),this.length--},e.prototype.getRule=function(u){var n=this.sheet.cssRules[u];return n&&n.cssText?n.cssText:""},e})(),uv=(function(){function e(u){this.element=Zb(u),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(u,n){if(u<=this.length&&u>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[u]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(u){this.element.removeChild(this.nodes[u]),this.length--},e.prototype.getRule=function(u){return u<this.length?this.nodes[u].textContent:""},e})(),av=(function(){function e(u){this.rules=[],this.length=0}return e.prototype.insertRule=function(u,n){return u<=this.length&&(this.rules.splice(u,0,n),this.length++,!0)},e.prototype.deleteRule=function(u){this.rules.splice(u,1),this.length--},e.prototype.getRule=function(u){return u<this.length?this.rules[u]:""},e})(),yg=zc,nv={isServer:!zc,useCSSOMInjection:!M6},$b=(function(){function e(u,n,r){u===void 0&&(u=Pi),n===void 0&&(n={});var l=this;this.options=nu(nu({},nv),u),this.gs=n,this.names=new Map(r),this.server=!!u.isServer,!this.server&&zc&&yg&&(yg=!1,Cg(this)),Rh(this,function(){return(function(f){for(var h=f.getTag(),D=h.length,E="",p=function(T){var y=(function(B){return qc.get(B)})(T);if(y===void 0)return"continue";var v=f.names.get(y),N=h.getGroup(T);if(v===void 0||!v.size||N.length===0)return"continue";var x="".concat(Ui,".g").concat(T,'[id="').concat(y,'"]'),P="";v!==void 0&&v.forEach(function(B){B.length>0&&(P+="".concat(B,","))}),E+="".concat(N).concat(x,'{content:"').concat(P,'"}').concat(Sh)},b=0;b<D;b++)p(b);return E})(l)})}return e.registerId=function(u){return vc(u)},e.prototype.rehydrate=function(){!this.server&&zc&&Cg(this)},e.prototype.reconstructWithOptions=function(u,n){return n===void 0&&(n=!0),new e(nu(nu({},this.options),u),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(u){return this.gs[u]=(this.gs[u]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(u=(function(n){var r=n.useCSSOMInjection,l=n.target;return n.isServer?new av(l):r?new tv(l):new uv(l)})(this.options),new X6(u)));var u},e.prototype.hasNameForId=function(u,n){return this.names.has(u)&&this.names.get(u).has(n)},e.prototype.registerName=function(u,n){if(vc(u),this.names.has(u))this.names.get(u).add(n);else{var r=new Set;r.add(n),this.names.set(u,r)}},e.prototype.insertRules=function(u,n,r){this.registerName(u,n),this.getTag().insertRules(vc(u),r)},e.prototype.clearNames=function(u){this.names.has(u)&&this.names.get(u).clear()},e.prototype.clearRules=function(u){this.getTag().clearGroup(vc(u)),this.clearNames(u)},e.prototype.clearTag=function(){this.tag=void 0},e})(),iv=/&/g,rv=/^\s*\/\/.*$/gm;function Wb(e,u){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(u," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(u," ")),n.props=n.props.map(function(r){return"".concat(u," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Wb(n.children,u)),n})}function sv(e){var u,n,r,l=Pi,f=l.options,h=f===void 0?Pi:f,D=l.plugins,E=D===void 0?mo:D,p=function(y,v,N){return N.startsWith(n)&&N.endsWith(n)&&N.replaceAll(n,"").length>0?".".concat(u):y},b=E.slice();b.push(function(y){y.type===lo&&y.value.includes("&")&&(y.props[0]=y.props[0].replace(iv,n).replace(r,p))}),h.prefix&&b.push(L6),b.push(O6);var T=function(y,v,N,x){v===void 0&&(v=""),N===void 0&&(N=""),x===void 0&&(x="&"),u=x,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var P=y.replace(rv,""),B=N6(N||v?"".concat(N," ").concat(v," { ").concat(P," }"):P);h.namespace&&(B=Wb(B,h.namespace));var Z=[];return jc(B,F6(b.concat(x6(function(H){return Z.push(H)})))),Z};return T.hash=E.length?E.reduce(function(y,v){return v.name||qs(15),Ri(y,v.name)},qb).toString():"",T}var lv=new $b,Gd=sv(),Jb=jt.createContext({shouldForwardProp:void 0,styleSheet:lv,stylis:Gd});Jb.Consumer;jt.createContext(void 0);function Sg(){return Te.useContext(Jb)}var e2=(function(){function e(u,n){var r=this;this.inject=function(l,f){f===void 0&&(f=Gd);var h=r.name+f.hash;l.hasNameForId(r.id,h)||l.insertRules(r.id,h,f(r.rules,h,"@keyframes"))},this.name=u,this.id="sc-keyframes-".concat(u),this.rules=n,Rh(this,function(){throw qs(12,String(r.name))})}return e.prototype.getName=function(u){return u===void 0&&(u=Gd),this.name+u.hash},e})(),cv=function(e){return e>="A"&&e<="Z"};function Ng(e){for(var u="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;cv(r)?u+="-"+r.toLowerCase():u+=r}return u.startsWith("ms-")?"-"+u:u}var t2=function(e){return e==null||e===!1||e===""},u2=function(e){var u,n,r=[];for(var l in e){var f=e[l];e.hasOwnProperty(l)&&!t2(f)&&(Array.isArray(f)&&f.isCss||Hi(f)?r.push("".concat(Ng(l),":"),f,";"):Bs(f)?r.push.apply(r,Ls(Ls(["".concat(l," {")],u2(f),!1),["}"],!1)):r.push("".concat(Ng(l),": ").concat((u=l,(n=f)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||u in B6||u.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Bn(e,u,n,r){if(t2(e))return[];if(Nh(e))return[".".concat(e.styledComponentId)];if(Hi(e)){if(!Hi(f=e)||f.prototype&&f.prototype.isReactComponent||!u)return[e];var l=e(u);return Bn(l,u,n,r)}var f;return e instanceof e2?n?(e.inject(n,r),[e.getName(r)]):[e]:Bs(e)?u2(e):Array.isArray(e)?Array.prototype.concat.apply(mo,e.map(function(h){return Bn(h,u,n,r)})):[e.toString()]}function ov(e){for(var u=0;u<e.length;u+=1){var n=e[u];if(Hi(n)&&!Nh(n))return!1}return!0}var fv=Yb(ho),dv=(function(){function e(u,n,r){this.rules=u,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&ov(u),this.componentId=n,this.baseHash=Ri(fv,n),this.baseStyle=r,$b.registerId(n)}return e.prototype.generateAndInjectStyles=function(u,n,r){var l=this.baseStyle?this.baseStyle.generateAndInjectStyles(u,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))l=Fn(l,this.staticRulesId);else{var f=qd(Bn(this.rules,u,n,r)),h=zd(Ri(this.baseHash,f)>>>0);if(!n.hasNameForId(this.componentId,h)){var D=r(f,".".concat(h),void 0,this.componentId);n.insertRules(this.componentId,h,D)}l=Fn(l,h),this.staticRulesId=h}else{for(var E=Ri(this.baseHash,r.hash),p="",b=0;b<this.rules.length;b++){var T=this.rules[b];if(typeof T=="string")p+=T;else if(T){var y=qd(Bn(T,u,n,r));E=Ri(E,y+b),p+=y}}if(p){var v=zd(E>>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(p,".".concat(v),void 0,this.componentId)),l=Fn(l,v)}}return l},e})(),a2=jt.createContext(void 0);a2.Consumer;var fd={};function hv(e,u,n){var r=Nh(e),l=e,f=!od(e),h=u.attrs,D=h===void 0?mo:h,E=u.componentId,p=E===void 0?(function($,ue){var te=typeof $!="string"?"sc":bg($);fd[te]=(fd[te]||0)+1;var q="".concat(te,"-").concat(Gb(ho+te+fd[te]));return ue?"".concat(ue,"-").concat(q):q})(u.displayName,u.parentComponentId):E,b=u.displayName,T=b===void 0?(function($){return od($)?"styled.".concat($):"Styled(".concat(H6($),")")})(e):b,y=u.displayName&&u.componentId?"".concat(bg(u.displayName),"-").concat(u.componentId):u.componentId||p,v=r&&l.attrs?l.attrs.concat(D).filter(Boolean):D,N=u.shouldForwardProp;if(r&&l.shouldForwardProp){var x=l.shouldForwardProp;if(u.shouldForwardProp){var P=u.shouldForwardProp;N=function($,ue){return x($,ue)&&P($,ue)}}else N=x}var B=new dv(n,y,r?l.componentStyle:void 0);function Z($,ue){return(function(te,q,K){var ie=te.attrs,pe=te.componentStyle,be=te.defaultProps,ye=te.foldedComponentIds,He=te.styledComponentId,Se=te.target,Ve=jt.useContext(a2),Y=Sg(),ne=te.shouldForwardProp||Y.shouldForwardProp,ce=I6(q,Ve,be)||Pi,Ae=(function(fe,ge,Ne){for(var nt,ke=nu(nu({},ge),{className:void 0,theme:Ne}),j=0;j<fe.length;j+=1){var de=Hi(nt=fe[j])?nt(ke):nt;for(var Pe in de)ke[Pe]=Pe==="className"?Fn(ke[Pe],de[Pe]):Pe==="style"?nu(nu({},ke[Pe]),de[Pe]):de[Pe]}return ge.className&&(ke.className=Fn(ke.className,ge.className)),ke})(ie,q,ce),Me=Ae.as||Se,O={};for(var G in Ae)Ae[G]===void 0||G[0]==="$"||G==="as"||G==="theme"&&Ae.theme===ce||(G==="forwardedAs"?O.as=Ae.forwardedAs:ne&&!ne(G,Me)||(O[G]=Ae[G]));var ae=(function(fe,ge){var Ne=Sg(),nt=fe.generateAndInjectStyles(ge,Ne.styleSheet,Ne.stylis);return nt})(pe,Ae),re=Fn(ye,He);return ae&&(re+=" "+ae),Ae.className&&(re+=" "+Ae.className),O[od(Me)&&!zb.has(Me)?"class":"className"]=re,K&&(O.ref=K),Te.createElement(Me,O)})(H,$,ue)}Z.displayName=T;var H=jt.forwardRef(Z);return H.attrs=v,H.componentStyle=B,H.displayName=T,H.shouldForwardProp=N,H.foldedComponentIds=r?Fn(l.foldedComponentIds,l.styledComponentId):"",H.styledComponentId=y,H.target=r?l.target:e,Object.defineProperty(H,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function($){this._foldedDefaultProps=r?(function(ue){for(var te=[],q=1;q<arguments.length;q++)te[q-1]=arguments[q];for(var K=0,ie=te;K<ie.length;K++)Yd(ue,ie[K],!0);return ue})({},l.defaultProps,$):$}}),Rh(H,function(){return".".concat(H.styledComponentId)}),f&&Kb(H,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),H}function Rg(e,u){for(var n=[e[0]],r=0,l=u.length;r<l;r+=1)n.push(u[r],e[r+1]);return n}var Og=function(e){return Object.assign(e,{isCss:!0})};function n2(e){for(var u=[],n=1;n<arguments.length;n++)u[n-1]=arguments[n];if(Hi(e)||Bs(e))return Og(Bn(Rg(mo,Ls([e],u,!0))));var r=e;return u.length===0&&r.length===1&&typeof r[0]=="string"?Bn(r):Og(Bn(Rg(r,u)))}function Vd(e,u,n){if(n===void 0&&(n=Pi),!u)throw qs(1,u);var r=function(l){for(var f=[],h=1;h<arguments.length;h++)f[h-1]=arguments[h];return e(u,n,n2.apply(void 0,Ls([l],f,!1)))};return r.attrs=function(l){return Vd(e,u,nu(nu({},n),{attrs:Array.prototype.concat(n.attrs,l).filter(Boolean)}))},r.withConfig=function(l){return Vd(e,u,nu(nu({},n),l))},r}var i2=function(e){return Vd(hv,e)},at=i2;zb.forEach(function(e){at[e]=i2(e)});function Oh(e){for(var u=[],n=1;n<arguments.length;n++)u[n-1]=arguments[n];var r=qd(n2.apply(void 0,Ls([e],u,!1))),l=Gb(r);return new e2(l,r)}const ki=e=>A.jsx(mv,{className:"error-message",children:A.jsxs("div",{className:"error-message__inner",children:[A.jsx("img",{src:"https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/1f63f.svg",alt:"",width:90,height:90,className:"error-message__icon"}),A.jsx("div",{className:"error-message__text",children:e.message||"エラーが発生しました"})]})}),mv=at.div`
|
|
8
|
+
`+s.stack}}var Et=Object.prototype.hasOwnProperty,Ct=e.unstable_scheduleCallback,lu=e.unstable_cancelCallback,el=e.unstable_shouldYield,tl=e.unstable_requestPaint,Pt=e.unstable_now,Qt=e.unstable_getCurrentPriorityLevel,Au=e.unstable_ImmediatePriority,Pn=e.unstable_UserBlockingPriority,Hn=e.unstable_NormalPriority,Qi=e.unstable_LowPriority,a1=e.unstable_IdlePriority,K3=e.log,Z3=e.unstable_setDisableYieldValue,Xi=null,cu=null;function Na(t){if(typeof K3=="function"&&Z3(t),cu&&typeof cu.setStrictMode=="function")try{cu.setStrictMode(Xi,t)}catch{}}var ou=Math.clz32?Math.clz32:J3,$3=Math.log,W3=Math.LN2;function J3(t){return t>>>=0,t===0?32:31-($3(t)/W3|0)|0}var ul=256,al=262144,nl=4194304;function cn(t){var a=t&42;if(a!==0)return a;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function il(t,a,i){var s=t.pendingLanes;if(s===0)return 0;var c=0,o=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var g=s&134217727;return g!==0?(s=g&~o,s!==0?c=cn(s):(m&=g,m!==0?c=cn(m):i||(i=g&~t,i!==0&&(c=cn(i))))):(g=s&~o,g!==0?c=cn(g):m!==0?c=cn(m):i||(i=s&~t,i!==0&&(c=cn(i)))),c===0?0:a!==0&&a!==c&&(a&o)===0&&(o=c&-c,i=a&-a,o>=i||o===32&&(i&4194048)!==0)?a:c}function Ki(t,a){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&a)===0}function eT(t,a){switch(t){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function n1(){var t=nl;return nl<<=1,(nl&62914560)===0&&(nl=4194304),t}function No(t){for(var a=[],i=0;31>i;i++)a.push(t);return a}function Zi(t,a){t.pendingLanes|=a,a!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function tT(t,a,i,s,c,o){var m=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var g=t.entanglements,R=t.expirationTimes,w=t.hiddenUpdates;for(i=m&~i;0<i;){var V=31-ou(i),X=1<<V;g[V]=0,R[V]=-1;var U=w[V];if(U!==null)for(w[V]=null,V=0;V<U.length;V++){var k=U[V];k!==null&&(k.lane&=-536870913)}i&=~X}s!==0&&i1(t,s,0),o!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=o&~(m&~a))}function i1(t,a,i){t.pendingLanes|=a,t.suspendedLanes&=~a;var s=31-ou(a);t.entangledLanes|=a,t.entanglements[s]=t.entanglements[s]|1073741824|i&261930}function r1(t,a){var i=t.entangledLanes|=a;for(t=t.entanglements;i;){var s=31-ou(i),c=1<<s;c&a|t[s]&a&&(t[s]|=a),i&=~c}}function s1(t,a){var i=a&-a;return i=(i&42)!==0?1:Ro(i),(i&(t.suspendedLanes|a))!==0?0:i}function Ro(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Oo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function l1(){var t=ne.p;return t!==0?t:(t=window.event,t===void 0?32:QD(t.type))}function c1(t,a){var i=ne.p;try{return ne.p=t,a()}finally{ne.p=i}}var Ra=Math.random().toString(36).slice(2),Bt="__reactFiber$"+Ra,Xt="__reactProps$"+Ra,kn="__reactContainer$"+Ra,Fo="__reactEvents$"+Ra,uT="__reactListeners$"+Ra,aT="__reactHandles$"+Ra,o1="__reactResources$"+Ra,$i="__reactMarker$"+Ra;function xo(t){delete t[Bt],delete t[Xt],delete t[Fo],delete t[uT],delete t[aT]}function jn(t){var a=t[Bt];if(a)return a;for(var i=t.parentNode;i;){if(a=i[kn]||i[Bt]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(t=xD(t);t!==null;){if(i=t[Bt])return i;t=xD(t)}return a}t=i,i=t.parentNode}return null}function zn(t){if(t=t[Bt]||t[kn]){var a=t.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return t}return null}function Wi(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t.stateNode;throw Error(r(33))}function qn(t){var a=t[o1];return a||(a=t[o1]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Nt(t){t[$i]=!0}var f1=new Set,d1={};function on(t,a){Yn(t,a),Yn(t+"Capture",a)}function Yn(t,a){for(d1[t]=a,t=0;t<a.length;t++)f1.add(a[t])}var nT=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),h1={},m1={};function iT(t){return Et.call(m1,t)?!0:Et.call(h1,t)?!1:nT.test(t)?m1[t]=!0:(h1[t]=!0,!1)}function rl(t,a,i){if(iT(a))if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(a);return;case"boolean":var s=a.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(a);return}}t.setAttribute(a,""+i)}}function sl(t,a,i){if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttribute(a,""+i)}}function ea(t,a,i,s){if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(a,i,""+s)}}function vu(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function E1(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function rT(t,a,i){var s=Object.getOwnPropertyDescriptor(t.constructor.prototype,a);if(!t.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,o=s.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return c.call(this)},set:function(m){i=""+m,o.call(this,m)}}),Object.defineProperty(t,a,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(m){i=""+m},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function Lo(t){if(!t._valueTracker){var a=E1(t)?"checked":"value";t._valueTracker=rT(t,a,""+t[a])}}function D1(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var i=a.getValue(),s="";return t&&(s=E1(t)?t.checked?"true":"false":t.value),t=s,t!==i?(a.setValue(t),!0):!1}function ll(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var sT=/[\n"\\]/g;function Cu(t){return t.replace(sT,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Bo(t,a,i,s,c,o,m,g){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),a!=null?m==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+vu(a)):t.value!==""+vu(a)&&(t.value=""+vu(a)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),a!=null?Mo(t,m,vu(a)):i!=null?Mo(t,m,vu(i)):s!=null&&t.removeAttribute("value"),c==null&&o!=null&&(t.defaultChecked=!!o),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+vu(g):t.removeAttribute("name")}function p1(t,a,i,s,c,o,m,g){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),a!=null||i!=null){if(!(o!=="submit"&&o!=="reset"||a!=null)){Lo(t);return}i=i!=null?""+vu(i):"",a=a!=null?""+vu(a):i,g||a===t.value||(t.value=a),t.defaultValue=a}s=s??c,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=g?t.checked:!!s,t.defaultChecked=!!s,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),Lo(t)}function Mo(t,a,i){a==="number"&&ll(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function Gn(t,a,i,s){if(t=t.options,a){a={};for(var c=0;c<i.length;c++)a["$"+i[c]]=!0;for(i=0;i<t.length;i++)c=a.hasOwnProperty("$"+t[i].value),t[i].selected!==c&&(t[i].selected=c),c&&s&&(t[i].defaultSelected=!0)}else{for(i=""+vu(i),a=null,c=0;c<t.length;c++){if(t[c].value===i){t[c].selected=!0,s&&(t[c].defaultSelected=!0);return}a!==null||t[c].disabled||(a=t[c])}a!==null&&(a.selected=!0)}}function g1(t,a,i){if(a!=null&&(a=""+vu(a),a!==t.value&&(t.value=a),i==null)){t.defaultValue!==a&&(t.defaultValue=a);return}t.defaultValue=i!=null?""+vu(i):""}function b1(t,a,i,s){if(a==null){if(s!=null){if(i!=null)throw Error(r(92));if(Ve(s)){if(1<s.length)throw Error(r(93));s=s[0]}i=s}i==null&&(i=""),a=i}i=vu(a),t.defaultValue=i,s=t.textContent,s===i&&s!==""&&s!==null&&(t.value=s),Lo(t)}function Vn(t,a){if(a){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=a;return}}t.textContent=a}var lT=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function T1(t,a,i){var s=a.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="":s?t.setProperty(a,i):typeof i!="number"||i===0||lT.has(a)?a==="float"?t.cssFloat=i:t[a]=(""+i).trim():t[a]=i+"px"}function _1(t,a,i){if(a!=null&&typeof a!="object")throw Error(r(62));if(t=t.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||a!=null&&a.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var c in a)s=a[c],a.hasOwnProperty(c)&&i[c]!==s&&T1(t,c,s)}else for(var o in a)a.hasOwnProperty(o)&&T1(t,o,a[o])}function Io(t){if(t.indexOf("-")===-1)return!1;switch(t){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 cT=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),oT=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function cl(t){return oT.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ta(){}var wo=null;function Uo(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Qn=null,Xn=null;function A1(t){var a=zn(t);if(a&&(t=a.stateNode)){var i=t[Xt]||null;e:switch(t=a.stateNode,a.type){case"input":if(Bo(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Cu(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var s=i[a];if(s!==t&&s.form===t.form){var c=s[Xt]||null;if(!c)throw Error(r(90));Bo(s,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(a=0;a<i.length;a++)s=i[a],s.form===t.form&&D1(s)}break e;case"textarea":g1(t,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&Gn(t,!!i.multiple,a,!1)}}}var Po=!1;function v1(t,a,i){if(Po)return t(a,i);Po=!0;try{var s=t(a);return s}finally{if(Po=!1,(Qn!==null||Xn!==null)&&(Zl(),Qn&&(a=Qn,t=Xn,Xn=Qn=null,A1(a),t)))for(a=0;a<t.length;a++)A1(t[a])}}function Ji(t,a){var i=t.stateNode;if(i===null)return null;var s=i[Xt]||null;if(s===null)return null;i=s[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(r(231,a,typeof i));return i}var ua=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ho=!1;if(ua)try{var er={};Object.defineProperty(er,"passive",{get:function(){Ho=!0}}),window.addEventListener("test",er,er),window.removeEventListener("test",er,er)}catch{Ho=!1}var Oa=null,ko=null,ol=null;function C1(){if(ol)return ol;var t,a=ko,i=a.length,s,c="value"in Oa?Oa.value:Oa.textContent,o=c.length;for(t=0;t<i&&a[t]===c[t];t++);var m=i-t;for(s=1;s<=m&&a[i-s]===c[o-s];s++);return ol=c.slice(t,1<s?1-s:void 0)}function fl(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function dl(){return!0}function y1(){return!1}function Kt(t){function a(i,s,c,o,m){this._reactName=i,this._targetInst=c,this.type=s,this.nativeEvent=o,this.target=m,this.currentTarget=null;for(var g in t)t.hasOwnProperty(g)&&(i=t[g],this[g]=i?i(o):o[g]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?dl:y1,this.isPropagationStopped=y1,this}return T(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=dl)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=dl)},persist:function(){},isPersistent:dl}),a}var fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hl=Kt(fn),tr=T({},fn,{view:0,detail:0}),fT=Kt(tr),jo,zo,ur,ml=T({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yo,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ur&&(ur&&t.type==="mousemove"?(jo=t.screenX-ur.screenX,zo=t.screenY-ur.screenY):zo=jo=0,ur=t),jo)},movementY:function(t){return"movementY"in t?t.movementY:zo}}),S1=Kt(ml),dT=T({},ml,{dataTransfer:0}),hT=Kt(dT),mT=T({},tr,{relatedTarget:0}),qo=Kt(mT),ET=T({},fn,{animationName:0,elapsedTime:0,pseudoElement:0}),DT=Kt(ET),pT=T({},fn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),gT=Kt(pT),bT=T({},fn,{data:0}),N1=Kt(bT),TT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_T={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"},AT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vT(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=AT[t])?!!a[t]:!1}function Yo(){return vT}var CT=T({},tr,{key:function(t){if(t.key){var a=TT[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=fl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_T[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yo,charCode:function(t){return t.type==="keypress"?fl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?fl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),yT=Kt(CT),ST=T({},ml,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),R1=Kt(ST),NT=T({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yo}),RT=Kt(NT),OT=T({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0}),FT=Kt(OT),xT=T({},ml,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),LT=Kt(xT),BT=T({},fn,{newState:0,oldState:0}),MT=Kt(BT),IT=[9,13,27,32],Go=ua&&"CompositionEvent"in window,ar=null;ua&&"documentMode"in document&&(ar=document.documentMode);var wT=ua&&"TextEvent"in window&&!ar,O1=ua&&(!Go||ar&&8<ar&&11>=ar),F1=" ",x1=!1;function L1(t,a){switch(t){case"keyup":return IT.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Kn=!1;function UT(t,a){switch(t){case"compositionend":return B1(a);case"keypress":return a.which!==32?null:(x1=!0,F1);case"textInput":return t=a.data,t===F1&&x1?null:t;default:return null}}function PT(t,a){if(Kn)return t==="compositionend"||!Go&&L1(t,a)?(t=C1(),ol=ko=Oa=null,Kn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return O1&&a.locale!=="ko"?null:a.data;default:return null}}var HT={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 M1(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!HT[t.type]:a==="textarea"}function I1(t,a,i,s){Qn?Xn?Xn.push(s):Xn=[s]:Qn=s,a=ac(a,"onChange"),0<a.length&&(i=new hl("onChange","change",null,i,s),t.push({event:i,listeners:a}))}var nr=null,ir=null;function kT(t){pD(t,0)}function El(t){var a=Wi(t);if(D1(a))return t}function w1(t,a){if(t==="change")return a}var U1=!1;if(ua){var Vo;if(ua){var Qo="oninput"in document;if(!Qo){var P1=document.createElement("div");P1.setAttribute("oninput","return;"),Qo=typeof P1.oninput=="function"}Vo=Qo}else Vo=!1;U1=Vo&&(!document.documentMode||9<document.documentMode)}function H1(){nr&&(nr.detachEvent("onpropertychange",k1),ir=nr=null)}function k1(t){if(t.propertyName==="value"&&El(ir)){var a=[];I1(a,ir,t,Uo(t)),v1(kT,a)}}function jT(t,a,i){t==="focusin"?(H1(),nr=a,ir=i,nr.attachEvent("onpropertychange",k1)):t==="focusout"&&H1()}function zT(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return El(ir)}function qT(t,a){if(t==="click")return El(a)}function YT(t,a){if(t==="input"||t==="change")return El(a)}function GT(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var fu=typeof Object.is=="function"?Object.is:GT;function rr(t,a){if(fu(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var i=Object.keys(t),s=Object.keys(a);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var c=i[s];if(!Et.call(a,c)||!fu(t[c],a[c]))return!1}return!0}function j1(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function z1(t,a){var i=j1(t);t=0;for(var s;i;){if(i.nodeType===3){if(s=t+i.textContent.length,t<=a&&s>=a)return{node:i,offset:a-t};t=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=j1(i)}}function q1(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?q1(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function Y1(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var a=ll(t.document);a instanceof t.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)t=a.contentWindow;else break;a=ll(t.document)}return a}function Xo(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}var VT=ua&&"documentMode"in document&&11>=document.documentMode,Zn=null,Ko=null,sr=null,Zo=!1;function G1(t,a,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Zo||Zn==null||Zn!==ll(s)||(s=Zn,"selectionStart"in s&&Xo(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),sr&&rr(sr,s)||(sr=s,s=ac(Ko,"onSelect"),0<s.length&&(a=new hl("onSelect","select",null,a,i),t.push({event:a,listeners:s}),a.target=Zn)))}function dn(t,a){var i={};return i[t.toLowerCase()]=a.toLowerCase(),i["Webkit"+t]="webkit"+a,i["Moz"+t]="moz"+a,i}var $n={animationend:dn("Animation","AnimationEnd"),animationiteration:dn("Animation","AnimationIteration"),animationstart:dn("Animation","AnimationStart"),transitionrun:dn("Transition","TransitionRun"),transitionstart:dn("Transition","TransitionStart"),transitioncancel:dn("Transition","TransitionCancel"),transitionend:dn("Transition","TransitionEnd")},$o={},V1={};ua&&(V1=document.createElement("div").style,"AnimationEvent"in window||(delete $n.animationend.animation,delete $n.animationiteration.animation,delete $n.animationstart.animation),"TransitionEvent"in window||delete $n.transitionend.transition);function hn(t){if($o[t])return $o[t];if(!$n[t])return t;var a=$n[t],i;for(i in a)if(a.hasOwnProperty(i)&&i in V1)return $o[t]=a[i];return t}var Q1=hn("animationend"),X1=hn("animationiteration"),K1=hn("animationstart"),QT=hn("transitionrun"),XT=hn("transitionstart"),KT=hn("transitioncancel"),Z1=hn("transitionend"),$1=new Map,Wo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Wo.push("scrollEnd");function Uu(t,a){$1.set(t,a),on(a,[t])}var Dl=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},yu=[],Wn=0,Jo=0;function pl(){for(var t=Wn,a=Jo=Wn=0;a<t;){var i=yu[a];yu[a++]=null;var s=yu[a];yu[a++]=null;var c=yu[a];yu[a++]=null;var o=yu[a];if(yu[a++]=null,s!==null&&c!==null){var m=s.pending;m===null?c.next=c:(c.next=m.next,m.next=c),s.pending=c}o!==0&&W1(i,c,o)}}function gl(t,a,i,s){yu[Wn++]=t,yu[Wn++]=a,yu[Wn++]=i,yu[Wn++]=s,Jo|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function ef(t,a,i,s){return gl(t,a,i,s),bl(t)}function mn(t,a){return gl(t,null,null,a),bl(t)}function W1(t,a,i){t.lanes|=i;var s=t.alternate;s!==null&&(s.lanes|=i);for(var c=!1,o=t.return;o!==null;)o.childLanes|=i,s=o.alternate,s!==null&&(s.childLanes|=i),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(c=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,c&&a!==null&&(c=31-ou(i),t=o.hiddenUpdates,s=t[c],s===null?t[c]=[a]:s.push(a),a.lane=i|536870912),o):null}function bl(t){if(50<Or)throw Or=0,o0=null,Error(r(185));for(var a=t.return;a!==null;)t=a,a=t.return;return t.tag===3?t.stateNode:null}var Jn={};function ZT(t,a,i,s){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function du(t,a,i,s){return new ZT(t,a,i,s)}function tf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function aa(t,a){var i=t.alternate;return i===null?(i=du(t.tag,a,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=a,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,a=t.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function J1(t,a){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=a,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type,a=i.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),t}function Tl(t,a,i,s,c,o){var m=0;if(s=t,typeof t=="function")tf(t)&&(m=1);else if(typeof t=="string")m=tA(t,i,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case ie:return t=du(31,i,a,c),t.elementType=ie,t.lanes=o,t;case x:return En(i.children,c,o,a);case P:m=8,c|=24;break;case B:return t=du(12,i,a,c|2),t.elementType=B,t.lanes=o,t;case ue:return t=du(13,i,a,c),t.elementType=ue,t.lanes=o,t;case te:return t=du(19,i,a,c),t.elementType=te,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case H:m=10;break e;case Z:m=9;break e;case $:m=11;break e;case q:m=14;break e;case K:m=16,s=null;break e}m=29,i=Error(r(130,t===null?"null":typeof t,"")),s=null}return a=du(m,i,a,c),a.elementType=t,a.type=s,a.lanes=o,a}function En(t,a,i,s){return t=du(7,t,s,a),t.lanes=i,t}function uf(t,a,i){return t=du(6,t,null,a),t.lanes=i,t}function em(t){var a=du(18,null,null,0);return a.stateNode=t,a}function af(t,a,i){return a=du(4,t.children!==null?t.children:[],t.key,a),a.lanes=i,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}var tm=new WeakMap;function Su(t,a){if(typeof t=="object"&&t!==null){var i=tm.get(t);return i!==void 0?i:(a={value:t,source:a,stack:Ju(a)},tm.set(t,a),a)}return{value:t,source:a,stack:Ju(a)}}var ei=[],ti=0,_l=null,lr=0,Nu=[],Ru=0,Fa=null,Gu=1,Vu="";function na(t,a){ei[ti++]=lr,ei[ti++]=_l,_l=t,lr=a}function um(t,a,i){Nu[Ru++]=Gu,Nu[Ru++]=Vu,Nu[Ru++]=Fa,Fa=t;var s=Gu;t=Vu;var c=32-ou(s)-1;s&=~(1<<c),i+=1;var o=32-ou(a)+c;if(30<o){var m=c-c%5;o=(s&(1<<m)-1).toString(32),s>>=m,c-=m,Gu=1<<32-ou(a)+c|i<<c|s,Vu=o+t}else Gu=1<<o|i<<c|s,Vu=t}function nf(t){t.return!==null&&(na(t,1),um(t,1,0))}function rf(t){for(;t===_l;)_l=ei[--ti],ei[ti]=null,lr=ei[--ti],ei[ti]=null;for(;t===Fa;)Fa=Nu[--Ru],Nu[Ru]=null,Vu=Nu[--Ru],Nu[Ru]=null,Gu=Nu[--Ru],Nu[Ru]=null}function am(t,a){Nu[Ru++]=Gu,Nu[Ru++]=Vu,Nu[Ru++]=Fa,Gu=a.id,Vu=a.overflow,Fa=t}var Mt=null,it=null,Ue=!1,xa=null,Ou=!1,sf=Error(r(519));function La(t){var a=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw cr(Su(a,t)),sf}function nm(t){var a=t.stateNode,i=t.type,s=t.memoizedProps;switch(a[Bt]=t,a[Xt]=s,i){case"dialog":Be("cancel",a),Be("close",a);break;case"iframe":case"object":case"embed":Be("load",a);break;case"video":case"audio":for(i=0;i<xr.length;i++)Be(xr[i],a);break;case"source":Be("error",a);break;case"img":case"image":case"link":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;case"input":Be("invalid",a),p1(a,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":Be("invalid",a);break;case"textarea":Be("invalid",a),b1(a,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||s.suppressHydrationWarning===!0||_D(a.textContent,i)?(s.popover!=null&&(Be("beforetoggle",a),Be("toggle",a)),s.onScroll!=null&&Be("scroll",a),s.onScrollEnd!=null&&Be("scrollend",a),s.onClick!=null&&(a.onclick=ta),a=!0):a=!1,a||La(t,!0)}function im(t){for(Mt=t.return;Mt;)switch(Mt.tag){case 5:case 31:case 13:Ou=!1;return;case 27:case 3:Ou=!0;return;default:Mt=Mt.return}}function ui(t){if(t!==Mt)return!1;if(!Ue)return im(t),Ue=!0,!1;var a=t.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||y0(t.type,t.memoizedProps)),i=!i),i&&it&&La(t),im(t),a===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));it=FD(t)}else if(a===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));it=FD(t)}else a===27?(a=it,Va(t.type)?(t=F0,F0=null,it=t):it=a):it=Mt?xu(t.stateNode.nextSibling):null;return!0}function Dn(){it=Mt=null,Ue=!1}function lf(){var t=xa;return t!==null&&(Jt===null?Jt=t:Jt.push.apply(Jt,t),xa=null),t}function cr(t){xa===null?xa=[t]:xa.push(t)}var cf=O(null),pn=null,ia=null;function Ba(t,a,i){ae(cf,a._currentValue),a._currentValue=i}function ra(t){t._currentValue=cf.current,G(cf)}function of(t,a,i){for(;t!==null;){var s=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,s!==null&&(s.childLanes|=a)):s!==null&&(s.childLanes&a)!==a&&(s.childLanes|=a),t===i)break;t=t.return}}function ff(t,a,i,s){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var o=c.dependencies;if(o!==null){var m=c.child;o=o.firstContext;e:for(;o!==null;){var g=o;o=c;for(var R=0;R<a.length;R++)if(g.context===a[R]){o.lanes|=i,g=o.alternate,g!==null&&(g.lanes|=i),of(o.return,i,t),s||(m=null);break e}o=g.next}}else if(c.tag===18){if(m=c.return,m===null)throw Error(r(341));m.lanes|=i,o=m.alternate,o!==null&&(o.lanes|=i),of(m,i,t),m=null}else m=c.child;if(m!==null)m.return=c;else for(m=c;m!==null;){if(m===t){m=null;break}if(c=m.sibling,c!==null){c.return=m.return,m=c;break}m=m.return}c=m}}function ai(t,a,i,s){t=null;for(var c=a,o=!1;c!==null;){if(!o){if((c.flags&524288)!==0)o=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var m=c.alternate;if(m===null)throw Error(r(387));if(m=m.memoizedProps,m!==null){var g=c.type;fu(c.pendingProps.value,m.value)||(t!==null?t.push(g):t=[g])}}else if(c===Ne.current){if(m=c.alternate,m===null)throw Error(r(387));m.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(wr):t=[wr])}c=c.return}t!==null&&ff(a,t,i,s),a.flags|=262144}function Al(t){for(t=t.firstContext;t!==null;){if(!fu(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function gn(t){pn=t,ia=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function It(t){return rm(pn,t)}function vl(t,a){return pn===null&&gn(t),rm(t,a)}function rm(t,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},ia===null){if(t===null)throw Error(r(308));ia=a,t.dependencies={lanes:0,firstContext:a},t.flags|=524288}else ia=ia.next=a;return i}var $T=typeof AbortController<"u"?AbortController:function(){var t=[],a=this.signal={aborted:!1,addEventListener:function(i,s){t.push(s)}};this.abort=function(){a.aborted=!0,t.forEach(function(i){return i()})}},WT=e.unstable_scheduleCallback,JT=e.unstable_NormalPriority,gt={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function df(){return{controller:new $T,data:new Map,refCount:0}}function or(t){t.refCount--,t.refCount===0&&WT(JT,function(){t.controller.abort()})}var fr=null,hf=0,ni=0,ii=null;function e_(t,a){if(fr===null){var i=fr=[];hf=0,ni=D0(),ii={status:"pending",value:void 0,then:function(s){i.push(s)}}}return hf++,a.then(sm,sm),a}function sm(){if(--hf===0&&fr!==null){ii!==null&&(ii.status="fulfilled");var t=fr;fr=null,ni=0,ii=null;for(var a=0;a<t.length;a++)(0,t[a])()}}function t_(t,a){var i=[],s={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return t.then(function(){s.status="fulfilled",s.value=a;for(var c=0;c<i.length;c++)(0,i[c])(a)},function(c){for(s.status="rejected",s.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),s}var lm=Y.S;Y.S=function(t,a){GE=Pt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&e_(t,a),lm!==null&&lm(t,a)};var bn=O(null);function mf(){var t=bn.current;return t!==null?t:ut.pooledCache}function Cl(t,a){a===null?ae(bn,bn.current):ae(bn,a.pool)}function cm(){var t=mf();return t===null?null:{parent:gt._currentValue,pool:t}}var ri=Error(r(460)),Ef=Error(r(474)),yl=Error(r(542)),Sl={then:function(){}};function om(t){return t=t.status,t==="fulfilled"||t==="rejected"}function fm(t,a,i){switch(i=t[i],i===void 0?t.push(a):i!==a&&(a.then(ta,ta),a=i),a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,hm(t),t;default:if(typeof a.status=="string")a.then(ta,ta);else{if(t=ut,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=a,t.status="pending",t.then(function(s){if(a.status==="pending"){var c=a;c.status="fulfilled",c.value=s}},function(s){if(a.status==="pending"){var c=a;c.status="rejected",c.reason=s}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,hm(t),t}throw _n=a,ri}}function Tn(t){try{var a=t._init;return a(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(_n=i,ri):i}}var _n=null;function dm(){if(_n===null)throw Error(r(459));var t=_n;return _n=null,t}function hm(t){if(t===ri||t===yl)throw Error(r(483))}var si=null,dr=0;function Nl(t){var a=dr;return dr+=1,si===null&&(si=[]),fm(si,t,a)}function hr(t,a){a=a.props.ref,t.ref=a!==void 0?a:null}function Rl(t,a){throw a.$$typeof===y?Error(r(525)):(t=Object.prototype.toString.call(a),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t)))}function mm(t){function a(L,F){if(t){var I=L.deletions;I===null?(L.deletions=[F],L.flags|=16):I.push(F)}}function i(L,F){if(!t)return null;for(;F!==null;)a(L,F),F=F.sibling;return null}function s(L){for(var F=new Map;L!==null;)L.key!==null?F.set(L.key,L):F.set(L.index,L),L=L.sibling;return F}function c(L,F){return L=aa(L,F),L.index=0,L.sibling=null,L}function o(L,F,I){return L.index=I,t?(I=L.alternate,I!==null?(I=I.index,I<F?(L.flags|=67108866,F):I):(L.flags|=67108866,F)):(L.flags|=1048576,F)}function m(L){return t&&L.alternate===null&&(L.flags|=67108866),L}function g(L,F,I,Q){return F===null||F.tag!==6?(F=uf(I,L.mode,Q),F.return=L,F):(F=c(F,I),F.return=L,F)}function R(L,F,I,Q){var oe=I.type;return oe===x?V(L,F,I.props.children,Q,I.key):F!==null&&(F.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===K&&Tn(oe)===F.type)?(F=c(F,I.props),hr(F,I),F.return=L,F):(F=Tl(I.type,I.key,I.props,null,L.mode,Q),hr(F,I),F.return=L,F)}function w(L,F,I,Q){return F===null||F.tag!==4||F.stateNode.containerInfo!==I.containerInfo||F.stateNode.implementation!==I.implementation?(F=af(I,L.mode,Q),F.return=L,F):(F=c(F,I.children||[]),F.return=L,F)}function V(L,F,I,Q,oe){return F===null||F.tag!==7?(F=En(I,L.mode,Q,oe),F.return=L,F):(F=c(F,I),F.return=L,F)}function X(L,F,I){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return F=uf(""+F,L.mode,I),F.return=L,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case v:return I=Tl(F.type,F.key,F.props,null,L.mode,I),hr(I,F),I.return=L,I;case N:return F=af(F,L.mode,I),F.return=L,F;case K:return F=Tn(F),X(L,F,I)}if(Ve(F)||ye(F))return F=En(F,L.mode,I,null),F.return=L,F;if(typeof F.then=="function")return X(L,Nl(F),I);if(F.$$typeof===H)return X(L,vl(L,F),I);Rl(L,F)}return null}function U(L,F,I,Q){var oe=F!==null?F.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return oe!==null?null:g(L,F,""+I,Q);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case v:return I.key===oe?R(L,F,I,Q):null;case N:return I.key===oe?w(L,F,I,Q):null;case K:return I=Tn(I),U(L,F,I,Q)}if(Ve(I)||ye(I))return oe!==null?null:V(L,F,I,Q,null);if(typeof I.then=="function")return U(L,F,Nl(I),Q);if(I.$$typeof===H)return U(L,F,vl(L,I),Q);Rl(L,I)}return null}function k(L,F,I,Q,oe){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return L=L.get(I)||null,g(F,L,""+Q,oe);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case v:return L=L.get(Q.key===null?I:Q.key)||null,R(F,L,Q,oe);case N:return L=L.get(Q.key===null?I:Q.key)||null,w(F,L,Q,oe);case K:return Q=Tn(Q),k(L,F,I,Q,oe)}if(Ve(Q)||ye(Q))return L=L.get(I)||null,V(F,L,Q,oe,null);if(typeof Q.then=="function")return k(L,F,I,Nl(Q),oe);if(Q.$$typeof===H)return k(L,F,I,vl(F,Q),oe);Rl(F,Q)}return null}function se(L,F,I,Q){for(var oe=null,qe=null,le=F,Ce=F=0,we=null;le!==null&&Ce<I.length;Ce++){le.index>Ce?(we=le,le=null):we=le.sibling;var Ye=U(L,le,I[Ce],Q);if(Ye===null){le===null&&(le=we);break}t&&le&&Ye.alternate===null&&a(L,le),F=o(Ye,F,Ce),qe===null?oe=Ye:qe.sibling=Ye,qe=Ye,le=we}if(Ce===I.length)return i(L,le),Ue&&na(L,Ce),oe;if(le===null){for(;Ce<I.length;Ce++)le=X(L,I[Ce],Q),le!==null&&(F=o(le,F,Ce),qe===null?oe=le:qe.sibling=le,qe=le);return Ue&&na(L,Ce),oe}for(le=s(le);Ce<I.length;Ce++)we=k(le,L,Ce,I[Ce],Q),we!==null&&(t&&we.alternate!==null&&le.delete(we.key===null?Ce:we.key),F=o(we,F,Ce),qe===null?oe=we:qe.sibling=we,qe=we);return t&&le.forEach(function($a){return a(L,$a)}),Ue&&na(L,Ce),oe}function Ee(L,F,I,Q){if(I==null)throw Error(r(151));for(var oe=null,qe=null,le=F,Ce=F=0,we=null,Ye=I.next();le!==null&&!Ye.done;Ce++,Ye=I.next()){le.index>Ce?(we=le,le=null):we=le.sibling;var $a=U(L,le,Ye.value,Q);if($a===null){le===null&&(le=we);break}t&&le&&$a.alternate===null&&a(L,le),F=o($a,F,Ce),qe===null?oe=$a:qe.sibling=$a,qe=$a,le=we}if(Ye.done)return i(L,le),Ue&&na(L,Ce),oe;if(le===null){for(;!Ye.done;Ce++,Ye=I.next())Ye=X(L,Ye.value,Q),Ye!==null&&(F=o(Ye,F,Ce),qe===null?oe=Ye:qe.sibling=Ye,qe=Ye);return Ue&&na(L,Ce),oe}for(le=s(le);!Ye.done;Ce++,Ye=I.next())Ye=k(le,L,Ce,Ye.value,Q),Ye!==null&&(t&&Ye.alternate!==null&&le.delete(Ye.key===null?Ce:Ye.key),F=o(Ye,F,Ce),qe===null?oe=Ye:qe.sibling=Ye,qe=Ye);return t&&le.forEach(function(dA){return a(L,dA)}),Ue&&na(L,Ce),oe}function et(L,F,I,Q){if(typeof I=="object"&&I!==null&&I.type===x&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case v:e:{for(var oe=I.key;F!==null;){if(F.key===oe){if(oe=I.type,oe===x){if(F.tag===7){i(L,F.sibling),Q=c(F,I.props.children),Q.return=L,L=Q;break e}}else if(F.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===K&&Tn(oe)===F.type){i(L,F.sibling),Q=c(F,I.props),hr(Q,I),Q.return=L,L=Q;break e}i(L,F);break}else a(L,F);F=F.sibling}I.type===x?(Q=En(I.props.children,L.mode,Q,I.key),Q.return=L,L=Q):(Q=Tl(I.type,I.key,I.props,null,L.mode,Q),hr(Q,I),Q.return=L,L=Q)}return m(L);case N:e:{for(oe=I.key;F!==null;){if(F.key===oe)if(F.tag===4&&F.stateNode.containerInfo===I.containerInfo&&F.stateNode.implementation===I.implementation){i(L,F.sibling),Q=c(F,I.children||[]),Q.return=L,L=Q;break e}else{i(L,F);break}else a(L,F);F=F.sibling}Q=af(I,L.mode,Q),Q.return=L,L=Q}return m(L);case K:return I=Tn(I),et(L,F,I,Q)}if(Ve(I))return se(L,F,I,Q);if(ye(I)){if(oe=ye(I),typeof oe!="function")throw Error(r(150));return I=oe.call(I),Ee(L,F,I,Q)}if(typeof I.then=="function")return et(L,F,Nl(I),Q);if(I.$$typeof===H)return et(L,F,vl(L,I),Q);Rl(L,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,F!==null&&F.tag===6?(i(L,F.sibling),Q=c(F,I),Q.return=L,L=Q):(i(L,F),Q=uf(I,L.mode,Q),Q.return=L,L=Q),m(L)):i(L,F)}return function(L,F,I,Q){try{dr=0;var oe=et(L,F,I,Q);return si=null,oe}catch(le){if(le===ri||le===yl)throw le;var qe=du(29,le,null,L.mode);return qe.lanes=Q,qe.return=L,qe}finally{}}}var An=mm(!0),Em=mm(!1),Ma=!1;function Df(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pf(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ia(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function wa(t,a,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,(Qe&2)!==0){var c=s.pending;return c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a,a=bl(t),W1(t,null,i),a}return gl(t,s,a,i),bl(t)}function mr(t,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var s=a.lanes;s&=t.pendingLanes,i|=s,a.lanes=i,r1(t,i)}}function gf(t,a){var i=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var c=null,o=null;if(i=i.firstBaseUpdate,i!==null){do{var m={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};o===null?c=o=m:o=o.next=m,i=i.next}while(i!==null);o===null?c=o=a:o=o.next=a}else c=o=a;i={baseState:s.baseState,firstBaseUpdate:c,lastBaseUpdate:o,shared:s.shared,callbacks:s.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=a:t.next=a,i.lastBaseUpdate=a}var bf=!1;function Er(){if(bf){var t=ii;if(t!==null)throw t}}function Dr(t,a,i,s){bf=!1;var c=t.updateQueue;Ma=!1;var o=c.firstBaseUpdate,m=c.lastBaseUpdate,g=c.shared.pending;if(g!==null){c.shared.pending=null;var R=g,w=R.next;R.next=null,m===null?o=w:m.next=w,m=R;var V=t.alternate;V!==null&&(V=V.updateQueue,g=V.lastBaseUpdate,g!==m&&(g===null?V.firstBaseUpdate=w:g.next=w,V.lastBaseUpdate=R))}if(o!==null){var X=c.baseState;m=0,V=w=R=null,g=o;do{var U=g.lane&-536870913,k=U!==g.lane;if(k?(Ie&U)===U:(s&U)===U){U!==0&&U===ni&&(bf=!0),V!==null&&(V=V.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var se=t,Ee=g;U=a;var et=i;switch(Ee.tag){case 1:if(se=Ee.payload,typeof se=="function"){X=se.call(et,X,U);break e}X=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=Ee.payload,U=typeof se=="function"?se.call(et,X,U):se,U==null)break e;X=T({},X,U);break e;case 2:Ma=!0}}U=g.callback,U!==null&&(t.flags|=64,k&&(t.flags|=8192),k=c.callbacks,k===null?c.callbacks=[U]:k.push(U))}else k={lane:U,tag:g.tag,payload:g.payload,callback:g.callback,next:null},V===null?(w=V=k,R=X):V=V.next=k,m|=U;if(g=g.next,g===null){if(g=c.shared.pending,g===null)break;k=g,g=k.next,k.next=null,c.lastBaseUpdate=k,c.shared.pending=null}}while(!0);V===null&&(R=X),c.baseState=R,c.firstBaseUpdate=w,c.lastBaseUpdate=V,o===null&&(c.shared.lanes=0),ja|=m,t.lanes=m,t.memoizedState=X}}function Dm(t,a){if(typeof t!="function")throw Error(r(191,t));t.call(a)}function pm(t,a){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)Dm(i[t],a)}var li=O(null),Ol=O(0);function gm(t,a){t=Ea,ae(Ol,t),ae(li,a),Ea=t|a.baseLanes}function Tf(){ae(Ol,Ea),ae(li,li.current)}function _f(){Ea=Ol.current,G(li),G(Ol)}var hu=O(null),Fu=null;function Ua(t){var a=t.alternate;ae(Dt,Dt.current&1),ae(hu,t),Fu===null&&(a===null||li.current!==null||a.memoizedState!==null)&&(Fu=t)}function Af(t){ae(Dt,Dt.current),ae(hu,t),Fu===null&&(Fu=t)}function bm(t){t.tag===22?(ae(Dt,Dt.current),ae(hu,t),Fu===null&&(Fu=t)):Pa()}function Pa(){ae(Dt,Dt.current),ae(hu,hu.current)}function mu(t){G(hu),Fu===t&&(Fu=null),G(Dt)}var Dt=O(0);function Fl(t){for(var a=t;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||R0(i)||O0(i)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var sa=0,ve=null,We=null,bt=null,xl=!1,ci=!1,vn=!1,Ll=0,pr=0,oi=null,u_=0;function ht(){throw Error(r(321))}function vf(t,a){if(a===null)return!1;for(var i=0;i<a.length&&i<t.length;i++)if(!fu(t[i],a[i]))return!1;return!0}function Cf(t,a,i,s,c,o){return sa=o,ve=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,Y.H=t===null||t.memoizedState===null?uE:Hf,vn=!1,o=i(s,c),vn=!1,ci&&(o=_m(a,i,s,c)),Tm(t),o}function Tm(t){Y.H=Tr;var a=We!==null&&We.next!==null;if(sa=0,bt=We=ve=null,xl=!1,pr=0,oi=null,a)throw Error(r(300));t===null||Tt||(t=t.dependencies,t!==null&&Al(t)&&(Tt=!0))}function _m(t,a,i,s){ve=t;var c=0;do{if(ci&&(oi=null),pr=0,ci=!1,25<=c)throw Error(r(301));if(c+=1,bt=We=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}Y.H=aE,o=a(i,s)}while(ci);return o}function a_(){var t=Y.H,a=t.useState()[0];return a=typeof a.then=="function"?gr(a):a,t=t.useState()[0],(We!==null?We.memoizedState:null)!==t&&(ve.flags|=1024),a}function yf(){var t=Ll!==0;return Ll=0,t}function Sf(t,a,i){a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i}function Nf(t){if(xl){for(t=t.memoizedState;t!==null;){var a=t.queue;a!==null&&(a.pending=null),t=t.next}xl=!1}sa=0,bt=We=ve=null,ci=!1,pr=Ll=0,oi=null}function qt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?ve.memoizedState=bt=t:bt=bt.next=t,bt}function pt(){if(We===null){var t=ve.alternate;t=t!==null?t.memoizedState:null}else t=We.next;var a=bt===null?ve.memoizedState:bt.next;if(a!==null)bt=a,We=t;else{if(t===null)throw ve.alternate===null?Error(r(467)):Error(r(310));We=t,t={memoizedState:We.memoizedState,baseState:We.baseState,baseQueue:We.baseQueue,queue:We.queue,next:null},bt===null?ve.memoizedState=bt=t:bt=bt.next=t}return bt}function Bl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gr(t){var a=pr;return pr+=1,oi===null&&(oi=[]),t=fm(oi,t,a),a=ve,(bt===null?a.memoizedState:bt.next)===null&&(a=a.alternate,Y.H=a===null||a.memoizedState===null?uE:Hf),t}function Ml(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return gr(t);if(t.$$typeof===H)return It(t)}throw Error(r(438,String(t)))}function Rf(t){var a=null,i=ve.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var s=ve.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(a={data:s.data.map(function(c){return c.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=Bl(),ve.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0)for(i=a.data[a.index]=Array(t),s=0;s<t;s++)i[s]=pe;return a.index++,i}function la(t,a){return typeof a=="function"?a(t):a}function Il(t){var a=pt();return Of(a,We,t)}function Of(t,a,i){var s=t.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=i;var c=t.baseQueue,o=s.pending;if(o!==null){if(c!==null){var m=c.next;c.next=o.next,o.next=m}a.baseQueue=c=o,s.pending=null}if(o=t.baseState,c===null)t.memoizedState=o;else{a=c.next;var g=m=null,R=null,w=a,V=!1;do{var X=w.lane&-536870913;if(X!==w.lane?(Ie&X)===X:(sa&X)===X){var U=w.revertLane;if(U===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),X===ni&&(V=!0);else if((sa&U)===U){w=w.next,U===ni&&(V=!0);continue}else X={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},R===null?(g=R=X,m=o):R=R.next=X,ve.lanes|=U,ja|=U;X=w.action,vn&&i(o,X),o=w.hasEagerState?w.eagerState:i(o,X)}else U={lane:X,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},R===null?(g=R=U,m=o):R=R.next=U,ve.lanes|=X,ja|=X;w=w.next}while(w!==null&&w!==a);if(R===null?m=o:R.next=g,!fu(o,t.memoizedState)&&(Tt=!0,V&&(i=ii,i!==null)))throw i;t.memoizedState=o,t.baseState=m,t.baseQueue=R,s.lastRenderedState=o}return c===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function Ff(t){var a=pt(),i=a.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=t;var s=i.dispatch,c=i.pending,o=a.memoizedState;if(c!==null){i.pending=null;var m=c=c.next;do o=t(o,m.action),m=m.next;while(m!==c);fu(o,a.memoizedState)||(Tt=!0),a.memoizedState=o,a.baseQueue===null&&(a.baseState=o),i.lastRenderedState=o}return[o,s]}function Am(t,a,i){var s=ve,c=pt(),o=Ue;if(o){if(i===void 0)throw Error(r(407));i=i()}else i=a();var m=!fu((We||c).memoizedState,i);if(m&&(c.memoizedState=i,Tt=!0),c=c.queue,Bf(ym.bind(null,s,c,t),[t]),c.getSnapshot!==a||m||bt!==null&&bt.memoizedState.tag&1){if(s.flags|=2048,fi(9,{destroy:void 0},Cm.bind(null,s,c,i,a),null),ut===null)throw Error(r(349));o||(sa&127)!==0||vm(s,a,i)}return i}function vm(t,a,i){t.flags|=16384,t={getSnapshot:a,value:i},a=ve.updateQueue,a===null?(a=Bl(),ve.updateQueue=a,a.stores=[t]):(i=a.stores,i===null?a.stores=[t]:i.push(t))}function Cm(t,a,i,s){a.value=i,a.getSnapshot=s,Sm(a)&&Nm(t)}function ym(t,a,i){return i(function(){Sm(a)&&Nm(t)})}function Sm(t){var a=t.getSnapshot;t=t.value;try{var i=a();return!fu(t,i)}catch{return!0}}function Nm(t){var a=mn(t,2);a!==null&&eu(a,t,2)}function xf(t){var a=qt();if(typeof t=="function"){var i=t;if(t=i(),vn){Na(!0);try{i()}finally{Na(!1)}}}return a.memoizedState=a.baseState=t,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:t},a}function Rm(t,a,i,s){return t.baseState=i,Of(t,We,typeof s=="function"?s:la)}function n_(t,a,i,s,c){if(Pl(t))throw Error(r(485));if(t=a.action,t!==null){var o={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){o.listeners.push(m)}};Y.T!==null?i(!0):o.isTransition=!1,s(o),i=a.pending,i===null?(o.next=a.pending=o,Om(a,o)):(o.next=i.next,a.pending=i.next=o)}}function Om(t,a){var i=a.action,s=a.payload,c=t.state;if(a.isTransition){var o=Y.T,m={};Y.T=m;try{var g=i(c,s),R=Y.S;R!==null&&R(m,g),Fm(t,a,g)}catch(w){Lf(t,a,w)}finally{o!==null&&m.types!==null&&(o.types=m.types),Y.T=o}}else try{o=i(c,s),Fm(t,a,o)}catch(w){Lf(t,a,w)}}function Fm(t,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){xm(t,a,s)},function(s){return Lf(t,a,s)}):xm(t,a,i)}function xm(t,a,i){a.status="fulfilled",a.value=i,Lm(a),t.state=i,a=t.pending,a!==null&&(i=a.next,i===a?t.pending=null:(i=i.next,a.next=i,Om(t,i)))}function Lf(t,a,i){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do a.status="rejected",a.reason=i,Lm(a),a=a.next;while(a!==s)}t.action=null}function Lm(t){t=t.listeners;for(var a=0;a<t.length;a++)(0,t[a])()}function Bm(t,a){return a}function Mm(t,a){if(Ue){var i=ut.formState;if(i!==null){e:{var s=ve;if(Ue){if(it){t:{for(var c=it,o=Ou;c.nodeType!==8;){if(!o){c=null;break t}if(c=xu(c.nextSibling),c===null){c=null;break t}}o=c.data,c=o==="F!"||o==="F"?c:null}if(c){it=xu(c.nextSibling),s=c.data==="F!";break e}}La(s)}s=!1}s&&(a=i[0])}}return i=qt(),i.memoizedState=i.baseState=a,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bm,lastRenderedState:a},i.queue=s,i=Jm.bind(null,ve,s),s.dispatch=i,s=xf(!1),o=Pf.bind(null,ve,!1,s.queue),s=qt(),c={state:a,dispatch:null,action:t,pending:null},s.queue=c,i=n_.bind(null,ve,c,o,i),c.dispatch=i,s.memoizedState=t,[a,i,!1]}function Im(t){var a=pt();return wm(a,We,t)}function wm(t,a,i){if(a=Of(t,a,Bm)[0],t=Il(la)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var s=gr(a)}catch(m){throw m===ri?yl:m}else s=a;a=pt();var c=a.queue,o=c.dispatch;return i!==a.memoizedState&&(ve.flags|=2048,fi(9,{destroy:void 0},i_.bind(null,c,i),null)),[s,o,t]}function i_(t,a){t.action=a}function Um(t){var a=pt(),i=We;if(i!==null)return wm(a,i,t);pt(),a=a.memoizedState,i=pt();var s=i.queue.dispatch;return i.memoizedState=t,[a,s,!1]}function fi(t,a,i,s){return t={tag:t,create:i,deps:s,inst:a,next:null},a=ve.updateQueue,a===null&&(a=Bl(),ve.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=t.next=t:(s=i.next,i.next=t,t.next=s,a.lastEffect=t),t}function Pm(){return pt().memoizedState}function wl(t,a,i,s){var c=qt();ve.flags|=t,c.memoizedState=fi(1|a,{destroy:void 0},i,s===void 0?null:s)}function Ul(t,a,i,s){var c=pt();s=s===void 0?null:s;var o=c.memoizedState.inst;We!==null&&s!==null&&vf(s,We.memoizedState.deps)?c.memoizedState=fi(a,o,i,s):(ve.flags|=t,c.memoizedState=fi(1|a,o,i,s))}function Hm(t,a){wl(8390656,8,t,a)}function Bf(t,a){Ul(2048,8,t,a)}function r_(t){ve.flags|=4;var a=ve.updateQueue;if(a===null)a=Bl(),ve.updateQueue=a,a.events=[t];else{var i=a.events;i===null?a.events=[t]:i.push(t)}}function km(t){var a=pt().memoizedState;return r_({ref:a,nextImpl:t}),function(){if((Qe&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function jm(t,a){return Ul(4,2,t,a)}function zm(t,a){return Ul(4,4,t,a)}function qm(t,a){if(typeof a=="function"){t=t();var i=a(t);return function(){typeof i=="function"?i():a(null)}}if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function Ym(t,a,i){i=i!=null?i.concat([t]):null,Ul(4,4,qm.bind(null,a,t),i)}function Mf(){}function Gm(t,a){var i=pt();a=a===void 0?null:a;var s=i.memoizedState;return a!==null&&vf(a,s[1])?s[0]:(i.memoizedState=[t,a],t)}function Vm(t,a){var i=pt();a=a===void 0?null:a;var s=i.memoizedState;if(a!==null&&vf(a,s[1]))return s[0];if(s=t(),vn){Na(!0);try{t()}finally{Na(!1)}}return i.memoizedState=[s,a],s}function If(t,a,i){return i===void 0||(sa&1073741824)!==0&&(Ie&261930)===0?t.memoizedState=a:(t.memoizedState=i,t=QE(),ve.lanes|=t,ja|=t,i)}function Qm(t,a,i,s){return fu(i,a)?i:li.current!==null?(t=If(t,i,s),fu(t,a)||(Tt=!0),t):(sa&42)===0||(sa&1073741824)!==0&&(Ie&261930)===0?(Tt=!0,t.memoizedState=i):(t=QE(),ve.lanes|=t,ja|=t,a)}function Xm(t,a,i,s,c){var o=ne.p;ne.p=o!==0&&8>o?o:8;var m=Y.T,g={};Y.T=g,Pf(t,!1,a,i);try{var R=c(),w=Y.S;if(w!==null&&w(g,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var V=t_(R,s);br(t,a,V,pu(t))}else br(t,a,s,pu(t))}catch(X){br(t,a,{then:function(){},status:"rejected",reason:X},pu())}finally{ne.p=o,m!==null&&g.types!==null&&(m.types=g.types),Y.T=m}}function s_(){}function wf(t,a,i,s){if(t.tag!==5)throw Error(r(476));var c=Km(t).queue;Xm(t,c,a,ce,i===null?s_:function(){return Zm(t),i(s)})}function Km(t){var a=t.memoizedState;if(a!==null)return a;a={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:ce},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:i},next:null},t.memoizedState=a,t=t.alternate,t!==null&&(t.memoizedState=a),a}function Zm(t){var a=Km(t);a.next===null&&(a=t.alternate.memoizedState),br(t,a.next.queue,{},pu())}function Uf(){return It(wr)}function $m(){return pt().memoizedState}function Wm(){return pt().memoizedState}function l_(t){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var i=pu();t=Ia(i);var s=wa(a,t,i);s!==null&&(eu(s,a,i),mr(s,a,i)),a={cache:df()},t.payload=a;return}a=a.return}}function c_(t,a,i){var s=pu();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Pl(t)?eE(a,i):(i=ef(t,a,i,s),i!==null&&(eu(i,t,s),tE(i,a,s)))}function Jm(t,a,i){var s=pu();br(t,a,i,s)}function br(t,a,i,s){var c={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Pl(t))eE(a,c);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=a.lastRenderedReducer,o!==null))try{var m=a.lastRenderedState,g=o(m,i);if(c.hasEagerState=!0,c.eagerState=g,fu(g,m))return gl(t,a,c,0),ut===null&&pl(),!1}catch{}finally{}if(i=ef(t,a,c,s),i!==null)return eu(i,t,s),tE(i,a,s),!0}return!1}function Pf(t,a,i,s){if(s={lane:2,revertLane:D0(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Pl(t)){if(a)throw Error(r(479))}else a=ef(t,i,s,2),a!==null&&eu(a,t,2)}function Pl(t){var a=t.alternate;return t===ve||a!==null&&a===ve}function eE(t,a){ci=xl=!0;var i=t.pending;i===null?a.next=a:(a.next=i.next,i.next=a),t.pending=a}function tE(t,a,i){if((i&4194048)!==0){var s=a.lanes;s&=t.pendingLanes,i|=s,a.lanes=i,r1(t,i)}}var Tr={readContext:It,use:Ml,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useInsertionEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useSyncExternalStore:ht,useId:ht,useHostTransitionStatus:ht,useFormState:ht,useActionState:ht,useOptimistic:ht,useMemoCache:ht,useCacheRefresh:ht};Tr.useEffectEvent=ht;var uE={readContext:It,use:Ml,useCallback:function(t,a){return qt().memoizedState=[t,a===void 0?null:a],t},useContext:It,useEffect:Hm,useImperativeHandle:function(t,a,i){i=i!=null?i.concat([t]):null,wl(4194308,4,qm.bind(null,a,t),i)},useLayoutEffect:function(t,a){return wl(4194308,4,t,a)},useInsertionEffect:function(t,a){wl(4,2,t,a)},useMemo:function(t,a){var i=qt();a=a===void 0?null:a;var s=t();if(vn){Na(!0);try{t()}finally{Na(!1)}}return i.memoizedState=[s,a],s},useReducer:function(t,a,i){var s=qt();if(i!==void 0){var c=i(a);if(vn){Na(!0);try{i(a)}finally{Na(!1)}}}else c=a;return s.memoizedState=s.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},s.queue=t,t=t.dispatch=c_.bind(null,ve,t),[s.memoizedState,t]},useRef:function(t){var a=qt();return t={current:t},a.memoizedState=t},useState:function(t){t=xf(t);var a=t.queue,i=Jm.bind(null,ve,a);return a.dispatch=i,[t.memoizedState,i]},useDebugValue:Mf,useDeferredValue:function(t,a){var i=qt();return If(i,t,a)},useTransition:function(){var t=xf(!1);return t=Xm.bind(null,ve,t.queue,!0,!1),qt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,a,i){var s=ve,c=qt();if(Ue){if(i===void 0)throw Error(r(407));i=i()}else{if(i=a(),ut===null)throw Error(r(349));(Ie&127)!==0||vm(s,a,i)}c.memoizedState=i;var o={value:i,getSnapshot:a};return c.queue=o,Hm(ym.bind(null,s,o,t),[t]),s.flags|=2048,fi(9,{destroy:void 0},Cm.bind(null,s,o,i,a),null),i},useId:function(){var t=qt(),a=ut.identifierPrefix;if(Ue){var i=Vu,s=Gu;i=(s&~(1<<32-ou(s)-1)).toString(32)+i,a="_"+a+"R_"+i,i=Ll++,0<i&&(a+="H"+i.toString(32)),a+="_"}else i=u_++,a="_"+a+"r_"+i.toString(32)+"_";return t.memoizedState=a},useHostTransitionStatus:Uf,useFormState:Mm,useActionState:Mm,useOptimistic:function(t){var a=qt();a.memoizedState=a.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=Pf.bind(null,ve,!0,i),i.dispatch=a,[t,a]},useMemoCache:Rf,useCacheRefresh:function(){return qt().memoizedState=l_.bind(null,ve)},useEffectEvent:function(t){var a=qt(),i={impl:t};return a.memoizedState=i,function(){if((Qe&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},Hf={readContext:It,use:Ml,useCallback:Gm,useContext:It,useEffect:Bf,useImperativeHandle:Ym,useInsertionEffect:jm,useLayoutEffect:zm,useMemo:Vm,useReducer:Il,useRef:Pm,useState:function(){return Il(la)},useDebugValue:Mf,useDeferredValue:function(t,a){var i=pt();return Qm(i,We.memoizedState,t,a)},useTransition:function(){var t=Il(la)[0],a=pt().memoizedState;return[typeof t=="boolean"?t:gr(t),a]},useSyncExternalStore:Am,useId:$m,useHostTransitionStatus:Uf,useFormState:Im,useActionState:Im,useOptimistic:function(t,a){var i=pt();return Rm(i,We,t,a)},useMemoCache:Rf,useCacheRefresh:Wm};Hf.useEffectEvent=km;var aE={readContext:It,use:Ml,useCallback:Gm,useContext:It,useEffect:Bf,useImperativeHandle:Ym,useInsertionEffect:jm,useLayoutEffect:zm,useMemo:Vm,useReducer:Ff,useRef:Pm,useState:function(){return Ff(la)},useDebugValue:Mf,useDeferredValue:function(t,a){var i=pt();return We===null?If(i,t,a):Qm(i,We.memoizedState,t,a)},useTransition:function(){var t=Ff(la)[0],a=pt().memoizedState;return[typeof t=="boolean"?t:gr(t),a]},useSyncExternalStore:Am,useId:$m,useHostTransitionStatus:Uf,useFormState:Um,useActionState:Um,useOptimistic:function(t,a){var i=pt();return We!==null?Rm(i,We,t,a):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:Rf,useCacheRefresh:Wm};aE.useEffectEvent=km;function kf(t,a,i,s){a=t.memoizedState,i=i(s,a),i=i==null?a:T({},a,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var jf={enqueueSetState:function(t,a,i){t=t._reactInternals;var s=pu(),c=Ia(s);c.payload=a,i!=null&&(c.callback=i),a=wa(t,c,s),a!==null&&(eu(a,t,s),mr(a,t,s))},enqueueReplaceState:function(t,a,i){t=t._reactInternals;var s=pu(),c=Ia(s);c.tag=1,c.payload=a,i!=null&&(c.callback=i),a=wa(t,c,s),a!==null&&(eu(a,t,s),mr(a,t,s))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var i=pu(),s=Ia(i);s.tag=2,a!=null&&(s.callback=a),a=wa(t,s,i),a!==null&&(eu(a,t,i),mr(a,t,i))}};function nE(t,a,i,s,c,o,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,o,m):a.prototype&&a.prototype.isPureReactComponent?!rr(i,s)||!rr(c,o):!0}function iE(t,a,i,s){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,s),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,s),a.state!==t&&jf.enqueueReplaceState(a,a.state,null)}function Cn(t,a){var i=a;if("ref"in a){i={};for(var s in a)s!=="ref"&&(i[s]=a[s])}if(t=t.defaultProps){i===a&&(i=T({},i));for(var c in t)i[c]===void 0&&(i[c]=t[c])}return i}function rE(t){Dl(t)}function sE(t){console.error(t)}function lE(t){Dl(t)}function Hl(t,a){try{var i=t.onUncaughtError;i(a.value,{componentStack:a.stack})}catch(s){setTimeout(function(){throw s})}}function cE(t,a,i){try{var s=t.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function zf(t,a,i){return i=Ia(i),i.tag=3,i.payload={element:null},i.callback=function(){Hl(t,a)},i}function oE(t){return t=Ia(t),t.tag=3,t}function fE(t,a,i,s){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var o=s.value;t.payload=function(){return c(o)},t.callback=function(){cE(a,i,s)}}var m=i.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){cE(a,i,s),typeof c!="function"&&(za===null?za=new Set([this]):za.add(this));var g=s.stack;this.componentDidCatch(s.value,{componentStack:g!==null?g:""})})}function o_(t,a,i,s,c){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(a=i.alternate,a!==null&&ai(a,i,c,!0),i=hu.current,i!==null){switch(i.tag){case 31:case 13:return Fu===null?$l():i.alternate===null&&mt===0&&(mt=3),i.flags&=-257,i.flags|=65536,i.lanes=c,s===Sl?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([s]):a.add(s),h0(t,s,c)),!1;case 22:return i.flags|=65536,s===Sl?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([s]):i.add(s)),h0(t,s,c)),!1}throw Error(r(435,i.tag))}return h0(t,s,c),$l(),!1}if(Ue)return a=hu.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=c,s!==sf&&(t=Error(r(422),{cause:s}),cr(Su(t,i)))):(s!==sf&&(a=Error(r(423),{cause:s}),cr(Su(a,i))),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,s=Su(s,i),c=zf(t.stateNode,s,c),gf(t,c),mt!==4&&(mt=2)),!1;var o=Error(r(520),{cause:s});if(o=Su(o,i),Rr===null?Rr=[o]:Rr.push(o),mt!==4&&(mt=2),a===null)return!0;s=Su(s,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,t=c&-c,i.lanes|=t,t=zf(i.stateNode,s,t),gf(i,t),!1;case 1:if(a=i.type,o=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(za===null||!za.has(o))))return i.flags|=65536,c&=-c,i.lanes|=c,c=oE(c),fE(c,t,i,s),gf(i,c),!1}i=i.return}while(i!==null);return!1}var qf=Error(r(461)),Tt=!1;function wt(t,a,i,s){a.child=t===null?Em(a,null,i,s):An(a,t.child,i,s)}function dE(t,a,i,s,c){i=i.render;var o=a.ref;if("ref"in s){var m={};for(var g in s)g!=="ref"&&(m[g]=s[g])}else m=s;return gn(a),s=Cf(t,a,i,m,o,c),g=yf(),t!==null&&!Tt?(Sf(t,a,c),ca(t,a,c)):(Ue&&g&&nf(a),a.flags|=1,wt(t,a,s,c),a.child)}function hE(t,a,i,s,c){if(t===null){var o=i.type;return typeof o=="function"&&!tf(o)&&o.defaultProps===void 0&&i.compare===null?(a.tag=15,a.type=o,mE(t,a,o,s,c)):(t=Tl(i.type,null,s,a,a.mode,c),t.ref=a.ref,t.return=a,a.child=t)}if(o=t.child,!$f(t,c)){var m=o.memoizedProps;if(i=i.compare,i=i!==null?i:rr,i(m,s)&&t.ref===a.ref)return ca(t,a,c)}return a.flags|=1,t=aa(o,s),t.ref=a.ref,t.return=a,a.child=t}function mE(t,a,i,s,c){if(t!==null){var o=t.memoizedProps;if(rr(o,s)&&t.ref===a.ref)if(Tt=!1,a.pendingProps=s=o,$f(t,c))(t.flags&131072)!==0&&(Tt=!0);else return a.lanes=t.lanes,ca(t,a,c)}return Yf(t,a,i,s,c)}function EE(t,a,i,s){var c=s.children,o=t!==null?t.memoizedState:null;if(t===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((a.flags&128)!==0){if(o=o!==null?o.baseLanes|i:i,t!==null){for(s=a.child=t.child,c=0;s!==null;)c=c|s.lanes|s.childLanes,s=s.sibling;s=c&~o}else s=0,a.child=null;return DE(t,a,o,i,s)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},t!==null&&Cl(a,o!==null?o.cachePool:null),o!==null?gm(a,o):Tf(),bm(a);else return s=a.lanes=536870912,DE(t,a,o!==null?o.baseLanes|i:i,i,s)}else o!==null?(Cl(a,o.cachePool),gm(a,o),Pa(),a.memoizedState=null):(t!==null&&Cl(a,null),Tf(),Pa());return wt(t,a,c,i),a.child}function _r(t,a){return t!==null&&t.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function DE(t,a,i,s,c){var o=mf();return o=o===null?null:{parent:gt._currentValue,pool:o},a.memoizedState={baseLanes:i,cachePool:o},t!==null&&Cl(a,null),Tf(),bm(a),t!==null&&ai(t,a,s,!0),a.childLanes=c,null}function kl(t,a){return a=zl({mode:a.mode,children:a.children},t.mode),a.ref=t.ref,t.child=a,a.return=t,a}function pE(t,a,i){return An(a,t.child,null,i),t=kl(a,a.pendingProps),t.flags|=2,mu(a),a.memoizedState=null,t}function f_(t,a,i){var s=a.pendingProps,c=(a.flags&128)!==0;if(a.flags&=-129,t===null){if(Ue){if(s.mode==="hidden")return t=kl(a,s),a.lanes=536870912,_r(null,t);if(Af(a),(t=it)?(t=OD(t,Ou),t=t!==null&&t.data==="&"?t:null,t!==null&&(a.memoizedState={dehydrated:t,treeContext:Fa!==null?{id:Gu,overflow:Vu}:null,retryLane:536870912,hydrationErrors:null},i=em(t),i.return=a,a.child=i,Mt=a,it=null)):t=null,t===null)throw La(a);return a.lanes=536870912,null}return kl(a,s)}var o=t.memoizedState;if(o!==null){var m=o.dehydrated;if(Af(a),c)if(a.flags&256)a.flags&=-257,a=pE(t,a,i);else if(a.memoizedState!==null)a.child=t.child,a.flags|=128,a=null;else throw Error(r(558));else if(Tt||ai(t,a,i,!1),c=(i&t.childLanes)!==0,Tt||c){if(s=ut,s!==null&&(m=s1(s,i),m!==0&&m!==o.retryLane))throw o.retryLane=m,mn(t,m),eu(s,t,m),qf;$l(),a=pE(t,a,i)}else t=o.treeContext,it=xu(m.nextSibling),Mt=a,Ue=!0,xa=null,Ou=!1,t!==null&&am(a,t),a=kl(a,s),a.flags|=4096;return a}return t=aa(t.child,{mode:s.mode,children:s.children}),t.ref=a.ref,a.child=t,t.return=a,t}function jl(t,a){var i=a.ref;if(i===null)t!==null&&t.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(t===null||t.ref!==i)&&(a.flags|=4194816)}}function Yf(t,a,i,s,c){return gn(a),i=Cf(t,a,i,s,void 0,c),s=yf(),t!==null&&!Tt?(Sf(t,a,c),ca(t,a,c)):(Ue&&s&&nf(a),a.flags|=1,wt(t,a,i,c),a.child)}function gE(t,a,i,s,c,o){return gn(a),a.updateQueue=null,i=_m(a,s,i,c),Tm(t),s=yf(),t!==null&&!Tt?(Sf(t,a,o),ca(t,a,o)):(Ue&&s&&nf(a),a.flags|=1,wt(t,a,i,o),a.child)}function bE(t,a,i,s,c){if(gn(a),a.stateNode===null){var o=Jn,m=i.contextType;typeof m=="object"&&m!==null&&(o=It(m)),o=new i(s,o),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=jf,a.stateNode=o,o._reactInternals=a,o=a.stateNode,o.props=s,o.state=a.memoizedState,o.refs={},Df(a),m=i.contextType,o.context=typeof m=="object"&&m!==null?It(m):Jn,o.state=a.memoizedState,m=i.getDerivedStateFromProps,typeof m=="function"&&(kf(a,i,m,s),o.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(m=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),m!==o.state&&jf.enqueueReplaceState(o,o.state,null),Dr(a,s,o,c),Er(),o.state=a.memoizedState),typeof o.componentDidMount=="function"&&(a.flags|=4194308),s=!0}else if(t===null){o=a.stateNode;var g=a.memoizedProps,R=Cn(i,g);o.props=R;var w=o.context,V=i.contextType;m=Jn,typeof V=="object"&&V!==null&&(m=It(V));var X=i.getDerivedStateFromProps;V=typeof X=="function"||typeof o.getSnapshotBeforeUpdate=="function",g=a.pendingProps!==g,V||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(g||w!==m)&&iE(a,o,s,m),Ma=!1;var U=a.memoizedState;o.state=U,Dr(a,s,o,c),Er(),w=a.memoizedState,g||U!==w||Ma?(typeof X=="function"&&(kf(a,i,X,s),w=a.memoizedState),(R=Ma||nE(a,i,R,s,U,w,m))?(V||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(a.flags|=4194308)):(typeof o.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=s,a.memoizedState=w),o.props=s,o.state=w,o.context=m,s=R):(typeof o.componentDidMount=="function"&&(a.flags|=4194308),s=!1)}else{o=a.stateNode,pf(t,a),m=a.memoizedProps,V=Cn(i,m),o.props=V,X=a.pendingProps,U=o.context,w=i.contextType,R=Jn,typeof w=="object"&&w!==null&&(R=It(w)),g=i.getDerivedStateFromProps,(w=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(m!==X||U!==R)&&iE(a,o,s,R),Ma=!1,U=a.memoizedState,o.state=U,Dr(a,s,o,c),Er();var k=a.memoizedState;m!==X||U!==k||Ma||t!==null&&t.dependencies!==null&&Al(t.dependencies)?(typeof g=="function"&&(kf(a,i,g,s),k=a.memoizedState),(V=Ma||nE(a,i,V,s,U,k,R)||t!==null&&t.dependencies!==null&&Al(t.dependencies))?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(s,k,R),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(s,k,R)),typeof o.componentDidUpdate=="function"&&(a.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=1024),a.memoizedProps=s,a.memoizedState=k),o.props=s,o.state=k,o.context=R,s=V):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&U===t.memoizedState||(a.flags|=1024),s=!1)}return o=s,jl(t,a),s=(a.flags&128)!==0,o||s?(o=a.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:o.render(),a.flags|=1,t!==null&&s?(a.child=An(a,t.child,null,c),a.child=An(a,null,i,c)):wt(t,a,i,c),a.memoizedState=o.state,t=a.child):t=ca(t,a,c),t}function TE(t,a,i,s){return Dn(),a.flags|=256,wt(t,a,i,s),a.child}var Gf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vf(t){return{baseLanes:t,cachePool:cm()}}function Qf(t,a,i){return t=t!==null?t.childLanes&~i:0,a&&(t|=Du),t}function _E(t,a,i){var s=a.pendingProps,c=!1,o=(a.flags&128)!==0,m;if((m=o)||(m=t!==null&&t.memoizedState===null?!1:(Dt.current&2)!==0),m&&(c=!0,a.flags&=-129),m=(a.flags&32)!==0,a.flags&=-33,t===null){if(Ue){if(c?Ua(a):Pa(),(t=it)?(t=OD(t,Ou),t=t!==null&&t.data!=="&"?t:null,t!==null&&(a.memoizedState={dehydrated:t,treeContext:Fa!==null?{id:Gu,overflow:Vu}:null,retryLane:536870912,hydrationErrors:null},i=em(t),i.return=a,a.child=i,Mt=a,it=null)):t=null,t===null)throw La(a);return O0(t)?a.lanes=32:a.lanes=536870912,null}var g=s.children;return s=s.fallback,c?(Pa(),c=a.mode,g=zl({mode:"hidden",children:g},c),s=En(s,c,i,null),g.return=a,s.return=a,g.sibling=s,a.child=g,s=a.child,s.memoizedState=Vf(i),s.childLanes=Qf(t,m,i),a.memoizedState=Gf,_r(null,s)):(Ua(a),Xf(a,g))}var R=t.memoizedState;if(R!==null&&(g=R.dehydrated,g!==null)){if(o)a.flags&256?(Ua(a),a.flags&=-257,a=Kf(t,a,i)):a.memoizedState!==null?(Pa(),a.child=t.child,a.flags|=128,a=null):(Pa(),g=s.fallback,c=a.mode,s=zl({mode:"visible",children:s.children},c),g=En(g,c,i,null),g.flags|=2,s.return=a,g.return=a,s.sibling=g,a.child=s,An(a,t.child,null,i),s=a.child,s.memoizedState=Vf(i),s.childLanes=Qf(t,m,i),a.memoizedState=Gf,a=_r(null,s));else if(Ua(a),O0(g)){if(m=g.nextSibling&&g.nextSibling.dataset,m)var w=m.dgst;m=w,s=Error(r(419)),s.stack="",s.digest=m,cr({value:s,source:null,stack:null}),a=Kf(t,a,i)}else if(Tt||ai(t,a,i,!1),m=(i&t.childLanes)!==0,Tt||m){if(m=ut,m!==null&&(s=s1(m,i),s!==0&&s!==R.retryLane))throw R.retryLane=s,mn(t,s),eu(m,t,s),qf;R0(g)||$l(),a=Kf(t,a,i)}else R0(g)?(a.flags|=192,a.child=t.child,a=null):(t=R.treeContext,it=xu(g.nextSibling),Mt=a,Ue=!0,xa=null,Ou=!1,t!==null&&am(a,t),a=Xf(a,s.children),a.flags|=4096);return a}return c?(Pa(),g=s.fallback,c=a.mode,R=t.child,w=R.sibling,s=aa(R,{mode:"hidden",children:s.children}),s.subtreeFlags=R.subtreeFlags&65011712,w!==null?g=aa(w,g):(g=En(g,c,i,null),g.flags|=2),g.return=a,s.return=a,s.sibling=g,a.child=s,_r(null,s),s=a.child,g=t.child.memoizedState,g===null?g=Vf(i):(c=g.cachePool,c!==null?(R=gt._currentValue,c=c.parent!==R?{parent:R,pool:R}:c):c=cm(),g={baseLanes:g.baseLanes|i,cachePool:c}),s.memoizedState=g,s.childLanes=Qf(t,m,i),a.memoizedState=Gf,_r(t.child,s)):(Ua(a),i=t.child,t=i.sibling,i=aa(i,{mode:"visible",children:s.children}),i.return=a,i.sibling=null,t!==null&&(m=a.deletions,m===null?(a.deletions=[t],a.flags|=16):m.push(t)),a.child=i,a.memoizedState=null,i)}function Xf(t,a){return a=zl({mode:"visible",children:a},t.mode),a.return=t,t.child=a}function zl(t,a){return t=du(22,t,null,a),t.lanes=0,t}function Kf(t,a,i){return An(a,t.child,null,i),t=Xf(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function AE(t,a,i){t.lanes|=a;var s=t.alternate;s!==null&&(s.lanes|=a),of(t.return,a,i)}function Zf(t,a,i,s,c,o){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:c,treeForkCount:o}:(m.isBackwards=a,m.rendering=null,m.renderingStartTime=0,m.last=s,m.tail=i,m.tailMode=c,m.treeForkCount=o)}function vE(t,a,i){var s=a.pendingProps,c=s.revealOrder,o=s.tail;s=s.children;var m=Dt.current,g=(m&2)!==0;if(g?(m=m&1|2,a.flags|=128):m&=1,ae(Dt,m),wt(t,a,s,i),s=Ue?lr:0,!g&&t!==null&&(t.flags&128)!==0)e:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&AE(t,i,a);else if(t.tag===19)AE(t,i,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break e;for(;t.sibling===null;){if(t.return===null||t.return===a)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(i=a.child,c=null;i!==null;)t=i.alternate,t!==null&&Fl(t)===null&&(c=i),i=i.sibling;i=c,i===null?(c=a.child,a.child=null):(c=i.sibling,i.sibling=null),Zf(a,!1,c,i,o,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=a.child,a.child=null;c!==null;){if(t=c.alternate,t!==null&&Fl(t)===null){a.child=c;break}t=c.sibling,c.sibling=i,i=c,c=t}Zf(a,!0,i,null,o,s);break;case"together":Zf(a,!1,null,null,void 0,s);break;default:a.memoizedState=null}return a.child}function ca(t,a,i){if(t!==null&&(a.dependencies=t.dependencies),ja|=a.lanes,(i&a.childLanes)===0)if(t!==null){if(ai(t,a,i,!1),(i&a.childLanes)===0)return null}else return null;if(t!==null&&a.child!==t.child)throw Error(r(153));if(a.child!==null){for(t=a.child,i=aa(t,t.pendingProps),a.child=i,i.return=a;t.sibling!==null;)t=t.sibling,i=i.sibling=aa(t,t.pendingProps),i.return=a;i.sibling=null}return a.child}function $f(t,a){return(t.lanes&a)!==0?!0:(t=t.dependencies,!!(t!==null&&Al(t)))}function d_(t,a,i){switch(a.tag){case 3:nt(a,a.stateNode.containerInfo),Ba(a,gt,t.memoizedState.cache),Dn();break;case 27:case 5:j(a);break;case 4:nt(a,a.stateNode.containerInfo);break;case 10:Ba(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Af(a),null;break;case 13:var s=a.memoizedState;if(s!==null)return s.dehydrated!==null?(Ua(a),a.flags|=128,null):(i&a.child.childLanes)!==0?_E(t,a,i):(Ua(a),t=ca(t,a,i),t!==null?t.sibling:null);Ua(a);break;case 19:var c=(t.flags&128)!==0;if(s=(i&a.childLanes)!==0,s||(ai(t,a,i,!1),s=(i&a.childLanes)!==0),c){if(s)return vE(t,a,i);a.flags|=128}if(c=a.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),ae(Dt,Dt.current),s)break;return null;case 22:return a.lanes=0,EE(t,a,i,a.pendingProps);case 24:Ba(a,gt,t.memoizedState.cache)}return ca(t,a,i)}function CE(t,a,i){if(t!==null)if(t.memoizedProps!==a.pendingProps)Tt=!0;else{if(!$f(t,i)&&(a.flags&128)===0)return Tt=!1,d_(t,a,i);Tt=(t.flags&131072)!==0}else Tt=!1,Ue&&(a.flags&1048576)!==0&&um(a,lr,a.index);switch(a.lanes=0,a.tag){case 16:e:{var s=a.pendingProps;if(t=Tn(a.elementType),a.type=t,typeof t=="function")tf(t)?(s=Cn(t,s),a.tag=1,a=bE(null,a,t,s,i)):(a.tag=0,a=Yf(null,a,t,s,i));else{if(t!=null){var c=t.$$typeof;if(c===$){a.tag=11,a=dE(null,a,t,s,i);break e}else if(c===q){a.tag=14,a=hE(null,a,t,s,i);break e}}throw a=Se(t)||t,Error(r(306,a,""))}}return a;case 0:return Yf(t,a,a.type,a.pendingProps,i);case 1:return s=a.type,c=Cn(s,a.pendingProps),bE(t,a,s,c,i);case 3:e:{if(nt(a,a.stateNode.containerInfo),t===null)throw Error(r(387));s=a.pendingProps;var o=a.memoizedState;c=o.element,pf(t,a),Dr(a,s,null,i);var m=a.memoizedState;if(s=m.cache,Ba(a,gt,s),s!==o.cache&&ff(a,[gt],i,!0),Er(),s=m.element,o.isDehydrated)if(o={element:s,isDehydrated:!1,cache:m.cache},a.updateQueue.baseState=o,a.memoizedState=o,a.flags&256){a=TE(t,a,s,i);break e}else if(s!==c){c=Su(Error(r(424)),a),cr(c),a=TE(t,a,s,i);break e}else{switch(t=a.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(it=xu(t.firstChild),Mt=a,Ue=!0,xa=null,Ou=!0,i=Em(a,null,s,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Dn(),s===c){a=ca(t,a,i);break e}wt(t,a,s,i)}a=a.child}return a;case 26:return jl(t,a),t===null?(i=ID(a.type,null,a.pendingProps,null))?a.memoizedState=i:Ue||(i=a.type,t=a.pendingProps,s=nc(ge.current).createElement(i),s[Bt]=a,s[Xt]=t,Ut(s,i,t),Nt(s),a.stateNode=s):a.memoizedState=ID(a.type,t.memoizedProps,a.pendingProps,t.memoizedState),null;case 27:return j(a),t===null&&Ue&&(s=a.stateNode=LD(a.type,a.pendingProps,ge.current),Mt=a,Ou=!0,c=it,Va(a.type)?(F0=c,it=xu(s.firstChild)):it=c),wt(t,a,a.pendingProps.children,i),jl(t,a),t===null&&(a.flags|=4194304),a.child;case 5:return t===null&&Ue&&((c=s=it)&&(s=z_(s,a.type,a.pendingProps,Ou),s!==null?(a.stateNode=s,Mt=a,it=xu(s.firstChild),Ou=!1,c=!0):c=!1),c||La(a)),j(a),c=a.type,o=a.pendingProps,m=t!==null?t.memoizedProps:null,s=o.children,y0(c,o)?s=null:m!==null&&y0(c,m)&&(a.flags|=32),a.memoizedState!==null&&(c=Cf(t,a,a_,null,null,i),wr._currentValue=c),jl(t,a),wt(t,a,s,i),a.child;case 6:return t===null&&Ue&&((t=i=it)&&(i=q_(i,a.pendingProps,Ou),i!==null?(a.stateNode=i,Mt=a,it=null,t=!0):t=!1),t||La(a)),null;case 13:return _E(t,a,i);case 4:return nt(a,a.stateNode.containerInfo),s=a.pendingProps,t===null?a.child=An(a,null,s,i):wt(t,a,s,i),a.child;case 11:return dE(t,a,a.type,a.pendingProps,i);case 7:return wt(t,a,a.pendingProps,i),a.child;case 8:return wt(t,a,a.pendingProps.children,i),a.child;case 12:return wt(t,a,a.pendingProps.children,i),a.child;case 10:return s=a.pendingProps,Ba(a,a.type,s.value),wt(t,a,s.children,i),a.child;case 9:return c=a.type._context,s=a.pendingProps.children,gn(a),c=It(c),s=s(c),a.flags|=1,wt(t,a,s,i),a.child;case 14:return hE(t,a,a.type,a.pendingProps,i);case 15:return mE(t,a,a.type,a.pendingProps,i);case 19:return vE(t,a,i);case 31:return f_(t,a,i);case 22:return EE(t,a,i,a.pendingProps);case 24:return gn(a),s=It(gt),t===null?(c=mf(),c===null&&(c=ut,o=df(),c.pooledCache=o,o.refCount++,o!==null&&(c.pooledCacheLanes|=i),c=o),a.memoizedState={parent:s,cache:c},Df(a),Ba(a,gt,c)):((t.lanes&i)!==0&&(pf(t,a),Dr(a,null,null,i),Er()),c=t.memoizedState,o=a.memoizedState,c.parent!==s?(c={parent:s,cache:s},a.memoizedState=c,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=c),Ba(a,gt,s)):(s=o.cache,Ba(a,gt,s),s!==c.cache&&ff(a,[gt],i,!0))),wt(t,a,a.pendingProps.children,i),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function oa(t){t.flags|=4}function Wf(t,a,i,s,c){if((a=(t.mode&32)!==0)&&(a=!1),a){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if($E())t.flags|=8192;else throw _n=Sl,Ef}else t.flags&=-16777217}function yE(t,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!kD(a))if($E())t.flags|=8192;else throw _n=Sl,Ef}function ql(t,a){a!==null&&(t.flags|=4),t.flags&16384&&(a=t.tag!==22?n1():536870912,t.lanes|=a,Ei|=a)}function Ar(t,a){if(!Ue)switch(t.tailMode){case"hidden":a=t.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function rt(t){var a=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(a)for(var c=t.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags&65011712,s|=c.flags&65011712,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags,s|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=s,t.childLanes=i,a}function h_(t,a,i){var s=a.pendingProps;switch(rf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(a),null;case 1:return rt(a),null;case 3:return i=a.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),ra(gt),ke(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(ui(a)?oa(a):t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,lf())),rt(a),null;case 26:var c=a.type,o=a.memoizedState;return t===null?(oa(a),o!==null?(rt(a),yE(a,o)):(rt(a),Wf(a,c,null,s,i))):o?o!==t.memoizedState?(oa(a),rt(a),yE(a,o)):(rt(a),a.flags&=-16777217):(t=t.memoizedProps,t!==s&&oa(a),rt(a),Wf(a,c,t,s,i)),null;case 27:if(de(a),i=ge.current,c=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==s&&oa(a);else{if(!s){if(a.stateNode===null)throw Error(r(166));return rt(a),null}t=re.current,ui(a)?nm(a):(t=LD(c,s,i),a.stateNode=t,oa(a))}return rt(a),null;case 5:if(de(a),c=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==s&&oa(a);else{if(!s){if(a.stateNode===null)throw Error(r(166));return rt(a),null}if(o=re.current,ui(a))nm(a);else{var m=nc(ge.current);switch(o){case 1:o=m.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:o=m.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":o=m.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":o=m.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":o=m.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof s.is=="string"?m.createElement("select",{is:s.is}):m.createElement("select"),s.multiple?o.multiple=!0:s.size&&(o.size=s.size);break;default:o=typeof s.is=="string"?m.createElement(c,{is:s.is}):m.createElement(c)}}o[Bt]=a,o[Xt]=s;e:for(m=a.child;m!==null;){if(m.tag===5||m.tag===6)o.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===a)break e;for(;m.sibling===null;){if(m.return===null||m.return===a)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}a.stateNode=o;e:switch(Ut(o,c,s),c){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&oa(a)}}return rt(a),Wf(a,a.type,t===null?null:t.memoizedProps,a.pendingProps,i),null;case 6:if(t&&a.stateNode!=null)t.memoizedProps!==s&&oa(a);else{if(typeof s!="string"&&a.stateNode===null)throw Error(r(166));if(t=ge.current,ui(a)){if(t=a.stateNode,i=a.memoizedProps,s=null,c=Mt,c!==null)switch(c.tag){case 27:case 5:s=c.memoizedProps}t[Bt]=a,t=!!(t.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||_D(t.nodeValue,i)),t||La(a,!0)}else t=nc(t).createTextNode(s),t[Bt]=a,a.stateNode=t}return rt(a),null;case 31:if(i=a.memoizedState,t===null||t.memoizedState!==null){if(s=ui(a),i!==null){if(t===null){if(!s)throw Error(r(318));if(t=a.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[Bt]=a}else Dn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;rt(a),t=!1}else i=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return a.flags&256?(mu(a),a):(mu(a),null);if((a.flags&128)!==0)throw Error(r(558))}return rt(a),null;case 13:if(s=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=ui(a),s!==null&&s.dehydrated!==null){if(t===null){if(!c)throw Error(r(318));if(c=a.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[Bt]=a}else Dn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;rt(a),c=!1}else c=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return a.flags&256?(mu(a),a):(mu(a),null)}return mu(a),(a.flags&128)!==0?(a.lanes=i,a):(i=s!==null,t=t!==null&&t.memoizedState!==null,i&&(s=a.child,c=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(c=s.alternate.memoizedState.cachePool.pool),o=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(o=s.memoizedState.cachePool.pool),o!==c&&(s.flags|=2048)),i!==t&&i&&(a.child.flags|=8192),ql(a,a.updateQueue),rt(a),null);case 4:return ke(),t===null&&T0(a.stateNode.containerInfo),rt(a),null;case 10:return ra(a.type),rt(a),null;case 19:if(G(Dt),s=a.memoizedState,s===null)return rt(a),null;if(c=(a.flags&128)!==0,o=s.rendering,o===null)if(c)Ar(s,!1);else{if(mt!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(o=Fl(t),o!==null){for(a.flags|=128,Ar(s,!1),t=o.updateQueue,a.updateQueue=t,ql(a,t),a.subtreeFlags=0,t=i,i=a.child;i!==null;)J1(i,t),i=i.sibling;return ae(Dt,Dt.current&1|2),Ue&&na(a,s.treeForkCount),a.child}t=t.sibling}s.tail!==null&&Pt()>Xl&&(a.flags|=128,c=!0,Ar(s,!1),a.lanes=4194304)}else{if(!c)if(t=Fl(o),t!==null){if(a.flags|=128,c=!0,t=t.updateQueue,a.updateQueue=t,ql(a,t),Ar(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Ue)return rt(a),null}else 2*Pt()-s.renderingStartTime>Xl&&i!==536870912&&(a.flags|=128,c=!0,Ar(s,!1),a.lanes=4194304);s.isBackwards?(o.sibling=a.child,a.child=o):(t=s.last,t!==null?t.sibling=o:a.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Pt(),t.sibling=null,i=Dt.current,ae(Dt,c?i&1|2:i&1),Ue&&na(a,s.treeForkCount),t):(rt(a),null);case 22:case 23:return mu(a),_f(),s=a.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(a.flags|=8192):s&&(a.flags|=8192),s?(i&536870912)!==0&&(a.flags&128)===0&&(rt(a),a.subtreeFlags&6&&(a.flags|=8192)):rt(a),i=a.updateQueue,i!==null&&ql(a,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),s=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==i&&(a.flags|=2048),t!==null&&G(bn),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),ra(gt),rt(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function m_(t,a){switch(rf(a),a.tag){case 1:return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return ra(gt),ke(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 26:case 27:case 5:return de(a),null;case 31:if(a.memoizedState!==null){if(mu(a),a.alternate===null)throw Error(r(340));Dn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 13:if(mu(a),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Dn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return G(Dt),null;case 4:return ke(),null;case 10:return ra(a.type),null;case 22:case 23:return mu(a),_f(),t!==null&&G(bn),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 24:return ra(gt),null;case 25:return null;default:return null}}function SE(t,a){switch(rf(a),a.tag){case 3:ra(gt),ke();break;case 26:case 27:case 5:de(a);break;case 4:ke();break;case 31:a.memoizedState!==null&&mu(a);break;case 13:mu(a);break;case 19:G(Dt);break;case 10:ra(a.type);break;case 22:case 23:mu(a),_f(),t!==null&&G(bn);break;case 24:ra(gt)}}function vr(t,a){try{var i=a.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var c=s.next;i=c;do{if((i.tag&t)===t){s=void 0;var o=i.create,m=i.inst;s=o(),m.destroy=s}i=i.next}while(i!==c)}}catch(g){$e(a,a.return,g)}}function Ha(t,a,i){try{var s=a.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var o=c.next;s=o;do{if((s.tag&t)===t){var m=s.inst,g=m.destroy;if(g!==void 0){m.destroy=void 0,c=a;var R=i,w=g;try{w()}catch(V){$e(c,R,V)}}}s=s.next}while(s!==o)}}catch(V){$e(a,a.return,V)}}function NE(t){var a=t.updateQueue;if(a!==null){var i=t.stateNode;try{pm(a,i)}catch(s){$e(t,t.return,s)}}}function RE(t,a,i){i.props=Cn(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(s){$e(t,a,s)}}function Cr(t,a){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof i=="function"?t.refCleanup=i(s):i.current=s}}catch(c){$e(t,a,c)}}function Qu(t,a){var i=t.ref,s=t.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(c){$e(t,a,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){$e(t,a,c)}else i.current=null}function OE(t){var a=t.type,i=t.memoizedProps,s=t.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break e;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(c){$e(t,t.return,c)}}function Jf(t,a,i){try{var s=t.stateNode;w_(s,t.type,i,a),s[Xt]=a}catch(c){$e(t,t.return,c)}}function FE(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Va(t.type)||t.tag===4}function e0(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||FE(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Va(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function t0(t,a,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(t),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=ta));else if(s!==4&&(s===27&&Va(t.type)&&(i=t.stateNode,a=null),t=t.child,t!==null))for(t0(t,a,i),t=t.sibling;t!==null;)t0(t,a,i),t=t.sibling}function Yl(t,a,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,a?i.insertBefore(t,a):i.appendChild(t);else if(s!==4&&(s===27&&Va(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(Yl(t,a,i),t=t.sibling;t!==null;)Yl(t,a,i),t=t.sibling}function xE(t){var a=t.stateNode,i=t.memoizedProps;try{for(var s=t.type,c=a.attributes;c.length;)a.removeAttributeNode(c[0]);Ut(a,s,i),a[Bt]=t,a[Xt]=i}catch(o){$e(t,t.return,o)}}var fa=!1,_t=!1,u0=!1,LE=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function E_(t,a){if(t=t.containerInfo,v0=fc,t=Y1(t),Xo(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var c=s.anchorOffset,o=s.focusNode;s=s.focusOffset;try{i.nodeType,o.nodeType}catch{i=null;break e}var m=0,g=-1,R=-1,w=0,V=0,X=t,U=null;t:for(;;){for(var k;X!==i||c!==0&&X.nodeType!==3||(g=m+c),X!==o||s!==0&&X.nodeType!==3||(R=m+s),X.nodeType===3&&(m+=X.nodeValue.length),(k=X.firstChild)!==null;)U=X,X=k;for(;;){if(X===t)break t;if(U===i&&++w===c&&(g=m),U===o&&++V===s&&(R=m),(k=X.nextSibling)!==null)break;X=U,U=X.parentNode}X=k}i=g===-1||R===-1?null:{start:g,end:R}}else i=null}i=i||{start:0,end:0}}else i=null;for(C0={focusedElem:t,selectionRange:i},fc=!1,Rt=a;Rt!==null;)if(a=Rt,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,Rt=t;else for(;Rt!==null;){switch(a=Rt,o=a.alternate,t=a.flags,a.tag){case 0:if((t&4)!==0&&(t=a.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i<t.length;i++)c=t[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,i=a,c=o.memoizedProps,o=o.memoizedState,s=i.stateNode;try{var se=Cn(i.type,c);t=s.getSnapshotBeforeUpdate(se,o),s.__reactInternalSnapshotBeforeUpdate=t}catch(Ee){$e(i,i.return,Ee)}}break;case 3:if((t&1024)!==0){if(t=a.stateNode.containerInfo,i=t.nodeType,i===9)N0(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":N0(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=a.sibling,t!==null){t.return=a.return,Rt=t;break}Rt=a.return}}function BE(t,a,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:ha(t,i),s&4&&vr(5,i);break;case 1:if(ha(t,i),s&4)if(t=i.stateNode,a===null)try{t.componentDidMount()}catch(m){$e(i,i.return,m)}else{var c=Cn(i.type,a.memoizedProps);a=a.memoizedState;try{t.componentDidUpdate(c,a,t.__reactInternalSnapshotBeforeUpdate)}catch(m){$e(i,i.return,m)}}s&64&&NE(i),s&512&&Cr(i,i.return);break;case 3:if(ha(t,i),s&64&&(t=i.updateQueue,t!==null)){if(a=null,i.child!==null)switch(i.child.tag){case 27:case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}try{pm(t,a)}catch(m){$e(i,i.return,m)}}break;case 27:a===null&&s&4&&xE(i);case 26:case 5:ha(t,i),a===null&&s&4&&OE(i),s&512&&Cr(i,i.return);break;case 12:ha(t,i);break;case 31:ha(t,i),s&4&&wE(t,i);break;case 13:ha(t,i),s&4&&UE(t,i),s&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=C_.bind(null,i),Y_(t,i))));break;case 22:if(s=i.memoizedState!==null||fa,!s){a=a!==null&&a.memoizedState!==null||_t,c=fa;var o=_t;fa=s,(_t=a)&&!o?ma(t,i,(i.subtreeFlags&8772)!==0):ha(t,i),fa=c,_t=o}break;case 30:break;default:ha(t,i)}}function ME(t){var a=t.alternate;a!==null&&(t.alternate=null,ME(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&xo(a)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var lt=null,Zt=!1;function da(t,a,i){for(i=i.child;i!==null;)IE(t,a,i),i=i.sibling}function IE(t,a,i){if(cu&&typeof cu.onCommitFiberUnmount=="function")try{cu.onCommitFiberUnmount(Xi,i)}catch{}switch(i.tag){case 26:_t||Qu(i,a),da(t,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:_t||Qu(i,a);var s=lt,c=Zt;Va(i.type)&&(lt=i.stateNode,Zt=!1),da(t,a,i),Br(i.stateNode),lt=s,Zt=c;break;case 5:_t||Qu(i,a);case 6:if(s=lt,c=Zt,lt=null,da(t,a,i),lt=s,Zt=c,lt!==null)if(Zt)try{(lt.nodeType===9?lt.body:lt.nodeName==="HTML"?lt.ownerDocument.body:lt).removeChild(i.stateNode)}catch(o){$e(i,a,o)}else try{lt.removeChild(i.stateNode)}catch(o){$e(i,a,o)}break;case 18:lt!==null&&(Zt?(t=lt,ND(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),vi(t)):ND(lt,i.stateNode));break;case 4:s=lt,c=Zt,lt=i.stateNode.containerInfo,Zt=!0,da(t,a,i),lt=s,Zt=c;break;case 0:case 11:case 14:case 15:Ha(2,i,a),_t||Ha(4,i,a),da(t,a,i);break;case 1:_t||(Qu(i,a),s=i.stateNode,typeof s.componentWillUnmount=="function"&&RE(i,a,s)),da(t,a,i);break;case 21:da(t,a,i);break;case 22:_t=(s=_t)||i.memoizedState!==null,da(t,a,i),_t=s;break;default:da(t,a,i)}}function wE(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{vi(t)}catch(i){$e(a,a.return,i)}}}function UE(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{vi(t)}catch(i){$e(a,a.return,i)}}function D_(t){switch(t.tag){case 31:case 13:case 19:var a=t.stateNode;return a===null&&(a=t.stateNode=new LE),a;case 22:return t=t.stateNode,a=t._retryCache,a===null&&(a=t._retryCache=new LE),a;default:throw Error(r(435,t.tag))}}function Gl(t,a){var i=D_(t);a.forEach(function(s){if(!i.has(s)){i.add(s);var c=y_.bind(null,t,s);s.then(c,c)}})}function $t(t,a){var i=a.deletions;if(i!==null)for(var s=0;s<i.length;s++){var c=i[s],o=t,m=a,g=m;e:for(;g!==null;){switch(g.tag){case 27:if(Va(g.type)){lt=g.stateNode,Zt=!1;break e}break;case 5:lt=g.stateNode,Zt=!1;break e;case 3:case 4:lt=g.stateNode.containerInfo,Zt=!0;break e}g=g.return}if(lt===null)throw Error(r(160));IE(o,m,c),lt=null,Zt=!1,o=c.alternate,o!==null&&(o.return=null),c.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)PE(a,t),a=a.sibling}var Pu=null;function PE(t,a){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:$t(a,t),Wt(t),s&4&&(Ha(3,t,t.return),vr(3,t),Ha(5,t,t.return));break;case 1:$t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),s&64&&fa&&(t=t.updateQueue,t!==null&&(s=t.callbacks,s!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var c=Pu;if($t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),s&4){var o=i!==null?i.memoizedState:null;if(s=t.memoizedState,i===null)if(s===null)if(t.stateNode===null){e:{s=t.type,i=t.memoizedProps,c=c.ownerDocument||c;t:switch(s){case"title":o=c.getElementsByTagName("title")[0],(!o||o[$i]||o[Bt]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=c.createElement(s),c.head.insertBefore(o,c.querySelector("head > title"))),Ut(o,s,i),o[Bt]=t,Nt(o),s=o;break e;case"link":var m=PD("link","href",c).get(s+(i.href||""));if(m){for(var g=0;g<m.length;g++)if(o=m[g],o.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&o.getAttribute("rel")===(i.rel==null?null:i.rel)&&o.getAttribute("title")===(i.title==null?null:i.title)&&o.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){m.splice(g,1);break t}}o=c.createElement(s),Ut(o,s,i),c.head.appendChild(o);break;case"meta":if(m=PD("meta","content",c).get(s+(i.content||""))){for(g=0;g<m.length;g++)if(o=m[g],o.getAttribute("content")===(i.content==null?null:""+i.content)&&o.getAttribute("name")===(i.name==null?null:i.name)&&o.getAttribute("property")===(i.property==null?null:i.property)&&o.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&o.getAttribute("charset")===(i.charSet==null?null:i.charSet)){m.splice(g,1);break t}}o=c.createElement(s),Ut(o,s,i),c.head.appendChild(o);break;default:throw Error(r(468,s))}o[Bt]=t,Nt(o),s=o}t.stateNode=s}else HD(c,t.type,t.stateNode);else t.stateNode=UD(c,s,t.memoizedProps);else o!==s?(o===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):o.count--,s===null?HD(c,t.type,t.stateNode):UD(c,s,t.memoizedProps)):s===null&&t.stateNode!==null&&Jf(t,t.memoizedProps,i.memoizedProps)}break;case 27:$t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),i!==null&&s&4&&Jf(t,t.memoizedProps,i.memoizedProps);break;case 5:if($t(a,t),Wt(t),s&512&&(_t||i===null||Qu(i,i.return)),t.flags&32){c=t.stateNode;try{Vn(c,"")}catch(se){$e(t,t.return,se)}}s&4&&t.stateNode!=null&&(c=t.memoizedProps,Jf(t,c,i!==null?i.memoizedProps:c)),s&1024&&(u0=!0);break;case 6:if($t(a,t),Wt(t),s&4){if(t.stateNode===null)throw Error(r(162));s=t.memoizedProps,i=t.stateNode;try{i.nodeValue=s}catch(se){$e(t,t.return,se)}}break;case 3:if(sc=null,c=Pu,Pu=ic(a.containerInfo),$t(a,t),Pu=c,Wt(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{vi(a.containerInfo)}catch(se){$e(t,t.return,se)}u0&&(u0=!1,HE(t));break;case 4:s=Pu,Pu=ic(t.stateNode.containerInfo),$t(a,t),Wt(t),Pu=s;break;case 12:$t(a,t),Wt(t);break;case 31:$t(a,t),Wt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Gl(t,s)));break;case 13:$t(a,t),Wt(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Ql=Pt()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Gl(t,s)));break;case 22:c=t.memoizedState!==null;var R=i!==null&&i.memoizedState!==null,w=fa,V=_t;if(fa=w||c,_t=V||R,$t(a,t),_t=V,fa=w,Wt(t),s&8192)e:for(a=t.stateNode,a._visibility=c?a._visibility&-2:a._visibility|1,c&&(i===null||R||fa||_t||yn(t)),i=null,a=t;;){if(a.tag===5||a.tag===26){if(i===null){R=i=a;try{if(o=R.stateNode,c)m=o.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{g=R.stateNode;var X=R.memoizedProps.style,U=X!=null&&X.hasOwnProperty("display")?X.display:null;g.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(se){$e(R,R.return,se)}}}else if(a.tag===6){if(i===null){R=a;try{R.stateNode.nodeValue=c?"":R.memoizedProps}catch(se){$e(R,R.return,se)}}}else if(a.tag===18){if(i===null){R=a;try{var k=R.stateNode;c?RD(k,!0):RD(R.stateNode,!1)}catch(se){$e(R,R.return,se)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===t)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}s&4&&(s=t.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Gl(t,i))));break;case 19:$t(a,t),Wt(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Gl(t,s)));break;case 30:break;case 21:break;default:$t(a,t),Wt(t)}}function Wt(t){var a=t.flags;if(a&2){try{for(var i,s=t.return;s!==null;){if(FE(s)){i=s;break}s=s.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var c=i.stateNode,o=e0(t);Yl(t,o,c);break;case 5:var m=i.stateNode;i.flags&32&&(Vn(m,""),i.flags&=-33);var g=e0(t);Yl(t,g,m);break;case 3:case 4:var R=i.stateNode.containerInfo,w=e0(t);t0(t,w,R);break;default:throw Error(r(161))}}catch(V){$e(t,t.return,V)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function HE(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var a=t;HE(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),t=t.sibling}}function ha(t,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)BE(t,a.alternate,a),a=a.sibling}function yn(t){for(t=t.child;t!==null;){var a=t;switch(a.tag){case 0:case 11:case 14:case 15:Ha(4,a,a.return),yn(a);break;case 1:Qu(a,a.return);var i=a.stateNode;typeof i.componentWillUnmount=="function"&&RE(a,a.return,i),yn(a);break;case 27:Br(a.stateNode);case 26:case 5:Qu(a,a.return),yn(a);break;case 22:a.memoizedState===null&&yn(a);break;case 30:yn(a);break;default:yn(a)}t=t.sibling}}function ma(t,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var s=a.alternate,c=t,o=a,m=o.flags;switch(o.tag){case 0:case 11:case 15:ma(c,o,i),vr(4,o);break;case 1:if(ma(c,o,i),s=o,c=s.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(w){$e(s,s.return,w)}if(s=o,c=s.updateQueue,c!==null){var g=s.stateNode;try{var R=c.shared.hiddenCallbacks;if(R!==null)for(c.shared.hiddenCallbacks=null,c=0;c<R.length;c++)Dm(R[c],g)}catch(w){$e(s,s.return,w)}}i&&m&64&&NE(o),Cr(o,o.return);break;case 27:xE(o);case 26:case 5:ma(c,o,i),i&&s===null&&m&4&&OE(o),Cr(o,o.return);break;case 12:ma(c,o,i);break;case 31:ma(c,o,i),i&&m&4&&wE(c,o);break;case 13:ma(c,o,i),i&&m&4&&UE(c,o);break;case 22:o.memoizedState===null&&ma(c,o,i),Cr(o,o.return);break;case 30:break;default:ma(c,o,i)}a=a.sibling}}function a0(t,a){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(t=a.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&or(i))}function n0(t,a){t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&or(t))}function Hu(t,a,i,s){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)kE(t,a,i,s),a=a.sibling}function kE(t,a,i,s){var c=a.flags;switch(a.tag){case 0:case 11:case 15:Hu(t,a,i,s),c&2048&&vr(9,a);break;case 1:Hu(t,a,i,s);break;case 3:Hu(t,a,i,s),c&2048&&(t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&or(t)));break;case 12:if(c&2048){Hu(t,a,i,s),t=a.stateNode;try{var o=a.memoizedProps,m=o.id,g=o.onPostCommit;typeof g=="function"&&g(m,a.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){$e(a,a.return,R)}}else Hu(t,a,i,s);break;case 31:Hu(t,a,i,s);break;case 13:Hu(t,a,i,s);break;case 23:break;case 22:o=a.stateNode,m=a.alternate,a.memoizedState!==null?o._visibility&2?Hu(t,a,i,s):yr(t,a):o._visibility&2?Hu(t,a,i,s):(o._visibility|=2,di(t,a,i,s,(a.subtreeFlags&10256)!==0||!1)),c&2048&&a0(m,a);break;case 24:Hu(t,a,i,s),c&2048&&n0(a.alternate,a);break;default:Hu(t,a,i,s)}}function di(t,a,i,s,c){for(c=c&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var o=t,m=a,g=i,R=s,w=m.flags;switch(m.tag){case 0:case 11:case 15:di(o,m,g,R,c),vr(8,m);break;case 23:break;case 22:var V=m.stateNode;m.memoizedState!==null?V._visibility&2?di(o,m,g,R,c):yr(o,m):(V._visibility|=2,di(o,m,g,R,c)),c&&w&2048&&a0(m.alternate,m);break;case 24:di(o,m,g,R,c),c&&w&2048&&n0(m.alternate,m);break;default:di(o,m,g,R,c)}a=a.sibling}}function yr(t,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var i=t,s=a,c=s.flags;switch(s.tag){case 22:yr(i,s),c&2048&&a0(s.alternate,s);break;case 24:yr(i,s),c&2048&&n0(s.alternate,s);break;default:yr(i,s)}a=a.sibling}}var Sr=8192;function hi(t,a,i){if(t.subtreeFlags&Sr)for(t=t.child;t!==null;)jE(t,a,i),t=t.sibling}function jE(t,a,i){switch(t.tag){case 26:hi(t,a,i),t.flags&Sr&&t.memoizedState!==null&&uA(i,Pu,t.memoizedState,t.memoizedProps);break;case 5:hi(t,a,i);break;case 3:case 4:var s=Pu;Pu=ic(t.stateNode.containerInfo),hi(t,a,i),Pu=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=Sr,Sr=16777216,hi(t,a,i),Sr=s):hi(t,a,i));break;default:hi(t,a,i)}}function zE(t){var a=t.alternate;if(a!==null&&(t=a.child,t!==null)){a.child=null;do a=t.sibling,t.sibling=null,t=a;while(t!==null)}}function Nr(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var s=a[i];Rt=s,YE(s,t)}zE(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qE(t),t=t.sibling}function qE(t){switch(t.tag){case 0:case 11:case 15:Nr(t),t.flags&2048&&Ha(9,t,t.return);break;case 3:Nr(t);break;case 12:Nr(t);break;case 22:var a=t.stateNode;t.memoizedState!==null&&a._visibility&2&&(t.return===null||t.return.tag!==13)?(a._visibility&=-3,Vl(t)):Nr(t);break;default:Nr(t)}}function Vl(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var s=a[i];Rt=s,YE(s,t)}zE(t)}for(t=t.child;t!==null;){switch(a=t,a.tag){case 0:case 11:case 15:Ha(8,a,a.return),Vl(a);break;case 22:i=a.stateNode,i._visibility&2&&(i._visibility&=-3,Vl(a));break;default:Vl(a)}t=t.sibling}}function YE(t,a){for(;Rt!==null;){var i=Rt;switch(i.tag){case 0:case 11:case 15:Ha(8,i,a);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:or(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Rt=s;else e:for(i=t;Rt!==null;){s=Rt;var c=s.sibling,o=s.return;if(ME(s),s===i){Rt=null;break e}if(c!==null){c.return=o,Rt=c;break e}Rt=o}}}var p_={getCacheForType:function(t){var a=It(gt),i=a.data.get(t);return i===void 0&&(i=t(),a.data.set(t,i)),i},cacheSignal:function(){return It(gt).controller.signal}},g_=typeof WeakMap=="function"?WeakMap:Map,Qe=0,ut=null,Le=null,Ie=0,Ze=0,Eu=null,ka=!1,mi=!1,i0=!1,Ea=0,mt=0,ja=0,Sn=0,r0=0,Du=0,Ei=0,Rr=null,Jt=null,s0=!1,Ql=0,GE=0,Xl=1/0,Kl=null,za=null,yt=0,qa=null,Di=null,Da=0,l0=0,c0=null,VE=null,Or=0,o0=null;function pu(){return(Qe&2)!==0&&Ie!==0?Ie&-Ie:Y.T!==null?D0():l1()}function QE(){if(Du===0)if((Ie&536870912)===0||Ue){var t=al;al<<=1,(al&3932160)===0&&(al=262144),Du=t}else Du=536870912;return t=hu.current,t!==null&&(t.flags|=32),Du}function eu(t,a,i){(t===ut&&(Ze===2||Ze===9)||t.cancelPendingCommit!==null)&&(pi(t,0),Ya(t,Ie,Du,!1)),Zi(t,i),((Qe&2)===0||t!==ut)&&(t===ut&&((Qe&2)===0&&(Sn|=i),mt===4&&Ya(t,Ie,Du,!1)),Xu(t))}function XE(t,a,i){if((Qe&6)!==0)throw Error(r(327));var s=!i&&(a&127)===0&&(a&t.expiredLanes)===0||Ki(t,a),c=s?__(t,a):d0(t,a,!0),o=s;do{if(c===0){mi&&!s&&Ya(t,a,0,!1);break}else{if(i=t.current.alternate,o&&!b_(i)){c=d0(t,a,!1),o=!1;continue}if(c===2){if(o=a,t.errorRecoveryDisabledLanes&o)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){a=m;e:{var g=t;c=Rr;var R=g.current.memoizedState.isDehydrated;if(R&&(pi(g,m).flags|=256),m=d0(g,m,!1),m!==2){if(i0&&!R){g.errorRecoveryDisabledLanes|=o,Sn|=o,c=4;break e}o=Jt,Jt=c,o!==null&&(Jt===null?Jt=o:Jt.push.apply(Jt,o))}c=m}if(o=!1,c!==2)continue}}if(c===1){pi(t,0),Ya(t,a,0,!0);break}e:{switch(s=t,o=c,o){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:Ya(s,a,Du,!ka);break e;case 2:Jt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(c=Ql+300-Pt(),10<c)){if(Ya(s,a,Du,!ka),il(s,0,!0)!==0)break e;Da=a,s.timeoutHandle=yD(KE.bind(null,s,i,Jt,Kl,s0,a,Du,Sn,Ei,ka,o,"Throttled",-0,0),c);break e}KE(s,i,Jt,Kl,s0,a,Du,Sn,Ei,ka,o,null,-0,0)}}break}while(!0);Xu(t)}function KE(t,a,i,s,c,o,m,g,R,w,V,X,U,k){if(t.timeoutHandle=-1,X=a.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ta},jE(a,o,X);var se=(o&62914560)===o?Ql-Pt():(o&4194048)===o?GE-Pt():0;if(se=aA(X,se),se!==null){Da=o,t.cancelPendingCommit=se(aD.bind(null,t,a,o,i,s,c,m,g,R,V,X,null,U,k)),Ya(t,o,m,!w);return}}aD(t,a,o,i,s,c,m,g,R)}function b_(t){for(var a=t;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var c=i[s],o=c.getSnapshot;c=c.value;try{if(!fu(o(),c))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ya(t,a,i,s){a&=~r0,a&=~Sn,t.suspendedLanes|=a,t.pingedLanes&=~a,s&&(t.warmLanes|=a),s=t.expirationTimes;for(var c=a;0<c;){var o=31-ou(c),m=1<<o;s[o]=-1,c&=~m}i!==0&&i1(t,i,a)}function Zl(){return(Qe&6)===0?(Fr(0),!1):!0}function f0(){if(Le!==null){if(Ze===0)var t=Le.return;else t=Le,ia=pn=null,Nf(t),si=null,dr=0,t=Le;for(;t!==null;)SE(t.alternate,t),t=t.return;Le=null}}function pi(t,a){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,H_(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),Da=0,f0(),ut=t,Le=i=aa(t.current,null),Ie=a,Ze=0,Eu=null,ka=!1,mi=Ki(t,a),i0=!1,Ei=Du=r0=Sn=ja=mt=0,Jt=Rr=null,s0=!1,(a&8)!==0&&(a|=a&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=a;0<s;){var c=31-ou(s),o=1<<c;a|=t[c],s&=~o}return Ea=a,pl(),i}function ZE(t,a){ve=null,Y.H=Tr,a===ri||a===yl?(a=dm(),Ze=3):a===Ef?(a=dm(),Ze=4):Ze=a===qf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Eu=a,Le===null&&(mt=1,Hl(t,Su(a,t.current)))}function $E(){var t=hu.current;return t===null?!0:(Ie&4194048)===Ie?Fu===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?t===Fu:!1}function WE(){var t=Y.H;return Y.H=Tr,t===null?Tr:t}function JE(){var t=Y.A;return Y.A=p_,t}function $l(){mt=4,ka||(Ie&4194048)!==Ie&&hu.current!==null||(mi=!0),(ja&134217727)===0&&(Sn&134217727)===0||ut===null||Ya(ut,Ie,Du,!1)}function d0(t,a,i){var s=Qe;Qe|=2;var c=WE(),o=JE();(ut!==t||Ie!==a)&&(Kl=null,pi(t,a)),a=!1;var m=mt;e:do try{if(Ze!==0&&Le!==null){var g=Le,R=Eu;switch(Ze){case 8:f0(),m=6;break e;case 3:case 2:case 9:case 6:hu.current===null&&(a=!0);var w=Ze;if(Ze=0,Eu=null,gi(t,g,R,w),i&&mi){m=0;break e}break;default:w=Ze,Ze=0,Eu=null,gi(t,g,R,w)}}T_(),m=mt;break}catch(V){ZE(t,V)}while(!0);return a&&t.shellSuspendCounter++,ia=pn=null,Qe=s,Y.H=c,Y.A=o,Le===null&&(ut=null,Ie=0,pl()),m}function T_(){for(;Le!==null;)eD(Le)}function __(t,a){var i=Qe;Qe|=2;var s=WE(),c=JE();ut!==t||Ie!==a?(Kl=null,Xl=Pt()+500,pi(t,a)):mi=Ki(t,a);e:do try{if(Ze!==0&&Le!==null){a=Le;var o=Eu;t:switch(Ze){case 1:Ze=0,Eu=null,gi(t,a,o,1);break;case 2:case 9:if(om(o)){Ze=0,Eu=null,tD(a);break}a=function(){Ze!==2&&Ze!==9||ut!==t||(Ze=7),Xu(t)},o.then(a,a);break e;case 3:Ze=7;break e;case 4:Ze=5;break e;case 7:om(o)?(Ze=0,Eu=null,tD(a)):(Ze=0,Eu=null,gi(t,a,o,7));break;case 5:var m=null;switch(Le.tag){case 26:m=Le.memoizedState;case 5:case 27:var g=Le;if(m?kD(m):g.stateNode.complete){Ze=0,Eu=null;var R=g.sibling;if(R!==null)Le=R;else{var w=g.return;w!==null?(Le=w,Wl(w)):Le=null}break t}}Ze=0,Eu=null,gi(t,a,o,5);break;case 6:Ze=0,Eu=null,gi(t,a,o,6);break;case 8:f0(),mt=6;break e;default:throw Error(r(462))}}A_();break}catch(V){ZE(t,V)}while(!0);return ia=pn=null,Y.H=s,Y.A=c,Qe=i,Le!==null?0:(ut=null,Ie=0,pl(),mt)}function A_(){for(;Le!==null&&!el();)eD(Le)}function eD(t){var a=CE(t.alternate,t,Ea);t.memoizedProps=t.pendingProps,a===null?Wl(t):Le=a}function tD(t){var a=t,i=a.alternate;switch(a.tag){case 15:case 0:a=gE(i,a,a.pendingProps,a.type,void 0,Ie);break;case 11:a=gE(i,a,a.pendingProps,a.type.render,a.ref,Ie);break;case 5:Nf(a);default:SE(i,a),a=Le=J1(a,Ea),a=CE(i,a,Ea)}t.memoizedProps=t.pendingProps,a===null?Wl(t):Le=a}function gi(t,a,i,s){ia=pn=null,Nf(a),si=null,dr=0;var c=a.return;try{if(o_(t,c,a,i,Ie)){mt=1,Hl(t,Su(i,t.current)),Le=null;return}}catch(o){if(c!==null)throw Le=c,o;mt=1,Hl(t,Su(i,t.current)),Le=null;return}a.flags&32768?(Ue||s===1?t=!0:mi||(Ie&536870912)!==0?t=!1:(ka=t=!0,(s===2||s===9||s===3||s===6)&&(s=hu.current,s!==null&&s.tag===13&&(s.flags|=16384))),uD(a,t)):Wl(a)}function Wl(t){var a=t;do{if((a.flags&32768)!==0){uD(a,ka);return}t=a.return;var i=h_(a.alternate,a,Ea);if(i!==null){Le=i;return}if(a=a.sibling,a!==null){Le=a;return}Le=a=t}while(a!==null);mt===0&&(mt=5)}function uD(t,a){do{var i=m_(t.alternate,t);if(i!==null){i.flags&=32767,Le=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(t=t.sibling,t!==null)){Le=t;return}Le=t=i}while(t!==null);mt=6,Le=null}function aD(t,a,i,s,c,o,m,g,R){t.cancelPendingCommit=null;do Jl();while(yt!==0);if((Qe&6)!==0)throw Error(r(327));if(a!==null){if(a===t.current)throw Error(r(177));if(o=a.lanes|a.childLanes,o|=Jo,tT(t,i,o,m,g,R),t===ut&&(Le=ut=null,Ie=0),Di=a,qa=t,Da=i,l0=o,c0=c,VE=s,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,S_(Hn,function(){return lD(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||s){s=Y.T,Y.T=null,c=ne.p,ne.p=2,m=Qe,Qe|=4;try{E_(t,a,i)}finally{Qe=m,ne.p=c,Y.T=s}}yt=1,nD(),iD(),rD()}}function nD(){if(yt===1){yt=0;var t=qa,a=Di,i=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||i){i=Y.T,Y.T=null;var s=ne.p;ne.p=2;var c=Qe;Qe|=4;try{PE(a,t);var o=C0,m=Y1(t.containerInfo),g=o.focusedElem,R=o.selectionRange;if(m!==g&&g&&g.ownerDocument&&q1(g.ownerDocument.documentElement,g)){if(R!==null&&Xo(g)){var w=R.start,V=R.end;if(V===void 0&&(V=w),"selectionStart"in g)g.selectionStart=w,g.selectionEnd=Math.min(V,g.value.length);else{var X=g.ownerDocument||document,U=X&&X.defaultView||window;if(U.getSelection){var k=U.getSelection(),se=g.textContent.length,Ee=Math.min(R.start,se),et=R.end===void 0?Ee:Math.min(R.end,se);!k.extend&&Ee>et&&(m=et,et=Ee,Ee=m);var L=z1(g,Ee),F=z1(g,et);if(L&&F&&(k.rangeCount!==1||k.anchorNode!==L.node||k.anchorOffset!==L.offset||k.focusNode!==F.node||k.focusOffset!==F.offset)){var I=X.createRange();I.setStart(L.node,L.offset),k.removeAllRanges(),Ee>et?(k.addRange(I),k.extend(F.node,F.offset)):(I.setEnd(F.node,F.offset),k.addRange(I))}}}}for(X=[],k=g;k=k.parentNode;)k.nodeType===1&&X.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<X.length;g++){var Q=X[g];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}fc=!!v0,C0=v0=null}finally{Qe=c,ne.p=s,Y.T=i}}t.current=a,yt=2}}function iD(){if(yt===2){yt=0;var t=qa,a=Di,i=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||i){i=Y.T,Y.T=null;var s=ne.p;ne.p=2;var c=Qe;Qe|=4;try{BE(t,a.alternate,a)}finally{Qe=c,ne.p=s,Y.T=i}}yt=3}}function rD(){if(yt===4||yt===3){yt=0,tl();var t=qa,a=Di,i=Da,s=VE;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?yt=5:(yt=0,Di=qa=null,sD(t,t.pendingLanes));var c=t.pendingLanes;if(c===0&&(za=null),Oo(i),a=a.stateNode,cu&&typeof cu.onCommitFiberRoot=="function")try{cu.onCommitFiberRoot(Xi,a,void 0,(a.current.flags&128)===128)}catch{}if(s!==null){a=Y.T,c=ne.p,ne.p=2,Y.T=null;try{for(var o=t.onRecoverableError,m=0;m<s.length;m++){var g=s[m];o(g.value,{componentStack:g.stack})}}finally{Y.T=a,ne.p=c}}(Da&3)!==0&&Jl(),Xu(t),c=t.pendingLanes,(i&261930)!==0&&(c&42)!==0?t===o0?Or++:(Or=0,o0=t):Or=0,Fr(0)}}function sD(t,a){(t.pooledCacheLanes&=a)===0&&(a=t.pooledCache,a!=null&&(t.pooledCache=null,or(a)))}function Jl(){return nD(),iD(),rD(),lD()}function lD(){if(yt!==5)return!1;var t=qa,a=l0;l0=0;var i=Oo(Da),s=Y.T,c=ne.p;try{ne.p=32>i?32:i,Y.T=null,i=c0,c0=null;var o=qa,m=Da;if(yt=0,Di=qa=null,Da=0,(Qe&6)!==0)throw Error(r(331));var g=Qe;if(Qe|=4,qE(o.current),kE(o,o.current,m,i),Qe=g,Fr(0,!1),cu&&typeof cu.onPostCommitFiberRoot=="function")try{cu.onPostCommitFiberRoot(Xi,o)}catch{}return!0}finally{ne.p=c,Y.T=s,sD(t,a)}}function cD(t,a,i){a=Su(i,a),a=zf(t.stateNode,a,2),t=wa(t,a,2),t!==null&&(Zi(t,2),Xu(t))}function $e(t,a,i){if(t.tag===3)cD(t,t,i);else for(;a!==null;){if(a.tag===3){cD(a,t,i);break}else if(a.tag===1){var s=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(za===null||!za.has(s))){t=Su(i,t),i=oE(2),s=wa(a,i,2),s!==null&&(fE(i,s,a,t),Zi(s,2),Xu(s));break}}a=a.return}}function h0(t,a,i){var s=t.pingCache;if(s===null){s=t.pingCache=new g_;var c=new Set;s.set(a,c)}else c=s.get(a),c===void 0&&(c=new Set,s.set(a,c));c.has(i)||(i0=!0,c.add(i),t=v_.bind(null,t,a,i),a.then(t,t))}function v_(t,a,i){var s=t.pingCache;s!==null&&s.delete(a),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,ut===t&&(Ie&i)===i&&(mt===4||mt===3&&(Ie&62914560)===Ie&&300>Pt()-Ql?(Qe&2)===0&&pi(t,0):r0|=i,Ei===Ie&&(Ei=0)),Xu(t)}function oD(t,a){a===0&&(a=n1()),t=mn(t,a),t!==null&&(Zi(t,a),Xu(t))}function C_(t){var a=t.memoizedState,i=0;a!==null&&(i=a.retryLane),oD(t,i)}function y_(t,a){var i=0;switch(t.tag){case 31:case 13:var s=t.stateNode,c=t.memoizedState;c!==null&&(i=c.retryLane);break;case 19:s=t.stateNode;break;case 22:s=t.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(a),oD(t,i)}function S_(t,a){return Ct(t,a)}var ec=null,bi=null,m0=!1,tc=!1,E0=!1,Ga=0;function Xu(t){t!==bi&&t.next===null&&(bi===null?ec=bi=t:bi=bi.next=t),tc=!0,m0||(m0=!0,R_())}function Fr(t,a){if(!E0&&tc){E0=!0;do for(var i=!1,s=ec;s!==null;){if(t!==0){var c=s.pendingLanes;if(c===0)var o=0;else{var m=s.suspendedLanes,g=s.pingedLanes;o=(1<<31-ou(42|t)+1)-1,o&=c&~(m&~g),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(i=!0,mD(s,o))}else o=Ie,o=il(s,s===ut?o:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(o&3)===0||Ki(s,o)||(i=!0,mD(s,o));s=s.next}while(i);E0=!1}}function N_(){fD()}function fD(){tc=m0=!1;var t=0;Ga!==0&&P_()&&(t=Ga);for(var a=Pt(),i=null,s=ec;s!==null;){var c=s.next,o=dD(s,a);o===0?(s.next=null,i===null?ec=c:i.next=c,c===null&&(bi=i)):(i=s,(t!==0||(o&3)!==0)&&(tc=!0)),s=c}yt!==0&&yt!==5||Fr(t),Ga!==0&&(Ga=0)}function dD(t,a){for(var i=t.suspendedLanes,s=t.pingedLanes,c=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var m=31-ou(o),g=1<<m,R=c[m];R===-1?((g&i)===0||(g&s)!==0)&&(c[m]=eT(g,a)):R<=a&&(t.expiredLanes|=g),o&=~g}if(a=ut,i=Ie,i=il(t,t===a?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,i===0||t===a&&(Ze===2||Ze===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&lu(s),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||Ki(t,i)){if(a=i&-i,a===t.callbackPriority)return a;switch(s!==null&&lu(s),Oo(i)){case 2:case 8:i=Pn;break;case 32:i=Hn;break;case 268435456:i=a1;break;default:i=Hn}return s=hD.bind(null,t),i=Ct(i,s),t.callbackPriority=a,t.callbackNode=i,a}return s!==null&&s!==null&&lu(s),t.callbackPriority=2,t.callbackNode=null,2}function hD(t,a){if(yt!==0&&yt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(Jl()&&t.callbackNode!==i)return null;var s=Ie;return s=il(t,t===ut?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(XE(t,s,a),dD(t,Pt()),t.callbackNode!=null&&t.callbackNode===i?hD.bind(null,t):null)}function mD(t,a){if(Jl())return null;XE(t,a,!0)}function R_(){k_(function(){(Qe&6)!==0?Ct(Au,N_):fD()})}function D0(){if(Ga===0){var t=ni;t===0&&(t=ul,ul<<=1,(ul&261888)===0&&(ul=256)),Ga=t}return Ga}function ED(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:cl(""+t)}function DD(t,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,t.id&&i.setAttribute("form",t.id),a.parentNode.insertBefore(i,a),t=new FormData(t),i.parentNode.removeChild(i),t}function O_(t,a,i,s,c){if(a==="submit"&&i&&i.stateNode===c){var o=ED((c[Xt]||null).action),m=s.submitter;m&&(a=(a=m[Xt]||null)?ED(a.formAction):m.getAttribute("formAction"),a!==null&&(o=a,m=null));var g=new hl("action","action",null,s,c);t.push({event:g,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ga!==0){var R=m?DD(c,m):new FormData(c);wf(i,{pending:!0,data:R,method:c.method,action:o},null,R)}}else typeof o=="function"&&(g.preventDefault(),R=m?DD(c,m):new FormData(c),wf(i,{pending:!0,data:R,method:c.method,action:o},o,R))},currentTarget:c}]})}}for(var p0=0;p0<Wo.length;p0++){var g0=Wo[p0],F_=g0.toLowerCase(),x_=g0[0].toUpperCase()+g0.slice(1);Uu(F_,"on"+x_)}Uu(Q1,"onAnimationEnd"),Uu(X1,"onAnimationIteration"),Uu(K1,"onAnimationStart"),Uu("dblclick","onDoubleClick"),Uu("focusin","onFocus"),Uu("focusout","onBlur"),Uu(QT,"onTransitionRun"),Uu(XT,"onTransitionStart"),Uu(KT,"onTransitionCancel"),Uu(Z1,"onTransitionEnd"),Yn("onMouseEnter",["mouseout","mouseover"]),Yn("onMouseLeave",["mouseout","mouseover"]),Yn("onPointerEnter",["pointerout","pointerover"]),Yn("onPointerLeave",["pointerout","pointerover"]),on("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),on("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),on("onBeforeInput",["compositionend","keypress","textInput","paste"]),on("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),on("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),on("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),L_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xr));function pD(t,a){a=(a&4)!==0;for(var i=0;i<t.length;i++){var s=t[i],c=s.event;s=s.listeners;e:{var o=void 0;if(a)for(var m=s.length-1;0<=m;m--){var g=s[m],R=g.instance,w=g.currentTarget;if(g=g.listener,R!==o&&c.isPropagationStopped())break e;o=g,c.currentTarget=w;try{o(c)}catch(V){Dl(V)}c.currentTarget=null,o=R}else for(m=0;m<s.length;m++){if(g=s[m],R=g.instance,w=g.currentTarget,g=g.listener,R!==o&&c.isPropagationStopped())break e;o=g,c.currentTarget=w;try{o(c)}catch(V){Dl(V)}c.currentTarget=null,o=R}}}}function Be(t,a){var i=a[Fo];i===void 0&&(i=a[Fo]=new Set);var s=t+"__bubble";i.has(s)||(gD(a,t,2,!1),i.add(s))}function b0(t,a,i){var s=0;a&&(s|=4),gD(i,t,s,a)}var uc="_reactListening"+Math.random().toString(36).slice(2);function T0(t){if(!t[uc]){t[uc]=!0,f1.forEach(function(i){i!=="selectionchange"&&(L_.has(i)||b0(i,!1,t),b0(i,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[uc]||(a[uc]=!0,b0("selectionchange",!1,a))}}function gD(t,a,i,s){switch(QD(a)){case 2:var c=rA;break;case 8:c=sA;break;default:c=I0}i=c.bind(null,a,i,t),c=void 0,!Ho||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(c=!0),s?c!==void 0?t.addEventListener(a,i,{capture:!0,passive:c}):t.addEventListener(a,i,!0):c!==void 0?t.addEventListener(a,i,{passive:c}):t.addEventListener(a,i,!1)}function _0(t,a,i,s,c){var o=s;if((a&1)===0&&(a&2)===0&&s!==null)e:for(;;){if(s===null)return;var m=s.tag;if(m===3||m===4){var g=s.stateNode.containerInfo;if(g===c)break;if(m===4)for(m=s.return;m!==null;){var R=m.tag;if((R===3||R===4)&&m.stateNode.containerInfo===c)return;m=m.return}for(;g!==null;){if(m=jn(g),m===null)return;if(R=m.tag,R===5||R===6||R===26||R===27){s=o=m;continue e}g=g.parentNode}}s=s.return}v1(function(){var w=o,V=Uo(i),X=[];e:{var U=$1.get(t);if(U!==void 0){var k=hl,se=t;switch(t){case"keypress":if(fl(i)===0)break e;case"keydown":case"keyup":k=yT;break;case"focusin":se="focus",k=qo;break;case"focusout":se="blur",k=qo;break;case"beforeblur":case"afterblur":k=qo;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=S1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=hT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=RT;break;case Q1:case X1:case K1:k=DT;break;case Z1:k=FT;break;case"scroll":case"scrollend":k=fT;break;case"wheel":k=LT;break;case"copy":case"cut":case"paste":k=gT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=R1;break;case"toggle":case"beforetoggle":k=MT}var Ee=(a&4)!==0,et=!Ee&&(t==="scroll"||t==="scrollend"),L=Ee?U!==null?U+"Capture":null:U;Ee=[];for(var F=w,I;F!==null;){var Q=F;if(I=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||I===null||L===null||(Q=Ji(F,L),Q!=null&&Ee.push(Lr(F,Q,I))),et)break;F=F.return}0<Ee.length&&(U=new k(U,se,null,i,V),X.push({event:U,listeners:Ee}))}}if((a&7)===0){e:{if(U=t==="mouseover"||t==="pointerover",k=t==="mouseout"||t==="pointerout",U&&i!==wo&&(se=i.relatedTarget||i.fromElement)&&(jn(se)||se[kn]))break e;if((k||U)&&(U=V.window===V?V:(U=V.ownerDocument)?U.defaultView||U.parentWindow:window,k?(se=i.relatedTarget||i.toElement,k=w,se=se?jn(se):null,se!==null&&(et=f(se),Ee=se.tag,se!==et||Ee!==5&&Ee!==27&&Ee!==6)&&(se=null)):(k=null,se=w),k!==se)){if(Ee=S1,Q="onMouseLeave",L="onMouseEnter",F="mouse",(t==="pointerout"||t==="pointerover")&&(Ee=R1,Q="onPointerLeave",L="onPointerEnter",F="pointer"),et=k==null?U:Wi(k),I=se==null?U:Wi(se),U=new Ee(Q,F+"leave",k,i,V),U.target=et,U.relatedTarget=I,Q=null,jn(V)===w&&(Ee=new Ee(L,F+"enter",se,i,V),Ee.target=I,Ee.relatedTarget=et,Q=Ee),et=Q,k&&se)t:{for(Ee=B_,L=k,F=se,I=0,Q=L;Q;Q=Ee(Q))I++;Q=0;for(var oe=F;oe;oe=Ee(oe))Q++;for(;0<I-Q;)L=Ee(L),I--;for(;0<Q-I;)F=Ee(F),Q--;for(;I--;){if(L===F||F!==null&&L===F.alternate){Ee=L;break t}L=Ee(L),F=Ee(F)}Ee=null}else Ee=null;k!==null&&bD(X,U,k,Ee,!1),se!==null&&et!==null&&bD(X,et,se,Ee,!0)}}e:{if(U=w?Wi(w):window,k=U.nodeName&&U.nodeName.toLowerCase(),k==="select"||k==="input"&&U.type==="file")var qe=w1;else if(M1(U))if(U1)qe=YT;else{qe=zT;var le=jT}else k=U.nodeName,!k||k.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?w&&Io(w.elementType)&&(qe=w1):qe=qT;if(qe&&(qe=qe(t,w))){I1(X,qe,i,V);break e}le&&le(t,U,w),t==="focusout"&&w&&U.type==="number"&&w.memoizedProps.value!=null&&Mo(U,"number",U.value)}switch(le=w?Wi(w):window,t){case"focusin":(M1(le)||le.contentEditable==="true")&&(Zn=le,Ko=w,sr=null);break;case"focusout":sr=Ko=Zn=null;break;case"mousedown":Zo=!0;break;case"contextmenu":case"mouseup":case"dragend":Zo=!1,G1(X,i,V);break;case"selectionchange":if(VT)break;case"keydown":case"keyup":G1(X,i,V)}var Ce;if(Go)e:{switch(t){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else Kn?L1(t,i)&&(we="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(we="onCompositionStart");we&&(O1&&i.locale!=="ko"&&(Kn||we!=="onCompositionStart"?we==="onCompositionEnd"&&Kn&&(Ce=C1()):(Oa=V,ko="value"in Oa?Oa.value:Oa.textContent,Kn=!0)),le=ac(w,we),0<le.length&&(we=new N1(we,t,null,i,V),X.push({event:we,listeners:le}),Ce?we.data=Ce:(Ce=B1(i),Ce!==null&&(we.data=Ce)))),(Ce=wT?UT(t,i):PT(t,i))&&(we=ac(w,"onBeforeInput"),0<we.length&&(le=new N1("onBeforeInput","beforeinput",null,i,V),X.push({event:le,listeners:we}),le.data=Ce)),O_(X,t,w,i,V)}pD(X,a)})}function Lr(t,a,i){return{instance:t,listener:a,currentTarget:i}}function ac(t,a){for(var i=a+"Capture",s=[];t!==null;){var c=t,o=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||o===null||(c=Ji(t,i),c!=null&&s.unshift(Lr(t,c,o)),c=Ji(t,a),c!=null&&s.push(Lr(t,c,o))),t.tag===3)return s;t=t.return}return[]}function B_(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function bD(t,a,i,s,c){for(var o=a._reactName,m=[];i!==null&&i!==s;){var g=i,R=g.alternate,w=g.stateNode;if(g=g.tag,R!==null&&R===s)break;g!==5&&g!==26&&g!==27||w===null||(R=w,c?(w=Ji(i,o),w!=null&&m.unshift(Lr(i,w,R))):c||(w=Ji(i,o),w!=null&&m.push(Lr(i,w,R)))),i=i.return}m.length!==0&&t.push({event:a,listeners:m})}var M_=/\r\n?/g,I_=/\u0000|\uFFFD/g;function TD(t){return(typeof t=="string"?t:""+t).replace(M_,`
|
|
9
|
+
`).replace(I_,"")}function _D(t,a){return a=TD(a),TD(t)===a}function Je(t,a,i,s,c,o){switch(i){case"children":typeof s=="string"?a==="body"||a==="textarea"&&s===""||Vn(t,s):(typeof s=="number"||typeof s=="bigint")&&a!=="body"&&Vn(t,""+s);break;case"className":sl(t,"class",s);break;case"tabIndex":sl(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":sl(t,i,s);break;case"style":_1(t,s,o);break;case"data":if(a!=="object"){sl(t,"data",s);break}case"src":case"href":if(s===""&&(a!=="a"||i!=="href")){t.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=cl(""+s),t.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="function"){t.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(i==="formAction"?(a!=="input"&&Je(t,a,"name",c.name,c,null),Je(t,a,"formEncType",c.formEncType,c,null),Je(t,a,"formMethod",c.formMethod,c,null),Je(t,a,"formTarget",c.formTarget,c,null)):(Je(t,a,"encType",c.encType,c,null),Je(t,a,"method",c.method,c,null),Je(t,a,"target",c.target,c,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=cl(""+s),t.setAttribute(i,s);break;case"onClick":s!=null&&(t.onclick=ta);break;case"onScroll":s!=null&&Be("scroll",t);break;case"onScrollEnd":s!=null&&Be("scrollend",t);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=i}}break;case"multiple":t.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":t.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){t.removeAttribute("xlink:href");break}i=cl(""+s),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,""+s):t.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":s===!0?t.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,s):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?t.setAttribute(i,s):t.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?t.removeAttribute(i):t.setAttribute(i,s);break;case"popover":Be("beforetoggle",t),Be("toggle",t),rl(t,"popover",s);break;case"xlinkActuate":ea(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ea(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ea(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ea(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ea(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ea(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ea(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ea(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ea(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":rl(t,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=cT.get(i)||i,rl(t,i,s))}}function A0(t,a,i,s,c,o){switch(i){case"style":_1(t,s,o);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));t.innerHTML=i}}break;case"children":typeof s=="string"?Vn(t,s):(typeof s=="number"||typeof s=="bigint")&&Vn(t,""+s);break;case"onScroll":s!=null&&Be("scroll",t);break;case"onScrollEnd":s!=null&&Be("scrollend",t);break;case"onClick":s!=null&&(t.onclick=ta);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!d1.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),a=i.slice(2,c?i.length-7:void 0),o=t[Xt]||null,o=o!=null?o[i]:null,typeof o=="function"&&t.removeEventListener(a,o,c),typeof s=="function")){typeof o!="function"&&o!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(a,s,c);break e}i in t?t[i]=s:s===!0?t.setAttribute(i,""):rl(t,i,s)}}}function Ut(t,a,i){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Be("error",t),Be("load",t);var s=!1,c=!1,o;for(o in i)if(i.hasOwnProperty(o)){var m=i[o];if(m!=null)switch(o){case"src":s=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Je(t,a,o,m,i,null)}}c&&Je(t,a,"srcSet",i.srcSet,i,null),s&&Je(t,a,"src",i.src,i,null);return;case"input":Be("invalid",t);var g=o=m=c=null,R=null,w=null;for(s in i)if(i.hasOwnProperty(s)){var V=i[s];if(V!=null)switch(s){case"name":c=V;break;case"type":m=V;break;case"checked":R=V;break;case"defaultChecked":w=V;break;case"value":o=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(r(137,a));break;default:Je(t,a,s,V,i,null)}}p1(t,o,g,R,w,m,c,!1);return;case"select":Be("invalid",t),s=m=o=null;for(c in i)if(i.hasOwnProperty(c)&&(g=i[c],g!=null))switch(c){case"value":o=g;break;case"defaultValue":m=g;break;case"multiple":s=g;default:Je(t,a,c,g,i,null)}a=o,i=m,t.multiple=!!s,a!=null?Gn(t,!!s,a,!1):i!=null&&Gn(t,!!s,i,!0);return;case"textarea":Be("invalid",t),o=c=s=null;for(m in i)if(i.hasOwnProperty(m)&&(g=i[m],g!=null))switch(m){case"value":s=g;break;case"defaultValue":c=g;break;case"children":o=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:Je(t,a,m,g,i,null)}b1(t,s,c,o);return;case"option":for(R in i)if(i.hasOwnProperty(R)&&(s=i[R],s!=null))switch(R){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Je(t,a,R,s,i,null)}return;case"dialog":Be("beforetoggle",t),Be("toggle",t),Be("cancel",t),Be("close",t);break;case"iframe":case"object":Be("load",t);break;case"video":case"audio":for(s=0;s<xr.length;s++)Be(xr[s],t);break;case"image":Be("error",t),Be("load",t);break;case"details":Be("toggle",t);break;case"embed":case"source":case"link":Be("error",t),Be("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in i)if(i.hasOwnProperty(w)&&(s=i[w],s!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Je(t,a,w,s,i,null)}return;default:if(Io(a)){for(V in i)i.hasOwnProperty(V)&&(s=i[V],s!==void 0&&A0(t,a,V,s,i,void 0));return}}for(g in i)i.hasOwnProperty(g)&&(s=i[g],s!=null&&Je(t,a,g,s,i,null))}function w_(t,a,i,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,o=null,m=null,g=null,R=null,w=null,V=null;for(k in i){var X=i[k];if(i.hasOwnProperty(k)&&X!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":R=X;default:s.hasOwnProperty(k)||Je(t,a,k,null,s,X)}}for(var U in s){var k=s[U];if(X=i[U],s.hasOwnProperty(U)&&(k!=null||X!=null))switch(U){case"type":o=k;break;case"name":c=k;break;case"checked":w=k;break;case"defaultChecked":V=k;break;case"value":m=k;break;case"defaultValue":g=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,a));break;default:k!==X&&Je(t,a,U,k,s,X)}}Bo(t,m,g,R,w,V,o,c);return;case"select":k=m=g=U=null;for(o in i)if(R=i[o],i.hasOwnProperty(o)&&R!=null)switch(o){case"value":break;case"multiple":k=R;default:s.hasOwnProperty(o)||Je(t,a,o,null,s,R)}for(c in s)if(o=s[c],R=i[c],s.hasOwnProperty(c)&&(o!=null||R!=null))switch(c){case"value":U=o;break;case"defaultValue":g=o;break;case"multiple":m=o;default:o!==R&&Je(t,a,c,o,s,R)}a=g,i=m,s=k,U!=null?Gn(t,!!i,U,!1):!!s!=!!i&&(a!=null?Gn(t,!!i,a,!0):Gn(t,!!i,i?[]:"",!1));return;case"textarea":k=U=null;for(g in i)if(c=i[g],i.hasOwnProperty(g)&&c!=null&&!s.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Je(t,a,g,null,s,c)}for(m in s)if(c=s[m],o=i[m],s.hasOwnProperty(m)&&(c!=null||o!=null))switch(m){case"value":U=c;break;case"defaultValue":k=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==o&&Je(t,a,m,c,s,o)}g1(t,U,k);return;case"option":for(var se in i)if(U=i[se],i.hasOwnProperty(se)&&U!=null&&!s.hasOwnProperty(se))switch(se){case"selected":t.selected=!1;break;default:Je(t,a,se,null,s,U)}for(R in s)if(U=s[R],k=i[R],s.hasOwnProperty(R)&&U!==k&&(U!=null||k!=null))switch(R){case"selected":t.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:Je(t,a,R,U,s,k)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ee in i)U=i[Ee],i.hasOwnProperty(Ee)&&U!=null&&!s.hasOwnProperty(Ee)&&Je(t,a,Ee,null,s,U);for(w in s)if(U=s[w],k=i[w],s.hasOwnProperty(w)&&U!==k&&(U!=null||k!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,a));break;default:Je(t,a,w,U,s,k)}return;default:if(Io(a)){for(var et in i)U=i[et],i.hasOwnProperty(et)&&U!==void 0&&!s.hasOwnProperty(et)&&A0(t,a,et,void 0,s,U);for(V in s)U=s[V],k=i[V],!s.hasOwnProperty(V)||U===k||U===void 0&&k===void 0||A0(t,a,V,U,s,k);return}}for(var L in i)U=i[L],i.hasOwnProperty(L)&&U!=null&&!s.hasOwnProperty(L)&&Je(t,a,L,null,s,U);for(X in s)U=s[X],k=i[X],!s.hasOwnProperty(X)||U===k||U==null&&k==null||Je(t,a,X,U,s,k)}function AD(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function U_(){if(typeof performance.getEntriesByType=="function"){for(var t=0,a=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var c=i[s],o=c.transferSize,m=c.initiatorType,g=c.duration;if(o&&g&&AD(m)){for(m=0,g=c.responseEnd,s+=1;s<i.length;s++){var R=i[s],w=R.startTime;if(w>g)break;var V=R.transferSize,X=R.initiatorType;V&&AD(X)&&(R=R.responseEnd,m+=V*(R<g?1:(g-w)/(R-w)))}if(--s,a+=8*(o+m)/(c.duration/1e3),t++,10<t)break}}if(0<t)return a/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var v0=null,C0=null;function nc(t){return t.nodeType===9?t:t.ownerDocument}function vD(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function CD(t,a){if(t===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&a==="foreignObject"?0:t}function y0(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var S0=null;function P_(){var t=window.event;return t&&t.type==="popstate"?t===S0?!1:(S0=t,!0):(S0=null,!1)}var yD=typeof setTimeout=="function"?setTimeout:void 0,H_=typeof clearTimeout=="function"?clearTimeout:void 0,SD=typeof Promise=="function"?Promise:void 0,k_=typeof queueMicrotask=="function"?queueMicrotask:typeof SD<"u"?function(t){return SD.resolve(null).then(t).catch(j_)}:yD;function j_(t){setTimeout(function(){throw t})}function Va(t){return t==="head"}function ND(t,a){var i=a,s=0;do{var c=i.nextSibling;if(t.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(s===0){t.removeChild(c),vi(a);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Br(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Br(i);for(var o=i.firstChild;o;){var m=o.nextSibling,g=o.nodeName;o[$i]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&o.rel.toLowerCase()==="stylesheet"||i.removeChild(o),o=m}}else i==="body"&&Br(t.ownerDocument.body);i=c}while(i);vi(a)}function RD(t,a){var i=t;t=0;do{var s=i.nextSibling;if(i.nodeType===1?a?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(a?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=s}while(i)}function N0(t){var a=t.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":N0(i),xo(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function z_(t,a,i,s){for(;t.nodeType===1;){var c=i;if(t.nodeName.toLowerCase()!==a.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[$i])switch(a){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(a==="input"&&t.type==="hidden"){var o=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=xu(t.nextSibling),t===null)break}return null}function q_(t,a,i){if(a==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=xu(t.nextSibling),t===null))return null;return t}function OD(t,a){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=xu(t.nextSibling),t===null))return null;return t}function R0(t){return t.data==="$?"||t.data==="$~"}function O0(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Y_(t,a){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=a;else if(t.data!=="$?"||i.readyState!=="loading")a();else{var s=function(){a(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function xu(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return t}var F0=null;function FD(t){t=t.nextSibling;for(var a=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(a===0)return xu(t.nextSibling);a--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||a++}t=t.nextSibling}return null}function xD(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(a===0)return t;a--}else i!=="/$"&&i!=="/&"||a++}t=t.previousSibling}return null}function LD(t,a,i){switch(a=nc(i),t){case"html":if(t=a.documentElement,!t)throw Error(r(452));return t;case"head":if(t=a.head,!t)throw Error(r(453));return t;case"body":if(t=a.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Br(t){for(var a=t.attributes;a.length;)t.removeAttributeNode(a[0]);xo(t)}var Lu=new Map,BD=new Set;function ic(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var pa=ne.d;ne.d={f:G_,r:V_,D:Q_,C:X_,L:K_,m:Z_,X:W_,S:$_,M:J_};function G_(){var t=pa.f(),a=Zl();return t||a}function V_(t){var a=zn(t);a!==null&&a.tag===5&&a.type==="form"?Zm(a):pa.r(t)}var Ti=typeof document>"u"?null:document;function MD(t,a,i){var s=Ti;if(s&&typeof a=="string"&&a){var c=Cu(a);c='link[rel="'+t+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),BD.has(c)||(BD.add(c),t={rel:t,crossOrigin:i,href:a},s.querySelector(c)===null&&(a=s.createElement("link"),Ut(a,"link",t),Nt(a),s.head.appendChild(a)))}}function Q_(t){pa.D(t),MD("dns-prefetch",t,null)}function X_(t,a){pa.C(t,a),MD("preconnect",t,a)}function K_(t,a,i){pa.L(t,a,i);var s=Ti;if(s&&t&&a){var c='link[rel="preload"][as="'+Cu(a)+'"]';a==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Cu(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Cu(i.imageSizes)+'"]')):c+='[href="'+Cu(t)+'"]';var o=c;switch(a){case"style":o=_i(t);break;case"script":o=Ai(t)}Lu.has(o)||(t=T({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:t,as:a},i),Lu.set(o,t),s.querySelector(c)!==null||a==="style"&&s.querySelector(Mr(o))||a==="script"&&s.querySelector(Ir(o))||(a=s.createElement("link"),Ut(a,"link",t),Nt(a),s.head.appendChild(a)))}}function Z_(t,a){pa.m(t,a);var i=Ti;if(i&&t){var s=a&&typeof a.as=="string"?a.as:"script",c='link[rel="modulepreload"][as="'+Cu(s)+'"][href="'+Cu(t)+'"]',o=c;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Ai(t)}if(!Lu.has(o)&&(t=T({rel:"modulepreload",href:t},a),Lu.set(o,t),i.querySelector(c)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Ir(o)))return}s=i.createElement("link"),Ut(s,"link",t),Nt(s),i.head.appendChild(s)}}}function $_(t,a,i){pa.S(t,a,i);var s=Ti;if(s&&t){var c=qn(s).hoistableStyles,o=_i(t);a=a||"default";var m=c.get(o);if(!m){var g={loading:0,preload:null};if(m=s.querySelector(Mr(o)))g.loading=5;else{t=T({rel:"stylesheet",href:t,"data-precedence":a},i),(i=Lu.get(o))&&x0(t,i);var R=m=s.createElement("link");Nt(R),Ut(R,"link",t),R._p=new Promise(function(w,V){R.onload=w,R.onerror=V}),R.addEventListener("load",function(){g.loading|=1}),R.addEventListener("error",function(){g.loading|=2}),g.loading|=4,rc(m,a,s)}m={type:"stylesheet",instance:m,count:1,state:g},c.set(o,m)}}}function W_(t,a){pa.X(t,a);var i=Ti;if(i&&t){var s=qn(i).hoistableScripts,c=Ai(t),o=s.get(c);o||(o=i.querySelector(Ir(c)),o||(t=T({src:t,async:!0},a),(a=Lu.get(c))&&L0(t,a),o=i.createElement("script"),Nt(o),Ut(o,"link",t),i.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(c,o))}}function J_(t,a){pa.M(t,a);var i=Ti;if(i&&t){var s=qn(i).hoistableScripts,c=Ai(t),o=s.get(c);o||(o=i.querySelector(Ir(c)),o||(t=T({src:t,async:!0,type:"module"},a),(a=Lu.get(c))&&L0(t,a),o=i.createElement("script"),Nt(o),Ut(o,"link",t),i.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(c,o))}}function ID(t,a,i,s){var c=(c=ge.current)?ic(c):null;if(!c)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=_i(i.href),i=qn(c).hoistableStyles,s=i.get(a),s||(s={type:"style",instance:null,count:0,state:null},i.set(a,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=_i(i.href);var o=qn(c).hoistableStyles,m=o.get(t);if(m||(c=c.ownerDocument||c,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,m),(o=c.querySelector(Mr(t)))&&!o._p&&(m.instance=o,m.state.loading=5),Lu.has(t)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Lu.set(t,i),o||eA(c,t,i,m.state))),a&&s===null)throw Error(r(528,""));return m}if(a&&s!==null)throw Error(r(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Ai(i),i=qn(c).hoistableScripts,s=i.get(a),s||(s={type:"script",instance:null,count:0,state:null},i.set(a,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function _i(t){return'href="'+Cu(t)+'"'}function Mr(t){return'link[rel="stylesheet"]['+t+"]"}function wD(t){return T({},t,{"data-precedence":t.precedence,precedence:null})}function eA(t,a,i,s){t.querySelector('link[rel="preload"][as="style"]['+a+"]")?s.loading=1:(a=t.createElement("link"),s.preload=a,a.addEventListener("load",function(){return s.loading|=1}),a.addEventListener("error",function(){return s.loading|=2}),Ut(a,"link",i),Nt(a),t.head.appendChild(a))}function Ai(t){return'[src="'+Cu(t)+'"]'}function Ir(t){return"script[async]"+t}function UD(t,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var s=t.querySelector('style[data-href~="'+Cu(i.href)+'"]');if(s)return a.instance=s,Nt(s),s;var c=T({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),Nt(s),Ut(s,"style",c),rc(s,i.precedence,t),a.instance=s;case"stylesheet":c=_i(i.href);var o=t.querySelector(Mr(c));if(o)return a.state.loading|=4,a.instance=o,Nt(o),o;s=wD(i),(c=Lu.get(c))&&x0(s,c),o=(t.ownerDocument||t).createElement("link"),Nt(o);var m=o;return m._p=new Promise(function(g,R){m.onload=g,m.onerror=R}),Ut(o,"link",s),a.state.loading|=4,rc(o,i.precedence,t),a.instance=o;case"script":return o=Ai(i.src),(c=t.querySelector(Ir(o)))?(a.instance=c,Nt(c),c):(s=i,(c=Lu.get(o))&&(s=T({},i),L0(s,c)),t=t.ownerDocument||t,c=t.createElement("script"),Nt(c),Ut(c,"link",s),t.head.appendChild(c),a.instance=c);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(s=a.instance,a.state.loading|=4,rc(s,i.precedence,t));return a.instance}function rc(t,a,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=s.length?s[s.length-1]:null,o=c,m=0;m<s.length;m++){var g=s[m];if(g.dataset.precedence===a)o=g;else if(o!==c)break}o?o.parentNode.insertBefore(t,o.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(t,a.firstChild))}function x0(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.title==null&&(t.title=a.title)}function L0(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.integrity==null&&(t.integrity=a.integrity)}var sc=null;function PD(t,a,i){if(sc===null){var s=new Map,c=sc=new Map;c.set(i,s)}else c=sc,s=c.get(i),s||(s=new Map,c.set(i,s));if(s.has(t))return s;for(s.set(t,null),i=i.getElementsByTagName(t),c=0;c<i.length;c++){var o=i[c];if(!(o[$i]||o[Bt]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var m=o.getAttribute(a)||"";m=t+m;var g=s.get(m);g?g.push(o):s.set(m,[o])}}return s}function HD(t,a,i){t=t.ownerDocument||t,t.head.insertBefore(i,a==="title"?t.querySelector("head > title"):null)}function tA(t,a,i){if(i===1||a.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return t=a.disabled,typeof a.precedence=="string"&&t==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function kD(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function uA(t,a,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=_i(s.href),o=a.querySelector(Mr(c));if(o){a=o._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(t.count++,t=lc.bind(t),a.then(t,t)),i.state.loading|=4,i.instance=o,Nt(o);return}o=a.ownerDocument||a,s=wD(s),(c=Lu.get(c))&&x0(s,c),o=o.createElement("link"),Nt(o);var m=o;m._p=new Promise(function(g,R){m.onload=g,m.onerror=R}),Ut(o,"link",s),i.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=lc.bind(t),a.addEventListener("load",i),a.addEventListener("error",i))}}var B0=0;function aA(t,a){return t.stylesheets&&t.count===0&&oc(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var s=setTimeout(function(){if(t.stylesheets&&oc(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+a);0<t.imgBytes&&B0===0&&(B0=62500*U_());var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&oc(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>B0?50:800)+a);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(c)}}:null}function lc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var cc=null;function oc(t,a){t.stylesheets=null,t.unsuspend!==null&&(t.count++,cc=new Map,a.forEach(nA,t),cc=null,lc.call(t))}function nA(t,a){if(!(a.state.loading&4)){var i=cc.get(t);if(i)var s=i.get(null);else{i=new Map,cc.set(t,i);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<c.length;o++){var m=c[o];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(i.set(m.dataset.precedence,m),s=m)}s&&i.set(null,s)}c=a.instance,m=c.getAttribute("data-precedence"),o=i.get(m)||s,o===s&&i.set(null,c),i.set(m,c),this.count++,s=lc.bind(this),c.addEventListener("load",s),c.addEventListener("error",s),o?o.parentNode.insertBefore(c,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),a.state.loading|=4}}var wr={$$typeof:H,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function iA(t,a,i,s,c,o,m,g,R){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=No(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=No(0),this.hiddenUpdates=No(null),this.identifierPrefix=s,this.onUncaughtError=c,this.onCaughtError=o,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function jD(t,a,i,s,c,o,m,g,R,w,V,X){return t=new iA(t,a,i,m,R,w,V,X,g),a=1,o===!0&&(a|=24),o=du(3,null,null,a),t.current=o,o.stateNode=t,a=df(),a.refCount++,t.pooledCache=a,a.refCount++,o.memoizedState={element:s,isDehydrated:i,cache:a},Df(o),t}function zD(t){return t?(t=Jn,t):Jn}function qD(t,a,i,s,c,o){c=zD(c),s.context===null?s.context=c:s.pendingContext=c,s=Ia(a),s.payload={element:i},o=o===void 0?null:o,o!==null&&(s.callback=o),i=wa(t,s,a),i!==null&&(eu(i,t,a),mr(i,t,a))}function YD(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<a?i:a}}function M0(t,a){YD(t,a),(t=t.alternate)&&YD(t,a)}function GD(t){if(t.tag===13||t.tag===31){var a=mn(t,67108864);a!==null&&eu(a,t,67108864),M0(t,67108864)}}function VD(t){if(t.tag===13||t.tag===31){var a=pu();a=Ro(a);var i=mn(t,a);i!==null&&eu(i,t,a),M0(t,a)}}var fc=!0;function rA(t,a,i,s){var c=Y.T;Y.T=null;var o=ne.p;try{ne.p=2,I0(t,a,i,s)}finally{ne.p=o,Y.T=c}}function sA(t,a,i,s){var c=Y.T;Y.T=null;var o=ne.p;try{ne.p=8,I0(t,a,i,s)}finally{ne.p=o,Y.T=c}}function I0(t,a,i,s){if(fc){var c=w0(s);if(c===null)_0(t,a,s,dc,i),XD(t,s);else if(cA(c,t,a,i,s))s.stopPropagation();else if(XD(t,s),a&4&&-1<lA.indexOf(t)){for(;c!==null;){var o=zn(c);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var m=cn(o.pendingLanes);if(m!==0){var g=o;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var R=1<<31-ou(m);g.entanglements[1]|=R,m&=~R}Xu(o),(Qe&6)===0&&(Xl=Pt()+500,Fr(0))}}break;case 31:case 13:g=mn(o,2),g!==null&&eu(g,o,2),Zl(),M0(o,2)}if(o=w0(s),o===null&&_0(t,a,s,dc,i),o===c)break;c=o}c!==null&&s.stopPropagation()}else _0(t,a,s,null,i)}}function w0(t){return t=Uo(t),U0(t)}var dc=null;function U0(t){if(dc=null,t=jn(t),t!==null){var a=f(t);if(a===null)t=null;else{var i=a.tag;if(i===13){if(t=h(a),t!==null)return t;t=null}else if(i===31){if(t=D(a),t!==null)return t;t=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null)}}return dc=t,null}function QD(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qt()){case Au:return 2;case Pn:return 8;case Hn:case Qi:return 32;case a1:return 268435456;default:return 32}default:return 32}}var P0=!1,Qa=null,Xa=null,Ka=null,Ur=new Map,Pr=new Map,Za=[],lA="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".split(" ");function XD(t,a){switch(t){case"focusin":case"focusout":Qa=null;break;case"dragenter":case"dragleave":Xa=null;break;case"mouseover":case"mouseout":Ka=null;break;case"pointerover":case"pointerout":Ur.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pr.delete(a.pointerId)}}function Hr(t,a,i,s,c,o){return t===null||t.nativeEvent!==o?(t={blockedOn:a,domEventName:i,eventSystemFlags:s,nativeEvent:o,targetContainers:[c]},a!==null&&(a=zn(a),a!==null&&GD(a)),t):(t.eventSystemFlags|=s,a=t.targetContainers,c!==null&&a.indexOf(c)===-1&&a.push(c),t)}function cA(t,a,i,s,c){switch(a){case"focusin":return Qa=Hr(Qa,t,a,i,s,c),!0;case"dragenter":return Xa=Hr(Xa,t,a,i,s,c),!0;case"mouseover":return Ka=Hr(Ka,t,a,i,s,c),!0;case"pointerover":var o=c.pointerId;return Ur.set(o,Hr(Ur.get(o)||null,t,a,i,s,c)),!0;case"gotpointercapture":return o=c.pointerId,Pr.set(o,Hr(Pr.get(o)||null,t,a,i,s,c)),!0}return!1}function KD(t){var a=jn(t.target);if(a!==null){var i=f(a);if(i!==null){if(a=i.tag,a===13){if(a=h(i),a!==null){t.blockedOn=a,c1(t.priority,function(){VD(i)});return}}else if(a===31){if(a=D(i),a!==null){t.blockedOn=a,c1(t.priority,function(){VD(i)});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function hc(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var i=w0(t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);wo=s,i.target.dispatchEvent(s),wo=null}else return a=zn(i),a!==null&&GD(a),t.blockedOn=i,!1;a.shift()}return!0}function ZD(t,a,i){hc(t)&&i.delete(a)}function oA(){P0=!1,Qa!==null&&hc(Qa)&&(Qa=null),Xa!==null&&hc(Xa)&&(Xa=null),Ka!==null&&hc(Ka)&&(Ka=null),Ur.forEach(ZD),Pr.forEach(ZD)}function mc(t,a){t.blockedOn===a&&(t.blockedOn=null,P0||(P0=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,oA)))}var Ec=null;function $D(t){Ec!==t&&(Ec=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Ec===t&&(Ec=null);for(var a=0;a<t.length;a+=3){var i=t[a],s=t[a+1],c=t[a+2];if(typeof s!="function"){if(U0(s||i)===null)continue;break}var o=zn(i);o!==null&&(t.splice(a,3),a-=3,wf(o,{pending:!0,data:c,method:i.method,action:s},s,c))}}))}function vi(t){function a(R){return mc(R,t)}Qa!==null&&mc(Qa,t),Xa!==null&&mc(Xa,t),Ka!==null&&mc(Ka,t),Ur.forEach(a),Pr.forEach(a);for(var i=0;i<Za.length;i++){var s=Za[i];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Za.length&&(i=Za[0],i.blockedOn===null);)KD(i),i.blockedOn===null&&Za.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var c=i[s],o=i[s+1],m=c[Xt]||null;if(typeof o=="function")m||$D(i);else if(m){var g=null;if(o&&o.hasAttribute("formAction")){if(c=o,m=o[Xt]||null)g=m.formAction;else if(U0(c)!==null)continue}else g=m.action;typeof g=="function"?i[s+1]=g:(i.splice(s,3),s-=3),$D(i)}}}function WD(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(m){return c=m})},focusReset:"manual",scroll:"manual"})}function a(){c!==null&&(c(),c=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),c!==null&&(c(),c=null)}}}function H0(t){this._internalRoot=t}Dc.prototype.render=H0.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(r(409));var i=a.current,s=pu();qD(i,s,t,a,null,null)},Dc.prototype.unmount=H0.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;qD(t.current,2,null,t,null,null),Zl(),a[kn]=null}};function Dc(t){this._internalRoot=t}Dc.prototype.unstable_scheduleHydration=function(t){if(t){var a=l1();t={blockedOn:null,target:t,priority:a};for(var i=0;i<Za.length&&a!==0&&a<Za[i].priority;i++);Za.splice(i,0,t),i===0&&KD(t)}};var JD=u.version;if(JD!=="19.2.0")throw Error(r(527,JD,"19.2.0"));ne.findDOMNode=function(t){var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=p(a),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var fA={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pc.isDisabled&&pc.supportsFiber)try{Xi=pc.inject(fA),cu=pc}catch{}}return jr.createRoot=function(t,a){if(!l(t))throw Error(r(299));var i=!1,s="",c=rE,o=sE,m=lE;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(m=a.onRecoverableError)),a=jD(t,1,!1,null,null,i,s,null,c,o,m,WD),t[kn]=a.current,T0(t),new H0(a)},jr.hydrateRoot=function(t,a,i){if(!l(t))throw Error(r(299));var s=!1,c="",o=rE,m=sE,g=lE,R=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(o=i.onUncaughtError),i.onCaughtError!==void 0&&(m=i.onCaughtError),i.onRecoverableError!==void 0&&(g=i.onRecoverableError),i.formState!==void 0&&(R=i.formState)),a=jD(t,1,!0,a,i??null,s,c,R,o,m,g,WD),a.context=zD(null),i=a.current,s=pu(),s=Ro(s),c=Ia(s),c.callback=null,wa(i,c,s),i=s,a.current.lanes=i,Zi(a,i),Xu(a),t[kn]=a.current,T0(t),new Dc(a)},jr.version="19.2.0",jr}var cp;function _A(){if(cp)return j0.exports;cp=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(u){console.error(u)}}return e(),j0.exports=TA(),j0.exports}var AA=_A();const vA=io(AA),CA="modulepreload",yA=function(e){return"/"+e},op={},SA=function(u,n,r){let l=Promise.resolve();if(n&&n.length>0){let p=function(b){return Promise.all(b.map(T=>Promise.resolve(T).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};var h=p;document.getElementsByTagName("link");const D=document.querySelector("meta[property=csp-nonce]"),E=D?.nonce||D?.getAttribute("nonce");l=p(n.map(b=>{if(b=yA(b),b in op)return;op[b]=!0;const T=b.endsWith(".css"),y=T?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${b}"]${y}`))return;const v=document.createElement("link");if(v.rel=T?"stylesheet":CA,T||(v.as="script"),v.crossOrigin="",v.href=b,E&&v.setAttribute("nonce",E),document.head.appendChild(v),T)return new Promise((N,x)=>{v.addEventListener("load",N),v.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${b}`)))})}))}function f(D){const E=new Event("vite:preloadError",{cancelable:!0});if(E.payload=D,window.dispatchEvent(E),!E.defaultPrevented)throw D}return l.then(D=>{for(const E of D||[])E.status==="rejected"&&f(E.reason);return u().catch(f)})};var Te=iu();const jt=io(Te);var V0={},Q0={},ku={},fp;function zs(){if(fp)return ku;fp=1,Object.defineProperty(ku,"__esModule",{value:!0}),ku.isUndefinedOr=ku.isNumber=ku.isStringOrUndefined=ku.isString=void 0;const e=l=>typeof l=="string";ku.isString=e;const u=l=>typeof l=="string"||l===void 0;ku.isStringOrUndefined=u;const n=l=>typeof l=="number";ku.isNumber=n;const r=l=>f=>f===void 0||l(f);return ku.isUndefinedOr=r,ku}var zr={},X0={exports:{}},dp;function Lt(){return dp||(dp=1,(function(e){function u(n){return n&&n.__esModule?n:{default:n}}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(X0)),X0.exports}var K0={exports:{}},hp;function NA(){return hp||(hp=1,(function(e){function u(){return e.exports=u=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var f in l)({}).hasOwnProperty.call(l,f)&&(n[f]=l[f])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,u.apply(null,arguments)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(K0)),K0.exports}var gc={},Nn={},mp;function gh(){if(mp)return Nn;mp=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.routeRecordSegmentGetterKey=Nn.routeRecordParentKey=void 0;const e=Symbol("routeRecordParentKey");Nn.routeRecordParentKey=e;const u=Symbol("routeRecordSegmentGetterKey");return Nn.routeRecordSegmentGetterKey=u,Nn}var Ep;function bh(){if(Ep)return gc;Ep=1,Object.defineProperty(gc,"__esModule",{value:!0}),gc.getRouteRecordLocation=n;var e=gh();const u={pathname:"/",state:null};function n(r,l,f=u){const h=r[e.routeRecordParentKey].composeFromTop(f,l);return r[e.routeRecordParentKey].composer.compose(h,r[e.routeRecordSegmentGetterKey](l))}return gc}var qr={},Dp;function RA(){if(Dp)return qr;Dp=1,Object.defineProperty(qr,"__esModule",{value:!0}),qr.locationToURL=void 0;const e=u=>"".concat(u.pathname).concat(u.search?u.search.startsWith("?")?u.search:"?"+u.search:"").concat(u.hash||"");return qr.locationToURL=e,qr}var Yr={},pp;function Th(){if(pp)return Yr;pp=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.RouteContext=void 0;var e=iu();const u=(0,e.createContext)(void 0);return Yr.RouteContext=u,Yr}var Gr={},Vr={},gp;function _h(){if(gp)return Vr;gp=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.HistoryContext=void 0;var e=iu();const u=(0,e.createContext)(void 0);return Vr.HistoryContext=u,Vr}var Qr={},bp;function vb(){if(bp)return Qr;bp=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.getNavigationBaseLocation=void 0;var e=gh();const u=(n,r)=>{const l=n?.ancestorRoutes,f=r[e.routeRecordParentKey].getAttachmentRoot(),h=l?.find(({link:D})=>D===f);return h?.location||n?.routeLocation};return Qr.getNavigationBaseLocation=u,Qr}var Tp;function Ah(){if(Tp)return Gr;Tp=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.useNavigate=void 0;var e=iu(),u=bh(),n=_h(),r=Th(),l=vb();const f=()=>{const h=(0,e.useContext)(n.HistoryContext),D=(0,e.useContext)(r.RouteContext);if(h===void 0)throw new Error("No history found in the context. Please make sure you have placed RoconRoot above.");const{history:E}=h;return(0,e.useMemo)(()=>{const b=(y,v)=>{const N=(0,l.getNavigationBaseLocation)(D,y),x=(0,u.getRouteRecordLocation)(y,v||{},N);x.state?E.push(x,x.state):E.push(x)};return Object.assign(b,{push:b,replace:(y,v)=>{const N=(0,l.getNavigationBaseLocation)(D,y),x=(0,u.getRouteRecordLocation)(y,v||{},N);E.replace((0,u.getRouteRecordLocation)(y,v||{},N)),x.state?E.replace(x,x.state):E.replace(x)}})},[E,D])};return Gr.useNavigate=f,Gr}var _p;function OA(){if(_p)return zr;_p=1;var e=Lt();Object.defineProperty(zr,"__esModule",{value:!0}),zr.Link=void 0;var u=e(NA()),n=p(iu()),r=bh(),l=RA(),f=Th(),h=Ah(),D=vb();function E(v){if(typeof WeakMap!="function")return null;var N=new WeakMap,x=new WeakMap;return(E=function(P){return P?x:N})(v)}function p(v,N){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var x=E(N);if(x&&x.has(v))return x.get(v);var P={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in v)if(Z!=="default"&&Object.prototype.hasOwnProperty.call(v,Z)){var H=B?Object.getOwnPropertyDescriptor(v,Z):null;H&&(H.get||H.set)?Object.defineProperty(P,Z,H):P[Z]=v[Z]}return P.default=v,x&&x.set(v,P),P}const b=({route:v,match:N,...x},P)=>{const B=(0,n.useContext)(f.RouteContext),Z=(0,h.useNavigate)(),H=(0,n.useMemo)(()=>{const $=(0,D.getNavigationBaseLocation)(B,v),ue=(0,r.getRouteRecordLocation)(v,N||{},$);return(0,l.locationToURL)(ue)},[v,N,B]);return n.default.createElement("a",(0,u.default)({ref:P,href:H,onClick:$=>{y($)||($.preventDefault(),Z(v,N))}},x))},T=(0,n.forwardRef)(b);zr.Link=T;function y(v){return v.metaKey||v.altKey||v.ctrlKey||v.shiftKey}return zr}var Xr={},Ap;function FA(){if(Ap)return Xr;Ap=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.Redirect=void 0;var e=iu(),u=Ah();const n=({route:r,match:l})=>{const f=(0,u.useNavigate)();return(0,e.useLayoutEffect)(()=>{f.replace(r,l)}),null};return Xr.Redirect=n,Xr}var Kr={};function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var n=arguments[u];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nn.apply(null,arguments)}var Gt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Gt||(Gt={}));var xi=function(e){return e},Pc="beforeunload",xA="hashchange",Cb="popstate";function LA(e){e===void 0&&(e={});var u=e,n=u.window,r=n===void 0?document.defaultView:n,l=r.history;function f(){var q=r.location,K=q.pathname,ie=q.search,pe=q.hash,be=l.state||{};return[be.idx,xi({pathname:K,search:ie,hash:pe,state:be.usr||null,key:be.key||"default"})]}var h=null;function D(){if(h)v.call(h),h=null;else{var q=Gt.Pop,K=f(),ie=K[0],pe=K[1];if(v.length){if(ie!=null){var be=b-ie;be&&(h={action:q,location:pe,retry:function(){ue(be*-1)}},ue(be))}}else Z(q)}}r.addEventListener(Cb,D);var E=Gt.Pop,p=f(),b=p[0],T=p[1],y=Li(),v=Li();b==null&&(b=0,l.replaceState(nn({},l.state,{idx:b}),""));function N(q){return typeof q=="string"?q:Oi(q)}function x(q,K){return K===void 0&&(K=null),xi(nn({pathname:T.pathname,hash:"",search:""},typeof q=="string"?Bi(q):q,{state:K,key:kc()}))}function P(q,K){return[{usr:q.state,key:q.key,idx:K},N(q)]}function B(q,K,ie){return!v.length||(v.call({action:q,location:K,retry:ie}),!1)}function Z(q){E=q;var K=f();b=K[0],T=K[1],y.call({action:E,location:T})}function H(q,K){var ie=Gt.Push,pe=x(q,K);function be(){H(q,K)}if(B(ie,pe,be)){var ye=P(pe,b+1),He=ye[0],Se=ye[1];try{l.pushState(He,"",Se)}catch{r.location.assign(Se)}Z(ie)}}function $(q,K){var ie=Gt.Replace,pe=x(q,K);function be(){$(q,K)}if(B(ie,pe,be)){var ye=P(pe,b),He=ye[0],Se=ye[1];l.replaceState(He,"",Se),Z(ie)}}function ue(q){l.go(q)}var te={get action(){return E},get location(){return T},createHref:N,push:H,replace:$,go:ue,back:function(){ue(-1)},forward:function(){ue(1)},listen:function(K){return y.push(K)},block:function(K){var ie=v.push(K);return v.length===1&&r.addEventListener(Pc,Hc),function(){ie(),v.length||r.removeEventListener(Pc,Hc)}}};return te}function BA(e){e===void 0&&(e={});var u=e,n=u.window,r=n===void 0?document.defaultView:n,l=r.history;function f(){var K=Bi(r.location.hash.substr(1)),ie=K.pathname,pe=ie===void 0?"/":ie,be=K.search,ye=be===void 0?"":be,He=K.hash,Se=He===void 0?"":He,Ve=l.state||{};return[Ve.idx,xi({pathname:pe,search:ye,hash:Se,state:Ve.usr||null,key:Ve.key||"default"})]}var h=null;function D(){if(h)v.call(h),h=null;else{var K=Gt.Pop,ie=f(),pe=ie[0],be=ie[1];if(v.length){if(pe!=null){var ye=b-pe;ye&&(h={action:K,location:be,retry:function(){te(ye*-1)}},te(ye))}}else H(K)}}r.addEventListener(Cb,D),r.addEventListener(xA,function(){var K=f(),ie=K[1];Oi(ie)!==Oi(T)&&D()});var E=Gt.Pop,p=f(),b=p[0],T=p[1],y=Li(),v=Li();b==null&&(b=0,l.replaceState(nn({},l.state,{idx:b}),""));function N(){var K=document.querySelector("base"),ie="";if(K&&K.getAttribute("href")){var pe=r.location.href,be=pe.indexOf("#");ie=be===-1?pe:pe.slice(0,be)}return ie}function x(K){return N()+"#"+(typeof K=="string"?K:Oi(K))}function P(K,ie){return ie===void 0&&(ie=null),xi(nn({pathname:T.pathname,hash:"",search:""},typeof K=="string"?Bi(K):K,{state:ie,key:kc()}))}function B(K,ie){return[{usr:K.state,key:K.key,idx:ie},x(K)]}function Z(K,ie,pe){return!v.length||(v.call({action:K,location:ie,retry:pe}),!1)}function H(K){E=K;var ie=f();b=ie[0],T=ie[1],y.call({action:E,location:T})}function $(K,ie){var pe=Gt.Push,be=P(K,ie);function ye(){$(K,ie)}if(Z(pe,be,ye)){var He=B(be,b+1),Se=He[0],Ve=He[1];try{l.pushState(Se,"",Ve)}catch{r.location.assign(Ve)}H(pe)}}function ue(K,ie){var pe=Gt.Replace,be=P(K,ie);function ye(){ue(K,ie)}if(Z(pe,be,ye)){var He=B(be,b),Se=He[0],Ve=He[1];l.replaceState(Se,"",Ve),H(pe)}}function te(K){l.go(K)}var q={get action(){return E},get location(){return T},createHref:x,push:$,replace:ue,go:te,back:function(){te(-1)},forward:function(){te(1)},listen:function(ie){return y.push(ie)},block:function(ie){var pe=v.push(ie);return v.length===1&&r.addEventListener(Pc,Hc),function(){pe(),v.length||r.removeEventListener(Pc,Hc)}}};return q}function MA(e){e===void 0&&(e={});var u=e,n=u.initialEntries,r=n===void 0?["/"]:n,l=u.initialIndex,f=r.map(function(H){var $=xi(nn({pathname:"/",search:"",hash:"",state:null,key:kc()},typeof H=="string"?Bi(H):H));return $}),h=vp(l??f.length-1,0,f.length-1),D=Gt.Pop,E=f[h],p=Li(),b=Li();function T(H){return typeof H=="string"?H:Oi(H)}function y(H,$){return $===void 0&&($=null),xi(nn({pathname:E.pathname,search:"",hash:""},typeof H=="string"?Bi(H):H,{state:$,key:kc()}))}function v(H,$,ue){return!b.length||(b.call({action:H,location:$,retry:ue}),!1)}function N(H,$){D=H,E=$,p.call({action:D,location:E})}function x(H,$){var ue=Gt.Push,te=y(H,$);function q(){x(H,$)}v(ue,te,q)&&(h+=1,f.splice(h,f.length,te),N(ue,te))}function P(H,$){var ue=Gt.Replace,te=y(H,$);function q(){P(H,$)}v(ue,te,q)&&(f[h]=te,N(ue,te))}function B(H){var $=vp(h+H,0,f.length-1),ue=Gt.Pop,te=f[$];function q(){B(H)}v(ue,te,q)&&(h=$,N(ue,te))}var Z={get index(){return h},get action(){return D},get location(){return E},createHref:T,push:x,replace:P,go:B,back:function(){B(-1)},forward:function(){B(1)},listen:function($){return p.push($)},block:function($){return b.push($)}};return Z}function vp(e,u,n){return Math.min(Math.max(e,u),n)}function Hc(e){e.preventDefault(),e.returnValue=""}function Li(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function kc(){return Math.random().toString(36).substr(2,8)}function Oi(e){var u=e.pathname,n=u===void 0?"/":u,r=e.search,l=r===void 0?"":r,f=e.hash,h=f===void 0?"":f;return l&&l!=="?"&&(n+=l.charAt(0)==="?"?l:"?"+l),h&&h!=="#"&&(n+=h.charAt(0)==="#"?h:"#"+h),n}function Bi(e){var u={};if(e){var n=e.indexOf("#");n>=0&&(u.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(u.search=e.substr(r),e=e.substr(0,r)),e&&(u.pathname=e)}return u}const IA=Object.freeze(Object.defineProperty({__proto__:null,get Action(){return Gt},createBrowserHistory:LA,createHashHistory:BA,createMemoryHistory:MA,createPath:Oi,parsePath:Bi},Symbol.toStringTag,{value:"Module"})),wA=ph(IA);var Zr={},Cp;function yb(){if(Cp)return Zr;Cp=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.LocationContext=void 0;var e=iu();const u=(0,e.createContext)(void 0);return Zr.LocationContext=u,Zr}var yp;function UA(){if(yp)return Kr;yp=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.RoconRoot=void 0;var e=wA,u=f(iu()),n=_h(),r=yb();function l(D){if(typeof WeakMap!="function")return null;var E=new WeakMap,p=new WeakMap;return(l=function(b){return b?p:E})(D)}function f(D,E){if(D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var p=l(E);if(p&&p.has(D))return p.get(D);var b={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in D)if(y!=="default"&&Object.prototype.hasOwnProperty.call(D,y)){var v=T?Object.getOwnPropertyDescriptor(D,y):null;v&&(v.get||v.set)?Object.defineProperty(b,y,v):b[y]=D[y]}return b.default=D,p&&p.set(D,b),b}const h=(0,u.memo)(D=>{const E=(0,u.useMemo)(()=>D.history||(0,e.createBrowserHistory)(),[D.history]),p=(0,u.useMemo)(()=>({history:E}),[E]),[b,T]=(0,u.useState)(E.location);return(0,u.useEffect)(()=>(T(E.location),E.listen(y=>{T(y.location)})),[E]),u.default.createElement(n.HistoryContext.Provider,{value:p},u.default.createElement(r.LocationContext.Provider,{value:b},D.children))});return Kr.RoconRoot=h,Kr}var Ci={},Sp;function Sb(){if(Sp)return Ci;Sp=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.isLocationNotFoundError=u,Ci.LocationNotFoundError=void 0;let e=class extends Error{};Ci.LocationNotFoundError=e;function u(n){return n instanceof e}return Ci}var $r={},Np;function PA(){if(Np)return $r;Np=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.useHistory=void 0;var e=iu(),u=_h();const n=()=>{const r=(0,e.useContext)(u.HistoryContext);if(r===void 0)throw new Error("No history found in the context. Please make sure you have placed RoconRoot above.");return r.history};return $r.useHistory=n,$r}var Wr={},Rp;function Nb(){if(Rp)return Wr;Rp=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.useLocation=void 0;var e=iu(),u=yb();const n=()=>{const r=(0,e.useContext)(u.LocationContext);if(r===void 0)throw new Error("No location found. Please make sure you have placed RoconRoot above.");return r};return Wr.useLocation=n,Wr}var Jr={},es={},Z0={exports:{}},$0={exports:{}},Op;function HA(){return Op||(Op=1,(function(e){function u(n,r){return r.get?r.get.call(n):r.value}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})($0)),$0.exports}var W0={exports:{}},J0={exports:{}},Fp;function kA(){return Fp||(Fp=1,(function(e){function u(n,r,l){if(typeof n=="function"?n===r:n.has(r))return arguments.length<3?r:l;throw new TypeError("Private element is not present on this object")}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(J0)),J0.exports}var xp;function Rb(){return xp||(xp=1,(function(e){var u=kA();function n(r,l){return r.get(u(r,l))}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(W0)),W0.exports}var Lp;function va(){return Lp||(Lp=1,(function(e){var u=HA(),n=Rb();function r(l,f){var h=n(f,l);return u(l,h)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Z0)),Z0.exports}var ed={exports:{}},td={exports:{}},Bp;function jA(){return Bp||(Bp=1,(function(e){function u(n,r,l){if(r.set)r.set.call(n,l);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=l}}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(td)),td.exports}var Mp;function Ca(){return Mp||(Mp=1,(function(e){var u=jA(),n=Rb();function r(l,f,h){var D=n(f,l);return u(l,D,h),h}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(ed)),ed.exports}var Ip;function Fb(){if(Ip)return es;Ip=1;var e=Lt();Object.defineProperty(es,"__esModule",{value:!0}),es.RoutePathResolver=void 0;var u=e(va()),n=e(Ca());function r(E,p,b){l(E,p),p.set(E,b)}function l(E,p){if(p.has(E))throw new TypeError("Cannot initialize the same private elements twice on an object")}var f=new WeakMap;let h=class Ob{static getFromBuilder(p){return new Ob(p.getBuilderLink().resolver)}constructor(p){r(this,f,{writable:!0,value:void 0}),(0,n.default)(this,f,p)}resolve(p){return(0,u.default)(this,f).resolve(p).filter(D)}resolveAction(p){const b=this.resolve(p)[0];if(b===void 0)return;const T=b.route.action(b.match);return{route:b.route,result:T}}};es.RoutePathResolver=h;function D(E){return!!E.route.action}return es}var wp;function zA(){if(wp)return Jr;wp=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.useRoutes=void 0;var e=h(iu()),u=Fb(),n=Th(),r=Sb(),l=Nb();function f(E){if(typeof WeakMap!="function")return null;var p=new WeakMap,b=new WeakMap;return(f=function(T){return T?b:p})(E)}function h(E,p){if(E&&E.__esModule)return E;if(E===null||typeof E!="object"&&typeof E!="function")return{default:E};var b=f(p);if(b&&b.has(E))return b.get(E);var T={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in E)if(v!=="default"&&Object.prototype.hasOwnProperty.call(E,v)){var N=y?Object.getOwnPropertyDescriptor(E,v):null;N&&(N.get||N.set)?Object.defineProperty(T,v,N):T[v]=E[v]}return T.default=E,b&&b.set(E,T),T}const D=E=>{var p;const b=(0,e.useContext)(n.RouteContext),T=(0,l.useLocation)(),y=(p=b?.nextLocation)!==null&&p!==void 0?p:T,v=(0,e.useMemo)(()=>u.RoutePathResolver.getFromBuilder(E),[E]),{routeContextValue:N,result:x}=(0,e.useMemo)(()=>{const P=v.resolve(y)[0];if(P===void 0)throw new r.LocationNotFoundError("Current location could not be resolved.");const B=b?b.ancestorRoutes.concat():[];B.push({link:E.getBuilderLink().getAttachmentRoot(),location:b?.routeLocation||{pathname:"/",state:null}});const Z=e.default.createElement(P.route.action,P.match),H={route:P.route,ancestorRoutes:B,routeLocation:P.currentLocation,nextLocation:P.remainingLocation};return{result:Z,routeContextValue:H}},[b,v,y]);return e.default.createElement(n.RouteContext.Provider,{value:N},x)};return Jr.useRoutes=D,Jr}var gu={},Yt={},ts={},us={},ud={exports:{}},ad={exports:{}},nd={exports:{}},Up;function xb(){return Up||(Up=1,(function(e){function u(n){"@babel/helpers - typeof";return e.exports=u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,u(n)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(nd)),nd.exports}var id={exports:{}},Pp;function qA(){return Pp||(Pp=1,(function(e){var u=xb().default;function n(r,l){if(u(r)!="object"||!r)return r;var f=r[Symbol.toPrimitive];if(f!==void 0){var h=f.call(r,l||"default");if(u(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(id)),id.exports}var Hp;function YA(){return Hp||(Hp=1,(function(e){var u=xb().default,n=qA();function r(l){var f=n(l,"string");return u(f)=="symbol"?f:f+""}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(ad)),ad.exports}var kp;function ru(){return kp||(kp=1,(function(e){var u=YA();function n(r,l,f){return(l=u(l))in r?Object.defineProperty(r,l,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[l]=f,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ud)),ud.exports}var as={},ns={},jp;function Lb(){if(jp)return ns;jp=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.createSegmentDecomposer=e,ns.resolveChain=u;function e(n,r){const{composer:l}=n;return f=>l.decompose(f).flatMap(({segment:D,nextLocation:E})=>{const p=r(D,E);return p===void 0?[]:[{...p,segment:D,nextLocation:E}]})}function u(n,r,l){var f;const h=(f=n.segmentDecomposer)===null||f===void 0?void 0:f.call(n,r);return h===void 0?[]:h.flatMap(D=>{const E=n.composer.compose(l,D.segment),p=D.type==="normal"?{}:{[D.matchKey]:D.matchValue},b=D.link;if(b===void 0)return[{route:D.value,match:p,remainingLocation:D.nextLocation,currentLocation:E}];const T=u(b,D.nextLocation,E);if(T.length===0&&b.composer.isLeaf(D.nextLocation))return[{route:D.value,match:p,remainingLocation:D.nextLocation,currentLocation:E}];switch(D.type){case"normal":return T;case"matching":{const y=D.matchKey,v=D.matchValue;return T.map(N=>(N.match[y]=v,N))}}})}return ns}var zp;function GA(){if(zp)return as;zp=1;var e=Lt();Object.defineProperty(as,"__esModule",{value:!0}),as.RouteResolver=void 0;var u=e(ru()),n=Lb();let r=class{constructor(f){(0,u.default)(this,"link",void 0),this.link=f}resolve(f){return(0,n.resolveChain)(this.link,f,{pathname:"/",state:null})}};return as.RouteResolver=r,as}var qp;function qs(){if(qp)return us;qp=1;var e=Lt();Object.defineProperty(us,"__esModule",{value:!0}),us.BuilderLink=void 0;var u=e(ru()),n=e(Ca()),r=e(va()),l=GA(),f=Lb();function h(b,T,y){D(b,T),T.set(b,y)}function D(b,T){if(T.has(b))throw new TypeError("Cannot initialize the same private elements twice on an object")}var E=new WeakMap;let p=class{constructor(T){(0,u.default)(this,"composer",void 0),(0,u.default)(this,"resolver",void 0),h(this,E,{writable:!0,value:{state:"unattached"}}),(0,u.default)(this,"currentBuilder",void 0),(0,u.default)(this,"segmentDecomposer",void 0),this.composer=T.composer,this.resolver=new l.RouteResolver(this)}attachToParent(T,y){if((0,r.default)(this,E).state!=="unattached")throw new Error("A builder cannot be attached more than once.");(0,n.default)(this,E,{state:"attached",parentLink:T,segmentGetter:y}),this.resolver=T.resolver}collectUpToTop(){const T=[];let y=this,v=y.getParentLinkAndSegmentGetter();for(;v!==void 0;)T.push({link:v[1],segmentGetter:v[0]}),y=v[1],v=y.getParentLinkAndSegmentGetter();return T}composeFromTop(T,y){return this.collectUpToTop().reverse().reduce((N,{link:x,segmentGetter:P})=>x.composer.compose(N,P(y)),T)}getAttachmentRoot(){const T=this.collectUpToTop();return T.length===0?this:T[T.length-1].link}getParentLinkAndSegmentGetter(){const T=(0,r.default)(this,E);if(T.state==="attached")return[T.segmentGetter,T.parentLink]}getBuilderLink(){return this}register(T,y){this.currentBuilder=T,this.segmentDecomposer=(0,f.createSegmentDecomposer)(this,y)}inherit(){return this}};return us.BuilderLink=p,us}var is={},bc={},Yp;function VA(){if(Yp)return bc;Yp=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.composePath=e;function e(u,n){const r=u.endsWith("/"),l=n.startsWith("/");return r&&l?u+n.slice(1):!r&&!l?u+"/"+n:u+n}return bc}var Tc={},Gp;function QA(){if(Gp)return Tc;Gp=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.decomposePath=e;function e(u){if(!u.startsWith("/")||u==="/")return;const n=u.indexOf("/",1),r=n===-1?u.length:n,l=u.substring(1,r),f=u.slice(r);return[l,f]}return Tc}var Vp;function XA(){if(Vp)return is;Vp=1,Object.defineProperty(is,"__esModule",{value:!0}),is.PathLocationComposer=void 0;var e=VA(),u=QA();let n=class{isLeaf(l){return l.pathname==="/"}compose(l,f){return f===void 0?l:{...l,pathname:(0,e.composePath)(l.pathname,f)}}decompose(l){const{pathname:f}=l,h=(0,u.decomposePath)(f),D={leaf:!0,segment:void 0,nextLocation:l};if(h===void 0)return[D];const[E,p]=h,b={...l,pathname:p||"/"};return[D,{leaf:!1,segment:E,nextLocation:b}]}};return is.PathLocationComposer=n,is}var rd={},rs={},ss={},Qp;function vh(){if(Qp)return ss;Qp=1;var e=Lt();Object.defineProperty(ss,"__esModule",{value:!0}),ss.RouteRecordBase=void 0;var u=e(ru()),n=e(va()),r=e(Ca()),l=gh();function f(p,b,T){h(p,b),b.set(p,T)}function h(p,b){if(b.has(p))throw new TypeError("Cannot initialize the same private elements twice on an object")}var D=new WeakMap;let E=class{constructor(b,T,y){(0,u.default)(this,"action",void 0),(0,u.default)(this,l.routeRecordParentKey,void 0),f(this,D,{writable:!0,value:void 0}),(0,u.default)(this,l.routeRecordSegmentGetterKey,void 0),(0,u.default)(this,"attach",void 0),this.action=T,this[l.routeRecordSegmentGetterKey]=y,Object.defineProperty(this,l.routeRecordParentKey,{value:b}),Object.defineProperty(this,"attach",{configurable:!0,writable:!0,value(v){const N=v.getBuilderLink().getAttachmentRoot();return(0,r.default)(this,D,N),N.attachToParent(b,y),v}})}getAttachedBuilderLink(){return(0,n.default)(this,D)}};return ss.RouteRecordBase=E,ss}var Xp;function KA(){if(Xp)return rs;Xp=1;var e=Lt();Object.defineProperty(rs,"__esModule",{value:!0}),rs.PathRouteRecord=void 0;var u=e(ru()),n=vh();let r=class extends n.RouteRecordBase{constructor(f,h,D){super(f.getBuilderLink(),D,()=>h),(0,u.default)(this,"key",void 0),this.key=h}};return rs.PathRouteRecord=r,rs}var Kp;function ZA(){return Kp||(Kp=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PathRouteRecord",{enumerable:!0,get:function(){return u.PathRouteRecord}});var u=KA()})(rd)),rd}var ls={},Zp;function ro(){if(Zp)return ls;Zp=1;var e=Lt();Object.defineProperty(ls,"__esModule",{value:!0}),ls.MatchingRouteRecord=void 0;var u=e(ru()),n=e(Ca()),r=e(va()),l=vh();function f(p,b,T){h(p,b),b.set(p,T)}function h(p,b){if(b.has(p))throw new TypeError("Cannot initialize the same private elements twice on an object")}var D=new WeakMap;let E=class extends l.RouteRecordBase{constructor(b,T,y,v){super(b.getBuilderLink(),v,N=>{const x=N[this.key];if(!(0,r.default)(this,D).call(this,x))throw new Error("Invariant failure: type of '".concat(x,"' is wrong"));return x}),(0,u.default)(this,"key",void 0),f(this,D,{writable:!0,value:void 0}),(0,n.default)(this,D,y),this.key=T}};return ls.MatchingRouteRecord=E,ls}var cs={},$p;function $A(){if($p)return cs;$p=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.isRootPath=void 0;const e=({pathname:u})=>!u||u==="/";return cs.isRootPath=e,cs}var Wp;function WA(){if(Wp)return ts;Wp=1;var e=Lt();Object.defineProperty(ts,"__esModule",{value:!0}),ts.PathRouteBuilder=void 0;var u=e(va()),n=e(Ca()),r=qs(),l=zs(),f=XA(),h=ZA(),D=ro(),E=$A();function p(P,B,Z){b(P,B),B.set(P,Z)}function b(P,B){if(B.has(P))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap,v=new WeakMap,N=new WeakMap;let x=class Ni{static init(){return new Ni(new r.BuilderLink({composer:new f.PathLocationComposer}))}constructor(B){p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:Object.create(null)}),p(this,v,{writable:!0,value:void 0}),p(this,N,{writable:!0,value:void 0}),(0,n.default)(this,T,B),B.register(this,(Z,H)=>{if(Z===void 0){if(!(0,E.isRootPath)(H))return;const te=(0,u.default)(this,N);return te&&{type:"normal",value:te,link:te.getAttachedBuilderLink()}}const $=(0,u.default)(this,y)[Z];if($!==void 0)return{type:"normal",value:$,link:$.getAttachedBuilderLink()};const ue=(0,u.default)(this,v);if(ue!==void 0)return{type:"matching",value:ue.route,link:ue.route.getAttachedBuilderLink(),matchKey:ue.matchKey,matchValue:Z}})}routes(B){const Z=new Ni((0,u.default)(this,T).inherit()),H=(0,u.default)(Z,y);Object.assign(H,(0,u.default)(this,y));for(const $ of Object.getOwnPropertyNames(B))H[$]=new h.PathRouteRecord(Z,$,B[$].action);return(0,n.default)(Z,v,(0,u.default)(this,v)),(0,n.default)(Z,N,(0,u.default)(this,N)),Z}route(B,Z){const H=new Ni((0,u.default)(this,T).inherit()),$=(0,u.default)(H,y);Object.assign($,(0,u.default)(this,y));let ue,te;Z&&Z({action(ie){return ue=ie,this},attach(ie){return te=ie,ie}});const q=new h.PathRouteRecord(H,B,ue);return te!==void 0&&q.attach(te),$[B]=q,(0,n.default)(H,v,(0,u.default)(this,v)),(0,n.default)(H,N,(0,u.default)(this,N)),H}any(B,Z){const H=new Ni((0,u.default)(this,T).inherit());return(0,n.default)(H,y,(0,u.default)(this,y)),(0,n.default)(H,v,{matchKey:B,route:new D.MatchingRouteRecord(H,B,l.isString,Z?.action)}),(0,n.default)(H,N,(0,u.default)(this,N)),H}exact(B){const Z=new Ni((0,u.default)(this,T).inherit());return(0,n.default)(Z,y,(0,u.default)(this,y)),(0,n.default)(Z,v,(0,u.default)(this,v)),(0,n.default)(Z,N,new h.PathRouteRecord(Z,void 0,B.action)),Z}getRoutes(){return(0,u.default)(this,y)}get _(){return this.getRoutes()}get anyRoute(){var B;return(B=(0,u.default)(this,v))===null||B===void 0?void 0:B.route}get exactRoute(){return(0,u.default)(this,N)}getBuilderLink(){return(0,u.default)(this,T)}};return ts.PathRouteBuilder=x,ts}var os={},fs={},_c={},Jp;function JA(){if(Jp)return _c;Jp=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.locationDiff=e;function e(n,r){var l;const f=n.pathname.split("/").filter(x=>x!==""),h=r.pathname.split("/").filter(x=>x!=="");if(!u(f,h))return;const D="/"+h.slice(f.length).join("/"),E=new URLSearchParams(n.search),p=new URLSearchParams(r.search);for(const[x,P]of E.entries()){if(p.get(x)!==P)return;p.delete(x)}const b={...r,pathname:D},T=p.toString();T!==""?b.search="?"+T:b.search!==void 0&&(b.search="");const y={},v=(l=n.state)!==null&&l!==void 0?l:{};for(const[x,P]of Object.entries((N=r.state)!==null&&N!==void 0?N:{})){var N;if(v[x]!==void 0){if(v[x]!==P)return;continue}y[x]=P}return r.state!==null&&(b.state=y),b}function u(n,r){return n.every((l,f)=>l===r[f])}return _c}var eg;function e6(){if(eg)return fs;eg=1;var e=Lt();Object.defineProperty(fs,"__esModule",{value:!0}),fs.ConstLocationComposer=void 0;var u=e(ru()),n=JA();let r=class{constructor(f){(0,u.default)(this,"location",void 0),this.location=f}isLeaf(){return!1}compose(){return this.location}decompose(f){const h=(0,n.locationDiff)(this.location,f);return h===void 0?[]:[{leaf:!1,segment:void 0,nextLocation:h}]}};return fs.ConstLocationComposer=r,fs}var ds={},tg;function t6(){if(tg)return ds;tg=1;var e=Lt();Object.defineProperty(ds,"__esModule",{value:!0}),ds.ConstRouteRecord=void 0;var u=e(ru()),n=vh();let r=class extends n.RouteRecordBase{constructor(f,h,D){super(f.getBuilderLink(),D,()=>this.location),(0,u.default)(this,"location",void 0),this.location=h}};return ds.ConstRouteRecord=r,ds}var hs={},ug;function so(){if(ug)return hs;ug=1;var e=Lt();Object.defineProperty(hs,"__esModule",{value:!0}),hs.SingleRouteAbstractBuilder=void 0;var u=e(ru()),n=bh();let r=class{constructor(){(0,u.default)(this,"attach",void 0),Object.defineProperty(this,"attach",{configurable:!0,value(f){return this.getRoute().attach(f)}})}get route(){return this.getRoute()}getLocation(f){return(0,n.getRouteRecordLocation)(this.getRoute(),f)}};return hs.SingleRouteAbstractBuilder=r,hs}var Ac={},ag;function u6(){if(ag)return Ac;ag=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.fillOptions=e;function e(u){u.root||(u.root={pathname:"/",state:null})}return Ac}var ng;function a6(){if(ng)return os;ng=1;var e=Lt();Object.defineProperty(os,"__esModule",{value:!0}),os.RootRouteBuilder=void 0;var u=e(va()),n=e(Ca()),r=qs(),l=e6(),f=t6(),h=so(),D=u6();function E(N,x,P){p(N,x),x.set(N,P)}function p(N,x){if(x.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}var b=new WeakMap,T=new WeakMap,y=new WeakMap;let v=class Id extends h.SingleRouteAbstractBuilder{static init(x={}){(0,D.fillOptions)(x);const P=new r.BuilderLink({composer:new l.ConstLocationComposer(x.root)});return new Id(P,x.root)}constructor(x,P){super(),E(this,b,{writable:!0,value:void 0}),E(this,T,{writable:!0,value:void 0}),E(this,y,{writable:!0,value:void 0}),(0,n.default)(this,y,x),(0,n.default)(this,b,P),(0,n.default)(this,T,new f.ConstRouteRecord(this,P,void 0)),x.register(this,()=>{const B=(0,u.default)(this,T);return{type:"normal",value:B,link:B.getAttachedBuilderLink()}})}action(x){const P=(0,u.default)(this,b),B=new Id((0,u.default)(this,y).inherit(),P);return(0,n.default)(B,T,new f.ConstRouteRecord(B,P,x)),B}getRoute(){return(0,u.default)(this,T)}getBuilderLink(){return(0,u.default)(this,y)}};return os.RootRouteBuilder=v,os}var ms={},Es={},ig;function n6(){if(ig)return Es;ig=1;var e=Lt();Object.defineProperty(Es,"__esModule",{value:!0}),Es.SearchLocationComposer=void 0;var u=e(ru());let n=class{constructor(l,f){(0,u.default)(this,"key",void 0),(0,u.default)(this,"optional",void 0),this.key=l,this.optional=f}isLeaf(l){return!l.search}compose(l,f){const h=new URLSearchParams(l.search);f!==void 0&&h.set(this.key,f);const D=h.toString();return{...l,search:D&&"?"+D}}decompose(l){const{search:f}=l,h=new URLSearchParams(f),D=h.get(this.key);if(D===null)return this.optional?[{leaf:!1,segment:void 0,nextLocation:l}]:[];h.delete(this.key);const E=h.toString(),p={...l,search:E&&"?"+E};return[{leaf:!1,segment:D,nextLocation:p}]}};return Es.SearchLocationComposer=n,Es}var rg;function i6(){if(rg)return ms;rg=1;var e=Lt();Object.defineProperty(ms,"__esModule",{value:!0}),ms.SearchRouteBuilder=void 0;var u=e(ru()),n=e(va()),r=e(Ca()),l=qs(),f=zs(),h=n6(),D=ro(),E=so();function p(N,x,P){b(N,x),x.set(N,P)}function b(N,x){if(x.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap;let v=class wd extends E.SingleRouteAbstractBuilder{static init(x,P={}){var B;const Z=(B=P.searchKey)!==null&&B!==void 0?B:x,H=P.optional||!1,$=new l.BuilderLink({composer:new h.SearchLocationComposer(Z,H)});return new wd($,x,H)}constructor(x,P,B){super(),(0,u.default)(this,"matchKey",void 0),(0,u.default)(this,"optional",void 0),p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:void 0}),(0,r.default)(this,T,x),this.matchKey=P,this.optional=B,(0,r.default)(this,y,new D.MatchingRouteRecord(this,P,B?f.isStringOrUndefined:f.isString,void 0)),x.register(this,Z=>{const H=(0,n.default)(this,y);return{type:"matching",value:H,link:H.getAttachedBuilderLink(),matchKey:P,matchValue:Z}})}action(x){const P=new wd((0,n.default)(this,T).inherit(),this.matchKey,this.optional);return(0,r.default)(P,y,new D.MatchingRouteRecord(P,this.matchKey,this.optional?f.isStringOrUndefined:f.isString,x)),P}getRoute(){return(0,n.default)(this,y)}getBuilderLink(){return(0,n.default)(this,T)}};return ms.SearchRouteBuilder=v,ms}var Ds={},ps={},sg;function r6(){if(sg)return ps;sg=1;var e=Lt();Object.defineProperty(ps,"__esModule",{value:!0}),ps.SingleHashLocationComposer=void 0;var u=e(ru());let n=class{constructor(l){(0,u.default)(this,"optional",void 0),this.optional=l}isLeaf(l){return!l.hash}compose(l,f){return{...l,hash:f!==void 0?"#"+f:""}}decompose(l){const{hash:f}=l;if(!(f!=null&&f.startsWith("#")))return this.optional?[{leaf:!1,segment:void 0,nextLocation:l}]:[];const h={...l,hash:""};return[{leaf:!1,segment:f.slice(1),nextLocation:h}]}};return ps.SingleHashLocationComposer=n,ps}var lg;function s6(){if(lg)return Ds;lg=1;var e=Lt();Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.SingleHashRouteBuilder=void 0;var u=e(ru()),n=e(va()),r=e(Ca()),l=qs(),f=zs(),h=r6(),D=ro(),E=so();function p(N,x,P){b(N,x),x.set(N,P)}function b(N,x){if(x.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap;let v=class Ud extends E.SingleRouteAbstractBuilder{static init(x,P={}){const B=P.optional||!1,Z=new l.BuilderLink({composer:new h.SingleHashLocationComposer(B)});return new Ud(Z,x,B)}constructor(x,P,B){super(),(0,u.default)(this,"matchKey",void 0),(0,u.default)(this,"optional",void 0),p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:void 0}),(0,r.default)(this,T,x),this.matchKey=P,this.optional=B,(0,r.default)(this,y,new D.MatchingRouteRecord(this,P,B?f.isStringOrUndefined:f.isString,void 0)),x.register(this,Z=>{const H=(0,n.default)(this,y);return{type:"matching",value:H,link:H.getAttachedBuilderLink(),matchKey:P,matchValue:Z}})}action(x){const P=new Ud((0,n.default)(this,T).inherit(),this.matchKey,this.optional);return(0,r.default)(P,y,new D.MatchingRouteRecord(P,this.matchKey,this.optional?f.isStringOrUndefined:f.isString,x)),P}getRoute(){return(0,n.default)(this,y)}getBuilderLink(){return(0,n.default)(this,T)}};return Ds.SingleHashRouteBuilder=v,Ds}var gs={},bs={},cg;function l6(){if(cg)return bs;cg=1;var e=Lt();Object.defineProperty(bs,"__esModule",{value:!0}),bs.StateLocationComposer=void 0;var u=e(ru());let n=class{constructor(l,f,h){(0,u.default)(this,"key",void 0),(0,u.default)(this,"optional",void 0),(0,u.default)(this,"validator",void 0),this.key=l,this.optional=h,this.validator=f}isLeaf(l){var f;return((f=l.state)===null||f===void 0?void 0:f[this.key])===void 0}compose(l,f){const h={...l.state,[this.key]:f};return{...l,state:h}}decompose(l){const{state:f}=l,h=f?.[this.key];if(h===void 0)return this.optional?[{leaf:!1,segment:void 0,nextLocation:l}]:[];if(!this.validator(h))return[];const{[this.key]:D,...E}=f,p={...l,state:E};return[{leaf:!1,segment:h,nextLocation:p}]}};return bs.StateLocationComposer=n,bs}var og;function c6(){if(og)return gs;og=1;var e=Lt();Object.defineProperty(gs,"__esModule",{value:!0}),gs.StateRouteBuilder=void 0;var u=e(ru()),n=e(va()),r=e(Ca()),l=qs(),f=zs(),h=l6(),D=ro(),E=so();function p(x,P,B){b(x,P),P.set(x,B)}function b(x,P){if(P.has(x))throw new TypeError("Cannot initialize the same private elements twice on an object")}var T=new WeakMap,y=new WeakMap,v=new WeakMap;let N=class Pd extends E.SingleRouteAbstractBuilder{static init(P,B,Z={}){var H;const $=(H=Z.stateKey)!==null&&H!==void 0?H:P,ue=Z.optional||!1,te=ue?(0,f.isUndefinedOr)(B):B,q=new l.BuilderLink({composer:new h.StateLocationComposer($,te,ue)});return new Pd(q,P,te)}constructor(P,B,Z){super(),(0,u.default)(this,"matchKey",void 0),p(this,T,{writable:!0,value:void 0}),p(this,y,{writable:!0,value:void 0}),p(this,v,{writable:!0,value:void 0}),(0,r.default)(this,T,P),this.matchKey=B,(0,r.default)(this,y,Z),(0,r.default)(this,v,new D.MatchingRouteRecord(this,B,Z,void 0)),P.register(this,H=>{const $=(0,n.default)(this,v);return{type:"matching",value:$,link:$.getAttachedBuilderLink(),matchKey:B,matchValue:H}})}action(P){const B=(0,n.default)(this,y),Z=new Pd((0,n.default)(this,T).inherit(),this.matchKey,B);return(0,r.default)(Z,v,new D.MatchingRouteRecord(Z,this.matchKey,B,P)),Z}getRoute(){return(0,n.default)(this,v)}getBuilderLink(){return(0,n.default)(this,T)}};return gs.StateRouteBuilder=N,gs}var fg;function o6(){if(fg)return Yt;fg=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.Resolver=Yt.SingleHash=Yt.Root=Yt.State=Yt.Search=Yt.Path=void 0;var e=WA(),u=a6(),n=Fb(),r=i6(),l=s6(),f=c6();const h=e.PathRouteBuilder.init;Yt.Path=h;const D=r.SearchRouteBuilder.init;Yt.Search=D;const E=f.StateRouteBuilder.init;Yt.State=E;const p=u.RootRouteBuilder.init;Yt.Root=p;const b=l.SingleHashRouteBuilder.init;Yt.SingleHash=b;const T=n.RoutePathResolver.getFromBuilder;return Yt.Resolver=T,Yt}var dg;function f6(){if(dg)return gu;dg=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.SingleHash=gu.Root=gu.State=gu.Search=gu.Path=void 0;var e=o6();const u=e.Path;gu.Path=u;const n=e.Search;gu.Search=n;const r=e.State;gu.State=r;const l=e.Root;gu.Root=l;const f=e.SingleHash;return gu.SingleHash=f,gu}var hg;function d6(){return hg||(hg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var u={validator:!0,Link:!0,Redirect:!0,RoconRoot:!0,isLocationNotFoundError:!0,LocationNotFoundError:!0,useHistory:!0,useLocation:!0,useNavigate:!0,useRoutes:!0};Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return r.Link}}),Object.defineProperty(e,"Redirect",{enumerable:!0,get:function(){return l.Redirect}}),Object.defineProperty(e,"RoconRoot",{enumerable:!0,get:function(){return f.RoconRoot}}),Object.defineProperty(e,"isLocationNotFoundError",{enumerable:!0,get:function(){return h.isLocationNotFoundError}}),Object.defineProperty(e,"LocationNotFoundError",{enumerable:!0,get:function(){return h.LocationNotFoundError}}),Object.defineProperty(e,"useHistory",{enumerable:!0,get:function(){return D.useHistory}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return E.useLocation}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return p.useNavigate}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return b.useRoutes}}),e.validator=void 0;var n=v(zs());e.validator=n;var r=OA(),l=FA(),f=UA(),h=Sb(),D=PA(),E=Nb(),p=Ah(),b=zA(),T=f6();Object.keys(T).forEach(function(N){N==="default"||N==="__esModule"||Object.prototype.hasOwnProperty.call(u,N)||N in e&&e[N]===T[N]||Object.defineProperty(e,N,{enumerable:!0,get:function(){return T[N]}})});function y(N){if(typeof WeakMap!="function")return null;var x=new WeakMap,P=new WeakMap;return(y=function(B){return B?P:x})(N)}function v(N,x){if(N&&N.__esModule)return N;if(N===null||typeof N!="object"&&typeof N!="function")return{default:N};var P=y(x);if(P&&P.has(N))return P.get(N);var B={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in N)if(H!=="default"&&Object.prototype.hasOwnProperty.call(N,H)){var $=Z?Object.getOwnPropertyDescriptor(N,H):null;$&&($.get||$.set)?Object.defineProperty(B,H,$):B[H]=N[H]}return B.default=N,P&&P.set(N,B),B}})(Q0)),Q0}var mg;function h6(){return mg||(mg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var u={Rocon:!0};e.default=e.Rocon=void 0;var n=l(d6());e.Rocon=n,e.default=n,Object.keys(n).forEach(function(f){f==="default"||f==="__esModule"||Object.prototype.hasOwnProperty.call(u,f)||f in e&&e[f]===n[f]||Object.defineProperty(e,f,{enumerable:!0,get:function(){return n[f]}})});function r(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,D=new WeakMap;return(r=function(E){return E?D:h})(f)}function l(f,h){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var D=r(h);if(D&&D.has(f))return D.get(f);var E={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in f)if(b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)){var T=p?Object.getOwnPropertyDescriptor(f,b):null;T&&(T.get||T.set)?Object.defineProperty(E,b,T):E[b]=f[b]}return E.default=f,D&&D.set(f,E),E}})(V0)),V0}var sd,Eg;function m6(){return Eg||(Eg=1,sd=h6()),sd}var Vt=m6();const Mi=io(Vt);var nu=function(){return nu=Object.assign||function(u){for(var n,r=1,l=arguments.length;r<l;r++){n=arguments[r];for(var f in n)Object.prototype.hasOwnProperty.call(n,f)&&(u[f]=n[f])}return u},nu.apply(this,arguments)};function Bs(e,u,n){if(n||arguments.length===2)for(var r=0,l=u.length,f;r<l;r++)(f||!(r in u))&&(f||(f=Array.prototype.slice.call(u,0,r)),f[r]=u[r]);return e.concat(f||Array.prototype.slice.call(u))}var st="-ms-",Ss="-moz-",Xe="-webkit-",Bb="comm",lo="rule",Ch="decl",E6="@import",Mb="@keyframes",D6="@layer",Ib=Math.abs,yh=String.fromCharCode,Hd=Object.assign;function p6(e,u){return Ft(e,0)^45?(((u<<2^Ft(e,0))<<2^Ft(e,1))<<2^Ft(e,2))<<2^Ft(e,3):0}function wb(e){return e.trim()}function ba(e,u){return(e=u.exec(e))?e[0]:e}function Re(e,u,n){return e.replace(u,n)}function xc(e,u,n){return e.indexOf(u,n)}function Ft(e,u){return e.charCodeAt(u)|0}function Ii(e,u,n){return e.slice(u,n)}function Ku(e){return e.length}function Ub(e){return e.length}function vs(e,u){return u.push(e),e}function g6(e,u){return e.map(u).join("")}function Dg(e,u){return e.filter(function(n){return!ba(n,u)})}var co=1,wi=1,Pb=0,wu=0,vt=0,qi="";function oo(e,u,n,r,l,f,h,D){return{value:e,root:u,parent:n,type:r,props:l,children:f,line:co,column:wi,length:h,return:"",siblings:D}}function Wa(e,u){return Hd(oo("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},u)}function yi(e){for(;e.root;)e=Wa(e.root,{children:[e]});vs(e,e.siblings)}function b6(){return vt}function T6(){return vt=wu>0?Ft(qi,--wu):0,wi--,vt===10&&(wi=1,co--),vt}function zu(){return vt=wu<Pb?Ft(qi,wu++):0,wi++,vt===10&&(wi=1,co++),vt}function Ln(){return Ft(qi,wu)}function Lc(){return wu}function fo(e,u){return Ii(qi,e,u)}function kd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _6(e){return co=wi=1,Pb=Ku(qi=e),wu=0,[]}function A6(e){return qi="",e}function ld(e){return wb(fo(wu-1,jd(e===91?e+2:e===40?e+1:e)))}function v6(e){for(;(vt=Ln())&&vt<33;)zu();return kd(e)>2||kd(vt)>3?"":" "}function C6(e,u){for(;--u&&zu()&&!(vt<48||vt>102||vt>57&&vt<65||vt>70&&vt<97););return fo(e,Lc()+(u<6&&Ln()==32&&zu()==32))}function jd(e){for(;zu();)switch(vt){case e:return wu;case 34:case 39:e!==34&&e!==39&&jd(vt);break;case 40:e===41&&jd(e);break;case 92:zu();break}return wu}function y6(e,u){for(;zu()&&e+vt!==57;)if(e+vt===84&&Ln()===47)break;return"/*"+fo(u,wu-1)+"*"+yh(e===47?e:zu())}function S6(e){for(;!kd(Ln());)zu();return fo(e,wu)}function N6(e){return A6(Bc("",null,null,null,[""],e=_6(e),0,[0],e))}function Bc(e,u,n,r,l,f,h,D,E){for(var p=0,b=0,T=h,y=0,v=0,N=0,x=1,P=1,B=1,Z=0,H="",$=l,ue=f,te=r,q=H;P;)switch(N=Z,Z=zu()){case 40:if(N!=108&&Ft(q,T-1)==58){xc(q+=Re(ld(Z),"&","&\f"),"&\f",Ib(p?D[p-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:q+=ld(Z);break;case 9:case 10:case 13:case 32:q+=v6(N);break;case 92:q+=C6(Lc()-1,7);continue;case 47:switch(Ln()){case 42:case 47:vs(R6(y6(zu(),Lc()),u,n,E),E);break;default:q+="/"}break;case 123*x:D[p++]=Ku(q)*B;case 125*x:case 59:case 0:switch(Z){case 0:case 125:P=0;case 59+b:B==-1&&(q=Re(q,/\f/g,"")),v>0&&Ku(q)-T&&vs(v>32?gg(q+";",r,n,T-1,E):gg(Re(q," ","")+";",r,n,T-2,E),E);break;case 59:q+=";";default:if(vs(te=pg(q,u,n,p,b,l,D,H,$=[],ue=[],T,f),f),Z===123)if(b===0)Bc(q,u,te,te,$,f,T,D,ue);else switch(y===99&&Ft(q,3)===110?100:y){case 100:case 108:case 109:case 115:Bc(e,te,te,r&&vs(pg(e,te,te,0,0,l,D,H,l,$=[],T,ue),ue),l,ue,T,D,r?$:ue);break;default:Bc(q,te,te,te,[""],ue,0,D,ue)}}p=b=v=0,x=B=1,H=q="",T=h;break;case 58:T=1+Ku(q),v=N;default:if(x<1){if(Z==123)--x;else if(Z==125&&x++==0&&T6()==125)continue}switch(q+=yh(Z),Z*x){case 38:B=b>0?1:(q+="\f",-1);break;case 44:D[p++]=(Ku(q)-1)*B,B=1;break;case 64:Ln()===45&&(q+=ld(zu())),y=Ln(),b=T=Ku(H=q+=S6(Lc())),Z++;break;case 45:N===45&&Ku(q)==2&&(x=0)}}return f}function pg(e,u,n,r,l,f,h,D,E,p,b,T){for(var y=l-1,v=l===0?f:[""],N=Ub(v),x=0,P=0,B=0;x<r;++x)for(var Z=0,H=Ii(e,y+1,y=Ib(P=h[x])),$=e;Z<N;++Z)($=wb(P>0?v[Z]+" "+H:Re(H,/&\f/g,v[Z])))&&(E[B++]=$);return oo(e,u,n,l===0?lo:D,E,p,b,T)}function R6(e,u,n,r){return oo(e,u,n,Bb,yh(b6()),Ii(e,2,-2),0,r)}function gg(e,u,n,r,l){return oo(e,u,n,Ch,Ii(e,0,r),Ii(e,r+1,-1),r,l)}function Hb(e,u,n){switch(p6(e,u)){case 5103:return Xe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Xe+e+e;case 4789:return Ss+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xe+e+Ss+e+st+e+e;case 5936:switch(Ft(e,u+11)){case 114:return Xe+e+st+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xe+e+st+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xe+e+st+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Xe+e+st+e+e;case 6165:return Xe+e+st+"flex-"+e+e;case 5187:return Xe+e+Re(e,/(\w+).+(:[^]+)/,Xe+"box-$1$2"+st+"flex-$1$2")+e;case 5443:return Xe+e+st+"flex-item-"+Re(e,/flex-|-self/g,"")+(ba(e,/flex-|baseline/)?"":st+"grid-row-"+Re(e,/flex-|-self/g,""))+e;case 4675:return Xe+e+st+"flex-line-pack"+Re(e,/align-content|flex-|-self/g,"")+e;case 5548:return Xe+e+st+Re(e,"shrink","negative")+e;case 5292:return Xe+e+st+Re(e,"basis","preferred-size")+e;case 6060:return Xe+"box-"+Re(e,"-grow","")+Xe+e+st+Re(e,"grow","positive")+e;case 4554:return Xe+Re(e,/([^-])(transform)/g,"$1"+Xe+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Xe+"$1"),/(image-set)/,Xe+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Xe+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Xe+"box-pack:$3"+st+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xe+e+e;case 4200:if(!ba(e,/flex-|baseline/))return st+"grid-column-align"+Ii(e,u)+e;break;case 2592:case 3360:return st+Re(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,l){return u=l,ba(r.props,/grid-\w+-end/)})?~xc(e+(n=n[u].value),"span",0)?e:st+Re(e,"-start","")+e+st+"grid-row-span:"+(~xc(n,"span",0)?ba(n,/\d+/):+ba(n,/\d+/)-+ba(e,/\d+/))+";":st+Re(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ba(r.props,/grid-\w+-start/)})?e:st+Re(Re(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Xe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ku(e)-1-u>6)switch(Ft(e,u+1)){case 109:if(Ft(e,u+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Xe+"$2-$3$1"+Ss+(Ft(e,u+3)==108?"$3":"$2-$3"))+e;case 115:return~xc(e,"stretch",0)?Hb(Re(e,"stretch","fill-available"),u,n)+e:e}break;case 5152:case 5920:return Re(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,l,f,h,D,E,p){return st+l+":"+f+p+(h?st+l+"-span:"+(D?E:+E-+f)+p:"")+e});case 4949:if(Ft(e,u+6)===121)return Re(e,":",":"+Xe)+e;break;case 6444:switch(Ft(e,Ft(e,14)===45?18:11)){case 120:return Re(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Xe+(Ft(e,14)===45?"inline-":"")+"box$3$1"+Xe+"$2$3$1"+st+"$2box$3")+e;case 100:return Re(e,":",":"+st)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Re(e,"scroll-","scroll-snap-")+e}return e}function jc(e,u){for(var n="",r=0;r<e.length;r++)n+=u(e[r],r,e,u)||"";return n}function O6(e,u,n,r){switch(e.type){case D6:if(e.children.length)break;case E6:case Ch:return e.return=e.return||e.value;case Bb:return"";case Mb:return e.return=e.value+"{"+jc(e.children,r)+"}";case lo:if(!Ku(e.value=e.props.join(",")))return""}return Ku(n=jc(e.children,r))?e.return=e.value+"{"+n+"}":""}function F6(e){var u=Ub(e);return function(n,r,l,f){for(var h="",D=0;D<u;D++)h+=e[D](n,r,l,f)||"";return h}}function x6(e){return function(u){u.root||(u=u.return)&&e(u)}}function L6(e,u,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ch:e.return=Hb(e.value,e.length,n);return;case Mb:return jc([Wa(e,{value:Re(e.value,"@","@"+Xe)})],r);case lo:if(e.length)return g6(n=e.props,function(l){switch(ba(l,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":yi(Wa(e,{props:[Re(l,/:(read-\w+)/,":"+Ss+"$1")]})),yi(Wa(e,{props:[l]})),Hd(e,{props:Dg(n,r)});break;case"::placeholder":yi(Wa(e,{props:[Re(l,/:(plac\w+)/,":"+Xe+"input-$1")]})),yi(Wa(e,{props:[Re(l,/:(plac\w+)/,":"+Ss+"$1")]})),yi(Wa(e,{props:[Re(l,/:(plac\w+)/,st+"input-$1")]})),yi(Wa(e,{props:[l]})),Hd(e,{props:Dg(n,r)});break}return""})}}var B6={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bu={},Ui=typeof process<"u"&&bu!==void 0&&(bu.REACT_APP_SC_ATTR||bu.SC_ATTR)||"data-styled",kb="active",jb="data-styled-version",ho="6.1.19",Sh=`/*!sc*/
|
|
10
|
+
`,zc=typeof window<"u"&&typeof document<"u",M6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&bu!==void 0&&bu.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&bu.REACT_APP_SC_DISABLE_SPEEDY!==""?bu.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&bu.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&bu!==void 0&&bu.SC_DISABLE_SPEEDY!==void 0&&bu.SC_DISABLE_SPEEDY!==""&&bu.SC_DISABLE_SPEEDY!=="false"&&bu.SC_DISABLE_SPEEDY),mo=Object.freeze([]),Pi=Object.freeze({});function I6(e,u,n){return n===void 0&&(n=Pi),e.theme!==n.theme&&e.theme||u||n.theme}var zb=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),w6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,U6=/(^-|-$)/g;function bg(e){return e.replace(w6,"-").replace(U6,"")}var P6=/(a)(d)/gi,vc=52,Tg=function(e){return String.fromCharCode(e+(e>25?39:97))};function zd(e){var u,n="";for(u=Math.abs(e);u>vc;u=u/vc|0)n=Tg(u%vc)+n;return(Tg(u%vc)+n).replace(P6,"$1-$2")}var cd,qb=5381,Ri=function(e,u){for(var n=u.length;n;)e=33*e^u.charCodeAt(--n);return e},Yb=function(e){return Ri(qb,e)};function Gb(e){return zd(Yb(e)>>>0)}function H6(e){return e.displayName||e.name||"Component"}function od(e){return typeof e=="string"&&!0}var Vb=typeof Symbol=="function"&&Symbol.for,Qb=Vb?Symbol.for("react.memo"):60115,k6=Vb?Symbol.for("react.forward_ref"):60112,j6={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z6={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xb={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q6=((cd={})[k6]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},cd[Qb]=Xb,cd);function _g(e){return("type"in(u=e)&&u.type.$$typeof)===Qb?Xb:"$$typeof"in e?q6[e.$$typeof]:j6;var u}var Y6=Object.defineProperty,G6=Object.getOwnPropertyNames,Ag=Object.getOwnPropertySymbols,V6=Object.getOwnPropertyDescriptor,Q6=Object.getPrototypeOf,vg=Object.prototype;function Kb(e,u,n){if(typeof u!="string"){if(vg){var r=Q6(u);r&&r!==vg&&Kb(e,r,n)}var l=G6(u);Ag&&(l=l.concat(Ag(u)));for(var f=_g(e),h=_g(u),D=0;D<l.length;++D){var E=l[D];if(!(E in z6||n&&n[E]||h&&E in h||f&&E in f)){var p=V6(u,E);try{Y6(e,E,p)}catch{}}}}return e}function Hi(e){return typeof e=="function"}function Nh(e){return typeof e=="object"&&"styledComponentId"in e}function Fn(e,u){return e&&u?"".concat(e," ").concat(u):e||u||""}function qd(e,u){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Ms(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Yd(e,u,n){if(n===void 0&&(n=!1),!n&&!Ms(e)&&!Array.isArray(e))return u;if(Array.isArray(u))for(var r=0;r<u.length;r++)e[r]=Yd(e[r],u[r]);else if(Ms(u))for(var r in u)e[r]=Yd(e[r],u[r]);return e}function Rh(e,u){Object.defineProperty(e,"toString",{value:u})}function Ys(e){for(var u=[],n=1;n<arguments.length;n++)u[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(u.length>0?" Args: ".concat(u.join(", ")):""))}var X6=(function(){function e(u){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=u}return e.prototype.indexOfGroup=function(u){for(var n=0,r=0;r<u;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(u,n){if(u>=this.groupSizes.length){for(var r=this.groupSizes,l=r.length,f=l;u>=f;)if((f<<=1)<0)throw Ys(16,"".concat(u));this.groupSizes=new Uint32Array(f),this.groupSizes.set(r),this.length=f;for(var h=l;h<f;h++)this.groupSizes[h]=0}for(var D=this.indexOfGroup(u+1),E=(h=0,n.length);h<E;h++)this.tag.insertRule(D,n[h])&&(this.groupSizes[u]++,D++)},e.prototype.clearGroup=function(u){if(u<this.length){var n=this.groupSizes[u],r=this.indexOfGroup(u),l=r+n;this.groupSizes[u]=0;for(var f=r;f<l;f++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(u){var n="";if(u>=this.length||this.groupSizes[u]===0)return n;for(var r=this.groupSizes[u],l=this.indexOfGroup(u),f=l+r,h=l;h<f;h++)n+="".concat(this.tag.getRule(h)).concat(Sh);return n},e})(),Mc=new Map,qc=new Map,Ic=1,Cc=function(e){if(Mc.has(e))return Mc.get(e);for(;qc.has(Ic);)Ic++;var u=Ic++;return Mc.set(e,u),qc.set(u,e),u},K6=function(e,u){Ic=u+1,Mc.set(e,u),qc.set(u,e)},Z6="style[".concat(Ui,"][").concat(jb,'="').concat(ho,'"]'),$6=new RegExp("^".concat(Ui,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),W6=function(e,u,n){for(var r,l=n.split(","),f=0,h=l.length;f<h;f++)(r=l[f])&&e.registerName(u,r)},J6=function(e,u){for(var n,r=((n=u.textContent)!==null&&n!==void 0?n:"").split(Sh),l=[],f=0,h=r.length;f<h;f++){var D=r[f].trim();if(D){var E=D.match($6);if(E){var p=0|parseInt(E[1],10),b=E[2];p!==0&&(K6(b,p),W6(e,b,E[3]),e.getTag().insertRules(p,l)),l.length=0}else l.push(D)}}},Cg=function(e){for(var u=document.querySelectorAll(Z6),n=0,r=u.length;n<r;n++){var l=u[n];l&&l.getAttribute(Ui)!==kb&&(J6(e,l),l.parentNode&&l.parentNode.removeChild(l))}};function ev(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Zb=function(e){var u=document.head,n=e||u,r=document.createElement("style"),l=(function(D){var E=Array.from(D.querySelectorAll("style[".concat(Ui,"]")));return E[E.length-1]})(n),f=l!==void 0?l.nextSibling:null;r.setAttribute(Ui,kb),r.setAttribute(jb,ho);var h=ev();return h&&r.setAttribute("nonce",h),n.insertBefore(r,f),r},tv=(function(){function e(u){this.element=Zb(u),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,l=0,f=r.length;l<f;l++){var h=r[l];if(h.ownerNode===n)return h}throw Ys(17)})(this.element),this.length=0}return e.prototype.insertRule=function(u,n){try{return this.sheet.insertRule(n,u),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(u){this.sheet.deleteRule(u),this.length--},e.prototype.getRule=function(u){var n=this.sheet.cssRules[u];return n&&n.cssText?n.cssText:""},e})(),uv=(function(){function e(u){this.element=Zb(u),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(u,n){if(u<=this.length&&u>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[u]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(u){this.element.removeChild(this.nodes[u]),this.length--},e.prototype.getRule=function(u){return u<this.length?this.nodes[u].textContent:""},e})(),av=(function(){function e(u){this.rules=[],this.length=0}return e.prototype.insertRule=function(u,n){return u<=this.length&&(this.rules.splice(u,0,n),this.length++,!0)},e.prototype.deleteRule=function(u){this.rules.splice(u,1),this.length--},e.prototype.getRule=function(u){return u<this.length?this.rules[u]:""},e})(),yg=zc,nv={isServer:!zc,useCSSOMInjection:!M6},$b=(function(){function e(u,n,r){u===void 0&&(u=Pi),n===void 0&&(n={});var l=this;this.options=nu(nu({},nv),u),this.gs=n,this.names=new Map(r),this.server=!!u.isServer,!this.server&&zc&&yg&&(yg=!1,Cg(this)),Rh(this,function(){return(function(f){for(var h=f.getTag(),D=h.length,E="",p=function(T){var y=(function(B){return qc.get(B)})(T);if(y===void 0)return"continue";var v=f.names.get(y),N=h.getGroup(T);if(v===void 0||!v.size||N.length===0)return"continue";var x="".concat(Ui,".g").concat(T,'[id="').concat(y,'"]'),P="";v!==void 0&&v.forEach(function(B){B.length>0&&(P+="".concat(B,","))}),E+="".concat(N).concat(x,'{content:"').concat(P,'"}').concat(Sh)},b=0;b<D;b++)p(b);return E})(l)})}return e.registerId=function(u){return Cc(u)},e.prototype.rehydrate=function(){!this.server&&zc&&Cg(this)},e.prototype.reconstructWithOptions=function(u,n){return n===void 0&&(n=!0),new e(nu(nu({},this.options),u),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(u){return this.gs[u]=(this.gs[u]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(u=(function(n){var r=n.useCSSOMInjection,l=n.target;return n.isServer?new av(l):r?new tv(l):new uv(l)})(this.options),new X6(u)));var u},e.prototype.hasNameForId=function(u,n){return this.names.has(u)&&this.names.get(u).has(n)},e.prototype.registerName=function(u,n){if(Cc(u),this.names.has(u))this.names.get(u).add(n);else{var r=new Set;r.add(n),this.names.set(u,r)}},e.prototype.insertRules=function(u,n,r){this.registerName(u,n),this.getTag().insertRules(Cc(u),r)},e.prototype.clearNames=function(u){this.names.has(u)&&this.names.get(u).clear()},e.prototype.clearRules=function(u){this.getTag().clearGroup(Cc(u)),this.clearNames(u)},e.prototype.clearTag=function(){this.tag=void 0},e})(),iv=/&/g,rv=/^\s*\/\/.*$/gm;function Wb(e,u){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(u," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(u," ")),n.props=n.props.map(function(r){return"".concat(u," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Wb(n.children,u)),n})}function sv(e){var u,n,r,l=Pi,f=l.options,h=f===void 0?Pi:f,D=l.plugins,E=D===void 0?mo:D,p=function(y,v,N){return N.startsWith(n)&&N.endsWith(n)&&N.replaceAll(n,"").length>0?".".concat(u):y},b=E.slice();b.push(function(y){y.type===lo&&y.value.includes("&")&&(y.props[0]=y.props[0].replace(iv,n).replace(r,p))}),h.prefix&&b.push(L6),b.push(O6);var T=function(y,v,N,x){v===void 0&&(v=""),N===void 0&&(N=""),x===void 0&&(x="&"),u=x,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var P=y.replace(rv,""),B=N6(N||v?"".concat(N," ").concat(v," { ").concat(P," }"):P);h.namespace&&(B=Wb(B,h.namespace));var Z=[];return jc(B,F6(b.concat(x6(function(H){return Z.push(H)})))),Z};return T.hash=E.length?E.reduce(function(y,v){return v.name||Ys(15),Ri(y,v.name)},qb).toString():"",T}var lv=new $b,Gd=sv(),Jb=jt.createContext({shouldForwardProp:void 0,styleSheet:lv,stylis:Gd});Jb.Consumer;jt.createContext(void 0);function Sg(){return Te.useContext(Jb)}var e2=(function(){function e(u,n){var r=this;this.inject=function(l,f){f===void 0&&(f=Gd);var h=r.name+f.hash;l.hasNameForId(r.id,h)||l.insertRules(r.id,h,f(r.rules,h,"@keyframes"))},this.name=u,this.id="sc-keyframes-".concat(u),this.rules=n,Rh(this,function(){throw Ys(12,String(r.name))})}return e.prototype.getName=function(u){return u===void 0&&(u=Gd),this.name+u.hash},e})(),cv=function(e){return e>="A"&&e<="Z"};function Ng(e){for(var u="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;cv(r)?u+="-"+r.toLowerCase():u+=r}return u.startsWith("ms-")?"-"+u:u}var t2=function(e){return e==null||e===!1||e===""},u2=function(e){var u,n,r=[];for(var l in e){var f=e[l];e.hasOwnProperty(l)&&!t2(f)&&(Array.isArray(f)&&f.isCss||Hi(f)?r.push("".concat(Ng(l),":"),f,";"):Ms(f)?r.push.apply(r,Bs(Bs(["".concat(l," {")],u2(f),!1),["}"],!1)):r.push("".concat(Ng(l),": ").concat((u=l,(n=f)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||u in B6||u.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Bn(e,u,n,r){if(t2(e))return[];if(Nh(e))return[".".concat(e.styledComponentId)];if(Hi(e)){if(!Hi(f=e)||f.prototype&&f.prototype.isReactComponent||!u)return[e];var l=e(u);return Bn(l,u,n,r)}var f;return e instanceof e2?n?(e.inject(n,r),[e.getName(r)]):[e]:Ms(e)?u2(e):Array.isArray(e)?Array.prototype.concat.apply(mo,e.map(function(h){return Bn(h,u,n,r)})):[e.toString()]}function ov(e){for(var u=0;u<e.length;u+=1){var n=e[u];if(Hi(n)&&!Nh(n))return!1}return!0}var fv=Yb(ho),dv=(function(){function e(u,n,r){this.rules=u,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&ov(u),this.componentId=n,this.baseHash=Ri(fv,n),this.baseStyle=r,$b.registerId(n)}return e.prototype.generateAndInjectStyles=function(u,n,r){var l=this.baseStyle?this.baseStyle.generateAndInjectStyles(u,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))l=Fn(l,this.staticRulesId);else{var f=qd(Bn(this.rules,u,n,r)),h=zd(Ri(this.baseHash,f)>>>0);if(!n.hasNameForId(this.componentId,h)){var D=r(f,".".concat(h),void 0,this.componentId);n.insertRules(this.componentId,h,D)}l=Fn(l,h),this.staticRulesId=h}else{for(var E=Ri(this.baseHash,r.hash),p="",b=0;b<this.rules.length;b++){var T=this.rules[b];if(typeof T=="string")p+=T;else if(T){var y=qd(Bn(T,u,n,r));E=Ri(E,y+b),p+=y}}if(p){var v=zd(E>>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(p,".".concat(v),void 0,this.componentId)),l=Fn(l,v)}}return l},e})(),a2=jt.createContext(void 0);a2.Consumer;var fd={};function hv(e,u,n){var r=Nh(e),l=e,f=!od(e),h=u.attrs,D=h===void 0?mo:h,E=u.componentId,p=E===void 0?(function($,ue){var te=typeof $!="string"?"sc":bg($);fd[te]=(fd[te]||0)+1;var q="".concat(te,"-").concat(Gb(ho+te+fd[te]));return ue?"".concat(ue,"-").concat(q):q})(u.displayName,u.parentComponentId):E,b=u.displayName,T=b===void 0?(function($){return od($)?"styled.".concat($):"Styled(".concat(H6($),")")})(e):b,y=u.displayName&&u.componentId?"".concat(bg(u.displayName),"-").concat(u.componentId):u.componentId||p,v=r&&l.attrs?l.attrs.concat(D).filter(Boolean):D,N=u.shouldForwardProp;if(r&&l.shouldForwardProp){var x=l.shouldForwardProp;if(u.shouldForwardProp){var P=u.shouldForwardProp;N=function($,ue){return x($,ue)&&P($,ue)}}else N=x}var B=new dv(n,y,r?l.componentStyle:void 0);function Z($,ue){return(function(te,q,K){var ie=te.attrs,pe=te.componentStyle,be=te.defaultProps,ye=te.foldedComponentIds,He=te.styledComponentId,Se=te.target,Ve=jt.useContext(a2),Y=Sg(),ne=te.shouldForwardProp||Y.shouldForwardProp,ce=I6(q,Ve,be)||Pi,Ae=(function(fe,ge,Ne){for(var nt,ke=nu(nu({},ge),{className:void 0,theme:Ne}),j=0;j<fe.length;j+=1){var de=Hi(nt=fe[j])?nt(ke):nt;for(var Pe in de)ke[Pe]=Pe==="className"?Fn(ke[Pe],de[Pe]):Pe==="style"?nu(nu({},ke[Pe]),de[Pe]):de[Pe]}return ge.className&&(ke.className=Fn(ke.className,ge.className)),ke})(ie,q,ce),Me=Ae.as||Se,O={};for(var G in Ae)Ae[G]===void 0||G[0]==="$"||G==="as"||G==="theme"&&Ae.theme===ce||(G==="forwardedAs"?O.as=Ae.forwardedAs:ne&&!ne(G,Me)||(O[G]=Ae[G]));var ae=(function(fe,ge){var Ne=Sg(),nt=fe.generateAndInjectStyles(ge,Ne.styleSheet,Ne.stylis);return nt})(pe,Ae),re=Fn(ye,He);return ae&&(re+=" "+ae),Ae.className&&(re+=" "+Ae.className),O[od(Me)&&!zb.has(Me)?"class":"className"]=re,K&&(O.ref=K),Te.createElement(Me,O)})(H,$,ue)}Z.displayName=T;var H=jt.forwardRef(Z);return H.attrs=v,H.componentStyle=B,H.displayName=T,H.shouldForwardProp=N,H.foldedComponentIds=r?Fn(l.foldedComponentIds,l.styledComponentId):"",H.styledComponentId=y,H.target=r?l.target:e,Object.defineProperty(H,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function($){this._foldedDefaultProps=r?(function(ue){for(var te=[],q=1;q<arguments.length;q++)te[q-1]=arguments[q];for(var K=0,ie=te;K<ie.length;K++)Yd(ue,ie[K],!0);return ue})({},l.defaultProps,$):$}}),Rh(H,function(){return".".concat(H.styledComponentId)}),f&&Kb(H,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),H}function Rg(e,u){for(var n=[e[0]],r=0,l=u.length;r<l;r+=1)n.push(u[r],e[r+1]);return n}var Og=function(e){return Object.assign(e,{isCss:!0})};function n2(e){for(var u=[],n=1;n<arguments.length;n++)u[n-1]=arguments[n];if(Hi(e)||Ms(e))return Og(Bn(Rg(mo,Bs([e],u,!0))));var r=e;return u.length===0&&r.length===1&&typeof r[0]=="string"?Bn(r):Og(Bn(Rg(r,u)))}function Vd(e,u,n){if(n===void 0&&(n=Pi),!u)throw Ys(1,u);var r=function(l){for(var f=[],h=1;h<arguments.length;h++)f[h-1]=arguments[h];return e(u,n,n2.apply(void 0,Bs([l],f,!1)))};return r.attrs=function(l){return Vd(e,u,nu(nu({},n),{attrs:Array.prototype.concat(n.attrs,l).filter(Boolean)}))},r.withConfig=function(l){return Vd(e,u,nu(nu({},n),l))},r}var i2=function(e){return Vd(hv,e)},at=i2;zb.forEach(function(e){at[e]=i2(e)});function Oh(e){for(var u=[],n=1;n<arguments.length;n++)u[n-1]=arguments[n];var r=qd(n2.apply(void 0,Bs([e],u,!1))),l=Gb(r);return new e2(l,r)}const ki=e=>A.jsx(mv,{className:"error-message",children:A.jsxs("div",{className:"error-message__inner",children:[A.jsx("img",{src:"https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/1f63f.svg",alt:"",width:90,height:90,className:"error-message__icon"}),A.jsx("div",{className:"error-message__text",children:e.message||"エラーが発生しました"})]})}),mv=at.div`
|
|
11
11
|
height: 100vh;
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: center;
|
|
@@ -26,7 +26,7 @@ Error generating stack: `+s.message+`
|
|
|
26
26
|
font-weight: 700;
|
|
27
27
|
font-size: 1.4rem;
|
|
28
28
|
}
|
|
29
|
-
`;class Ev extends jt.Component{constructor(){super(...arguments),this.state={error:null}}componentDidCatch(u){const n=Vt.isLocationNotFoundError(u)?"NotFound":"Unknown";this.setState({error:n})}render(){if(this.state.error===null)return this.props.children;const n=this.state.error==="NotFound"?"ページが見つかりませんでした":"原因不明のエラーが発生しました";return A.jsx(ki,{message:n})}}var r2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Fg=jt.createContext&&jt.createContext(r2),Dv=["attr","size","title"];function pv(e,u){if(e==null)return{};var n=gv(e,u),r,l;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(l=0;l<f.length;l++)r=f[l],!(u.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gv(e,u){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(u.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Yc(){return Yc=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var n=arguments[u];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yc.apply(this,arguments)}function xg(e,u){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function Gc(e){for(var u=1;u<arguments.length;u++){var n=arguments[u]!=null?arguments[u]:{};u%2?xg(Object(n),!0).forEach(function(r){bv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bv(e,u,n){return u=Tv(u),u in e?Object.defineProperty(e,u,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[u]=n,e}function Tv(e){var u=_v(e,"string");return typeof u=="symbol"?u:u+""}function _v(e,u){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,u);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(e)}function s2(e){return e&&e.map((u,n)=>jt.createElement(u.tag,Gc({key:n},u.attr),s2(u.child)))}function Sa(e){return u=>jt.createElement(Av,Yc({attr:Gc({},e.attr)},u),s2(e.child))}function Av(e){var u=n=>{var{attr:r,size:l,title:f}=e,h=pv(e,Dv),D=l||n.size||"1em",E;return n.className&&(E=n.className),e.className&&(E=(E?E+" ":"")+e.className),jt.createElement("svg",Yc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,h,{className:E,style:Gc(Gc({color:e.color||n.color},n.style),e.style),height:D,width:D,xmlns:"http://www.w3.org/2000/svg"}),f&&jt.createElement("title",null,f),e.children)};return Fg!==void 0?jt.createElement(Fg.Consumer,null,n=>u(n)):u(r2)}function vv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function Cv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"},child:[]}]})(e)}function yv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"},child:[]}]})(e)}function Sv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function Fh(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},child:[]}]})(e)}function Nv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z",opacity:".87"},child:[]},{tag:"path",attr:{d:"M17.51 3.87 15.73 2.1 5.84 12l9.9 9.9 1.77-1.77L9.38 12l8.13-8.13z"},child:[]}]})(e)}function Rv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"},child:[]}]})(e)}function Ov(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"},child:[]}]})(e)}function Fv(e){return Sa({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},child:[]}]})(e)}var dd={exports:{}},hd={};var Lg;function xv(){if(Lg)return hd;Lg=1;var e=iu();function u(T,y){return T===y&&(T!==0||1/T===1/y)||T!==T&&y!==y}var n=typeof Object.is=="function"?Object.is:u,r=e.useState,l=e.useEffect,f=e.useLayoutEffect,h=e.useDebugValue;function D(T,y){var v=y(),N=r({inst:{value:v,getSnapshot:y}}),x=N[0].inst,P=N[1];return f(function(){x.value=v,x.getSnapshot=y,E(x)&&P({inst:x})},[T,v,y]),l(function(){return E(x)&&P({inst:x}),T(function(){E(x)&&P({inst:x})})},[T]),h(v),v}function E(T){var y=T.getSnapshot;T=T.value;try{var v=y();return!n(T,v)}catch{return!0}}function p(T,y){return y()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:D;return hd.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b,hd}var Bg;function Lv(){return Bg||(Bg=1,dd.exports=xv()),dd.exports}var Bv=Lv();const l2=0,c2=1,o2=2,Mg=3;var Ig=Object.prototype.hasOwnProperty;function Qd(e,u){var n,r;if(e===u)return!0;if(e&&u&&(n=e.constructor)===u.constructor){if(n===Date)return e.getTime()===u.getTime();if(n===RegExp)return e.toString()===u.toString();if(n===Array){if((r=e.length)===u.length)for(;r--&&Qd(e[r],u[r]););return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Ig.call(e,n)&&++r&&!Ig.call(u,n)||!(n in u)||!Qd(e[n],u[n]))return!1;return Object.keys(u).length===r}}return e!==e&&u!==u}const _a=new WeakMap,un=()=>{},kt=un(),Xd=Object,je=e=>e===kt,$u=e=>typeof e=="function",rn=(e,u)=>({...e,...u}),f2=e=>$u(e.then),md={},Cc={},xh="undefined",Ys=typeof window!=xh,Kd=typeof document!=xh,Mv=Ys&&"Deno"in window,Iv=()=>Ys&&typeof window.requestAnimationFrame!=xh,d2=(e,u)=>{const n=_a.get(e);return[()=>!je(u)&&e.get(u)||md,r=>{if(!je(u)){const l=e.get(u);u in Cc||(Cc[u]=l),n[5](u,rn(l,r),l||md)}},n[6],()=>!je(u)&&u in Cc?Cc[u]:!je(u)&&e.get(u)||md]};let Zd=!0;const wv=()=>Zd,[$d,Wd]=Ys&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[un,un],Uv=()=>{const e=Kd&&document.visibilityState;return je(e)||e!=="hidden"},Pv=e=>(Kd&&document.addEventListener("visibilitychange",e),$d("focus",e),()=>{Kd&&document.removeEventListener("visibilitychange",e),Wd("focus",e)}),Hv=e=>{const u=()=>{Zd=!0,e()},n=()=>{Zd=!1};return $d("online",u),$d("offline",n),()=>{Wd("online",u),Wd("offline",n)}},kv={isOnline:wv,isVisible:Uv},jv={initFocus:Pv,initReconnect:Hv},wg=!jt.useId,Ms=!Ys||Mv,zv=e=>Iv()?window.requestAnimationFrame(e):setTimeout(e,1),Ed=Ms?Te.useEffect:Te.useLayoutEffect,Dd=typeof navigator<"u"&&navigator.connection,Ug=!Ms&&Dd&&(["slow-2g","2g"].includes(Dd.effectiveType)||Dd.saveData),yc=new WeakMap,qv=e=>Xd.prototype.toString.call(e),pd=(e,u)=>e===`[object ${u}]`;let Yv=0;const Jd=e=>{const u=typeof e,n=qv(e),r=pd(n,"Date"),l=pd(n,"RegExp"),f=pd(n,"Object");let h,D;if(Xd(e)===e&&!r&&!l){if(h=yc.get(e),h)return h;if(h=++Yv+"~",yc.set(e,h),Array.isArray(e)){for(h="@",D=0;D<e.length;D++)h+=Jd(e[D])+",";yc.set(e,h)}if(f){h="#";const E=Xd.keys(e).sort();for(;!je(D=E.pop());)je(e[D])||(h+=D+":"+Jd(e[D])+",");yc.set(e,h)}}else h=r?e.toJSON():u=="symbol"?e.toString():u=="string"?JSON.stringify(e):""+e;return h},Lh=e=>{if($u(e))try{e=e()}catch{e=""}const u=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Jd(e):"",[e,u]};let Gv=0;const eh=()=>++Gv;async function h2(...e){const[u,n,r,l]=e,f=rn({populateCache:!0,throwOnError:!0},typeof l=="boolean"?{revalidate:l}:l||{});let h=f.populateCache;const D=f.rollbackOnError;let E=f.optimisticData;const p=y=>typeof D=="function"?D(y):D!==!1,b=f.throwOnError;if($u(n)){const y=n,v=[],N=u.keys();for(const x of N)!/^\$(inf|sub)\$/.test(x)&&y(u.get(x)._k)&&v.push(x);return Promise.all(v.map(T))}return T(n);async function T(y){const[v]=Lh(y);if(!v)return;const[N,x]=d2(u,v),[P,B,Z,H]=_a.get(u),$=()=>{const Se=P[v];return($u(f.revalidate)?f.revalidate(N().data,y):f.revalidate!==!1)&&(delete Z[v],delete H[v],Se&&Se[0])?Se[0](o2).then(()=>N().data):N().data};if(e.length<3)return $();let ue=r,te,q=!1;const K=eh();B[v]=[K,0];const ie=!je(E),pe=N(),be=pe.data,ye=pe._c,He=je(ye)?be:ye;if(ie&&(E=$u(E)?E(He,be):E,x({data:E,_c:He})),$u(ue))try{ue=ue(He)}catch(Se){te=Se,q=!0}if(ue&&f2(ue))if(ue=await ue.catch(Se=>{te=Se,q=!0}),K!==B[v][0]){if(q)throw te;return ue}else q&&ie&&p(te)&&(h=!0,x({data:He,_c:kt}));if(h&&!q)if($u(h)){const Se=h(ue,He);x({data:Se,error:kt,_c:kt})}else x({data:ue,error:kt,_c:kt});if(B[v][1]=eh(),Promise.resolve($()).then(()=>{x({_c:kt})}),q){if(b)throw te;return}return ue}}const Pg=(e,u)=>{for(const n in e)e[n][0]&&e[n][0](u)},Vv=(e,u)=>{if(!_a.has(e)){const n=rn(jv,u),r=Object.create(null),l=h2.bind(kt,e);let f=un;const h=Object.create(null),D=(b,T)=>{const y=h[b]||[];return h[b]=y,y.push(T),()=>y.splice(y.indexOf(T),1)},E=(b,T,y)=>{e.set(b,T);const v=h[b];if(v)for(const N of v)N(T,y)},p=()=>{if(!_a.has(e)&&(_a.set(e,[r,Object.create(null),Object.create(null),Object.create(null),l,E,D]),!Ms)){const b=n.initFocus(setTimeout.bind(kt,Pg.bind(kt,r,l2))),T=n.initReconnect(setTimeout.bind(kt,Pg.bind(kt,r,c2)));f=()=>{b&&b(),T&&T(),_a.delete(e)}}};return p(),[e,l,p,f]}return[e,_a.get(e)[4]]},Qv=(e,u,n,r,l)=>{const f=n.errorRetryCount,h=l.retryCount,D=~~((Math.random()+.5)*(1<<(h<8?h:8)))*n.errorRetryInterval;!je(f)&&h>f||setTimeout(r,D,l)},Xv=Qd,[m2,Kv]=Vv(new Map),Zv=rn({onLoadingSlow:un,onSuccess:un,onError:un,onErrorRetry:Qv,onDiscarded:un,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ug?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ug?5e3:3e3,compare:Xv,isPaused:()=>!1,cache:m2,mutate:Kv,fallback:{}},kv),$v=(e,u)=>{const n=rn(e,u);if(u){const{use:r,fallback:l}=e,{use:f,fallback:h}=u;r&&f&&(n.use=r.concat(f)),l&&h&&(n.fallback=rn(l,h))}return n},Wv=Te.createContext({}),Jv="$inf$",E2=Ys&&window.__SWR_DEVTOOLS_USE__,eC=E2?window.__SWR_DEVTOOLS_USE__:[],tC=()=>{E2&&(window.__SWR_DEVTOOLS_REACT__=jt)},uC=e=>$u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],aC=()=>{const e=Te.useContext(Wv);return Te.useMemo(()=>rn(Zv,e),[e])},nC=e=>(u,n,r)=>e(u,n&&((...f)=>{const[h]=Lh(u),[,,,D]=_a.get(m2);if(h.startsWith(Jv))return n(...f);const E=D[h];return je(E)?n(...f):(delete D[h],E)}),r),iC=eC.concat(nC),rC=e=>function(...n){const r=aC(),[l,f,h]=uC(n),D=$v(r,h);let E=e;const{use:p}=D,b=(p||[]).concat(iC);for(let T=b.length;T--;)E=b[T](E);return E(l,f||D.fetcher||null,D)},sC=(e,u,n)=>{const r=u[e]||(u[e]=[]);return r.push(n),()=>{const l=r.indexOf(n);l>=0&&(r[l]=r[r.length-1],r.pop())}};tC();const gd=jt.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(u=>{e.status="fulfilled",e.value=u},u=>{e.status="rejected",e.reason=u}),e}}),bd={dedupe:!0},Hg=Promise.resolve(kt),lC=(e,u,n)=>{const{cache:r,compare:l,suspense:f,fallbackData:h,revalidateOnMount:D,revalidateIfStale:E,refreshInterval:p,refreshWhenHidden:b,refreshWhenOffline:T,keepPreviousData:y}=n,[v,N,x,P]=_a.get(r),[B,Z]=Lh(e),H=Te.useRef(!1),$=Te.useRef(!1),ue=Te.useRef(B),te=Te.useRef(u),q=Te.useRef(n),K=()=>q.current,ie=()=>K().isVisible()&&K().isOnline(),[pe,be,ye,He]=d2(r,B),Se=Te.useRef({}).current,Ve=je(h)?je(n.fallback)?kt:n.fallback[B]:h,Y=(Oe,xe)=>{for(const dt in Se){const Ke=dt;if(Ke==="data"){if(!l(Oe[Ke],xe[Ke])&&(!je(Oe[Ke])||!l(fe,xe[Ke])))return!1}else if(xe[Ke]!==Oe[Ke])return!1}return!0},ne=Te.useMemo(()=>{const Oe=!B||!u?!1:je(D)?K().isPaused()||f?!1:E!==!1:D,xe=Ct=>{const lu=rn(Ct);return delete lu._k,Oe?{isValidating:!0,isLoading:!0,...lu}:lu},dt=pe(),Ke=He(),su=xe(dt),Ju=dt===Ke?su:xe(Ke);let Et=su;return[()=>{const Ct=xe(pe());return Y(Ct,Et)?(Et.data=Ct.data,Et.isLoading=Ct.isLoading,Et.isValidating=Ct.isValidating,Et.error=Ct.error,Et):(Et=Ct,Ct)},()=>Ju]},[r,B]),ce=Bv.useSyncExternalStore(Te.useCallback(Oe=>ye(B,(xe,dt)=>{Y(dt,xe)||Oe()}),[r,B]),ne[0],ne[1]),Ae=!H.current,Me=v[B]&&v[B].length>0,O=ce.data,G=je(O)?Ve&&f2(Ve)?gd(Ve):Ve:O,ae=ce.error,re=Te.useRef(G),fe=y?je(O)?je(re.current)?G:re.current:O:G,ge=Me&&!je(ae)?!1:Ae&&!je(D)?D:K().isPaused()?!1:f?je(G)?!1:E:je(G)||E,Ne=!!(B&&u&&Ae&&ge),nt=je(ce.isValidating)?Ne:ce.isValidating,ke=je(ce.isLoading)?Ne:ce.isLoading,j=Te.useCallback(async Oe=>{const xe=te.current;if(!B||!xe||$.current||K().isPaused())return!1;let dt,Ke,su=!0;const Ju=Oe||{},Et=!x[B]||!Ju.dedupe,Ct=()=>wg?!$.current&&B===ue.current&&H.current:B===ue.current,lu={isValidating:!1,isLoading:!1},Js=()=>{be(lu)},el=()=>{const Qt=x[B];Qt&&Qt[1]===Ke&&delete x[B]},Pt={isValidating:!0};je(pe().data)&&(Pt.isLoading=!0);try{if(Et&&(be(Pt),n.loadingTimeout&&je(pe().data)&&setTimeout(()=>{su&&Ct()&&K().onLoadingSlow(B,n)},n.loadingTimeout),x[B]=[xe(Z),eh()]),[dt,Ke]=x[B],dt=await dt,Et&&setTimeout(el,n.dedupingInterval),!x[B]||x[B][1]!==Ke)return Et&&Ct()&&K().onDiscarded(B),!1;lu.error=kt;const Qt=N[B];if(!je(Qt)&&(Ke<=Qt[0]||Ke<=Qt[1]||Qt[1]===0))return Js(),Et&&Ct()&&K().onDiscarded(B),!1;const Au=pe().data;lu.data=l(Au,dt)?Au:dt,Et&&Ct()&&K().onSuccess(dt,B,n)}catch(Qt){el();const Au=K(),{shouldRetryOnError:Pn}=Au;Au.isPaused()||(lu.error=Qt,Et&&Ct()&&(Au.onError(Qt,B,Au),(Pn===!0||$u(Pn)&&Pn(Qt))&&(!K().revalidateOnFocus||!K().revalidateOnReconnect||ie())&&Au.onErrorRetry(Qt,B,Au,Hn=>{const Qi=v[B];Qi&&Qi[0]&&Qi[0](Mg,Hn)},{retryCount:(Ju.retryCount||0)+1,dedupe:!0})))}return su=!1,Js(),!0},[B,r]),de=Te.useCallback((...Oe)=>h2(r,ue.current,...Oe),[]);if(Ed(()=>{te.current=u,q.current=n,je(O)||(re.current=O)}),Ed(()=>{if(!B)return;const Oe=j.bind(kt,bd);let xe=0;K().revalidateOnFocus&&(xe=Date.now()+K().focusThrottleInterval);const Ke=sC(B,v,(su,Ju={})=>{if(su==l2){const Et=Date.now();K().revalidateOnFocus&&Et>xe&&ie()&&(xe=Et+K().focusThrottleInterval,Oe())}else if(su==c2)K().revalidateOnReconnect&&ie()&&Oe();else{if(su==o2)return j();if(su==Mg)return j(Ju)}});return $.current=!1,ue.current=B,H.current=!0,be({_k:Z}),ge&&(x[B]||(je(G)||Ms?Oe():zv(Oe))),()=>{$.current=!0,Ke()}},[B]),Ed(()=>{let Oe;function xe(){const Ke=$u(p)?p(pe().data):p;Ke&&Oe!==-1&&(Oe=setTimeout(dt,Ke))}function dt(){!pe().error&&(b||K().isVisible())&&(T||K().isOnline())?j(bd).then(xe):xe()}return xe(),()=>{Oe&&(clearTimeout(Oe),Oe=-1)}},[p,b,T,B]),Te.useDebugValue(fe),f){const Oe=B&&je(G);if(!wg&&Ms&&Oe)throw new Error("Fallback data is required when using Suspense in SSR.");Oe&&(te.current=u,q.current=n,$.current=!1);const xe=P[B],dt=!je(xe)&&Oe?de(xe):Hg;if(gd(dt),!je(ae)&&Oe)throw ae;const Ke=Oe?j(bd):Hg;!je(fe)&&Oe&&(Ke.status="fulfilled",Ke.value=!0),gd(Ke)}return{mutate:de,get data(){return Se.data=!0,fe},get error(){return Se.error=!0,ae},get isValidating(){return Se.isValidating=!0,nt},get isLoading(){return Se.isLoading=!0,ke}}},cC=rC(lC);async function oC(e){const u=await fetch(e);if(!u.ok){const n=new Error("An error occurred while fetching the data."),r=await u.json();throw n.message=r.message,n}return u.json()}function qu(e,u){return cC(e,oC,u)}const D2=Te.createContext({reloadedAt:0}),fC=e=>{const[u,n]=Te.useState(0);return Te.useEffect(()=>{const r=window.location.protocol==="https:"?"wss:":"ws:",l=new WebSocket(`${r}//${window.location.host}`);return l.onmessage=()=>{n(new Date().getTime())},()=>{console.log("Disconnecting socket..."),l.close()}},[]),A.jsx(D2.Provider,{value:{reloadedAt:u},children:e.children})};function Yi(e){const{reloadedAt:u}=Te.useContext(D2);Te.useEffect(()=>{u!==0&&e()},[u])}function Vc({cacheKey:e,defaultValue:u}){const n=Te.useMemo(()=>{const E=mC(e);return E===null?u:typeof E!=typeof u?(console.log(`Persisted value type(${typeof E}) is invalid. It must be ${typeof u}`),f(),u):E},[]),[r,l]=Te.useState(n);function f(){localStorage.removeItem(e)}function h(E){l(E),hC(e,E)}return[r,h]}function dC(e){localStorage.removeItem(e)}function hC(e,u){const r=JSON.stringify({value:u});localStorage.setItem(e,r)}function mC(e){const u=localStorage.getItem(e);if(!u)return null;const n=JSON.parse(u);return typeof n!="object"||n===null?(dC(e),null):n.value}const Aa=e=>A.jsxs(EC,{className:"list-item-inner",children:[typeof e.emoji=="string"&&A.jsx("span",{className:"list-item-inner__emoji",children:e.emoji}),typeof e.iconImgSrc=="string"&&A.jsx("img",{src:e.iconImgSrc,width:18,height:18,alt:"",className:"list-item-inner__icon"}),!!e.label&&A.jsx("span",{className:"list-item-inner__label",children:e.label}),A.jsxs("div",{className:"list-item-inner__title",title:e.title,children:[e.title,e.showNewTabIcon===!0&&A.jsx(Fh,{className:"list-item-inner__icon-open"})]})]}),EC=at.div`
|
|
29
|
+
`;class Ev extends jt.Component{constructor(){super(...arguments),this.state={error:null}}componentDidCatch(u){const n=Vt.isLocationNotFoundError(u)?"NotFound":"Unknown";this.setState({error:n})}render(){if(this.state.error===null)return this.props.children;const n=this.state.error==="NotFound"?"ページが見つかりませんでした":"原因不明のエラーが発生しました";return A.jsx(ki,{message:n})}}var r2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Fg=jt.createContext&&jt.createContext(r2),Dv=["attr","size","title"];function pv(e,u){if(e==null)return{};var n=gv(e,u),r,l;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(l=0;l<f.length;l++)r=f[l],!(u.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gv(e,u){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(u.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Yc(){return Yc=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var n=arguments[u];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yc.apply(this,arguments)}function xg(e,u){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);u&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function Gc(e){for(var u=1;u<arguments.length;u++){var n=arguments[u]!=null?arguments[u]:{};u%2?xg(Object(n),!0).forEach(function(r){bv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bv(e,u,n){return u=Tv(u),u in e?Object.defineProperty(e,u,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[u]=n,e}function Tv(e){var u=_v(e,"string");return typeof u=="symbol"?u:u+""}function _v(e,u){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,u);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(e)}function s2(e){return e&&e.map((u,n)=>jt.createElement(u.tag,Gc({key:n},u.attr),s2(u.child)))}function ya(e){return u=>jt.createElement(Av,Yc({attr:Gc({},e.attr)},u),s2(e.child))}function Av(e){var u=n=>{var{attr:r,size:l,title:f}=e,h=pv(e,Dv),D=l||n.size||"1em",E;return n.className&&(E=n.className),e.className&&(E=(E?E+" ":"")+e.className),jt.createElement("svg",Yc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,h,{className:E,style:Gc(Gc({color:e.color||n.color},n.style),e.style),height:D,width:D,xmlns:"http://www.w3.org/2000/svg"}),f&&jt.createElement("title",null,f),e.children)};return Fg!==void 0?jt.createElement(Fg.Consumer,null,n=>u(n)):u(r2)}function vv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function Cv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"},child:[]}]})(e)}function yv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"},child:[]}]})(e)}function Sv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function Fh(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},child:[]}]})(e)}function Nv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z",opacity:".87"},child:[]},{tag:"path",attr:{d:"M17.51 3.87 15.73 2.1 5.84 12l9.9 9.9 1.77-1.77L9.38 12l8.13-8.13z"},child:[]}]})(e)}function Rv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"},child:[]}]})(e)}function Ov(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"},child:[]}]})(e)}function Fv(e){return ya({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},child:[]}]})(e)}var dd={exports:{}},hd={};var Lg;function xv(){if(Lg)return hd;Lg=1;var e=iu();function u(T,y){return T===y&&(T!==0||1/T===1/y)||T!==T&&y!==y}var n=typeof Object.is=="function"?Object.is:u,r=e.useState,l=e.useEffect,f=e.useLayoutEffect,h=e.useDebugValue;function D(T,y){var v=y(),N=r({inst:{value:v,getSnapshot:y}}),x=N[0].inst,P=N[1];return f(function(){x.value=v,x.getSnapshot=y,E(x)&&P({inst:x})},[T,v,y]),l(function(){return E(x)&&P({inst:x}),T(function(){E(x)&&P({inst:x})})},[T]),h(v),v}function E(T){var y=T.getSnapshot;T=T.value;try{var v=y();return!n(T,v)}catch{return!0}}function p(T,y){return y()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:D;return hd.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b,hd}var Bg;function Lv(){return Bg||(Bg=1,dd.exports=xv()),dd.exports}var Bv=Lv();const l2=0,c2=1,o2=2,Mg=3;var Ig=Object.prototype.hasOwnProperty;function Qd(e,u){var n,r;if(e===u)return!0;if(e&&u&&(n=e.constructor)===u.constructor){if(n===Date)return e.getTime()===u.getTime();if(n===RegExp)return e.toString()===u.toString();if(n===Array){if((r=e.length)===u.length)for(;r--&&Qd(e[r],u[r]););return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Ig.call(e,n)&&++r&&!Ig.call(u,n)||!(n in u)||!Qd(e[n],u[n]))return!1;return Object.keys(u).length===r}}return e!==e&&u!==u}const _a=new WeakMap,tn=()=>{},kt=tn(),Xd=Object,je=e=>e===kt,$u=e=>typeof e=="function",rn=(e,u)=>({...e,...u}),f2=e=>$u(e.then),md={},yc={},xh="undefined",Gs=typeof window!=xh,Kd=typeof document!=xh,Mv=Gs&&"Deno"in window,Iv=()=>Gs&&typeof window.requestAnimationFrame!=xh,d2=(e,u)=>{const n=_a.get(e);return[()=>!je(u)&&e.get(u)||md,r=>{if(!je(u)){const l=e.get(u);u in yc||(yc[u]=l),n[5](u,rn(l,r),l||md)}},n[6],()=>!je(u)&&u in yc?yc[u]:!je(u)&&e.get(u)||md]};let Zd=!0;const wv=()=>Zd,[$d,Wd]=Gs&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[tn,tn],Uv=()=>{const e=Kd&&document.visibilityState;return je(e)||e!=="hidden"},Pv=e=>(Kd&&document.addEventListener("visibilitychange",e),$d("focus",e),()=>{Kd&&document.removeEventListener("visibilitychange",e),Wd("focus",e)}),Hv=e=>{const u=()=>{Zd=!0,e()},n=()=>{Zd=!1};return $d("online",u),$d("offline",n),()=>{Wd("online",u),Wd("offline",n)}},kv={isOnline:wv,isVisible:Uv},jv={initFocus:Pv,initReconnect:Hv},wg=!jt.useId,Is=!Gs||Mv,zv=e=>Iv()?window.requestAnimationFrame(e):setTimeout(e,1),Ed=Is?Te.useEffect:Te.useLayoutEffect,Dd=typeof navigator<"u"&&navigator.connection,Ug=!Is&&Dd&&(["slow-2g","2g"].includes(Dd.effectiveType)||Dd.saveData),Sc=new WeakMap,qv=e=>Xd.prototype.toString.call(e),pd=(e,u)=>e===`[object ${u}]`;let Yv=0;const Jd=e=>{const u=typeof e,n=qv(e),r=pd(n,"Date"),l=pd(n,"RegExp"),f=pd(n,"Object");let h,D;if(Xd(e)===e&&!r&&!l){if(h=Sc.get(e),h)return h;if(h=++Yv+"~",Sc.set(e,h),Array.isArray(e)){for(h="@",D=0;D<e.length;D++)h+=Jd(e[D])+",";Sc.set(e,h)}if(f){h="#";const E=Xd.keys(e).sort();for(;!je(D=E.pop());)je(e[D])||(h+=D+":"+Jd(e[D])+",");Sc.set(e,h)}}else h=r?e.toJSON():u=="symbol"?e.toString():u=="string"?JSON.stringify(e):""+e;return h},Lh=e=>{if($u(e))try{e=e()}catch{e=""}const u=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Jd(e):"",[e,u]};let Gv=0;const eh=()=>++Gv;async function h2(...e){const[u,n,r,l]=e,f=rn({populateCache:!0,throwOnError:!0},typeof l=="boolean"?{revalidate:l}:l||{});let h=f.populateCache;const D=f.rollbackOnError;let E=f.optimisticData;const p=y=>typeof D=="function"?D(y):D!==!1,b=f.throwOnError;if($u(n)){const y=n,v=[],N=u.keys();for(const x of N)!/^\$(inf|sub)\$/.test(x)&&y(u.get(x)._k)&&v.push(x);return Promise.all(v.map(T))}return T(n);async function T(y){const[v]=Lh(y);if(!v)return;const[N,x]=d2(u,v),[P,B,Z,H]=_a.get(u),$=()=>{const Se=P[v];return($u(f.revalidate)?f.revalidate(N().data,y):f.revalidate!==!1)&&(delete Z[v],delete H[v],Se&&Se[0])?Se[0](o2).then(()=>N().data):N().data};if(e.length<3)return $();let ue=r,te,q=!1;const K=eh();B[v]=[K,0];const ie=!je(E),pe=N(),be=pe.data,ye=pe._c,He=je(ye)?be:ye;if(ie&&(E=$u(E)?E(He,be):E,x({data:E,_c:He})),$u(ue))try{ue=ue(He)}catch(Se){te=Se,q=!0}if(ue&&f2(ue))if(ue=await ue.catch(Se=>{te=Se,q=!0}),K!==B[v][0]){if(q)throw te;return ue}else q&&ie&&p(te)&&(h=!0,x({data:He,_c:kt}));if(h&&!q)if($u(h)){const Se=h(ue,He);x({data:Se,error:kt,_c:kt})}else x({data:ue,error:kt,_c:kt});if(B[v][1]=eh(),Promise.resolve($()).then(()=>{x({_c:kt})}),q){if(b)throw te;return}return ue}}const Pg=(e,u)=>{for(const n in e)e[n][0]&&e[n][0](u)},Vv=(e,u)=>{if(!_a.has(e)){const n=rn(jv,u),r=Object.create(null),l=h2.bind(kt,e);let f=tn;const h=Object.create(null),D=(b,T)=>{const y=h[b]||[];return h[b]=y,y.push(T),()=>y.splice(y.indexOf(T),1)},E=(b,T,y)=>{e.set(b,T);const v=h[b];if(v)for(const N of v)N(T,y)},p=()=>{if(!_a.has(e)&&(_a.set(e,[r,Object.create(null),Object.create(null),Object.create(null),l,E,D]),!Is)){const b=n.initFocus(setTimeout.bind(kt,Pg.bind(kt,r,l2))),T=n.initReconnect(setTimeout.bind(kt,Pg.bind(kt,r,c2)));f=()=>{b&&b(),T&&T(),_a.delete(e)}}};return p(),[e,l,p,f]}return[e,_a.get(e)[4]]},Qv=(e,u,n,r,l)=>{const f=n.errorRetryCount,h=l.retryCount,D=~~((Math.random()+.5)*(1<<(h<8?h:8)))*n.errorRetryInterval;!je(f)&&h>f||setTimeout(r,D,l)},Xv=Qd,[m2,Kv]=Vv(new Map),Zv=rn({onLoadingSlow:tn,onSuccess:tn,onError:tn,onErrorRetry:Qv,onDiscarded:tn,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ug?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ug?5e3:3e3,compare:Xv,isPaused:()=>!1,cache:m2,mutate:Kv,fallback:{}},kv),$v=(e,u)=>{const n=rn(e,u);if(u){const{use:r,fallback:l}=e,{use:f,fallback:h}=u;r&&f&&(n.use=r.concat(f)),l&&h&&(n.fallback=rn(l,h))}return n},Wv=Te.createContext({}),Jv="$inf$",E2=Gs&&window.__SWR_DEVTOOLS_USE__,eC=E2?window.__SWR_DEVTOOLS_USE__:[],tC=()=>{E2&&(window.__SWR_DEVTOOLS_REACT__=jt)},uC=e=>$u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],aC=()=>{const e=Te.useContext(Wv);return Te.useMemo(()=>rn(Zv,e),[e])},nC=e=>(u,n,r)=>e(u,n&&((...f)=>{const[h]=Lh(u),[,,,D]=_a.get(m2);if(h.startsWith(Jv))return n(...f);const E=D[h];return je(E)?n(...f):(delete D[h],E)}),r),iC=eC.concat(nC),rC=e=>function(...n){const r=aC(),[l,f,h]=uC(n),D=$v(r,h);let E=e;const{use:p}=D,b=(p||[]).concat(iC);for(let T=b.length;T--;)E=b[T](E);return E(l,f||D.fetcher||null,D)},sC=(e,u,n)=>{const r=u[e]||(u[e]=[]);return r.push(n),()=>{const l=r.indexOf(n);l>=0&&(r[l]=r[r.length-1],r.pop())}};tC();const gd=jt.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(u=>{e.status="fulfilled",e.value=u},u=>{e.status="rejected",e.reason=u}),e}}),bd={dedupe:!0},Hg=Promise.resolve(kt),lC=(e,u,n)=>{const{cache:r,compare:l,suspense:f,fallbackData:h,revalidateOnMount:D,revalidateIfStale:E,refreshInterval:p,refreshWhenHidden:b,refreshWhenOffline:T,keepPreviousData:y}=n,[v,N,x,P]=_a.get(r),[B,Z]=Lh(e),H=Te.useRef(!1),$=Te.useRef(!1),ue=Te.useRef(B),te=Te.useRef(u),q=Te.useRef(n),K=()=>q.current,ie=()=>K().isVisible()&&K().isOnline(),[pe,be,ye,He]=d2(r,B),Se=Te.useRef({}).current,Ve=je(h)?je(n.fallback)?kt:n.fallback[B]:h,Y=(Oe,xe)=>{for(const dt in Se){const Ke=dt;if(Ke==="data"){if(!l(Oe[Ke],xe[Ke])&&(!je(Oe[Ke])||!l(fe,xe[Ke])))return!1}else if(xe[Ke]!==Oe[Ke])return!1}return!0},ne=Te.useMemo(()=>{const Oe=!B||!u?!1:je(D)?K().isPaused()||f?!1:E!==!1:D,xe=Ct=>{const lu=rn(Ct);return delete lu._k,Oe?{isValidating:!0,isLoading:!0,...lu}:lu},dt=pe(),Ke=He(),su=xe(dt),Ju=dt===Ke?su:xe(Ke);let Et=su;return[()=>{const Ct=xe(pe());return Y(Ct,Et)?(Et.data=Ct.data,Et.isLoading=Ct.isLoading,Et.isValidating=Ct.isValidating,Et.error=Ct.error,Et):(Et=Ct,Ct)},()=>Ju]},[r,B]),ce=Bv.useSyncExternalStore(Te.useCallback(Oe=>ye(B,(xe,dt)=>{Y(dt,xe)||Oe()}),[r,B]),ne[0],ne[1]),Ae=!H.current,Me=v[B]&&v[B].length>0,O=ce.data,G=je(O)?Ve&&f2(Ve)?gd(Ve):Ve:O,ae=ce.error,re=Te.useRef(G),fe=y?je(O)?je(re.current)?G:re.current:O:G,ge=Me&&!je(ae)?!1:Ae&&!je(D)?D:K().isPaused()?!1:f?je(G)?!1:E:je(G)||E,Ne=!!(B&&u&&Ae&&ge),nt=je(ce.isValidating)?Ne:ce.isValidating,ke=je(ce.isLoading)?Ne:ce.isLoading,j=Te.useCallback(async Oe=>{const xe=te.current;if(!B||!xe||$.current||K().isPaused())return!1;let dt,Ke,su=!0;const Ju=Oe||{},Et=!x[B]||!Ju.dedupe,Ct=()=>wg?!$.current&&B===ue.current&&H.current:B===ue.current,lu={isValidating:!1,isLoading:!1},el=()=>{be(lu)},tl=()=>{const Qt=x[B];Qt&&Qt[1]===Ke&&delete x[B]},Pt={isValidating:!0};je(pe().data)&&(Pt.isLoading=!0);try{if(Et&&(be(Pt),n.loadingTimeout&&je(pe().data)&&setTimeout(()=>{su&&Ct()&&K().onLoadingSlow(B,n)},n.loadingTimeout),x[B]=[xe(Z),eh()]),[dt,Ke]=x[B],dt=await dt,Et&&setTimeout(tl,n.dedupingInterval),!x[B]||x[B][1]!==Ke)return Et&&Ct()&&K().onDiscarded(B),!1;lu.error=kt;const Qt=N[B];if(!je(Qt)&&(Ke<=Qt[0]||Ke<=Qt[1]||Qt[1]===0))return el(),Et&&Ct()&&K().onDiscarded(B),!1;const Au=pe().data;lu.data=l(Au,dt)?Au:dt,Et&&Ct()&&K().onSuccess(dt,B,n)}catch(Qt){tl();const Au=K(),{shouldRetryOnError:Pn}=Au;Au.isPaused()||(lu.error=Qt,Et&&Ct()&&(Au.onError(Qt,B,Au),(Pn===!0||$u(Pn)&&Pn(Qt))&&(!K().revalidateOnFocus||!K().revalidateOnReconnect||ie())&&Au.onErrorRetry(Qt,B,Au,Hn=>{const Qi=v[B];Qi&&Qi[0]&&Qi[0](Mg,Hn)},{retryCount:(Ju.retryCount||0)+1,dedupe:!0})))}return su=!1,el(),!0},[B,r]),de=Te.useCallback((...Oe)=>h2(r,ue.current,...Oe),[]);if(Ed(()=>{te.current=u,q.current=n,je(O)||(re.current=O)}),Ed(()=>{if(!B)return;const Oe=j.bind(kt,bd);let xe=0;K().revalidateOnFocus&&(xe=Date.now()+K().focusThrottleInterval);const Ke=sC(B,v,(su,Ju={})=>{if(su==l2){const Et=Date.now();K().revalidateOnFocus&&Et>xe&&ie()&&(xe=Et+K().focusThrottleInterval,Oe())}else if(su==c2)K().revalidateOnReconnect&&ie()&&Oe();else{if(su==o2)return j();if(su==Mg)return j(Ju)}});return $.current=!1,ue.current=B,H.current=!0,be({_k:Z}),ge&&(x[B]||(je(G)||Is?Oe():zv(Oe))),()=>{$.current=!0,Ke()}},[B]),Ed(()=>{let Oe;function xe(){const Ke=$u(p)?p(pe().data):p;Ke&&Oe!==-1&&(Oe=setTimeout(dt,Ke))}function dt(){!pe().error&&(b||K().isVisible())&&(T||K().isOnline())?j(bd).then(xe):xe()}return xe(),()=>{Oe&&(clearTimeout(Oe),Oe=-1)}},[p,b,T,B]),Te.useDebugValue(fe),f){const Oe=B&&je(G);if(!wg&&Is&&Oe)throw new Error("Fallback data is required when using Suspense in SSR.");Oe&&(te.current=u,q.current=n,$.current=!1);const xe=P[B],dt=!je(xe)&&Oe?de(xe):Hg;if(gd(dt),!je(ae)&&Oe)throw ae;const Ke=Oe?j(bd):Hg;!je(fe)&&Oe&&(Ke.status="fulfilled",Ke.value=!0),gd(Ke)}return{mutate:de,get data(){return Se.data=!0,fe},get error(){return Se.error=!0,ae},get isValidating(){return Se.isValidating=!0,nt},get isLoading(){return Se.isLoading=!0,ke}}},cC=rC(lC);async function oC(e){const u=await fetch(e);if(!u.ok){const n=new Error("An error occurred while fetching the data."),r=await u.json();throw n.message=r.message,n}return u.json()}function qu(e,u){return cC(e,oC,u)}const D2=Te.createContext({reloadedAt:0}),fC=e=>{const[u,n]=Te.useState(0);return Te.useEffect(()=>{const r=window.location.protocol==="https:"?"wss:":"ws:",l=new WebSocket(`${r}//${window.location.host}`);return l.onmessage=()=>{n(new Date().getTime())},()=>{console.log("Disconnecting socket..."),l.close()}},[]),A.jsx(D2.Provider,{value:{reloadedAt:u},children:e.children})};function Yi(e){const{reloadedAt:u}=Te.useContext(D2);Te.useEffect(()=>{u!==0&&e()},[u])}function Vc({cacheKey:e,defaultValue:u}){const n=Te.useMemo(()=>{const E=mC(e);return E===null?u:typeof E!=typeof u?(console.log(`Persisted value type(${typeof E}) is invalid. It must be ${typeof u}`),f(),u):E},[]),[r,l]=Te.useState(n);function f(){localStorage.removeItem(e)}function h(E){l(E),hC(e,E)}return[r,h]}function dC(e){localStorage.removeItem(e)}function hC(e,u){const r=JSON.stringify({value:u});localStorage.setItem(e,r)}function mC(e){const u=localStorage.getItem(e);if(!u)return null;const n=JSON.parse(u);return typeof n!="object"||n===null?(dC(e),null):n.value}const un=e=>A.jsxs(EC,{className:"list-item-inner",children:[typeof e.emoji=="string"&&A.jsx("span",{className:"list-item-inner__emoji",children:e.emoji}),typeof e.iconImgSrc=="string"&&A.jsx("img",{src:e.iconImgSrc,width:18,height:18,alt:"",className:"list-item-inner__icon"}),!!e.label&&A.jsx("span",{className:"list-item-inner__label",children:e.label}),A.jsxs("div",{className:"list-item-inner__title",title:e.title,children:[e.title,e.showNewTabIcon===!0&&A.jsx(Fh,{className:"list-item-inner__icon-open"})]})]}),EC=at.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
|
|
@@ -60,7 +60,7 @@ Error generating stack: `+s.message+`
|
|
|
60
60
|
vertical-align: -2px;
|
|
61
61
|
opacity: 0.7;
|
|
62
62
|
}
|
|
63
|
-
`,Bh=e=>{const u=`toggle-${e.uniqueKey}`,n=`toggle-${e.uniqueKey}-open`,[r,l]=Vc({cacheKey:n,defaultValue:e.defaultOpen});return A.jsxs(DC,{className:"directory",children:[A.jsxs("button",{className:"directory__button",type:"button",role:"tab","aria-controls":u,"aria-expanded":r,"aria-label":"フォルダーを開く",onClick:()=>l(!r),children:[A.jsx(Ov,{className:`directory__icon-arrow ${r?"rotated":""}`}),A.jsx(
|
|
63
|
+
`,Bh=e=>{const u=`toggle-${e.uniqueKey}`,n=`toggle-${e.uniqueKey}-open`,[r,l]=Vc({cacheKey:n,defaultValue:e.defaultOpen});return A.jsxs(DC,{className:"directory",children:[A.jsxs("button",{className:"directory__button",type:"button",role:"tab","aria-controls":u,"aria-expanded":r,"aria-label":"フォルダーを開く",onClick:()=>l(!r),children:[A.jsx(Ov,{className:`directory__icon-arrow ${r?"rotated":""}`}),A.jsx(un,{title:e.title,label:e.label,iconImgSrc:`/static-images/${r?"folder-open.svg":"folder-close.svg"}`})]}),A.jsx("div",{className:"directory__children",role:"tabpanel","aria-hidden":!r,id:u,children:r?e.children:null})]})},DC=at.div`
|
|
64
64
|
.directory__button {
|
|
65
65
|
position: relative;
|
|
66
66
|
padding: 5px 0 5px 15px;
|
|
@@ -158,14 +158,14 @@ Error generating stack: `+s.message+`
|
|
|
158
158
|
text-align: center;
|
|
159
159
|
font-size: 1.1rem;
|
|
160
160
|
color: var(--c-gray);
|
|
161
|
-
`,
|
|
161
|
+
`,Sa=at.div`
|
|
162
162
|
max-width: 760px;
|
|
163
163
|
margin: 0 auto;
|
|
164
164
|
padding: 0 1.8rem;
|
|
165
165
|
@media (max-width: 468px) {
|
|
166
166
|
padding: 0 1rem;
|
|
167
167
|
}
|
|
168
|
-
`;function
|
|
168
|
+
`;function Vs(e){Te.useEffect(()=>{e&&(document.title=e)},[e])}const _C=()=>{const{data:e}=qu("/api/cli-version",{revalidateOnFocus:!1,revalidateOnReconnect:!1});return!e||e.updateAvailable===!1?null:A.jsx(vC,{className:"update-notification-bar",children:A.jsx(Sa,{children:A.jsxs("div",{className:"update-notification-bar__inner",children:[A.jsx("div",{className:"update-notification-bar__icon",children:"!"}),A.jsxs("div",{className:"update-notification-bar__text",children:["新しいバージョンがリリースされています。",A.jsx("code",{children:"npm install zenn-cli@latest"}),"で更新してください"]})]})})})},AC=Oh`
|
|
169
169
|
from {
|
|
170
170
|
opacity: 0;
|
|
171
171
|
transform: translateY(-40px);
|
|
@@ -213,7 +213,7 @@ Error generating stack: `+s.message+`
|
|
|
213
213
|
border-radius: 5px;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
-
`,CC=()=>{const{data:e}=qu("/api/local-info"),u=e?.hasInit;return
|
|
216
|
+
`,CC=()=>{const{data:e}=qu("/api/local-info"),u=e?.hasInit;return Vs("Zenn Editor"),A.jsxs(A.Fragment,{children:[A.jsx(_C,{}),A.jsx(Sa,{children:A.jsxs(yC,{className:"home",children:[A.jsx("h1",{className:"home__title",children:A.jsx("img",{src:"/logo.svg",alt:"Zenn Editor",width:300,height:35})}),A.jsxs("div",{className:"home__content",children:[A.jsx(Eo,{children:u===!0||u===void 0?A.jsxs(A.Fragment,{children:[A.jsx("h3",{children:"📝 記事の作成"}),A.jsx("pre",{children:A.jsxs("code",{children:["$ npx zenn"," ",A.jsx("span",{className:"token function",children:"new:article"}),A.jsxs("div",{className:"token comment",children:["# 記事のURLの一部となるslugを指定して作成することもできます。",A.jsx("br",{}),"$ npx zenn new:article --slug my-awesome-article"]})]})}),A.jsx("h3",{children:"📘 本の作成"}),A.jsx("pre",{children:A.jsxs("code",{children:["$ npx zenn"," ",A.jsx("span",{className:"token function",children:"new:book"}),A.jsxs("div",{className:"token comment",children:["# 本のURLの一部となるslugを指定して作成することもできます。",A.jsx("br",{}),"$ npx zenn new:book --slug my-awesome-book"]})]})})]}):A.jsxs(A.Fragment,{children:[A.jsx("h3",{children:"🔧 セットアップが必要です"}),A.jsxs("p",{children:["まだ",A.jsx("code",{children:"articles"}),"ディレクトリが作成されていません。以下のコマンドを実行してセットアップを行ってください。"]}),A.jsx("pre",{children:A.jsxs("code",{children:["$ npx zenn ",A.jsx("span",{className:"token function",children:"init"})]})})]})}),A.jsxs("div",{className:"home__learn-more",children:[A.jsx("div",{className:"home__learn-more-title",children:"詳しい使い方はCLIリファレンスをご覧ください"}),A.jsx(ys,{slug:"zenn-cli-guide",className:"home__link-cli-guide",children:"CLIリファレンスを開く"})]})]})]})})]})},yC=at.article`
|
|
217
217
|
.home__title {
|
|
218
218
|
padding: 2.5rem 0;
|
|
219
219
|
text-align: center;
|
|
@@ -265,7 +265,7 @@ Error generating stack: `+s.message+`
|
|
|
265
265
|
animation:
|
|
266
266
|
${SC} 0.8s linear infinite,
|
|
267
267
|
${NC} 0.7s;
|
|
268
|
-
`,OC=({hash:e,slug:u})=>{const{data:n,error:r}=qu(`/api/
|
|
268
|
+
`,OC=({hash:e,slug:u})=>{const{data:n,error:r}=qu(`/api/manual/${u}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:2}),l=n?.bodyHtml,f=n?.title;return Vs(f),Te.useEffect(()=>{if(!e||!l)return;const h=document.getElementById(e);if(!h){console.error(`Couldn't find elements with id="${e}"`);return}h.scrollIntoView(),window.scrollBy(0,-30)},[l,e]),r?A.jsx("div",{children:r.message}):l?A.jsx(A.Fragment,{children:A.jsx(Sa,{children:A.jsxs(FC,{className:"guide",children:[A.jsx("h1",{className:"guide__title",children:f}),A.jsx("div",{className:"guide__content",children:A.jsx(Eo,{rawHtml:l})})]})})}):A.jsx(ji,{margin:"5rem auto"})},FC=at.div`
|
|
269
269
|
padding: 3rem 0;
|
|
270
270
|
font-size: 0.94rem;
|
|
271
271
|
.guide__title {
|
|
@@ -274,14 +274,14 @@ Error generating stack: `+s.message+`
|
|
|
274
274
|
.guide__content {
|
|
275
275
|
padding: 1.5rem 0;
|
|
276
276
|
}
|
|
277
|
-
`,xC=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,LC=Object.freeze(Object.defineProperty({__proto__:null,default:xC},Symbol.toStringTag,{value:"Module"})),BC=ph(LC);var Ge;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(Ge||(Ge={}));function MC(e){return e.type===Ge.Tag||e.type===Ge.Script||e.type===Ge.Style}const Mh=Ge.Root,p2=Ge.Text,IC=Ge.Directive,g2=Ge.Comment,wC=Ge.Script,UC=Ge.Style,th=Ge.Tag,PC=Ge.CDATA,HC=Ge.Doctype;class b2{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(u){this.parent=u}get previousSibling(){return this.prev}set previousSibling(u){this.prev=u}get nextSibling(){return this.next}set nextSibling(u){this.next=u}cloneNode(u=!1){return ws(this,u)}}class Ih extends b2{constructor(u){super(),this.data=u}get nodeValue(){return this.data}set nodeValue(u){this.data=u}}class Is extends Ih{constructor(){super(...arguments),this.type=Ge.Text}get nodeType(){return 3}}class wh extends Ih{constructor(){super(...arguments),this.type=Ge.Comment}get nodeType(){return 8}}class Uh extends Ih{constructor(u,n){super(n),this.name=u,this.type=Ge.Directive}get nodeType(){return 1}}class Ph extends b2{constructor(u){super(),this.children=u}get firstChild(){var u;return(u=this.children[0])!==null&&u!==void 0?u:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(u){this.children=u}}class T2 extends Ph{constructor(){super(...arguments),this.type=Ge.CDATA}get nodeType(){return 4}}class In extends Ph{constructor(){super(...arguments),this.type=Ge.Root}get nodeType(){return 9}}class Hh extends Ph{constructor(u,n,r=[],l=u==="script"?Ge.Script:u==="style"?Ge.Style:Ge.Tag){super(r),this.name=u,this.attribs=n,this.type=l}get nodeType(){return 1}get tagName(){return this.name}set tagName(u){this.name=u}get attributes(){return Object.keys(this.attribs).map(u=>{var n,r;return{name:u,value:this.attribs[u],namespace:(n=this["x-attribsNamespace"])===null||n===void 0?void 0:n[u],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[u]}})}}function me(e){return MC(e)}function Vs(e){return e.type===Ge.CDATA}function Iu(e){return e.type===Ge.Text}function Qs(e){return e.type===Ge.Comment}function uh(e){return e.type===Ge.Directive}function sn(e){return e.type===Ge.Root}function ot(e){return Object.prototype.hasOwnProperty.call(e,"children")}function ws(e,u=!1){let n;if(Iu(e))n=new Is(e.data);else if(Qs(e))n=new wh(e.data);else if(me(e)){const r=u?Td(e.children):[],l=new Hh(e.name,{...e.attribs},r);r.forEach(f=>f.parent=l),e.namespace!=null&&(l.namespace=e.namespace),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=l}else if(Vs(e)){const r=u?Td(e.children):[],l=new T2(r);r.forEach(f=>f.parent=l),n=l}else if(sn(e)){const r=u?Td(e.children):[],l=new In(r);r.forEach(f=>f.parent=l),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else if(uh(e)){const r=new Uh(e.name,e.data);e["x-name"]!=null&&(r["x-name"]=e["x-name"],r["x-publicId"]=e["x-publicId"],r["x-systemId"]=e["x-systemId"]),n=r}else throw new Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Td(e){const u=e.map(n=>ws(n,!0));for(let n=1;n<u.length;n++)u[n].prev=u[n-1],u[n-1].next=u[n];return u}const kg={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class kC{constructor(u,n,r){this.dom=[],this.root=new In(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof n=="function"&&(r=n,n=kg),typeof u=="object"&&(n=u,u=void 0),this.callback=u??null,this.options=n??kg,this.elementCB=r??null}onparserinit(u){this.parser=u}onreset(){this.dom=[],this.root=new In(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(u){this.handleCallback(u)}onclosetag(){this.lastNode=null;const u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)}onopentag(u,n){const r=this.options.xmlMode?Ge.Tag:void 0,l=new Hh(u,n,void 0,r);this.addNode(l),this.tagStack.push(l)}ontext(u){const{lastNode:n}=this;if(n&&n.type===Ge.Text)n.data+=u,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{const r=new Is(u);this.addNode(r),this.lastNode=r}}oncomment(u){if(this.lastNode&&this.lastNode.type===Ge.Comment){this.lastNode.data+=u;return}const n=new wh(u);this.addNode(n),this.lastNode=n}oncommentend(){this.lastNode=null}oncdatastart(){const u=new Is(""),n=new T2([u]);this.addNode(n),u.parent=n,this.lastNode=u}oncdataend(){this.lastNode=null}onprocessinginstruction(u,n){const r=new Uh(u,n);this.addNode(r)}handleCallback(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u}addNode(u){const n=this.tagStack[this.tagStack.length-1],r=n.children[n.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),n.children.push(u),r&&(u.prev=r,r.next=u),u.parent=n,this.lastNode=null}}const jg=/["&'<>$\x80-\uFFFF]/g,jC=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),zC=String.prototype.codePointAt!=null?(e,u)=>e.codePointAt(u):(e,u)=>(e.charCodeAt(u)&64512)===55296?(e.charCodeAt(u)-55296)*1024+e.charCodeAt(u+1)-56320+65536:e.charCodeAt(u);function _2(e){let u="",n=0,r;for(;(r=jg.exec(e))!==null;){const l=r.index,f=e.charCodeAt(l),h=jC.get(f);h!==void 0?(u+=e.substring(n,l)+h,n=l+1):(u+=`${e.substring(n,l)}&#x${zC(e,l).toString(16)};`,n=jg.lastIndex+=+((f&64512)===55296))}return u+e.substr(n)}function A2(e,u){return function(r){let l,f=0,h="";for(;l=e.exec(r);)f!==l.index&&(h+=r.substring(f,l.index)),h+=u.get(l[0].charCodeAt(0)),f=l.index+1;return h+r.substring(f)}}const qC=A2(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),YC=A2(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),GC=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),VC=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),QC=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function XC(e){return e.replace(/"/g,""")}function KC(e,u){var n;if(!e)return;const r=((n=u.encodeEntities)!==null&&n!==void 0?n:u.decodeEntities)===!1?XC:u.xmlMode||u.encodeEntities!=="utf8"?_2:qC;return Object.keys(e).map(l=>{var f,h;const D=(f=e[l])!==null&&f!==void 0?f:"";return u.xmlMode==="foreign"&&(l=(h=VC.get(l))!==null&&h!==void 0?h:l),!u.emptyAttrs&&!u.xmlMode&&D===""?l:`${l}="${r(D)}"`}).join(" ")}const zg=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Do(e,u={}){const n="length"in e?e:[e];let r="";for(let l=0;l<n.length;l++)r+=ZC(n[l],u);return r}function ZC(e,u){switch(e.type){case Mh:return Do(e.children,u);case HC:case IC:return ey(e);case g2:return ay(e);case PC:return uy(e);case wC:case UC:case th:return JC(e,u);case p2:return ty(e,u)}}const $C=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),WC=new Set(["svg","math"]);function JC(e,u){var n;u.xmlMode==="foreign"&&(e.name=(n=GC.get(e.name))!==null&&n!==void 0?n:e.name,e.parent&&$C.has(e.parent.name)&&(u={...u,xmlMode:!1})),!u.xmlMode&&WC.has(e.name)&&(u={...u,xmlMode:"foreign"});let r=`<${e.name}`;const l=KC(e.attribs,u);return l&&(r+=` ${l}`),e.children.length===0&&(u.xmlMode?u.selfClosingTags!==!1:u.selfClosingTags&&zg.has(e.name))?(u.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=Do(e.children,u)),(u.xmlMode||!zg.has(e.name))&&(r+=`</${e.name}>`)),r}function ey(e){return`<${e.data}>`}function ty(e,u){var n;let r=e.data||"";return((n=u.encodeEntities)!==null&&n!==void 0?n:u.decodeEntities)!==!1&&!(!u.xmlMode&&e.parent&&QC.has(e.parent.name))&&(r=u.xmlMode||u.encodeEntities!=="utf8"?_2(r):YC(r)),r}function uy(e){return`<![CDATA[${e.children[0].data}]]>`}function ay(e){return`<!--${e.data}-->`}function Qc(e){return Array.isArray(e)?e.map(Qc).join(""):ot(e)&&!Qs(e)?Qc(e.children):Iu(e)?e.data:""}function ah(e){return Array.isArray(e)?e.map(ah).join(""):ot(e)&&(e.type===Ge.Tag||Vs(e))?ah(e.children):Iu(e)?e.data:""}function v2(e){return ot(e)?e.children:[]}function ny(e){return e.parent||null}function iy(e){const u=ny(e);if(u!=null)return v2(u);const n=[e];let{prev:r,next:l}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;l!=null;)n.push(l),{next:l}=l;return n}function C2(e){let{next:u}=e;for(;u!==null&&!me(u);)({next:u}=u);return u}function y2(e){let{prev:u}=e;for(;u!==null&&!me(u);)({prev:u}=u);return u}function S2(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const u=e.parent.children,n=u.lastIndexOf(e);n>=0&&u.splice(n,1)}e.next=null,e.prev=null,e.parent=null}var ju;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(ju||(ju={}));function ry(e,u){const n=[],r=[];if(e===u)return 0;let l=ot(e)?e:e.parent;for(;l;)n.unshift(l),l=l.parent;for(l=ot(u)?u:u.parent;l;)r.unshift(l),l=l.parent;const f=Math.min(n.length,r.length);let h=0;for(;h<f&&n[h]===r[h];)h++;if(h===0)return ju.DISCONNECTED;const D=n[h-1],E=D.children,p=n[h],b=r[h];return E.indexOf(p)>E.indexOf(b)?D===u?ju.FOLLOWING|ju.CONTAINED_BY:ju.FOLLOWING:D===e?ju.PRECEDING|ju.CONTAINS:ju.PRECEDING}function po(e){return e=e.filter((u,n,r)=>!r.includes(u,n+1)),e.sort((u,n)=>{const r=ry(u,n);return r&ju.PRECEDING?-1:r&ju.FOLLOWING?1:0}),e}const sy={_useHtmlParser2:!1};function nh(e,u){if(!e)return u??sy;const n={_useHtmlParser2:!!e.xmlMode,...u,...e};return e.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,e.xml!==!0&&Object.assign(n,e.xml)):e.xmlMode&&(n._useHtmlParser2=!0),n}function N2(e,u,n){return e?e(u??e._root.children,null,void 0,n).toString():""}function ly(e,u){return typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function cy(e,u){const n=ly(e)?(u=e,void 0):e,r={...this===null||this===void 0?void 0:this._options,...nh(u)};return N2(this,n,r)}function oy(e){const u={...this._options,xmlMode:!0};return N2(this,e,u)}function Us(e){const u=e??(this?this.root():[]);let n="";for(let r=0;r<u.length;r++)n+=Qc(u[r]);return n}function fy(e,u,n=typeof u=="boolean"?u:!1){if(!e||typeof e!="string")return null;typeof u=="boolean"&&(n=u);const r=this.load(e,this._options,!1);return n||r("script").remove(),[...r.root()[0].children]}function dy(){return this(this._root)}function kh(e,u){if(u===e)return!1;let n=u;for(;n&&n!==n.parent;)if(n=n.parent,n===e)return!0;return!1}function hy(e){return this.root().extract(e)}function R2(e,u){if(!qg(e)||!qg(u))return;let n=e.length;const r=+u.length;for(let l=0;l<r;l++)e[n++]=u[l];return e.length=n,e}function qg(e){if(Array.isArray(e))return!0;if(typeof e!="object"||e===null||!("length"in e)||typeof e.length!="number"||e.length<0)return!1;for(let u=0;u<e.length;u++)if(!(u in e))return!1;return!0}const my=Object.freeze(Object.defineProperty({__proto__:null,contains:kh,extract:hy,html:cy,merge:R2,parseHTML:fy,root:dy,text:Us,xml:oy},Symbol.toStringTag,{value:"Module"}));function va(e){return e.cheerio!=null}function Ey(e){return e.replace(/[._-](\w|$)/g,(u,n)=>n.toUpperCase())}function Dy(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function ft(e,u){const n=e.length;for(let r=0;r<n;r++)u(e[r],r);return e}var On;(function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"})(On||(On={}));function ih(e){const u=e.indexOf("<");if(u===-1||u>e.length-3)return!1;const n=e.charCodeAt(u+1);return(n>=On.LowerA&&n<=On.LowerZ||n>=On.UpperA&&n<=On.UpperZ||n===On.Exclamation)&&e.includes(">",u+2)}const O2=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),py=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var _d;const gy=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Yg=(_d=String.fromCodePoint)!==null&&_d!==void 0?_d:function(e){let u="";return e>65535&&(e-=65536,u+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),u+=String.fromCharCode(e),u};function by(e){var u;return e>=55296&&e<=57343||e>1114111?65533:(u=gy.get(e))!==null&&u!==void 0?u:e}var xt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(xt||(xt={}));const Ty=32;var an;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(an||(an={}));function rh(e){return e>=xt.ZERO&&e<=xt.NINE}function _y(e){return e>=xt.UPPER_A&&e<=xt.UPPER_F||e>=xt.LOWER_A&&e<=xt.LOWER_F}function Ay(e){return e>=xt.UPPER_A&&e<=xt.UPPER_Z||e>=xt.LOWER_A&&e<=xt.LOWER_Z||rh(e)}function vy(e){return e===xt.EQUALS||Ay(e)}var Ot;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ot||(Ot={}));var Mu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Mu||(Mu={}));class F2{constructor(u,n,r){this.decodeTree=u,this.emitCodePoint=n,this.errors=r,this.state=Ot.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mu.Strict}startEntity(u){this.decodeMode=u,this.state=Ot.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(u,n){switch(this.state){case Ot.EntityStart:return u.charCodeAt(n)===xt.NUM?(this.state=Ot.NumericStart,this.consumed+=1,this.stateNumericStart(u,n+1)):(this.state=Ot.NamedEntity,this.stateNamedEntity(u,n));case Ot.NumericStart:return this.stateNumericStart(u,n);case Ot.NumericDecimal:return this.stateNumericDecimal(u,n);case Ot.NumericHex:return this.stateNumericHex(u,n);case Ot.NamedEntity:return this.stateNamedEntity(u,n)}}stateNumericStart(u,n){return n>=u.length?-1:(u.charCodeAt(n)|Ty)===xt.LOWER_X?(this.state=Ot.NumericHex,this.consumed+=1,this.stateNumericHex(u,n+1)):(this.state=Ot.NumericDecimal,this.stateNumericDecimal(u,n))}addToNumericResult(u,n,r,l){if(n!==r){const f=r-n;this.result=this.result*Math.pow(l,f)+Number.parseInt(u.substr(n,f),l),this.consumed+=f}}stateNumericHex(u,n){const r=n;for(;n<u.length;){const l=u.charCodeAt(n);if(rh(l)||_y(l))n+=1;else return this.addToNumericResult(u,r,n,16),this.emitNumericEntity(l,3)}return this.addToNumericResult(u,r,n,16),-1}stateNumericDecimal(u,n){const r=n;for(;n<u.length;){const l=u.charCodeAt(n);if(rh(l))n+=1;else return this.addToNumericResult(u,r,n,10),this.emitNumericEntity(l,2)}return this.addToNumericResult(u,r,n,10),-1}emitNumericEntity(u,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(u===xt.SEMI)this.consumed+=1;else if(this.decodeMode===Mu.Strict)return 0;return this.emitCodePoint(by(this.result),this.consumed),this.errors&&(u!==xt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(u,n){const{decodeTree:r}=this;let l=r[this.treeIndex],f=(l&an.VALUE_LENGTH)>>14;for(;n<u.length;n++,this.excess++){const h=u.charCodeAt(n);if(this.treeIndex=Cy(r,l,this.treeIndex+Math.max(1,f),h),this.treeIndex<0)return this.result===0||this.decodeMode===Mu.Attribute&&(f===0||vy(h))?0:this.emitNotTerminatedNamedEntity();if(l=r[this.treeIndex],f=(l&an.VALUE_LENGTH)>>14,f!==0){if(h===xt.SEMI)return this.emitNamedEntityData(this.treeIndex,f,this.consumed+this.excess);this.decodeMode!==Mu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var u;const{result:n,decodeTree:r}=this,l=(r[n]&an.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,l,this.consumed),(u=this.errors)===null||u===void 0||u.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(u,n,r){const{decodeTree:l}=this;return this.emitCodePoint(n===1?l[u]&~an.VALUE_LENGTH:l[u+1],r),n===3&&this.emitCodePoint(l[u+2],r),r}end(){var u;switch(this.state){case Ot.NamedEntity:return this.result!==0&&(this.decodeMode!==Mu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ot.NumericDecimal:return this.emitNumericEntity(0,2);case Ot.NumericHex:return this.emitNumericEntity(0,3);case Ot.NumericStart:return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ot.EntityStart:return 0}}}function Cy(e,u,n,r){const l=(u&an.BRANCH_LENGTH)>>7,f=u&an.JUMP_TABLE;if(l===0)return f!==0&&r===f?n:-1;if(f){const E=r-f;return E<0||E>=l?-1:e[n+E]-1}let h=n,D=h+l-1;for(;h<=D;){const E=h+D>>>1,p=e[E];if(p<r)h=E+1;else if(p>r)D=E-1;else return e[E+l]}return-1}var De;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(De||(De={}));var J;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(J||(J={}));function ga(e){return e===De.Space||e===De.NewLine||e===De.Tab||e===De.FormFeed||e===De.CarriageReturn}function Sc(e){return e===De.Slash||e===De.Gt||ga(e)}function yy(e){return e>=De.LowerA&&e<=De.LowerZ||e>=De.UpperA&&e<=De.UpperZ}var Wu;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Wu||(Wu={}));const At={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};let Sy=class{constructor({xmlMode:u=!1,decodeEntities:n=!0},r){this.cbs=r,this.state=J.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=J.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=u,this.decodeEntities=n,this.entityDecoder=new F2(u?py:O2,(l,f)=>this.emitCodePoint(l,f))}reset(){this.state=J.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=J.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(u){this.offset+=this.buffer.length,this.buffer=u,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(u){u===De.Lt||!this.decodeEntities&&this.fastForwardTo(De.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=J.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&u===De.Amp&&this.startEntity()}stateSpecialStartSequence(u){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Sc(u):(u|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=J.InTagName,this.stateInTagName(u)}stateInSpecialTag(u){if(this.sequenceIndex===this.currentSequence.length){if(u===De.Gt||ga(u)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(u);return}this.sequenceIndex=0}(u|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===At.TitleEnd?this.decodeEntities&&u===De.Amp&&this.startEntity():this.fastForwardTo(De.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(u===De.Lt)}stateCDATASequence(u){u===At.Cdata[this.sequenceIndex]?++this.sequenceIndex===At.Cdata.length&&(this.state=J.InCommentLike,this.currentSequence=At.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=J.InDeclaration,this.stateInDeclaration(u))}fastForwardTo(u){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===u)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(u){u===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===At.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=J.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):u!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(u){return this.xmlMode?!Sc(u):yy(u)}startSpecial(u,n){this.isSpecial=!0,this.currentSequence=u,this.sequenceIndex=n,this.state=J.SpecialStartSequence}stateBeforeTagName(u){if(u===De.ExclamationMark)this.state=J.BeforeDeclaration,this.sectionStart=this.index+1;else if(u===De.Questionmark)this.state=J.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(u)){const n=u|32;this.sectionStart=this.index,this.xmlMode?this.state=J.InTagName:n===At.ScriptEnd[2]?this.state=J.BeforeSpecialS:n===At.TitleEnd[2]||n===At.XmpEnd[2]?this.state=J.BeforeSpecialT:this.state=J.InTagName}else u===De.Slash?this.state=J.BeforeClosingTagName:(this.state=J.Text,this.stateText(u))}stateInTagName(u){Sc(u)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u))}stateBeforeClosingTagName(u){ga(u)||(u===De.Gt?this.state=J.Text:(this.state=this.isTagStartChar(u)?J.InClosingTagName:J.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(u){(u===De.Gt||ga(u))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=J.AfterClosingTagName,this.stateAfterClosingTagName(u))}stateAfterClosingTagName(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.state=J.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(u){u===De.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=J.InSpecialTag,this.sequenceIndex=0):this.state=J.Text,this.sectionStart=this.index+1):u===De.Slash?this.state=J.InSelfClosingTag:ga(u)||(this.state=J.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(u){u===De.Gt?(this.cbs.onselfclosingtag(this.index),this.state=J.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ga(u)||(this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u))}stateInAttributeName(u){(u===De.Eq||Sc(u))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=J.AfterAttributeName,this.stateAfterAttributeName(u))}stateAfterAttributeName(u){u===De.Eq?this.state=J.BeforeAttributeValue:u===De.Slash||u===De.Gt?(this.cbs.onattribend(Wu.NoValue,this.sectionStart),this.sectionStart=-1,this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u)):ga(u)||(this.cbs.onattribend(Wu.NoValue,this.sectionStart),this.state=J.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(u){u===De.DoubleQuote?(this.state=J.InAttributeValueDq,this.sectionStart=this.index+1):u===De.SingleQuote?(this.state=J.InAttributeValueSq,this.sectionStart=this.index+1):ga(u)||(this.sectionStart=this.index,this.state=J.InAttributeValueNq,this.stateInAttributeValueNoQuotes(u))}handleInAttributeValue(u,n){u===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===De.DoubleQuote?Wu.Double:Wu.Single,this.index+1),this.state=J.BeforeAttributeName):this.decodeEntities&&u===De.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(u){this.handleInAttributeValue(u,De.DoubleQuote)}stateInAttributeValueSingleQuotes(u){this.handleInAttributeValue(u,De.SingleQuote)}stateInAttributeValueNoQuotes(u){ga(u)||u===De.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Wu.Unquoted,this.index),this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u)):this.decodeEntities&&u===De.Amp&&this.startEntity()}stateBeforeDeclaration(u){u===De.OpeningSquareBracket?(this.state=J.CDATASequence,this.sequenceIndex=0):this.state=u===De.Dash?J.BeforeComment:J.InDeclaration}stateInDeclaration(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=J.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=J.Text,this.sectionStart=this.index+1)}stateBeforeComment(u){u===De.Dash?(this.state=J.InCommentLike,this.currentSequence=At.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=J.InDeclaration}stateInSpecialComment(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=J.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(u){const n=u|32;n===At.ScriptEnd[3]?this.startSpecial(At.ScriptEnd,4):n===At.StyleEnd[3]?this.startSpecial(At.StyleEnd,4):(this.state=J.InTagName,this.stateInTagName(u))}stateBeforeSpecialT(u){switch(u|32){case At.TitleEnd[3]:{this.startSpecial(At.TitleEnd,4);break}case At.TextareaEnd[3]:{this.startSpecial(At.TextareaEnd,4);break}case At.XmpEnd[3]:{this.startSpecial(At.XmpEnd,4);break}default:this.state=J.InTagName,this.stateInTagName(u)}}startEntity(){this.baseState=this.state,this.state=J.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Mu.Strict:this.baseState===J.Text||this.baseState===J.InSpecialTag?Mu.Legacy:Mu.Attribute)}stateInEntity(){const u=this.entityDecoder.write(this.buffer,this.index-this.offset);u>=0?(this.state=this.baseState,u===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===J.Text||this.state===J.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===J.InAttributeValueDq||this.state===J.InAttributeValueSq||this.state===J.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const u=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case J.Text:{this.stateText(u);break}case J.SpecialStartSequence:{this.stateSpecialStartSequence(u);break}case J.InSpecialTag:{this.stateInSpecialTag(u);break}case J.CDATASequence:{this.stateCDATASequence(u);break}case J.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(u);break}case J.InAttributeName:{this.stateInAttributeName(u);break}case J.InCommentLike:{this.stateInCommentLike(u);break}case J.InSpecialComment:{this.stateInSpecialComment(u);break}case J.BeforeAttributeName:{this.stateBeforeAttributeName(u);break}case J.InTagName:{this.stateInTagName(u);break}case J.InClosingTagName:{this.stateInClosingTagName(u);break}case J.BeforeTagName:{this.stateBeforeTagName(u);break}case J.AfterAttributeName:{this.stateAfterAttributeName(u);break}case J.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(u);break}case J.BeforeAttributeValue:{this.stateBeforeAttributeValue(u);break}case J.BeforeClosingTagName:{this.stateBeforeClosingTagName(u);break}case J.AfterClosingTagName:{this.stateAfterClosingTagName(u);break}case J.BeforeSpecialS:{this.stateBeforeSpecialS(u);break}case J.BeforeSpecialT:{this.stateBeforeSpecialT(u);break}case J.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(u);break}case J.InSelfClosingTag:{this.stateInSelfClosingTag(u);break}case J.InDeclaration:{this.stateInDeclaration(u);break}case J.BeforeDeclaration:{this.stateBeforeDeclaration(u);break}case J.BeforeComment:{this.stateBeforeComment(u);break}case J.InProcessingInstruction:{this.stateInProcessingInstruction(u);break}case J.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===J.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const u=this.buffer.length+this.offset;this.sectionStart>=u||(this.state===J.InCommentLike?this.currentSequence===At.CdataEnd?this.cbs.oncdata(this.sectionStart,u,0):this.cbs.oncomment(this.sectionStart,u,0):this.state===J.InTagName||this.state===J.BeforeAttributeName||this.state===J.BeforeAttributeValue||this.state===J.AfterAttributeName||this.state===J.InAttributeName||this.state===J.InAttributeValueSq||this.state===J.InAttributeValueDq||this.state===J.InAttributeValueNq||this.state===J.InClosingTagName||this.cbs.ontext(this.sectionStart,u))}emitCodePoint(u,n){this.baseState!==J.Text&&this.baseState!==J.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.onattribentity(u)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.ontextentity(u,this.sectionStart))}};const Si=new Set(["input","option","optgroup","select","button","datalist","textarea"]),tt=new Set(["p"]),Gg=new Set(["thead","tbody"]),Vg=new Set(["dd","dt"]),Qg=new Set(["rt","rp"]),Ny=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",tt],["h1",tt],["h2",tt],["h3",tt],["h4",tt],["h5",tt],["h6",tt],["select",Si],["input",Si],["output",Si],["button",Si],["datalist",Si],["textarea",Si],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Vg],["dt",Vg],["address",tt],["article",tt],["aside",tt],["blockquote",tt],["details",tt],["div",tt],["dl",tt],["fieldset",tt],["figcaption",tt],["figure",tt],["footer",tt],["form",tt],["header",tt],["hr",tt],["main",tt],["nav",tt],["ol",tt],["pre",tt],["section",tt],["table",tt],["ul",tt],["rt",Qg],["rp",Qg],["tbody",Gg],["tfoot",Gg]]),Ry=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Xg=new Set(["math","svg"]),Kg=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Oy=/\s|\//;let Fy=class{constructor(u,n={}){var r,l,f,h,D,E;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=u??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=n.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(l=n.lowerCaseAttributeNames)!==null&&l!==void 0?l:this.htmlMode,this.recognizeSelfClosing=(f=n.recognizeSelfClosing)!==null&&f!==void 0?f:!this.htmlMode,this.tokenizer=new((h=n.Tokenizer)!==null&&h!==void 0?h:Sy)(this.options,this),this.foreignContext=[!this.htmlMode],(E=(D=this.cbs).onparserinit)===null||E===void 0||E.call(D,this)}ontext(u,n){var r,l;const f=this.getSlice(u,n);this.endIndex=n-1,(l=(r=this.cbs).ontext)===null||l===void 0||l.call(r,f),this.startIndex=n}ontextentity(u,n){var r,l;this.endIndex=n-1,(l=(r=this.cbs).ontext)===null||l===void 0||l.call(r,Yg(u)),this.startIndex=n}isVoidElement(u){return this.htmlMode&&Ry.has(u)}onopentagname(u,n){this.endIndex=n;let r=this.getSlice(u,n);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(u){var n,r,l,f;this.openTagStart=this.startIndex,this.tagname=u;const h=this.htmlMode&&Ny.get(u);if(h)for(;this.stack.length>0&&h.has(this.stack[0]);){const D=this.stack.shift();(r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,D,!0)}this.isVoidElement(u)||(this.stack.unshift(u),this.htmlMode&&(Xg.has(u)?this.foreignContext.unshift(!0):Kg.has(u)&&this.foreignContext.unshift(!1))),(f=(l=this.cbs).onopentagname)===null||f===void 0||f.call(l,u),this.cbs.onopentag&&(this.attribs={})}endOpenTag(u){var n,r;this.startIndex=this.openTagStart,this.attribs&&((r=(n=this.cbs).onopentag)===null||r===void 0||r.call(n,this.tagname,this.attribs,u),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(u){this.endIndex=u,this.endOpenTag(!1),this.startIndex=u+1}onclosetag(u,n){var r,l,f,h,D,E,p,b;this.endIndex=n;let T=this.getSlice(u,n);if(this.lowerCaseTagNames&&(T=T.toLowerCase()),this.htmlMode&&(Xg.has(T)||Kg.has(T))&&this.foreignContext.shift(),this.isVoidElement(T))this.htmlMode&&T==="br"&&((h=(f=this.cbs).onopentagname)===null||h===void 0||h.call(f,"br"),(E=(D=this.cbs).onopentag)===null||E===void 0||E.call(D,"br",{},!0),(b=(p=this.cbs).onclosetag)===null||b===void 0||b.call(p,"br",!1));else{const y=this.stack.indexOf(T);if(y!==-1)for(let v=0;v<=y;v++){const N=this.stack.shift();(l=(r=this.cbs).onclosetag)===null||l===void 0||l.call(r,N,v!==y)}else this.htmlMode&&T==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(u){this.endIndex=u,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=u+1):this.onopentagend(u)}closeCurrentTag(u){var n,r;const l=this.tagname;this.endOpenTag(u),this.stack[0]===l&&((r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,l,!u),this.stack.shift())}onattribname(u,n){this.startIndex=u;const r=this.getSlice(u,n);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(u,n){this.attribvalue+=this.getSlice(u,n)}onattribentity(u){this.attribvalue+=Yg(u)}onattribend(u,n){var r,l;this.endIndex=n,(l=(r=this.cbs).onattribute)===null||l===void 0||l.call(r,this.attribname,this.attribvalue,u===Wu.Double?'"':u===Wu.Single?"'":u===Wu.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(u){const n=u.search(Oy);let r=n<0?u:u.substr(0,n);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(u,n){this.endIndex=n;const r=this.getSlice(u,n);if(this.cbs.onprocessinginstruction){const l=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${l}`,`!${r}`)}this.startIndex=n+1}onprocessinginstruction(u,n){this.endIndex=n;const r=this.getSlice(u,n);if(this.cbs.onprocessinginstruction){const l=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${l}`,`?${r}`)}this.startIndex=n+1}oncomment(u,n,r){var l,f,h,D;this.endIndex=n,(f=(l=this.cbs).oncomment)===null||f===void 0||f.call(l,this.getSlice(u,n-r)),(D=(h=this.cbs).oncommentend)===null||D===void 0||D.call(h),this.startIndex=n+1}oncdata(u,n,r){var l,f,h,D,E,p,b,T,y,v;this.endIndex=n;const N=this.getSlice(u,n-r);!this.htmlMode||this.options.recognizeCDATA?((f=(l=this.cbs).oncdatastart)===null||f===void 0||f.call(l),(D=(h=this.cbs).ontext)===null||D===void 0||D.call(h,N),(p=(E=this.cbs).oncdataend)===null||p===void 0||p.call(E)):((T=(b=this.cbs).oncomment)===null||T===void 0||T.call(b,`[CDATA[${N}]]`),(v=(y=this.cbs).oncommentend)===null||v===void 0||v.call(y)),this.startIndex=n+1}onend(){var u,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(n=(u=this.cbs).onend)===null||n===void 0||n.call(u)}reset(){var u,n,r,l;(n=(u=this.cbs).onreset)===null||n===void 0||n.call(u),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(l=(r=this.cbs).onparserinit)===null||l===void 0||l.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(u){this.reset(),this.end(u)}getSlice(u,n){for(;u-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(u-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,n-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(u){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".write() after done!"));return}this.buffers.push(u),this.tokenizer.running&&(this.tokenizer.write(u),this.writeIndex++)}end(u){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".end() after done!"));return}u&&this.write(u),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(u){this.write(u)}done(u){this.end(u)}};function xy(e,u){const n=new kC(void 0,u);return new Fy(n,u).end(e),n.root}var Ad;const Ps=(Ad=Object.hasOwn)!==null&&Ad!==void 0?Ad:((e,u)=>Object.prototype.hasOwnProperty.call(e,u)),Hs=/\s+/,sh="data-",jh=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ly=/^{[^]*}$|^\[[^]*]$/;function Xc(e,u,n){var r;if(!(!e||!me(e))){if((r=e.attribs)!==null&&r!==void 0||(e.attribs={}),!u)return e.attribs;if(Ps(e.attribs,u))return!n&&jh.test(u)?u:e.attribs[u];if(e.name==="option"&&u==="value")return Us(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&u==="value")return"on"}}function Fi(e,u,n){n===null?L2(e,u):e.attribs[u]=`${n}`}function By(e,u){if(typeof e=="object"||u!==void 0){if(typeof u=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return ft(this,(n,r)=>{me(n)&&Fi(n,e,u.call(n,r,n.attribs[e]))})}return ft(this,n=>{if(me(n))if(typeof e=="object")for(const r of Object.keys(e)){const l=e[r];Fi(n,r,l)}else Fi(n,e,u)})}return arguments.length>1?this:Xc(this[0],e,this.options.xmlMode)}function Zg(e,u,n){return u in e?e[u]:!n&&jh.test(u)?Xc(e,u,!1)!==void 0:Xc(e,u,n)}function vd(e,u,n,r){u in e?e[u]=n:Fi(e,u,!r&&jh.test(u)?n?"":null:`${n}`)}function My(e,u){var n;if(typeof e=="string"&&u===void 0){const r=this[0];if(!r)return;switch(e){case"style":{const l=this.css(),f=Object.keys(l);for(let h=0;h<f.length;h++)l[h]=f[h];return l.length=f.length,l}case"tagName":case"nodeName":return me(r)?r.name.toUpperCase():void 0;case"href":case"src":{if(!me(r))return;const l=(n=r.attribs)===null||n===void 0?void 0:n[e];return typeof URL<"u"&&(e==="href"&&(r.tagName==="a"||r.tagName==="link")||e==="src"&&(r.tagName==="img"||r.tagName==="iframe"||r.tagName==="audio"||r.tagName==="video"||r.tagName==="source"))&&l!==void 0&&this.options.baseURI?new URL(l,this.options.baseURI).href:l}case"innerText":return ah(r);case"textContent":return Qc(r);case"outerHTML":return r.type===Mh?this.html():this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return me(r)?Zg(r,e,this.options.xmlMode):void 0}}if(typeof e=="object"||u!==void 0){if(typeof u=="function"){if(typeof e=="object")throw new TypeError("Bad combination of arguments.");return ft(this,(r,l)=>{me(r)&&vd(r,e,u.call(r,l,Zg(r,e,this.options.xmlMode)),this.options.xmlMode)})}return ft(this,r=>{if(me(r))if(typeof e=="object")for(const l of Object.keys(e)){const f=e[l];vd(r,l,f,this.options.xmlMode)}else vd(r,e,u,this.options.xmlMode)})}}function $g(e,u,n){var r;(r=e.data)!==null&&r!==void 0||(e.data={}),typeof u=="object"?Object.assign(e.data,u):typeof u=="string"&&n!==void 0&&(e.data[u]=n)}function Iy(e){for(const u of Object.keys(e.attribs)){if(!u.startsWith(sh))continue;const n=Ey(u.slice(sh.length));Ps(e.data,n)||(e.data[n]=x2(e.attribs[u]))}return e.data}function wy(e,u){const n=sh+Dy(u),r=e.data;if(Ps(r,u))return r[u];if(Ps(e.attribs,n))return r[u]=x2(e.attribs[n])}function x2(e){if(e==="null")return null;if(e==="true")return!0;if(e==="false")return!1;const u=Number(e);if(e===String(u))return u;if(Ly.test(e))try{return JSON.parse(e)}catch{}return e}function Uy(e,u){var n;const r=this[0];if(!r||!me(r))return;const l=r;return(n=l.data)!==null&&n!==void 0||(l.data={}),e==null?Iy(l):typeof e=="object"||u!==void 0?(ft(this,f=>{me(f)&&(typeof e=="object"?$g(f,e):$g(f,e,u))}),this):wy(l,e)}function Py(e){const u=arguments.length===0,n=this[0];if(!n||!me(n))return u?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":{const r=this.find("option:selected");if(!u){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const l=typeof e=="object"?e:[e];for(const f of l)this.find(`option[value="${f}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(l=>Us(l.children)):r.attr("value")}case"input":case"option":return u?this.attr("value"):this.attr("value",e)}}function L2(e,u){!e.attribs||!Ps(e.attribs,u)||delete e.attribs[u]}function Kc(e){return e?e.trim().split(Hs):[]}function Hy(e){const u=Kc(e);for(const n of u)ft(this,r=>{me(r)&&L2(r,n)});return this}function ky(e){return this.toArray().some(u=>{const n=me(u)&&u.attribs.class;let r=-1;if(n&&e.length>0)for(;(r=n.indexOf(e,r+1))>-1;){const l=r+e.length;if((r===0||Hs.test(n[r-1]))&&(l===n.length||Hs.test(n[l])))return!0}return!1})}function B2(e){if(typeof e=="function")return ft(this,(r,l)=>{if(me(r)){const f=r.attribs.class||"";B2.call([r],e.call(r,l,f))}});if(!e||typeof e!="string")return this;const u=e.split(Hs),n=this.length;for(let r=0;r<n;r++){const l=this[r];if(!me(l))continue;const f=Xc(l,"class",!1);if(f){let h=` ${f} `;for(const D of u){const E=`${D} `;h.includes(` ${E}`)||(h+=E)}Fi(l,"class",h.trim())}else Fi(l,"class",u.join(" ").trim())}return this}function M2(e){if(typeof e=="function")return ft(this,(l,f)=>{me(l)&&M2.call([l],e.call(l,f,l.attribs.class||""))});const u=Kc(e),n=u.length,r=arguments.length===0;return ft(this,l=>{if(me(l))if(r)l.attribs.class="";else{const f=Kc(l.attribs.class);let h=!1;for(let D=0;D<n;D++){const E=f.indexOf(u[D]);E!==-1&&(f.splice(E,1),h=!0,D--)}h&&(l.attribs.class=f.join(" "))}})}function I2(e,u){if(typeof e=="function")return ft(this,(h,D)=>{me(h)&&I2.call([h],e.call(h,D,h.attribs.class||"",u),u)});if(!e||typeof e!="string")return this;const n=e.split(Hs),r=n.length,l=typeof u=="boolean"?u?1:-1:0,f=this.length;for(let h=0;h<f;h++){const D=this[h];if(!me(D))continue;const E=Kc(D.attribs.class);for(let p=0;p<r;p++){const b=E.indexOf(n[p]);l>=0&&b===-1?E.push(n[p]):l<=0&&b!==-1&&E.splice(b,1)}D.attribs.class=E.join(" ")}return this}const jy=Object.freeze(Object.defineProperty({__proto__:null,addClass:B2,attr:By,data:Uy,hasClass:ky,prop:My,removeAttr:Hy,removeClass:M2,toggleClass:I2,val:Py},Symbol.toStringTag,{value:"Module"}));var he;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(he||(he={}));var St;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(St||(St={}));const Wg=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,zy=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,qy=new Map([[126,St.Element],[94,St.Start],[36,St.End],[42,St.Any],[33,St.Not],[124,St.Hyphen]]),Yy=new Set(["has","not","matches","is","where","host","host-context"]);function Ss(e){switch(e.type){case he.Adjacent:case he.Child:case he.Descendant:case he.Parent:case he.Sibling:case he.ColumnCombinator:return!0;default:return!1}}const Gy=new Set(["contains","icontains"]);function Vy(e,u,n){const r=parseInt(u,16)-65536;return r!==r||n?u:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Ts(e){return e.replace(zy,Vy)}function Cd(e){return e===39||e===34}function Jg(e){return e===32||e===9||e===10||e===12||e===13}function go(e){const u=[],n=w2(u,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return u}function w2(e,u,n){let r=[];function l(y){const v=u.slice(n+y).match(Wg);if(!v)throw new Error(`Expected name, found ${u.slice(n)}`);const[N]=v;return n+=y+N.length,Ts(N)}function f(y){for(n+=y;n<u.length&&Jg(u.charCodeAt(n));)n++}function h(){n+=1;const y=n;let v=1;for(;v>0&&n<u.length;n++)u.charCodeAt(n)===40&&!D(n)?v++:u.charCodeAt(n)===41&&!D(n)&&v--;if(v)throw new Error("Parenthesis not matched");return Ts(u.slice(y,n-1))}function D(y){let v=0;for(;u.charCodeAt(--y)===92;)v++;return(v&1)===1}function E(){if(r.length>0&&Ss(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function p(y){if(r.length>0&&r[r.length-1].type===he.Descendant){r[r.length-1].type=y;return}E(),r.push({type:y})}function b(y,v){r.push({type:he.Attribute,name:y,action:v,value:l(1),namespace:null,ignoreCase:"quirks"})}function T(){if(r.length&&r[r.length-1].type===he.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");e.push(r)}if(f(0),u.length===n)return n;e:for(;n<u.length;){const y=u.charCodeAt(n);switch(y){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==he.Descendant)&&(E(),r.push({type:he.Descendant})),f(1);break}case 62:{p(he.Child),f(1);break}case 60:{p(he.Parent),f(1);break}case 126:{p(he.Sibling),f(1);break}case 43:{p(he.Adjacent),f(1);break}case 46:{b("class",St.Element);break}case 35:{b("id",St.Equals);break}case 91:{f(1);let v,N=null;u.charCodeAt(n)===124?v=l(1):u.startsWith("*|",n)?(N="*",v=l(2)):(v=l(0),u.charCodeAt(n)===124&&u.charCodeAt(n+1)!==61&&(N=v,v=l(1))),f(0);let x=St.Exists;const P=qy.get(u.charCodeAt(n));if(P){if(x=P,u.charCodeAt(n+1)!==61)throw new Error("Expected `=`");f(2)}else u.charCodeAt(n)===61&&(x=St.Equals,f(1));let B="",Z=null;if(x!=="exists"){if(Cd(u.charCodeAt(n))){const ue=u.charCodeAt(n);let te=n+1;for(;te<u.length&&(u.charCodeAt(te)!==ue||D(te));)te+=1;if(u.charCodeAt(te)!==ue)throw new Error("Attribute value didn't end");B=Ts(u.slice(n+1,te)),n=te+1}else{const ue=n;for(;n<u.length&&(!Jg(u.charCodeAt(n))&&u.charCodeAt(n)!==93||D(n));)n+=1;B=Ts(u.slice(ue,n))}f(0);const $=u.charCodeAt(n)|32;$===115?(Z=!1,f(1)):$===105&&(Z=!0,f(1))}if(u.charCodeAt(n)!==93)throw new Error("Attribute selector didn't terminate");n+=1;const H={type:he.Attribute,name:v,action:x,value:B,namespace:N,ignoreCase:Z};r.push(H);break}case 58:{if(u.charCodeAt(n+1)===58){r.push({type:he.PseudoElement,name:l(2).toLowerCase(),data:u.charCodeAt(n)===40?h():null});continue}const v=l(1).toLowerCase();let N=null;if(u.charCodeAt(n)===40)if(Yy.has(v)){if(Cd(u.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${v} cannot be quoted`);if(N=[],n=w2(N,u,n+1),u.charCodeAt(n)!==41)throw new Error(`Missing closing parenthesis in :${v} (${u})`);n+=1}else{if(N=h(),Gy.has(v)){const x=N.charCodeAt(0);x===N.charCodeAt(N.length-1)&&Cd(x)&&(N=N.slice(1,-1))}N=Ts(N)}r.push({type:he.Pseudo,name:v,data:N});break}case 44:{T(),r=[],f(1);break}default:{if(u.startsWith("/*",n)){const x=u.indexOf("*/",n+2);if(x<0)throw new Error("Comment was not terminated");n=x+2,r.length===0&&f(0);break}let v=null,N;if(y===42)n+=1,N="*";else if(y===124){if(N="",u.charCodeAt(n+1)===124){p(he.ColumnCombinator),f(2);break}}else if(Wg.test(u.slice(n)))N=l(0);else break e;u.charCodeAt(n)===124&&u.charCodeAt(n+1)!==124&&(v=N,u.charCodeAt(n+1)===42?(N="*",n+=2):N=l(1)),r.push(N==="*"?{type:he.Universal,namespace:v}:{type:he.Tag,name:N,namespace:v})}}}return T(),n}function U2(e,u){return Do(e,u)}function Qy(e,u){return ot(e)?e.children.map(n=>U2(n,u)).join(""):""}function Ic(e){return Array.isArray(e)?e.map(Ic).join(""):me(e)?e.name==="br"?`
|
|
278
|
-
`:Ic(e.children):Vs(e)?Ic(e.children):Iu(e)?e.data:""}function Zc(e){return Array.isArray(e)?e.map(Zc).join(""):ot(e)&&!Qs(e)?Zc(e.children):Iu(e)?e.data:""}function lh(e){return Array.isArray(e)?e.map(lh).join(""):ot(e)&&(e.type===Ge.Tag||Vs(e))?lh(e.children):Iu(e)?e.data:""}function zh(e){return ot(e)?e.children:[]}function P2(e){return e.parent||null}function Xy(e){const u=P2(e);if(u!=null)return zh(u);const n=[e];let{prev:r,next:l}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;l!=null;)n.push(l),{next:l}=l;return n}function Ky(e,u){var n;return(n=e.attribs)===null||n===void 0?void 0:n[u]}function Zy(e,u){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,u)&&e.attribs[u]!=null}function $y(e){return e.name}function Wy(e){let{next:u}=e;for(;u!==null&&!me(u);)({next:u}=u);return u}function Jy(e){let{prev:u}=e;for(;u!==null&&!me(u);)({prev:u}=u);return u}function Xs(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const u=e.parent.children;u.splice(u.lastIndexOf(e),1)}}function eS(e,u){const n=u.prev=e.prev;n&&(n.next=u);const r=u.next=e.next;r&&(r.prev=u);const l=u.parent=e.parent;if(l){const f=l.children;f[f.lastIndexOf(e)]=u,e.parent=null}}function tS(e,u){if(Xs(u),u.next=null,u.parent=e,e.children.push(u)>1){const n=e.children[e.children.length-2];n.next=u,u.prev=n}else u.prev=null}function uS(e,u){Xs(u);const{parent:n}=e,r=e.next;if(u.next=r,u.prev=e,e.next=u,u.parent=n,r){if(r.prev=u,n){const l=n.children;l.splice(l.lastIndexOf(r),0,u)}}else n&&n.children.push(u)}function aS(e,u){if(Xs(u),u.parent=e,u.prev=null,e.children.unshift(u)!==1){const n=e.children[1];n.prev=u,u.next=n}else u.next=null}function nS(e,u){Xs(u);const{parent:n}=e;if(n){const r=n.children;r.splice(r.indexOf(e),0,u)}e.prev&&(e.prev.next=u),u.parent=n,u.prev=e.prev,u.next=e,e.prev=u}function bo(e,u,n=!0,r=1/0){return Array.isArray(u)||(u=[u]),To(e,u,n,r)}function To(e,u,n,r){const l=[];for(const f of u){if(e(f)&&(l.push(f),--r<=0))break;if(n&&ot(f)&&f.children.length>0){const h=To(e,f.children,n,r);if(l.push(...h),r-=h.length,r<=0)break}}return l}function iS(e,u){return u.find(e)}function qh(e,u,n=!0){let r=null;for(let l=0;l<u.length&&!r;l++){const f=u[l];if(me(f))e(f)?r=f:n&&f.children.length>0&&(r=qh(e,f.children,!0));else continue}return r}function H2(e,u){return u.some(n=>me(n)&&(e(n)||n.children.length>0&&H2(e,n.children)))}function rS(e,u){var n;const r=[],l=u.filter(me);let f;for(;f=l.shift();){const h=(n=f.children)===null||n===void 0?void 0:n.filter(me);h&&h.length>0&&l.unshift(...h),e(f)&&r.push(f)}return r}const $c={tag_name(e){return typeof e=="function"?u=>me(u)&&e(u.name):e==="*"?me:u=>me(u)&&u.name===e},tag_type(e){return typeof e=="function"?u=>e(u.type):u=>u.type===e},tag_contains(e){return typeof e=="function"?u=>Iu(u)&&e(u.data):u=>Iu(u)&&u.data===e}};function k2(e,u){return typeof u=="function"?n=>me(n)&&u(n.attribs[e]):n=>me(n)&&n.attribs[e]===u}function sS(e,u){return n=>e(n)||u(n)}function j2(e){const u=Object.keys(e).map(n=>{const r=e[n];return Object.prototype.hasOwnProperty.call($c,n)?$c[n](r):k2(n,r)});return u.length===0?null:u.reduce(sS)}function lS(e,u){const n=j2(e);return n?n(u):!0}function cS(e,u,n,r=1/0){const l=j2(e);return l?bo(l,u,n,r):[]}function oS(e,u,n=!0){return Array.isArray(u)||(u=[u]),qh(k2("id",e),u,n)}function Gi(e,u,n=!0,r=1/0){return bo($c.tag_name(e),u,n,r)}function fS(e,u,n=!0,r=1/0){return bo($c.tag_type(e),u,n,r)}function dS(e){let u=e.length;for(;--u>=0;){const n=e[u];if(u>0&&e.lastIndexOf(n,u-1)>=0){e.splice(u,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(u,1);break}}return e}var Bu;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(Bu||(Bu={}));function z2(e,u){const n=[],r=[];if(e===u)return 0;let l=ot(e)?e:e.parent;for(;l;)n.unshift(l),l=l.parent;for(l=ot(u)?u:u.parent;l;)r.unshift(l),l=l.parent;const f=Math.min(n.length,r.length);let h=0;for(;h<f&&n[h]===r[h];)h++;if(h===0)return Bu.DISCONNECTED;const D=n[h-1],E=D.children,p=n[h],b=r[h];return E.indexOf(p)>E.indexOf(b)?D===u?Bu.FOLLOWING|Bu.CONTAINED_BY:Bu.FOLLOWING:D===e?Bu.PRECEDING|Bu.CONTAINS:Bu.PRECEDING}function q2(e){return e=e.filter((u,n,r)=>!r.includes(u,n+1)),e.sort((u,n)=>{const r=z2(u,n);return r&Bu.PRECEDING?-1:r&Bu.FOLLOWING?1:0}),e}function hS(e){const u=Wc(gS,e);return u?u.name==="feed"?mS(u):ES(u):null}function mS(e){var u;const n=e.children,r={type:"atom",items:Gi("entry",n).map(h=>{var D;const{children:E}=h,p={media:Y2(E)};uu(p,"id","id",E),uu(p,"title","title",E);const b=(D=Wc("link",E))===null||D===void 0?void 0:D.attribs.href;b&&(p.link=b);const T=xn("summary",E)||xn("content",E);T&&(p.description=T);const y=xn("updated",E);return y&&(p.pubDate=new Date(y)),p})};uu(r,"id","id",n),uu(r,"title","title",n);const l=(u=Wc("link",n))===null||u===void 0?void 0:u.attribs.href;l&&(r.link=l),uu(r,"description","subtitle",n);const f=xn("updated",n);return f&&(r.updated=new Date(f)),uu(r,"author","email",n,!0),r}function ES(e){var u,n;const r=(n=(u=Wc("channel",e.children))===null||u===void 0?void 0:u.children)!==null&&n!==void 0?n:[],l={type:e.name.substr(0,3),id:"",items:Gi("item",e.children).map(h=>{const{children:D}=h,E={media:Y2(D)};uu(E,"id","guid",D),uu(E,"title","title",D),uu(E,"link","link",D),uu(E,"description","description",D);const p=xn("pubDate",D);return p&&(E.pubDate=new Date(p)),E})};uu(l,"title","title",r),uu(l,"link","link",r),uu(l,"description","description",r);const f=xn("lastBuildDate",r);return f&&(l.updated=new Date(f)),uu(l,"author","managingEditor",r,!0),l}const DS=["url","type","lang"],pS=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Y2(e){return Gi("media:content",e).map(u=>{const{attribs:n}=u,r={medium:n.medium,isDefault:!!n.isDefault};for(const l of DS)n[l]&&(r[l]=n[l]);for(const l of pS)n[l]&&(r[l]=parseInt(n[l],10));return n.expression&&(r.expression=n.expression),r})}function Wc(e,u){return Gi(e,u,!0,1)[0]}function xn(e,u,n=!1){return Zc(Gi(e,u,n,1)).trim()}function uu(e,u,n,r,l=!1){const f=xn(n,r,l);f&&(e[u]=f)}function gS(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const _o=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Bu},append:uS,appendChild:tS,compareDocumentPosition:z2,existsOne:H2,filter:bo,find:To,findAll:rS,findOne:qh,findOneChild:iS,getAttributeValue:Ky,getChildren:zh,getElementById:oS,getElements:cS,getElementsByTagName:Gi,getElementsByTagType:fS,getFeed:hS,getInnerHTML:Qy,getName:$y,getOuterHTML:U2,getParent:P2,getSiblings:Xy,getText:Ic,hasAttrib:Zy,hasChildren:ot,innerText:lh,isCDATA:Vs,isComment:Qs,isDocument:sn,isTag:me,isText:Iu,nextElementSibling:Wy,prepend:nS,prependChild:aS,prevElementSibling:Jy,removeElement:Xs,removeSubsets:dS,replaceElement:eS,testElement:lS,textContent:Zc,uniqueSort:q2},Symbol.toStringTag,{value:"Module"}));var yd,eb;function bS(){return eb||(eb=1,yd={trueFunc:function(){return!0},falseFunc:function(){return!1}}),yd}var Jc=bS();const Fe=io(Jc),G2=new Map([[he.Universal,50],[he.Tag,30],[he.Attribute,1],[he.Pseudo,0]]);function Yh(e){return!G2.has(e.type)}const TS=new Map([[St.Exists,10],[St.Equals,8],[St.Not,7],[St.Start,6],[St.End,6],[St.Any,5]]);function _S(e){const u=e.map(V2);for(let n=1;n<e.length;n++){const r=u[n];if(!(r<0))for(let l=n-1;l>=0&&r<u[l];l--){const f=e[l+1];e[l+1]=e[l],e[l]=f,u[l+1]=u[l],u[l]=r}}}function V2(e){var u,n;let r=(u=G2.get(e.type))!==null&&u!==void 0?u:-1;return e.type===he.Attribute?(r=(n=TS.get(e.action))!==null&&n!==void 0?n:4,e.action===St.Equals&&e.name==="id"&&(r=9),e.ignoreCase&&(r>>=1)):e.type===he.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?r=0:Array.isArray(e.data)?(r=Math.min(...e.data.map(l=>Math.min(...l.map(V2)))),r<0&&(r=0)):r=2:r=3),r}const AS=/[-[\]{}()*+?.,\\^$|#\s]/g;function tb(e){return e.replace(AS,"\\$&")}const vS=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function Rn(e,u){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!u.quirksMode:!u.xmlMode&&vS.has(e.name)}const CS={equals(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;return Rn(u,n)?(f=f.toLowerCase(),h=>{const D=r.getAttributeValue(h,l);return D!=null&&D.length===f.length&&D.toLowerCase()===f&&e(h)}):h=>r.getAttributeValue(h,l)===f&&e(h)},hyphen(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;const h=f.length;return Rn(u,n)?(f=f.toLowerCase(),function(E){const p=r.getAttributeValue(E,l);return p!=null&&(p.length===h||p.charAt(h)==="-")&&p.substr(0,h).toLowerCase()===f&&e(E)}):function(E){const p=r.getAttributeValue(E,l);return p!=null&&(p.length===h||p.charAt(h)==="-")&&p.substr(0,h)===f&&e(E)}},element(e,u,n){const{adapter:r}=n,{name:l,value:f}=u;if(/\s/.test(f))return Fe.falseFunc;const h=new RegExp(`(?:^|\\s)${tb(f)}(?:$|\\s)`,Rn(u,n)?"i":"");return function(E){const p=r.getAttributeValue(E,l);return p!=null&&p.length>=f.length&&h.test(p)&&e(E)}},exists(e,{name:u},{adapter:n}){return r=>n.hasAttrib(r,u)&&e(r)},start(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;const h=f.length;return h===0?Fe.falseFunc:Rn(u,n)?(f=f.toLowerCase(),D=>{const E=r.getAttributeValue(D,l);return E!=null&&E.length>=h&&E.substr(0,h).toLowerCase()===f&&e(D)}):D=>{var E;return!!(!((E=r.getAttributeValue(D,l))===null||E===void 0)&&E.startsWith(f))&&e(D)}},end(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;const h=-f.length;return h===0?Fe.falseFunc:Rn(u,n)?(f=f.toLowerCase(),D=>{var E;return((E=r.getAttributeValue(D,l))===null||E===void 0?void 0:E.substr(h).toLowerCase())===f&&e(D)}):D=>{var E;return!!(!((E=r.getAttributeValue(D,l))===null||E===void 0)&&E.endsWith(f))&&e(D)}},any(e,u,n){const{adapter:r}=n,{name:l,value:f}=u;if(f==="")return Fe.falseFunc;if(Rn(u,n)){const h=new RegExp(tb(f),"i");return function(E){const p=r.getAttributeValue(E,l);return p!=null&&p.length>=f.length&&h.test(p)&&e(E)}}return h=>{var D;return!!(!((D=r.getAttributeValue(h,l))===null||D===void 0)&&D.includes(f))&&e(h)}},not(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;return f===""?h=>!!r.getAttributeValue(h,l)&&e(h):Rn(u,n)?(f=f.toLowerCase(),h=>{const D=r.getAttributeValue(h,l);return(D==null||D.length!==f.length||D.toLowerCase()!==f)&&e(h)}):h=>r.getAttributeValue(h,l)!==f&&e(h)}},yS=new Set([9,10,12,13,32]),ub=48,SS=57;function NS(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let u=0,n=0,r=f(),l=h();if(u<e.length&&e.charAt(u)==="n"&&(u++,n=r*(l??1),D(),u<e.length?(r=f(),D(),l=h()):r=l=0),l===null||u<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*l];function f(){return e.charAt(u)==="-"?(u++,-1):(e.charAt(u)==="+"&&u++,1)}function h(){const E=u;let p=0;for(;u<e.length&&e.charCodeAt(u)>=ub&&e.charCodeAt(u)<=SS;)p=p*10+(e.charCodeAt(u)-ub),u++;return u===E?null:p}function D(){for(;u<e.length&&yS.has(e.charCodeAt(u));)u++}}function RS(e){const u=e[0],n=e[1]-1;if(n<0&&u<=0)return Fe.falseFunc;if(u===-1)return f=>f<=n;if(u===0)return f=>f===n;if(u===1)return n<0?Fe.trueFunc:f=>f>=n;const r=Math.abs(u),l=(n%r+r)%r;return u>1?f=>f>=n&&f%r===l:f=>f<=n&&f%r===l}function Nc(e){return RS(NS(e))}function Rc(e,u){return n=>{const r=u.getParent(n);return r!=null&&u.isTag(r)&&e(n)}}const ch={contains(e,u,{adapter:n}){return function(l){return e(l)&&n.getText(l).includes(u)}},icontains(e,u,{adapter:n}){const r=u.toLowerCase();return function(f){return e(f)&&n.getText(f).toLowerCase().includes(r)}},"nth-child"(e,u,{adapter:n,equals:r}){const l=Nc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Rc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=0;p<D.length&&!r(h,D[p]);p++)n.isTag(D[p])&&E++;return l(E)&&e(h)}},"nth-last-child"(e,u,{adapter:n,equals:r}){const l=Nc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Rc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=D.length-1;p>=0&&!r(h,D[p]);p--)n.isTag(D[p])&&E++;return l(E)&&e(h)}},"nth-of-type"(e,u,{adapter:n,equals:r}){const l=Nc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Rc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=0;p<D.length;p++){const b=D[p];if(r(h,b))break;n.isTag(b)&&n.getName(b)===n.getName(h)&&E++}return l(E)&&e(h)}},"nth-last-of-type"(e,u,{adapter:n,equals:r}){const l=Nc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Rc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=D.length-1;p>=0;p--){const b=D[p];if(r(h,b))break;n.isTag(b)&&n.getName(b)===n.getName(h)&&E++}return l(E)&&e(h)}},root(e,u,{adapter:n}){return r=>{const l=n.getParent(r);return(l==null||!n.isTag(l))&&e(r)}},scope(e,u,n,r){const{equals:l}=n;return!r||r.length===0?ch.root(e,u,n):r.length===1?f=>l(r[0],f)&&e(f):f=>r.includes(f)&&e(f)},hover:Sd("isHovered"),visited:Sd("isVisited"),active:Sd("isActive")};function Sd(e){return function(n,r,{adapter:l}){const f=l[e];return typeof f!="function"?Fe.falseFunc:function(D){return f(D)&&n(D)}}}const ab={empty(e,{adapter:u}){return!u.getChildren(e).some(n=>u.isTag(n)||u.getText(n)!=="")},"first-child"(e,{adapter:u,equals:n}){if(u.prevElementSibling)return u.prevElementSibling(e)==null;const r=u.getSiblings(e).find(l=>u.isTag(l));return r!=null&&n(e,r)},"last-child"(e,{adapter:u,equals:n}){const r=u.getSiblings(e);for(let l=r.length-1;l>=0;l--){if(n(e,r[l]))return!0;if(u.isTag(r[l]))break}return!1},"first-of-type"(e,{adapter:u,equals:n}){const r=u.getSiblings(e),l=u.getName(e);for(let f=0;f<r.length;f++){const h=r[f];if(n(e,h))return!0;if(u.isTag(h)&&u.getName(h)===l)break}return!1},"last-of-type"(e,{adapter:u,equals:n}){const r=u.getSiblings(e),l=u.getName(e);for(let f=r.length-1;f>=0;f--){const h=r[f];if(n(e,h))return!0;if(u.isTag(h)&&u.getName(h)===l)break}return!1},"only-of-type"(e,{adapter:u,equals:n}){const r=u.getName(e);return u.getSiblings(e).every(l=>n(e,l)||!u.isTag(l)||u.getName(l)!==r)},"only-child"(e,{adapter:u,equals:n}){return u.getSiblings(e).every(r=>n(e,r)||!u.isTag(r))}};function nb(e,u,n,r){if(n===null){if(e.length>r)throw new Error(`Pseudo-class :${u} requires an argument`)}else if(e.length===r)throw new Error(`Pseudo-class :${u} doesn't have any arguments`)}const OS={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
|
|
277
|
+
`,xC=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,LC=Object.freeze(Object.defineProperty({__proto__:null,default:xC},Symbol.toStringTag,{value:"Module"})),BC=ph(LC);var Ge;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(Ge||(Ge={}));function MC(e){return e.type===Ge.Tag||e.type===Ge.Script||e.type===Ge.Style}const Mh=Ge.Root,p2=Ge.Text,IC=Ge.Directive,g2=Ge.Comment,wC=Ge.Script,UC=Ge.Style,th=Ge.Tag,PC=Ge.CDATA,HC=Ge.Doctype;class b2{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(u){this.parent=u}get previousSibling(){return this.prev}set previousSibling(u){this.prev=u}get nextSibling(){return this.next}set nextSibling(u){this.next=u}cloneNode(u=!1){return Us(this,u)}}class Ih extends b2{constructor(u){super(),this.data=u}get nodeValue(){return this.data}set nodeValue(u){this.data=u}}class ws extends Ih{constructor(){super(...arguments),this.type=Ge.Text}get nodeType(){return 3}}class wh extends Ih{constructor(){super(...arguments),this.type=Ge.Comment}get nodeType(){return 8}}class Uh extends Ih{constructor(u,n){super(n),this.name=u,this.type=Ge.Directive}get nodeType(){return 1}}class Ph extends b2{constructor(u){super(),this.children=u}get firstChild(){var u;return(u=this.children[0])!==null&&u!==void 0?u:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(u){this.children=u}}class T2 extends Ph{constructor(){super(...arguments),this.type=Ge.CDATA}get nodeType(){return 4}}class In extends Ph{constructor(){super(...arguments),this.type=Ge.Root}get nodeType(){return 9}}class Hh extends Ph{constructor(u,n,r=[],l=u==="script"?Ge.Script:u==="style"?Ge.Style:Ge.Tag){super(r),this.name=u,this.attribs=n,this.type=l}get nodeType(){return 1}get tagName(){return this.name}set tagName(u){this.name=u}get attributes(){return Object.keys(this.attribs).map(u=>{var n,r;return{name:u,value:this.attribs[u],namespace:(n=this["x-attribsNamespace"])===null||n===void 0?void 0:n[u],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[u]}})}}function me(e){return MC(e)}function Qs(e){return e.type===Ge.CDATA}function Iu(e){return e.type===Ge.Text}function Xs(e){return e.type===Ge.Comment}function uh(e){return e.type===Ge.Directive}function sn(e){return e.type===Ge.Root}function ot(e){return Object.prototype.hasOwnProperty.call(e,"children")}function Us(e,u=!1){let n;if(Iu(e))n=new ws(e.data);else if(Xs(e))n=new wh(e.data);else if(me(e)){const r=u?Td(e.children):[],l=new Hh(e.name,{...e.attribs},r);r.forEach(f=>f.parent=l),e.namespace!=null&&(l.namespace=e.namespace),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=l}else if(Qs(e)){const r=u?Td(e.children):[],l=new T2(r);r.forEach(f=>f.parent=l),n=l}else if(sn(e)){const r=u?Td(e.children):[],l=new In(r);r.forEach(f=>f.parent=l),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else if(uh(e)){const r=new Uh(e.name,e.data);e["x-name"]!=null&&(r["x-name"]=e["x-name"],r["x-publicId"]=e["x-publicId"],r["x-systemId"]=e["x-systemId"]),n=r}else throw new Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Td(e){const u=e.map(n=>Us(n,!0));for(let n=1;n<u.length;n++)u[n].prev=u[n-1],u[n-1].next=u[n];return u}const kg={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class kC{constructor(u,n,r){this.dom=[],this.root=new In(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof n=="function"&&(r=n,n=kg),typeof u=="object"&&(n=u,u=void 0),this.callback=u??null,this.options=n??kg,this.elementCB=r??null}onparserinit(u){this.parser=u}onreset(){this.dom=[],this.root=new In(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(u){this.handleCallback(u)}onclosetag(){this.lastNode=null;const u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)}onopentag(u,n){const r=this.options.xmlMode?Ge.Tag:void 0,l=new Hh(u,n,void 0,r);this.addNode(l),this.tagStack.push(l)}ontext(u){const{lastNode:n}=this;if(n&&n.type===Ge.Text)n.data+=u,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{const r=new ws(u);this.addNode(r),this.lastNode=r}}oncomment(u){if(this.lastNode&&this.lastNode.type===Ge.Comment){this.lastNode.data+=u;return}const n=new wh(u);this.addNode(n),this.lastNode=n}oncommentend(){this.lastNode=null}oncdatastart(){const u=new ws(""),n=new T2([u]);this.addNode(n),u.parent=n,this.lastNode=u}oncdataend(){this.lastNode=null}onprocessinginstruction(u,n){const r=new Uh(u,n);this.addNode(r)}handleCallback(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u}addNode(u){const n=this.tagStack[this.tagStack.length-1],r=n.children[n.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),n.children.push(u),r&&(u.prev=r,r.next=u),u.parent=n,this.lastNode=null}}const jg=/["&'<>$\x80-\uFFFF]/g,jC=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),zC=String.prototype.codePointAt!=null?(e,u)=>e.codePointAt(u):(e,u)=>(e.charCodeAt(u)&64512)===55296?(e.charCodeAt(u)-55296)*1024+e.charCodeAt(u+1)-56320+65536:e.charCodeAt(u);function _2(e){let u="",n=0,r;for(;(r=jg.exec(e))!==null;){const l=r.index,f=e.charCodeAt(l),h=jC.get(f);h!==void 0?(u+=e.substring(n,l)+h,n=l+1):(u+=`${e.substring(n,l)}&#x${zC(e,l).toString(16)};`,n=jg.lastIndex+=+((f&64512)===55296))}return u+e.substr(n)}function A2(e,u){return function(r){let l,f=0,h="";for(;l=e.exec(r);)f!==l.index&&(h+=r.substring(f,l.index)),h+=u.get(l[0].charCodeAt(0)),f=l.index+1;return h+r.substring(f)}}const qC=A2(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),YC=A2(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),GC=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),VC=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),QC=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function XC(e){return e.replace(/"/g,""")}function KC(e,u){var n;if(!e)return;const r=((n=u.encodeEntities)!==null&&n!==void 0?n:u.decodeEntities)===!1?XC:u.xmlMode||u.encodeEntities!=="utf8"?_2:qC;return Object.keys(e).map(l=>{var f,h;const D=(f=e[l])!==null&&f!==void 0?f:"";return u.xmlMode==="foreign"&&(l=(h=VC.get(l))!==null&&h!==void 0?h:l),!u.emptyAttrs&&!u.xmlMode&&D===""?l:`${l}="${r(D)}"`}).join(" ")}const zg=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Do(e,u={}){const n="length"in e?e:[e];let r="";for(let l=0;l<n.length;l++)r+=ZC(n[l],u);return r}function ZC(e,u){switch(e.type){case Mh:return Do(e.children,u);case HC:case IC:return ey(e);case g2:return ay(e);case PC:return uy(e);case wC:case UC:case th:return JC(e,u);case p2:return ty(e,u)}}const $C=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),WC=new Set(["svg","math"]);function JC(e,u){var n;u.xmlMode==="foreign"&&(e.name=(n=GC.get(e.name))!==null&&n!==void 0?n:e.name,e.parent&&$C.has(e.parent.name)&&(u={...u,xmlMode:!1})),!u.xmlMode&&WC.has(e.name)&&(u={...u,xmlMode:"foreign"});let r=`<${e.name}`;const l=KC(e.attribs,u);return l&&(r+=` ${l}`),e.children.length===0&&(u.xmlMode?u.selfClosingTags!==!1:u.selfClosingTags&&zg.has(e.name))?(u.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=Do(e.children,u)),(u.xmlMode||!zg.has(e.name))&&(r+=`</${e.name}>`)),r}function ey(e){return`<${e.data}>`}function ty(e,u){var n;let r=e.data||"";return((n=u.encodeEntities)!==null&&n!==void 0?n:u.decodeEntities)!==!1&&!(!u.xmlMode&&e.parent&&QC.has(e.parent.name))&&(r=u.xmlMode||u.encodeEntities!=="utf8"?_2(r):YC(r)),r}function uy(e){return`<![CDATA[${e.children[0].data}]]>`}function ay(e){return`<!--${e.data}-->`}function Qc(e){return Array.isArray(e)?e.map(Qc).join(""):ot(e)&&!Xs(e)?Qc(e.children):Iu(e)?e.data:""}function ah(e){return Array.isArray(e)?e.map(ah).join(""):ot(e)&&(e.type===Ge.Tag||Qs(e))?ah(e.children):Iu(e)?e.data:""}function v2(e){return ot(e)?e.children:[]}function ny(e){return e.parent||null}function iy(e){const u=ny(e);if(u!=null)return v2(u);const n=[e];let{prev:r,next:l}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;l!=null;)n.push(l),{next:l}=l;return n}function C2(e){let{next:u}=e;for(;u!==null&&!me(u);)({next:u}=u);return u}function y2(e){let{prev:u}=e;for(;u!==null&&!me(u);)({prev:u}=u);return u}function S2(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const u=e.parent.children,n=u.lastIndexOf(e);n>=0&&u.splice(n,1)}e.next=null,e.prev=null,e.parent=null}var ju;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(ju||(ju={}));function ry(e,u){const n=[],r=[];if(e===u)return 0;let l=ot(e)?e:e.parent;for(;l;)n.unshift(l),l=l.parent;for(l=ot(u)?u:u.parent;l;)r.unshift(l),l=l.parent;const f=Math.min(n.length,r.length);let h=0;for(;h<f&&n[h]===r[h];)h++;if(h===0)return ju.DISCONNECTED;const D=n[h-1],E=D.children,p=n[h],b=r[h];return E.indexOf(p)>E.indexOf(b)?D===u?ju.FOLLOWING|ju.CONTAINED_BY:ju.FOLLOWING:D===e?ju.PRECEDING|ju.CONTAINS:ju.PRECEDING}function po(e){return e=e.filter((u,n,r)=>!r.includes(u,n+1)),e.sort((u,n)=>{const r=ry(u,n);return r&ju.PRECEDING?-1:r&ju.FOLLOWING?1:0}),e}const sy={_useHtmlParser2:!1};function nh(e,u){if(!e)return u??sy;const n={_useHtmlParser2:!!e.xmlMode,...u,...e};return e.xml?(n._useHtmlParser2=!0,n.xmlMode=!0,e.xml!==!0&&Object.assign(n,e.xml)):e.xmlMode&&(n._useHtmlParser2=!0),n}function N2(e,u,n){return e?e(u??e._root.children,null,void 0,n).toString():""}function ly(e,u){return typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function cy(e,u){const n=ly(e)?(u=e,void 0):e,r={...this===null||this===void 0?void 0:this._options,...nh(u)};return N2(this,n,r)}function oy(e){const u={...this._options,xmlMode:!0};return N2(this,e,u)}function Ps(e){const u=e??(this?this.root():[]);let n="";for(let r=0;r<u.length;r++)n+=Qc(u[r]);return n}function fy(e,u,n=typeof u=="boolean"?u:!1){if(!e||typeof e!="string")return null;typeof u=="boolean"&&(n=u);const r=this.load(e,this._options,!1);return n||r("script").remove(),[...r.root()[0].children]}function dy(){return this(this._root)}function kh(e,u){if(u===e)return!1;let n=u;for(;n&&n!==n.parent;)if(n=n.parent,n===e)return!0;return!1}function hy(e){return this.root().extract(e)}function R2(e,u){if(!qg(e)||!qg(u))return;let n=e.length;const r=+u.length;for(let l=0;l<r;l++)e[n++]=u[l];return e.length=n,e}function qg(e){if(Array.isArray(e))return!0;if(typeof e!="object"||e===null||!("length"in e)||typeof e.length!="number"||e.length<0)return!1;for(let u=0;u<e.length;u++)if(!(u in e))return!1;return!0}const my=Object.freeze(Object.defineProperty({__proto__:null,contains:kh,extract:hy,html:cy,merge:R2,parseHTML:fy,root:dy,text:Ps,xml:oy},Symbol.toStringTag,{value:"Module"}));function Aa(e){return e.cheerio!=null}function Ey(e){return e.replace(/[._-](\w|$)/g,(u,n)=>n.toUpperCase())}function Dy(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function ft(e,u){const n=e.length;for(let r=0;r<n;r++)u(e[r],r);return e}var On;(function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"})(On||(On={}));function ih(e){const u=e.indexOf("<");if(u===-1||u>e.length-3)return!1;const n=e.charCodeAt(u+1);return(n>=On.LowerA&&n<=On.LowerZ||n>=On.UpperA&&n<=On.UpperZ||n===On.Exclamation)&&e.includes(">",u+2)}const O2=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),py=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var _d;const gy=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Yg=(_d=String.fromCodePoint)!==null&&_d!==void 0?_d:function(e){let u="";return e>65535&&(e-=65536,u+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),u+=String.fromCharCode(e),u};function by(e){var u;return e>=55296&&e<=57343||e>1114111?65533:(u=gy.get(e))!==null&&u!==void 0?u:e}var xt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(xt||(xt={}));const Ty=32;var an;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(an||(an={}));function rh(e){return e>=xt.ZERO&&e<=xt.NINE}function _y(e){return e>=xt.UPPER_A&&e<=xt.UPPER_F||e>=xt.LOWER_A&&e<=xt.LOWER_F}function Ay(e){return e>=xt.UPPER_A&&e<=xt.UPPER_Z||e>=xt.LOWER_A&&e<=xt.LOWER_Z||rh(e)}function vy(e){return e===xt.EQUALS||Ay(e)}var Ot;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ot||(Ot={}));var Mu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Mu||(Mu={}));class F2{constructor(u,n,r){this.decodeTree=u,this.emitCodePoint=n,this.errors=r,this.state=Ot.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mu.Strict}startEntity(u){this.decodeMode=u,this.state=Ot.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(u,n){switch(this.state){case Ot.EntityStart:return u.charCodeAt(n)===xt.NUM?(this.state=Ot.NumericStart,this.consumed+=1,this.stateNumericStart(u,n+1)):(this.state=Ot.NamedEntity,this.stateNamedEntity(u,n));case Ot.NumericStart:return this.stateNumericStart(u,n);case Ot.NumericDecimal:return this.stateNumericDecimal(u,n);case Ot.NumericHex:return this.stateNumericHex(u,n);case Ot.NamedEntity:return this.stateNamedEntity(u,n)}}stateNumericStart(u,n){return n>=u.length?-1:(u.charCodeAt(n)|Ty)===xt.LOWER_X?(this.state=Ot.NumericHex,this.consumed+=1,this.stateNumericHex(u,n+1)):(this.state=Ot.NumericDecimal,this.stateNumericDecimal(u,n))}addToNumericResult(u,n,r,l){if(n!==r){const f=r-n;this.result=this.result*Math.pow(l,f)+Number.parseInt(u.substr(n,f),l),this.consumed+=f}}stateNumericHex(u,n){const r=n;for(;n<u.length;){const l=u.charCodeAt(n);if(rh(l)||_y(l))n+=1;else return this.addToNumericResult(u,r,n,16),this.emitNumericEntity(l,3)}return this.addToNumericResult(u,r,n,16),-1}stateNumericDecimal(u,n){const r=n;for(;n<u.length;){const l=u.charCodeAt(n);if(rh(l))n+=1;else return this.addToNumericResult(u,r,n,10),this.emitNumericEntity(l,2)}return this.addToNumericResult(u,r,n,10),-1}emitNumericEntity(u,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(u===xt.SEMI)this.consumed+=1;else if(this.decodeMode===Mu.Strict)return 0;return this.emitCodePoint(by(this.result),this.consumed),this.errors&&(u!==xt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(u,n){const{decodeTree:r}=this;let l=r[this.treeIndex],f=(l&an.VALUE_LENGTH)>>14;for(;n<u.length;n++,this.excess++){const h=u.charCodeAt(n);if(this.treeIndex=Cy(r,l,this.treeIndex+Math.max(1,f),h),this.treeIndex<0)return this.result===0||this.decodeMode===Mu.Attribute&&(f===0||vy(h))?0:this.emitNotTerminatedNamedEntity();if(l=r[this.treeIndex],f=(l&an.VALUE_LENGTH)>>14,f!==0){if(h===xt.SEMI)return this.emitNamedEntityData(this.treeIndex,f,this.consumed+this.excess);this.decodeMode!==Mu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var u;const{result:n,decodeTree:r}=this,l=(r[n]&an.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,l,this.consumed),(u=this.errors)===null||u===void 0||u.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(u,n,r){const{decodeTree:l}=this;return this.emitCodePoint(n===1?l[u]&~an.VALUE_LENGTH:l[u+1],r),n===3&&this.emitCodePoint(l[u+2],r),r}end(){var u;switch(this.state){case Ot.NamedEntity:return this.result!==0&&(this.decodeMode!==Mu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ot.NumericDecimal:return this.emitNumericEntity(0,2);case Ot.NumericHex:return this.emitNumericEntity(0,3);case Ot.NumericStart:return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ot.EntityStart:return 0}}}function Cy(e,u,n,r){const l=(u&an.BRANCH_LENGTH)>>7,f=u&an.JUMP_TABLE;if(l===0)return f!==0&&r===f?n:-1;if(f){const E=r-f;return E<0||E>=l?-1:e[n+E]-1}let h=n,D=h+l-1;for(;h<=D;){const E=h+D>>>1,p=e[E];if(p<r)h=E+1;else if(p>r)D=E-1;else return e[E+l]}return-1}var De;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(De||(De={}));var J;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(J||(J={}));function ga(e){return e===De.Space||e===De.NewLine||e===De.Tab||e===De.FormFeed||e===De.CarriageReturn}function Nc(e){return e===De.Slash||e===De.Gt||ga(e)}function yy(e){return e>=De.LowerA&&e<=De.LowerZ||e>=De.UpperA&&e<=De.UpperZ}var Wu;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Wu||(Wu={}));const At={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};let Sy=class{constructor({xmlMode:u=!1,decodeEntities:n=!0},r){this.cbs=r,this.state=J.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=J.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=u,this.decodeEntities=n,this.entityDecoder=new F2(u?py:O2,(l,f)=>this.emitCodePoint(l,f))}reset(){this.state=J.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=J.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(u){this.offset+=this.buffer.length,this.buffer=u,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(u){u===De.Lt||!this.decodeEntities&&this.fastForwardTo(De.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=J.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&u===De.Amp&&this.startEntity()}stateSpecialStartSequence(u){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Nc(u):(u|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=J.InTagName,this.stateInTagName(u)}stateInSpecialTag(u){if(this.sequenceIndex===this.currentSequence.length){if(u===De.Gt||ga(u)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(u);return}this.sequenceIndex=0}(u|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===At.TitleEnd?this.decodeEntities&&u===De.Amp&&this.startEntity():this.fastForwardTo(De.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(u===De.Lt)}stateCDATASequence(u){u===At.Cdata[this.sequenceIndex]?++this.sequenceIndex===At.Cdata.length&&(this.state=J.InCommentLike,this.currentSequence=At.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=J.InDeclaration,this.stateInDeclaration(u))}fastForwardTo(u){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===u)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(u){u===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===At.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=J.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):u!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(u){return this.xmlMode?!Nc(u):yy(u)}startSpecial(u,n){this.isSpecial=!0,this.currentSequence=u,this.sequenceIndex=n,this.state=J.SpecialStartSequence}stateBeforeTagName(u){if(u===De.ExclamationMark)this.state=J.BeforeDeclaration,this.sectionStart=this.index+1;else if(u===De.Questionmark)this.state=J.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(u)){const n=u|32;this.sectionStart=this.index,this.xmlMode?this.state=J.InTagName:n===At.ScriptEnd[2]?this.state=J.BeforeSpecialS:n===At.TitleEnd[2]||n===At.XmpEnd[2]?this.state=J.BeforeSpecialT:this.state=J.InTagName}else u===De.Slash?this.state=J.BeforeClosingTagName:(this.state=J.Text,this.stateText(u))}stateInTagName(u){Nc(u)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u))}stateBeforeClosingTagName(u){ga(u)||(u===De.Gt?this.state=J.Text:(this.state=this.isTagStartChar(u)?J.InClosingTagName:J.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(u){(u===De.Gt||ga(u))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=J.AfterClosingTagName,this.stateAfterClosingTagName(u))}stateAfterClosingTagName(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.state=J.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(u){u===De.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=J.InSpecialTag,this.sequenceIndex=0):this.state=J.Text,this.sectionStart=this.index+1):u===De.Slash?this.state=J.InSelfClosingTag:ga(u)||(this.state=J.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(u){u===De.Gt?(this.cbs.onselfclosingtag(this.index),this.state=J.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ga(u)||(this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u))}stateInAttributeName(u){(u===De.Eq||Nc(u))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=J.AfterAttributeName,this.stateAfterAttributeName(u))}stateAfterAttributeName(u){u===De.Eq?this.state=J.BeforeAttributeValue:u===De.Slash||u===De.Gt?(this.cbs.onattribend(Wu.NoValue,this.sectionStart),this.sectionStart=-1,this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u)):ga(u)||(this.cbs.onattribend(Wu.NoValue,this.sectionStart),this.state=J.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(u){u===De.DoubleQuote?(this.state=J.InAttributeValueDq,this.sectionStart=this.index+1):u===De.SingleQuote?(this.state=J.InAttributeValueSq,this.sectionStart=this.index+1):ga(u)||(this.sectionStart=this.index,this.state=J.InAttributeValueNq,this.stateInAttributeValueNoQuotes(u))}handleInAttributeValue(u,n){u===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===De.DoubleQuote?Wu.Double:Wu.Single,this.index+1),this.state=J.BeforeAttributeName):this.decodeEntities&&u===De.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(u){this.handleInAttributeValue(u,De.DoubleQuote)}stateInAttributeValueSingleQuotes(u){this.handleInAttributeValue(u,De.SingleQuote)}stateInAttributeValueNoQuotes(u){ga(u)||u===De.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Wu.Unquoted,this.index),this.state=J.BeforeAttributeName,this.stateBeforeAttributeName(u)):this.decodeEntities&&u===De.Amp&&this.startEntity()}stateBeforeDeclaration(u){u===De.OpeningSquareBracket?(this.state=J.CDATASequence,this.sequenceIndex=0):this.state=u===De.Dash?J.BeforeComment:J.InDeclaration}stateInDeclaration(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=J.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=J.Text,this.sectionStart=this.index+1)}stateBeforeComment(u){u===De.Dash?(this.state=J.InCommentLike,this.currentSequence=At.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=J.InDeclaration}stateInSpecialComment(u){(u===De.Gt||this.fastForwardTo(De.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=J.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(u){const n=u|32;n===At.ScriptEnd[3]?this.startSpecial(At.ScriptEnd,4):n===At.StyleEnd[3]?this.startSpecial(At.StyleEnd,4):(this.state=J.InTagName,this.stateInTagName(u))}stateBeforeSpecialT(u){switch(u|32){case At.TitleEnd[3]:{this.startSpecial(At.TitleEnd,4);break}case At.TextareaEnd[3]:{this.startSpecial(At.TextareaEnd,4);break}case At.XmpEnd[3]:{this.startSpecial(At.XmpEnd,4);break}default:this.state=J.InTagName,this.stateInTagName(u)}}startEntity(){this.baseState=this.state,this.state=J.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Mu.Strict:this.baseState===J.Text||this.baseState===J.InSpecialTag?Mu.Legacy:Mu.Attribute)}stateInEntity(){const u=this.entityDecoder.write(this.buffer,this.index-this.offset);u>=0?(this.state=this.baseState,u===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===J.Text||this.state===J.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===J.InAttributeValueDq||this.state===J.InAttributeValueSq||this.state===J.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const u=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case J.Text:{this.stateText(u);break}case J.SpecialStartSequence:{this.stateSpecialStartSequence(u);break}case J.InSpecialTag:{this.stateInSpecialTag(u);break}case J.CDATASequence:{this.stateCDATASequence(u);break}case J.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(u);break}case J.InAttributeName:{this.stateInAttributeName(u);break}case J.InCommentLike:{this.stateInCommentLike(u);break}case J.InSpecialComment:{this.stateInSpecialComment(u);break}case J.BeforeAttributeName:{this.stateBeforeAttributeName(u);break}case J.InTagName:{this.stateInTagName(u);break}case J.InClosingTagName:{this.stateInClosingTagName(u);break}case J.BeforeTagName:{this.stateBeforeTagName(u);break}case J.AfterAttributeName:{this.stateAfterAttributeName(u);break}case J.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(u);break}case J.BeforeAttributeValue:{this.stateBeforeAttributeValue(u);break}case J.BeforeClosingTagName:{this.stateBeforeClosingTagName(u);break}case J.AfterClosingTagName:{this.stateAfterClosingTagName(u);break}case J.BeforeSpecialS:{this.stateBeforeSpecialS(u);break}case J.BeforeSpecialT:{this.stateBeforeSpecialT(u);break}case J.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(u);break}case J.InSelfClosingTag:{this.stateInSelfClosingTag(u);break}case J.InDeclaration:{this.stateInDeclaration(u);break}case J.BeforeDeclaration:{this.stateBeforeDeclaration(u);break}case J.BeforeComment:{this.stateBeforeComment(u);break}case J.InProcessingInstruction:{this.stateInProcessingInstruction(u);break}case J.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===J.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const u=this.buffer.length+this.offset;this.sectionStart>=u||(this.state===J.InCommentLike?this.currentSequence===At.CdataEnd?this.cbs.oncdata(this.sectionStart,u,0):this.cbs.oncomment(this.sectionStart,u,0):this.state===J.InTagName||this.state===J.BeforeAttributeName||this.state===J.BeforeAttributeValue||this.state===J.AfterAttributeName||this.state===J.InAttributeName||this.state===J.InAttributeValueSq||this.state===J.InAttributeValueDq||this.state===J.InAttributeValueNq||this.state===J.InClosingTagName||this.cbs.ontext(this.sectionStart,u))}emitCodePoint(u,n){this.baseState!==J.Text&&this.baseState!==J.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.onattribentity(u)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+n,this.index=this.sectionStart-1,this.cbs.ontextentity(u,this.sectionStart))}};const Si=new Set(["input","option","optgroup","select","button","datalist","textarea"]),tt=new Set(["p"]),Gg=new Set(["thead","tbody"]),Vg=new Set(["dd","dt"]),Qg=new Set(["rt","rp"]),Ny=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",tt],["h1",tt],["h2",tt],["h3",tt],["h4",tt],["h5",tt],["h6",tt],["select",Si],["input",Si],["output",Si],["button",Si],["datalist",Si],["textarea",Si],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Vg],["dt",Vg],["address",tt],["article",tt],["aside",tt],["blockquote",tt],["details",tt],["div",tt],["dl",tt],["fieldset",tt],["figcaption",tt],["figure",tt],["footer",tt],["form",tt],["header",tt],["hr",tt],["main",tt],["nav",tt],["ol",tt],["pre",tt],["section",tt],["table",tt],["ul",tt],["rt",Qg],["rp",Qg],["tbody",Gg],["tfoot",Gg]]),Ry=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Xg=new Set(["math","svg"]),Kg=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Oy=/\s|\//;let Fy=class{constructor(u,n={}){var r,l,f,h,D,E;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=u??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(r=n.lowerCaseTags)!==null&&r!==void 0?r:this.htmlMode,this.lowerCaseAttributeNames=(l=n.lowerCaseAttributeNames)!==null&&l!==void 0?l:this.htmlMode,this.recognizeSelfClosing=(f=n.recognizeSelfClosing)!==null&&f!==void 0?f:!this.htmlMode,this.tokenizer=new((h=n.Tokenizer)!==null&&h!==void 0?h:Sy)(this.options,this),this.foreignContext=[!this.htmlMode],(E=(D=this.cbs).onparserinit)===null||E===void 0||E.call(D,this)}ontext(u,n){var r,l;const f=this.getSlice(u,n);this.endIndex=n-1,(l=(r=this.cbs).ontext)===null||l===void 0||l.call(r,f),this.startIndex=n}ontextentity(u,n){var r,l;this.endIndex=n-1,(l=(r=this.cbs).ontext)===null||l===void 0||l.call(r,Yg(u)),this.startIndex=n}isVoidElement(u){return this.htmlMode&&Ry.has(u)}onopentagname(u,n){this.endIndex=n;let r=this.getSlice(u,n);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(u){var n,r,l,f;this.openTagStart=this.startIndex,this.tagname=u;const h=this.htmlMode&&Ny.get(u);if(h)for(;this.stack.length>0&&h.has(this.stack[0]);){const D=this.stack.shift();(r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,D,!0)}this.isVoidElement(u)||(this.stack.unshift(u),this.htmlMode&&(Xg.has(u)?this.foreignContext.unshift(!0):Kg.has(u)&&this.foreignContext.unshift(!1))),(f=(l=this.cbs).onopentagname)===null||f===void 0||f.call(l,u),this.cbs.onopentag&&(this.attribs={})}endOpenTag(u){var n,r;this.startIndex=this.openTagStart,this.attribs&&((r=(n=this.cbs).onopentag)===null||r===void 0||r.call(n,this.tagname,this.attribs,u),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(u){this.endIndex=u,this.endOpenTag(!1),this.startIndex=u+1}onclosetag(u,n){var r,l,f,h,D,E,p,b;this.endIndex=n;let T=this.getSlice(u,n);if(this.lowerCaseTagNames&&(T=T.toLowerCase()),this.htmlMode&&(Xg.has(T)||Kg.has(T))&&this.foreignContext.shift(),this.isVoidElement(T))this.htmlMode&&T==="br"&&((h=(f=this.cbs).onopentagname)===null||h===void 0||h.call(f,"br"),(E=(D=this.cbs).onopentag)===null||E===void 0||E.call(D,"br",{},!0),(b=(p=this.cbs).onclosetag)===null||b===void 0||b.call(p,"br",!1));else{const y=this.stack.indexOf(T);if(y!==-1)for(let v=0;v<=y;v++){const N=this.stack.shift();(l=(r=this.cbs).onclosetag)===null||l===void 0||l.call(r,N,v!==y)}else this.htmlMode&&T==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1}onselfclosingtag(u){this.endIndex=u,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=u+1):this.onopentagend(u)}closeCurrentTag(u){var n,r;const l=this.tagname;this.endOpenTag(u),this.stack[0]===l&&((r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,l,!u),this.stack.shift())}onattribname(u,n){this.startIndex=u;const r=this.getSlice(u,n);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(u,n){this.attribvalue+=this.getSlice(u,n)}onattribentity(u){this.attribvalue+=Yg(u)}onattribend(u,n){var r,l;this.endIndex=n,(l=(r=this.cbs).onattribute)===null||l===void 0||l.call(r,this.attribname,this.attribvalue,u===Wu.Double?'"':u===Wu.Single?"'":u===Wu.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(u){const n=u.search(Oy);let r=n<0?u:u.substr(0,n);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(u,n){this.endIndex=n;const r=this.getSlice(u,n);if(this.cbs.onprocessinginstruction){const l=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${l}`,`!${r}`)}this.startIndex=n+1}onprocessinginstruction(u,n){this.endIndex=n;const r=this.getSlice(u,n);if(this.cbs.onprocessinginstruction){const l=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${l}`,`?${r}`)}this.startIndex=n+1}oncomment(u,n,r){var l,f,h,D;this.endIndex=n,(f=(l=this.cbs).oncomment)===null||f===void 0||f.call(l,this.getSlice(u,n-r)),(D=(h=this.cbs).oncommentend)===null||D===void 0||D.call(h),this.startIndex=n+1}oncdata(u,n,r){var l,f,h,D,E,p,b,T,y,v;this.endIndex=n;const N=this.getSlice(u,n-r);!this.htmlMode||this.options.recognizeCDATA?((f=(l=this.cbs).oncdatastart)===null||f===void 0||f.call(l),(D=(h=this.cbs).ontext)===null||D===void 0||D.call(h,N),(p=(E=this.cbs).oncdataend)===null||p===void 0||p.call(E)):((T=(b=this.cbs).oncomment)===null||T===void 0||T.call(b,`[CDATA[${N}]]`),(v=(y=this.cbs).oncommentend)===null||v===void 0||v.call(y)),this.startIndex=n+1}onend(){var u,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=0;r<this.stack.length;r++)this.cbs.onclosetag(this.stack[r],!0)}(n=(u=this.cbs).onend)===null||n===void 0||n.call(u)}reset(){var u,n,r,l;(n=(u=this.cbs).onreset)===null||n===void 0||n.call(u),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(l=(r=this.cbs).onparserinit)===null||l===void 0||l.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(u){this.reset(),this.end(u)}getSlice(u,n){for(;u-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(u-this.bufferOffset,n-this.bufferOffset);for(;n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,n-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(u){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".write() after done!"));return}this.buffers.push(u),this.tokenizer.running&&(this.tokenizer.write(u),this.writeIndex++)}end(u){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".end() after done!"));return}u&&this.write(u),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(u){this.write(u)}done(u){this.end(u)}};function xy(e,u){const n=new kC(void 0,u);return new Fy(n,u).end(e),n.root}var Ad;const Hs=(Ad=Object.hasOwn)!==null&&Ad!==void 0?Ad:((e,u)=>Object.prototype.hasOwnProperty.call(e,u)),ks=/\s+/,sh="data-",jh=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ly=/^{[^]*}$|^\[[^]*]$/;function Xc(e,u,n){var r;if(!(!e||!me(e))){if((r=e.attribs)!==null&&r!==void 0||(e.attribs={}),!u)return e.attribs;if(Hs(e.attribs,u))return!n&&jh.test(u)?u:e.attribs[u];if(e.name==="option"&&u==="value")return Ps(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&u==="value")return"on"}}function Fi(e,u,n){n===null?L2(e,u):e.attribs[u]=`${n}`}function By(e,u){if(typeof e=="object"||u!==void 0){if(typeof u=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return ft(this,(n,r)=>{me(n)&&Fi(n,e,u.call(n,r,n.attribs[e]))})}return ft(this,n=>{if(me(n))if(typeof e=="object")for(const r of Object.keys(e)){const l=e[r];Fi(n,r,l)}else Fi(n,e,u)})}return arguments.length>1?this:Xc(this[0],e,this.options.xmlMode)}function Zg(e,u,n){return u in e?e[u]:!n&&jh.test(u)?Xc(e,u,!1)!==void 0:Xc(e,u,n)}function vd(e,u,n,r){u in e?e[u]=n:Fi(e,u,!r&&jh.test(u)?n?"":null:`${n}`)}function My(e,u){var n;if(typeof e=="string"&&u===void 0){const r=this[0];if(!r)return;switch(e){case"style":{const l=this.css(),f=Object.keys(l);for(let h=0;h<f.length;h++)l[h]=f[h];return l.length=f.length,l}case"tagName":case"nodeName":return me(r)?r.name.toUpperCase():void 0;case"href":case"src":{if(!me(r))return;const l=(n=r.attribs)===null||n===void 0?void 0:n[e];return typeof URL<"u"&&(e==="href"&&(r.tagName==="a"||r.tagName==="link")||e==="src"&&(r.tagName==="img"||r.tagName==="iframe"||r.tagName==="audio"||r.tagName==="video"||r.tagName==="source"))&&l!==void 0&&this.options.baseURI?new URL(l,this.options.baseURI).href:l}case"innerText":return ah(r);case"textContent":return Qc(r);case"outerHTML":return r.type===Mh?this.html():this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return me(r)?Zg(r,e,this.options.xmlMode):void 0}}if(typeof e=="object"||u!==void 0){if(typeof u=="function"){if(typeof e=="object")throw new TypeError("Bad combination of arguments.");return ft(this,(r,l)=>{me(r)&&vd(r,e,u.call(r,l,Zg(r,e,this.options.xmlMode)),this.options.xmlMode)})}return ft(this,r=>{if(me(r))if(typeof e=="object")for(const l of Object.keys(e)){const f=e[l];vd(r,l,f,this.options.xmlMode)}else vd(r,e,u,this.options.xmlMode)})}}function $g(e,u,n){var r;(r=e.data)!==null&&r!==void 0||(e.data={}),typeof u=="object"?Object.assign(e.data,u):typeof u=="string"&&n!==void 0&&(e.data[u]=n)}function Iy(e){for(const u of Object.keys(e.attribs)){if(!u.startsWith(sh))continue;const n=Ey(u.slice(sh.length));Hs(e.data,n)||(e.data[n]=x2(e.attribs[u]))}return e.data}function wy(e,u){const n=sh+Dy(u),r=e.data;if(Hs(r,u))return r[u];if(Hs(e.attribs,n))return r[u]=x2(e.attribs[n])}function x2(e){if(e==="null")return null;if(e==="true")return!0;if(e==="false")return!1;const u=Number(e);if(e===String(u))return u;if(Ly.test(e))try{return JSON.parse(e)}catch{}return e}function Uy(e,u){var n;const r=this[0];if(!r||!me(r))return;const l=r;return(n=l.data)!==null&&n!==void 0||(l.data={}),e==null?Iy(l):typeof e=="object"||u!==void 0?(ft(this,f=>{me(f)&&(typeof e=="object"?$g(f,e):$g(f,e,u))}),this):wy(l,e)}function Py(e){const u=arguments.length===0,n=this[0];if(!n||!me(n))return u?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":{const r=this.find("option:selected");if(!u){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const l=typeof e=="object"?e:[e];for(const f of l)this.find(`option[value="${f}"]`).attr("selected","");return this}return this.attr("multiple")?r.toArray().map(l=>Ps(l.children)):r.attr("value")}case"input":case"option":return u?this.attr("value"):this.attr("value",e)}}function L2(e,u){!e.attribs||!Hs(e.attribs,u)||delete e.attribs[u]}function Kc(e){return e?e.trim().split(ks):[]}function Hy(e){const u=Kc(e);for(const n of u)ft(this,r=>{me(r)&&L2(r,n)});return this}function ky(e){return this.toArray().some(u=>{const n=me(u)&&u.attribs.class;let r=-1;if(n&&e.length>0)for(;(r=n.indexOf(e,r+1))>-1;){const l=r+e.length;if((r===0||ks.test(n[r-1]))&&(l===n.length||ks.test(n[l])))return!0}return!1})}function B2(e){if(typeof e=="function")return ft(this,(r,l)=>{if(me(r)){const f=r.attribs.class||"";B2.call([r],e.call(r,l,f))}});if(!e||typeof e!="string")return this;const u=e.split(ks),n=this.length;for(let r=0;r<n;r++){const l=this[r];if(!me(l))continue;const f=Xc(l,"class",!1);if(f){let h=` ${f} `;for(const D of u){const E=`${D} `;h.includes(` ${E}`)||(h+=E)}Fi(l,"class",h.trim())}else Fi(l,"class",u.join(" ").trim())}return this}function M2(e){if(typeof e=="function")return ft(this,(l,f)=>{me(l)&&M2.call([l],e.call(l,f,l.attribs.class||""))});const u=Kc(e),n=u.length,r=arguments.length===0;return ft(this,l=>{if(me(l))if(r)l.attribs.class="";else{const f=Kc(l.attribs.class);let h=!1;for(let D=0;D<n;D++){const E=f.indexOf(u[D]);E!==-1&&(f.splice(E,1),h=!0,D--)}h&&(l.attribs.class=f.join(" "))}})}function I2(e,u){if(typeof e=="function")return ft(this,(h,D)=>{me(h)&&I2.call([h],e.call(h,D,h.attribs.class||"",u),u)});if(!e||typeof e!="string")return this;const n=e.split(ks),r=n.length,l=typeof u=="boolean"?u?1:-1:0,f=this.length;for(let h=0;h<f;h++){const D=this[h];if(!me(D))continue;const E=Kc(D.attribs.class);for(let p=0;p<r;p++){const b=E.indexOf(n[p]);l>=0&&b===-1?E.push(n[p]):l<=0&&b!==-1&&E.splice(b,1)}D.attribs.class=E.join(" ")}return this}const jy=Object.freeze(Object.defineProperty({__proto__:null,addClass:B2,attr:By,data:Uy,hasClass:ky,prop:My,removeAttr:Hy,removeClass:M2,toggleClass:I2,val:Py},Symbol.toStringTag,{value:"Module"}));var he;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(he||(he={}));var St;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(St||(St={}));const Wg=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,zy=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,qy=new Map([[126,St.Element],[94,St.Start],[36,St.End],[42,St.Any],[33,St.Not],[124,St.Hyphen]]),Yy=new Set(["has","not","matches","is","where","host","host-context"]);function Ns(e){switch(e.type){case he.Adjacent:case he.Child:case he.Descendant:case he.Parent:case he.Sibling:case he.ColumnCombinator:return!0;default:return!1}}const Gy=new Set(["contains","icontains"]);function Vy(e,u,n){const r=parseInt(u,16)-65536;return r!==r||n?u:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)}function Ts(e){return e.replace(zy,Vy)}function Cd(e){return e===39||e===34}function Jg(e){return e===32||e===9||e===10||e===12||e===13}function go(e){const u=[],n=w2(u,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return u}function w2(e,u,n){let r=[];function l(y){const v=u.slice(n+y).match(Wg);if(!v)throw new Error(`Expected name, found ${u.slice(n)}`);const[N]=v;return n+=y+N.length,Ts(N)}function f(y){for(n+=y;n<u.length&&Jg(u.charCodeAt(n));)n++}function h(){n+=1;const y=n;let v=1;for(;v>0&&n<u.length;n++)u.charCodeAt(n)===40&&!D(n)?v++:u.charCodeAt(n)===41&&!D(n)&&v--;if(v)throw new Error("Parenthesis not matched");return Ts(u.slice(y,n-1))}function D(y){let v=0;for(;u.charCodeAt(--y)===92;)v++;return(v&1)===1}function E(){if(r.length>0&&Ns(r[r.length-1]))throw new Error("Did not expect successive traversals.")}function p(y){if(r.length>0&&r[r.length-1].type===he.Descendant){r[r.length-1].type=y;return}E(),r.push({type:y})}function b(y,v){r.push({type:he.Attribute,name:y,action:v,value:l(1),namespace:null,ignoreCase:"quirks"})}function T(){if(r.length&&r[r.length-1].type===he.Descendant&&r.pop(),r.length===0)throw new Error("Empty sub-selector");e.push(r)}if(f(0),u.length===n)return n;e:for(;n<u.length;){const y=u.charCodeAt(n);switch(y){case 32:case 9:case 10:case 12:case 13:{(r.length===0||r[0].type!==he.Descendant)&&(E(),r.push({type:he.Descendant})),f(1);break}case 62:{p(he.Child),f(1);break}case 60:{p(he.Parent),f(1);break}case 126:{p(he.Sibling),f(1);break}case 43:{p(he.Adjacent),f(1);break}case 46:{b("class",St.Element);break}case 35:{b("id",St.Equals);break}case 91:{f(1);let v,N=null;u.charCodeAt(n)===124?v=l(1):u.startsWith("*|",n)?(N="*",v=l(2)):(v=l(0),u.charCodeAt(n)===124&&u.charCodeAt(n+1)!==61&&(N=v,v=l(1))),f(0);let x=St.Exists;const P=qy.get(u.charCodeAt(n));if(P){if(x=P,u.charCodeAt(n+1)!==61)throw new Error("Expected `=`");f(2)}else u.charCodeAt(n)===61&&(x=St.Equals,f(1));let B="",Z=null;if(x!=="exists"){if(Cd(u.charCodeAt(n))){const ue=u.charCodeAt(n);let te=n+1;for(;te<u.length&&(u.charCodeAt(te)!==ue||D(te));)te+=1;if(u.charCodeAt(te)!==ue)throw new Error("Attribute value didn't end");B=Ts(u.slice(n+1,te)),n=te+1}else{const ue=n;for(;n<u.length&&(!Jg(u.charCodeAt(n))&&u.charCodeAt(n)!==93||D(n));)n+=1;B=Ts(u.slice(ue,n))}f(0);const $=u.charCodeAt(n)|32;$===115?(Z=!1,f(1)):$===105&&(Z=!0,f(1))}if(u.charCodeAt(n)!==93)throw new Error("Attribute selector didn't terminate");n+=1;const H={type:he.Attribute,name:v,action:x,value:B,namespace:N,ignoreCase:Z};r.push(H);break}case 58:{if(u.charCodeAt(n+1)===58){r.push({type:he.PseudoElement,name:l(2).toLowerCase(),data:u.charCodeAt(n)===40?h():null});continue}const v=l(1).toLowerCase();let N=null;if(u.charCodeAt(n)===40)if(Yy.has(v)){if(Cd(u.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${v} cannot be quoted`);if(N=[],n=w2(N,u,n+1),u.charCodeAt(n)!==41)throw new Error(`Missing closing parenthesis in :${v} (${u})`);n+=1}else{if(N=h(),Gy.has(v)){const x=N.charCodeAt(0);x===N.charCodeAt(N.length-1)&&Cd(x)&&(N=N.slice(1,-1))}N=Ts(N)}r.push({type:he.Pseudo,name:v,data:N});break}case 44:{T(),r=[],f(1);break}default:{if(u.startsWith("/*",n)){const x=u.indexOf("*/",n+2);if(x<0)throw new Error("Comment was not terminated");n=x+2,r.length===0&&f(0);break}let v=null,N;if(y===42)n+=1,N="*";else if(y===124){if(N="",u.charCodeAt(n+1)===124){p(he.ColumnCombinator),f(2);break}}else if(Wg.test(u.slice(n)))N=l(0);else break e;u.charCodeAt(n)===124&&u.charCodeAt(n+1)!==124&&(v=N,u.charCodeAt(n+1)===42?(N="*",n+=2):N=l(1)),r.push(N==="*"?{type:he.Universal,namespace:v}:{type:he.Tag,name:N,namespace:v})}}}return T(),n}function U2(e,u){return Do(e,u)}function Qy(e,u){return ot(e)?e.children.map(n=>U2(n,u)).join(""):""}function wc(e){return Array.isArray(e)?e.map(wc).join(""):me(e)?e.name==="br"?`
|
|
278
|
+
`:wc(e.children):Qs(e)?wc(e.children):Iu(e)?e.data:""}function Zc(e){return Array.isArray(e)?e.map(Zc).join(""):ot(e)&&!Xs(e)?Zc(e.children):Iu(e)?e.data:""}function lh(e){return Array.isArray(e)?e.map(lh).join(""):ot(e)&&(e.type===Ge.Tag||Qs(e))?lh(e.children):Iu(e)?e.data:""}function zh(e){return ot(e)?e.children:[]}function P2(e){return e.parent||null}function Xy(e){const u=P2(e);if(u!=null)return zh(u);const n=[e];let{prev:r,next:l}=e;for(;r!=null;)n.unshift(r),{prev:r}=r;for(;l!=null;)n.push(l),{next:l}=l;return n}function Ky(e,u){var n;return(n=e.attribs)===null||n===void 0?void 0:n[u]}function Zy(e,u){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,u)&&e.attribs[u]!=null}function $y(e){return e.name}function Wy(e){let{next:u}=e;for(;u!==null&&!me(u);)({next:u}=u);return u}function Jy(e){let{prev:u}=e;for(;u!==null&&!me(u);)({prev:u}=u);return u}function Ks(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const u=e.parent.children;u.splice(u.lastIndexOf(e),1)}}function eS(e,u){const n=u.prev=e.prev;n&&(n.next=u);const r=u.next=e.next;r&&(r.prev=u);const l=u.parent=e.parent;if(l){const f=l.children;f[f.lastIndexOf(e)]=u,e.parent=null}}function tS(e,u){if(Ks(u),u.next=null,u.parent=e,e.children.push(u)>1){const n=e.children[e.children.length-2];n.next=u,u.prev=n}else u.prev=null}function uS(e,u){Ks(u);const{parent:n}=e,r=e.next;if(u.next=r,u.prev=e,e.next=u,u.parent=n,r){if(r.prev=u,n){const l=n.children;l.splice(l.lastIndexOf(r),0,u)}}else n&&n.children.push(u)}function aS(e,u){if(Ks(u),u.parent=e,u.prev=null,e.children.unshift(u)!==1){const n=e.children[1];n.prev=u,u.next=n}else u.next=null}function nS(e,u){Ks(u);const{parent:n}=e;if(n){const r=n.children;r.splice(r.indexOf(e),0,u)}e.prev&&(e.prev.next=u),u.parent=n,u.prev=e.prev,u.next=e,e.prev=u}function bo(e,u,n=!0,r=1/0){return Array.isArray(u)||(u=[u]),To(e,u,n,r)}function To(e,u,n,r){const l=[];for(const f of u){if(e(f)&&(l.push(f),--r<=0))break;if(n&&ot(f)&&f.children.length>0){const h=To(e,f.children,n,r);if(l.push(...h),r-=h.length,r<=0)break}}return l}function iS(e,u){return u.find(e)}function qh(e,u,n=!0){let r=null;for(let l=0;l<u.length&&!r;l++){const f=u[l];if(me(f))e(f)?r=f:n&&f.children.length>0&&(r=qh(e,f.children,!0));else continue}return r}function H2(e,u){return u.some(n=>me(n)&&(e(n)||n.children.length>0&&H2(e,n.children)))}function rS(e,u){var n;const r=[],l=u.filter(me);let f;for(;f=l.shift();){const h=(n=f.children)===null||n===void 0?void 0:n.filter(me);h&&h.length>0&&l.unshift(...h),e(f)&&r.push(f)}return r}const $c={tag_name(e){return typeof e=="function"?u=>me(u)&&e(u.name):e==="*"?me:u=>me(u)&&u.name===e},tag_type(e){return typeof e=="function"?u=>e(u.type):u=>u.type===e},tag_contains(e){return typeof e=="function"?u=>Iu(u)&&e(u.data):u=>Iu(u)&&u.data===e}};function k2(e,u){return typeof u=="function"?n=>me(n)&&u(n.attribs[e]):n=>me(n)&&n.attribs[e]===u}function sS(e,u){return n=>e(n)||u(n)}function j2(e){const u=Object.keys(e).map(n=>{const r=e[n];return Object.prototype.hasOwnProperty.call($c,n)?$c[n](r):k2(n,r)});return u.length===0?null:u.reduce(sS)}function lS(e,u){const n=j2(e);return n?n(u):!0}function cS(e,u,n,r=1/0){const l=j2(e);return l?bo(l,u,n,r):[]}function oS(e,u,n=!0){return Array.isArray(u)||(u=[u]),qh(k2("id",e),u,n)}function Gi(e,u,n=!0,r=1/0){return bo($c.tag_name(e),u,n,r)}function fS(e,u,n=!0,r=1/0){return bo($c.tag_type(e),u,n,r)}function dS(e){let u=e.length;for(;--u>=0;){const n=e[u];if(u>0&&e.lastIndexOf(n,u-1)>=0){e.splice(u,1);continue}for(let r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(u,1);break}}return e}var Bu;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(Bu||(Bu={}));function z2(e,u){const n=[],r=[];if(e===u)return 0;let l=ot(e)?e:e.parent;for(;l;)n.unshift(l),l=l.parent;for(l=ot(u)?u:u.parent;l;)r.unshift(l),l=l.parent;const f=Math.min(n.length,r.length);let h=0;for(;h<f&&n[h]===r[h];)h++;if(h===0)return Bu.DISCONNECTED;const D=n[h-1],E=D.children,p=n[h],b=r[h];return E.indexOf(p)>E.indexOf(b)?D===u?Bu.FOLLOWING|Bu.CONTAINED_BY:Bu.FOLLOWING:D===e?Bu.PRECEDING|Bu.CONTAINS:Bu.PRECEDING}function q2(e){return e=e.filter((u,n,r)=>!r.includes(u,n+1)),e.sort((u,n)=>{const r=z2(u,n);return r&Bu.PRECEDING?-1:r&Bu.FOLLOWING?1:0}),e}function hS(e){const u=Wc(gS,e);return u?u.name==="feed"?mS(u):ES(u):null}function mS(e){var u;const n=e.children,r={type:"atom",items:Gi("entry",n).map(h=>{var D;const{children:E}=h,p={media:Y2(E)};uu(p,"id","id",E),uu(p,"title","title",E);const b=(D=Wc("link",E))===null||D===void 0?void 0:D.attribs.href;b&&(p.link=b);const T=xn("summary",E)||xn("content",E);T&&(p.description=T);const y=xn("updated",E);return y&&(p.pubDate=new Date(y)),p})};uu(r,"id","id",n),uu(r,"title","title",n);const l=(u=Wc("link",n))===null||u===void 0?void 0:u.attribs.href;l&&(r.link=l),uu(r,"description","subtitle",n);const f=xn("updated",n);return f&&(r.updated=new Date(f)),uu(r,"author","email",n,!0),r}function ES(e){var u,n;const r=(n=(u=Wc("channel",e.children))===null||u===void 0?void 0:u.children)!==null&&n!==void 0?n:[],l={type:e.name.substr(0,3),id:"",items:Gi("item",e.children).map(h=>{const{children:D}=h,E={media:Y2(D)};uu(E,"id","guid",D),uu(E,"title","title",D),uu(E,"link","link",D),uu(E,"description","description",D);const p=xn("pubDate",D);return p&&(E.pubDate=new Date(p)),E})};uu(l,"title","title",r),uu(l,"link","link",r),uu(l,"description","description",r);const f=xn("lastBuildDate",r);return f&&(l.updated=new Date(f)),uu(l,"author","managingEditor",r,!0),l}const DS=["url","type","lang"],pS=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Y2(e){return Gi("media:content",e).map(u=>{const{attribs:n}=u,r={medium:n.medium,isDefault:!!n.isDefault};for(const l of DS)n[l]&&(r[l]=n[l]);for(const l of pS)n[l]&&(r[l]=parseInt(n[l],10));return n.expression&&(r.expression=n.expression),r})}function Wc(e,u){return Gi(e,u,!0,1)[0]}function xn(e,u,n=!1){return Zc(Gi(e,u,n,1)).trim()}function uu(e,u,n,r,l=!1){const f=xn(n,r,l);f&&(e[u]=f)}function gS(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const _o=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return Bu},append:uS,appendChild:tS,compareDocumentPosition:z2,existsOne:H2,filter:bo,find:To,findAll:rS,findOne:qh,findOneChild:iS,getAttributeValue:Ky,getChildren:zh,getElementById:oS,getElements:cS,getElementsByTagName:Gi,getElementsByTagType:fS,getFeed:hS,getInnerHTML:Qy,getName:$y,getOuterHTML:U2,getParent:P2,getSiblings:Xy,getText:wc,hasAttrib:Zy,hasChildren:ot,innerText:lh,isCDATA:Qs,isComment:Xs,isDocument:sn,isTag:me,isText:Iu,nextElementSibling:Wy,prepend:nS,prependChild:aS,prevElementSibling:Jy,removeElement:Ks,removeSubsets:dS,replaceElement:eS,testElement:lS,textContent:Zc,uniqueSort:q2},Symbol.toStringTag,{value:"Module"}));var yd,eb;function bS(){return eb||(eb=1,yd={trueFunc:function(){return!0},falseFunc:function(){return!1}}),yd}var Jc=bS();const Fe=io(Jc),G2=new Map([[he.Universal,50],[he.Tag,30],[he.Attribute,1],[he.Pseudo,0]]);function Yh(e){return!G2.has(e.type)}const TS=new Map([[St.Exists,10],[St.Equals,8],[St.Not,7],[St.Start,6],[St.End,6],[St.Any,5]]);function _S(e){const u=e.map(V2);for(let n=1;n<e.length;n++){const r=u[n];if(!(r<0))for(let l=n-1;l>=0&&r<u[l];l--){const f=e[l+1];e[l+1]=e[l],e[l]=f,u[l+1]=u[l],u[l]=r}}}function V2(e){var u,n;let r=(u=G2.get(e.type))!==null&&u!==void 0?u:-1;return e.type===he.Attribute?(r=(n=TS.get(e.action))!==null&&n!==void 0?n:4,e.action===St.Equals&&e.name==="id"&&(r=9),e.ignoreCase&&(r>>=1)):e.type===he.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?r=0:Array.isArray(e.data)?(r=Math.min(...e.data.map(l=>Math.min(...l.map(V2)))),r<0&&(r=0)):r=2:r=3),r}const AS=/[-[\]{}()*+?.,\\^$|#\s]/g;function tb(e){return e.replace(AS,"\\$&")}const vS=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function Rn(e,u){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!u.quirksMode:!u.xmlMode&&vS.has(e.name)}const CS={equals(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;return Rn(u,n)?(f=f.toLowerCase(),h=>{const D=r.getAttributeValue(h,l);return D!=null&&D.length===f.length&&D.toLowerCase()===f&&e(h)}):h=>r.getAttributeValue(h,l)===f&&e(h)},hyphen(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;const h=f.length;return Rn(u,n)?(f=f.toLowerCase(),function(E){const p=r.getAttributeValue(E,l);return p!=null&&(p.length===h||p.charAt(h)==="-")&&p.substr(0,h).toLowerCase()===f&&e(E)}):function(E){const p=r.getAttributeValue(E,l);return p!=null&&(p.length===h||p.charAt(h)==="-")&&p.substr(0,h)===f&&e(E)}},element(e,u,n){const{adapter:r}=n,{name:l,value:f}=u;if(/\s/.test(f))return Fe.falseFunc;const h=new RegExp(`(?:^|\\s)${tb(f)}(?:$|\\s)`,Rn(u,n)?"i":"");return function(E){const p=r.getAttributeValue(E,l);return p!=null&&p.length>=f.length&&h.test(p)&&e(E)}},exists(e,{name:u},{adapter:n}){return r=>n.hasAttrib(r,u)&&e(r)},start(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;const h=f.length;return h===0?Fe.falseFunc:Rn(u,n)?(f=f.toLowerCase(),D=>{const E=r.getAttributeValue(D,l);return E!=null&&E.length>=h&&E.substr(0,h).toLowerCase()===f&&e(D)}):D=>{var E;return!!(!((E=r.getAttributeValue(D,l))===null||E===void 0)&&E.startsWith(f))&&e(D)}},end(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;const h=-f.length;return h===0?Fe.falseFunc:Rn(u,n)?(f=f.toLowerCase(),D=>{var E;return((E=r.getAttributeValue(D,l))===null||E===void 0?void 0:E.substr(h).toLowerCase())===f&&e(D)}):D=>{var E;return!!(!((E=r.getAttributeValue(D,l))===null||E===void 0)&&E.endsWith(f))&&e(D)}},any(e,u,n){const{adapter:r}=n,{name:l,value:f}=u;if(f==="")return Fe.falseFunc;if(Rn(u,n)){const h=new RegExp(tb(f),"i");return function(E){const p=r.getAttributeValue(E,l);return p!=null&&p.length>=f.length&&h.test(p)&&e(E)}}return h=>{var D;return!!(!((D=r.getAttributeValue(h,l))===null||D===void 0)&&D.includes(f))&&e(h)}},not(e,u,n){const{adapter:r}=n,{name:l}=u;let{value:f}=u;return f===""?h=>!!r.getAttributeValue(h,l)&&e(h):Rn(u,n)?(f=f.toLowerCase(),h=>{const D=r.getAttributeValue(h,l);return(D==null||D.length!==f.length||D.toLowerCase()!==f)&&e(h)}):h=>r.getAttributeValue(h,l)!==f&&e(h)}},yS=new Set([9,10,12,13,32]),ub=48,SS=57;function NS(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let u=0,n=0,r=f(),l=h();if(u<e.length&&e.charAt(u)==="n"&&(u++,n=r*(l??1),D(),u<e.length?(r=f(),D(),l=h()):r=l=0),l===null||u<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[n,r*l];function f(){return e.charAt(u)==="-"?(u++,-1):(e.charAt(u)==="+"&&u++,1)}function h(){const E=u;let p=0;for(;u<e.length&&e.charCodeAt(u)>=ub&&e.charCodeAt(u)<=SS;)p=p*10+(e.charCodeAt(u)-ub),u++;return u===E?null:p}function D(){for(;u<e.length&&yS.has(e.charCodeAt(u));)u++}}function RS(e){const u=e[0],n=e[1]-1;if(n<0&&u<=0)return Fe.falseFunc;if(u===-1)return f=>f<=n;if(u===0)return f=>f===n;if(u===1)return n<0?Fe.trueFunc:f=>f>=n;const r=Math.abs(u),l=(n%r+r)%r;return u>1?f=>f>=n&&f%r===l:f=>f<=n&&f%r===l}function Rc(e){return RS(NS(e))}function Oc(e,u){return n=>{const r=u.getParent(n);return r!=null&&u.isTag(r)&&e(n)}}const ch={contains(e,u,{adapter:n}){return function(l){return e(l)&&n.getText(l).includes(u)}},icontains(e,u,{adapter:n}){const r=u.toLowerCase();return function(f){return e(f)&&n.getText(f).toLowerCase().includes(r)}},"nth-child"(e,u,{adapter:n,equals:r}){const l=Rc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Oc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=0;p<D.length&&!r(h,D[p]);p++)n.isTag(D[p])&&E++;return l(E)&&e(h)}},"nth-last-child"(e,u,{adapter:n,equals:r}){const l=Rc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Oc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=D.length-1;p>=0&&!r(h,D[p]);p--)n.isTag(D[p])&&E++;return l(E)&&e(h)}},"nth-of-type"(e,u,{adapter:n,equals:r}){const l=Rc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Oc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=0;p<D.length;p++){const b=D[p];if(r(h,b))break;n.isTag(b)&&n.getName(b)===n.getName(h)&&E++}return l(E)&&e(h)}},"nth-last-of-type"(e,u,{adapter:n,equals:r}){const l=Rc(u);return l===Fe.falseFunc?Fe.falseFunc:l===Fe.trueFunc?Oc(e,n):function(h){const D=n.getSiblings(h);let E=0;for(let p=D.length-1;p>=0;p--){const b=D[p];if(r(h,b))break;n.isTag(b)&&n.getName(b)===n.getName(h)&&E++}return l(E)&&e(h)}},root(e,u,{adapter:n}){return r=>{const l=n.getParent(r);return(l==null||!n.isTag(l))&&e(r)}},scope(e,u,n,r){const{equals:l}=n;return!r||r.length===0?ch.root(e,u,n):r.length===1?f=>l(r[0],f)&&e(f):f=>r.includes(f)&&e(f)},hover:Sd("isHovered"),visited:Sd("isVisited"),active:Sd("isActive")};function Sd(e){return function(n,r,{adapter:l}){const f=l[e];return typeof f!="function"?Fe.falseFunc:function(D){return f(D)&&n(D)}}}const ab={empty(e,{adapter:u}){return!u.getChildren(e).some(n=>u.isTag(n)||u.getText(n)!=="")},"first-child"(e,{adapter:u,equals:n}){if(u.prevElementSibling)return u.prevElementSibling(e)==null;const r=u.getSiblings(e).find(l=>u.isTag(l));return r!=null&&n(e,r)},"last-child"(e,{adapter:u,equals:n}){const r=u.getSiblings(e);for(let l=r.length-1;l>=0;l--){if(n(e,r[l]))return!0;if(u.isTag(r[l]))break}return!1},"first-of-type"(e,{adapter:u,equals:n}){const r=u.getSiblings(e),l=u.getName(e);for(let f=0;f<r.length;f++){const h=r[f];if(n(e,h))return!0;if(u.isTag(h)&&u.getName(h)===l)break}return!1},"last-of-type"(e,{adapter:u,equals:n}){const r=u.getSiblings(e),l=u.getName(e);for(let f=r.length-1;f>=0;f--){const h=r[f];if(n(e,h))return!0;if(u.isTag(h)&&u.getName(h)===l)break}return!1},"only-of-type"(e,{adapter:u,equals:n}){const r=u.getName(e);return u.getSiblings(e).every(l=>n(e,l)||!u.isTag(l)||u.getName(l)!==r)},"only-child"(e,{adapter:u,equals:n}){return u.getSiblings(e).every(r=>n(e,r)||!u.isTag(r))}};function nb(e,u,n,r){if(n===null){if(e.length>r)throw new Error(`Pseudo-class :${u} requires an argument`)}else if(e.length===r)throw new Error(`Pseudo-class :${u} doesn't have any arguments`)}const OS={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
|
|
279
279
|
:is(button, input, select, textarea, optgroup, option)[disabled],
|
|
280
280
|
optgroup[disabled] > option,
|
|
281
281
|
fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
|
|
282
|
-
)`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},Q2={};function FS(e,u){return e===Fe.falseFunc?Fe.falseFunc:n=>u.isTag(n)&&e(n)}function X2(e,u){const n=u.getSiblings(e);if(n.length<=1)return[];const r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(u.isTag)}function oh(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const Nd=(e,u,n,r,l)=>{const f=l(u,oh(n),r);return f===Fe.trueFunc?e:f===Fe.falseFunc?Fe.falseFunc:h=>f(h)&&e(h)},Rd={is:Nd,matches:Nd,where:Nd,not(e,u,n,r,l){const f=l(u,oh(n),r);return f===Fe.falseFunc?e:f===Fe.trueFunc?Fe.falseFunc:h=>!f(h)&&e(h)},has(e,u,n,r,l){const{adapter:f}=n,h=oh(n);h.relativeSelector=!0;const D=u.some(b=>b.some(Yh))?[Q2]:void 0,E=l(u,h,D);if(E===Fe.falseFunc)return Fe.falseFunc;const p=FS(E,f);if(D&&E!==Fe.trueFunc){const{shouldTestNextSiblings:b=!1}=E;return T=>{if(!e(T))return!1;D[0]=T;const y=f.getChildren(T),v=b?[...y,...X2(T,f)]:y;return f.existsOne(p,v)}}return b=>e(b)&&f.existsOne(p,f.getChildren(b))}};function xS(e,u,n,r,l){var f;const{name:h,data:D}=u;if(Array.isArray(D)){if(!(h in Rd))throw new Error(`Unknown pseudo-class :${h}(${D})`);return Rd[h](e,D,n,r,l)}const E=(f=n.pseudos)===null||f===void 0?void 0:f[h],p=typeof E=="string"?E:OS[h];if(typeof p=="string"){if(D!=null)throw new Error(`Pseudo ${h} doesn't have any arguments`);const b=go(p);return Rd.is(e,b,n,r,l)}if(typeof E=="function")return nb(E,h,D,1),b=>E(b,D)&&e(b);if(h in ch)return ch[h](e,D,n,r);if(h in ab){const b=ab[h];return nb(b,h,D,2),T=>b(T,n,D)&&e(T)}throw new Error(`Unknown pseudo-class :${h}`)}function Od(e,u){const n=u.getParent(e);return n&&u.isTag(n)?n:null}function LS(e,u,n,r,l){const{adapter:f,equals:h}=n;switch(u.type){case he.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case he.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case he.Attribute:{if(u.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(u.name=u.name.toLowerCase()),CS[u.action](e,u,n)}case he.Pseudo:return xS(e,u,n,r,l);case he.Tag:{if(u.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:D}=u;return(!n.xmlMode||n.lowerCaseTags)&&(D=D.toLowerCase()),function(p){return f.getName(p)===D&&e(p)}}case he.Descendant:{if(n.cacheResults===!1||typeof WeakSet>"u")return function(p){let b=p;for(;b=Od(b,f);)if(e(b))return!0;return!1};const D=new WeakSet;return function(p){let b=p;for(;b=Od(b,f);)if(!D.has(b)){if(f.isTag(b)&&e(b))return!0;D.add(b)}return!1}}case"_flexibleDescendant":return function(E){let p=E;do if(e(p))return!0;while(p=Od(p,f));return!1};case he.Parent:return function(E){return f.getChildren(E).some(p=>f.isTag(p)&&e(p))};case he.Child:return function(E){const p=f.getParent(E);return p!=null&&f.isTag(p)&&e(p)};case he.Sibling:return function(E){const p=f.getSiblings(E);for(let b=0;b<p.length;b++){const T=p[b];if(h(E,T))break;if(f.isTag(T)&&e(T))return!0}return!1};case he.Adjacent:return f.prevElementSibling?function(E){const p=f.prevElementSibling(E);return p!=null&&e(p)}:function(E){const p=f.getSiblings(E);let b;for(let T=0;T<p.length;T++){const y=p[T];if(h(E,y))break;f.isTag(y)&&(b=y)}return!!b&&e(b)};case he.Universal:{if(u.namespace!=null&&u.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}}function K2(e){return e.type===he.Pseudo&&(e.name==="scope"||Array.isArray(e.data)&&e.data.some(u=>u.some(K2)))}const BS={type:he.Descendant},MS={type:"_flexibleDescendant"},IS={type:he.Pseudo,name:"scope",data:null};function wS(e,{adapter:u},n){const r=!!n?.every(l=>{const f=u.isTag(l)&&u.getParent(l);return l===Q2||f&&u.isTag(f)});for(const l of e){if(!(l.length>0&&Yh(l[0])&&l[0].type!==he.Descendant))if(r&&!l.some(K2))l.unshift(BS);else continue;l.unshift(IS)}}function Z2(e,u,n){var r;e.forEach(_S),n=(r=u.context)!==null&&r!==void 0?r:n;const l=Array.isArray(n),f=n&&(Array.isArray(n)?n:[n]);if(u.relativeSelector!==!1)wS(e,u,f);else if(e.some(E=>E.length>0&&Yh(E[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let h=!1;const D=e.map(E=>{if(E.length>=2){const[p,b]=E;p.type!==he.Pseudo||p.name!=="scope"||(l&&b.type===he.Descendant?E[1]=MS:(b.type===he.Adjacent||b.type===he.Sibling)&&(h=!0))}return US(E,u,f)}).reduce(PS,Fe.falseFunc);return D.shouldTestNextSiblings=h,D}function US(e,u,n){var r;return e.reduce((l,f)=>l===Fe.falseFunc?Fe.falseFunc:LS(l,f,u,n,Z2),(r=u.rootFunc)!==null&&r!==void 0?r:Fe.trueFunc)}function PS(e,u){return u===Fe.falseFunc||e===Fe.trueFunc?e:e===Fe.falseFunc||u===Fe.trueFunc?u:function(r){return e(r)||u(r)}}const $2=(e,u)=>e===u,HS={adapter:_o,equals:$2};function kS(e){var u,n,r,l;const f=e??HS;return(u=f.adapter)!==null&&u!==void 0||(f.adapter=_o),(n=f.equals)!==null&&n!==void 0||(f.equals=(l=(r=f.adapter)===null||r===void 0?void 0:r.equals)!==null&&l!==void 0?l:$2),f}function jS(e){return function(n,r,l){const f=kS(r);return e(n,f,l)}}const Gh=jS(Z2);function W2(e,u,n=!1){return n&&(e=zS(e,u)),Array.isArray(e)?u.removeSubsets(e):u.getChildren(e)}function zS(e,u){const n=Array.isArray(e)?e.slice(0):[e],r=n.length;for(let l=0;l<r;l++){const f=X2(n[l],u);n.push(...f)}return n}const qS=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function eo(e){return e.type!=="pseudo"?!1:qS.has(e.name)?!0:e.name==="not"&&Array.isArray(e.data)?e.data.some(u=>u.some(eo)):!1}function YS(e,u,n){const r=u!=null?parseInt(u,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}function GS(e){for(;e.parent;)e=e.parent;return e}function Vh(e){const u=[],n=[];for(const r of e)r.some(eo)?u.push(r):n.push(r);return[n,u]}const VS={type:he.Universal,namespace:null},QS={type:he.Pseudo,name:"scope",data:null};function J2(e,u,n={}){return e3([e],u,n)}function e3(e,u,n={}){if(typeof u=="function")return e.some(u);const[r,l]=Vh(go(u));return r.length>0&&e.some(Gh(r,n))||l.some(f=>a3(f,e,n).length>0)}function XS(e,u,n,r){const l=typeof n=="string"?parseInt(n,10):NaN;switch(e){case"first":case"lt":return u;case"last":return u.length>0?[u[u.length-1]]:u;case"nth":case"eq":return isFinite(l)&&Math.abs(l)<u.length?[l<0?u[u.length+l]:u[l]]:[];case"gt":return isFinite(l)?u.slice(l+1):[];case"even":return u.filter((f,h)=>h%2===0);case"odd":return u.filter((f,h)=>h%2===1);case"not":{const f=new Set(u3(n,u,r));return u.filter(h=>!f.has(h))}}}function t3(e,u,n={}){return u3(go(e),u,n)}function u3(e,u,n){if(u.length===0)return[];const[r,l]=Vh(e);let f;if(r.length){const h=dh(u,r,n);if(l.length===0)return h;h.length&&(f=new Set(h))}for(let h=0;h<l.length&&f?.size!==u.length;h++){const D=l[h];if((f?u.filter(b=>me(b)&&!f.has(b)):u).length===0)break;const p=a3(D,u,n);if(p.length)if(f)p.forEach(b=>f.add(b));else{if(h===l.length-1)return p;f=new Set(p)}}return typeof f<"u"?f.size===u.length?u:u.filter(h=>f.has(h)):[]}function a3(e,u,n){var r;if(e.some(Ss)){const l=(r=n.root)!==null&&r!==void 0?r:GS(u[0]),f={...n,context:u,relativeSelector:!1};return e.push(QS),to(l,e,f,!0,u.length)}return to(u,e,n,!1,u.length)}function KS(e,u,n={},r=1/0){if(typeof e=="function")return n3(u,e);const[l,f]=Vh(go(e)),h=f.map(D=>to(u,D,n,!0,r));return l.length&&h.push(fh(u,l,n,r)),h.length===0?[]:h.length===1?h[0]:q2(h.reduce((D,E)=>[...D,...E]))}function to(e,u,n,r,l){const f=u.findIndex(eo),h=u.slice(0,f),D=u[f],E=u.length-1===f?l:1/0,p=YS(D.name,D.data,E);if(p===0)return[];const T=(h.length===0&&!Array.isArray(e)?zh(e).filter(me):h.length===0?(Array.isArray(e)?e:[e]).filter(me):r||h.some(Ss)?fh(e,[h],n,p):dh(e,[h],n)).slice(0,p);let y=XS(D.name,T,D.data,n);if(y.length===0||u.length===f+1)return y;const v=u.slice(f+1),N=v.some(Ss);if(N){if(Ss(v[0])){const{type:x}=v[0];(x===he.Sibling||x===he.Adjacent)&&(y=W2(y,_o,!0)),v.unshift(VS)}n={...n,relativeSelector:!1,rootFunc:x=>y.includes(x)}}else n.rootFunc&&n.rootFunc!==Jc.trueFunc&&(n={...n,rootFunc:Jc.trueFunc});return v.some(eo)?to(y,v,n,!1,l):N?fh(y,[v],n,l):dh(y,[v],n)}function fh(e,u,n,r){const l=Gh(u,n,e);return n3(e,l,r)}function n3(e,u,n=1/0){const r=W2(e,_o,u.shouldTestNextSiblings);return To(l=>me(l)&&u(l),r,!0,n)}function dh(e,u,n){const r=(Array.isArray(e)?e:[e]).filter(me);if(r.length===0)return r;const l=Gh(u,n);return l===Jc.trueFunc?r:r.filter(l)}const ZS=/^\s*[+~]/;function $S(e){if(!e)return this._make([]);if(typeof e!="string"){const u=va(e)?e.toArray():[e],n=this.toArray();return this._make(u.filter(r=>n.some(l=>kh(l,r))))}return this._findBySelector(e,Number.POSITIVE_INFINITY)}function WS(e,u){var n;const r=this.toArray(),l=ZS.test(e)?r:this.children().toArray(),f={context:r,root:(n=this._root)===null||n===void 0?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(KS(e,l,f,u))}function Qh(e){return function(u,...n){return function(r){var l;let f=e(u,this);return r&&(f=Zh(f,r,this.options.xmlMode,(l=this._root)===null||l===void 0?void 0:l[0])),this._make(this.length>1&&f.length>1?n.reduce((h,D)=>D(h),f):f)}}}const Ks=Qh((e,u)=>{let n=[];for(let r=0;r<u.length;r++){const l=e(u[r]);l.length>0&&(n=n.concat(l))}return n}),Xh=Qh((e,u)=>{const n=[];for(let r=0;r<u.length;r++){const l=e(u[r]);l!==null&&n.push(l)}return n});function Kh(e,...u){let n=null;const r=Qh((l,f)=>{const h=[];return ft(f,D=>{for(let E;(E=l(D))&&!n?.(E,h.length);D=E)h.push(E)}),h})(e,...u);return function(l,f){n=typeof l=="string"?D=>J2(D,l,this.options):l?Zs(l):null;const h=r.call(this,f);return n=null,h}}function Vi(e){return e.length>1?Array.from(new Set(e)):e}const JS=Xh(({parent:e})=>e&&!sn(e)?e:null,Vi),e8=Ks(e=>{const u=[];for(;e.parent&&!sn(e.parent);)u.push(e.parent),e=e.parent;return u},po,e=>e.reverse()),t8=Kh(({parent:e})=>e&&!sn(e)?e:null,po,e=>e.reverse());function u8(e){var u;const n=[];if(!e)return this._make(n);const r={xmlMode:this.options.xmlMode,root:(u=this._root)===null||u===void 0?void 0:u[0]},l=typeof e=="string"?f=>J2(f,e,r):Zs(e);return ft(this,f=>{for(f&&!sn(f)&&!me(f)&&(f=f.parent);f&&me(f);){if(l(f,0)){n.includes(f)||n.push(f);break}f=f.parent}}),this._make(n)}const a8=Xh(e=>C2(e)),n8=Ks(e=>{const u=[];for(;e.next;)e=e.next,me(e)&&u.push(e);return u},Vi),i8=Kh(e=>C2(e),Vi),r8=Xh(e=>y2(e)),s8=Ks(e=>{const u=[];for(;e.prev;)e=e.prev,me(e)&&u.push(e);return u},Vi),l8=Kh(e=>y2(e),Vi),c8=Ks(e=>iy(e).filter(u=>me(u)&&u!==e),po),o8=Ks(e=>v2(e).filter(me),Vi);function f8(){const e=this.toArray().reduce((u,n)=>ot(n)?u.concat(n.children):u,[]);return this._make(e)}function d8(e){let u=0;const n=this.length;for(;u<n&&e.call(this[u],u,this[u])!==!1;)++u;return this}function h8(e){let u=[];for(let n=0;n<this.length;n++){const r=this[n],l=e.call(r,n,r);l!=null&&(u=u.concat(l))}return this._make(u)}function Zs(e){return typeof e=="function"?(u,n)=>e.call(u,n,u):va(e)?u=>Array.prototype.includes.call(e,u):function(u){return e===u}}function m8(e){var u;return this._make(Zh(this.toArray(),e,this.options.xmlMode,(u=this._root)===null||u===void 0?void 0:u[0]))}function Zh(e,u,n,r){return typeof u=="string"?t3(u,e,{xmlMode:n,root:r}):e.filter(Zs(u))}function E8(e){const u=this.toArray();return typeof e=="string"?e3(u.filter(me),e,this.options):e?u.some(Zs(e)):!1}function D8(e){let u=this.toArray();if(typeof e=="string"){const n=new Set(t3(e,u,this.options));u=u.filter(r=>!n.has(r))}else{const n=Zs(e);u=u.filter((r,l)=>!n(r,l))}return this._make(u)}function p8(e){return this.filter(typeof e=="string"?`:has(${e})`:(u,n)=>this._make(n).find(e).length>0)}function g8(){return this.length>1?this._make(this[0]):this}function b8(){return this.length>0?this._make(this[this.length-1]):this}function T8(e){var u;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((u=this[e])!==null&&u!==void 0?u:[]))}function _8(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function A8(){return Array.prototype.slice.call(this)}function v8(e){let u,n;return e==null?(u=this.parent().children(),n=this[0]):typeof e=="string"?(u=this._make(e),n=this[0]):(u=this,n=va(e)?e[0]:e),Array.prototype.indexOf.call(u,n)}function C8(e,u){return this._make(Array.prototype.slice.call(this,e,u))}function y8(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function S8(e,u){const n=this._make(e,u),r=po([...this.get(),...n.get()]);return this._make(r)}function N8(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const R8=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:WS,add:S8,addBack:N8,children:o8,closest:u8,contents:f8,each:d8,end:y8,eq:T8,filter:m8,filterArray:Zh,find:$S,first:g8,get:_8,has:p8,index:v8,is:E8,last:b8,map:h8,next:a8,nextAll:n8,nextUntil:i8,not:D8,parent:JS,parents:e8,parentsUntil:t8,prev:r8,prevAll:s8,prevUntil:l8,siblings:c8,slice:C8,toArray:A8},Symbol.toStringTag,{value:"Module"}));function O8(e){return function(n,r,l,f){if(typeof Buffer<"u"&&Buffer.isBuffer(n)&&(n=n.toString()),typeof n=="string")return e(n,r,l,f);const h=n;if(!Array.isArray(h)&&sn(h))return h;const D=new In([]);return wn(h,D),D}}function wn(e,u){const n=Array.isArray(e)?e:[e];u?u.children=n:u=null;for(let r=0;r<n.length;r++){const l=n[r];l.parent&&l.parent.children!==n&&S2(l),u?(l.prev=n[r-1]||null,l.next=n[r+1]||null):l.prev=l.next=null,l.parent=u}return u}function F8(e,u){if(e==null)return[];if(typeof e=="string")return this._parse(e,this.options,!1,null).children.slice(0);if("length"in e){if(e.length===1)return this._makeDomArray(e[0],u);const n=[];for(let r=0;r<e.length;r++){const l=e[r];if(typeof l=="object"){if(l==null)continue;if(!("length"in l)){n.push(u?ws(l,!0):l);continue}}n.push(...this._makeDomArray(l,u))}return n}return[u?ws(e,!0):e]}function i3(e){return function(...u){const n=this.length-1;return ft(this,(r,l)=>{if(!ot(r))return;const f=typeof u[0]=="function"?u[0].call(r,l,this._render(r.children)):u,h=this._makeDomArray(f,l<n);e(h,r.children,r)})}}function ln(e,u,n,r,l){var f,h;const D=[u,n,...r],E=u===0?null:e[u-1],p=u+n>=e.length?null:e[u+n];for(let b=0;b<r.length;++b){const T=r[b],y=T.parent;if(y){const N=y.children.indexOf(T);N!==-1&&(y.children.splice(N,1),l===y&&u>N&&D[0]--)}T.parent=l,T.prev&&(T.prev.next=(f=T.next)!==null&&f!==void 0?f:null),T.next&&(T.next.prev=(h=T.prev)!==null&&h!==void 0?h:null),T.prev=b===0?E:r[b-1],T.next=b===r.length-1?p:r[b+1]}return E&&(E.next=r[0]),p&&(p.prev=r[r.length-1]),e.splice(...D)}function x8(e){return(va(e)?e:this._make(e)).append(this),this}function L8(e){return(va(e)?e:this._make(e)).prepend(this),this}const B8=i3((e,u,n)=>{ln(u,u.length,0,e,n)}),M8=i3((e,u,n)=>{ln(u,0,0,e,n)});function r3(e){return function(u){const n=this.length-1,r=this.parents().last();for(let l=0;l<this.length;l++){const f=this[l],h=typeof u=="function"?u.call(f,l,f):typeof u=="string"&&!ih(u)?r.find(u).clone():u,[D]=this._makeDomArray(h,l<n);if(!D||!ot(D))continue;let E=D,p=0;for(;p<E.children.length;){const b=E.children[p];me(b)?(E=b,p=0):p++}e(f,E,[D])}return this}}const I8=r3((e,u,n)=>{const{parent:r}=e;if(!r)return;const l=r.children,f=l.indexOf(e);wn([e],u),ln(l,f,0,n,r)}),w8=r3((e,u,n)=>{ot(e)&&(wn(e.children,u),wn(n,e))});function U8(e){return this.parent(e).not("body").each((u,n)=>{this._make(n).replaceWith(n.children)}),this}function P8(e){const u=this[0];if(u){const n=this._make(typeof e=="function"?e.call(u,0,u):e).insertBefore(u);let r;for(let f=0;f<n.length;f++)n[f].type===th&&(r=n[f]);let l=0;for(;r&&l<r.children.length;){const f=r.children[l];f.type===th?(r=f,l=0):l++}r&&this._make(r).append(this)}return this}function H8(...e){const u=this.length-1;return ft(this,(n,r)=>{if(!ot(n)||!n.parent)return;const l=n.parent.children,f=l.indexOf(n);if(f===-1)return;const h=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,D=this._makeDomArray(h,r<u);ln(l,f+1,0,D,n.parent)})}function k8(e){typeof e=="string"&&(e=this._make(e)),this.remove();const u=[];for(const n of this._makeDomArray(e)){const r=this.clone().toArray(),{parent:l}=n;if(!l)continue;const f=l.children,h=f.indexOf(n);h!==-1&&(ln(f,h+1,0,r,l),u.push(...r))}return this._make(u)}function j8(...e){const u=this.length-1;return ft(this,(n,r)=>{if(!ot(n)||!n.parent)return;const l=n.parent.children,f=l.indexOf(n);if(f===-1)return;const h=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,D=this._makeDomArray(h,r<u);ln(l,f,0,D,n.parent)})}function z8(e){const u=this._make(e);this.remove();const n=[];return ft(u,r=>{const l=this.clone().toArray(),{parent:f}=r;if(!f)return;const h=f.children,D=h.indexOf(r);D!==-1&&(ln(h,D,0,l,f),n.push(...l))}),this._make(n)}function q8(e){const u=e?this.filter(e):this;return ft(u,n=>{S2(n),n.prev=n.next=n.parent=null}),this}function Y8(e){return ft(this,(u,n)=>{const{parent:r}=u;if(!r)return;const l=r.children,f=typeof e=="function"?e.call(u,n,u):e,h=this._makeDomArray(f);wn(h,null);const D=l.indexOf(u);ln(l,D,1,h,r),h.includes(u)||(u.parent=u.prev=u.next=null)})}function G8(){return ft(this,e=>{if(ot(e)){for(const u of e.children)u.next=u.prev=u.parent=null;e.children.length=0}})}function V8(e){if(e===void 0){const u=this[0];return!u||!ot(u)?null:this._render(u.children)}return ft(this,u=>{if(!ot(u))return;for(const r of u.children)r.next=r.prev=r.parent=null;const n=va(e)?e.toArray():this._parse(`${e}`,this.options,!1,u).children;wn(n,u)})}function Q8(){return this._render(this)}function X8(e){return e===void 0?Us(this):typeof e=="function"?ft(this,(u,n)=>this._make(u).text(e.call(u,n,Us([u])))):ft(this,u=>{if(!ot(u))return;for(const r of u.children)r.next=r.prev=r.parent=null;const n=new Is(`${e}`);wn(n,u)})}function K8(){const e=Array.prototype.map.call(this.get(),n=>ws(n,!0)),u=new In(e);for(const n of e)n.parent=u;return this._make(e)}const Z8=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:F8,after:H8,append:B8,appendTo:x8,before:j8,clone:K8,empty:G8,html:V8,insertAfter:k8,insertBefore:z8,prepend:M8,prependTo:L8,remove:q8,replaceWith:Y8,text:X8,toString:Q8,unwrap:U8,wrap:I8,wrapAll:P8,wrapInner:w8},Symbol.toStringTag,{value:"Module"}));function $8(e,u){if(e!=null&&u!=null||typeof e=="object"&&!Array.isArray(e))return ft(this,(n,r)=>{me(n)&&s3(n,e,u,r)});if(this.length!==0)return l3(this[0],e)}function s3(e,u,n,r){if(typeof u=="string"){const l=l3(e),f=typeof n=="function"?n.call(e,r,l[u]):n;f===""?delete l[u]:f!=null&&(l[u]=f),e.attribs.style=W8(l)}else if(typeof u=="object"){const l=Object.keys(u);for(let f=0;f<l.length;f++){const h=l[f];s3(e,h,u[h],f)}}}function l3(e,u){if(!e||!me(e))return;const n=J8(e.attribs.style);if(typeof u=="string")return n[u];if(Array.isArray(u)){const r={};for(const l of u)n[l]!=null&&(r[l]=n[l]);return r}return n}function W8(e){return Object.keys(e).reduce((u,n)=>`${u}${u?" ":""}${n}: ${e[n]};`,"")}function J8(e){if(e=(e||"").trim(),!e)return{};const u={};let n;for(const r of e.split(";")){const l=r.indexOf(":");if(l<1||l===r.length-1){const f=r.trimEnd();f.length>0&&n!==void 0&&(u[n]+=`;${f}`)}else n=r.slice(0,l).trim(),u[n]=r.slice(l+1).trim()}return u}const e4=Object.freeze(Object.defineProperty({__proto__:null,css:$8},Symbol.toStringTag,{value:"Module"})),ib="input,select,textarea,keygen",t4=/%20/g,rb=/\r?\n/g;function u4(){return this.serializeArray().map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("&").replace(t4,"+")}function a4(){return this.map((e,u)=>{const n=this._make(u);return me(u)&&u.name==="form"?n.find(ib).toArray():n.filter(ib).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,u)=>{var n;const r=this._make(u),l=r.attr("name"),f=(n=r.val())!==null&&n!==void 0?n:"";return Array.isArray(f)?f.map(h=>({name:l,value:h.replace(rb,`\r
|
|
282
|
+
)`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},Q2={};function FS(e,u){return e===Fe.falseFunc?Fe.falseFunc:n=>u.isTag(n)&&e(n)}function X2(e,u){const n=u.getSiblings(e);if(n.length<=1)return[];const r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(u.isTag)}function oh(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const Nd=(e,u,n,r,l)=>{const f=l(u,oh(n),r);return f===Fe.trueFunc?e:f===Fe.falseFunc?Fe.falseFunc:h=>f(h)&&e(h)},Rd={is:Nd,matches:Nd,where:Nd,not(e,u,n,r,l){const f=l(u,oh(n),r);return f===Fe.falseFunc?e:f===Fe.trueFunc?Fe.falseFunc:h=>!f(h)&&e(h)},has(e,u,n,r,l){const{adapter:f}=n,h=oh(n);h.relativeSelector=!0;const D=u.some(b=>b.some(Yh))?[Q2]:void 0,E=l(u,h,D);if(E===Fe.falseFunc)return Fe.falseFunc;const p=FS(E,f);if(D&&E!==Fe.trueFunc){const{shouldTestNextSiblings:b=!1}=E;return T=>{if(!e(T))return!1;D[0]=T;const y=f.getChildren(T),v=b?[...y,...X2(T,f)]:y;return f.existsOne(p,v)}}return b=>e(b)&&f.existsOne(p,f.getChildren(b))}};function xS(e,u,n,r,l){var f;const{name:h,data:D}=u;if(Array.isArray(D)){if(!(h in Rd))throw new Error(`Unknown pseudo-class :${h}(${D})`);return Rd[h](e,D,n,r,l)}const E=(f=n.pseudos)===null||f===void 0?void 0:f[h],p=typeof E=="string"?E:OS[h];if(typeof p=="string"){if(D!=null)throw new Error(`Pseudo ${h} doesn't have any arguments`);const b=go(p);return Rd.is(e,b,n,r,l)}if(typeof E=="function")return nb(E,h,D,1),b=>E(b,D)&&e(b);if(h in ch)return ch[h](e,D,n,r);if(h in ab){const b=ab[h];return nb(b,h,D,2),T=>b(T,n,D)&&e(T)}throw new Error(`Unknown pseudo-class :${h}`)}function Od(e,u){const n=u.getParent(e);return n&&u.isTag(n)?n:null}function LS(e,u,n,r,l){const{adapter:f,equals:h}=n;switch(u.type){case he.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case he.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case he.Attribute:{if(u.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!n.xmlMode||n.lowerCaseAttributeNames)&&(u.name=u.name.toLowerCase()),CS[u.action](e,u,n)}case he.Pseudo:return xS(e,u,n,r,l);case he.Tag:{if(u.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:D}=u;return(!n.xmlMode||n.lowerCaseTags)&&(D=D.toLowerCase()),function(p){return f.getName(p)===D&&e(p)}}case he.Descendant:{if(n.cacheResults===!1||typeof WeakSet>"u")return function(p){let b=p;for(;b=Od(b,f);)if(e(b))return!0;return!1};const D=new WeakSet;return function(p){let b=p;for(;b=Od(b,f);)if(!D.has(b)){if(f.isTag(b)&&e(b))return!0;D.add(b)}return!1}}case"_flexibleDescendant":return function(E){let p=E;do if(e(p))return!0;while(p=Od(p,f));return!1};case he.Parent:return function(E){return f.getChildren(E).some(p=>f.isTag(p)&&e(p))};case he.Child:return function(E){const p=f.getParent(E);return p!=null&&f.isTag(p)&&e(p)};case he.Sibling:return function(E){const p=f.getSiblings(E);for(let b=0;b<p.length;b++){const T=p[b];if(h(E,T))break;if(f.isTag(T)&&e(T))return!0}return!1};case he.Adjacent:return f.prevElementSibling?function(E){const p=f.prevElementSibling(E);return p!=null&&e(p)}:function(E){const p=f.getSiblings(E);let b;for(let T=0;T<p.length;T++){const y=p[T];if(h(E,y))break;f.isTag(y)&&(b=y)}return!!b&&e(b)};case he.Universal:{if(u.namespace!=null&&u.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}}function K2(e){return e.type===he.Pseudo&&(e.name==="scope"||Array.isArray(e.data)&&e.data.some(u=>u.some(K2)))}const BS={type:he.Descendant},MS={type:"_flexibleDescendant"},IS={type:he.Pseudo,name:"scope",data:null};function wS(e,{adapter:u},n){const r=!!n?.every(l=>{const f=u.isTag(l)&&u.getParent(l);return l===Q2||f&&u.isTag(f)});for(const l of e){if(!(l.length>0&&Yh(l[0])&&l[0].type!==he.Descendant))if(r&&!l.some(K2))l.unshift(BS);else continue;l.unshift(IS)}}function Z2(e,u,n){var r;e.forEach(_S),n=(r=u.context)!==null&&r!==void 0?r:n;const l=Array.isArray(n),f=n&&(Array.isArray(n)?n:[n]);if(u.relativeSelector!==!1)wS(e,u,f);else if(e.some(E=>E.length>0&&Yh(E[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let h=!1;const D=e.map(E=>{if(E.length>=2){const[p,b]=E;p.type!==he.Pseudo||p.name!=="scope"||(l&&b.type===he.Descendant?E[1]=MS:(b.type===he.Adjacent||b.type===he.Sibling)&&(h=!0))}return US(E,u,f)}).reduce(PS,Fe.falseFunc);return D.shouldTestNextSiblings=h,D}function US(e,u,n){var r;return e.reduce((l,f)=>l===Fe.falseFunc?Fe.falseFunc:LS(l,f,u,n,Z2),(r=u.rootFunc)!==null&&r!==void 0?r:Fe.trueFunc)}function PS(e,u){return u===Fe.falseFunc||e===Fe.trueFunc?e:e===Fe.falseFunc||u===Fe.trueFunc?u:function(r){return e(r)||u(r)}}const $2=(e,u)=>e===u,HS={adapter:_o,equals:$2};function kS(e){var u,n,r,l;const f=e??HS;return(u=f.adapter)!==null&&u!==void 0||(f.adapter=_o),(n=f.equals)!==null&&n!==void 0||(f.equals=(l=(r=f.adapter)===null||r===void 0?void 0:r.equals)!==null&&l!==void 0?l:$2),f}function jS(e){return function(n,r,l){const f=kS(r);return e(n,f,l)}}const Gh=jS(Z2);function W2(e,u,n=!1){return n&&(e=zS(e,u)),Array.isArray(e)?u.removeSubsets(e):u.getChildren(e)}function zS(e,u){const n=Array.isArray(e)?e.slice(0):[e],r=n.length;for(let l=0;l<r;l++){const f=X2(n[l],u);n.push(...f)}return n}const qS=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function eo(e){return e.type!=="pseudo"?!1:qS.has(e.name)?!0:e.name==="not"&&Array.isArray(e.data)?e.data.some(u=>u.some(eo)):!1}function YS(e,u,n){const r=u!=null?parseInt(u,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}function GS(e){for(;e.parent;)e=e.parent;return e}function Vh(e){const u=[],n=[];for(const r of e)r.some(eo)?u.push(r):n.push(r);return[n,u]}const VS={type:he.Universal,namespace:null},QS={type:he.Pseudo,name:"scope",data:null};function J2(e,u,n={}){return e3([e],u,n)}function e3(e,u,n={}){if(typeof u=="function")return e.some(u);const[r,l]=Vh(go(u));return r.length>0&&e.some(Gh(r,n))||l.some(f=>a3(f,e,n).length>0)}function XS(e,u,n,r){const l=typeof n=="string"?parseInt(n,10):NaN;switch(e){case"first":case"lt":return u;case"last":return u.length>0?[u[u.length-1]]:u;case"nth":case"eq":return isFinite(l)&&Math.abs(l)<u.length?[l<0?u[u.length+l]:u[l]]:[];case"gt":return isFinite(l)?u.slice(l+1):[];case"even":return u.filter((f,h)=>h%2===0);case"odd":return u.filter((f,h)=>h%2===1);case"not":{const f=new Set(u3(n,u,r));return u.filter(h=>!f.has(h))}}}function t3(e,u,n={}){return u3(go(e),u,n)}function u3(e,u,n){if(u.length===0)return[];const[r,l]=Vh(e);let f;if(r.length){const h=dh(u,r,n);if(l.length===0)return h;h.length&&(f=new Set(h))}for(let h=0;h<l.length&&f?.size!==u.length;h++){const D=l[h];if((f?u.filter(b=>me(b)&&!f.has(b)):u).length===0)break;const p=a3(D,u,n);if(p.length)if(f)p.forEach(b=>f.add(b));else{if(h===l.length-1)return p;f=new Set(p)}}return typeof f<"u"?f.size===u.length?u:u.filter(h=>f.has(h)):[]}function a3(e,u,n){var r;if(e.some(Ns)){const l=(r=n.root)!==null&&r!==void 0?r:GS(u[0]),f={...n,context:u,relativeSelector:!1};return e.push(QS),to(l,e,f,!0,u.length)}return to(u,e,n,!1,u.length)}function KS(e,u,n={},r=1/0){if(typeof e=="function")return n3(u,e);const[l,f]=Vh(go(e)),h=f.map(D=>to(u,D,n,!0,r));return l.length&&h.push(fh(u,l,n,r)),h.length===0?[]:h.length===1?h[0]:q2(h.reduce((D,E)=>[...D,...E]))}function to(e,u,n,r,l){const f=u.findIndex(eo),h=u.slice(0,f),D=u[f],E=u.length-1===f?l:1/0,p=YS(D.name,D.data,E);if(p===0)return[];const T=(h.length===0&&!Array.isArray(e)?zh(e).filter(me):h.length===0?(Array.isArray(e)?e:[e]).filter(me):r||h.some(Ns)?fh(e,[h],n,p):dh(e,[h],n)).slice(0,p);let y=XS(D.name,T,D.data,n);if(y.length===0||u.length===f+1)return y;const v=u.slice(f+1),N=v.some(Ns);if(N){if(Ns(v[0])){const{type:x}=v[0];(x===he.Sibling||x===he.Adjacent)&&(y=W2(y,_o,!0)),v.unshift(VS)}n={...n,relativeSelector:!1,rootFunc:x=>y.includes(x)}}else n.rootFunc&&n.rootFunc!==Jc.trueFunc&&(n={...n,rootFunc:Jc.trueFunc});return v.some(eo)?to(y,v,n,!1,l):N?fh(y,[v],n,l):dh(y,[v],n)}function fh(e,u,n,r){const l=Gh(u,n,e);return n3(e,l,r)}function n3(e,u,n=1/0){const r=W2(e,_o,u.shouldTestNextSiblings);return To(l=>me(l)&&u(l),r,!0,n)}function dh(e,u,n){const r=(Array.isArray(e)?e:[e]).filter(me);if(r.length===0)return r;const l=Gh(u,n);return l===Jc.trueFunc?r:r.filter(l)}const ZS=/^\s*[+~]/;function $S(e){if(!e)return this._make([]);if(typeof e!="string"){const u=Aa(e)?e.toArray():[e],n=this.toArray();return this._make(u.filter(r=>n.some(l=>kh(l,r))))}return this._findBySelector(e,Number.POSITIVE_INFINITY)}function WS(e,u){var n;const r=this.toArray(),l=ZS.test(e)?r:this.children().toArray(),f={context:r,root:(n=this._root)===null||n===void 0?void 0:n[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(KS(e,l,f,u))}function Qh(e){return function(u,...n){return function(r){var l;let f=e(u,this);return r&&(f=Zh(f,r,this.options.xmlMode,(l=this._root)===null||l===void 0?void 0:l[0])),this._make(this.length>1&&f.length>1?n.reduce((h,D)=>D(h),f):f)}}}const Zs=Qh((e,u)=>{let n=[];for(let r=0;r<u.length;r++){const l=e(u[r]);l.length>0&&(n=n.concat(l))}return n}),Xh=Qh((e,u)=>{const n=[];for(let r=0;r<u.length;r++){const l=e(u[r]);l!==null&&n.push(l)}return n});function Kh(e,...u){let n=null;const r=Qh((l,f)=>{const h=[];return ft(f,D=>{for(let E;(E=l(D))&&!n?.(E,h.length);D=E)h.push(E)}),h})(e,...u);return function(l,f){n=typeof l=="string"?D=>J2(D,l,this.options):l?$s(l):null;const h=r.call(this,f);return n=null,h}}function Vi(e){return e.length>1?Array.from(new Set(e)):e}const JS=Xh(({parent:e})=>e&&!sn(e)?e:null,Vi),e8=Zs(e=>{const u=[];for(;e.parent&&!sn(e.parent);)u.push(e.parent),e=e.parent;return u},po,e=>e.reverse()),t8=Kh(({parent:e})=>e&&!sn(e)?e:null,po,e=>e.reverse());function u8(e){var u;const n=[];if(!e)return this._make(n);const r={xmlMode:this.options.xmlMode,root:(u=this._root)===null||u===void 0?void 0:u[0]},l=typeof e=="string"?f=>J2(f,e,r):$s(e);return ft(this,f=>{for(f&&!sn(f)&&!me(f)&&(f=f.parent);f&&me(f);){if(l(f,0)){n.includes(f)||n.push(f);break}f=f.parent}}),this._make(n)}const a8=Xh(e=>C2(e)),n8=Zs(e=>{const u=[];for(;e.next;)e=e.next,me(e)&&u.push(e);return u},Vi),i8=Kh(e=>C2(e),Vi),r8=Xh(e=>y2(e)),s8=Zs(e=>{const u=[];for(;e.prev;)e=e.prev,me(e)&&u.push(e);return u},Vi),l8=Kh(e=>y2(e),Vi),c8=Zs(e=>iy(e).filter(u=>me(u)&&u!==e),po),o8=Zs(e=>v2(e).filter(me),Vi);function f8(){const e=this.toArray().reduce((u,n)=>ot(n)?u.concat(n.children):u,[]);return this._make(e)}function d8(e){let u=0;const n=this.length;for(;u<n&&e.call(this[u],u,this[u])!==!1;)++u;return this}function h8(e){let u=[];for(let n=0;n<this.length;n++){const r=this[n],l=e.call(r,n,r);l!=null&&(u=u.concat(l))}return this._make(u)}function $s(e){return typeof e=="function"?(u,n)=>e.call(u,n,u):Aa(e)?u=>Array.prototype.includes.call(e,u):function(u){return e===u}}function m8(e){var u;return this._make(Zh(this.toArray(),e,this.options.xmlMode,(u=this._root)===null||u===void 0?void 0:u[0]))}function Zh(e,u,n,r){return typeof u=="string"?t3(u,e,{xmlMode:n,root:r}):e.filter($s(u))}function E8(e){const u=this.toArray();return typeof e=="string"?e3(u.filter(me),e,this.options):e?u.some($s(e)):!1}function D8(e){let u=this.toArray();if(typeof e=="string"){const n=new Set(t3(e,u,this.options));u=u.filter(r=>!n.has(r))}else{const n=$s(e);u=u.filter((r,l)=>!n(r,l))}return this._make(u)}function p8(e){return this.filter(typeof e=="string"?`:has(${e})`:(u,n)=>this._make(n).find(e).length>0)}function g8(){return this.length>1?this._make(this[0]):this}function b8(){return this.length>0?this._make(this[this.length-1]):this}function T8(e){var u;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((u=this[e])!==null&&u!==void 0?u:[]))}function _8(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function A8(){return Array.prototype.slice.call(this)}function v8(e){let u,n;return e==null?(u=this.parent().children(),n=this[0]):typeof e=="string"?(u=this._make(e),n=this[0]):(u=this,n=Aa(e)?e[0]:e),Array.prototype.indexOf.call(u,n)}function C8(e,u){return this._make(Array.prototype.slice.call(this,e,u))}function y8(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function S8(e,u){const n=this._make(e,u),r=po([...this.get(),...n.get()]);return this._make(r)}function N8(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const R8=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector:WS,add:S8,addBack:N8,children:o8,closest:u8,contents:f8,each:d8,end:y8,eq:T8,filter:m8,filterArray:Zh,find:$S,first:g8,get:_8,has:p8,index:v8,is:E8,last:b8,map:h8,next:a8,nextAll:n8,nextUntil:i8,not:D8,parent:JS,parents:e8,parentsUntil:t8,prev:r8,prevAll:s8,prevUntil:l8,siblings:c8,slice:C8,toArray:A8},Symbol.toStringTag,{value:"Module"}));function O8(e){return function(n,r,l,f){if(typeof Buffer<"u"&&Buffer.isBuffer(n)&&(n=n.toString()),typeof n=="string")return e(n,r,l,f);const h=n;if(!Array.isArray(h)&&sn(h))return h;const D=new In([]);return wn(h,D),D}}function wn(e,u){const n=Array.isArray(e)?e:[e];u?u.children=n:u=null;for(let r=0;r<n.length;r++){const l=n[r];l.parent&&l.parent.children!==n&&S2(l),u?(l.prev=n[r-1]||null,l.next=n[r+1]||null):l.prev=l.next=null,l.parent=u}return u}function F8(e,u){if(e==null)return[];if(typeof e=="string")return this._parse(e,this.options,!1,null).children.slice(0);if("length"in e){if(e.length===1)return this._makeDomArray(e[0],u);const n=[];for(let r=0;r<e.length;r++){const l=e[r];if(typeof l=="object"){if(l==null)continue;if(!("length"in l)){n.push(u?Us(l,!0):l);continue}}n.push(...this._makeDomArray(l,u))}return n}return[u?Us(e,!0):e]}function i3(e){return function(...u){const n=this.length-1;return ft(this,(r,l)=>{if(!ot(r))return;const f=typeof u[0]=="function"?u[0].call(r,l,this._render(r.children)):u,h=this._makeDomArray(f,l<n);e(h,r.children,r)})}}function ln(e,u,n,r,l){var f,h;const D=[u,n,...r],E=u===0?null:e[u-1],p=u+n>=e.length?null:e[u+n];for(let b=0;b<r.length;++b){const T=r[b],y=T.parent;if(y){const N=y.children.indexOf(T);N!==-1&&(y.children.splice(N,1),l===y&&u>N&&D[0]--)}T.parent=l,T.prev&&(T.prev.next=(f=T.next)!==null&&f!==void 0?f:null),T.next&&(T.next.prev=(h=T.prev)!==null&&h!==void 0?h:null),T.prev=b===0?E:r[b-1],T.next=b===r.length-1?p:r[b+1]}return E&&(E.next=r[0]),p&&(p.prev=r[r.length-1]),e.splice(...D)}function x8(e){return(Aa(e)?e:this._make(e)).append(this),this}function L8(e){return(Aa(e)?e:this._make(e)).prepend(this),this}const B8=i3((e,u,n)=>{ln(u,u.length,0,e,n)}),M8=i3((e,u,n)=>{ln(u,0,0,e,n)});function r3(e){return function(u){const n=this.length-1,r=this.parents().last();for(let l=0;l<this.length;l++){const f=this[l],h=typeof u=="function"?u.call(f,l,f):typeof u=="string"&&!ih(u)?r.find(u).clone():u,[D]=this._makeDomArray(h,l<n);if(!D||!ot(D))continue;let E=D,p=0;for(;p<E.children.length;){const b=E.children[p];me(b)?(E=b,p=0):p++}e(f,E,[D])}return this}}const I8=r3((e,u,n)=>{const{parent:r}=e;if(!r)return;const l=r.children,f=l.indexOf(e);wn([e],u),ln(l,f,0,n,r)}),w8=r3((e,u,n)=>{ot(e)&&(wn(e.children,u),wn(n,e))});function U8(e){return this.parent(e).not("body").each((u,n)=>{this._make(n).replaceWith(n.children)}),this}function P8(e){const u=this[0];if(u){const n=this._make(typeof e=="function"?e.call(u,0,u):e).insertBefore(u);let r;for(let f=0;f<n.length;f++)n[f].type===th&&(r=n[f]);let l=0;for(;r&&l<r.children.length;){const f=r.children[l];f.type===th?(r=f,l=0):l++}r&&this._make(r).append(this)}return this}function H8(...e){const u=this.length-1;return ft(this,(n,r)=>{if(!ot(n)||!n.parent)return;const l=n.parent.children,f=l.indexOf(n);if(f===-1)return;const h=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,D=this._makeDomArray(h,r<u);ln(l,f+1,0,D,n.parent)})}function k8(e){typeof e=="string"&&(e=this._make(e)),this.remove();const u=[];for(const n of this._makeDomArray(e)){const r=this.clone().toArray(),{parent:l}=n;if(!l)continue;const f=l.children,h=f.indexOf(n);h!==-1&&(ln(f,h+1,0,r,l),u.push(...r))}return this._make(u)}function j8(...e){const u=this.length-1;return ft(this,(n,r)=>{if(!ot(n)||!n.parent)return;const l=n.parent.children,f=l.indexOf(n);if(f===-1)return;const h=typeof e[0]=="function"?e[0].call(n,r,this._render(n.children)):e,D=this._makeDomArray(h,r<u);ln(l,f,0,D,n.parent)})}function z8(e){const u=this._make(e);this.remove();const n=[];return ft(u,r=>{const l=this.clone().toArray(),{parent:f}=r;if(!f)return;const h=f.children,D=h.indexOf(r);D!==-1&&(ln(h,D,0,l,f),n.push(...l))}),this._make(n)}function q8(e){const u=e?this.filter(e):this;return ft(u,n=>{S2(n),n.prev=n.next=n.parent=null}),this}function Y8(e){return ft(this,(u,n)=>{const{parent:r}=u;if(!r)return;const l=r.children,f=typeof e=="function"?e.call(u,n,u):e,h=this._makeDomArray(f);wn(h,null);const D=l.indexOf(u);ln(l,D,1,h,r),h.includes(u)||(u.parent=u.prev=u.next=null)})}function G8(){return ft(this,e=>{if(ot(e)){for(const u of e.children)u.next=u.prev=u.parent=null;e.children.length=0}})}function V8(e){if(e===void 0){const u=this[0];return!u||!ot(u)?null:this._render(u.children)}return ft(this,u=>{if(!ot(u))return;for(const r of u.children)r.next=r.prev=r.parent=null;const n=Aa(e)?e.toArray():this._parse(`${e}`,this.options,!1,u).children;wn(n,u)})}function Q8(){return this._render(this)}function X8(e){return e===void 0?Ps(this):typeof e=="function"?ft(this,(u,n)=>this._make(u).text(e.call(u,n,Ps([u])))):ft(this,u=>{if(!ot(u))return;for(const r of u.children)r.next=r.prev=r.parent=null;const n=new ws(`${e}`);wn(n,u)})}function K8(){const e=Array.prototype.map.call(this.get(),n=>Us(n,!0)),u=new In(e);for(const n of e)n.parent=u;return this._make(e)}const Z8=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:F8,after:H8,append:B8,appendTo:x8,before:j8,clone:K8,empty:G8,html:V8,insertAfter:k8,insertBefore:z8,prepend:M8,prependTo:L8,remove:q8,replaceWith:Y8,text:X8,toString:Q8,unwrap:U8,wrap:I8,wrapAll:P8,wrapInner:w8},Symbol.toStringTag,{value:"Module"}));function $8(e,u){if(e!=null&&u!=null||typeof e=="object"&&!Array.isArray(e))return ft(this,(n,r)=>{me(n)&&s3(n,e,u,r)});if(this.length!==0)return l3(this[0],e)}function s3(e,u,n,r){if(typeof u=="string"){const l=l3(e),f=typeof n=="function"?n.call(e,r,l[u]):n;f===""?delete l[u]:f!=null&&(l[u]=f),e.attribs.style=W8(l)}else if(typeof u=="object"){const l=Object.keys(u);for(let f=0;f<l.length;f++){const h=l[f];s3(e,h,u[h],f)}}}function l3(e,u){if(!e||!me(e))return;const n=J8(e.attribs.style);if(typeof u=="string")return n[u];if(Array.isArray(u)){const r={};for(const l of u)n[l]!=null&&(r[l]=n[l]);return r}return n}function W8(e){return Object.keys(e).reduce((u,n)=>`${u}${u?" ":""}${n}: ${e[n]};`,"")}function J8(e){if(e=(e||"").trim(),!e)return{};const u={};let n;for(const r of e.split(";")){const l=r.indexOf(":");if(l<1||l===r.length-1){const f=r.trimEnd();f.length>0&&n!==void 0&&(u[n]+=`;${f}`)}else n=r.slice(0,l).trim(),u[n]=r.slice(l+1).trim()}return u}const e4=Object.freeze(Object.defineProperty({__proto__:null,css:$8},Symbol.toStringTag,{value:"Module"})),ib="input,select,textarea,keygen",t4=/%20/g,rb=/\r?\n/g;function u4(){return this.serializeArray().map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("&").replace(t4,"+")}function a4(){return this.map((e,u)=>{const n=this._make(u);return me(u)&&u.name==="form"?n.find(ib).toArray():n.filter(ib).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,u)=>{var n;const r=this._make(u),l=r.attr("name"),f=(n=r.val())!==null&&n!==void 0?n:"";return Array.isArray(f)?f.map(h=>({name:l,value:h.replace(rb,`\r
|
|
283
283
|
`)})):{name:l,value:f.replace(rb,`\r
|
|
284
|
-
`)}}).toArray()}const n4=Object.freeze(Object.defineProperty({__proto__:null,serialize:u4,serializeArray:a4},Symbol.toStringTag,{value:"Module"}));function i4(e){var u;return typeof e=="string"?{selector:e,value:"textContent"}:{selector:e.selector,value:(u=e.value)!==null&&u!==void 0?u:"textContent"}}function r4(e){const u={};for(const n in e){const r=e[n],l=Array.isArray(r),{selector:f,value:h}=i4(l?r[0]:r),D=typeof h=="function"?h:typeof h=="string"?E=>this._make(E).prop(h):E=>this._make(E).extract(h);if(l)u[n]=this._findBySelector(f,Number.POSITIVE_INFINITY).map((E,p)=>D(p,n,u)).get();else{const E=this._findBySelector(f,1);u[n]=E.length>0?D(E[0],n,u):void 0}}return u}const s4=Object.freeze(Object.defineProperty({__proto__:null,extract:r4},Symbol.toStringTag,{value:"Module"}));class $s{constructor(u,n,r){if(this.length=0,this.options=r,this._root=n,u){for(let l=0;l<u.length;l++)this[l]=u[l];this.length=u.length}}}$s.prototype.cheerio="[cheerio object]";$s.prototype.splice=Array.prototype.splice;$s.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator];Object.assign($s.prototype,jy,R8,Z8,e4,n4,s4);function l4(e,u){return function n(r,l,f=!0){if(r==null)throw new Error("cheerio.load() expects a string");const h=nh(l),D=e(r,h,f,null);class E extends $s{_make(T,y){const v=p(T,y);return v.prevObject=this,v}_parse(T,y,v,N){return e(T,y,v,N)}_render(T){return u(T,this.options)}}function p(b,T,y=D,v){if(b&&va(b))return b;const N=nh(v,h),x=typeof y=="string"?[e(y,N,!1,null)]:"length"in y?y:[y],P=va(x)?x:new E(x,null,N);if(P._root=P,!b)return new E(void 0,P,N);const B=typeof b=="string"&&ih(b)?e(b,N,!1,null).children:c4(b)?[b]:Array.isArray(b)?b:void 0,Z=new E(B,P,N);if(B)return Z;if(typeof b!="string")throw new TypeError("Unexpected type of selector");let H=b;const $=T?typeof T=="string"?ih(T)?new E([e(T,N,!1,null)],P,N):(H=`${T} ${H}`,P):va(T)?T:new E(Array.isArray(T)?T:[T],P,N):P;return $?$.find(H):Z}return Object.assign(p,my,{load:n,_root:D,_options:h,fn:E.prototype,prototype:E.prototype}),p}}function c4(e){return!!e.name||e.type===Mh||e.type===p2||e.type===g2}const o4=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ct="�";var _;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(_||(_={}));const tu={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function c3(e){return e>=55296&&e<=57343}function f4(e){return e>=56320&&e<=57343}function d4(e,u){return(e-55296)*1024+9216+u}function o3(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function f3(e){return e>=64976&&e<=65007||o4.has(e)}var z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(z||(z={}));const h4=65536;class m4{constructor(u){this.handler=u,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=h4,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(u,n){const{line:r,col:l,offset:f}=this,h=l+n,D=f+n;return{code:u,startLine:r,endLine:r,startCol:h,endCol:h,startOffset:D,endOffset:D}}_err(u){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(u,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(u){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(f4(n))return this.pos++,this._addGap(),d4(u,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(z.surrogateInInputStream),u}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(u,n){this.html.length>0?this.html+=u:this.html=u,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(u){this.html=this.html.substring(0,this.pos+1)+u+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(u,n){if(this.pos+u.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(u,this.pos);for(let r=0;r<u.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==u.charCodeAt(r))return!1;return!0}peek(u){const n=this.pos+u;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;const r=this.html.charCodeAt(n);return r===_.CARRIAGE_RETURN?_.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let u=this.html.charCodeAt(this.pos);return u===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):u===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,c3(u)&&(u=this._processSurrogate(u)),this.handler.onParseError===null||u>31&&u<127||u===_.LINE_FEED||u===_.CARRIAGE_RETURN||u>159&&u<64976||this._checkForProblematicCharacters(u),u)}_checkForProblematicCharacters(u){o3(u)?this._err(z.controlCharacterInInputStream):f3(u)&&this._err(z.noncharacterInInputStream)}retreat(u){for(this.pos-=u;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ze;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(ze||(ze={}));function d3(e,u){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===u)return e.attrs[n].value;return null}var W;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(W||(W={}));var Mn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Mn||(Mn={}));var Tu;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Tu||(Tu={}));var M;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(M||(M={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const E4=new Map([[M.A,d.A],[M.ADDRESS,d.ADDRESS],[M.ANNOTATION_XML,d.ANNOTATION_XML],[M.APPLET,d.APPLET],[M.AREA,d.AREA],[M.ARTICLE,d.ARTICLE],[M.ASIDE,d.ASIDE],[M.B,d.B],[M.BASE,d.BASE],[M.BASEFONT,d.BASEFONT],[M.BGSOUND,d.BGSOUND],[M.BIG,d.BIG],[M.BLOCKQUOTE,d.BLOCKQUOTE],[M.BODY,d.BODY],[M.BR,d.BR],[M.BUTTON,d.BUTTON],[M.CAPTION,d.CAPTION],[M.CENTER,d.CENTER],[M.CODE,d.CODE],[M.COL,d.COL],[M.COLGROUP,d.COLGROUP],[M.DD,d.DD],[M.DESC,d.DESC],[M.DETAILS,d.DETAILS],[M.DIALOG,d.DIALOG],[M.DIR,d.DIR],[M.DIV,d.DIV],[M.DL,d.DL],[M.DT,d.DT],[M.EM,d.EM],[M.EMBED,d.EMBED],[M.FIELDSET,d.FIELDSET],[M.FIGCAPTION,d.FIGCAPTION],[M.FIGURE,d.FIGURE],[M.FONT,d.FONT],[M.FOOTER,d.FOOTER],[M.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[M.FORM,d.FORM],[M.FRAME,d.FRAME],[M.FRAMESET,d.FRAMESET],[M.H1,d.H1],[M.H2,d.H2],[M.H3,d.H3],[M.H4,d.H4],[M.H5,d.H5],[M.H6,d.H6],[M.HEAD,d.HEAD],[M.HEADER,d.HEADER],[M.HGROUP,d.HGROUP],[M.HR,d.HR],[M.HTML,d.HTML],[M.I,d.I],[M.IMG,d.IMG],[M.IMAGE,d.IMAGE],[M.INPUT,d.INPUT],[M.IFRAME,d.IFRAME],[M.KEYGEN,d.KEYGEN],[M.LABEL,d.LABEL],[M.LI,d.LI],[M.LINK,d.LINK],[M.LISTING,d.LISTING],[M.MAIN,d.MAIN],[M.MALIGNMARK,d.MALIGNMARK],[M.MARQUEE,d.MARQUEE],[M.MATH,d.MATH],[M.MENU,d.MENU],[M.META,d.META],[M.MGLYPH,d.MGLYPH],[M.MI,d.MI],[M.MO,d.MO],[M.MN,d.MN],[M.MS,d.MS],[M.MTEXT,d.MTEXT],[M.NAV,d.NAV],[M.NOBR,d.NOBR],[M.NOFRAMES,d.NOFRAMES],[M.NOEMBED,d.NOEMBED],[M.NOSCRIPT,d.NOSCRIPT],[M.OBJECT,d.OBJECT],[M.OL,d.OL],[M.OPTGROUP,d.OPTGROUP],[M.OPTION,d.OPTION],[M.P,d.P],[M.PARAM,d.PARAM],[M.PLAINTEXT,d.PLAINTEXT],[M.PRE,d.PRE],[M.RB,d.RB],[M.RP,d.RP],[M.RT,d.RT],[M.RTC,d.RTC],[M.RUBY,d.RUBY],[M.S,d.S],[M.SCRIPT,d.SCRIPT],[M.SEARCH,d.SEARCH],[M.SECTION,d.SECTION],[M.SELECT,d.SELECT],[M.SOURCE,d.SOURCE],[M.SMALL,d.SMALL],[M.SPAN,d.SPAN],[M.STRIKE,d.STRIKE],[M.STRONG,d.STRONG],[M.STYLE,d.STYLE],[M.SUB,d.SUB],[M.SUMMARY,d.SUMMARY],[M.SUP,d.SUP],[M.TABLE,d.TABLE],[M.TBODY,d.TBODY],[M.TEMPLATE,d.TEMPLATE],[M.TEXTAREA,d.TEXTAREA],[M.TFOOT,d.TFOOT],[M.TD,d.TD],[M.TH,d.TH],[M.THEAD,d.THEAD],[M.TITLE,d.TITLE],[M.TR,d.TR],[M.TRACK,d.TRACK],[M.TT,d.TT],[M.U,d.U],[M.UL,d.UL],[M.SVG,d.SVG],[M.VAR,d.VAR],[M.WBR,d.WBR],[M.XMP,d.XMP]]);function Ao(e){var u;return(u=E4.get(e))!==null&&u!==void 0?u:d.UNKNOWN}const ee=d,D4={[W.HTML]:new Set([ee.ADDRESS,ee.APPLET,ee.AREA,ee.ARTICLE,ee.ASIDE,ee.BASE,ee.BASEFONT,ee.BGSOUND,ee.BLOCKQUOTE,ee.BODY,ee.BR,ee.BUTTON,ee.CAPTION,ee.CENTER,ee.COL,ee.COLGROUP,ee.DD,ee.DETAILS,ee.DIR,ee.DIV,ee.DL,ee.DT,ee.EMBED,ee.FIELDSET,ee.FIGCAPTION,ee.FIGURE,ee.FOOTER,ee.FORM,ee.FRAME,ee.FRAMESET,ee.H1,ee.H2,ee.H3,ee.H4,ee.H5,ee.H6,ee.HEAD,ee.HEADER,ee.HGROUP,ee.HR,ee.HTML,ee.IFRAME,ee.IMG,ee.INPUT,ee.LI,ee.LINK,ee.LISTING,ee.MAIN,ee.MARQUEE,ee.MENU,ee.META,ee.NAV,ee.NOEMBED,ee.NOFRAMES,ee.NOSCRIPT,ee.OBJECT,ee.OL,ee.P,ee.PARAM,ee.PLAINTEXT,ee.PRE,ee.SCRIPT,ee.SECTION,ee.SELECT,ee.SOURCE,ee.STYLE,ee.SUMMARY,ee.TABLE,ee.TBODY,ee.TD,ee.TEMPLATE,ee.TEXTAREA,ee.TFOOT,ee.TH,ee.THEAD,ee.TITLE,ee.TR,ee.TRACK,ee.UL,ee.WBR,ee.XMP]),[W.MATHML]:new Set([ee.MI,ee.MO,ee.MN,ee.MS,ee.MTEXT,ee.ANNOTATION_XML]),[W.SVG]:new Set([ee.TITLE,ee.FOREIGN_OBJECT,ee.DESC]),[W.XLINK]:new Set,[W.XML]:new Set,[W.XMLNS]:new Set},hh=new Set([ee.H1,ee.H2,ee.H3,ee.H4,ee.H5,ee.H6]),p4=new Set([M.STYLE,M.SCRIPT,M.XMP,M.IFRAME,M.NOEMBED,M.NOFRAMES,M.PLAINTEXT]);function g4(e,u){return p4.has(e)||u&&e===M.NOSCRIPT}var C;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(C||(C={}));const au={DATA:C.DATA,RCDATA:C.RCDATA,RAWTEXT:C.RAWTEXT,SCRIPT_DATA:C.SCRIPT_DATA,PLAINTEXT:C.PLAINTEXT,CDATA_SECTION:C.CDATA_SECTION};function b4(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function Cs(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function T4(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function en(e){return T4(e)||Cs(e)}function sb(e){return en(e)||b4(e)}function Oc(e){return e+32}function h3(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function lb(e){return h3(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}function _4(e){return e===_.NULL?z.nullCharacterReference:e>1114111?z.characterReferenceOutsideUnicodeRange:c3(e)?z.surrogateCharacterReference:f3(e)?z.noncharacterCharacterReference:o3(e)||e===_.CARRIAGE_RETURN?z.controlCharacterReference:null}class A4{constructor(u,n){this.options=u,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=C.DATA,this.returnState=C.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new m4(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new F2(O2,(r,l)=>{this.preprocessor.pos=this.entityStartPos+l-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const l=_4(r);l&&this._err(l,1)}}:void 0)}_err(u,n=0){var r,l;(l=(r=this.handler).onParseError)===null||l===void 0||l.call(r,this.preprocessor.getError(u,n))}getCurrentLocation(u){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-u,startOffset:this.preprocessor.offset-u,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const u=this._consume();this._ensureHibernation()||this._callState(u)}this.inLoop=!1}}pause(){this.paused=!0}resume(u){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||u?.())}write(u,n,r){this.active=!0,this.preprocessor.write(u,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(u){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(u),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(u){this.consumedAfterSnapshot+=u;for(let n=0;n<u;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(u,n){return this.preprocessor.startsWith(u,n)?(this._advanceBy(u.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ze.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ze.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(u){this.currentToken={type:ze.COMMENT,data:"",location:this.getCurrentLocation(u)}}_createDoctypeToken(u){this.currentToken={type:ze.DOCTYPE,name:u,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(u,n){this.currentCharacterToken={type:u,chars:n,location:this.currentLocation}}_createAttr(u){this.currentAttr={name:u,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var u,n;const r=this.currentToken;if(d3(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const l=(u=(n=r.location).attrs)!==null&&u!==void 0?u:n.attrs=Object.create(null);l[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(u){this._emitCurrentCharacterToken(u.location),this.currentToken=null,u.location&&(u.location.endLine=this.preprocessor.line,u.location.endCol=this.preprocessor.col+1,u.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const u=this.currentToken;this.prepareToken(u),u.tagID=Ao(u.tagName),u.type===ze.START_TAG?(this.lastStartTagName=u.tagName,this.handler.onStartTag(u)):(u.attrs.length>0&&this._err(z.endTagWithAttributes),u.selfClosing&&this._err(z.endTagWithTrailingSolidus),this.handler.onEndTag(u)),this.preprocessor.dropParsedChunk()}emitCurrentComment(u){this.prepareToken(u),this.handler.onComment(u),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(u){this.prepareToken(u),this.handler.onDoctype(u),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(u){if(this.currentCharacterToken){switch(u&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=u.startLine,this.currentCharacterToken.location.endCol=u.startCol,this.currentCharacterToken.location.endOffset=u.startOffset),this.currentCharacterToken.type){case ze.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ze.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ze.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const u=this.getCurrentLocation(0);u&&(u.endLine=u.startLine,u.endCol=u.startCol,u.endOffset=u.startOffset),this._emitCurrentCharacterToken(u),this.handler.onEof({type:ze.EOF,location:u}),this.active=!1}_appendCharToCurrentCharacterToken(u,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===u){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(u,n)}_emitCodePoint(u){const n=h3(u)?ze.WHITESPACE_CHARACTER:u===_.NULL?ze.NULL_CHARACTER:ze.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(u))}_emitChars(u){this._appendCharToCurrentCharacterToken(ze.CHARACTER,u)}_startCharacterReference(){this.returnState=this.state,this.state=C.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Mu.Attribute:Mu.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===C.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(u){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(u):this._emitCodePoint(u)}_callState(u){switch(this.state){case C.DATA:{this._stateData(u);break}case C.RCDATA:{this._stateRcdata(u);break}case C.RAWTEXT:{this._stateRawtext(u);break}case C.SCRIPT_DATA:{this._stateScriptData(u);break}case C.PLAINTEXT:{this._statePlaintext(u);break}case C.TAG_OPEN:{this._stateTagOpen(u);break}case C.END_TAG_OPEN:{this._stateEndTagOpen(u);break}case C.TAG_NAME:{this._stateTagName(u);break}case C.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(u);break}case C.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(u);break}case C.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(u);break}case C.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(u);break}case C.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(u);break}case C.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(u);break}case C.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(u);break}case C.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(u);break}case C.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(u);break}case C.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(u);break}case C.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(u);break}case C.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(u);break}case C.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(u);break}case C.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(u);break}case C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(u);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(u);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(u);break}case C.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(u);break}case C.ATTRIBUTE_NAME:{this._stateAttributeName(u);break}case C.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(u);break}case C.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(u);break}case C.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(u);break}case C.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(u);break}case C.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(u);break}case C.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(u);break}case C.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(u);break}case C.BOGUS_COMMENT:{this._stateBogusComment(u);break}case C.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(u);break}case C.COMMENT_START:{this._stateCommentStart(u);break}case C.COMMENT_START_DASH:{this._stateCommentStartDash(u);break}case C.COMMENT:{this._stateComment(u);break}case C.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(u);break}case C.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(u);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(u);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(u);break}case C.COMMENT_END_DASH:{this._stateCommentEndDash(u);break}case C.COMMENT_END:{this._stateCommentEnd(u);break}case C.COMMENT_END_BANG:{this._stateCommentEndBang(u);break}case C.DOCTYPE:{this._stateDoctype(u);break}case C.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(u);break}case C.DOCTYPE_NAME:{this._stateDoctypeName(u);break}case C.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(u);break}case C.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(u);break}case C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(u);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(u);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(u);break}case C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(u);break}case C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(u);break}case C.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(u);break}case C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(u);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(u);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(u);break}case C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(u);break}case C.BOGUS_DOCTYPE:{this._stateBogusDoctype(u);break}case C.CDATA_SECTION:{this._stateCdataSection(u);break}case C.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(u);break}case C.CDATA_SECTION_END:{this._stateCdataSectionEnd(u);break}case C.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case C.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(u);break}default:throw new Error("Unknown state")}}_stateData(u){switch(u){case _.LESS_THAN_SIGN:{this.state=C.TAG_OPEN;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitCodePoint(u);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateRcdata(u){switch(u){case _.AMPERSAND:{this._startCharacterReference();break}case _.LESS_THAN_SIGN:{this.state=C.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateRawtext(u){switch(u){case _.LESS_THAN_SIGN:{this.state=C.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateScriptData(u){switch(u){case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_statePlaintext(u){switch(u){case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateTagOpen(u){if(en(u))this._createStartTagToken(),this.state=C.TAG_NAME,this._stateTagName(u);else switch(u){case _.EXCLAMATION_MARK:{this.state=C.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=C.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=C.BOGUS_COMMENT,this._stateBogusComment(u);break}case _.EOF:{this._err(z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=C.DATA,this._stateData(u)}}_stateEndTagOpen(u){if(en(u))this._createEndTagToken(),this.state=C.TAG_NAME,this._stateTagName(u);else switch(u){case _.GREATER_THAN_SIGN:{this._err(z.missingEndTagName),this.state=C.DATA;break}case _.EOF:{this._err(z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(u)}}_stateTagName(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.tagName+=ct;break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Cs(u)?Oc(u):u)}}_stateRcdataLessThanSign(u){u===_.SOLIDUS?this.state=C.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RCDATA,this._stateRcdata(u))}_stateRcdataEndTagOpen(u){en(u)?(this.state=C.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(u)):(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(u))}handleSpecialEndTag(u){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=C.BEFORE_ATTRIBUTE_NAME,!1;case _.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=C.SELF_CLOSING_START_TAG,!1;case _.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=C.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(u))}_stateRawtextLessThanSign(u){u===_.SOLIDUS?this.state=C.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RAWTEXT,this._stateRawtext(u))}_stateRawtextEndTagOpen(u){en(u)?(this.state=C.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(u)):(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(u))}_stateRawtextEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(u))}_stateScriptDataLessThanSign(u){switch(u){case _.SOLIDUS:{this.state=C.SCRIPT_DATA_END_TAG_OPEN;break}case _.EXCLAMATION_MARK:{this.state=C.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=C.SCRIPT_DATA,this._stateScriptData(u)}}_stateScriptDataEndTagOpen(u){en(u)?(this.state=C.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(u)):(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEscapeStart(u){u===_.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEscapeStartDash(u){u===_.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEscaped(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateScriptDataEscapedDash(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataEscapedDashDash(u){switch(u){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataEscapedLessThanSign(u){u===_.SOLIDUS?this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:en(u)?(this._emitChars("<"),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(u)):(this._emitChars("<"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataEscapedEndTagOpen(u){en(u)?(this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(u)):(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataEscapedEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataDoubleEscapeStart(u){if(this.preprocessor.startsWith(tu.SCRIPT,!1)&&lb(this.preprocessor.peek(tu.SCRIPT.length))){this._emitCodePoint(u);for(let n=0;n<tu.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataDoubleEscaped(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateScriptDataDoubleEscapedDash(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataDoubleEscapedDashDash(u){switch(u){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataDoubleEscapedLessThanSign(u){u===_.SOLIDUS?(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(u))}_stateScriptDataDoubleEscapeEnd(u){if(this.preprocessor.startsWith(tu.SCRIPT,!1)&&lb(this.preprocessor.peek(tu.SCRIPT.length))){this._emitCodePoint(u);for(let n=0;n<tu.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(u))}_stateBeforeAttributeName(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(u);break}case _.EQUALS_SIGN:{this._err(z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=C.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(u)}}_stateAttributeName(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this._leaveAttrName(),this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(u);break}case _.EQUALS_SIGN:{this._leaveAttrName(),this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:{this._err(z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(u);break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.name+=ct;break}default:this.currentAttr.name+=String.fromCodePoint(Cs(u)?Oc(u):u)}}_stateAfterAttributeName(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case _.EQUALS_SIGN:{this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(u)}}_stateBeforeAttributeValue(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{this.state=C.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this.state=C.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingAttributeValue),this.state=C.DATA,this.emitCurrentTagToken();break}default:this.state=C.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(u)}}_stateAttributeValueDoubleQuoted(u){switch(u){case _.QUOTATION_MARK:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ct;break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(u)}}_stateAttributeValueSingleQuoted(u){switch(u){case _.APOSTROPHE:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ct;break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(u)}}_stateAttributeValueUnquoted(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ct;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:case _.EQUALS_SIGN:case _.GRAVE_ACCENT:{this._err(z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(u);break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(u)}}_stateAfterAttributeValueQuoted(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this._leaveAttrValue(),this.state=C.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBetweenAttributes),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(u)}}_stateSelfClosingStartTag(u){switch(u){case _.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=C.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.unexpectedSolidusInTag),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(u)}}_stateBogusComment(u){const n=this.currentToken;switch(u){case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(n);break}case _.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.data+=ct;break}default:n.data+=String.fromCodePoint(u)}}_stateMarkupDeclarationOpen(u){this._consumeSequenceIfMatch(tu.DASH_DASH,!0)?(this._createCommentToken(tu.DASH_DASH.length+1),this.state=C.COMMENT_START):this._consumeSequenceIfMatch(tu.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tu.DOCTYPE.length+1),this.state=C.DOCTYPE):this._consumeSequenceIfMatch(tu.CDATA_START,!0)?this.inForeignNode?this.state=C.CDATA_SECTION:(this._err(z.cdataInHtmlContent),this._createCommentToken(tu.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=C.BOGUS_COMMENT):this._ensureHibernation()||(this._err(z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(u))}_stateCommentStart(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_START_DASH;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=C.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=C.COMMENT,this._stateComment(u)}}_stateCommentStartDash(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=C.DATA,this.emitCurrentComment(n);break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=C.COMMENT,this._stateComment(u)}}_stateComment(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_END_DASH;break}case _.LESS_THAN_SIGN:{n.data+="<",this.state=C.COMMENT_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.data+=ct;break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(u)}}_stateCommentLessThanSign(u){const n=this.currentToken;switch(u){case _.EXCLAMATION_MARK:{n.data+="!",this.state=C.COMMENT_LESS_THAN_SIGN_BANG;break}case _.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=C.COMMENT,this._stateComment(u)}}_stateCommentLessThanSignBang(u){u===_.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=C.COMMENT,this._stateComment(u))}_stateCommentLessThanSignBangDash(u){u===_.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=C.COMMENT_END_DASH,this._stateCommentEndDash(u))}_stateCommentLessThanSignBangDashDash(u){u!==_.GREATER_THAN_SIGN&&u!==_.EOF&&this._err(z.nestedComment),this.state=C.COMMENT_END,this._stateCommentEnd(u)}_stateCommentEndDash(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=C.COMMENT,this._stateComment(u)}}_stateCommentEnd(u){const n=this.currentToken;switch(u){case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(n);break}case _.EXCLAMATION_MARK:{this.state=C.COMMENT_END_BANG;break}case _.HYPHEN_MINUS:{n.data+="-";break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=C.COMMENT,this._stateComment(u)}}_stateCommentEndBang(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{n.data+="--!",this.state=C.COMMENT_END_DASH;break}case _.GREATER_THAN_SIGN:{this._err(z.incorrectlyClosedComment),this.state=C.DATA,this.emitCurrentComment(n);break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=C.COMMENT,this._stateComment(u)}}_stateDoctype(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(u);break}case _.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBeforeDoctypeName),this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(u)}}_stateBeforeDoctypeName(u){if(Cs(u))this._createDoctypeToken(String.fromCharCode(Oc(u))),this.state=C.DOCTYPE_NAME;else switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.NULL:{this._err(z.unexpectedNullCharacter),this._createDoctypeToken(ct),this.state=C.DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(u)),this.state=C.DOCTYPE_NAME}}_stateDoctypeName(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.AFTER_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.name+=ct;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Cs(u)?Oc(u):u)}}_stateAfterDoctypeName(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(tu.PUBLIC,!1)?this.state=C.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tu.SYSTEM,!1)?this.state=C.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u))}}_stateAfterDoctypePublicKeyword(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBeforeDoctypePublicIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateDoctypePublicIdentifierDoubleQuoted(u){const n=this.currentToken;switch(u){case _.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.publicId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(u)}}_stateDoctypePublicIdentifierSingleQuoted(u){const n=this.currentToken;switch(u){case _.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.publicId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(u)}}_stateAfterDoctypePublicIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.QUOTATION_MARK:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBetweenDoctypePublicAndSystemIdentifiers(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.QUOTATION_MARK:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateAfterDoctypeSystemKeyword(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBeforeDoctypeSystemIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateDoctypeSystemIdentifierDoubleQuoted(u){const n=this.currentToken;switch(u){case _.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.systemId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(u)}}_stateDoctypeSystemIdentifierSingleQuoted(u){const n=this.currentToken;switch(u){case _.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.systemId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(u)}}_stateAfterDoctypeSystemIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBogusDoctype(u){const n=this.currentToken;switch(u){case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.NULL:{this._err(z.unexpectedNullCharacter);break}case _.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(u){switch(u){case _.RIGHT_SQUARE_BRACKET:{this.state=C.CDATA_SECTION_BRACKET;break}case _.EOF:{this._err(z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateCdataSectionBracket(u){u===_.RIGHT_SQUARE_BRACKET?this.state=C.CDATA_SECTION_END:(this._emitChars("]"),this.state=C.CDATA_SECTION,this._stateCdataSection(u))}_stateCdataSectionEnd(u){switch(u){case _.GREATER_THAN_SIGN:{this.state=C.DATA;break}case _.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=C.CDATA_SECTION,this._stateCdataSection(u)}}_stateCharacterReference(){let u=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(u<0)if(this.preprocessor.lastChunkWritten)u=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}u===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&sb(this.preprocessor.peek(1))?C.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(u){sb(u)?this._flushCodePointConsumedAsCharacterReference(u):(u===_.SEMICOLON&&this._err(z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(u))}}const m3=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),cb=new Set([...m3,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),uo=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),v4=new Set([...uo,d.OL,d.UL]),C4=new Set([...uo,d.BUTTON]),ob=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),fb=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),y4=new Set([d.TR,d.TEMPLATE,d.HTML]),S4=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),N4=new Set([d.TABLE,d.TEMPLATE,d.HTML]),R4=new Set([d.TD,d.TH]);class O4{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(u,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=u}_indexOf(u){return this.items.lastIndexOf(u,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===W.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(u,n){this.stackTop++,this.items[this.stackTop]=u,this.current=u,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(u,n,!0)}pop(){const u=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(u,!0)}replace(u,n){const r=this._indexOf(u);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(u,n,r){const l=this._indexOf(u)+1;this.items.splice(l,0,n),this.tagIDs.splice(l,0,r),this.stackTop++,l===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,l===this.stackTop)}popUntilTagNamePopped(u){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(u,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==W.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(u){for(;this.stackTop>=u;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<u)}}popUntilElementPopped(u){const n=this._indexOf(u);this.shortenToLength(Math.max(n,0))}popUntilPopped(u,n){const r=this._indexOfTagNames(u,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(hh,W.HTML)}popUntilTableCellPopped(){this.popUntilPopped(R4,W.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(u,n){for(let r=this.stackTop;r>=0;r--)if(u.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(u,n){const r=this._indexOfTagNames(u,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(N4,W.HTML)}clearBackToTableBodyContext(){this.clearBackTo(S4,W.HTML)}clearBackToTableRowContext(){this.clearBackTo(y4,W.HTML)}remove(u){const n=this._indexOf(u);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(u,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(u){return this._indexOf(u)>-1}getCommonAncestor(u){const n=this._indexOf(u)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(u,n){for(let r=this.stackTop;r>=0;r--){const l=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case W.HTML:{if(l===u)return!0;if(n.has(l))return!1;break}case W.SVG:{if(fb.has(l))return!1;break}case W.MATHML:{if(ob.has(l))return!1;break}}}return!0}hasInScope(u){return this.hasInDynamicScope(u,uo)}hasInListItemScope(u){return this.hasInDynamicScope(u,v4)}hasInButtonScope(u){return this.hasInDynamicScope(u,C4)}hasNumberedHeaderInScope(){for(let u=this.stackTop;u>=0;u--){const n=this.tagIDs[u];switch(this.treeAdapter.getNamespaceURI(this.items[u])){case W.HTML:{if(hh.has(n))return!0;if(uo.has(n))return!1;break}case W.SVG:{if(fb.has(n))return!1;break}case W.MATHML:{if(ob.has(n))return!1;break}}}return!0}hasInTableScope(u){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===W.HTML)switch(this.tagIDs[n]){case u:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let u=this.stackTop;u>=0;u--)if(this.treeAdapter.getNamespaceURI(this.items[u])===W.HTML)switch(this.tagIDs[u]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(u){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===W.HTML)switch(this.tagIDs[n]){case u:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&m3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&cb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(u){for(;this.currentTagId!==void 0&&this.currentTagId!==u&&cb.has(this.currentTagId);)this.pop()}}const Fd=3;var Zu;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Zu||(Zu={}));const db={type:Zu.Marker};class F4{constructor(u){this.treeAdapter=u,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(u,n){const r=[],l=n.length,f=this.treeAdapter.getTagName(u),h=this.treeAdapter.getNamespaceURI(u);for(let D=0;D<this.entries.length;D++){const E=this.entries[D];if(E.type===Zu.Marker)break;const{element:p}=E;if(this.treeAdapter.getTagName(p)===f&&this.treeAdapter.getNamespaceURI(p)===h){const b=this.treeAdapter.getAttrList(p);b.length===l&&r.push({idx:D,attrs:b})}}return r}_ensureNoahArkCondition(u){if(this.entries.length<Fd)return;const n=this.treeAdapter.getAttrList(u),r=this._getNoahArkConditionCandidates(u,n);if(r.length<Fd)return;const l=new Map(n.map(h=>[h.name,h.value]));let f=0;for(let h=0;h<r.length;h++){const D=r[h];D.attrs.every(E=>l.get(E.name)===E.value)&&(f+=1,f>=Fd&&this.entries.splice(D.idx,1))}}insertMarker(){this.entries.unshift(db)}pushElement(u,n){this._ensureNoahArkCondition(u),this.entries.unshift({type:Zu.Element,element:u,token:n})}insertElementAfterBookmark(u,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Zu.Element,element:u,token:n})}removeEntry(u){const n=this.entries.indexOf(u);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const u=this.entries.indexOf(db);u===-1?this.entries.length=0:this.entries.splice(0,u+1)}getElementEntryInScopeWithTagName(u){const n=this.entries.find(r=>r.type===Zu.Marker||this.treeAdapter.getTagName(r.element)===u);return n&&n.type===Zu.Element?n:null}getElementEntry(u){return this.entries.find(n=>n.type===Zu.Element&&n.element===u)}}const Ta={createDocument(){return{nodeName:"#document",mode:Tu.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,u,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:u,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,u){e.childNodes.push(u),u.parentNode=e},insertBefore(e,u,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,u),u.parentNode=e},setTemplateContent(e,u){e.content=u},getTemplateContent(e){return e.content},setDocumentType(e,u,n,r){const l=e.childNodes.find(f=>f.nodeName==="#documentType");if(l)l.name=u,l.publicId=n,l.systemId=r;else{const f={nodeName:"#documentType",name:u,publicId:n,systemId:r,parentNode:null};Ta.appendChild(e,f)}},setDocumentMode(e,u){e.mode=u},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const u=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(u,1),e.parentNode=null}},insertText(e,u){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Ta.isTextNode(n)){n.value+=u;return}}Ta.appendChild(e,Ta.createTextNode(u))},insertTextBefore(e,u,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ta.isTextNode(r)?r.value+=u:Ta.insertBefore(e,Ta.createTextNode(u),n)},adoptAttributes(e,u){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<u.length;r++)n.has(u[r].name)||e.attrs.push(u[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,u){e.sourceCodeLocation=u},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,u){e.sourceCodeLocation={...e.sourceCodeLocation,...u}}},E3="html",x4="about:legacy-compat",L4="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",D3=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],B4=[...D3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],M4=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),p3=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],I4=[...p3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hb(e,u){return u.some(n=>e.startsWith(n))}function w4(e){return e.name===E3&&e.publicId===null&&(e.systemId===null||e.systemId===x4)}function U4(e){if(e.name!==E3)return Tu.QUIRKS;const{systemId:u}=e;if(u&&u.toLowerCase()===L4)return Tu.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),M4.has(n))return Tu.QUIRKS;let r=u===null?B4:D3;if(hb(n,r))return Tu.QUIRKS;if(r=u===null?p3:I4,hb(n,r))return Tu.LIMITED_QUIRKS}return Tu.NO_QUIRKS}const mb={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},P4="definitionurl",H4="definitionURL",k4=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),j4=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:W.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:W.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:W.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:W.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:W.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:W.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:W.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:W.XML}],["xml:space",{prefix:"xml",name:"space",namespace:W.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:W.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:W.XMLNS}]]),z4=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),q4=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function Y4(e){const u=e.tagID;return u===d.FONT&&e.attrs.some(({name:r})=>r===Mn.COLOR||r===Mn.SIZE||r===Mn.FACE)||q4.has(u)}function g3(e){for(let u=0;u<e.attrs.length;u++)if(e.attrs[u].name===P4){e.attrs[u].name=H4;break}}function b3(e){for(let u=0;u<e.attrs.length;u++){const n=k4.get(e.attrs[u].name);n!=null&&(e.attrs[u].name=n)}}function $h(e){for(let u=0;u<e.attrs.length;u++){const n=j4.get(e.attrs[u].name);n&&(e.attrs[u].prefix=n.prefix,e.attrs[u].name=n.name,e.attrs[u].namespace=n.namespace)}}function G4(e){const u=z4.get(e.tagName);u!=null&&(e.tagName=u,e.tagID=Ao(e.tagName))}function V4(e,u){return u===W.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function Q4(e,u,n){if(u===W.MATHML&&e===d.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Mn.ENCODING){const l=n[r].value.toLowerCase();return l===mb.TEXT_HTML||l===mb.APPLICATION_XML}}return u===W.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function X4(e,u,n,r){return(!r||r===W.HTML)&&Q4(e,u,n)||(!r||r===W.MATHML)&&V4(e,u)}const K4="hidden",Z4=8,$4=3;var S;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(S||(S={}));const W4={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},T3=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),Eb={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ta,onParseError:null};class _3{constructor(u,n,r=null,l=null){this.fragmentContext=r,this.scriptHandler=l,this.currentToken=null,this.stopped=!1,this.insertionMode=S.INITIAL,this.originalInsertionMode=S.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Eb,...u},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new A4(this.options,this),this.activeFormattingElements=new F4(this.treeAdapter),this.fragmentContextID=r?Ao(this.treeAdapter.getTagName(r)):d.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new O4(this.document,this.treeAdapter,this)}static parse(u,n){const r=new this(n);return r.tokenizer.write(u,!0),r.document}static getFragmentParser(u,n){const r={...Eb,...n};u??(u=r.treeAdapter.createElement(M.TEMPLATE,W.HTML,[]));const l=r.treeAdapter.createElement("documentmock",W.HTML,[]),f=new this(r,l,u);return f.fragmentContextID===d.TEMPLATE&&f.tmplInsertionModeStack.unshift(S.IN_TEMPLATE),f._initTokenizerForFragmentParsing(),f._insertFakeRootElement(),f._resetInsertionMode(),f._findFormInFragmentContext(),f}getFragment(){const u=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(u,n),n}_err(u,n,r){var l;if(!this.onParseError)return;const f=(l=u.location)!==null&&l!==void 0?l:W4,h={code:n,startLine:f.startLine,startCol:f.startCol,startOffset:f.startOffset,endLine:r?f.startLine:f.endLine,endCol:r?f.startCol:f.endCol,endOffset:r?f.startOffset:f.endOffset};this.onParseError(h)}onItemPush(u,n,r){var l,f;(f=(l=this.treeAdapter).onItemPush)===null||f===void 0||f.call(l,u),r&&this.openElements.stackTop>0&&this._setContextModes(u,n)}onItemPop(u,n){var r,l;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(u,this.currentToken),(l=(r=this.treeAdapter).onItemPop)===null||l===void 0||l.call(r,u,this.openElements.current),n){let f,h;this.openElements.stackTop===0&&this.fragmentContext?(f=this.fragmentContext,h=this.fragmentContextID):{current:f,currentTagId:h}=this.openElements,this._setContextModes(f,h)}}_setContextModes(u,n){const r=u===this.document||u&&this.treeAdapter.getNamespaceURI(u)===W.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&u!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,u)}_switchToTextParsing(u,n){this._insertElement(u,W.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=S.TEXT}switchToPlaintextParsing(){this.insertionMode=S.TEXT,this.originalInsertionMode=S.IN_BODY,this.tokenizer.state=au.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let u=this.fragmentContext;for(;u;){if(this.treeAdapter.getTagName(u)===M.FORM){this.formElement=u;break}u=this.treeAdapter.getParentNode(u)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==W.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=au.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=au.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=au.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=au.PLAINTEXT;break}}}_setDocumentType(u){const n=u.name||"",r=u.publicId||"",l=u.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,l),u.location){const h=this.treeAdapter.getChildNodes(this.document).find(D=>this.treeAdapter.isDocumentTypeNode(D));h&&this.treeAdapter.setNodeSourceCodeLocation(h,u.location)}}_attachElementToTree(u,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(u,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(u);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,u)}}_appendElement(u,n){const r=this.treeAdapter.createElement(u.tagName,n,u.attrs);this._attachElementToTree(r,u.location)}_insertElement(u,n){const r=this.treeAdapter.createElement(u.tagName,n,u.attrs);this._attachElementToTree(r,u.location),this.openElements.push(r,u.tagID)}_insertFakeElement(u,n){const r=this.treeAdapter.createElement(u,W.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(u){const n=this.treeAdapter.createElement(u.tagName,W.HTML,u.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,u.location),this.openElements.push(n,u.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const u=this.treeAdapter.createElement(M.HTML,W.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,null),this.treeAdapter.appendChild(this.openElements.current,u),this.openElements.push(u,d.HTML)}_appendCommentNode(u,n){const r=this.treeAdapter.createCommentNode(u.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,u.location)}_insertCharacters(u){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,u.chars,r):this.treeAdapter.insertText(n,u.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,u.chars)),!u.location)return;const l=this.treeAdapter.getChildNodes(n),f=r?l.lastIndexOf(r):l.length,h=l[f-1];if(this.treeAdapter.getNodeSourceCodeLocation(h)){const{endLine:E,endCol:p,endOffset:b}=u.location;this.treeAdapter.updateNodeSourceCodeLocation(h,{endLine:E,endCol:p,endOffset:b})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(h,u.location)}_adoptNodes(u,n){for(let r=this.treeAdapter.getFirstChild(u);r;r=this.treeAdapter.getFirstChild(u))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(u,n){if(this.treeAdapter.getNodeSourceCodeLocation(u)&&n.location){const r=n.location,l=this.treeAdapter.getTagName(u),f=n.type===ze.END_TAG&&l===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(u,f)}}shouldProcessStartTagTokenInForeignContent(u){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,u.tagID===d.SVG&&this.treeAdapter.getTagName(n)===M.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===W.MATHML?!1:this.tokenizer.inForeignNode||(u.tagID===d.MGLYPH||u.tagID===d.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,W.HTML)}_processToken(u){switch(u.type){case ze.CHARACTER:{this.onCharacter(u);break}case ze.NULL_CHARACTER:{this.onNullCharacter(u);break}case ze.COMMENT:{this.onComment(u);break}case ze.DOCTYPE:{this.onDoctype(u);break}case ze.START_TAG:{this._processStartTag(u);break}case ze.END_TAG:{this.onEndTag(u);break}case ze.EOF:{this.onEof(u);break}case ze.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(u);break}}}_isIntegrationPoint(u,n,r){const l=this.treeAdapter.getNamespaceURI(n),f=this.treeAdapter.getAttrList(n);return X4(u,l,f,r)}_reconstructActiveFormattingElements(){const u=this.activeFormattingElements.entries.length;if(u){const n=this.activeFormattingElements.entries.findIndex(l=>l.type===Zu.Marker||this.openElements.contains(l.element)),r=n===-1?u-1:n-1;for(let l=r;l>=0;l--){const f=this.activeFormattingElements.entries[l];this._insertElement(f.token,this.treeAdapter.getNamespaceURI(f.element)),f.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=S.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let u=this.openElements.stackTop;u>=0;u--)switch(u===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[u]){case d.TR:{this.insertionMode=S.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=S.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=S.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=S.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=S.IN_TABLE;return}case d.BODY:{this.insertionMode=S.IN_BODY;return}case d.FRAMESET:{this.insertionMode=S.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(u);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?S.AFTER_HEAD:S.BEFORE_HEAD;return}case d.TD:case d.TH:{if(u>0){this.insertionMode=S.IN_CELL;return}break}case d.HEAD:{if(u>0){this.insertionMode=S.IN_HEAD;return}break}}this.insertionMode=S.IN_BODY}_resetInsertionModeForSelect(u){if(u>0)for(let n=u-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===d.TEMPLATE)break;if(r===d.TABLE){this.insertionMode=S.IN_SELECT_IN_TABLE;return}}this.insertionMode=S.IN_SELECT}_isElementCausesFosterParenting(u){return T3.has(u)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let u=this.openElements.stackTop;u>=0;u--){const n=this.openElements.items[u];switch(this.openElements.tagIDs[u]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===W.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case d.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[u-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(u){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,u,n.beforeElement):this.treeAdapter.appendChild(n.parent,u)}_isSpecialElement(u,n){const r=this.treeAdapter.getNamespaceURI(u);return D4[r].has(n)}onCharacter(u){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){R5(this,u);return}switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{Ns(this,u);break}case S.BEFORE_HEAD:{Rs(this,u);break}case S.IN_HEAD:{Os(this,u);break}case S.IN_HEAD_NO_SCRIPT:{Fs(this,u);break}case S.AFTER_HEAD:{xs(this,u);break}case S.IN_BODY:case S.IN_CAPTION:case S.IN_CELL:case S.IN_TEMPLATE:{v3(this,u);break}case S.TEXT:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:{this._insertCharacters(u);break}case S.IN_TABLE:case S.IN_TABLE_BODY:case S.IN_ROW:{xd(this,u);break}case S.IN_TABLE_TEXT:{O3(this,u);break}case S.IN_COLUMN_GROUP:{ao(this,u);break}case S.AFTER_BODY:{no(this,u);break}case S.AFTER_AFTER_BODY:{wc(this,u);break}}}onNullCharacter(u){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){N5(this,u);return}switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{Ns(this,u);break}case S.BEFORE_HEAD:{Rs(this,u);break}case S.IN_HEAD:{Os(this,u);break}case S.IN_HEAD_NO_SCRIPT:{Fs(this,u);break}case S.AFTER_HEAD:{xs(this,u);break}case S.TEXT:{this._insertCharacters(u);break}case S.IN_TABLE:case S.IN_TABLE_BODY:case S.IN_ROW:{xd(this,u);break}case S.IN_COLUMN_GROUP:{ao(this,u);break}case S.AFTER_BODY:{no(this,u);break}case S.AFTER_AFTER_BODY:{wc(this,u);break}}}onComment(u){if(this.skipNextNewLine=!1,this.currentNotInHTML){mh(this,u);return}switch(this.insertionMode){case S.INITIAL:case S.BEFORE_HTML:case S.BEFORE_HEAD:case S.IN_HEAD:case S.IN_HEAD_NO_SCRIPT:case S.AFTER_HEAD:case S.IN_BODY:case S.IN_TABLE:case S.IN_CAPTION:case S.IN_COLUMN_GROUP:case S.IN_TABLE_BODY:case S.IN_ROW:case S.IN_CELL:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:case S.IN_TEMPLATE:case S.IN_FRAMESET:case S.AFTER_FRAMESET:{mh(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.AFTER_BODY:{iN(this,u);break}case S.AFTER_AFTER_BODY:case S.AFTER_AFTER_FRAMESET:{rN(this,u);break}}}onDoctype(u){switch(this.skipNextNewLine=!1,this.insertionMode){case S.INITIAL:{sN(this,u);break}case S.BEFORE_HEAD:case S.IN_HEAD:case S.IN_HEAD_NO_SCRIPT:case S.AFTER_HEAD:{this._err(u,z.misplacedDoctype);break}case S.IN_TABLE_TEXT:{As(this,u);break}}}onStartTag(u){this.skipNextNewLine=!1,this.currentToken=u,this._processStartTag(u),u.selfClosing&&!u.ackSelfClosing&&this._err(u,z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(u){this.shouldProcessStartTagTokenInForeignContent(u)?O5(this,u):this._startTagOutsideForeignContent(u)}_startTagOutsideForeignContent(u){switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{lN(this,u);break}case S.BEFORE_HEAD:{oN(this,u);break}case S.IN_HEAD:{Yu(this,u);break}case S.IN_HEAD_NO_SCRIPT:{hN(this,u);break}case S.AFTER_HEAD:{EN(this,u);break}case S.IN_BODY:{zt(this,u);break}case S.IN_TABLE:{zi(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.IN_CAPTION:{f5(this,u);break}case S.IN_COLUMN_GROUP:{e1(this,u);break}case S.IN_TABLE_BODY:{yo(this,u);break}case S.IN_ROW:{So(this,u);break}case S.IN_CELL:{m5(this,u);break}case S.IN_SELECT:{L3(this,u);break}case S.IN_SELECT_IN_TABLE:{D5(this,u);break}case S.IN_TEMPLATE:{g5(this,u);break}case S.AFTER_BODY:{T5(this,u);break}case S.IN_FRAMESET:{_5(this,u);break}case S.AFTER_FRAMESET:{v5(this,u);break}case S.AFTER_AFTER_BODY:{y5(this,u);break}case S.AFTER_AFTER_FRAMESET:{S5(this,u);break}}}onEndTag(u){this.skipNextNewLine=!1,this.currentToken=u,this.currentNotInHTML?F5(this,u):this._endTagOutsideForeignContent(u)}_endTagOutsideForeignContent(u){switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{cN(this,u);break}case S.BEFORE_HEAD:{fN(this,u);break}case S.IN_HEAD:{dN(this,u);break}case S.IN_HEAD_NO_SCRIPT:{mN(this,u);break}case S.AFTER_HEAD:{DN(this,u);break}case S.IN_BODY:{Co(this,u);break}case S.TEXT:{t5(this,u);break}case S.IN_TABLE:{ks(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.IN_CAPTION:{d5(this,u);break}case S.IN_COLUMN_GROUP:{h5(this,u);break}case S.IN_TABLE_BODY:{Eh(this,u);break}case S.IN_ROW:{x3(this,u);break}case S.IN_CELL:{E5(this,u);break}case S.IN_SELECT:{B3(this,u);break}case S.IN_SELECT_IN_TABLE:{p5(this,u);break}case S.IN_TEMPLATE:{b5(this,u);break}case S.AFTER_BODY:{I3(this,u);break}case S.IN_FRAMESET:{A5(this,u);break}case S.AFTER_FRAMESET:{C5(this,u);break}case S.AFTER_AFTER_BODY:{wc(this,u);break}}}onEof(u){switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{Ns(this,u);break}case S.BEFORE_HEAD:{Rs(this,u);break}case S.IN_HEAD:{Os(this,u);break}case S.IN_HEAD_NO_SCRIPT:{Fs(this,u);break}case S.AFTER_HEAD:{xs(this,u);break}case S.IN_BODY:case S.IN_TABLE:case S.IN_CAPTION:case S.IN_COLUMN_GROUP:case S.IN_TABLE_BODY:case S.IN_ROW:case S.IN_CELL:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:{N3(this,u);break}case S.TEXT:{u5(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.IN_TEMPLATE:{M3(this,u);break}case S.AFTER_BODY:case S.IN_FRAMESET:case S.AFTER_FRAMESET:case S.AFTER_AFTER_BODY:case S.AFTER_AFTER_FRAMESET:{Jh(this,u);break}}}onWhitespaceCharacter(u){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,u.chars.charCodeAt(0)===_.LINE_FEED)){if(u.chars.length===1)return;u.chars=u.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(u);return}switch(this.insertionMode){case S.IN_HEAD:case S.IN_HEAD_NO_SCRIPT:case S.AFTER_HEAD:case S.TEXT:case S.IN_COLUMN_GROUP:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:case S.IN_FRAMESET:case S.AFTER_FRAMESET:{this._insertCharacters(u);break}case S.IN_BODY:case S.IN_CAPTION:case S.IN_CELL:case S.IN_TEMPLATE:case S.AFTER_BODY:case S.AFTER_AFTER_BODY:case S.AFTER_AFTER_FRAMESET:{A3(this,u);break}case S.IN_TABLE:case S.IN_TABLE_BODY:case S.IN_ROW:{xd(this,u);break}case S.IN_TABLE_TEXT:{R3(this,u);break}}}}function J4(e,u){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(u.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(u.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):S3(e,u),n}function eN(e,u){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const l=e.openElements.items[r];if(l===u.element)break;e._isSpecialElement(l,e.openElements.tagIDs[r])&&(n=l)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(u)),n}function tN(e,u,n){let r=u,l=e.openElements.getCommonAncestor(u);for(let f=0,h=l;h!==n;f++,h=l){l=e.openElements.getCommonAncestor(h);const D=e.activeFormattingElements.getElementEntry(h),E=D&&f>=$4;!D||E?(E&&e.activeFormattingElements.removeEntry(D),e.openElements.remove(h)):(h=uN(e,D),r===u&&(e.activeFormattingElements.bookmark=D),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(h,r),r=h)}return r}function uN(e,u){const n=e.treeAdapter.getNamespaceURI(u.element),r=e.treeAdapter.createElement(u.token.tagName,n,u.token.attrs);return e.openElements.replace(u.element,r),u.element=r,r}function aN(e,u,n){const r=e.treeAdapter.getTagName(u),l=Ao(r);if(e._isElementCausesFosterParenting(l))e._fosterParentElement(n);else{const f=e.treeAdapter.getNamespaceURI(u);l===d.TEMPLATE&&f===W.HTML&&(u=e.treeAdapter.getTemplateContent(u)),e.treeAdapter.appendChild(u,n)}}function nN(e,u,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:l}=n,f=e.treeAdapter.createElement(l.tagName,r,l.attrs);e._adoptNodes(u,f),e.treeAdapter.appendChild(u,f),e.activeFormattingElements.insertElementAfterBookmark(f,l),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(u,f,l.tagID)}function Wh(e,u){for(let n=0;n<Z4;n++){const r=J4(e,u);if(!r)break;const l=eN(e,r);if(!l)break;e.activeFormattingElements.bookmark=r;const f=tN(e,l,r.element),h=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(f),h&&aN(e,h,f),nN(e,l,r)}}function mh(e,u){e._appendCommentNode(u,e.openElements.currentTmplContentOrNode)}function iN(e,u){e._appendCommentNode(u,e.openElements.items[0])}function rN(e,u){e._appendCommentNode(u,e.document)}function Jh(e,u){if(e.stopped=!0,u.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],u);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],l=e.treeAdapter.getNodeSourceCodeLocation(r);if(l&&!l.endTag&&(e._setEndLocation(r,u),e.openElements.stackTop>=1)){const f=e.openElements.items[1],h=e.treeAdapter.getNodeSourceCodeLocation(f);h&&!h.endTag&&e._setEndLocation(f,u)}}}}function sN(e,u){e._setDocumentType(u);const n=u.forceQuirks?Tu.QUIRKS:U4(u);w4(u)||e._err(u,z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=S.BEFORE_HTML}function _s(e,u){e._err(u,z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Tu.QUIRKS),e.insertionMode=S.BEFORE_HTML,e._processToken(u)}function lN(e,u){u.tagID===d.HTML?(e._insertElement(u,W.HTML),e.insertionMode=S.BEFORE_HEAD):Ns(e,u)}function cN(e,u){const n=u.tagID;(n===d.HTML||n===d.HEAD||n===d.BODY||n===d.BR)&&Ns(e,u)}function Ns(e,u){e._insertFakeRootElement(),e.insertionMode=S.BEFORE_HEAD,e._processToken(u)}function oN(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.HEAD:{e._insertElement(u,W.HTML),e.headElement=e.openElements.current,e.insertionMode=S.IN_HEAD;break}default:Rs(e,u)}}function fN(e,u){const n=u.tagID;n===d.HEAD||n===d.BODY||n===d.HTML||n===d.BR?Rs(e,u):e._err(u,z.endTagWithoutMatchingOpenElement)}function Rs(e,u){e._insertFakeElement(M.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=S.IN_HEAD,e._processToken(u)}function Yu(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(u,au.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(u,au.RAWTEXT):(e._insertElement(u,W.HTML),e.insertionMode=S.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(u,au.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(u,au.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(u),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=S.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(S.IN_TEMPLATE);break}case d.HEAD:{e._err(u,z.misplacedStartTagForHeadElement);break}default:Os(e,u)}}function dN(e,u){switch(u.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=S.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{Os(e,u);break}case d.TEMPLATE:{Un(e,u);break}default:e._err(u,z.endTagWithoutMatchingOpenElement)}}function Un(e,u){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(u,z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(u,z.endTagWithoutMatchingOpenElement)}function Os(e,u){e.openElements.pop(),e.insertionMode=S.AFTER_HEAD,e._processToken(u)}function hN(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{Yu(e,u);break}case d.NOSCRIPT:{e._err(u,z.nestedNoscriptInHead);break}default:Fs(e,u)}}function mN(e,u){switch(u.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=S.IN_HEAD;break}case d.BR:{Fs(e,u);break}default:e._err(u,z.endTagWithoutMatchingOpenElement)}}function Fs(e,u){const n=u.type===ze.EOF?z.openElementsLeftAfterEof:z.disallowedContentInNoscriptInHead;e._err(u,n),e.openElements.pop(),e.insertionMode=S.IN_HEAD,e._processToken(u)}function EN(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.BODY:{e._insertElement(u,W.HTML),e.framesetOk=!1,e.insertionMode=S.IN_BODY;break}case d.FRAMESET:{e._insertElement(u,W.HTML),e.insertionMode=S.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(u,z.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),Yu(e,u),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(u,z.misplacedStartTagForHeadElement);break}default:xs(e,u)}}function DN(e,u){switch(u.tagID){case d.BODY:case d.HTML:case d.BR:{xs(e,u);break}case d.TEMPLATE:{Un(e,u);break}default:e._err(u,z.endTagWithoutMatchingOpenElement)}}function xs(e,u){e._insertFakeElement(M.BODY,d.BODY),e.insertionMode=S.IN_BODY,vo(e,u)}function vo(e,u){switch(u.type){case ze.CHARACTER:{v3(e,u);break}case ze.WHITESPACE_CHARACTER:{A3(e,u);break}case ze.COMMENT:{mh(e,u);break}case ze.START_TAG:{zt(e,u);break}case ze.END_TAG:{Co(e,u);break}case ze.EOF:{N3(e,u);break}}}function A3(e,u){e._reconstructActiveFormattingElements(),e._insertCharacters(u)}function v3(e,u){e._reconstructActiveFormattingElements(),e._insertCharacters(u),e.framesetOk=!1}function pN(e,u){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],u.attrs)}function gN(e,u){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,u.attrs))}function bN(e,u){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_FRAMESET)}function TN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML)}function _N(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&hh.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(u,W.HTML)}function AN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function vN(e,u){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),n||(e.formElement=e.openElements.current))}function CN(e,u){e.framesetOk=!1;const n=u.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const l=e.openElements.tagIDs[r];if(n===d.LI&&l===d.LI||(n===d.DD||n===d.DT)&&(l===d.DD||l===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(l),e.openElements.popUntilTagNamePopped(l);break}if(l!==d.ADDRESS&&l!==d.DIV&&l!==d.P&&e._isSpecialElement(e.openElements.items[r],l))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML)}function yN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),e.tokenizer.state=au.PLAINTEXT}function SN(e,u){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.framesetOk=!1}function NN(e,u){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(M.A);n&&(Wh(e,u),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,u)}function RN(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,u)}function ON(e,u){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Wh(e,u),e._reconstructActiveFormattingElements()),e._insertElement(u,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,u)}function FN(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function xN(e,u){e.treeAdapter.getDocumentMode(e.document)!==Tu.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),e.framesetOk=!1,e.insertionMode=S.IN_TABLE}function C3(e,u){e._reconstructActiveFormattingElements(),e._appendElement(u,W.HTML),e.framesetOk=!1,u.ackSelfClosing=!0}function y3(e){const u=d3(e,Mn.TYPE);return u!=null&&u.toLowerCase()===K4}function LN(e,u){e._reconstructActiveFormattingElements(),e._appendElement(u,W.HTML),y3(u)||(e.framesetOk=!1),u.ackSelfClosing=!0}function BN(e,u){e._appendElement(u,W.HTML),u.ackSelfClosing=!0}function MN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(u,W.HTML),e.framesetOk=!1,u.ackSelfClosing=!0}function IN(e,u){u.tagName=M.IMG,u.tagID=d.IMG,C3(e,u)}function wN(e,u){e._insertElement(u,W.HTML),e.skipNextNewLine=!0,e.tokenizer.state=au.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=S.TEXT}function UN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(u,au.RAWTEXT)}function PN(e,u){e.framesetOk=!1,e._switchToTextParsing(u,au.RAWTEXT)}function Db(e,u){e._switchToTextParsing(u,au.RAWTEXT)}function HN(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===S.IN_TABLE||e.insertionMode===S.IN_CAPTION||e.insertionMode===S.IN_TABLE_BODY||e.insertionMode===S.IN_ROW||e.insertionMode===S.IN_CELL?S.IN_SELECT_IN_TABLE:S.IN_SELECT}function kN(e,u){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML)}function jN(e,u){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(u,W.HTML)}function zN(e,u){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(u,W.HTML)}function qN(e,u){e._reconstructActiveFormattingElements(),g3(u),$h(u),u.selfClosing?e._appendElement(u,W.MATHML):e._insertElement(u,W.MATHML),u.ackSelfClosing=!0}function YN(e,u){e._reconstructActiveFormattingElements(),b3(u),$h(u),u.selfClosing?e._appendElement(u,W.SVG):e._insertElement(u,W.SVG),u.ackSelfClosing=!0}function pb(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML)}function zt(e,u){switch(u.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{RN(e,u);break}case d.A:{NN(e,u);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{_N(e,u);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{TN(e,u);break}case d.LI:case d.DD:case d.DT:{CN(e,u);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{C3(e,u);break}case d.HR:{MN(e,u);break}case d.RB:case d.RTC:{jN(e,u);break}case d.RT:case d.RP:{zN(e,u);break}case d.PRE:case d.LISTING:{AN(e,u);break}case d.XMP:{UN(e,u);break}case d.SVG:{YN(e,u);break}case d.HTML:{pN(e,u);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{Yu(e,u);break}case d.BODY:{gN(e,u);break}case d.FORM:{vN(e,u);break}case d.NOBR:{ON(e,u);break}case d.MATH:{qN(e,u);break}case d.TABLE:{xN(e,u);break}case d.INPUT:{LN(e,u);break}case d.PARAM:case d.TRACK:case d.SOURCE:{BN(e,u);break}case d.IMAGE:{IN(e,u);break}case d.BUTTON:{SN(e,u);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{FN(e,u);break}case d.IFRAME:{PN(e,u);break}case d.SELECT:{HN(e,u);break}case d.OPTION:case d.OPTGROUP:{kN(e,u);break}case d.NOEMBED:case d.NOFRAMES:{Db(e,u);break}case d.FRAMESET:{bN(e,u);break}case d.TEXTAREA:{wN(e,u);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Db(e,u):pb(e,u);break}case d.PLAINTEXT:{yN(e,u);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:pb(e,u)}}function GN(e,u){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=S.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,u)}}function VN(e,u){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=S.AFTER_BODY,I3(e,u))}function QN(e,u){const n=u.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function XN(e){const u=e.openElements.tmplCount>0,{formElement:n}=e;u||(e.formElement=null),(n||u)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),u?e.openElements.popUntilTagNamePopped(d.FORM):n&&e.openElements.remove(n))}function KN(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(M.P,d.P),e._closePElement()}function ZN(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function $N(e,u){const n=u.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function WN(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function JN(e,u){const n=u.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function e5(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(M.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function S3(e,u){const n=u.tagName,r=u.tagID;for(let l=e.openElements.stackTop;l>0;l--){const f=e.openElements.items[l],h=e.openElements.tagIDs[l];if(r===h&&(r!==d.UNKNOWN||e.treeAdapter.getTagName(f)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=l&&e.openElements.shortenToLength(l);break}if(e._isSpecialElement(f,h))break}}function Co(e,u){switch(u.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Wh(e,u);break}case d.P:{KN(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{QN(e,u);break}case d.LI:{ZN(e);break}case d.DD:case d.DT:{$N(e,u);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{WN(e);break}case d.BR:{e5(e);break}case d.BODY:{GN(e,u);break}case d.HTML:{VN(e,u);break}case d.FORM:{XN(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{JN(e,u);break}case d.TEMPLATE:{Un(e,u);break}default:S3(e,u)}}function N3(e,u){e.tmplInsertionModeStack.length>0?M3(e,u):Jh(e,u)}function t5(e,u){var n;u.tagID===d.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function u5(e,u){e._err(u,z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(u)}function xd(e,u){if(e.openElements.currentTagId!==void 0&&T3.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=S.IN_TABLE_TEXT,u.type){case ze.CHARACTER:{O3(e,u);break}case ze.WHITESPACE_CHARACTER:{R3(e,u);break}}else Ws(e,u)}function a5(e,u){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_CAPTION}function n5(e,u){e.openElements.clearBackToTableContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_COLUMN_GROUP}function i5(e,u){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.COLGROUP,d.COLGROUP),e.insertionMode=S.IN_COLUMN_GROUP,e1(e,u)}function r5(e,u){e.openElements.clearBackToTableContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_TABLE_BODY}function s5(e,u){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.TBODY,d.TBODY),e.insertionMode=S.IN_TABLE_BODY,yo(e,u)}function l5(e,u){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(u))}function c5(e,u){y3(u)?e._appendElement(u,W.HTML):Ws(e,u),u.ackSelfClosing=!0}function o5(e,u){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(u,W.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function zi(e,u){switch(u.tagID){case d.TD:case d.TH:case d.TR:{s5(e,u);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{Yu(e,u);break}case d.COL:{i5(e,u);break}case d.FORM:{o5(e,u);break}case d.TABLE:{l5(e,u);break}case d.TBODY:case d.TFOOT:case d.THEAD:{r5(e,u);break}case d.INPUT:{c5(e,u);break}case d.CAPTION:{a5(e,u);break}case d.COLGROUP:{n5(e,u);break}default:Ws(e,u)}}function ks(e,u){switch(u.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Un(e,u);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Ws(e,u)}}function Ws(e,u){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,vo(e,u),e.fosterParentingEnabled=n}function R3(e,u){e.pendingCharacterTokens.push(u)}function O3(e,u){e.pendingCharacterTokens.push(u),e.hasNonWhitespacePendingCharacterToken=!0}function As(e,u){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ws(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(u)}const F3=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function f5(e,u){const n=u.tagID;F3.has(n)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=S.IN_TABLE,zi(e,u)):zt(e,u)}function d5(e,u){const n=u.tagID;switch(n){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=S.IN_TABLE,n===d.TABLE&&ks(e,u));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Co(e,u)}}function e1(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.COL:{e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.TEMPLATE:{Yu(e,u);break}default:ao(e,u)}}function h5(e,u){switch(u.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=S.IN_TABLE);break}case d.TEMPLATE:{Un(e,u);break}case d.COL:break;default:ao(e,u)}}function ao(e,u){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=S.IN_TABLE,e._processToken(u))}function yo(e,u){switch(u.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(M.TR,d.TR),e.insertionMode=S.IN_ROW,So(e,u);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE,zi(e,u));break}default:zi(e,u)}}function Eh(e,u){const n=u.tagID;switch(u.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE,ks(e,u));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:ks(e,u)}}function So(e,u){switch(u.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY,yo(e,u));break}default:zi(e,u)}}function x3(e,u){switch(u.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY,Eh(e,u));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(u.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY,Eh(e,u));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:ks(e,u)}}function m5(e,u){const n=u.tagID;F3.has(n)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),So(e,u)):zt(e,u)}function E5(e,u){const n=u.tagID;switch(n){case d.TD:case d.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=S.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),x3(e,u));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:Co(e,u)}}function L3(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(u,W.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(u,W.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),u.tagID!==d.SELECT&&e._processStartTag(u));break}case d.SCRIPT:case d.TEMPLATE:{Yu(e,u);break}}}function B3(e,u){switch(u.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Un(e,u);break}}}function D5(e,u){const n=u.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(u)):L3(e,u)}function p5(e,u){const n=u.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(u)):B3(e,u)}function g5(e,u){switch(u.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{Yu(e,u);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=S.IN_TABLE,e.insertionMode=S.IN_TABLE,zi(e,u);break}case d.COL:{e.tmplInsertionModeStack[0]=S.IN_COLUMN_GROUP,e.insertionMode=S.IN_COLUMN_GROUP,e1(e,u);break}case d.TR:{e.tmplInsertionModeStack[0]=S.IN_TABLE_BODY,e.insertionMode=S.IN_TABLE_BODY,yo(e,u);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=S.IN_ROW,e.insertionMode=S.IN_ROW,So(e,u);break}default:e.tmplInsertionModeStack[0]=S.IN_BODY,e.insertionMode=S.IN_BODY,zt(e,u)}}function b5(e,u){u.tagID===d.TEMPLATE&&Un(e,u)}function M3(e,u){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(u)):Jh(e,u)}function T5(e,u){u.tagID===d.HTML?zt(e,u):no(e,u)}function I3(e,u){var n;if(u.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=S.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],u);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,u)}}else no(e,u)}function no(e,u){e.insertionMode=S.IN_BODY,vo(e,u)}function _5(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.FRAMESET:{e._insertElement(u,W.HTML);break}case d.FRAME:{e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.NOFRAMES:{Yu(e,u);break}}}function A5(e,u){u.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=S.AFTER_FRAMESET))}function v5(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.NOFRAMES:{Yu(e,u);break}}}function C5(e,u){u.tagID===d.HTML&&(e.insertionMode=S.AFTER_AFTER_FRAMESET)}function y5(e,u){u.tagID===d.HTML?zt(e,u):wc(e,u)}function wc(e,u){e.insertionMode=S.IN_BODY,vo(e,u)}function S5(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.NOFRAMES:{Yu(e,u);break}}}function N5(e,u){u.chars=ct,e._insertCharacters(u)}function R5(e,u){e._insertCharacters(u),e.framesetOk=!1}function w3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==W.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function O5(e,u){if(Y4(u))w3(e),e._startTagOutsideForeignContent(u);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===W.MATHML?g3(u):r===W.SVG&&(G4(u),b3(u)),$h(u),u.selfClosing?e._appendElement(u,r):e._insertElement(u,r),u.ackSelfClosing=!0}}function F5(e,u){if(u.tagID===d.P||u.tagID===d.BR){w3(e),e._endTagOutsideForeignContent(u);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===W.HTML){e._endTagOutsideForeignContent(u);break}const l=e.treeAdapter.getTagName(r);if(l.toLowerCase()===u.tagName){u.tagName=l,e.openElements.shortenToLength(n);break}}}function U3(e,u){return function(r){let l,f=0,h="";for(;l=e.exec(r);)f!==l.index&&(h+=r.substring(f,l.index)),h+=u.get(l[0].charCodeAt(0)),f=l.index+1;return h+r.substring(f)}}const x5=U3(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),L5=U3(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),B5=new Set([M.AREA,M.BASE,M.BASEFONT,M.BGSOUND,M.BR,M.COL,M.EMBED,M.FRAME,M.HR,M.IMG,M.INPUT,M.KEYGEN,M.LINK,M.META,M.PARAM,M.SOURCE,M.TRACK,M.WBR]);function M5(e,u){return u.treeAdapter.isElementNode(e)&&u.treeAdapter.getNamespaceURI(e)===W.HTML&&B5.has(u.treeAdapter.getTagName(e))}const I5={treeAdapter:Ta,scriptingEnabled:!0};function w5(e,u){const n={...I5,...u};return P3(e,n)}function U5(e,u){let n="";const r=u.treeAdapter.isElementNode(e)&&u.treeAdapter.getTagName(e)===M.TEMPLATE&&u.treeAdapter.getNamespaceURI(e)===W.HTML?u.treeAdapter.getTemplateContent(e):e,l=u.treeAdapter.getChildNodes(r);if(l)for(const f of l)n+=P3(f,u);return n}function P3(e,u){return u.treeAdapter.isElementNode(e)?P5(e,u):u.treeAdapter.isTextNode(e)?k5(e,u):u.treeAdapter.isCommentNode(e)?j5(e,u):u.treeAdapter.isDocumentTypeNode(e)?z5(e,u):""}function P5(e,u){const n=u.treeAdapter.getTagName(e);return`<${n}${H5(e,u)}>${M5(e,u)?"":`${U5(e,u)}</${n}>`}`}function H5(e,{treeAdapter:u}){let n="";for(const r of u.getAttrList(e)){if(n+=" ",r.namespace)switch(r.namespace){case W.XML:{n+=`xml:${r.name}`;break}case W.XMLNS:{r.name!=="xmlns"&&(n+="xmlns:"),n+=r.name;break}case W.XLINK:{n+=`xlink:${r.name}`;break}default:n+=`${r.prefix}:${r.name}`}else n+=r.name;n+=`="${x5(r.value)}"`}return n}function k5(e,u){const{treeAdapter:n}=u,r=n.getTextNodeContent(e),l=n.getParentNode(e),f=l&&n.isElementNode(l)&&n.getTagName(l);return f&&n.getNamespaceURI(l)===W.HTML&&g4(f,u.scriptingEnabled)?r:L5(r)}function j5(e,{treeAdapter:u}){return`<!--${u.getCommentNodeContent(e)}-->`}function z5(e,{treeAdapter:u}){return`<!DOCTYPE ${u.getDocumentTypeNodeName(e)}>`}function q5(e,u){return _3.parse(e,u)}function Y5(e,u,n){typeof e=="string"&&(n=u,u=e,e=null);const r=_3.getFragmentParser(e,n);return r.tokenizer.write(u,!0),r.getFragment()}function gb(e){const u=e.includes('"')?"'":'"';return u+e+u}function G5(e,u,n){let r="!DOCTYPE ";return e&&(r+=e),u?r+=` PUBLIC ${gb(u)}`:n&&(r+=" SYSTEM"),n&&(r+=` ${gb(n)}`),r}const tn={isCommentNode:Qs,isElementNode:me,isTextNode:Iu,createDocument(){const e=new In([]);return e["x-mode"]=Tu.NO_QUIRKS,e},createDocumentFragment(){return new In([])},createElement(e,u,n){const r=Object.create(null),l=Object.create(null),f=Object.create(null);for(let D=0;D<n.length;D++){const E=n[D].name;r[E]=n[D].value,l[E]=n[D].namespace,f[E]=n[D].prefix}const h=new Hh(e,r,[]);return h.namespace=u,h["x-attribsNamespace"]=l,h["x-attribsPrefix"]=f,h},createCommentNode(e){return new wh(e)},createTextNode(e){return new Is(e)},appendChild(e,u){const n=e.children[e.children.length-1];n&&(n.next=u,u.prev=n),e.children.push(u),u.parent=e},insertBefore(e,u,n){const r=e.children.indexOf(n),{prev:l}=n;l&&(l.next=u,u.prev=l),n.prev=u,u.next=n,e.children.splice(r,0,u),u.parent=e},setTemplateContent(e,u){tn.appendChild(e,u)},getTemplateContent(e){return e.children[0]},setDocumentType(e,u,n,r){const l=G5(u,n,r);let f=e.children.find(h=>uh(h)&&h.name==="!doctype");f?f.data=l??null:(f=new Uh("!doctype",l),tn.appendChild(e,f)),f["x-name"]=u,f["x-publicId"]=n,f["x-systemId"]=r},setDocumentMode(e,u){e["x-mode"]=u},getDocumentMode(e){return e["x-mode"]},detachNode(e){if(e.parent){const u=e.parent.children.indexOf(e),{prev:n,next:r}=e;e.prev=null,e.next=null,n&&(n.next=r),r&&(r.prev=n),e.parent.children.splice(u,1),e.parent=null}},insertText(e,u){const n=e.children[e.children.length-1];n&&Iu(n)?n.data+=u:tn.appendChild(e,tn.createTextNode(u))},insertTextBefore(e,u,n){const r=e.children[e.children.indexOf(n)-1];r&&Iu(r)?r.data+=u:tn.insertBefore(e,tn.createTextNode(u),n)},adoptAttributes(e,u){for(let n=0;n<u.length;n++){const r=u[n].name;e.attribs[r]===void 0&&(e.attribs[r]=u[n].value,e["x-attribsNamespace"][r]=u[n].namespace,e["x-attribsPrefix"][r]=u[n].prefix)}},getFirstChild(e){return e.children[0]},getChildNodes(e){return e.children},getParentNode(e){return e.parent},getAttrList(e){return e.attributes},getTagName(e){return e.name},getNamespaceURI(e){return e.namespace},getTextNodeContent(e){return e.data},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){var u;return(u=e["x-name"])!==null&&u!==void 0?u:""},getDocumentTypeNodePublicId(e){var u;return(u=e["x-publicId"])!==null&&u!==void 0?u:""},getDocumentTypeNodeSystemId(e){var u;return(u=e["x-systemId"])!==null&&u!==void 0?u:""},isDocumentTypeNode(e){return uh(e)&&e.name==="!doctype"},setNodeSourceCodeLocation(e,u){u&&(e.startIndex=u.startOffset,e.endIndex=u.endOffset),e.sourceCodeLocation=u},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,u){u.endOffset!=null&&(e.endIndex=u.endOffset),e.sourceCodeLocation={...e.sourceCodeLocation,...u}}};function V5(e,u,n,r){var l;return(l=u.treeAdapter)!==null&&l!==void 0||(u.treeAdapter=tn),u.scriptingEnabled!==!1&&(u.scriptingEnabled=!0),n?q5(e,u):Y5(r,e,u)}const Q5={treeAdapter:tn};function X5(e){const u="length"in e?e:[e];for(let r=0;r<u.length;r+=1){const l=u[r];sn(l)&&Array.prototype.splice.call(u,r,1,...l.children)}let n="";for(let r=0;r<u.length;r+=1){const l=u[r];n+=w5(l,Q5)}return n}const K5=O8((e,u,n,r)=>u._useHtmlParser2?xy(e,u):V5(e,u,n,r)),Z5=l4(K5,(e,u)=>u._useHtmlParser2?Do(e,u):X5(e)),$5=Object.freeze(Object.defineProperty({__proto__:null,contains:kh,load:Z5,merge:R2},Symbol.toStringTag,{value:"Module"})),W5=ph($5);var Ld,bb;function J5(){if(bb)return Ld;bb=1;var e=Object.create,u=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,l=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=(j,de)=>{for(var Pe in de)u(j,Pe,{get:de[Pe],enumerable:!0})},D=(j,de,Pe,Oe)=>{if(de&&typeof de=="object"||typeof de=="function")for(let xe of r(de))!f.call(j,xe)&&xe!==Pe&&u(j,xe,{get:()=>de[xe],enumerable:!(Oe=n(de,xe))||Oe.enumerable});return j},E=(j,de,Pe)=>(Pe=j!=null?e(l(j)):{},D(!j||!j.__esModule?u(Pe,"default",{value:j,enumerable:!0}):Pe,j)),p=j=>D(u({},"__esModule",{value:!0}),j),b={};h(b,{PUBLISHED_AT_PATTERN:()=>$,isAnyText:()=>x,validateArticleType:()=>q,validateBody:()=>ke,validateBookChapterSlugs:()=>fe,validateBookChaptersFormat:()=>ge,validateBookCoverAspectRatio:()=>re,validateBookCoverSize:()=>G,validateBookPriceFraction:()=>Me,validateBookPriceRange:()=>Ae,validateBookPriceType:()=>ce,validateBookSummary:()=>ne,validateChapterFreeType:()=>nt,validateChapterItemSlug:()=>Ne,validateChapterSlug:()=>N,validateEmojiFormat:()=>ie,validateInvalidTopicLetters:()=>Se,validateItemSlug:()=>P,validateMissingBookCover:()=>O,validateMissingEmoji:()=>K,validateMissingTitle:()=>B,validateMissingTopics:()=>pe,validatePublicationName:()=>Y,validatePublishedAtParse:()=>ue,validatePublishedAtSchedule:()=>te,validatePublishedStatus:()=>H,validateSlug:()=>v,validateTitleLength:()=>Z,validateTooManyTopics:()=>be,validateTopicLength:()=>He,validateTopicType:()=>ye,validateUseTags:()=>Ve}),Ld=p(b);var T=E(BC),y=E(W5);function v(j){return j?/^[0-9a-z\-_]{12,50}$/.test(j):!1}function N(j){return j?/^[0-9a-z\-_]{1,50}$/.test(j)||/^[0-9]+.[0-9a-z\-_]{1,50}$/.test(j):!1}function x(j){return typeof j=="string"&&j.length>0}const P={type:"item-slug",isCritical:!0,getMessage:({slug:j})=>`slugの値(${j})が不正です。小文字の半角英数字(a-z0-9)、ハイフン(-)、アンダースコア(_)の12〜50字の組み合わせにしてください`,isValid:({slug:j})=>v(j)},B={type:"missing-title",isCritical:!0,getMessage:()=>"title(タイトル)を文字列で入力してください",isValid:({title:j})=>x(j)},Z={type:"title-length",isCritical:!0,getMessage:()=>"タイトルは70字以内にしてください",isValid:({title:j})=>x(j)?j.length<=70:!0},H={type:"published-status",isCritical:!0,getMessage:()=>'published(公開設定)を true か false で指定してください(クオテーション " で囲まないでください)',isValid:({published:j})=>typeof j=="boolean"},$=/^[0-9]{4}-[0-9]{2}-[0-9]{2}(\s[0-9]{2}:[0-9]{2})?$/,ue={type:"published-at-parse",isCritical:!0,getMessage:()=>"published_at(公開日時)は `YYYY-MM-DD` または `YYYY-MM-DD hh:mm` のフォーマットで指定してください",isValid:({published_at:j})=>j==null?!0:j.match($)?!isNaN(Date.parse(j.replace(" ","T"))):!1},te={type:"published-at-schedule",isCritical:!0,getMessage:()=>"published_at(公開日時)に未来の日時を指定する場合は、published(公開設定)に true を指定してください(公開日時を過ぎるとZennのサービス上で自動的に公開されます)",isValid:({published:j,published_at:de})=>j===!0||de==null||isNaN(Date.parse(de))?!0:Date.parse(de)<Date.now()},q={type:"article-type",isCritical:!0,detailUrl:"https://zenn.dev/tech-or-idea",detailUrlText:"詳細を開く",getMessage:()=>"type(記事のタイプ)に tech もしくは idea を指定してください。技術記事の場合は tech を指定してください",isValid:({type:j})=>j?j==="tech"||j==="idea":!1},K={type:"missing-emoji",detailUrl:"https://getemoji.com",detailUrlText:"絵文字を探す",getMessage:()=>"アイキャッチとなる emoji(絵文字)を指定してください",isValid:({emoji:j})=>x(j)},ie={type:"emoji-format",isCritical:!0,getMessage:()=>"絵文字(emoji)を1つだけ指定してください",isValid:({emoji:j})=>{if(!x(j))return!0;const de=(0,T.default)(),Pe=j.match(de);return!(!Pe||!Pe[0]||Pe[1])}},pe={type:"missing-topics",isCritical:!1,getMessage:()=>'topics(記事に関連する言語や技術)を配列で指定してください。例)["react", "javascript"]',isValid:({topics:j})=>Array.isArray(j)?j.length>0:!1},be={type:"too-many-topics",isCritical:!0,getMessage:()=>"topicsは最大5つまで指定できます",isValid:({topics:j})=>Array.isArray(j)?j.length<=5:!0},ye={type:"topic-type",isCritical:!0,getMessage:()=>"topicsは全て文字列で指定してください",isValid:({topics:j})=>Array.isArray(j)?j.every(de=>typeof de=="string"&&de.length>0):!0},He={type:"topic-length",isCritical:!0,getMessage:()=>"topicsは18字以内にしてください",isValid:({topics:j})=>!Array.isArray(j)||j.some(de=>typeof de!="string")?!0:j.every(de=>typeof de=="string"&&de.length<=18)},Se={type:"invalid-topic-letters",getMessage:()=>"topicsに記号やスペースを使用することはできません。例えばC++は「cpp」、C#は「csharp」と記載してください",isValid:({topics:j})=>Array.isArray(j)?!j.some(Pe=>typeof Pe=="string"&&Pe.match(/[ -/:-@[-`{-~]/g)):!0},Ve={type:"use-tags",getMessage:()=>"tagsではなくtopicsを使ってください",isValid:j=>!j.tags?.length&&!j.tag?.length},Y={type:"publication-name",isCritical:!0,getMessage:()=>"Publicationの名前が不正です。小文字の半角英数字(a-z0-9)、アンダースコア(_)の2〜15字の組み合わせにしてください",isValid:({publication_name:j})=>j?/^[0-9a-z_]{2,15}$/.test(j):!0},ne={type:"book-summary",isCritical:!0,getMessage:()=>"summary(本の説明)の記載は必須です",isValid:({summary:j})=>typeof j=="string"&&j.length>0},ce={type:"book-price-type",isCritical:!0,getMessage:()=>'price(本の価格)を半角数字で指定してください(クオテーション " で囲まないでください)',isValid:({price:j})=>typeof j=="number"},Ae={type:"book-price-range",isCritical:!0,getMessage:()=>"price(本の価格)を有料にする場合、200〜5000の間で指定してください",isValid:({price:j})=>typeof j!="number"||j===0?!0:j>=200&&j<=5e3},Me={type:"book-price-fraction",isCritical:!0,getMessage:()=>"price(本の価格)は100円単位で指定してください",isValid:({price:j})=>typeof j!="number"?!0:j%100===0},O={type:"missing-book-cover",getMessage:({slug:j})=>`本のカバー画像(cover.pngもしくはcover.jpg)を「/books/${j}」ディレクトリに配置してください`,isValid:({coverDataUrl:j})=>typeof j=="string"},G={type:"book-cover-size",isCritical:!0,getMessage:j=>`カバー画像のサイズは1MB以内にしてください。現在のサイズ: ${j.coverFilesize?`${Math.trunc(j.coverFilesize/1024)}KB`:"取得できませんでした"}`,isValid:({coverDataUrl:j,coverFilesize:de})=>typeof j!="string"?!0:typeof de=="number"&&de<=1024*1024};function ae(j,de){return!de||!j?null:Math.round(de/j*10)/10}const re={type:"book-cover-aspect-ratio",getMessage:j=>{const de=ae(j.coverWidth,j.coverHeight);return`カバー画像の「幅 : 高さ」の比率は「1 : 1.4」にすることをおすすめします(最終的に幅500px・高さ700pxにリサイズされます)。${de?`現在の比率は「1 : ${de}」です`:""}`},isValid:({coverDataUrl:j,coverHeight:de,coverWidth:Pe})=>{if(typeof j!="string")return!0;const Oe=ae(Pe,de);return typeof Oe=="number"&&Oe===1.4}},fe={type:"book-chapter-slugs",isCritical:!0,getMessage:()=>"config.yamlの chapters の指定に誤りがあります",detailUrl:"https://zenn.dev/zenn/articles/zenn-cli-guide#%F0%9F%93%84-config.yaml",isValid:({specifiedChapterSlugs:j})=>j===void 0?!0:Array.isArray(j)&&j.every(de=>typeof de=="string")},ge={type:"book-chapters-format",isCritical:!0,getMessage:()=>"chapters に指定する文字列には拡張子(.md)を含めないでください。ファイル名が example.md であれば example とのみ記載してください",detailUrl:"https://zenn.dev/zenn/articles/zenn-cli-guide#%F0%9F%93%84-config.yaml",isValid:({specifiedChapterSlugs:j})=>Array.isArray(j)?!j.some(Pe=>typeof Pe=="string"&&Pe.match(/\.md$/)):!0},Ne={type:"chapter-item-slug",isCritical:!0,getMessage:({slug:j})=>`チャプターのslugの値(${j})が不正です。小文字の半角英数字(a-z0-9)、ハイフン(-)、アンダースコア(_)の1〜50字の組み合わせにしてください`,isValid:({slug:j})=>N(j)},nt={type:"chapter-free-type",isCritical:!0,getMessage:()=>"free(無料公開設定)には true もしくは falseのみを指定してください",isValid:({free:j})=>j===void 0||typeof j=="boolean"},ke={type:"body",isCritical:!0,getMessage:()=>"記事本文にエラーがあります。本文を確認してください。",isValid:({bodyHtml:j})=>j?!y.load(j)("[data-body-error]").length:!0};return Ld}var Bd,Tb;function eR(){if(Tb)return Bd;Tb=1;var e=Object.defineProperty,u=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,l=(v,N)=>{for(var x in N)e(v,x,{get:N[x],enumerable:!0})},f=(v,N,x,P)=>{if(N&&typeof N=="object"||typeof N=="function")for(let B of n(N))!r.call(v,B)&&B!==x&&e(v,B,{get:()=>N[B],enumerable:!(P=u(N,B))||P.enumerable});return v},h=v=>f(e({},"__esModule",{value:!0}),v),D={};l(D,{validateArticle:()=>b,validateBook:()=>T,validateBookChapter:()=>y}),Bd=h(D);var E=J5();function p(v,N){return N.reduce((x,P)=>(P.isValid(v)||x.push({type:P.type,isCritical:P.isCritical===!0,message:P.getMessage(v),detailUrl:P.detailUrl,detailUrlText:P.detailUrlText}),x),[])}const b=v=>{const N=[E.validateBody,E.validateItemSlug,E.validateMissingTitle,E.validateTitleLength,E.validatePublishedStatus,E.validatePublishedAtParse,E.validatePublishedAtSchedule,E.validateArticleType,E.validateEmojiFormat,E.validateMissingEmoji,E.validateMissingTopics,E.validateUseTags,E.validateTopicLength,E.validateInvalidTopicLetters,E.validateTooManyTopics,E.validateTopicType,E.validatePublicationName];return p(v,N)},T=v=>{const N=[E.validateBody,E.validateItemSlug,E.validateMissingTitle,E.validateTitleLength,E.validatePublishedStatus,E.validateMissingTopics,E.validateUseTags,E.validateTopicLength,E.validateInvalidTopicLetters,E.validateTooManyTopics,E.validateTopicType,E.validateBookSummary,E.validateBookPriceType,E.validateBookPriceRange,E.validateBookPriceFraction,E.validateMissingBookCover,E.validateBookCoverSize,E.validateBookCoverAspectRatio,E.validateBookChapterSlugs,E.validateBookChaptersFormat];return p(v,N)},y=v=>{const N=[E.validateChapterItemSlug,E.validateMissingTitle,E.validateTitleLength,E.validateChapterFreeType];return p(v,N)};return Bd}var t1=eR();const H3=({topics:e})=>A.jsx(tR,{className:"topic-list",children:e.map((u,n)=>typeof u=="string"?A.jsx("a",{href:`https://zenn.dev/topics/${u.toLowerCase()}`,target:"_blank",rel:"noopener noreferrer",children:A.jsx("span",{className:"topic-list__item topic-list__item--valid",children:u})},`topic-${n}`):A.jsx("span",{className:"topic-list__item",children:u},`topic-${n}`))}),Md="3px",tR=at.div`
|
|
284
|
+
`)}}).toArray()}const n4=Object.freeze(Object.defineProperty({__proto__:null,serialize:u4,serializeArray:a4},Symbol.toStringTag,{value:"Module"}));function i4(e){var u;return typeof e=="string"?{selector:e,value:"textContent"}:{selector:e.selector,value:(u=e.value)!==null&&u!==void 0?u:"textContent"}}function r4(e){const u={};for(const n in e){const r=e[n],l=Array.isArray(r),{selector:f,value:h}=i4(l?r[0]:r),D=typeof h=="function"?h:typeof h=="string"?E=>this._make(E).prop(h):E=>this._make(E).extract(h);if(l)u[n]=this._findBySelector(f,Number.POSITIVE_INFINITY).map((E,p)=>D(p,n,u)).get();else{const E=this._findBySelector(f,1);u[n]=E.length>0?D(E[0],n,u):void 0}}return u}const s4=Object.freeze(Object.defineProperty({__proto__:null,extract:r4},Symbol.toStringTag,{value:"Module"}));class Ws{constructor(u,n,r){if(this.length=0,this.options=r,this._root=n,u){for(let l=0;l<u.length;l++)this[l]=u[l];this.length=u.length}}}Ws.prototype.cheerio="[cheerio object]";Ws.prototype.splice=Array.prototype.splice;Ws.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator];Object.assign(Ws.prototype,jy,R8,Z8,e4,n4,s4);function l4(e,u){return function n(r,l,f=!0){if(r==null)throw new Error("cheerio.load() expects a string");const h=nh(l),D=e(r,h,f,null);class E extends Ws{_make(T,y){const v=p(T,y);return v.prevObject=this,v}_parse(T,y,v,N){return e(T,y,v,N)}_render(T){return u(T,this.options)}}function p(b,T,y=D,v){if(b&&Aa(b))return b;const N=nh(v,h),x=typeof y=="string"?[e(y,N,!1,null)]:"length"in y?y:[y],P=Aa(x)?x:new E(x,null,N);if(P._root=P,!b)return new E(void 0,P,N);const B=typeof b=="string"&&ih(b)?e(b,N,!1,null).children:c4(b)?[b]:Array.isArray(b)?b:void 0,Z=new E(B,P,N);if(B)return Z;if(typeof b!="string")throw new TypeError("Unexpected type of selector");let H=b;const $=T?typeof T=="string"?ih(T)?new E([e(T,N,!1,null)],P,N):(H=`${T} ${H}`,P):Aa(T)?T:new E(Array.isArray(T)?T:[T],P,N):P;return $?$.find(H):Z}return Object.assign(p,my,{load:n,_root:D,_options:h,fn:E.prototype,prototype:E.prototype}),p}}function c4(e){return!!e.name||e.type===Mh||e.type===p2||e.type===g2}const o4=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),ct="�";var _;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(_||(_={}));const tu={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function c3(e){return e>=55296&&e<=57343}function f4(e){return e>=56320&&e<=57343}function d4(e,u){return(e-55296)*1024+9216+u}function o3(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function f3(e){return e>=64976&&e<=65007||o4.has(e)}var z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(z||(z={}));const h4=65536;class m4{constructor(u){this.handler=u,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=h4,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(u,n){const{line:r,col:l,offset:f}=this,h=l+n,D=f+n;return{code:u,startLine:r,endLine:r,startCol:h,endCol:h,startOffset:D,endOffset:D}}_err(u){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(u,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(u){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(f4(n))return this.pos++,this._addGap(),d4(u,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(z.surrogateInInputStream),u}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(u,n){this.html.length>0?this.html+=u:this.html=u,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(u){this.html=this.html.substring(0,this.pos+1)+u+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(u,n){if(this.pos+u.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(u,this.pos);for(let r=0;r<u.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==u.charCodeAt(r))return!1;return!0}peek(u){const n=this.pos+u;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;const r=this.html.charCodeAt(n);return r===_.CARRIAGE_RETURN?_.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let u=this.html.charCodeAt(this.pos);return u===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):u===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,c3(u)&&(u=this._processSurrogate(u)),this.handler.onParseError===null||u>31&&u<127||u===_.LINE_FEED||u===_.CARRIAGE_RETURN||u>159&&u<64976||this._checkForProblematicCharacters(u),u)}_checkForProblematicCharacters(u){o3(u)?this._err(z.controlCharacterInInputStream):f3(u)&&this._err(z.noncharacterInInputStream)}retreat(u){for(this.pos-=u;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ze;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(ze||(ze={}));function d3(e,u){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===u)return e.attrs[n].value;return null}var W;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(W||(W={}));var Mn;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Mn||(Mn={}));var Tu;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Tu||(Tu={}));var M;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(M||(M={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const E4=new Map([[M.A,d.A],[M.ADDRESS,d.ADDRESS],[M.ANNOTATION_XML,d.ANNOTATION_XML],[M.APPLET,d.APPLET],[M.AREA,d.AREA],[M.ARTICLE,d.ARTICLE],[M.ASIDE,d.ASIDE],[M.B,d.B],[M.BASE,d.BASE],[M.BASEFONT,d.BASEFONT],[M.BGSOUND,d.BGSOUND],[M.BIG,d.BIG],[M.BLOCKQUOTE,d.BLOCKQUOTE],[M.BODY,d.BODY],[M.BR,d.BR],[M.BUTTON,d.BUTTON],[M.CAPTION,d.CAPTION],[M.CENTER,d.CENTER],[M.CODE,d.CODE],[M.COL,d.COL],[M.COLGROUP,d.COLGROUP],[M.DD,d.DD],[M.DESC,d.DESC],[M.DETAILS,d.DETAILS],[M.DIALOG,d.DIALOG],[M.DIR,d.DIR],[M.DIV,d.DIV],[M.DL,d.DL],[M.DT,d.DT],[M.EM,d.EM],[M.EMBED,d.EMBED],[M.FIELDSET,d.FIELDSET],[M.FIGCAPTION,d.FIGCAPTION],[M.FIGURE,d.FIGURE],[M.FONT,d.FONT],[M.FOOTER,d.FOOTER],[M.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[M.FORM,d.FORM],[M.FRAME,d.FRAME],[M.FRAMESET,d.FRAMESET],[M.H1,d.H1],[M.H2,d.H2],[M.H3,d.H3],[M.H4,d.H4],[M.H5,d.H5],[M.H6,d.H6],[M.HEAD,d.HEAD],[M.HEADER,d.HEADER],[M.HGROUP,d.HGROUP],[M.HR,d.HR],[M.HTML,d.HTML],[M.I,d.I],[M.IMG,d.IMG],[M.IMAGE,d.IMAGE],[M.INPUT,d.INPUT],[M.IFRAME,d.IFRAME],[M.KEYGEN,d.KEYGEN],[M.LABEL,d.LABEL],[M.LI,d.LI],[M.LINK,d.LINK],[M.LISTING,d.LISTING],[M.MAIN,d.MAIN],[M.MALIGNMARK,d.MALIGNMARK],[M.MARQUEE,d.MARQUEE],[M.MATH,d.MATH],[M.MENU,d.MENU],[M.META,d.META],[M.MGLYPH,d.MGLYPH],[M.MI,d.MI],[M.MO,d.MO],[M.MN,d.MN],[M.MS,d.MS],[M.MTEXT,d.MTEXT],[M.NAV,d.NAV],[M.NOBR,d.NOBR],[M.NOFRAMES,d.NOFRAMES],[M.NOEMBED,d.NOEMBED],[M.NOSCRIPT,d.NOSCRIPT],[M.OBJECT,d.OBJECT],[M.OL,d.OL],[M.OPTGROUP,d.OPTGROUP],[M.OPTION,d.OPTION],[M.P,d.P],[M.PARAM,d.PARAM],[M.PLAINTEXT,d.PLAINTEXT],[M.PRE,d.PRE],[M.RB,d.RB],[M.RP,d.RP],[M.RT,d.RT],[M.RTC,d.RTC],[M.RUBY,d.RUBY],[M.S,d.S],[M.SCRIPT,d.SCRIPT],[M.SEARCH,d.SEARCH],[M.SECTION,d.SECTION],[M.SELECT,d.SELECT],[M.SOURCE,d.SOURCE],[M.SMALL,d.SMALL],[M.SPAN,d.SPAN],[M.STRIKE,d.STRIKE],[M.STRONG,d.STRONG],[M.STYLE,d.STYLE],[M.SUB,d.SUB],[M.SUMMARY,d.SUMMARY],[M.SUP,d.SUP],[M.TABLE,d.TABLE],[M.TBODY,d.TBODY],[M.TEMPLATE,d.TEMPLATE],[M.TEXTAREA,d.TEXTAREA],[M.TFOOT,d.TFOOT],[M.TD,d.TD],[M.TH,d.TH],[M.THEAD,d.THEAD],[M.TITLE,d.TITLE],[M.TR,d.TR],[M.TRACK,d.TRACK],[M.TT,d.TT],[M.U,d.U],[M.UL,d.UL],[M.SVG,d.SVG],[M.VAR,d.VAR],[M.WBR,d.WBR],[M.XMP,d.XMP]]);function Ao(e){var u;return(u=E4.get(e))!==null&&u!==void 0?u:d.UNKNOWN}const ee=d,D4={[W.HTML]:new Set([ee.ADDRESS,ee.APPLET,ee.AREA,ee.ARTICLE,ee.ASIDE,ee.BASE,ee.BASEFONT,ee.BGSOUND,ee.BLOCKQUOTE,ee.BODY,ee.BR,ee.BUTTON,ee.CAPTION,ee.CENTER,ee.COL,ee.COLGROUP,ee.DD,ee.DETAILS,ee.DIR,ee.DIV,ee.DL,ee.DT,ee.EMBED,ee.FIELDSET,ee.FIGCAPTION,ee.FIGURE,ee.FOOTER,ee.FORM,ee.FRAME,ee.FRAMESET,ee.H1,ee.H2,ee.H3,ee.H4,ee.H5,ee.H6,ee.HEAD,ee.HEADER,ee.HGROUP,ee.HR,ee.HTML,ee.IFRAME,ee.IMG,ee.INPUT,ee.LI,ee.LINK,ee.LISTING,ee.MAIN,ee.MARQUEE,ee.MENU,ee.META,ee.NAV,ee.NOEMBED,ee.NOFRAMES,ee.NOSCRIPT,ee.OBJECT,ee.OL,ee.P,ee.PARAM,ee.PLAINTEXT,ee.PRE,ee.SCRIPT,ee.SECTION,ee.SELECT,ee.SOURCE,ee.STYLE,ee.SUMMARY,ee.TABLE,ee.TBODY,ee.TD,ee.TEMPLATE,ee.TEXTAREA,ee.TFOOT,ee.TH,ee.THEAD,ee.TITLE,ee.TR,ee.TRACK,ee.UL,ee.WBR,ee.XMP]),[W.MATHML]:new Set([ee.MI,ee.MO,ee.MN,ee.MS,ee.MTEXT,ee.ANNOTATION_XML]),[W.SVG]:new Set([ee.TITLE,ee.FOREIGN_OBJECT,ee.DESC]),[W.XLINK]:new Set,[W.XML]:new Set,[W.XMLNS]:new Set},hh=new Set([ee.H1,ee.H2,ee.H3,ee.H4,ee.H5,ee.H6]),p4=new Set([M.STYLE,M.SCRIPT,M.XMP,M.IFRAME,M.NOEMBED,M.NOFRAMES,M.PLAINTEXT]);function g4(e,u){return p4.has(e)||u&&e===M.NOSCRIPT}var C;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(C||(C={}));const au={DATA:C.DATA,RCDATA:C.RCDATA,RAWTEXT:C.RAWTEXT,SCRIPT_DATA:C.SCRIPT_DATA,PLAINTEXT:C.PLAINTEXT,CDATA_SECTION:C.CDATA_SECTION};function b4(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function Cs(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function T4(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function Ja(e){return T4(e)||Cs(e)}function sb(e){return Ja(e)||b4(e)}function Fc(e){return e+32}function h3(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function lb(e){return h3(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}function _4(e){return e===_.NULL?z.nullCharacterReference:e>1114111?z.characterReferenceOutsideUnicodeRange:c3(e)?z.surrogateCharacterReference:f3(e)?z.noncharacterCharacterReference:o3(e)||e===_.CARRIAGE_RETURN?z.controlCharacterReference:null}class A4{constructor(u,n){this.options=u,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=C.DATA,this.returnState=C.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new m4(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new F2(O2,(r,l)=>{this.preprocessor.pos=this.entityStartPos+l-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const l=_4(r);l&&this._err(l,1)}}:void 0)}_err(u,n=0){var r,l;(l=(r=this.handler).onParseError)===null||l===void 0||l.call(r,this.preprocessor.getError(u,n))}getCurrentLocation(u){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-u,startOffset:this.preprocessor.offset-u,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const u=this._consume();this._ensureHibernation()||this._callState(u)}this.inLoop=!1}}pause(){this.paused=!0}resume(u){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||u?.())}write(u,n,r){this.active=!0,this.preprocessor.write(u,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(u){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(u),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(u){this.consumedAfterSnapshot+=u;for(let n=0;n<u;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(u,n){return this.preprocessor.startsWith(u,n)?(this._advanceBy(u.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ze.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ze.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(u){this.currentToken={type:ze.COMMENT,data:"",location:this.getCurrentLocation(u)}}_createDoctypeToken(u){this.currentToken={type:ze.DOCTYPE,name:u,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(u,n){this.currentCharacterToken={type:u,chars:n,location:this.currentLocation}}_createAttr(u){this.currentAttr={name:u,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var u,n;const r=this.currentToken;if(d3(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const l=(u=(n=r.location).attrs)!==null&&u!==void 0?u:n.attrs=Object.create(null);l[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(u){this._emitCurrentCharacterToken(u.location),this.currentToken=null,u.location&&(u.location.endLine=this.preprocessor.line,u.location.endCol=this.preprocessor.col+1,u.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const u=this.currentToken;this.prepareToken(u),u.tagID=Ao(u.tagName),u.type===ze.START_TAG?(this.lastStartTagName=u.tagName,this.handler.onStartTag(u)):(u.attrs.length>0&&this._err(z.endTagWithAttributes),u.selfClosing&&this._err(z.endTagWithTrailingSolidus),this.handler.onEndTag(u)),this.preprocessor.dropParsedChunk()}emitCurrentComment(u){this.prepareToken(u),this.handler.onComment(u),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(u){this.prepareToken(u),this.handler.onDoctype(u),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(u){if(this.currentCharacterToken){switch(u&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=u.startLine,this.currentCharacterToken.location.endCol=u.startCol,this.currentCharacterToken.location.endOffset=u.startOffset),this.currentCharacterToken.type){case ze.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ze.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ze.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const u=this.getCurrentLocation(0);u&&(u.endLine=u.startLine,u.endCol=u.startCol,u.endOffset=u.startOffset),this._emitCurrentCharacterToken(u),this.handler.onEof({type:ze.EOF,location:u}),this.active=!1}_appendCharToCurrentCharacterToken(u,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===u){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(u,n)}_emitCodePoint(u){const n=h3(u)?ze.WHITESPACE_CHARACTER:u===_.NULL?ze.NULL_CHARACTER:ze.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(u))}_emitChars(u){this._appendCharToCurrentCharacterToken(ze.CHARACTER,u)}_startCharacterReference(){this.returnState=this.state,this.state=C.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Mu.Attribute:Mu.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===C.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(u){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(u):this._emitCodePoint(u)}_callState(u){switch(this.state){case C.DATA:{this._stateData(u);break}case C.RCDATA:{this._stateRcdata(u);break}case C.RAWTEXT:{this._stateRawtext(u);break}case C.SCRIPT_DATA:{this._stateScriptData(u);break}case C.PLAINTEXT:{this._statePlaintext(u);break}case C.TAG_OPEN:{this._stateTagOpen(u);break}case C.END_TAG_OPEN:{this._stateEndTagOpen(u);break}case C.TAG_NAME:{this._stateTagName(u);break}case C.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(u);break}case C.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(u);break}case C.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(u);break}case C.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(u);break}case C.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(u);break}case C.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(u);break}case C.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(u);break}case C.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(u);break}case C.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(u);break}case C.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(u);break}case C.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(u);break}case C.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(u);break}case C.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(u);break}case C.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(u);break}case C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(u);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(u);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(u);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(u);break}case C.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(u);break}case C.ATTRIBUTE_NAME:{this._stateAttributeName(u);break}case C.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(u);break}case C.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(u);break}case C.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(u);break}case C.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(u);break}case C.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(u);break}case C.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(u);break}case C.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(u);break}case C.BOGUS_COMMENT:{this._stateBogusComment(u);break}case C.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(u);break}case C.COMMENT_START:{this._stateCommentStart(u);break}case C.COMMENT_START_DASH:{this._stateCommentStartDash(u);break}case C.COMMENT:{this._stateComment(u);break}case C.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(u);break}case C.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(u);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(u);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(u);break}case C.COMMENT_END_DASH:{this._stateCommentEndDash(u);break}case C.COMMENT_END:{this._stateCommentEnd(u);break}case C.COMMENT_END_BANG:{this._stateCommentEndBang(u);break}case C.DOCTYPE:{this._stateDoctype(u);break}case C.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(u);break}case C.DOCTYPE_NAME:{this._stateDoctypeName(u);break}case C.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(u);break}case C.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(u);break}case C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(u);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(u);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(u);break}case C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(u);break}case C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(u);break}case C.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(u);break}case C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(u);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(u);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(u);break}case C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(u);break}case C.BOGUS_DOCTYPE:{this._stateBogusDoctype(u);break}case C.CDATA_SECTION:{this._stateCdataSection(u);break}case C.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(u);break}case C.CDATA_SECTION_END:{this._stateCdataSectionEnd(u);break}case C.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case C.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(u);break}default:throw new Error("Unknown state")}}_stateData(u){switch(u){case _.LESS_THAN_SIGN:{this.state=C.TAG_OPEN;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitCodePoint(u);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateRcdata(u){switch(u){case _.AMPERSAND:{this._startCharacterReference();break}case _.LESS_THAN_SIGN:{this.state=C.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateRawtext(u){switch(u){case _.LESS_THAN_SIGN:{this.state=C.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateScriptData(u){switch(u){case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_statePlaintext(u){switch(u){case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateTagOpen(u){if(Ja(u))this._createStartTagToken(),this.state=C.TAG_NAME,this._stateTagName(u);else switch(u){case _.EXCLAMATION_MARK:{this.state=C.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=C.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=C.BOGUS_COMMENT,this._stateBogusComment(u);break}case _.EOF:{this._err(z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=C.DATA,this._stateData(u)}}_stateEndTagOpen(u){if(Ja(u))this._createEndTagToken(),this.state=C.TAG_NAME,this._stateTagName(u);else switch(u){case _.GREATER_THAN_SIGN:{this._err(z.missingEndTagName),this.state=C.DATA;break}case _.EOF:{this._err(z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(u)}}_stateTagName(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.tagName+=ct;break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Cs(u)?Fc(u):u)}}_stateRcdataLessThanSign(u){u===_.SOLIDUS?this.state=C.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RCDATA,this._stateRcdata(u))}_stateRcdataEndTagOpen(u){Ja(u)?(this.state=C.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(u)):(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(u))}handleSpecialEndTag(u){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=C.BEFORE_ATTRIBUTE_NAME,!1;case _.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=C.SELF_CLOSING_START_TAG,!1;case _.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=C.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(u))}_stateRawtextLessThanSign(u){u===_.SOLIDUS?this.state=C.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RAWTEXT,this._stateRawtext(u))}_stateRawtextEndTagOpen(u){Ja(u)?(this.state=C.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(u)):(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(u))}_stateRawtextEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(u))}_stateScriptDataLessThanSign(u){switch(u){case _.SOLIDUS:{this.state=C.SCRIPT_DATA_END_TAG_OPEN;break}case _.EXCLAMATION_MARK:{this.state=C.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=C.SCRIPT_DATA,this._stateScriptData(u)}}_stateScriptDataEndTagOpen(u){Ja(u)?(this.state=C.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(u)):(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEscapeStart(u){u===_.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEscapeStartDash(u){u===_.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(u))}_stateScriptDataEscaped(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateScriptDataEscapedDash(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataEscapedDashDash(u){switch(u){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataEscapedLessThanSign(u){u===_.SOLIDUS?this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ja(u)?(this._emitChars("<"),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(u)):(this._emitChars("<"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataEscapedEndTagOpen(u){Ja(u)?(this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(u)):(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataEscapedEndTagName(u){this.handleSpecialEndTag(u)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataDoubleEscapeStart(u){if(this.preprocessor.startsWith(tu.SCRIPT,!1)&&lb(this.preprocessor.peek(tu.SCRIPT.length))){this._emitCodePoint(u);for(let n=0;n<tu.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(u))}_stateScriptDataDoubleEscaped(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateScriptDataDoubleEscapedDash(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataDoubleEscapedDashDash(u){switch(u){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ct);break}case _.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(u)}}_stateScriptDataDoubleEscapedLessThanSign(u){u===_.SOLIDUS?(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(u))}_stateScriptDataDoubleEscapeEnd(u){if(this.preprocessor.startsWith(tu.SCRIPT,!1)&&lb(this.preprocessor.peek(tu.SCRIPT.length))){this._emitCodePoint(u);for(let n=0;n<tu.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(u))}_stateBeforeAttributeName(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(u);break}case _.EQUALS_SIGN:{this._err(z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=C.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(u)}}_stateAttributeName(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this._leaveAttrName(),this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(u);break}case _.EQUALS_SIGN:{this._leaveAttrName(),this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:{this._err(z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(u);break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.name+=ct;break}default:this.currentAttr.name+=String.fromCodePoint(Cs(u)?Fc(u):u)}}_stateAfterAttributeName(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case _.EQUALS_SIGN:{this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(u)}}_stateBeforeAttributeValue(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{this.state=C.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this.state=C.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingAttributeValue),this.state=C.DATA,this.emitCurrentTagToken();break}default:this.state=C.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(u)}}_stateAttributeValueDoubleQuoted(u){switch(u){case _.QUOTATION_MARK:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ct;break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(u)}}_stateAttributeValueSingleQuoted(u){switch(u){case _.APOSTROPHE:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ct;break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(u)}}_stateAttributeValueUnquoted(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case _.AMPERSAND:{this._startCharacterReference();break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=ct;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:case _.EQUALS_SIGN:case _.GRAVE_ACCENT:{this._err(z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(u);break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(u)}}_stateAfterAttributeValueQuoted(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this._leaveAttrValue(),this.state=C.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBetweenAttributes),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(u)}}_stateSelfClosingStartTag(u){switch(u){case _.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=C.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.unexpectedSolidusInTag),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(u)}}_stateBogusComment(u){const n=this.currentToken;switch(u){case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(n);break}case _.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.data+=ct;break}default:n.data+=String.fromCodePoint(u)}}_stateMarkupDeclarationOpen(u){this._consumeSequenceIfMatch(tu.DASH_DASH,!0)?(this._createCommentToken(tu.DASH_DASH.length+1),this.state=C.COMMENT_START):this._consumeSequenceIfMatch(tu.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tu.DOCTYPE.length+1),this.state=C.DOCTYPE):this._consumeSequenceIfMatch(tu.CDATA_START,!0)?this.inForeignNode?this.state=C.CDATA_SECTION:(this._err(z.cdataInHtmlContent),this._createCommentToken(tu.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=C.BOGUS_COMMENT):this._ensureHibernation()||(this._err(z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(u))}_stateCommentStart(u){switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_START_DASH;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=C.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=C.COMMENT,this._stateComment(u)}}_stateCommentStartDash(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=C.DATA,this.emitCurrentComment(n);break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=C.COMMENT,this._stateComment(u)}}_stateComment(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_END_DASH;break}case _.LESS_THAN_SIGN:{n.data+="<",this.state=C.COMMENT_LESS_THAN_SIGN;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.data+=ct;break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(u)}}_stateCommentLessThanSign(u){const n=this.currentToken;switch(u){case _.EXCLAMATION_MARK:{n.data+="!",this.state=C.COMMENT_LESS_THAN_SIGN_BANG;break}case _.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=C.COMMENT,this._stateComment(u)}}_stateCommentLessThanSignBang(u){u===_.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=C.COMMENT,this._stateComment(u))}_stateCommentLessThanSignBangDash(u){u===_.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=C.COMMENT_END_DASH,this._stateCommentEndDash(u))}_stateCommentLessThanSignBangDashDash(u){u!==_.GREATER_THAN_SIGN&&u!==_.EOF&&this._err(z.nestedComment),this.state=C.COMMENT_END,this._stateCommentEnd(u)}_stateCommentEndDash(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=C.COMMENT,this._stateComment(u)}}_stateCommentEnd(u){const n=this.currentToken;switch(u){case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(n);break}case _.EXCLAMATION_MARK:{this.state=C.COMMENT_END_BANG;break}case _.HYPHEN_MINUS:{n.data+="-";break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=C.COMMENT,this._stateComment(u)}}_stateCommentEndBang(u){const n=this.currentToken;switch(u){case _.HYPHEN_MINUS:{n.data+="--!",this.state=C.COMMENT_END_DASH;break}case _.GREATER_THAN_SIGN:{this._err(z.incorrectlyClosedComment),this.state=C.DATA,this.emitCurrentComment(n);break}case _.EOF:{this._err(z.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=C.COMMENT,this._stateComment(u)}}_stateDoctype(u){switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(u);break}case _.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBeforeDoctypeName),this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(u)}}_stateBeforeDoctypeName(u){if(Cs(u))this._createDoctypeToken(String.fromCharCode(Fc(u))),this.state=C.DOCTYPE_NAME;else switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.NULL:{this._err(z.unexpectedNullCharacter),this._createDoctypeToken(ct),this.state=C.DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(u)),this.state=C.DOCTYPE_NAME}}_stateDoctypeName(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.AFTER_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.name+=ct;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Cs(u)?Fc(u):u)}}_stateAfterDoctypeName(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(tu.PUBLIC,!1)?this.state=C.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tu.SYSTEM,!1)?this.state=C.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(z.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u))}}_stateAfterDoctypePublicKeyword(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBeforeDoctypePublicIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateDoctypePublicIdentifierDoubleQuoted(u){const n=this.currentToken;switch(u){case _.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.publicId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(u)}}_stateDoctypePublicIdentifierSingleQuoted(u){const n=this.currentToken;switch(u){case _.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.publicId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(u)}}_stateAfterDoctypePublicIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case _.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.QUOTATION_MARK:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBetweenDoctypePublicAndSystemIdentifiers(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.QUOTATION_MARK:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateAfterDoctypeSystemKeyword(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBeforeDoctypeSystemIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateDoctypeSystemIdentifierDoubleQuoted(u){const n=this.currentToken;switch(u){case _.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.systemId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(u)}}_stateDoctypeSystemIdentifierSingleQuoted(u){const n=this.currentToken;switch(u){case _.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(z.unexpectedNullCharacter),n.systemId+=ct;break}case _.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(u)}}_stateAfterDoctypeSystemIdentifier(u){const n=this.currentToken;switch(u){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.EOF:{this._err(z.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(u)}}_stateBogusDoctype(u){const n=this.currentToken;switch(u){case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case _.NULL:{this._err(z.unexpectedNullCharacter);break}case _.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(u){switch(u){case _.RIGHT_SQUARE_BRACKET:{this.state=C.CDATA_SECTION_BRACKET;break}case _.EOF:{this._err(z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(u)}}_stateCdataSectionBracket(u){u===_.RIGHT_SQUARE_BRACKET?this.state=C.CDATA_SECTION_END:(this._emitChars("]"),this.state=C.CDATA_SECTION,this._stateCdataSection(u))}_stateCdataSectionEnd(u){switch(u){case _.GREATER_THAN_SIGN:{this.state=C.DATA;break}case _.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=C.CDATA_SECTION,this._stateCdataSection(u)}}_stateCharacterReference(){let u=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(u<0)if(this.preprocessor.lastChunkWritten)u=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}u===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&sb(this.preprocessor.peek(1))?C.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(u){sb(u)?this._flushCodePointConsumedAsCharacterReference(u):(u===_.SEMICOLON&&this._err(z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(u))}}const m3=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),cb=new Set([...m3,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),uo=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),v4=new Set([...uo,d.OL,d.UL]),C4=new Set([...uo,d.BUTTON]),ob=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),fb=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),y4=new Set([d.TR,d.TEMPLATE,d.HTML]),S4=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),N4=new Set([d.TABLE,d.TEMPLATE,d.HTML]),R4=new Set([d.TD,d.TH]);class O4{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(u,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=u}_indexOf(u){return this.items.lastIndexOf(u,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===W.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(u,n){this.stackTop++,this.items[this.stackTop]=u,this.current=u,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(u,n,!0)}pop(){const u=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(u,!0)}replace(u,n){const r=this._indexOf(u);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(u,n,r){const l=this._indexOf(u)+1;this.items.splice(l,0,n),this.tagIDs.splice(l,0,r),this.stackTop++,l===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,l===this.stackTop)}popUntilTagNamePopped(u){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(u,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==W.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(u){for(;this.stackTop>=u;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<u)}}popUntilElementPopped(u){const n=this._indexOf(u);this.shortenToLength(Math.max(n,0))}popUntilPopped(u,n){const r=this._indexOfTagNames(u,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(hh,W.HTML)}popUntilTableCellPopped(){this.popUntilPopped(R4,W.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(u,n){for(let r=this.stackTop;r>=0;r--)if(u.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(u,n){const r=this._indexOfTagNames(u,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(N4,W.HTML)}clearBackToTableBodyContext(){this.clearBackTo(S4,W.HTML)}clearBackToTableRowContext(){this.clearBackTo(y4,W.HTML)}remove(u){const n=this._indexOf(u);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(u,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(u){return this._indexOf(u)>-1}getCommonAncestor(u){const n=this._indexOf(u)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(u,n){for(let r=this.stackTop;r>=0;r--){const l=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case W.HTML:{if(l===u)return!0;if(n.has(l))return!1;break}case W.SVG:{if(fb.has(l))return!1;break}case W.MATHML:{if(ob.has(l))return!1;break}}}return!0}hasInScope(u){return this.hasInDynamicScope(u,uo)}hasInListItemScope(u){return this.hasInDynamicScope(u,v4)}hasInButtonScope(u){return this.hasInDynamicScope(u,C4)}hasNumberedHeaderInScope(){for(let u=this.stackTop;u>=0;u--){const n=this.tagIDs[u];switch(this.treeAdapter.getNamespaceURI(this.items[u])){case W.HTML:{if(hh.has(n))return!0;if(uo.has(n))return!1;break}case W.SVG:{if(fb.has(n))return!1;break}case W.MATHML:{if(ob.has(n))return!1;break}}}return!0}hasInTableScope(u){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===W.HTML)switch(this.tagIDs[n]){case u:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let u=this.stackTop;u>=0;u--)if(this.treeAdapter.getNamespaceURI(this.items[u])===W.HTML)switch(this.tagIDs[u]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(u){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===W.HTML)switch(this.tagIDs[n]){case u:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&m3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&cb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(u){for(;this.currentTagId!==void 0&&this.currentTagId!==u&&cb.has(this.currentTagId);)this.pop()}}const Fd=3;var Zu;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Zu||(Zu={}));const db={type:Zu.Marker};class F4{constructor(u){this.treeAdapter=u,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(u,n){const r=[],l=n.length,f=this.treeAdapter.getTagName(u),h=this.treeAdapter.getNamespaceURI(u);for(let D=0;D<this.entries.length;D++){const E=this.entries[D];if(E.type===Zu.Marker)break;const{element:p}=E;if(this.treeAdapter.getTagName(p)===f&&this.treeAdapter.getNamespaceURI(p)===h){const b=this.treeAdapter.getAttrList(p);b.length===l&&r.push({idx:D,attrs:b})}}return r}_ensureNoahArkCondition(u){if(this.entries.length<Fd)return;const n=this.treeAdapter.getAttrList(u),r=this._getNoahArkConditionCandidates(u,n);if(r.length<Fd)return;const l=new Map(n.map(h=>[h.name,h.value]));let f=0;for(let h=0;h<r.length;h++){const D=r[h];D.attrs.every(E=>l.get(E.name)===E.value)&&(f+=1,f>=Fd&&this.entries.splice(D.idx,1))}}insertMarker(){this.entries.unshift(db)}pushElement(u,n){this._ensureNoahArkCondition(u),this.entries.unshift({type:Zu.Element,element:u,token:n})}insertElementAfterBookmark(u,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Zu.Element,element:u,token:n})}removeEntry(u){const n=this.entries.indexOf(u);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const u=this.entries.indexOf(db);u===-1?this.entries.length=0:this.entries.splice(0,u+1)}getElementEntryInScopeWithTagName(u){const n=this.entries.find(r=>r.type===Zu.Marker||this.treeAdapter.getTagName(r.element)===u);return n&&n.type===Zu.Element?n:null}getElementEntry(u){return this.entries.find(n=>n.type===Zu.Element&&n.element===u)}}const Ta={createDocument(){return{nodeName:"#document",mode:Tu.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,u,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:u,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,u){e.childNodes.push(u),u.parentNode=e},insertBefore(e,u,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,u),u.parentNode=e},setTemplateContent(e,u){e.content=u},getTemplateContent(e){return e.content},setDocumentType(e,u,n,r){const l=e.childNodes.find(f=>f.nodeName==="#documentType");if(l)l.name=u,l.publicId=n,l.systemId=r;else{const f={nodeName:"#documentType",name:u,publicId:n,systemId:r,parentNode:null};Ta.appendChild(e,f)}},setDocumentMode(e,u){e.mode=u},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const u=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(u,1),e.parentNode=null}},insertText(e,u){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Ta.isTextNode(n)){n.value+=u;return}}Ta.appendChild(e,Ta.createTextNode(u))},insertTextBefore(e,u,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ta.isTextNode(r)?r.value+=u:Ta.insertBefore(e,Ta.createTextNode(u),n)},adoptAttributes(e,u){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<u.length;r++)n.has(u[r].name)||e.attrs.push(u[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,u){e.sourceCodeLocation=u},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,u){e.sourceCodeLocation={...e.sourceCodeLocation,...u}}},E3="html",x4="about:legacy-compat",L4="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",D3=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],B4=[...D3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],M4=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),p3=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],I4=[...p3,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hb(e,u){return u.some(n=>e.startsWith(n))}function w4(e){return e.name===E3&&e.publicId===null&&(e.systemId===null||e.systemId===x4)}function U4(e){if(e.name!==E3)return Tu.QUIRKS;const{systemId:u}=e;if(u&&u.toLowerCase()===L4)return Tu.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),M4.has(n))return Tu.QUIRKS;let r=u===null?B4:D3;if(hb(n,r))return Tu.QUIRKS;if(r=u===null?p3:I4,hb(n,r))return Tu.LIMITED_QUIRKS}return Tu.NO_QUIRKS}const mb={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},P4="definitionurl",H4="definitionURL",k4=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),j4=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:W.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:W.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:W.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:W.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:W.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:W.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:W.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:W.XML}],["xml:space",{prefix:"xml",name:"space",namespace:W.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:W.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:W.XMLNS}]]),z4=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),q4=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function Y4(e){const u=e.tagID;return u===d.FONT&&e.attrs.some(({name:r})=>r===Mn.COLOR||r===Mn.SIZE||r===Mn.FACE)||q4.has(u)}function g3(e){for(let u=0;u<e.attrs.length;u++)if(e.attrs[u].name===P4){e.attrs[u].name=H4;break}}function b3(e){for(let u=0;u<e.attrs.length;u++){const n=k4.get(e.attrs[u].name);n!=null&&(e.attrs[u].name=n)}}function $h(e){for(let u=0;u<e.attrs.length;u++){const n=j4.get(e.attrs[u].name);n&&(e.attrs[u].prefix=n.prefix,e.attrs[u].name=n.name,e.attrs[u].namespace=n.namespace)}}function G4(e){const u=z4.get(e.tagName);u!=null&&(e.tagName=u,e.tagID=Ao(e.tagName))}function V4(e,u){return u===W.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function Q4(e,u,n){if(u===W.MATHML&&e===d.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Mn.ENCODING){const l=n[r].value.toLowerCase();return l===mb.TEXT_HTML||l===mb.APPLICATION_XML}}return u===W.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function X4(e,u,n,r){return(!r||r===W.HTML)&&Q4(e,u,n)||(!r||r===W.MATHML)&&V4(e,u)}const K4="hidden",Z4=8,$4=3;var S;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(S||(S={}));const W4={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},T3=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),Eb={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ta,onParseError:null};class _3{constructor(u,n,r=null,l=null){this.fragmentContext=r,this.scriptHandler=l,this.currentToken=null,this.stopped=!1,this.insertionMode=S.INITIAL,this.originalInsertionMode=S.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Eb,...u},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new A4(this.options,this),this.activeFormattingElements=new F4(this.treeAdapter),this.fragmentContextID=r?Ao(this.treeAdapter.getTagName(r)):d.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new O4(this.document,this.treeAdapter,this)}static parse(u,n){const r=new this(n);return r.tokenizer.write(u,!0),r.document}static getFragmentParser(u,n){const r={...Eb,...n};u??(u=r.treeAdapter.createElement(M.TEMPLATE,W.HTML,[]));const l=r.treeAdapter.createElement("documentmock",W.HTML,[]),f=new this(r,l,u);return f.fragmentContextID===d.TEMPLATE&&f.tmplInsertionModeStack.unshift(S.IN_TEMPLATE),f._initTokenizerForFragmentParsing(),f._insertFakeRootElement(),f._resetInsertionMode(),f._findFormInFragmentContext(),f}getFragment(){const u=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(u,n),n}_err(u,n,r){var l;if(!this.onParseError)return;const f=(l=u.location)!==null&&l!==void 0?l:W4,h={code:n,startLine:f.startLine,startCol:f.startCol,startOffset:f.startOffset,endLine:r?f.startLine:f.endLine,endCol:r?f.startCol:f.endCol,endOffset:r?f.startOffset:f.endOffset};this.onParseError(h)}onItemPush(u,n,r){var l,f;(f=(l=this.treeAdapter).onItemPush)===null||f===void 0||f.call(l,u),r&&this.openElements.stackTop>0&&this._setContextModes(u,n)}onItemPop(u,n){var r,l;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(u,this.currentToken),(l=(r=this.treeAdapter).onItemPop)===null||l===void 0||l.call(r,u,this.openElements.current),n){let f,h;this.openElements.stackTop===0&&this.fragmentContext?(f=this.fragmentContext,h=this.fragmentContextID):{current:f,currentTagId:h}=this.openElements,this._setContextModes(f,h)}}_setContextModes(u,n){const r=u===this.document||u&&this.treeAdapter.getNamespaceURI(u)===W.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&u!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,u)}_switchToTextParsing(u,n){this._insertElement(u,W.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=S.TEXT}switchToPlaintextParsing(){this.insertionMode=S.TEXT,this.originalInsertionMode=S.IN_BODY,this.tokenizer.state=au.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let u=this.fragmentContext;for(;u;){if(this.treeAdapter.getTagName(u)===M.FORM){this.formElement=u;break}u=this.treeAdapter.getParentNode(u)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==W.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=au.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=au.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=au.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=au.PLAINTEXT;break}}}_setDocumentType(u){const n=u.name||"",r=u.publicId||"",l=u.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,l),u.location){const h=this.treeAdapter.getChildNodes(this.document).find(D=>this.treeAdapter.isDocumentTypeNode(D));h&&this.treeAdapter.setNodeSourceCodeLocation(h,u.location)}}_attachElementToTree(u,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(u,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(u);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,u)}}_appendElement(u,n){const r=this.treeAdapter.createElement(u.tagName,n,u.attrs);this._attachElementToTree(r,u.location)}_insertElement(u,n){const r=this.treeAdapter.createElement(u.tagName,n,u.attrs);this._attachElementToTree(r,u.location),this.openElements.push(r,u.tagID)}_insertFakeElement(u,n){const r=this.treeAdapter.createElement(u,W.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(u){const n=this.treeAdapter.createElement(u.tagName,W.HTML,u.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,u.location),this.openElements.push(n,u.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const u=this.treeAdapter.createElement(M.HTML,W.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,null),this.treeAdapter.appendChild(this.openElements.current,u),this.openElements.push(u,d.HTML)}_appendCommentNode(u,n){const r=this.treeAdapter.createCommentNode(u.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,u.location)}_insertCharacters(u){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,u.chars,r):this.treeAdapter.insertText(n,u.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,u.chars)),!u.location)return;const l=this.treeAdapter.getChildNodes(n),f=r?l.lastIndexOf(r):l.length,h=l[f-1];if(this.treeAdapter.getNodeSourceCodeLocation(h)){const{endLine:E,endCol:p,endOffset:b}=u.location;this.treeAdapter.updateNodeSourceCodeLocation(h,{endLine:E,endCol:p,endOffset:b})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(h,u.location)}_adoptNodes(u,n){for(let r=this.treeAdapter.getFirstChild(u);r;r=this.treeAdapter.getFirstChild(u))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(u,n){if(this.treeAdapter.getNodeSourceCodeLocation(u)&&n.location){const r=n.location,l=this.treeAdapter.getTagName(u),f=n.type===ze.END_TAG&&l===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(u,f)}}shouldProcessStartTagTokenInForeignContent(u){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,u.tagID===d.SVG&&this.treeAdapter.getTagName(n)===M.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===W.MATHML?!1:this.tokenizer.inForeignNode||(u.tagID===d.MGLYPH||u.tagID===d.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,W.HTML)}_processToken(u){switch(u.type){case ze.CHARACTER:{this.onCharacter(u);break}case ze.NULL_CHARACTER:{this.onNullCharacter(u);break}case ze.COMMENT:{this.onComment(u);break}case ze.DOCTYPE:{this.onDoctype(u);break}case ze.START_TAG:{this._processStartTag(u);break}case ze.END_TAG:{this.onEndTag(u);break}case ze.EOF:{this.onEof(u);break}case ze.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(u);break}}}_isIntegrationPoint(u,n,r){const l=this.treeAdapter.getNamespaceURI(n),f=this.treeAdapter.getAttrList(n);return X4(u,l,f,r)}_reconstructActiveFormattingElements(){const u=this.activeFormattingElements.entries.length;if(u){const n=this.activeFormattingElements.entries.findIndex(l=>l.type===Zu.Marker||this.openElements.contains(l.element)),r=n===-1?u-1:n-1;for(let l=r;l>=0;l--){const f=this.activeFormattingElements.entries[l];this._insertElement(f.token,this.treeAdapter.getNamespaceURI(f.element)),f.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=S.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let u=this.openElements.stackTop;u>=0;u--)switch(u===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[u]){case d.TR:{this.insertionMode=S.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=S.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=S.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=S.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=S.IN_TABLE;return}case d.BODY:{this.insertionMode=S.IN_BODY;return}case d.FRAMESET:{this.insertionMode=S.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(u);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?S.AFTER_HEAD:S.BEFORE_HEAD;return}case d.TD:case d.TH:{if(u>0){this.insertionMode=S.IN_CELL;return}break}case d.HEAD:{if(u>0){this.insertionMode=S.IN_HEAD;return}break}}this.insertionMode=S.IN_BODY}_resetInsertionModeForSelect(u){if(u>0)for(let n=u-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===d.TEMPLATE)break;if(r===d.TABLE){this.insertionMode=S.IN_SELECT_IN_TABLE;return}}this.insertionMode=S.IN_SELECT}_isElementCausesFosterParenting(u){return T3.has(u)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let u=this.openElements.stackTop;u>=0;u--){const n=this.openElements.items[u];switch(this.openElements.tagIDs[u]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===W.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case d.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[u-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(u){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,u,n.beforeElement):this.treeAdapter.appendChild(n.parent,u)}_isSpecialElement(u,n){const r=this.treeAdapter.getNamespaceURI(u);return D4[r].has(n)}onCharacter(u){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){R5(this,u);return}switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{Rs(this,u);break}case S.BEFORE_HEAD:{Os(this,u);break}case S.IN_HEAD:{Fs(this,u);break}case S.IN_HEAD_NO_SCRIPT:{xs(this,u);break}case S.AFTER_HEAD:{Ls(this,u);break}case S.IN_BODY:case S.IN_CAPTION:case S.IN_CELL:case S.IN_TEMPLATE:{v3(this,u);break}case S.TEXT:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:{this._insertCharacters(u);break}case S.IN_TABLE:case S.IN_TABLE_BODY:case S.IN_ROW:{xd(this,u);break}case S.IN_TABLE_TEXT:{O3(this,u);break}case S.IN_COLUMN_GROUP:{ao(this,u);break}case S.AFTER_BODY:{no(this,u);break}case S.AFTER_AFTER_BODY:{Uc(this,u);break}}}onNullCharacter(u){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){N5(this,u);return}switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{Rs(this,u);break}case S.BEFORE_HEAD:{Os(this,u);break}case S.IN_HEAD:{Fs(this,u);break}case S.IN_HEAD_NO_SCRIPT:{xs(this,u);break}case S.AFTER_HEAD:{Ls(this,u);break}case S.TEXT:{this._insertCharacters(u);break}case S.IN_TABLE:case S.IN_TABLE_BODY:case S.IN_ROW:{xd(this,u);break}case S.IN_COLUMN_GROUP:{ao(this,u);break}case S.AFTER_BODY:{no(this,u);break}case S.AFTER_AFTER_BODY:{Uc(this,u);break}}}onComment(u){if(this.skipNextNewLine=!1,this.currentNotInHTML){mh(this,u);return}switch(this.insertionMode){case S.INITIAL:case S.BEFORE_HTML:case S.BEFORE_HEAD:case S.IN_HEAD:case S.IN_HEAD_NO_SCRIPT:case S.AFTER_HEAD:case S.IN_BODY:case S.IN_TABLE:case S.IN_CAPTION:case S.IN_COLUMN_GROUP:case S.IN_TABLE_BODY:case S.IN_ROW:case S.IN_CELL:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:case S.IN_TEMPLATE:case S.IN_FRAMESET:case S.AFTER_FRAMESET:{mh(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.AFTER_BODY:{iN(this,u);break}case S.AFTER_AFTER_BODY:case S.AFTER_AFTER_FRAMESET:{rN(this,u);break}}}onDoctype(u){switch(this.skipNextNewLine=!1,this.insertionMode){case S.INITIAL:{sN(this,u);break}case S.BEFORE_HEAD:case S.IN_HEAD:case S.IN_HEAD_NO_SCRIPT:case S.AFTER_HEAD:{this._err(u,z.misplacedDoctype);break}case S.IN_TABLE_TEXT:{As(this,u);break}}}onStartTag(u){this.skipNextNewLine=!1,this.currentToken=u,this._processStartTag(u),u.selfClosing&&!u.ackSelfClosing&&this._err(u,z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(u){this.shouldProcessStartTagTokenInForeignContent(u)?O5(this,u):this._startTagOutsideForeignContent(u)}_startTagOutsideForeignContent(u){switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{lN(this,u);break}case S.BEFORE_HEAD:{oN(this,u);break}case S.IN_HEAD:{Yu(this,u);break}case S.IN_HEAD_NO_SCRIPT:{hN(this,u);break}case S.AFTER_HEAD:{EN(this,u);break}case S.IN_BODY:{zt(this,u);break}case S.IN_TABLE:{zi(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.IN_CAPTION:{f5(this,u);break}case S.IN_COLUMN_GROUP:{e1(this,u);break}case S.IN_TABLE_BODY:{yo(this,u);break}case S.IN_ROW:{So(this,u);break}case S.IN_CELL:{m5(this,u);break}case S.IN_SELECT:{L3(this,u);break}case S.IN_SELECT_IN_TABLE:{D5(this,u);break}case S.IN_TEMPLATE:{g5(this,u);break}case S.AFTER_BODY:{T5(this,u);break}case S.IN_FRAMESET:{_5(this,u);break}case S.AFTER_FRAMESET:{v5(this,u);break}case S.AFTER_AFTER_BODY:{y5(this,u);break}case S.AFTER_AFTER_FRAMESET:{S5(this,u);break}}}onEndTag(u){this.skipNextNewLine=!1,this.currentToken=u,this.currentNotInHTML?F5(this,u):this._endTagOutsideForeignContent(u)}_endTagOutsideForeignContent(u){switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{cN(this,u);break}case S.BEFORE_HEAD:{fN(this,u);break}case S.IN_HEAD:{dN(this,u);break}case S.IN_HEAD_NO_SCRIPT:{mN(this,u);break}case S.AFTER_HEAD:{DN(this,u);break}case S.IN_BODY:{Co(this,u);break}case S.TEXT:{t5(this,u);break}case S.IN_TABLE:{js(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.IN_CAPTION:{d5(this,u);break}case S.IN_COLUMN_GROUP:{h5(this,u);break}case S.IN_TABLE_BODY:{Eh(this,u);break}case S.IN_ROW:{x3(this,u);break}case S.IN_CELL:{E5(this,u);break}case S.IN_SELECT:{B3(this,u);break}case S.IN_SELECT_IN_TABLE:{p5(this,u);break}case S.IN_TEMPLATE:{b5(this,u);break}case S.AFTER_BODY:{I3(this,u);break}case S.IN_FRAMESET:{A5(this,u);break}case S.AFTER_FRAMESET:{C5(this,u);break}case S.AFTER_AFTER_BODY:{Uc(this,u);break}}}onEof(u){switch(this.insertionMode){case S.INITIAL:{_s(this,u);break}case S.BEFORE_HTML:{Rs(this,u);break}case S.BEFORE_HEAD:{Os(this,u);break}case S.IN_HEAD:{Fs(this,u);break}case S.IN_HEAD_NO_SCRIPT:{xs(this,u);break}case S.AFTER_HEAD:{Ls(this,u);break}case S.IN_BODY:case S.IN_TABLE:case S.IN_CAPTION:case S.IN_COLUMN_GROUP:case S.IN_TABLE_BODY:case S.IN_ROW:case S.IN_CELL:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:{N3(this,u);break}case S.TEXT:{u5(this,u);break}case S.IN_TABLE_TEXT:{As(this,u);break}case S.IN_TEMPLATE:{M3(this,u);break}case S.AFTER_BODY:case S.IN_FRAMESET:case S.AFTER_FRAMESET:case S.AFTER_AFTER_BODY:case S.AFTER_AFTER_FRAMESET:{Jh(this,u);break}}}onWhitespaceCharacter(u){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,u.chars.charCodeAt(0)===_.LINE_FEED)){if(u.chars.length===1)return;u.chars=u.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(u);return}switch(this.insertionMode){case S.IN_HEAD:case S.IN_HEAD_NO_SCRIPT:case S.AFTER_HEAD:case S.TEXT:case S.IN_COLUMN_GROUP:case S.IN_SELECT:case S.IN_SELECT_IN_TABLE:case S.IN_FRAMESET:case S.AFTER_FRAMESET:{this._insertCharacters(u);break}case S.IN_BODY:case S.IN_CAPTION:case S.IN_CELL:case S.IN_TEMPLATE:case S.AFTER_BODY:case S.AFTER_AFTER_BODY:case S.AFTER_AFTER_FRAMESET:{A3(this,u);break}case S.IN_TABLE:case S.IN_TABLE_BODY:case S.IN_ROW:{xd(this,u);break}case S.IN_TABLE_TEXT:{R3(this,u);break}}}}function J4(e,u){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(u.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(u.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):S3(e,u),n}function eN(e,u){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const l=e.openElements.items[r];if(l===u.element)break;e._isSpecialElement(l,e.openElements.tagIDs[r])&&(n=l)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(u)),n}function tN(e,u,n){let r=u,l=e.openElements.getCommonAncestor(u);for(let f=0,h=l;h!==n;f++,h=l){l=e.openElements.getCommonAncestor(h);const D=e.activeFormattingElements.getElementEntry(h),E=D&&f>=$4;!D||E?(E&&e.activeFormattingElements.removeEntry(D),e.openElements.remove(h)):(h=uN(e,D),r===u&&(e.activeFormattingElements.bookmark=D),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(h,r),r=h)}return r}function uN(e,u){const n=e.treeAdapter.getNamespaceURI(u.element),r=e.treeAdapter.createElement(u.token.tagName,n,u.token.attrs);return e.openElements.replace(u.element,r),u.element=r,r}function aN(e,u,n){const r=e.treeAdapter.getTagName(u),l=Ao(r);if(e._isElementCausesFosterParenting(l))e._fosterParentElement(n);else{const f=e.treeAdapter.getNamespaceURI(u);l===d.TEMPLATE&&f===W.HTML&&(u=e.treeAdapter.getTemplateContent(u)),e.treeAdapter.appendChild(u,n)}}function nN(e,u,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:l}=n,f=e.treeAdapter.createElement(l.tagName,r,l.attrs);e._adoptNodes(u,f),e.treeAdapter.appendChild(u,f),e.activeFormattingElements.insertElementAfterBookmark(f,l),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(u,f,l.tagID)}function Wh(e,u){for(let n=0;n<Z4;n++){const r=J4(e,u);if(!r)break;const l=eN(e,r);if(!l)break;e.activeFormattingElements.bookmark=r;const f=tN(e,l,r.element),h=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(f),h&&aN(e,h,f),nN(e,l,r)}}function mh(e,u){e._appendCommentNode(u,e.openElements.currentTmplContentOrNode)}function iN(e,u){e._appendCommentNode(u,e.openElements.items[0])}function rN(e,u){e._appendCommentNode(u,e.document)}function Jh(e,u){if(e.stopped=!0,u.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],u);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],l=e.treeAdapter.getNodeSourceCodeLocation(r);if(l&&!l.endTag&&(e._setEndLocation(r,u),e.openElements.stackTop>=1)){const f=e.openElements.items[1],h=e.treeAdapter.getNodeSourceCodeLocation(f);h&&!h.endTag&&e._setEndLocation(f,u)}}}}function sN(e,u){e._setDocumentType(u);const n=u.forceQuirks?Tu.QUIRKS:U4(u);w4(u)||e._err(u,z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=S.BEFORE_HTML}function _s(e,u){e._err(u,z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Tu.QUIRKS),e.insertionMode=S.BEFORE_HTML,e._processToken(u)}function lN(e,u){u.tagID===d.HTML?(e._insertElement(u,W.HTML),e.insertionMode=S.BEFORE_HEAD):Rs(e,u)}function cN(e,u){const n=u.tagID;(n===d.HTML||n===d.HEAD||n===d.BODY||n===d.BR)&&Rs(e,u)}function Rs(e,u){e._insertFakeRootElement(),e.insertionMode=S.BEFORE_HEAD,e._processToken(u)}function oN(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.HEAD:{e._insertElement(u,W.HTML),e.headElement=e.openElements.current,e.insertionMode=S.IN_HEAD;break}default:Os(e,u)}}function fN(e,u){const n=u.tagID;n===d.HEAD||n===d.BODY||n===d.HTML||n===d.BR?Os(e,u):e._err(u,z.endTagWithoutMatchingOpenElement)}function Os(e,u){e._insertFakeElement(M.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=S.IN_HEAD,e._processToken(u)}function Yu(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(u,au.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(u,au.RAWTEXT):(e._insertElement(u,W.HTML),e.insertionMode=S.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(u,au.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(u,au.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(u),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=S.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(S.IN_TEMPLATE);break}case d.HEAD:{e._err(u,z.misplacedStartTagForHeadElement);break}default:Fs(e,u)}}function dN(e,u){switch(u.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=S.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{Fs(e,u);break}case d.TEMPLATE:{Un(e,u);break}default:e._err(u,z.endTagWithoutMatchingOpenElement)}}function Un(e,u){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(u,z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(u,z.endTagWithoutMatchingOpenElement)}function Fs(e,u){e.openElements.pop(),e.insertionMode=S.AFTER_HEAD,e._processToken(u)}function hN(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{Yu(e,u);break}case d.NOSCRIPT:{e._err(u,z.nestedNoscriptInHead);break}default:xs(e,u)}}function mN(e,u){switch(u.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=S.IN_HEAD;break}case d.BR:{xs(e,u);break}default:e._err(u,z.endTagWithoutMatchingOpenElement)}}function xs(e,u){const n=u.type===ze.EOF?z.openElementsLeftAfterEof:z.disallowedContentInNoscriptInHead;e._err(u,n),e.openElements.pop(),e.insertionMode=S.IN_HEAD,e._processToken(u)}function EN(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.BODY:{e._insertElement(u,W.HTML),e.framesetOk=!1,e.insertionMode=S.IN_BODY;break}case d.FRAMESET:{e._insertElement(u,W.HTML),e.insertionMode=S.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(u,z.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),Yu(e,u),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(u,z.misplacedStartTagForHeadElement);break}default:Ls(e,u)}}function DN(e,u){switch(u.tagID){case d.BODY:case d.HTML:case d.BR:{Ls(e,u);break}case d.TEMPLATE:{Un(e,u);break}default:e._err(u,z.endTagWithoutMatchingOpenElement)}}function Ls(e,u){e._insertFakeElement(M.BODY,d.BODY),e.insertionMode=S.IN_BODY,vo(e,u)}function vo(e,u){switch(u.type){case ze.CHARACTER:{v3(e,u);break}case ze.WHITESPACE_CHARACTER:{A3(e,u);break}case ze.COMMENT:{mh(e,u);break}case ze.START_TAG:{zt(e,u);break}case ze.END_TAG:{Co(e,u);break}case ze.EOF:{N3(e,u);break}}}function A3(e,u){e._reconstructActiveFormattingElements(),e._insertCharacters(u)}function v3(e,u){e._reconstructActiveFormattingElements(),e._insertCharacters(u),e.framesetOk=!1}function pN(e,u){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],u.attrs)}function gN(e,u){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,u.attrs))}function bN(e,u){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_FRAMESET)}function TN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML)}function _N(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&hh.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(u,W.HTML)}function AN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function vN(e,u){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),n||(e.formElement=e.openElements.current))}function CN(e,u){e.framesetOk=!1;const n=u.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const l=e.openElements.tagIDs[r];if(n===d.LI&&l===d.LI||(n===d.DD||n===d.DT)&&(l===d.DD||l===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(l),e.openElements.popUntilTagNamePopped(l);break}if(l!==d.ADDRESS&&l!==d.DIV&&l!==d.P&&e._isSpecialElement(e.openElements.items[r],l))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML)}function yN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),e.tokenizer.state=au.PLAINTEXT}function SN(e,u){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.framesetOk=!1}function NN(e,u){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(M.A);n&&(Wh(e,u),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,u)}function RN(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,u)}function ON(e,u){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Wh(e,u),e._reconstructActiveFormattingElements()),e._insertElement(u,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,u)}function FN(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function xN(e,u){e.treeAdapter.getDocumentMode(e.document)!==Tu.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(u,W.HTML),e.framesetOk=!1,e.insertionMode=S.IN_TABLE}function C3(e,u){e._reconstructActiveFormattingElements(),e._appendElement(u,W.HTML),e.framesetOk=!1,u.ackSelfClosing=!0}function y3(e){const u=d3(e,Mn.TYPE);return u!=null&&u.toLowerCase()===K4}function LN(e,u){e._reconstructActiveFormattingElements(),e._appendElement(u,W.HTML),y3(u)||(e.framesetOk=!1),u.ackSelfClosing=!0}function BN(e,u){e._appendElement(u,W.HTML),u.ackSelfClosing=!0}function MN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(u,W.HTML),e.framesetOk=!1,u.ackSelfClosing=!0}function IN(e,u){u.tagName=M.IMG,u.tagID=d.IMG,C3(e,u)}function wN(e,u){e._insertElement(u,W.HTML),e.skipNextNewLine=!0,e.tokenizer.state=au.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=S.TEXT}function UN(e,u){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(u,au.RAWTEXT)}function PN(e,u){e.framesetOk=!1,e._switchToTextParsing(u,au.RAWTEXT)}function Db(e,u){e._switchToTextParsing(u,au.RAWTEXT)}function HN(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===S.IN_TABLE||e.insertionMode===S.IN_CAPTION||e.insertionMode===S.IN_TABLE_BODY||e.insertionMode===S.IN_ROW||e.insertionMode===S.IN_CELL?S.IN_SELECT_IN_TABLE:S.IN_SELECT}function kN(e,u){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML)}function jN(e,u){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(u,W.HTML)}function zN(e,u){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(u,W.HTML)}function qN(e,u){e._reconstructActiveFormattingElements(),g3(u),$h(u),u.selfClosing?e._appendElement(u,W.MATHML):e._insertElement(u,W.MATHML),u.ackSelfClosing=!0}function YN(e,u){e._reconstructActiveFormattingElements(),b3(u),$h(u),u.selfClosing?e._appendElement(u,W.SVG):e._insertElement(u,W.SVG),u.ackSelfClosing=!0}function pb(e,u){e._reconstructActiveFormattingElements(),e._insertElement(u,W.HTML)}function zt(e,u){switch(u.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{RN(e,u);break}case d.A:{NN(e,u);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{_N(e,u);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{TN(e,u);break}case d.LI:case d.DD:case d.DT:{CN(e,u);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{C3(e,u);break}case d.HR:{MN(e,u);break}case d.RB:case d.RTC:{jN(e,u);break}case d.RT:case d.RP:{zN(e,u);break}case d.PRE:case d.LISTING:{AN(e,u);break}case d.XMP:{UN(e,u);break}case d.SVG:{YN(e,u);break}case d.HTML:{pN(e,u);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{Yu(e,u);break}case d.BODY:{gN(e,u);break}case d.FORM:{vN(e,u);break}case d.NOBR:{ON(e,u);break}case d.MATH:{qN(e,u);break}case d.TABLE:{xN(e,u);break}case d.INPUT:{LN(e,u);break}case d.PARAM:case d.TRACK:case d.SOURCE:{BN(e,u);break}case d.IMAGE:{IN(e,u);break}case d.BUTTON:{SN(e,u);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{FN(e,u);break}case d.IFRAME:{PN(e,u);break}case d.SELECT:{HN(e,u);break}case d.OPTION:case d.OPTGROUP:{kN(e,u);break}case d.NOEMBED:case d.NOFRAMES:{Db(e,u);break}case d.FRAMESET:{bN(e,u);break}case d.TEXTAREA:{wN(e,u);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Db(e,u):pb(e,u);break}case d.PLAINTEXT:{yN(e,u);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:pb(e,u)}}function GN(e,u){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=S.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,u)}}function VN(e,u){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=S.AFTER_BODY,I3(e,u))}function QN(e,u){const n=u.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function XN(e){const u=e.openElements.tmplCount>0,{formElement:n}=e;u||(e.formElement=null),(n||u)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),u?e.openElements.popUntilTagNamePopped(d.FORM):n&&e.openElements.remove(n))}function KN(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(M.P,d.P),e._closePElement()}function ZN(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function $N(e,u){const n=u.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function WN(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function JN(e,u){const n=u.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function e5(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(M.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function S3(e,u){const n=u.tagName,r=u.tagID;for(let l=e.openElements.stackTop;l>0;l--){const f=e.openElements.items[l],h=e.openElements.tagIDs[l];if(r===h&&(r!==d.UNKNOWN||e.treeAdapter.getTagName(f)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=l&&e.openElements.shortenToLength(l);break}if(e._isSpecialElement(f,h))break}}function Co(e,u){switch(u.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Wh(e,u);break}case d.P:{KN(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{QN(e,u);break}case d.LI:{ZN(e);break}case d.DD:case d.DT:{$N(e,u);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{WN(e);break}case d.BR:{e5(e);break}case d.BODY:{GN(e,u);break}case d.HTML:{VN(e,u);break}case d.FORM:{XN(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{JN(e,u);break}case d.TEMPLATE:{Un(e,u);break}default:S3(e,u)}}function N3(e,u){e.tmplInsertionModeStack.length>0?M3(e,u):Jh(e,u)}function t5(e,u){var n;u.tagID===d.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function u5(e,u){e._err(u,z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(u)}function xd(e,u){if(e.openElements.currentTagId!==void 0&&T3.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=S.IN_TABLE_TEXT,u.type){case ze.CHARACTER:{O3(e,u);break}case ze.WHITESPACE_CHARACTER:{R3(e,u);break}}else Js(e,u)}function a5(e,u){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_CAPTION}function n5(e,u){e.openElements.clearBackToTableContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_COLUMN_GROUP}function i5(e,u){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.COLGROUP,d.COLGROUP),e.insertionMode=S.IN_COLUMN_GROUP,e1(e,u)}function r5(e,u){e.openElements.clearBackToTableContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_TABLE_BODY}function s5(e,u){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.TBODY,d.TBODY),e.insertionMode=S.IN_TABLE_BODY,yo(e,u)}function l5(e,u){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(u))}function c5(e,u){y3(u)?e._appendElement(u,W.HTML):Js(e,u),u.ackSelfClosing=!0}function o5(e,u){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(u,W.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function zi(e,u){switch(u.tagID){case d.TD:case d.TH:case d.TR:{s5(e,u);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{Yu(e,u);break}case d.COL:{i5(e,u);break}case d.FORM:{o5(e,u);break}case d.TABLE:{l5(e,u);break}case d.TBODY:case d.TFOOT:case d.THEAD:{r5(e,u);break}case d.INPUT:{c5(e,u);break}case d.CAPTION:{a5(e,u);break}case d.COLGROUP:{n5(e,u);break}default:Js(e,u)}}function js(e,u){switch(u.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Un(e,u);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Js(e,u)}}function Js(e,u){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,vo(e,u),e.fosterParentingEnabled=n}function R3(e,u){e.pendingCharacterTokens.push(u)}function O3(e,u){e.pendingCharacterTokens.push(u),e.hasNonWhitespacePendingCharacterToken=!0}function As(e,u){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Js(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(u)}const F3=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function f5(e,u){const n=u.tagID;F3.has(n)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=S.IN_TABLE,zi(e,u)):zt(e,u)}function d5(e,u){const n=u.tagID;switch(n){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=S.IN_TABLE,n===d.TABLE&&js(e,u));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Co(e,u)}}function e1(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.COL:{e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.TEMPLATE:{Yu(e,u);break}default:ao(e,u)}}function h5(e,u){switch(u.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=S.IN_TABLE);break}case d.TEMPLATE:{Un(e,u);break}case d.COL:break;default:ao(e,u)}}function ao(e,u){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=S.IN_TABLE,e._processToken(u))}function yo(e,u){switch(u.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(M.TR,d.TR),e.insertionMode=S.IN_ROW,So(e,u);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE,zi(e,u));break}default:zi(e,u)}}function Eh(e,u){const n=u.tagID;switch(u.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE,js(e,u));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:js(e,u)}}function So(e,u){switch(u.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(u,W.HTML),e.insertionMode=S.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY,yo(e,u));break}default:zi(e,u)}}function x3(e,u){switch(u.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY,Eh(e,u));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(u.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=S.IN_TABLE_BODY,Eh(e,u));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:js(e,u)}}function m5(e,u){const n=u.tagID;F3.has(n)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),So(e,u)):zt(e,u)}function E5(e,u){const n=u.tagID;switch(n){case d.TD:case d.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=S.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),x3(e,u));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:Co(e,u)}}function L3(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(u,W.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(u,W.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),u.tagID!==d.SELECT&&e._processStartTag(u));break}case d.SCRIPT:case d.TEMPLATE:{Yu(e,u);break}}}function B3(e,u){switch(u.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Un(e,u);break}}}function D5(e,u){const n=u.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(u)):L3(e,u)}function p5(e,u){const n=u.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(u)):B3(e,u)}function g5(e,u){switch(u.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{Yu(e,u);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=S.IN_TABLE,e.insertionMode=S.IN_TABLE,zi(e,u);break}case d.COL:{e.tmplInsertionModeStack[0]=S.IN_COLUMN_GROUP,e.insertionMode=S.IN_COLUMN_GROUP,e1(e,u);break}case d.TR:{e.tmplInsertionModeStack[0]=S.IN_TABLE_BODY,e.insertionMode=S.IN_TABLE_BODY,yo(e,u);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=S.IN_ROW,e.insertionMode=S.IN_ROW,So(e,u);break}default:e.tmplInsertionModeStack[0]=S.IN_BODY,e.insertionMode=S.IN_BODY,zt(e,u)}}function b5(e,u){u.tagID===d.TEMPLATE&&Un(e,u)}function M3(e,u){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(u)):Jh(e,u)}function T5(e,u){u.tagID===d.HTML?zt(e,u):no(e,u)}function I3(e,u){var n;if(u.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=S.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],u);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,u)}}else no(e,u)}function no(e,u){e.insertionMode=S.IN_BODY,vo(e,u)}function _5(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.FRAMESET:{e._insertElement(u,W.HTML);break}case d.FRAME:{e._appendElement(u,W.HTML),u.ackSelfClosing=!0;break}case d.NOFRAMES:{Yu(e,u);break}}}function A5(e,u){u.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=S.AFTER_FRAMESET))}function v5(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.NOFRAMES:{Yu(e,u);break}}}function C5(e,u){u.tagID===d.HTML&&(e.insertionMode=S.AFTER_AFTER_FRAMESET)}function y5(e,u){u.tagID===d.HTML?zt(e,u):Uc(e,u)}function Uc(e,u){e.insertionMode=S.IN_BODY,vo(e,u)}function S5(e,u){switch(u.tagID){case d.HTML:{zt(e,u);break}case d.NOFRAMES:{Yu(e,u);break}}}function N5(e,u){u.chars=ct,e._insertCharacters(u)}function R5(e,u){e._insertCharacters(u),e.framesetOk=!1}function w3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==W.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function O5(e,u){if(Y4(u))w3(e),e._startTagOutsideForeignContent(u);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===W.MATHML?g3(u):r===W.SVG&&(G4(u),b3(u)),$h(u),u.selfClosing?e._appendElement(u,r):e._insertElement(u,r),u.ackSelfClosing=!0}}function F5(e,u){if(u.tagID===d.P||u.tagID===d.BR){w3(e),e._endTagOutsideForeignContent(u);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===W.HTML){e._endTagOutsideForeignContent(u);break}const l=e.treeAdapter.getTagName(r);if(l.toLowerCase()===u.tagName){u.tagName=l,e.openElements.shortenToLength(n);break}}}function U3(e,u){return function(r){let l,f=0,h="";for(;l=e.exec(r);)f!==l.index&&(h+=r.substring(f,l.index)),h+=u.get(l[0].charCodeAt(0)),f=l.index+1;return h+r.substring(f)}}const x5=U3(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),L5=U3(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),B5=new Set([M.AREA,M.BASE,M.BASEFONT,M.BGSOUND,M.BR,M.COL,M.EMBED,M.FRAME,M.HR,M.IMG,M.INPUT,M.KEYGEN,M.LINK,M.META,M.PARAM,M.SOURCE,M.TRACK,M.WBR]);function M5(e,u){return u.treeAdapter.isElementNode(e)&&u.treeAdapter.getNamespaceURI(e)===W.HTML&&B5.has(u.treeAdapter.getTagName(e))}const I5={treeAdapter:Ta,scriptingEnabled:!0};function w5(e,u){const n={...I5,...u};return P3(e,n)}function U5(e,u){let n="";const r=u.treeAdapter.isElementNode(e)&&u.treeAdapter.getTagName(e)===M.TEMPLATE&&u.treeAdapter.getNamespaceURI(e)===W.HTML?u.treeAdapter.getTemplateContent(e):e,l=u.treeAdapter.getChildNodes(r);if(l)for(const f of l)n+=P3(f,u);return n}function P3(e,u){return u.treeAdapter.isElementNode(e)?P5(e,u):u.treeAdapter.isTextNode(e)?k5(e,u):u.treeAdapter.isCommentNode(e)?j5(e,u):u.treeAdapter.isDocumentTypeNode(e)?z5(e,u):""}function P5(e,u){const n=u.treeAdapter.getTagName(e);return`<${n}${H5(e,u)}>${M5(e,u)?"":`${U5(e,u)}</${n}>`}`}function H5(e,{treeAdapter:u}){let n="";for(const r of u.getAttrList(e)){if(n+=" ",r.namespace)switch(r.namespace){case W.XML:{n+=`xml:${r.name}`;break}case W.XMLNS:{r.name!=="xmlns"&&(n+="xmlns:"),n+=r.name;break}case W.XLINK:{n+=`xlink:${r.name}`;break}default:n+=`${r.prefix}:${r.name}`}else n+=r.name;n+=`="${x5(r.value)}"`}return n}function k5(e,u){const{treeAdapter:n}=u,r=n.getTextNodeContent(e),l=n.getParentNode(e),f=l&&n.isElementNode(l)&&n.getTagName(l);return f&&n.getNamespaceURI(l)===W.HTML&&g4(f,u.scriptingEnabled)?r:L5(r)}function j5(e,{treeAdapter:u}){return`<!--${u.getCommentNodeContent(e)}-->`}function z5(e,{treeAdapter:u}){return`<!DOCTYPE ${u.getDocumentTypeNodeName(e)}>`}function q5(e,u){return _3.parse(e,u)}function Y5(e,u,n){typeof e=="string"&&(n=u,u=e,e=null);const r=_3.getFragmentParser(e,n);return r.tokenizer.write(u,!0),r.getFragment()}function gb(e){const u=e.includes('"')?"'":'"';return u+e+u}function G5(e,u,n){let r="!DOCTYPE ";return e&&(r+=e),u?r+=` PUBLIC ${gb(u)}`:n&&(r+=" SYSTEM"),n&&(r+=` ${gb(n)}`),r}const en={isCommentNode:Xs,isElementNode:me,isTextNode:Iu,createDocument(){const e=new In([]);return e["x-mode"]=Tu.NO_QUIRKS,e},createDocumentFragment(){return new In([])},createElement(e,u,n){const r=Object.create(null),l=Object.create(null),f=Object.create(null);for(let D=0;D<n.length;D++){const E=n[D].name;r[E]=n[D].value,l[E]=n[D].namespace,f[E]=n[D].prefix}const h=new Hh(e,r,[]);return h.namespace=u,h["x-attribsNamespace"]=l,h["x-attribsPrefix"]=f,h},createCommentNode(e){return new wh(e)},createTextNode(e){return new ws(e)},appendChild(e,u){const n=e.children[e.children.length-1];n&&(n.next=u,u.prev=n),e.children.push(u),u.parent=e},insertBefore(e,u,n){const r=e.children.indexOf(n),{prev:l}=n;l&&(l.next=u,u.prev=l),n.prev=u,u.next=n,e.children.splice(r,0,u),u.parent=e},setTemplateContent(e,u){en.appendChild(e,u)},getTemplateContent(e){return e.children[0]},setDocumentType(e,u,n,r){const l=G5(u,n,r);let f=e.children.find(h=>uh(h)&&h.name==="!doctype");f?f.data=l??null:(f=new Uh("!doctype",l),en.appendChild(e,f)),f["x-name"]=u,f["x-publicId"]=n,f["x-systemId"]=r},setDocumentMode(e,u){e["x-mode"]=u},getDocumentMode(e){return e["x-mode"]},detachNode(e){if(e.parent){const u=e.parent.children.indexOf(e),{prev:n,next:r}=e;e.prev=null,e.next=null,n&&(n.next=r),r&&(r.prev=n),e.parent.children.splice(u,1),e.parent=null}},insertText(e,u){const n=e.children[e.children.length-1];n&&Iu(n)?n.data+=u:en.appendChild(e,en.createTextNode(u))},insertTextBefore(e,u,n){const r=e.children[e.children.indexOf(n)-1];r&&Iu(r)?r.data+=u:en.insertBefore(e,en.createTextNode(u),n)},adoptAttributes(e,u){for(let n=0;n<u.length;n++){const r=u[n].name;e.attribs[r]===void 0&&(e.attribs[r]=u[n].value,e["x-attribsNamespace"][r]=u[n].namespace,e["x-attribsPrefix"][r]=u[n].prefix)}},getFirstChild(e){return e.children[0]},getChildNodes(e){return e.children},getParentNode(e){return e.parent},getAttrList(e){return e.attributes},getTagName(e){return e.name},getNamespaceURI(e){return e.namespace},getTextNodeContent(e){return e.data},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){var u;return(u=e["x-name"])!==null&&u!==void 0?u:""},getDocumentTypeNodePublicId(e){var u;return(u=e["x-publicId"])!==null&&u!==void 0?u:""},getDocumentTypeNodeSystemId(e){var u;return(u=e["x-systemId"])!==null&&u!==void 0?u:""},isDocumentTypeNode(e){return uh(e)&&e.name==="!doctype"},setNodeSourceCodeLocation(e,u){u&&(e.startIndex=u.startOffset,e.endIndex=u.endOffset),e.sourceCodeLocation=u},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,u){u.endOffset!=null&&(e.endIndex=u.endOffset),e.sourceCodeLocation={...e.sourceCodeLocation,...u}}};function V5(e,u,n,r){var l;return(l=u.treeAdapter)!==null&&l!==void 0||(u.treeAdapter=en),u.scriptingEnabled!==!1&&(u.scriptingEnabled=!0),n?q5(e,u):Y5(r,e,u)}const Q5={treeAdapter:en};function X5(e){const u="length"in e?e:[e];for(let r=0;r<u.length;r+=1){const l=u[r];sn(l)&&Array.prototype.splice.call(u,r,1,...l.children)}let n="";for(let r=0;r<u.length;r+=1){const l=u[r];n+=w5(l,Q5)}return n}const K5=O8((e,u,n,r)=>u._useHtmlParser2?xy(e,u):V5(e,u,n,r)),Z5=l4(K5,(e,u)=>u._useHtmlParser2?Do(e,u):X5(e)),$5=Object.freeze(Object.defineProperty({__proto__:null,contains:kh,load:Z5,merge:R2},Symbol.toStringTag,{value:"Module"})),W5=ph($5);var Ld,bb;function J5(){if(bb)return Ld;bb=1;var e=Object.create,u=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,l=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=(j,de)=>{for(var Pe in de)u(j,Pe,{get:de[Pe],enumerable:!0})},D=(j,de,Pe,Oe)=>{if(de&&typeof de=="object"||typeof de=="function")for(let xe of r(de))!f.call(j,xe)&&xe!==Pe&&u(j,xe,{get:()=>de[xe],enumerable:!(Oe=n(de,xe))||Oe.enumerable});return j},E=(j,de,Pe)=>(Pe=j!=null?e(l(j)):{},D(!j||!j.__esModule?u(Pe,"default",{value:j,enumerable:!0}):Pe,j)),p=j=>D(u({},"__esModule",{value:!0}),j),b={};h(b,{PUBLISHED_AT_PATTERN:()=>$,isAnyText:()=>x,validateArticleType:()=>q,validateBody:()=>ke,validateBookChapterSlugs:()=>fe,validateBookChaptersFormat:()=>ge,validateBookCoverAspectRatio:()=>re,validateBookCoverSize:()=>G,validateBookPriceFraction:()=>Me,validateBookPriceRange:()=>Ae,validateBookPriceType:()=>ce,validateBookSummary:()=>ne,validateChapterFreeType:()=>nt,validateChapterItemSlug:()=>Ne,validateChapterSlug:()=>N,validateEmojiFormat:()=>ie,validateInvalidTopicLetters:()=>Se,validateItemSlug:()=>P,validateMissingBookCover:()=>O,validateMissingEmoji:()=>K,validateMissingTitle:()=>B,validateMissingTopics:()=>pe,validatePublicationName:()=>Y,validatePublishedAtParse:()=>ue,validatePublishedAtSchedule:()=>te,validatePublishedStatus:()=>H,validateSlug:()=>v,validateTitleLength:()=>Z,validateTooManyTopics:()=>be,validateTopicLength:()=>He,validateTopicType:()=>ye,validateUseTags:()=>Ve}),Ld=p(b);var T=E(BC),y=E(W5);function v(j){return j?/^[0-9a-z\-_]{12,50}$/.test(j):!1}function N(j){return j?/^[0-9a-z\-_]{1,50}$/.test(j)||/^[0-9]+.[0-9a-z\-_]{1,50}$/.test(j):!1}function x(j){return typeof j=="string"&&j.length>0}const P={type:"item-slug",isCritical:!0,getMessage:({slug:j})=>`slugの値(${j})が不正です。小文字の半角英数字(a-z0-9)、ハイフン(-)、アンダースコア(_)の12〜50字の組み合わせにしてください`,isValid:({slug:j})=>v(j)},B={type:"missing-title",isCritical:!0,getMessage:()=>"title(タイトル)を文字列で入力してください",isValid:({title:j})=>x(j)},Z={type:"title-length",isCritical:!0,getMessage:()=>"タイトルは70字以内にしてください",isValid:({title:j})=>x(j)?j.length<=70:!0},H={type:"published-status",isCritical:!0,getMessage:()=>'published(公開設定)を true か false で指定してください(クオテーション " で囲まないでください)',isValid:({published:j})=>typeof j=="boolean"},$=/^[0-9]{4}-[0-9]{2}-[0-9]{2}(\s[0-9]{2}:[0-9]{2})?$/,ue={type:"published-at-parse",isCritical:!0,getMessage:()=>"published_at(公開日時)は `YYYY-MM-DD` または `YYYY-MM-DD hh:mm` のフォーマットで指定してください",isValid:({published_at:j})=>j==null?!0:j.match($)?!isNaN(Date.parse(j.replace(" ","T"))):!1},te={type:"published-at-schedule",isCritical:!0,getMessage:()=>"published_at(公開日時)に未来の日時を指定する場合は、published(公開設定)に true を指定してください(公開日時を過ぎるとZennのサービス上で自動的に公開されます)",isValid:({published:j,published_at:de})=>j===!0||de==null||isNaN(Date.parse(de))?!0:Date.parse(de)<Date.now()},q={type:"article-type",isCritical:!0,detailUrl:"https://zenn.dev/tech-or-idea",detailUrlText:"詳細を開く",getMessage:()=>"type(記事のタイプ)に tech もしくは idea を指定してください。技術記事の場合は tech を指定してください",isValid:({type:j})=>j?j==="tech"||j==="idea":!1},K={type:"missing-emoji",detailUrl:"https://getemoji.com",detailUrlText:"絵文字を探す",getMessage:()=>"アイキャッチとなる emoji(絵文字)を指定してください",isValid:({emoji:j})=>x(j)},ie={type:"emoji-format",isCritical:!0,getMessage:()=>"絵文字(emoji)を1つだけ指定してください",isValid:({emoji:j})=>{if(!x(j))return!0;const de=(0,T.default)(),Pe=j.match(de);return!(!Pe||!Pe[0]||Pe[1])}},pe={type:"missing-topics",isCritical:!1,getMessage:()=>'topics(記事に関連する言語や技術)を配列で指定してください。例)["react", "javascript"]',isValid:({topics:j})=>Array.isArray(j)?j.length>0:!1},be={type:"too-many-topics",isCritical:!0,getMessage:()=>"topicsは最大5つまで指定できます",isValid:({topics:j})=>Array.isArray(j)?j.length<=5:!0},ye={type:"topic-type",isCritical:!0,getMessage:()=>"topicsは全て文字列で指定してください",isValid:({topics:j})=>Array.isArray(j)?j.every(de=>typeof de=="string"&&de.length>0):!0},He={type:"topic-length",isCritical:!0,getMessage:()=>"topicsは18字以内にしてください",isValid:({topics:j})=>!Array.isArray(j)||j.some(de=>typeof de!="string")?!0:j.every(de=>typeof de=="string"&&de.length<=18)},Se={type:"invalid-topic-letters",getMessage:()=>"topicsに記号やスペースを使用することはできません。例えばC++は「cpp」、C#は「csharp」と記載してください",isValid:({topics:j})=>Array.isArray(j)?!j.some(Pe=>typeof Pe=="string"&&Pe.match(/[ -/:-@[-`{-~]/g)):!0},Ve={type:"use-tags",getMessage:()=>"tagsではなくtopicsを使ってください",isValid:j=>!j.tags?.length&&!j.tag?.length},Y={type:"publication-name",isCritical:!0,getMessage:()=>"Publicationの名前が不正です。小文字の半角英数字(a-z0-9)、アンダースコア(_)の2〜15字の組み合わせにしてください",isValid:({publication_name:j})=>j?/^[0-9a-z_]{2,15}$/.test(j):!0},ne={type:"book-summary",isCritical:!0,getMessage:()=>"summary(本の説明)の記載は必須です",isValid:({summary:j})=>typeof j=="string"&&j.length>0},ce={type:"book-price-type",isCritical:!0,getMessage:()=>'price(本の価格)を半角数字で指定してください(クオテーション " で囲まないでください)',isValid:({price:j})=>typeof j=="number"},Ae={type:"book-price-range",isCritical:!0,getMessage:()=>"price(本の価格)を有料にする場合、200〜5000の間で指定してください",isValid:({price:j})=>typeof j!="number"||j===0?!0:j>=200&&j<=5e3},Me={type:"book-price-fraction",isCritical:!0,getMessage:()=>"price(本の価格)は100円単位で指定してください",isValid:({price:j})=>typeof j!="number"?!0:j%100===0},O={type:"missing-book-cover",getMessage:({slug:j})=>`本のカバー画像(cover.pngもしくはcover.jpg)を「/books/${j}」ディレクトリに配置してください`,isValid:({coverDataUrl:j})=>typeof j=="string"},G={type:"book-cover-size",isCritical:!0,getMessage:j=>`カバー画像のサイズは1MB以内にしてください。現在のサイズ: ${j.coverFilesize?`${Math.trunc(j.coverFilesize/1024)}KB`:"取得できませんでした"}`,isValid:({coverDataUrl:j,coverFilesize:de})=>typeof j!="string"?!0:typeof de=="number"&&de<=1024*1024};function ae(j,de){return!de||!j?null:Math.round(de/j*10)/10}const re={type:"book-cover-aspect-ratio",getMessage:j=>{const de=ae(j.coverWidth,j.coverHeight);return`カバー画像の「幅 : 高さ」の比率は「1 : 1.4」にすることをおすすめします(最終的に幅500px・高さ700pxにリサイズされます)。${de?`現在の比率は「1 : ${de}」です`:""}`},isValid:({coverDataUrl:j,coverHeight:de,coverWidth:Pe})=>{if(typeof j!="string")return!0;const Oe=ae(Pe,de);return typeof Oe=="number"&&Oe===1.4}},fe={type:"book-chapter-slugs",isCritical:!0,getMessage:()=>"config.yamlの chapters の指定に誤りがあります",detailUrl:"https://zenn.dev/zenn/articles/zenn-cli-guide#%F0%9F%93%84-config.yaml",isValid:({specifiedChapterSlugs:j})=>j===void 0?!0:Array.isArray(j)&&j.every(de=>typeof de=="string")},ge={type:"book-chapters-format",isCritical:!0,getMessage:()=>"chapters に指定する文字列には拡張子(.md)を含めないでください。ファイル名が example.md であれば example とのみ記載してください",detailUrl:"https://zenn.dev/zenn/articles/zenn-cli-guide#%F0%9F%93%84-config.yaml",isValid:({specifiedChapterSlugs:j})=>Array.isArray(j)?!j.some(Pe=>typeof Pe=="string"&&Pe.match(/\.md$/)):!0},Ne={type:"chapter-item-slug",isCritical:!0,getMessage:({slug:j})=>`チャプターのslugの値(${j})が不正です。小文字の半角英数字(a-z0-9)、ハイフン(-)、アンダースコア(_)の1〜50字の組み合わせにしてください`,isValid:({slug:j})=>N(j)},nt={type:"chapter-free-type",isCritical:!0,getMessage:()=>"free(無料公開設定)には true もしくは falseのみを指定してください",isValid:({free:j})=>j===void 0||typeof j=="boolean"},ke={type:"body",isCritical:!0,getMessage:()=>"記事本文にエラーがあります。本文を確認してください。",isValid:({bodyHtml:j})=>j?!y.load(j)("[data-body-error]").length:!0};return Ld}var Bd,Tb;function eR(){if(Tb)return Bd;Tb=1;var e=Object.defineProperty,u=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,l=(v,N)=>{for(var x in N)e(v,x,{get:N[x],enumerable:!0})},f=(v,N,x,P)=>{if(N&&typeof N=="object"||typeof N=="function")for(let B of n(N))!r.call(v,B)&&B!==x&&e(v,B,{get:()=>N[B],enumerable:!(P=u(N,B))||P.enumerable});return v},h=v=>f(e({},"__esModule",{value:!0}),v),D={};l(D,{validateArticle:()=>b,validateBook:()=>T,validateBookChapter:()=>y}),Bd=h(D);var E=J5();function p(v,N){return N.reduce((x,P)=>(P.isValid(v)||x.push({type:P.type,isCritical:P.isCritical===!0,message:P.getMessage(v),detailUrl:P.detailUrl,detailUrlText:P.detailUrlText}),x),[])}const b=v=>{const N=[E.validateBody,E.validateItemSlug,E.validateMissingTitle,E.validateTitleLength,E.validatePublishedStatus,E.validatePublishedAtParse,E.validatePublishedAtSchedule,E.validateArticleType,E.validateEmojiFormat,E.validateMissingEmoji,E.validateMissingTopics,E.validateUseTags,E.validateTopicLength,E.validateInvalidTopicLetters,E.validateTooManyTopics,E.validateTopicType,E.validatePublicationName];return p(v,N)},T=v=>{const N=[E.validateBody,E.validateItemSlug,E.validateMissingTitle,E.validateTitleLength,E.validatePublishedStatus,E.validateMissingTopics,E.validateUseTags,E.validateTopicLength,E.validateInvalidTopicLetters,E.validateTooManyTopics,E.validateTopicType,E.validateBookSummary,E.validateBookPriceType,E.validateBookPriceRange,E.validateBookPriceFraction,E.validateMissingBookCover,E.validateBookCoverSize,E.validateBookCoverAspectRatio,E.validateBookChapterSlugs,E.validateBookChaptersFormat];return p(v,N)},y=v=>{const N=[E.validateChapterItemSlug,E.validateMissingTitle,E.validateTitleLength,E.validateChapterFreeType];return p(v,N)};return Bd}var t1=eR();const H3=({topics:e})=>A.jsx(tR,{className:"topic-list",children:e.map((u,n)=>typeof u=="string"?A.jsx("a",{href:`https://zenn.dev/topics/${u.toLowerCase()}`,target:"_blank",rel:"noopener noreferrer",children:A.jsx("span",{className:"topic-list__item topic-list__item--valid",children:u})},`topic-${n}`):A.jsx("span",{className:"topic-list__item",children:u},`topic-${n}`))}),Md="3px",tR=at.div`
|
|
285
285
|
margin-top: -${Md};
|
|
286
286
|
.topic-list__item {
|
|
287
287
|
display: inline-flex;
|
|
@@ -368,7 +368,7 @@ Error generating stack: `+s.message+`
|
|
|
368
368
|
.validation-error__critical + .validation-error__warnings {
|
|
369
369
|
margin-top: 1.2rem;
|
|
370
370
|
}
|
|
371
|
-
`;function iR(e,u){const n=u.find(l=>l.type==="published-at-parse");if(!e)return;if(n)return"フォーマットを確認してください";const r=Date.parse(e.length===10?`${e}T00:00`:e.replace(" ","T"));return isNaN(r)?"フォーマットを確認してください":new Intl.DateTimeFormat("ja-jp",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(new Date(r))}const rR=({article:e})=>{const u=Te.useMemo(()=>t1.validateArticle(e),[e]),n=iR(e.published_at,u),r=n&&Date.parse(n)>Date.now();return A.jsx(sR,{children:A.jsxs(
|
|
371
|
+
`;function iR(e,u){const n=u.find(l=>l.type==="published-at-parse");if(!e)return;if(n)return"フォーマットを確認してください";const r=Date.parse(e.length===10?`${e}T00:00`:e.replace(" ","T"));return isNaN(r)?"フォーマットを確認してください":new Intl.DateTimeFormat("ja-jp",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(new Date(r))}const rR=({article:e})=>{const u=Te.useMemo(()=>t1.validateArticle(e),[e]),n=iR(e.published_at,u),r=n&&Date.parse(n)>Date.now();return A.jsx(sR,{children:A.jsxs(Sa,{children:[typeof e.emoji=="string"&&A.jsx("div",{className:"article-header__emoji",children:e.emoji}),A.jsx("h1",{className:"article-header__title",children:e.title||"titleを指定してください"}),A.jsxs("div",{className:"article-header__properties",children:[A.jsx(_u,{title:"slug",children:e.slug}),A.jsx(_u,{title:"published",children:typeof e.published=="boolean"?A.jsx(A.Fragment,{children:e.published?r?"true(公開予約)":"true(公開)":"false(下書き)"}):"true もしくは false を指定してください"}),n&&A.jsx(_u,{title:"published_at",children:n}),!!e.publication_name&&A.jsx(_u,{title:"publication_name",children:e.publication_name}),A.jsx(_u,{title:"type",children:e.type==="tech"?"tech(技術記事)":A.jsx(A.Fragment,{children:e.type==="idea"?"idea(アイデア)":"tech もしくは idea を指定してください"})}),A.jsx(_u,{title:"topics",children:Array.isArray(e.topics)&&e.topics.length?A.jsx(H3,{topics:e.topics}):"指定が必要です"})]}),!!u.length&&A.jsx("div",{className:"article-header__validation-errors",children:A.jsx(u1,{validationErrors:u})})]})})},sR=at.header`
|
|
372
372
|
padding: 3.3rem 0;
|
|
373
373
|
background: var(--c-gray-bg);
|
|
374
374
|
.article-header__emoji {
|
|
@@ -509,11 +509,11 @@ Error generating stack: `+s.message+`
|
|
|
509
509
|
opacity: 1;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
`,hR=({slug:e})=>{const{data:u,error:n,isValidating:r,mutate:l}=qu(`/api/articles/${e}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),f=u?.article;return
|
|
512
|
+
`,hR=({slug:e})=>{const{data:u,error:n,isValidating:r,mutate:l}=qu(`/api/articles/${e}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),f=u?.article;return Vs(`${f?.title||e}のプレビュー`),Yi(()=>{l()}),f?A.jsxs(A.Fragment,{children:[A.jsx(rR,{article:f}),A.jsx(Sa,{children:A.jsx(mR,{className:"article-show",children:A.jsxs("div",{className:"article-show__content",children:[f.toc&&f.toc.length>0&&A.jsx(lR,{maxDepth:2,toc:f.toc}),A.jsx(fR,{children:A.jsx(Eo,{rawHtml:f.bodyHtml||""})})]})})})]}):r?A.jsx(ji,{margin:"5rem auto"}):A.jsx(ki,{message:n?.message})},mR=at.div`
|
|
513
513
|
.article-show__content {
|
|
514
514
|
padding: 3rem 0 18rem;
|
|
515
515
|
}
|
|
516
|
-
`,ER=({book:e})=>{const u=Te.useMemo(()=>t1.validateBook(e),[e]);return A.jsx(DR,{children:A.jsxs(
|
|
516
|
+
`,ER=({book:e})=>{const u=Te.useMemo(()=>t1.validateBook(e),[e]);return A.jsx(DR,{children:A.jsxs(Sa,{children:[A.jsxs("div",{className:"book-header__hero",children:[A.jsx("div",{className:"book-header__cover",children:A.jsx("img",{src:e.coverDataUrl||"/static-images/book-cover.png",className:"book-header__cover-img",alt:"カバー画像のプレビュー",width:"160",height:"224"})}),A.jsx("h1",{className:"book-header__title",children:e.title||"titleを指定してください"})]}),A.jsxs("div",{className:"book-header__properties",children:[A.jsx(_u,{title:"slug",children:e.slug}),A.jsx(_u,{title:"published",children:typeof e.published=="boolean"?A.jsx(A.Fragment,{children:e.published?"true(公開)":"false(下書き)"}):"true もしくは false を指定してください"}),A.jsx(_u,{title:"price",children:typeof e.price=="number"?e.price:"半角数字で指定してください"}),A.jsx(_u,{title:"topics",children:Array.isArray(e.topics)&&e.topics.length?A.jsx(H3,{topics:e.topics}):"指定が必要です"}),A.jsx(_u,{title:"summary",children:A.jsx("div",{className:"book-header__summary",children:e.summary||"指定が必要です"})})]}),!!u.length&&A.jsx("div",{className:"book-header__validation-errors",children:A.jsx(u1,{validationErrors:u})})]})})},DR=at.header`
|
|
517
517
|
padding: 3.3rem 0;
|
|
518
518
|
background: var(--c-gray-bg);
|
|
519
519
|
.book-header__hero {
|
|
@@ -584,7 +584,7 @@ Error generating stack: `+s.message+`
|
|
|
584
584
|
opacity: 0.7;
|
|
585
585
|
text-decoration: none;
|
|
586
586
|
}
|
|
587
|
-
`,gR=({slug:e})=>{const{data:u,error:n,isValidating:r,mutate:l}=qu(`/api/books/${e}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),f=u?.book;
|
|
587
|
+
`,gR=({slug:e})=>{const{data:u,error:n,isValidating:r,mutate:l}=qu(`/api/books/${e}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),f=u?.book;Vs(`${f?.title||e}のプレビュー`);const{data:h,error:D,isValidating:E,mutate:p}=qu(`/api/books/${e}/chapters`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3});Yi(()=>{l(),p()});const b=h?.chapters,{withPositionChapters:T,withoutPositionChapters:y}=Te.useMemo(()=>b?b.reduce((v,N)=>(v[typeof N.position=="number"?"withPositionChapters":"withoutPositionChapters"].push(N),v),{withPositionChapters:[],withoutPositionChapters:[]}):{withPositionChapters:[],withoutPositionChapters:[]},[b]);return f?A.jsxs(A.Fragment,{children:[A.jsx(ER,{book:f}),A.jsx(Sa,{children:A.jsxs(bR,{className:"book-show",children:[A.jsx("h2",{className:"book-show__chapters-title",children:"Chapters"}),E?A.jsx(ji,{}):A.jsx(A.Fragment,{children:D?A.jsx(ki,{message:D?.message}):A.jsxs("div",{children:[!!T?.length&&A.jsx("div",{className:"book-show__chapters",children:A.jsx(Ab,{bookSlug:f.slug,chapters:T,showListNumber:!0})}),!!y?.length&&A.jsxs("div",{className:"book-show__excluded-chapters",children:[A.jsxs("p",{className:"book-show__chapters-note",children:["以下のチャプターはzenn.devへのデプロイ対象に含まれません。本に含めるチャプターの",A.jsx("a",{href:"https://zenn.dev/zenn/articles/what-is-slug",rel:"noopener noreferrer",target:"_blank",children:"スラッグ"}),"を",A.jsx("code",{children:"config.yaml"}),"に指定するか、全てのチャプターのファイル名を",A.jsx("code",{children:"チャプター番号.スラッグ.md"}),"の形式にしてください。",A.jsxs("a",{href:"https://zenn.dev/zenn/articles/zenn-cli-guide#%F0%9F%93%84-%E5%90%84%E3%83%81%E3%83%A3%E3%83%97%E3%82%BF%E3%83%BC%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%EF%BC%88%E2%97%AF%E2%97%AF.md%EF%BC%89",target:"_blank",rel:"noopener noreferrer",children:["詳しい説明を開く",A.jsx(Fh,{className:"book-show__open-icon"})]})]}),A.jsx("div",{className:"book-show__chapters",children:A.jsx(Ab,{bookSlug:f.slug,chapters:y,showListNumber:!1})})]})]})})]})})]}):r?A.jsx(ji,{margin:"5rem auto"}):A.jsx(ki,{message:n?.message})},bR=at.div`
|
|
588
588
|
padding: 3rem 0 6rem;
|
|
589
589
|
|
|
590
590
|
.book-show__chapters-title {
|
|
@@ -628,7 +628,7 @@ Error generating stack: `+s.message+`
|
|
|
628
628
|
width: 15px;
|
|
629
629
|
height: 15px;
|
|
630
630
|
}
|
|
631
|
-
`,TR=({chapter:e,book:u})=>{const n=Te.useMemo(()=>t1.validateBookChapter(e),[e]);return A.jsxs(_R,{children:[A.jsx("div",{className:"chapter-header__book",children:A.jsxs(Q3,{slug:u.slug,className:"chapter-header__book-link",children:[A.jsx(Nv,{className:"book-header__book-back"}),A.jsx("span",{className:"chapter-header__book-title",children:u.title})]})}),A.jsx("div",{className:"chapter-header__main",children:A.jsxs(
|
|
631
|
+
`,TR=({chapter:e,book:u})=>{const n=Te.useMemo(()=>t1.validateBookChapter(e),[e]);return A.jsxs(_R,{children:[A.jsx("div",{className:"chapter-header__book",children:A.jsxs(Q3,{slug:u.slug,className:"chapter-header__book-link",children:[A.jsx(Nv,{className:"book-header__book-back"}),A.jsx("span",{className:"chapter-header__book-title",children:u.title})]})}),A.jsx("div",{className:"chapter-header__main",children:A.jsxs(Sa,{children:[A.jsx("h1",{className:"chapter-header__title",children:e.title||"titleを指定してください"}),A.jsxs("div",{className:"chapter-header__properties",children:[A.jsx(_u,{title:"slug",children:e.slug}),A.jsx(_u,{title:"free",children:u.price===0?"本の価格が¥0であるためチャプターは無料公開されます":A.jsx(A.Fragment,{children:e.free?"true(無料公開)":"false(購入者のみ閲覧可)"})})]}),!!n.length&&A.jsx("div",{className:"chapter-header__validation-errors",children:A.jsx(u1,{validationErrors:n})})]})})]})},_R=at.header`
|
|
632
632
|
background: var(--c-gray-bg);
|
|
633
633
|
.chapter-header__book {
|
|
634
634
|
background: rgba(158, 186, 203, 0.3);
|
|
@@ -665,11 +665,11 @@ Error generating stack: `+s.message+`
|
|
|
665
665
|
.chapter-header__validation-errors {
|
|
666
666
|
margin-top: 1.4rem;
|
|
667
667
|
}
|
|
668
|
-
`,AR=({bookSlug:e,chapterFilename:u})=>{const{data:n,error:r,isValidating:l,mutate:f}=qu(`/api/books/${e}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),h=n?.book,{data:D,error:E,isValidating:p,mutate:b}=qu(`/api/books/${e}/chapters/${u}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),T=D?.chapter;return
|
|
668
|
+
`,AR=({bookSlug:e,chapterFilename:u})=>{const{data:n,error:r,isValidating:l,mutate:f}=qu(`/api/books/${e}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),h=n?.book,{data:D,error:E,isValidating:p,mutate:b}=qu(`/api/books/${e}/chapters/${u}`,{revalidateOnFocus:!1,revalidateOnReconnect:!1,errorRetryCount:3}),T=D?.chapter;return Vs(`${T?.title||u}のプレビュー`),Yi(()=>{f(),b()}),h?T?A.jsxs(A.Fragment,{children:[A.jsx(TR,{book:h,chapter:T}),A.jsx(Sa,{children:A.jsx(vR,{className:"book-show",children:A.jsx("div",{className:"chapter-show__content",children:A.jsx(Eo,{rawHtml:T.bodyHtml||""})})})})]}):p?A.jsx(ji,{margin:"5rem auto"}):A.jsx(ki,{message:E?.message||`チャプター ${u} のデータを取得できませんでした`}):l?A.jsx(ji,{margin:"5rem auto"}):A.jsx(ki,{message:r?.message||`本 ${e} のデータを取得できませんでした`})},vR=at.div`
|
|
669
669
|
.chapter-show__content {
|
|
670
670
|
padding: 3rem 0 10rem;
|
|
671
671
|
}
|
|
672
|
-
`;function CR(e){return escape(e.replace(/\./g,"%2E"))}function yR(e){return unescape(e).replace(/%2E/g,".")}const q3=Mi.Path().any("slug",{action:({slug:e})=>A.jsx(hR,{slug:e})}),Y3=Mi.Path().any("slug",{action:({slug:e})=>A.jsx(gR,{slug:e})}),G3=Y3.anyRoute.attach(Mi.Path()).any("chapter_filename",{action:({slug:e,chapter_filename:u})=>A.jsx(AR,{bookSlug:e,chapterFilename:yR(u)})}),V3=Mi.SingleHash("hash",{optional:!0}).attach(Mi.Path()).any("slug",{action:({slug:e,hash:u})=>A.jsx(OC,{slug:e,hash:u})}),Dh=Mi.Path().exact({action:()=>A.jsx(CC,{})}).route("guide",e=>e.attach(V3)).route("articles",e=>e.attach(q3)).route("books",e=>e.attach(G3)),SR=()=>Vt.useRoutes(Dh),NR=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.key===Dh.exactRoute.key,[u]);return A.jsx(Vt.Link,{route:Dh.exactRoute,className:n?`active ${e.className}`:e.className,children:e.children})},RR=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.pathname===`/articles/${e.slug}`,[u]);return A.jsx(Vt.Link,{route:q3.anyRoute,match:{slug:e.slug},className:n?`active ${e.className}`:e.className,children:e.children})},Q3=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.pathname===`/books/${e.slug}`,[u]);return A.jsx(Vt.Link,{route:Y3.anyRoute,match:{slug:e.slug},className:n?`active ${e.className}`:e.className,children:e.children})},X3=e=>{const u=Vt.useLocation(),n=CR(e.chapterFilename),r=Te.useMemo(()=>u.pathname===`/books/${e.bookSlug}/${n}`,[u]);return A.jsx(Vt.Link,{route:G3.anyRoute,match:{slug:e.bookSlug,chapter_filename:n},className:r?`active ${e.className}`:e.className,children:e.children})},
|
|
672
|
+
`;function CR(e){return escape(e.replace(/\./g,"%2E"))}function yR(e){return unescape(e).replace(/%2E/g,".")}const q3=Mi.Path().any("slug",{action:({slug:e})=>A.jsx(hR,{slug:e})}),Y3=Mi.Path().any("slug",{action:({slug:e})=>A.jsx(gR,{slug:e})}),G3=Y3.anyRoute.attach(Mi.Path()).any("chapter_filename",{action:({slug:e,chapter_filename:u})=>A.jsx(AR,{bookSlug:e,chapterFilename:yR(u)})}),V3=Mi.SingleHash("hash",{optional:!0}).attach(Mi.Path()).any("slug",{action:({slug:e,hash:u})=>A.jsx(OC,{slug:e,hash:u})}),Dh=Mi.Path().exact({action:()=>A.jsx(CC,{})}).route("guide",e=>e.attach(V3)).route("articles",e=>e.attach(q3)).route("books",e=>e.attach(G3)),SR=()=>Vt.useRoutes(Dh),NR=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.key===Dh.exactRoute.key,[u]);return A.jsx(Vt.Link,{route:Dh.exactRoute,className:n?`active ${e.className}`:e.className,children:e.children})},RR=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.pathname===`/articles/${e.slug}`,[u]);return A.jsx(Vt.Link,{route:q3.anyRoute,match:{slug:e.slug},className:n?`active ${e.className}`:e.className,children:e.children})},Q3=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.pathname===`/books/${e.slug}`,[u]);return A.jsx(Vt.Link,{route:Y3.anyRoute,match:{slug:e.slug},className:n?`active ${e.className}`:e.className,children:e.children})},X3=e=>{const u=Vt.useLocation(),n=CR(e.chapterFilename),r=Te.useMemo(()=>u.pathname===`/books/${e.bookSlug}/${n}`,[u]);return A.jsx(Vt.Link,{route:G3.anyRoute,match:{slug:e.bookSlug,chapter_filename:n},className:r?`active ${e.className}`:e.className,children:e.children})},ys=e=>{const u=Vt.useLocation(),n=Te.useMemo(()=>u.pathname!==`/guide/${e.slug}`?!1:e.hash?u.hash===`#${e.hash}`:!0,[u]);return A.jsx(Vt.Link,{route:V3.anyRoute,match:{slug:e.slug,hash:e.hash},className:n?`active ${e.className}`:e.className,children:e.children})},OR=({article:e})=>A.jsx(RR,{slug:e.slug,children:A.jsx(un,{title:e.title||e.slug,label:e.published?void 0:"下書き",emoji:e.emoji||"📄"})}),FR=({bookSlug:e,chapter:u,chapterNumber:n})=>{const r=typeof n=="number";return A.jsx(X3,{bookSlug:e,chapterFilename:u.filename,children:A.jsx(un,{label:r?void 0:"除外",title:`${r?`${n}. `:""}${u.title||u.slug}`})})},xR=({bookSlug:e})=>{const{data:u,mutate:n}=qu(`/api/books/${e}/chapters`,{revalidateOnFocus:!1}),r=u?.chapters;return Yi(()=>{n()}),A.jsxs("ul",{children:[A.jsx("li",{children:A.jsx(Q3,{slug:e,children:A.jsx(un,{title:"設定",emoji:"📘"})})}),!!r?.length&&A.jsx(A.Fragment,{children:r?.map((l,f)=>A.jsx("li",{children:A.jsx(FR,{bookSlug:e,chapter:l,chapterNumber:typeof l.position=="number"?f+1:void 0})},`dir-book-${e}-${l.slug}`))})]})},LR=({book:e})=>A.jsx(Bh,{title:e.title||e.slug,uniqueKey:`dir-book-${e.slug}`,defaultOpen:!1,label:e.published?void 0:"下書き",children:A.jsx(xR,{bookSlug:e.slug})}),BR=({sort:e})=>{const{data:u,mutate:n}=qu(`/api/articles?sort=${e}`,{revalidateOnFocus:!1,errorRetryCount:3}),r=u?.articles;return Yi(()=>{n()}),A.jsx(Bh,{title:"articles",uniqueKey:"dir-articles",defaultOpen:!0,children:A.jsx("ul",{children:!!r?.length&&A.jsx("li",{children:r.map(l=>A.jsx(OR,{article:l},`item-article-${l.slug}`))})})})},MR=({sort:e})=>{const{data:u,mutate:n}=qu(`/api/books?sort=${e}`,{revalidateOnFocus:!1}),r=u?.books;return Yi(()=>{n()}),A.jsx(Bh,{title:"books",uniqueKey:"dir-books",defaultOpen:!0,children:!!r?.length&&A.jsx("ul",{children:r?.map(l=>A.jsx(LR,{book:l},`item-book-${l.slug}`))})})},IR=()=>{const[e,u]=Vc({cacheKey:"fold-sidebar",defaultValue:!1}),[n,r]=Vc({cacheKey:"item-sort-type",defaultValue:"modified"});return A.jsxs(wR,{"aria-expanded":!e,className:"sidebar",children:[A.jsx("button",{className:"sidebar__btn-fold",onClick:()=>u(!e),"aria-label":e?"メニューを開く":"折りたたむ",children:e?A.jsx(Fv,{className:"sidebar__fold-icon"}):A.jsx(Rv,{className:"sidebar__fold-icon"})}),A.jsxs("div",{className:"sidebar__inner","aria-hidden":e,children:[A.jsxs("header",{className:"sidebar__header",children:[A.jsx(NR,{children:A.jsx("img",{src:"/logo.svg",alt:"Zenn Editor",width:150,height:20,className:"sidebar__header-logo"})}),A.jsx(pC,{openButtonIcon:A.jsx(Cv,{className:"sidebar__sort-open"}),openButtonAriaLabel:"ソート設定を開く",position:"right",options:[{value:"modified",label:"ファイル更新順に並べる"},{value:"system",label:"システムの表示順に従う"}],value:n,setValue:l=>r(l),width:200})]}),A.jsxs("div",{className:"sidebar__items",children:[A.jsx(BR,{sort:n}),A.jsx(MR,{sort:n}),A.jsxs("ul",{className:"sidebar__static-links",children:[A.jsx("li",{children:A.jsx(ys,{slug:"zenn-cli-guide",hash:"cli-%E3%81%A7%E8%A8%98%E4%BA%8B%EF%BC%88article%EF%BC%89%E3%82%92%E7%AE%A1%E7%90%86%E3%81%99%E3%82%8B",children:A.jsx(un,{title:"記事の作成ガイド",emoji:"📝"})})}),A.jsx("li",{children:A.jsx(ys,{slug:"zenn-cli-guide",hash:"cli-%E3%81%A7%E6%9C%AC%EF%BC%88book%EF%BC%89%E3%82%92%E7%AE%A1%E7%90%86%E3%81%99%E3%82%8B",children:A.jsx(un,{title:"本の作成ガイド",emoji:"📚"})})}),A.jsx("li",{children:A.jsx(ys,{slug:"deploy-github-images",children:A.jsx(un,{title:"画像管理ガイド",emoji:"🏞"})})}),A.jsx("li",{children:A.jsx(ys,{slug:"markdown-guide",children:A.jsx(un,{title:"マークダウン記法",emoji:"🖋️"})})})]})]})]})]})},wR=at.div`
|
|
673
673
|
position: sticky;
|
|
674
674
|
top: 0;
|
|
675
675
|
height: 100vh;
|