crossnote 0.8.24 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/cjs/index.cjs +264 -261
- package/out/dependencies/README.md +6 -1
- package/out/dependencies/vega-embed/vega-embed.min.js +1 -1
- package/out/dependencies/vega-lite/vega-lite.min.js +2 -0
- package/out/esm/index.mjs +264 -261
- package/out/types/dependencies/vega-lite/vega-lite.min.d.ts +1 -0
- package/out/types/src/notebook/index.d.ts +4 -0
- package/out/types/tsconfig.tsbuildinfo +1 -1
- package/out/webview/preview.js +14 -14
- package/package.json +2 -2
package/out/webview/preview.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
`+r[s].replace(" at new "," at ");return n.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",n.displayName)),l}while(1<=s&&0<=a);break}}}finally{y$=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?uV(n):""}function WT1(n){switch(n.tag){case 5:return uV(n.type);case 16:return uV("Lazy");case 13:return uV("Suspense");case 19:return uV("SuspenseList");case 0:case 2:case 15:return n=k$(n.type,!1),n;case 11:return n=k$(n.type.render,!1),n;case 1:return n=k$(n.type,!0),n;default:return""}}function eq(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Dp:return"Fragment";case Ep:return"Portal";case Q$:return"Profiler";case jq:return"StrictMode";case X$:return"Suspense";case J$:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Bc1:return(n.displayName||"Context")+".Consumer";case Fc1:return(n._context.displayName||"Context")+".Provider";case $q:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case qq:return e=n.displayName||null,e!==null?e:eq(n.type)||"Memo";case K7:e=n._payload,n=n._init;try{return eq(n(e))}catch{}}return null}function UT1(n){var e=n.type;switch(n.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=e.render,n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return eq(e);case 8:return e===jq?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function l9(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function zc1(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function jT1(n){var e=zc1(n)?"checked":"value",t=Object.getOwnPropertyDescriptor(n.constructor.prototype,e),i=""+n[e];if(!n.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var r=t.get,o=t.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return r.call(this)},set:function(s){i=""+s,o.call(this,s)}}),Object.defineProperty(n,e,{enumerable:t.enumerable}),{getValue:function(){return i},setValue:function(s){i=""+s},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function Aw(n){n._valueTracker||(n._valueTracker=jT1(n))}function Wc1(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),i="";return n&&(i=zc1(n)?n.checked?"true":"false":n.value),n=i,n!==t?(e.setValue(n),!0):!1}function ey(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function tq(n,e){var t=e.checked;return ao({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function Td1(n,e){var t=e.defaultValue==null?"":e.defaultValue,i=e.checked!=null?e.checked:e.defaultChecked;t=l9(e.value!=null?e.value:t),n._wrapperState={initialChecked:i,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Uc1(n,e){e=e.checked,e!=null&&Uq(n,"checked",e,!1)}function iq(n,e){Uc1(n,e);var t=l9(e.value),i=e.type;if(t!=null)i==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+t):n.value!==""+t&&(n.value=""+t);else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}e.hasOwnProperty("value")?nq(n,e.type,t):e.hasOwnProperty("defaultValue")&&nq(n,e.type,l9(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function Nd1(n,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var i=e.type;if(!(i!=="submit"&&i!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+n._wrapperState.initialValue,t||e===n.value||(n.value=e),n.defaultValue=e}t=n.name,t!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,t!==""&&(n.name=t)}function nq(n,e,t){(e!=="number"||ey(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var hV=Array.isArray;function Wp(n,e,t,i){if(n=n.options,e){e={};for(var r=0;r<t.length;r++)e["$"+t[r]]=!0;for(t=0;t<n.length;t++)r=e.hasOwnProperty("$"+n[t].value),n[t].selected!==r&&(n[t].selected=r),r&&i&&(n[t].defaultSelected=!0)}else{for(t=""+l9(t),e=null,r=0;r<n.length;r++){if(n[r].value===t){n[r].selected=!0,i&&(n[r].defaultSelected=!0);return}e!==null||n[r].disabled||(e=n[r])}e!==null&&(e.selected=!0)}}function rq(n,e){if(e.dangerouslySetInnerHTML!=null)throw Error(ge(91));return ao({},e,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Od1(n,e){var t=e.value;if(t==null){if(t=e.children,e=e.defaultValue,t!=null){if(e!=null)throw Error(ge(92));if(hV(t)){if(1<t.length)throw Error(ge(93));t=t[0]}e=t}e==null&&(e=""),t=e}n._wrapperState={initialValue:l9(t)}}function jc1(n,e){var t=l9(e.value),i=l9(e.defaultValue);t!=null&&(t=""+t,t!==n.value&&(n.value=t),e.defaultValue==null&&n.defaultValue!==t&&(n.defaultValue=t)),i!=null&&(n.defaultValue=""+i)}function Rd1(n){var e=n.textContent;e===n._wrapperState.initialValue&&e!==""&&e!==null&&(n.value=e)}function $c1(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function oq(n,e){return n==null||n==="http://www.w3.org/1999/xhtml"?$c1(e):n==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Sw,qc1=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,t,i,r){MSApp.execUnsafeLocalFunction(function(){return n(e,t,i,r)})}:n}(function(n,e){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=e;else{for(Sw=Sw||document.createElement("div"),Sw.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Sw.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;e.firstChild;)n.appendChild(e.firstChild)}});function bV(n,e){if(e){var t=n.firstChild;if(t&&t===n.lastChild&&t.nodeType===3){t.nodeValue=e;return}}n.textContent=e}var mV={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$T1=["Webkit","ms","Moz","O"];Object.keys(mV).forEach(function(n){$T1.forEach(function(e){e=e+n.charAt(0).toUpperCase()+n.substring(1),mV[e]=mV[n]})});function Kc1(n,e,t){return e==null||typeof e=="boolean"||e===""?"":t||typeof e!="number"||e===0||mV.hasOwnProperty(n)&&mV[n]?(""+e).trim():e+"px"}function Gc1(n,e){n=n.style;for(var t in e)if(e.hasOwnProperty(t)){var i=t.indexOf("--")===0,r=Kc1(t,e[t],i);t==="float"&&(t="cssFloat"),i?n.setProperty(t,r):n[t]=r}}var qT1=ao({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function sq(n,e){if(e){if(qT1[n]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(ge(137,n));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(ge(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(ge(61))}if(e.style!=null&&typeof e.style!="object")throw Error(ge(62))}}function aq(n,e){if(n.indexOf("-")===-1)return typeof e.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var lq=null;function Kq(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var dq=null,Up=null,jp=null;function Pd1(n){if(n=WV(n)){if(typeof dq!="function")throw Error(ge(280));var e=n.stateNode;e&&(e=wy(e),dq(n.stateNode,n.type,e))}}function Yc1(n){Up?jp?jp.push(n):jp=[n]:Up=n}function Qc1(){if(Up){var n=Up,e=jp;if(jp=Up=null,Pd1(n),e)for(n=0;n<e.length;n++)Pd1(e[n])}}function Xc1(n,e){return n(e)}function Jc1(){}var E$=!1;function e41(n,e,t){if(E$)return n(e,t);E$=!0;try{return Xc1(n,e,t)}finally{E$=!1,(Up!==null||jp!==null)&&(Jc1(),Qc1())}}function AV(n,e){var t=n.stateNode;if(t===null)return null;var i=wy(t);if(i===null)return null;t=i[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(n=n.type,i=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!i;break e;default:n=!1}if(n)return null;if(t&&typeof t!="function")throw Error(ge(231,e,typeof t));return t}var cq=!1;if(m4)try{yp={},Object.defineProperty(yp,"passive",{get:function(){cq=!0}}),window.addEventListener("test",yp,yp),window.removeEventListener("test",yp,yp)}catch{cq=!1}var yp;function KT1(n,e,t,i,r,o,s,a,l){var d=Array.prototype.slice.call(arguments,3);try{e.apply(t,d)}catch(c){this.onError(c)}}var fV=!1,ty=null,iy=!1,uq=null,GT1={onError:function(n){fV=!0,ty=n}};function YT1(n,e,t,i,r,o,s,a,l){fV=!1,ty=null,KT1.apply(GT1,arguments)}function QT1(n,e,t,i,r,o,s,a,l){if(YT1.apply(this,arguments),fV){if(fV){var d=ty;fV=!1,ty=null}else throw Error(ge(198));iy||(iy=!0,uq=d)}}function fu(n){var e=n,t=n;if(n.alternate)for(;e.return;)e=e.return;else{n=e;do e=n,e.flags&4098&&(t=e.return),n=e.return;while(n)}return e.tag===3?t:null}function t41(n){if(n.tag===13){var e=n.memoizedState;if(e===null&&(n=n.alternate,n!==null&&(e=n.memoizedState)),e!==null)return e.dehydrated}return null}function Fd1(n){if(fu(n)!==n)throw Error(ge(188))}function XT1(n){var e=n.alternate;if(!e){if(e=fu(n),e===null)throw Error(ge(188));return e!==n?null:n}for(var t=n,i=e;;){var r=t.return;if(r===null)break;var o=r.alternate;if(o===null){if(i=r.return,i!==null){t=i;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===t)return Fd1(r),n;if(o===i)return Fd1(r),e;o=o.sibling}throw Error(ge(188))}if(t.return!==i.return)t=r,i=o;else{for(var s=!1,a=r.child;a;){if(a===t){s=!0,t=r,i=o;break}if(a===i){s=!0,i=r,t=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===t){s=!0,t=o,i=r;break}if(a===i){s=!0,i=o,t=r;break}a=a.sibling}if(!s)throw Error(ge(189))}}if(t.alternate!==i)throw Error(ge(190))}if(t.tag!==3)throw Error(ge(188));return t.stateNode.current===t?n:e}function i41(n){return n=XT1(n),n!==null?n41(n):null}function n41(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var e=n41(n);if(e!==null)return e;n=n.sibling}return null}var r41=a0.unstable_scheduleCallback,Bd1=a0.unstable_cancelCallback,JT1=a0.unstable_shouldYield,eN1=a0.unstable_requestPaint,Po=a0.unstable_now,tN1=a0.unstable_getCurrentPriorityLevel,Gq=a0.unstable_ImmediatePriority,o41=a0.unstable_UserBlockingPriority,ny=a0.unstable_NormalPriority,iN1=a0.unstable_LowPriority,s41=a0.unstable_IdlePriority,xy=null,_d=null;function nN1(n){if(_d&&typeof _d.onCommitFiberRoot=="function")try{_d.onCommitFiberRoot(xy,n,void 0,(n.current.flags&128)===128)}catch{}}var e3=Math.clz32?Math.clz32:sN1,rN1=Math.log,oN1=Math.LN2;function sN1(n){return n>>>=0,n===0?32:31-(rN1(n)/oN1|0)|0}var ww=64,yw=4194304;function CV(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ry(n,e){var t=n.pendingLanes;if(t===0)return 0;var i=0,r=n.suspendedLanes,o=n.pingedLanes,s=t&268435455;if(s!==0){var a=s&~r;a!==0?i=CV(a):(o&=s,o!==0&&(i=CV(o)))}else s=t&~r,s!==0?i=CV(s):o!==0&&(i=CV(o));if(i===0)return 0;if(e!==0&&e!==i&&!(e&r)&&(r=i&-i,o=e&-e,r>=o||r===16&&(o&4194240)!==0))return e;if(i&4&&(i|=t&16),e=n.entangledLanes,e!==0)for(n=n.entanglements,e&=i;0<e;)t=31-e3(e),r=1<<t,i|=n[t],e&=~r;return i}function aN1(n,e){switch(n){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function lN1(n,e){for(var t=n.suspendedLanes,i=n.pingedLanes,r=n.expirationTimes,o=n.pendingLanes;0<o;){var s=31-e3(o),a=1<<s,l=r[s];l===-1?(!(a&t)||a&i)&&(r[s]=aN1(a,e)):l<=e&&(n.expiredLanes|=a),o&=~a}}function hq(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function a41(){var n=ww;return ww<<=1,!(ww&4194240)&&(ww=64),n}function D$(n){for(var e=[],t=0;31>t;t++)e.push(n);return e}function ZV(n,e,t){n.pendingLanes|=e,e!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,e=31-e3(e),n[e]=t}function dN1(n,e){var t=n.pendingLanes&~e;n.pendingLanes=e,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=e,n.mutableReadLanes&=e,n.entangledLanes&=e,e=n.entanglements;var i=n.eventTimes;for(n=n.expirationTimes;0<t;){var r=31-e3(t),o=1<<r;e[r]=0,i[r]=-1,n[r]=-1,t&=~o}}function Yq(n,e){var t=n.entangledLanes|=e;for(n=n.entanglements;t;){var i=31-e3(t),r=1<<i;r&e|n[i]&e&&(n[i]|=e),t&=~r}}var nr=0;function l41(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var d41,Qq,c41,u41,h41,Cq=!1,kw=[],e9=null,t9=null,i9=null,SV=new Map,wV=new Map,Y7=[],cN1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Zd1(n,e){switch(n){case"focusin":case"focusout":e9=null;break;case"dragenter":case"dragleave":t9=null;break;case"mouseover":case"mouseout":i9=null;break;case"pointerover":case"pointerout":SV.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":wV.delete(e.pointerId)}}function rV(n,e,t,i,r,o){return n===null||n.nativeEvent!==o?(n={blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[r]},e!==null&&(e=WV(e),e!==null&&Qq(e)),n):(n.eventSystemFlags|=i,e=n.targetContainers,r!==null&&e.indexOf(r)===-1&&e.push(r),n)}function uN1(n,e,t,i,r){switch(e){case"focusin":return e9=rV(e9,n,e,t,i,r),!0;case"dragenter":return t9=rV(t9,n,e,t,i,r),!0;case"mouseover":return i9=rV(i9,n,e,t,i,r),!0;case"pointerover":var o=r.pointerId;return SV.set(o,rV(SV.get(o)||null,n,e,t,i,r)),!0;case"gotpointercapture":return o=r.pointerId,wV.set(o,rV(wV.get(o)||null,n,e,t,i,r)),!0}return!1}function C41(n){var e=ou(n.target);if(e!==null){var t=fu(e);if(t!==null){if(e=t.tag,e===13){if(e=t41(t),e!==null){n.blockedOn=e,h41(n.priority,function(){c41(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){n.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Uw(n){if(n.blockedOn!==null)return!1;for(var e=n.targetContainers;0<e.length;){var t=pq(n.domEventName,n.eventSystemFlags,e[0],n.nativeEvent);if(t===null){t=n.nativeEvent;var i=new t.constructor(t.type,t);lq=i,t.target.dispatchEvent(i),lq=null}else return e=WV(t),e!==null&&Qq(e),n.blockedOn=t,!1;e.shift()}return!0}function zd1(n,e,t){Uw(n)&&t.delete(e)}function hN1(){Cq=!1,e9!==null&&Uw(e9)&&(e9=null),t9!==null&&Uw(t9)&&(t9=null),i9!==null&&Uw(i9)&&(i9=null),SV.forEach(zd1),wV.forEach(zd1)}function oV(n,e){n.blockedOn===e&&(n.blockedOn=null,Cq||(Cq=!0,a0.unstable_scheduleCallback(a0.unstable_NormalPriority,hN1)))}function yV(n){function e(r){return oV(r,n)}if(0<kw.length){oV(kw[0],n);for(var t=1;t<kw.length;t++){var i=kw[t];i.blockedOn===n&&(i.blockedOn=null)}}for(e9!==null&&oV(e9,n),t9!==null&&oV(t9,n),i9!==null&&oV(i9,n),SV.forEach(e),wV.forEach(e),t=0;t<Y7.length;t++)i=Y7[t],i.blockedOn===n&&(i.blockedOn=null);for(;0<Y7.length&&(t=Y7[0],t.blockedOn===null);)C41(t),t.blockedOn===null&&Y7.shift()}var $p=H4.ReactCurrentBatchConfig,oy=!0;function CN1(n,e,t,i){var r=nr,o=$p.transition;$p.transition=null;try{nr=1,Xq(n,e,t,i)}finally{nr=r,$p.transition=o}}function pN1(n,e,t,i){var r=nr,o=$p.transition;$p.transition=null;try{nr=4,Xq(n,e,t,i)}finally{nr=r,$p.transition=o}}function Xq(n,e,t,i){if(oy){var r=pq(n,e,t,i);if(r===null)F$(n,e,i,sy,t),Zd1(n,i);else if(uN1(r,n,e,t,i))i.stopPropagation();else if(Zd1(n,i),e&4&&-1<cN1.indexOf(n)){for(;r!==null;){var o=WV(r);if(o!==null&&d41(o),o=pq(n,e,t,i),o===null&&F$(n,e,i,sy,t),o===r)break;r=o}r!==null&&i.stopPropagation()}else F$(n,e,i,null,t)}}var sy=null;function pq(n,e,t,i){if(sy=null,n=Kq(i),n=ou(n),n!==null)if(e=fu(n),e===null)n=null;else if(t=e.tag,t===13){if(n=t41(e),n!==null)return n;n=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;n=null}else e!==n&&(n=null);return sy=n,null}function p41(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(tN1()){case Gq:return 1;case o41:return 4;case ny:case iN1:return 16;case s41:return 536870912;default:return 16}default:return 16}}var X7=null,Jq=null,jw=null;function m41(){if(jw)return jw;var n,e=Jq,t=e.length,i,r="value"in X7?X7.value:X7.textContent,o=r.length;for(n=0;n<t&&e[n]===r[n];n++);var s=t-n;for(i=1;i<=s&&e[t-i]===r[o-i];i++);return jw=r.slice(n,1<i?1-i:void 0)}function $w(n){var e=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&e===13&&(n=13)):n=e,n===10&&(n=13),32<=n||n===13?n:0}function Ew(){return!0}function Wd1(){return!1}function l0(n){function e(t,i,r,o,s){this._reactName=t,this._targetInst=r,this.type=i,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in n)n.hasOwnProperty(a)&&(t=n[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ew:Wd1,this.isPropagationStopped=Wd1,this}return ao(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=Ew)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=Ew)},persist:function(){},isPersistent:Ew}),e}var im={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},eK=l0(im),zV=ao({},im,{view:0,detail:0}),mN1=l0(zV),I$,T$,sV,by=ao({},zV,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tK,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==sV&&(sV&&n.type==="mousemove"?(I$=n.screenX-sV.screenX,T$=n.screenY-sV.screenY):T$=I$=0,sV=n),I$)},movementY:function(n){return"movementY"in n?n.movementY:T$}}),Ud1=l0(by),fN1=ao({},by,{dataTransfer:0}),gN1=l0(fN1),LN1=ao({},zV,{relatedTarget:0}),N$=l0(LN1),HN1=ao({},im,{animationName:0,elapsedTime:0,pseudoElement:0}),VN1=l0(HN1),MN1=ao({},im,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),vN1=l0(MN1),_N1=ao({},im,{data:0}),jd1=l0(_N1),xN1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bN1={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"},AN1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function SN1(n){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(n):(n=AN1[n])?!!e[n]:!1}function tK(){return SN1}var wN1=ao({},zV,{key:function(n){if(n.key){var e=xN1[n.key]||n.key;if(e!=="Unidentified")return e}return n.type==="keypress"?(n=$w(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?bN1[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tK,charCode:function(n){return n.type==="keypress"?$w(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?$w(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),yN1=l0(wN1),kN1=ao({},by,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$d1=l0(kN1),EN1=ao({},zV,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tK}),DN1=l0(EN1),IN1=ao({},im,{propertyName:0,elapsedTime:0,pseudoElement:0}),TN1=l0(IN1),NN1=ao({},by,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),ON1=l0(NN1),RN1=[9,13,27,32],iK=m4&&"CompositionEvent"in window,gV=null;m4&&"documentMode"in document&&(gV=document.documentMode);var PN1=m4&&"TextEvent"in window&&!gV,f41=m4&&(!iK||gV&&8<gV&&11>=gV),qd1=String.fromCharCode(32),Kd1=!1;function g41(n,e){switch(n){case"keyup":return RN1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L41(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Ip=!1;function FN1(n,e){switch(n){case"compositionend":return L41(e);case"keypress":return e.which!==32?null:(Kd1=!0,qd1);case"textInput":return n=e.data,n===qd1&&Kd1?null:n;default:return null}}function BN1(n,e){if(Ip)return n==="compositionend"||!iK&&g41(n,e)?(n=m41(),jw=Jq=X7=null,Ip=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return f41&&e.locale!=="ko"?null:e.data;default:return null}}var ZN1={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 Gd1(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e==="input"?!!ZN1[n.type]:e==="textarea"}function H41(n,e,t,i){Yc1(i),e=ay(e,"onChange"),0<e.length&&(t=new eK("onChange","change",null,t,i),n.push({event:t,listeners:e}))}var LV=null,kV=null;function zN1(n){k41(n,0)}function Ay(n){var e=Op(n);if(Wc1(e))return n}function WN1(n,e){if(n==="change")return e}var V41=!1;m4&&(m4?(Iw="oninput"in document,Iw||(O$=document.createElement("div"),O$.setAttribute("oninput","return;"),Iw=typeof O$.oninput=="function"),Dw=Iw):Dw=!1,V41=Dw&&(!document.documentMode||9<document.documentMode));var Dw,Iw,O$;function Yd1(){LV&&(LV.detachEvent("onpropertychange",M41),kV=LV=null)}function M41(n){if(n.propertyName==="value"&&Ay(kV)){var e=[];H41(e,kV,n,Kq(n)),e41(zN1,e)}}function UN1(n,e,t){n==="focusin"?(Yd1(),LV=e,kV=t,LV.attachEvent("onpropertychange",M41)):n==="focusout"&&Yd1()}function jN1(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ay(kV)}function $N1(n,e){if(n==="click")return Ay(e)}function qN1(n,e){if(n==="input"||n==="change")return Ay(e)}function KN1(n,e){return n===e&&(n!==0||1/n===1/e)||n!==n&&e!==e}var i3=typeof Object.is=="function"?Object.is:KN1;function EV(n,e){if(i3(n,e))return!0;if(typeof n!="object"||n===null||typeof e!="object"||e===null)return!1;var t=Object.keys(n),i=Object.keys(e);if(t.length!==i.length)return!1;for(i=0;i<t.length;i++){var r=t[i];if(!Y$.call(e,r)||!i3(n[r],e[r]))return!1}return!0}function Qd1(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Xd1(n,e){var t=Qd1(n);n=0;for(var i;t;){if(t.nodeType===3){if(i=n+t.textContent.length,n<=e&&i>=e)return{node:t,offset:e-n};n=i}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Qd1(t)}}function v41(n,e){return n&&e?n===e?!0:n&&n.nodeType===3?!1:e&&e.nodeType===3?v41(n,e.parentNode):"contains"in n?n.contains(e):n.compareDocumentPosition?!!(n.compareDocumentPosition(e)&16):!1:!1}function _41(){for(var n=window,e=ey();e instanceof n.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)n=e.contentWindow;else break;e=ey(n.document)}return e}function nK(n){var e=n&&n.nodeName&&n.nodeName.toLowerCase();return e&&(e==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||e==="textarea"||n.contentEditable==="true")}function GN1(n){var e=_41(),t=n.focusedElem,i=n.selectionRange;if(e!==t&&t&&t.ownerDocument&&v41(t.ownerDocument.documentElement,t)){if(i!==null&&nK(t)){if(e=i.start,n=i.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var r=t.textContent.length,o=Math.min(i.start,r);i=i.end===void 0?o:Math.min(i.end,r),!n.extend&&o>i&&(r=i,i=o,o=r),r=Xd1(t,o);var s=Xd1(t,i);r&&s&&(n.rangeCount!==1||n.anchorNode!==r.node||n.anchorOffset!==r.offset||n.focusNode!==s.node||n.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),n.removeAllRanges(),o>i?(n.addRange(e),n.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<e.length;t++)n=e[t],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var YN1=m4&&"documentMode"in document&&11>=document.documentMode,Tp=null,mq=null,HV=null,fq=!1;function Jd1(n,e,t){var i=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;fq||Tp==null||Tp!==ey(i)||(i=Tp,"selectionStart"in i&&nK(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),HV&&EV(HV,i)||(HV=i,i=ay(mq,"onSelect"),0<i.length&&(e=new eK("onSelect","select",null,e,t),n.push({event:e,listeners:i}),e.target=Tp)))}function Tw(n,e){var t={};return t[n.toLowerCase()]=e.toLowerCase(),t["Webkit"+n]="webkit"+e,t["Moz"+n]="moz"+e,t}var Np={animationend:Tw("Animation","AnimationEnd"),animationiteration:Tw("Animation","AnimationIteration"),animationstart:Tw("Animation","AnimationStart"),transitionend:Tw("Transition","TransitionEnd")},R$={},x41={};m4&&(x41=document.createElement("div").style,"AnimationEvent"in window||(delete Np.animationend.animation,delete Np.animationiteration.animation,delete Np.animationstart.animation),"TransitionEvent"in window||delete Np.transitionend.transition);function Sy(n){if(R$[n])return R$[n];if(!Np[n])return n;var e=Np[n],t;for(t in e)if(e.hasOwnProperty(t)&&t in x41)return R$[n]=e[t];return n}var b41=Sy("animationend"),A41=Sy("animationiteration"),S41=Sy("animationstart"),w41=Sy("transitionend"),y41=new Map,ec1="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function c9(n,e){y41.set(n,e),mu(e,[n])}for(Nw=0;Nw<ec1.length;Nw++)Ow=ec1[Nw],tc1=Ow.toLowerCase(),ic1=Ow[0].toUpperCase()+Ow.slice(1),c9(tc1,"on"+ic1);var Ow,tc1,ic1,Nw;c9(b41,"onAnimationEnd");c9(A41,"onAnimationIteration");c9(S41,"onAnimationStart");c9("dblclick","onDoubleClick");c9("focusin","onFocus");c9("focusout","onBlur");c9(w41,"onTransitionEnd");Gp("onMouseEnter",["mouseout","mouseover"]);Gp("onMouseLeave",["mouseout","mouseover"]);Gp("onPointerEnter",["pointerout","pointerover"]);Gp("onPointerLeave",["pointerout","pointerover"]);mu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));mu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));mu("onBeforeInput",["compositionend","keypress","textInput","paste"]);mu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));mu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));mu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pV="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(" "),QN1=new Set("cancel close invalid load scroll toggle".split(" ").concat(pV));function nc1(n,e,t){var i=n.type||"unknown-event";n.currentTarget=t,QT1(i,e,void 0,n),n.currentTarget=null}function k41(n,e){e=(e&4)!==0;for(var t=0;t<n.length;t++){var i=n[t],r=i.event;i=i.listeners;e:{var o=void 0;if(e)for(var s=i.length-1;0<=s;s--){var a=i[s],l=a.instance,d=a.currentTarget;if(a=a.listener,l!==o&&r.isPropagationStopped())break e;nc1(r,a,d),o=l}else for(s=0;s<i.length;s++){if(a=i[s],l=a.instance,d=a.currentTarget,a=a.listener,l!==o&&r.isPropagationStopped())break e;nc1(r,a,d),o=l}}}if(iy)throw n=uq,iy=!1,uq=null,n}function Tr(n,e){var t=e[Mq];t===void 0&&(t=e[Mq]=new Set);var i=n+"__bubble";t.has(i)||(E41(e,n,2,!1),t.add(i))}function P$(n,e,t){var i=0;e&&(i|=4),E41(t,n,i,e)}var Rw="_reactListening"+Math.random().toString(36).slice(2);function DV(n){if(!n[Rw]){n[Rw]=!0,Pc1.forEach(function(t){t!=="selectionchange"&&(QN1.has(t)||P$(t,!1,n),P$(t,!0,n))});var e=n.nodeType===9?n:n.ownerDocument;e===null||e[Rw]||(e[Rw]=!0,P$("selectionchange",!1,e))}}function E41(n,e,t,i){switch(p41(e)){case 1:var r=CN1;break;case 4:r=pN1;break;default:r=Xq}t=r.bind(null,e,t,n),r=void 0,!cq||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(r=!0),i?r!==void 0?n.addEventListener(e,t,{capture:!0,passive:r}):n.addEventListener(e,t,!0):r!==void 0?n.addEventListener(e,t,{passive:r}):n.addEventListener(e,t,!1)}function F$(n,e,t,i,r){var o=i;if(!(e&1)&&!(e&2)&&i!==null)e:for(;;){if(i===null)return;var s=i.tag;if(s===3||s===4){var a=i.stateNode.containerInfo;if(a===r||a.nodeType===8&&a.parentNode===r)break;if(s===4)for(s=i.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===r||l.nodeType===8&&l.parentNode===r))return;s=s.return}for(;a!==null;){if(s=ou(a),s===null)return;if(l=s.tag,l===5||l===6){i=o=s;continue e}a=a.parentNode}}i=i.return}e41(function(){var d=o,c=Kq(t),u=[];e:{var h=y41.get(n);if(h!==void 0){var C=eK,p=n;switch(n){case"keypress":if($w(t)===0)break e;case"keydown":case"keyup":C=yN1;break;case"focusin":p="focus",C=N$;break;case"focusout":p="blur",C=N$;break;case"beforeblur":case"afterblur":C=N$;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=Ud1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=gN1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=DN1;break;case b41:case A41:case S41:C=VN1;break;case w41:C=TN1;break;case"scroll":C=mN1;break;case"wheel":C=ON1;break;case"copy":case"cut":case"paste":C=vN1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=$d1}var m=(e&4)!==0,H=!m&&n==="scroll",g=m?h!==null?h+"Capture":null:h;m=[];for(var L=d,V;L!==null;){V=L;var _=V.stateNode;if(V.tag===5&&_!==null&&(V=_,g!==null&&(_=AV(L,g),_!=null&&m.push(IV(L,_,V)))),H)break;L=L.return}0<m.length&&(h=new C(h,p,null,t,c),u.push({event:h,listeners:m}))}}if(!(e&7)){e:{if(h=n==="mouseover"||n==="pointerover",C=n==="mouseout"||n==="pointerout",h&&t!==lq&&(p=t.relatedTarget||t.fromElement)&&(ou(p)||p[f4]))break e;if((C||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,C?(p=t.relatedTarget||t.toElement,C=d,p=p?ou(p):null,p!==null&&(H=fu(p),p!==H||p.tag!==5&&p.tag!==6)&&(p=null)):(C=null,p=d),C!==p)){if(m=Ud1,_="onMouseLeave",g="onMouseEnter",L="mouse",(n==="pointerout"||n==="pointerover")&&(m=$d1,_="onPointerLeave",g="onPointerEnter",L="pointer"),H=C==null?h:Op(C),V=p==null?h:Op(p),h=new m(_,L+"leave",C,t,c),h.target=H,h.relatedTarget=V,_=null,ou(c)===d&&(m=new m(g,L+"enter",p,t,c),m.target=V,m.relatedTarget=H,_=m),H=_,C&&p)t:{for(m=C,g=p,L=0,V=m;V;V=kp(V))L++;for(V=0,_=g;_;_=kp(_))V++;for(;0<L-V;)m=kp(m),L--;for(;0<V-L;)g=kp(g),V--;for(;L--;){if(m===g||g!==null&&m===g.alternate)break t;m=kp(m),g=kp(g)}m=null}else m=null;C!==null&&rc1(u,h,C,m,!1),p!==null&&H!==null&&rc1(u,H,p,m,!0)}}e:{if(h=d?Op(d):window,C=h.nodeName&&h.nodeName.toLowerCase(),C==="select"||C==="input"&&h.type==="file")var b=WN1;else if(Gd1(h))if(V41)b=qN1;else{b=jN1;var M=UN1}else(C=h.nodeName)&&C.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(b=$N1);if(b&&(b=b(n,d))){H41(u,b,t,c);break e}M&&M(n,h,d),n==="focusout"&&(M=h._wrapperState)&&M.controlled&&h.type==="number"&&nq(h,"number",h.value)}switch(M=d?Op(d):window,n){case"focusin":(Gd1(M)||M.contentEditable==="true")&&(Tp=M,mq=d,HV=null);break;case"focusout":HV=mq=Tp=null;break;case"mousedown":fq=!0;break;case"contextmenu":case"mouseup":case"dragend":fq=!1,Jd1(u,t,c);break;case"selectionchange":if(YN1)break;case"keydown":case"keyup":Jd1(u,t,c)}var A;if(iK)e:{switch(n){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Ip?g41(n,t)&&(S="onCompositionEnd"):n==="keydown"&&t.keyCode===229&&(S="onCompositionStart");S&&(f41&&t.locale!=="ko"&&(Ip||S!=="onCompositionStart"?S==="onCompositionEnd"&&Ip&&(A=m41()):(X7=c,Jq="value"in X7?X7.value:X7.textContent,Ip=!0)),M=ay(d,S),0<M.length&&(S=new jd1(S,n,null,t,c),u.push({event:S,listeners:M}),A?S.data=A:(A=L41(t),A!==null&&(S.data=A)))),(A=PN1?FN1(n,t):BN1(n,t))&&(d=ay(d,"onBeforeInput"),0<d.length&&(c=new jd1("onBeforeInput","beforeinput",null,t,c),u.push({event:c,listeners:d}),c.data=A))}k41(u,e)})}function IV(n,e,t){return{instance:n,listener:e,currentTarget:t}}function ay(n,e){for(var t=e+"Capture",i=[];n!==null;){var r=n,o=r.stateNode;r.tag===5&&o!==null&&(r=o,o=AV(n,t),o!=null&&i.unshift(IV(n,o,r)),o=AV(n,e),o!=null&&i.push(IV(n,o,r))),n=n.return}return i}function kp(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function rc1(n,e,t,i,r){for(var o=e._reactName,s=[];t!==null&&t!==i;){var a=t,l=a.alternate,d=a.stateNode;if(l!==null&&l===i)break;a.tag===5&&d!==null&&(a=d,r?(l=AV(t,o),l!=null&&s.unshift(IV(t,l,a))):r||(l=AV(t,o),l!=null&&s.push(IV(t,l,a)))),t=t.return}s.length!==0&&n.push({event:e,listeners:s})}var XN1=/\r\n?/g,JN1=/\u0000|\uFFFD/g;function oc1(n){return(typeof n=="string"?n:""+n).replace(XN1,`
|
|
6
6
|
`).replace(JN1,"")}function Pw(n,e,t){if(e=oc1(e),oc1(n)!==e&&t)throw Error(ge(425))}function ly(){}var gq=null,Lq=null;function Hq(n,e){return n==="textarea"||n==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Vq=typeof setTimeout=="function"?setTimeout:void 0,eO1=typeof clearTimeout=="function"?clearTimeout:void 0,sc1=typeof Promise=="function"?Promise:void 0,tO1=typeof queueMicrotask=="function"?queueMicrotask:typeof sc1<"u"?function(n){return sc1.resolve(null).then(n).catch(iO1)}:Vq;function iO1(n){setTimeout(function(){throw n})}function B$(n,e){var t=e,i=0;do{var r=t.nextSibling;if(n.removeChild(t),r&&r.nodeType===8)if(t=r.data,t==="/$"){if(i===0){n.removeChild(r),yV(e);return}i--}else t!=="$"&&t!=="$?"&&t!=="$!"||i++;t=r}while(t);yV(e)}function n9(n){for(;n!=null;n=n.nextSibling){var e=n.nodeType;if(e===1||e===3)break;if(e===8){if(e=n.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return n}function ac1(n){n=n.previousSibling;for(var e=0;n;){if(n.nodeType===8){var t=n.data;if(t==="$"||t==="$!"||t==="$?"){if(e===0)return n;e--}else t==="/$"&&e++}n=n.previousSibling}return null}var nm=Math.random().toString(36).slice(2),vd="__reactFiber$"+nm,TV="__reactProps$"+nm,f4="__reactContainer$"+nm,Mq="__reactEvents$"+nm,nO1="__reactListeners$"+nm,rO1="__reactHandles$"+nm;function ou(n){var e=n[vd];if(e)return e;for(var t=n.parentNode;t;){if(e=t[f4]||t[vd]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(n=ac1(n);n!==null;){if(t=n[vd])return t;n=ac1(n)}return e}n=t,t=n.parentNode}return null}function WV(n){return n=n[vd]||n[f4],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Op(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(ge(33))}function wy(n){return n[TV]||null}var vq=[],Rp=-1;function u9(n){return{current:n}}function Nr(n){0>Rp||(n.current=vq[Rp],vq[Rp]=null,Rp--)}function Vr(n,e){Rp++,vq[Rp]=n.current,n.current=e}var d9={},ca=u9(d9),L5=u9(!1),cu=d9;function Yp(n,e){var t=n.type.contextTypes;if(!t)return d9;var i=n.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===e)return i.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in t)r[o]=e[o];return i&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=r),r}function H5(n){return n=n.childContextTypes,n!=null}function dy(){Nr(L5),Nr(ca)}function lc1(n,e,t){if(ca.current!==d9)throw Error(ge(168));Vr(ca,e),Vr(L5,t)}function D41(n,e,t){var i=n.stateNode;if(e=e.childContextTypes,typeof i.getChildContext!="function")return t;i=i.getChildContext();for(var r in i)if(!(r in e))throw Error(ge(108,UT1(n)||"Unknown",r));return ao({},t,i)}function cy(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||d9,cu=ca.current,Vr(ca,n),Vr(L5,L5.current),!0}function dc1(n,e,t){var i=n.stateNode;if(!i)throw Error(ge(169));t?(n=D41(n,e,cu),i.__reactInternalMemoizedMergedChildContext=n,Nr(L5),Nr(ca),Vr(ca,n)):Nr(L5),Vr(L5,t)}var u4=null,yy=!1,Z$=!1;function I41(n){u4===null?u4=[n]:u4.push(n)}function oO1(n){yy=!0,I41(n)}function h9(){if(!Z$&&u4!==null){Z$=!0;var n=0,e=nr;try{var t=u4;for(nr=1;n<t.length;n++){var i=t[n];do i=i(!0);while(i!==null)}u4=null,yy=!1}catch(r){throw u4!==null&&(u4=u4.slice(n+1)),r41(Gq,h9),r}finally{nr=e,Z$=!1}}return null}var Pp=[],Fp=0,uy=null,hy=0,nl=[],rl=0,uu=null,h4=1,C4="";function nu(n,e){Pp[Fp++]=hy,Pp[Fp++]=uy,uy=n,hy=e}function T41(n,e,t){nl[rl++]=h4,nl[rl++]=C4,nl[rl++]=uu,uu=n;var i=h4;n=C4;var r=32-e3(i)-1;i&=~(1<<r),t+=1;var o=32-e3(e)+r;if(30<o){var s=r-r%5;o=(i&(1<<s)-1).toString(32),i>>=s,r-=s,h4=1<<32-e3(e)+r|t<<r|i,C4=o+n}else h4=1<<o|t<<r|i,C4=n}function rK(n){n.return!==null&&(nu(n,1),T41(n,1,0))}function oK(n){for(;n===uy;)uy=Pp[--Fp],Pp[Fp]=null,hy=Pp[--Fp],Pp[Fp]=null;for(;n===uu;)uu=nl[--rl],nl[rl]=null,C4=nl[--rl],nl[rl]=null,h4=nl[--rl],nl[rl]=null}var s0=null,o0=null,$r=!1,Jl=null;function N41(n,e){var t=ol(5,null,null,0);t.elementType="DELETED",t.stateNode=e,t.return=n,e=n.deletions,e===null?(n.deletions=[t],n.flags|=16):e.push(t)}function cc1(n,e){switch(n.tag){case 5:var t=n.type;return e=e.nodeType!==1||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(n.stateNode=e,s0=n,o0=n9(e.firstChild),!0):!1;case 6:return e=n.pendingProps===""||e.nodeType!==3?null:e,e!==null?(n.stateNode=e,s0=n,o0=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(t=uu!==null?{id:h4,overflow:C4}:null,n.memoizedState={dehydrated:e,treeContext:t,retryLane:1073741824},t=ol(18,null,null,0),t.stateNode=e,t.return=n,n.child=t,s0=n,o0=null,!0):!1;default:return!1}}function _q(n){return(n.mode&1)!==0&&(n.flags&128)===0}function xq(n){if($r){var e=o0;if(e){var t=e;if(!cc1(n,e)){if(_q(n))throw Error(ge(418));e=n9(t.nextSibling);var i=s0;e&&cc1(n,e)?N41(i,t):(n.flags=n.flags&-4097|2,$r=!1,s0=n)}}else{if(_q(n))throw Error(ge(418));n.flags=n.flags&-4097|2,$r=!1,s0=n}}}function uc1(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;s0=n}function Fw(n){if(n!==s0)return!1;if(!$r)return uc1(n),$r=!0,!1;var e;if((e=n.tag!==3)&&!(e=n.tag!==5)&&(e=n.type,e=e!=="head"&&e!=="body"&&!Hq(n.type,n.memoizedProps)),e&&(e=o0)){if(_q(n))throw O41(),Error(ge(418));for(;e;)N41(n,e),e=n9(e.nextSibling)}if(uc1(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(ge(317));e:{for(n=n.nextSibling,e=0;n;){if(n.nodeType===8){var t=n.data;if(t==="/$"){if(e===0){o0=n9(n.nextSibling);break e}e--}else t!=="$"&&t!=="$!"&&t!=="$?"||e++}n=n.nextSibling}o0=null}}else o0=s0?n9(n.stateNode.nextSibling):null;return!0}function O41(){for(var n=o0;n;)n=n9(n.nextSibling)}function Qp(){o0=s0=null,$r=!1}function sK(n){Jl===null?Jl=[n]:Jl.push(n)}var sO1=H4.ReactCurrentBatchConfig;function Ql(n,e){if(n&&n.defaultProps){e=ao({},e),n=n.defaultProps;for(var t in n)e[t]===void 0&&(e[t]=n[t]);return e}return e}var Cy=u9(null),py=null,Bp=null,aK=null;function lK(){aK=Bp=py=null}function dK(n){var e=Cy.current;Nr(Cy),n._currentValue=e}function bq(n,e,t){for(;n!==null;){var i=n.alternate;if((n.childLanes&e)!==e?(n.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),n===t)break;n=n.return}}function qp(n,e){py=n,aK=Bp=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&e&&(g5=!0),n.firstContext=null)}function al(n){var e=n._currentValue;if(aK!==n)if(n={context:n,memoizedValue:e,next:null},Bp===null){if(py===null)throw Error(ge(308));Bp=n,py.dependencies={lanes:0,firstContext:n}}else Bp=Bp.next=n;return e}var su=null;function cK(n){su===null?su=[n]:su.push(n)}function R41(n,e,t,i){var r=e.interleaved;return r===null?(t.next=t,cK(e)):(t.next=r.next,r.next=t),e.interleaved=t,g4(n,i)}function g4(n,e){n.lanes|=e;var t=n.alternate;for(t!==null&&(t.lanes|=e),t=n,n=n.return;n!==null;)n.childLanes|=e,t=n.alternate,t!==null&&(t.childLanes|=e),t=n,n=n.return;return t.tag===3?t.stateNode:null}var G7=!1;function uK(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function P41(n,e){n=n.updateQueue,e.updateQueue===n&&(e.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function p4(n,e){return{eventTime:n,lane:e,tag:0,payload:null,callback:null,next:null}}function r9(n,e,t){var i=n.updateQueue;if(i===null)return null;if(i=i.shared,wn&2){var r=i.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),i.pending=e,g4(n,t)}return r=i.interleaved,r===null?(e.next=e,cK(i)):(e.next=r.next,r.next=e),i.interleaved=e,g4(n,t)}function qw(n,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194240)!==0)){var i=e.lanes;i&=n.pendingLanes,t|=i,e.lanes=t,Yq(n,t)}}function hc1(n,e){var t=n.updateQueue,i=n.alternate;if(i!==null&&(i=i.updateQueue,t===i)){var r=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var s={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?r=o=s:o=o.next=s,t=t.next}while(t!==null);o===null?r=o=e:o=o.next=e}else r=o=e;t={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:i.shared,effects:i.effects},n.updateQueue=t;return}n=t.lastBaseUpdate,n===null?t.firstBaseUpdate=e:n.next=e,t.lastBaseUpdate=e}function my(n,e,t,i){var r=n.updateQueue;G7=!1;var o=r.firstBaseUpdate,s=r.lastBaseUpdate,a=r.shared.pending;if(a!==null){r.shared.pending=null;var l=a,d=l.next;l.next=null,s===null?o=d:s.next=d,s=l;var c=n.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=d:a.next=d,c.lastBaseUpdate=l))}if(o!==null){var u=r.baseState;s=0,c=d=l=null,a=o;do{var h=a.lane,C=a.eventTime;if((i&h)===h){c!==null&&(c=c.next={eventTime:C,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=n,m=a;switch(h=e,C=t,m.tag){case 1:if(p=m.payload,typeof p=="function"){u=p.call(C,u,h);break e}u=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=m.payload,h=typeof p=="function"?p.call(C,u,h):p,h==null)break e;u=ao({},u,h);break e;case 2:G7=!0}}a.callback!==null&&a.lane!==0&&(n.flags|=64,h=r.effects,h===null?r.effects=[a]:h.push(a))}else C={eventTime:C,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(d=c=C,l=u):c=c.next=C,s|=h;if(a=a.next,a===null){if(a=r.shared.pending,a===null)break;h=a,a=h.next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}while(1);if(c===null&&(l=u),r.baseState=l,r.firstBaseUpdate=d,r.lastBaseUpdate=c,e=r.shared.interleaved,e!==null){r=e;do s|=r.lane,r=r.next;while(r!==e)}else o===null&&(r.shared.lanes=0);Cu|=s,n.lanes=s,n.memoizedState=u}}function Cc1(n,e,t){if(n=e.effects,e.effects=null,n!==null)for(e=0;e<n.length;e++){var i=n[e],r=i.callback;if(r!==null){if(i.callback=null,i=t,typeof r!="function")throw Error(ge(191,r));r.call(i)}}}var F41=new Rc1.Component().refs;function Aq(n,e,t,i){e=n.memoizedState,t=t(i,e),t=t==null?e:ao({},e,t),n.memoizedState=t,n.lanes===0&&(n.updateQueue.baseState=t)}var ky={isMounted:function(n){return(n=n._reactInternals)?fu(n)===n:!1},enqueueSetState:function(n,e,t){n=n._reactInternals;var i=Oa(),r=s9(n),o=p4(i,r);o.payload=e,t!=null&&(o.callback=t),e=r9(n,o,r),e!==null&&(t3(e,n,r,i),qw(e,n,r))},enqueueReplaceState:function(n,e,t){n=n._reactInternals;var i=Oa(),r=s9(n),o=p4(i,r);o.tag=1,o.payload=e,t!=null&&(o.callback=t),e=r9(n,o,r),e!==null&&(t3(e,n,r,i),qw(e,n,r))},enqueueForceUpdate:function(n,e){n=n._reactInternals;var t=Oa(),i=s9(n),r=p4(t,i);r.tag=2,e!=null&&(r.callback=e),e=r9(n,r,i),e!==null&&(t3(e,n,i,t),qw(e,n,i))}};function pc1(n,e,t,i,r,o,s){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(i,o,s):e.prototype&&e.prototype.isPureReactComponent?!EV(t,i)||!EV(r,o):!0}function B41(n,e,t){var i=!1,r=d9,o=e.contextType;return typeof o=="object"&&o!==null?o=al(o):(r=H5(e)?cu:ca.current,i=e.contextTypes,o=(i=i!=null)?Yp(n,r):d9),e=new e(t,o),n.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=ky,n.stateNode=e,e._reactInternals=n,i&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=o),e}function mc1(n,e,t,i){n=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(t,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(t,i),e.state!==n&&ky.enqueueReplaceState(e,e.state,null)}function Sq(n,e,t,i){var r=n.stateNode;r.props=t,r.state=n.memoizedState,r.refs=F41,uK(n);var o=e.contextType;typeof o=="object"&&o!==null?r.context=al(o):(o=H5(e)?cu:ca.current,r.context=Yp(n,o)),r.state=n.memoizedState,o=e.getDerivedStateFromProps,typeof o=="function"&&(Aq(n,e,o,t),r.state=n.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(e=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),e!==r.state&&ky.enqueueReplaceState(r,r.state,null),my(n,t,r,i),r.state=n.memoizedState),typeof r.componentDidMount=="function"&&(n.flags|=4194308)}function aV(n,e,t){if(n=t.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(ge(309));var i=t.stateNode}if(!i)throw Error(ge(147,n));var r=i,o=""+n;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===o?e.ref:(e=function(s){var a=r.refs;a===F41&&(a=r.refs={}),s===null?delete a[o]:a[o]=s},e._stringRef=o,e)}if(typeof n!="string")throw Error(ge(284));if(!t._owner)throw Error(ge(290,n))}return n}function Bw(n,e){throw n=Object.prototype.toString.call(e),Error(ge(31,n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n))}function fc1(n){var e=n._init;return e(n._payload)}function Z41(n){function e(g,L){if(n){var V=g.deletions;V===null?(g.deletions=[L],g.flags|=16):V.push(L)}}function t(g,L){if(!n)return null;for(;L!==null;)e(g,L),L=L.sibling;return null}function i(g,L){for(g=new Map;L!==null;)L.key!==null?g.set(L.key,L):g.set(L.index,L),L=L.sibling;return g}function r(g,L){return g=a9(g,L),g.index=0,g.sibling=null,g}function o(g,L,V){return g.index=V,n?(V=g.alternate,V!==null?(V=V.index,V<L?(g.flags|=2,L):V):(g.flags|=2,L)):(g.flags|=1048576,L)}function s(g){return n&&g.alternate===null&&(g.flags|=2),g}function a(g,L,V,_){return L===null||L.tag!==6?(L=K$(V,g.mode,_),L.return=g,L):(L=r(L,V),L.return=g,L)}function l(g,L,V,_){var b=V.type;return b===Dp?c(g,L,V.props.children,_,V.key):L!==null&&(L.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===K7&&fc1(b)===L.type)?(_=r(L,V.props),_.ref=aV(g,L,V),_.return=g,_):(_=Jw(V.type,V.key,V.props,null,g.mode,_),_.ref=aV(g,L,V),_.return=g,_)}function d(g,L,V,_){return L===null||L.tag!==4||L.stateNode.containerInfo!==V.containerInfo||L.stateNode.implementation!==V.implementation?(L=G$(V,g.mode,_),L.return=g,L):(L=r(L,V.children||[]),L.return=g,L)}function c(g,L,V,_,b){return L===null||L.tag!==7?(L=du(V,g.mode,_,b),L.return=g,L):(L=r(L,V),L.return=g,L)}function u(g,L,V){if(typeof L=="string"&&L!==""||typeof L=="number")return L=K$(""+L,g.mode,V),L.return=g,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case bw:return V=Jw(L.type,L.key,L.props,null,g.mode,V),V.ref=aV(g,null,L),V.return=g,V;case Ep:return L=G$(L,g.mode,V),L.return=g,L;case K7:var _=L._init;return u(g,_(L._payload),V)}if(hV(L)||nV(L))return L=du(L,g.mode,V,null),L.return=g,L;Bw(g,L)}return null}function h(g,L,V,_){var b=L!==null?L.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return b!==null?null:a(g,L,""+V,_);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case bw:return V.key===b?l(g,L,V,_):null;case Ep:return V.key===b?d(g,L,V,_):null;case K7:return b=V._init,h(g,L,b(V._payload),_)}if(hV(V)||nV(V))return b!==null?null:c(g,L,V,_,null);Bw(g,V)}return null}function C(g,L,V,_,b){if(typeof _=="string"&&_!==""||typeof _=="number")return g=g.get(V)||null,a(L,g,""+_,b);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case bw:return g=g.get(_.key===null?V:_.key)||null,l(L,g,_,b);case Ep:return g=g.get(_.key===null?V:_.key)||null,d(L,g,_,b);case K7:var M=_._init;return C(g,L,V,M(_._payload),b)}if(hV(_)||nV(_))return g=g.get(V)||null,c(L,g,_,b,null);Bw(L,_)}return null}function p(g,L,V,_){for(var b=null,M=null,A=L,S=L=0,I=null;A!==null&&S<V.length;S++){A.index>S?(I=A,A=null):I=A.sibling;var P=h(g,A,V[S],_);if(P===null){A===null&&(A=I);break}n&&A&&P.alternate===null&&e(g,A),L=o(P,L,S),M===null?b=P:M.sibling=P,M=P,A=I}if(S===V.length)return t(g,A),$r&&nu(g,S),b;if(A===null){for(;S<V.length;S++)A=u(g,V[S],_),A!==null&&(L=o(A,L,S),M===null?b=A:M.sibling=A,M=A);return $r&&nu(g,S),b}for(A=i(g,A);S<V.length;S++)I=C(A,g,S,V[S],_),I!==null&&(n&&I.alternate!==null&&A.delete(I.key===null?S:I.key),L=o(I,L,S),M===null?b=I:M.sibling=I,M=I);return n&&A.forEach(function(T){return e(g,T)}),$r&&nu(g,S),b}function m(g,L,V,_){var b=nV(V);if(typeof b!="function")throw Error(ge(150));if(V=b.call(V),V==null)throw Error(ge(151));for(var M=b=null,A=L,S=L=0,I=null,P=V.next();A!==null&&!P.done;S++,P=V.next()){A.index>S?(I=A,A=null):I=A.sibling;var T=h(g,A,P.value,_);if(T===null){A===null&&(A=I);break}n&&A&&T.alternate===null&&e(g,A),L=o(T,L,S),M===null?b=T:M.sibling=T,M=T,A=I}if(P.done)return t(g,A),$r&&nu(g,S),b;if(A===null){for(;!P.done;S++,P=V.next())P=u(g,P.value,_),P!==null&&(L=o(P,L,S),M===null?b=P:M.sibling=P,M=P);return $r&&nu(g,S),b}for(A=i(g,A);!P.done;S++,P=V.next())P=C(A,g,S,P.value,_),P!==null&&(n&&P.alternate!==null&&A.delete(P.key===null?S:P.key),L=o(P,L,S),M===null?b=P:M.sibling=P,M=P);return n&&A.forEach(function(R){return e(g,R)}),$r&&nu(g,S),b}function H(g,L,V,_){if(typeof V=="object"&&V!==null&&V.type===Dp&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case bw:e:{for(var b=V.key,M=L;M!==null;){if(M.key===b){if(b=V.type,b===Dp){if(M.tag===7){t(g,M.sibling),L=r(M,V.props.children),L.return=g,g=L;break e}}else if(M.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===K7&&fc1(b)===M.type){t(g,M.sibling),L=r(M,V.props),L.ref=aV(g,M,V),L.return=g,g=L;break e}t(g,M);break}else e(g,M);M=M.sibling}V.type===Dp?(L=du(V.props.children,g.mode,_,V.key),L.return=g,g=L):(_=Jw(V.type,V.key,V.props,null,g.mode,_),_.ref=aV(g,L,V),_.return=g,g=_)}return s(g);case Ep:e:{for(M=V.key;L!==null;){if(L.key===M)if(L.tag===4&&L.stateNode.containerInfo===V.containerInfo&&L.stateNode.implementation===V.implementation){t(g,L.sibling),L=r(L,V.children||[]),L.return=g,g=L;break e}else{t(g,L);break}else e(g,L);L=L.sibling}L=G$(V,g.mode,_),L.return=g,g=L}return s(g);case K7:return M=V._init,H(g,L,M(V._payload),_)}if(hV(V))return p(g,L,V,_);if(nV(V))return m(g,L,V,_);Bw(g,V)}return typeof V=="string"&&V!==""||typeof V=="number"?(V=""+V,L!==null&&L.tag===6?(t(g,L.sibling),L=r(L,V),L.return=g,g=L):(t(g,L),L=K$(V,g.mode,_),L.return=g,g=L),s(g)):t(g,L)}return H}var Xp=Z41(!0),z41=Z41(!1),UV={},xd=u9(UV),NV=u9(UV),OV=u9(UV);function au(n){if(n===UV)throw Error(ge(174));return n}function hK(n,e){switch(Vr(OV,e),Vr(NV,n),Vr(xd,UV),n=e.nodeType,n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:oq(null,"");break;default:n=n===8?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=oq(e,n)}Nr(xd),Vr(xd,e)}function Jp(){Nr(xd),Nr(NV),Nr(OV)}function W41(n){au(OV.current);var e=au(xd.current),t=oq(e,n.type);e!==t&&(Vr(NV,n),Vr(xd,t))}function CK(n){NV.current===n&&(Nr(xd),Nr(NV))}var oo=u9(0);function fy(n){for(var e=n;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var z$=[];function pK(){for(var n=0;n<z$.length;n++)z$[n]._workInProgressVersionPrimary=null;z$.length=0}var Kw=H4.ReactCurrentDispatcher,W$=H4.ReactCurrentBatchConfig,hu=0,so=null,E2=null,ns=null,gy=!1,VV=!1,RV=0,aO1=0;function aa(){throw Error(ge(321))}function mK(n,e){if(e===null)return!1;for(var t=0;t<e.length&&t<n.length;t++)if(!i3(n[t],e[t]))return!1;return!0}function fK(n,e,t,i,r,o){if(hu=o,so=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Kw.current=n===null||n.memoizedState===null?uO1:hO1,n=t(i,r),VV){o=0;do{if(VV=!1,RV=0,25<=o)throw Error(ge(301));o+=1,ns=E2=null,e.updateQueue=null,Kw.current=CO1,n=t(i,r)}while(VV)}if(Kw.current=Ly,e=E2!==null&&E2.next!==null,hu=0,ns=E2=so=null,gy=!1,e)throw Error(ge(300));return n}function gK(){var n=RV!==0;return RV=0,n}function Md(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ns===null?so.memoizedState=ns=n:ns=ns.next=n,ns}function ll(){if(E2===null){var n=so.alternate;n=n!==null?n.memoizedState:null}else n=E2.next;var e=ns===null?so.memoizedState:ns.next;if(e!==null)ns=e,E2=n;else{if(n===null)throw Error(ge(310));E2=n,n={memoizedState:E2.memoizedState,baseState:E2.baseState,baseQueue:E2.baseQueue,queue:E2.queue,next:null},ns===null?so.memoizedState=ns=n:ns=ns.next=n}return ns}function PV(n,e){return typeof e=="function"?e(n):e}function U$(n){var e=ll(),t=e.queue;if(t===null)throw Error(ge(311));t.lastRenderedReducer=n;var i=E2,r=i.baseQueue,o=t.pending;if(o!==null){if(r!==null){var s=r.next;r.next=o.next,o.next=s}i.baseQueue=r=o,t.pending=null}if(r!==null){o=r.next,i=i.baseState;var a=s=null,l=null,d=o;do{var c=d.lane;if((hu&c)===c)l!==null&&(l=l.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),i=d.hasEagerState?d.eagerState:n(i,d.action);else{var u={lane:c,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};l===null?(a=l=u,s=i):l=l.next=u,so.lanes|=c,Cu|=c}d=d.next}while(d!==null&&d!==o);l===null?s=i:l.next=a,i3(i,e.memoizedState)||(g5=!0),e.memoizedState=i,e.baseState=s,e.baseQueue=l,t.lastRenderedState=i}if(n=t.interleaved,n!==null){r=n;do o=r.lane,so.lanes|=o,Cu|=o,r=r.next;while(r!==n)}else r===null&&(t.lanes=0);return[e.memoizedState,t.dispatch]}function j$(n){var e=ll(),t=e.queue;if(t===null)throw Error(ge(311));t.lastRenderedReducer=n;var i=t.dispatch,r=t.pending,o=e.memoizedState;if(r!==null){t.pending=null;var s=r=r.next;do o=n(o,s.action),s=s.next;while(s!==r);i3(o,e.memoizedState)||(g5=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),t.lastRenderedState=o}return[o,i]}function U41(){}function j41(n,e){var t=so,i=ll(),r=e(),o=!i3(i.memoizedState,r);if(o&&(i.memoizedState=r,g5=!0),i=i.queue,LK(K41.bind(null,t,i,n),[n]),i.getSnapshot!==e||o||ns!==null&&ns.memoizedState.tag&1){if(t.flags|=2048,FV(9,q41.bind(null,t,i,r,e),void 0,null),rs===null)throw Error(ge(349));hu&30||$41(t,e,r)}return r}function $41(n,e,t){n.flags|=16384,n={getSnapshot:e,value:t},e=so.updateQueue,e===null?(e={lastEffect:null,stores:null},so.updateQueue=e,e.stores=[n]):(t=e.stores,t===null?e.stores=[n]:t.push(n))}function q41(n,e,t,i){e.value=t,e.getSnapshot=i,G41(e)&&Y41(n)}function K41(n,e,t){return t(function(){G41(e)&&Y41(n)})}function G41(n){var e=n.getSnapshot;n=n.value;try{var t=e();return!i3(n,t)}catch{return!0}}function Y41(n){var e=g4(n,1);e!==null&&t3(e,n,1,-1)}function gc1(n){var e=Md();return typeof n=="function"&&(n=n()),e.memoizedState=e.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:PV,lastRenderedState:n},e.queue=n,n=n.dispatch=cO1.bind(null,so,n),[e.memoizedState,n]}function FV(n,e,t,i){return n={tag:n,create:e,destroy:t,deps:i,next:null},e=so.updateQueue,e===null?(e={lastEffect:null,stores:null},so.updateQueue=e,e.lastEffect=n.next=n):(t=e.lastEffect,t===null?e.lastEffect=n.next=n:(i=t.next,t.next=n,n.next=i,e.lastEffect=n)),n}function Q41(){return ll().memoizedState}function Gw(n,e,t,i){var r=Md();so.flags|=n,r.memoizedState=FV(1|e,t,void 0,i===void 0?null:i)}function Ey(n,e,t,i){var r=ll();i=i===void 0?null:i;var o=void 0;if(E2!==null){var s=E2.memoizedState;if(o=s.destroy,i!==null&&mK(i,s.deps)){r.memoizedState=FV(e,t,o,i);return}}so.flags|=n,r.memoizedState=FV(1|e,t,o,i)}function Lc1(n,e){return Gw(8390656,8,n,e)}function LK(n,e){return Ey(2048,8,n,e)}function X41(n,e){return Ey(4,2,n,e)}function J41(n,e){return Ey(4,4,n,e)}function e71(n,e){if(typeof e=="function")return n=n(),e(n),function(){e(null)};if(e!=null)return n=n(),e.current=n,function(){e.current=null}}function t71(n,e,t){return t=t!=null?t.concat([n]):null,Ey(4,4,e71.bind(null,e,n),t)}function HK(){}function i71(n,e){var t=ll();e=e===void 0?null:e;var i=t.memoizedState;return i!==null&&e!==null&&mK(e,i[1])?i[0]:(t.memoizedState=[n,e],n)}function n71(n,e){var t=ll();e=e===void 0?null:e;var i=t.memoizedState;return i!==null&&e!==null&&mK(e,i[1])?i[0]:(n=n(),t.memoizedState=[n,e],n)}function r71(n,e,t){return hu&21?(i3(t,e)||(t=a41(),so.lanes|=t,Cu|=t,n.baseState=!0),e):(n.baseState&&(n.baseState=!1,g5=!0),n.memoizedState=t)}function lO1(n,e){var t=nr;nr=t!==0&&4>t?t:4,n(!0);var i=W$.transition;W$.transition={};try{n(!1),e()}finally{nr=t,W$.transition=i}}function o71(){return ll().memoizedState}function dO1(n,e,t){var i=s9(n);if(t={lane:i,action:t,hasEagerState:!1,eagerState:null,next:null},s71(n))a71(e,t);else if(t=R41(n,e,t,i),t!==null){var r=Oa();t3(t,n,i,r),l71(t,e,i)}}function cO1(n,e,t){var i=s9(n),r={lane:i,action:t,hasEagerState:!1,eagerState:null,next:null};if(s71(n))a71(e,r);else{var o=n.alternate;if(n.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,t);if(r.hasEagerState=!0,r.eagerState=a,i3(a,s)){var l=e.interleaved;l===null?(r.next=r,cK(e)):(r.next=l.next,l.next=r),e.interleaved=r;return}}catch{}finally{}t=R41(n,e,r,i),t!==null&&(r=Oa(),t3(t,n,i,r),l71(t,e,i))}}function s71(n){var e=n.alternate;return n===so||e!==null&&e===so}function a71(n,e){VV=gy=!0;var t=n.pending;t===null?e.next=e:(e.next=t.next,t.next=e),n.pending=e}function l71(n,e,t){if(t&4194240){var i=e.lanes;i&=n.pendingLanes,t|=i,e.lanes=t,Yq(n,t)}}var Ly={readContext:al,useCallback:aa,useContext:aa,useEffect:aa,useImperativeHandle:aa,useInsertionEffect:aa,useLayoutEffect:aa,useMemo:aa,useReducer:aa,useRef:aa,useState:aa,useDebugValue:aa,useDeferredValue:aa,useTransition:aa,useMutableSource:aa,useSyncExternalStore:aa,useId:aa,unstable_isNewReconciler:!1},uO1={readContext:al,useCallback:function(n,e){return Md().memoizedState=[n,e===void 0?null:e],n},useContext:al,useEffect:Lc1,useImperativeHandle:function(n,e,t){return t=t!=null?t.concat([n]):null,Gw(4194308,4,e71.bind(null,e,n),t)},useLayoutEffect:function(n,e){return Gw(4194308,4,n,e)},useInsertionEffect:function(n,e){return Gw(4,2,n,e)},useMemo:function(n,e){var t=Md();return e=e===void 0?null:e,n=n(),t.memoizedState=[n,e],n},useReducer:function(n,e,t){var i=Md();return e=t!==void 0?t(e):e,i.memoizedState=i.baseState=e,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:e},i.queue=n,n=n.dispatch=dO1.bind(null,so,n),[i.memoizedState,n]},useRef:function(n){var e=Md();return n={current:n},e.memoizedState=n},useState:gc1,useDebugValue:HK,useDeferredValue:function(n){return Md().memoizedState=n},useTransition:function(){var n=gc1(!1),e=n[0];return n=lO1.bind(null,n[1]),Md().memoizedState=n,[e,n]},useMutableSource:function(){},useSyncExternalStore:function(n,e,t){var i=so,r=Md();if($r){if(t===void 0)throw Error(ge(407));t=t()}else{if(t=e(),rs===null)throw Error(ge(349));hu&30||$41(i,e,t)}r.memoizedState=t;var o={value:t,getSnapshot:e};return r.queue=o,Lc1(K41.bind(null,i,o,n),[n]),i.flags|=2048,FV(9,q41.bind(null,i,o,t,e),void 0,null),t},useId:function(){var n=Md(),e=rs.identifierPrefix;if($r){var t=C4,i=h4;t=(i&~(1<<32-e3(i)-1)).toString(32)+t,e=":"+e+"R"+t,t=RV++,0<t&&(e+="H"+t.toString(32)),e+=":"}else t=aO1++,e=":"+e+"r"+t.toString(32)+":";return n.memoizedState=e},unstable_isNewReconciler:!1},hO1={readContext:al,useCallback:i71,useContext:al,useEffect:LK,useImperativeHandle:t71,useInsertionEffect:X41,useLayoutEffect:J41,useMemo:n71,useReducer:U$,useRef:Q41,useState:function(){return U$(PV)},useDebugValue:HK,useDeferredValue:function(n){var e=ll();return r71(e,E2.memoizedState,n)},useTransition:function(){var n=U$(PV)[0],e=ll().memoizedState;return[n,e]},useMutableSource:U41,useSyncExternalStore:j41,useId:o71,unstable_isNewReconciler:!1},CO1={readContext:al,useCallback:i71,useContext:al,useEffect:LK,useImperativeHandle:t71,useInsertionEffect:X41,useLayoutEffect:J41,useMemo:n71,useReducer:j$,useRef:Q41,useState:function(){return j$(PV)},useDebugValue:HK,useDeferredValue:function(n){var e=ll();return E2===null?e.memoizedState=n:r71(e,E2.memoizedState,n)},useTransition:function(){var n=j$(PV)[0],e=ll().memoizedState;return[n,e]},useMutableSource:U41,useSyncExternalStore:j41,useId:o71,unstable_isNewReconciler:!1};function em(n,e){try{var t="",i=e;do t+=WT1(i),i=i.return;while(i);var r=t}catch(o){r=`
|
|
7
7
|
Error generating stack: `+o.message+`
|
|
8
|
-
`+o.stack}return{value:n,source:e,stack:r,digest:null}}function $$(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function wq(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var pO1=typeof WeakMap=="function"?WeakMap:Map;function d71(n,e,t){t=p4(-1,t),t.tag=3,t.payload={element:null};var i=e.value;return t.callback=function(){Vy||(Vy=!0,Pq=i),wq(n,e)},t}function c71(n,e,t){t=p4(-1,t),t.tag=3;var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var r=e.value;t.payload=function(){return i(r)},t.callback=function(){wq(n,e)}}var o=n.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){wq(n,e),typeof i!="function"&&(o9===null?o9=new Set([this]):o9.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),t}function Hc1(n,e,t){var i=n.pingCache;if(i===null){i=n.pingCache=new pO1;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(t)||(r.add(t),n=wO1.bind(null,n,e,t),e.then(n,n))}function Vc1(n){do{var e;if((e=n.tag===13)&&(e=n.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return n;n=n.return}while(n!==null);return null}function Mc1(n,e,t,i,r){return n.mode&1?(n.flags|=65536,n.lanes=r,n):(n===e?n.flags|=65536:(n.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(e=p4(-1,1),e.tag=2,r9(t,e,1))),t.lanes|=1),n)}var mO1=H4.ReactCurrentOwner,g5=!1;function Na(n,e,t,i){e.child=n===null?z41(e,null,t,i):Xp(e,n.child,t,i)}function vc1(n,e,t,i,r){t=t.render;var o=e.ref;return qp(e,r),i=fK(n,e,t,i,o,r),t=gK(),n!==null&&!g5?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~r,L4(n,e,r)):($r&&t&&rK(e),e.flags|=1,Na(n,e,i,r),e.child)}function _c1(n,e,t,i,r){if(n===null){var o=t.type;return typeof o=="function"&&!SK(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(e.tag=15,e.type=o,u71(n,e,o,i,r)):(n=Jw(t.type,null,i,e,e.mode,r),n.ref=e.ref,n.return=e,e.child=n)}if(o=n.child,!(n.lanes&r)){var s=o.memoizedProps;if(t=t.compare,t=t!==null?t:EV,t(s,i)&&n.ref===e.ref)return L4(n,e,r)}return e.flags|=1,n=a9(o,i),n.ref=e.ref,n.return=e,e.child=n}function u71(n,e,t,i,r){if(n!==null){var o=n.memoizedProps;if(EV(o,i)&&n.ref===e.ref)if(g5=!1,e.pendingProps=i=o,(n.lanes&r)!==0)n.flags&131072&&(g5=!0);else return e.lanes=n.lanes,L4(n,e,r)}return yq(n,e,t,i,r)}function h71(n,e,t){var i=e.pendingProps,r=i.children,o=n!==null?n.memoizedState:null;if(i.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Vr(zp,r0),r0|=t;else{if(!(t&1073741824))return n=o!==null?o.baseLanes|t:t,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:n,cachePool:null,transitions:null},e.updateQueue=null,Vr(zp,r0),r0|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=o!==null?o.baseLanes:t,Vr(zp,r0),r0|=i}else o!==null?(i=o.baseLanes|t,e.memoizedState=null):i=t,Vr(zp,r0),r0|=i;return Na(n,e,r,t),e.child}function C71(n,e){var t=e.ref;(n===null&&t!==null||n!==null&&n.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function yq(n,e,t,i,r){var o=H5(t)?cu:ca.current;return o=Yp(e,o),qp(e,r),t=fK(n,e,t,i,o,r),i=gK(),n!==null&&!g5?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~r,L4(n,e,r)):($r&&i&&rK(e),e.flags|=1,Na(n,e,t,r),e.child)}function xc1(n,e,t,i,r){if(H5(t)){var o=!0;cy(e)}else o=!1;if(qp(e,r),e.stateNode===null)Yw(n,e),B41(e,t,i),Sq(e,t,i,r),i=!0;else if(n===null){var s=e.stateNode,a=e.memoizedProps;s.props=a;var l=s.context,d=t.contextType;typeof d=="object"&&d!==null?d=al(d):(d=H5(t)?cu:ca.current,d=Yp(e,d));var c=t.getDerivedStateFromProps,u=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";u||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==i||l!==d)&&mc1(e,s,i,d),G7=!1;var h=e.memoizedState;s.state=h,my(e,i,s,r),l=e.memoizedState,a!==i||h!==l||L5.current||G7?(typeof c=="function"&&(Aq(e,t,c,i),l=e.memoizedState),(a=G7||pc1(e,t,a,i,h,l,d))?(u||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=l),s.props=i,s.state=l,s.context=d,i=a):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{s=e.stateNode,P41(n,e),a=e.memoizedProps,d=e.type===e.elementType?a:Ql(e.type,a),s.props=d,u=e.pendingProps,h=s.context,l=t.contextType,typeof l=="object"&&l!==null?l=al(l):(l=H5(t)?cu:ca.current,l=Yp(e,l));var C=t.getDerivedStateFromProps;(c=typeof C=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==u||h!==l)&&mc1(e,s,i,l),G7=!1,h=e.memoizedState,s.state=h,my(e,i,s,r);var p=e.memoizedState;a!==u||h!==p||L5.current||G7?(typeof C=="function"&&(Aq(e,t,C,i),p=e.memoizedState),(d=G7||pc1(e,t,d,i,h,p,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,p,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,p,l)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=p),s.props=i,s.state=p,s.context=l,i=d):(typeof s.componentDidUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=1024),i=!1)}return kq(n,e,t,i,o,r)}function kq(n,e,t,i,r,o){C71(n,e);var s=(e.flags&128)!==0;if(!i&&!s)return r&&dc1(e,t,!1),L4(n,e,o);i=e.stateNode,mO1.current=e;var a=s&&typeof t.getDerivedStateFromError!="function"?null:i.render();return e.flags|=1,n!==null&&s?(e.child=Xp(e,n.child,null,o),e.child=Xp(e,null,a,o)):Na(n,e,a,o),e.memoizedState=i.state,r&&dc1(e,t,!0),e.child}function p71(n){var e=n.stateNode;e.pendingContext?lc1(n,e.pendingContext,e.pendingContext!==e.context):e.context&&lc1(n,e.context,!1),hK(n,e.containerInfo)}function bc1(n,e,t,i,r){return Qp(),sK(r),e.flags|=256,Na(n,e,t,i),e.child}var Eq={dehydrated:null,treeContext:null,retryLane:0};function Dq(n){return{baseLanes:n,cachePool:null,transitions:null}}function m71(n,e,t){var i=e.pendingProps,r=oo.current,o=!1,s=(e.flags&128)!==0,a;if((a=s)||(a=n!==null&&n.memoizedState===null?!1:(r&2)!==0),a?(o=!0,e.flags&=-129):(n===null||n.memoizedState!==null)&&(r|=1),Vr(oo,r&1),n===null)return xq(e),n=e.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(e.mode&1?n.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=i.children,n=i.fallback,o?(i=e.mode,o=e.child,s={mode:"hidden",children:s},!(i&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Ty(s,i,0,null),n=du(n,i,t,null),o.return=e,n.return=e,o.sibling=n,e.child=o,e.child.memoizedState=Dq(t),e.memoizedState=Eq,n):VK(e,s));if(r=n.memoizedState,r!==null&&(a=r.dehydrated,a!==null))return fO1(n,e,s,i,a,r,t);if(o){o=i.fallback,s=e.mode,r=n.child,a=r.sibling;var l={mode:"hidden",children:i.children};return!(s&1)&&e.child!==r?(i=e.child,i.childLanes=0,i.pendingProps=l,e.deletions=null):(i=a9(r,l),i.subtreeFlags=r.subtreeFlags&14680064),a!==null?o=a9(a,o):(o=du(o,s,t,null),o.flags|=2),o.return=e,i.return=e,i.sibling=o,e.child=i,i=o,o=e.child,s=n.child.memoizedState,s=s===null?Dq(t):{baseLanes:s.baseLanes|t,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=n.childLanes&~t,e.memoizedState=Eq,i}return o=n.child,n=o.sibling,i=a9(o,{mode:"visible",children:i.children}),!(e.mode&1)&&(i.lanes=t),i.return=e,i.sibling=null,n!==null&&(t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)),e.child=i,e.memoizedState=null,i}function VK(n,e){return e=Ty({mode:"visible",children:e},n.mode,0,null),e.return=n,n.child=e}function Zw(n,e,t,i){return i!==null&&sK(i),Xp(e,n.child,null,t),n=VK(e,e.pendingProps.children),n.flags|=2,e.memoizedState=null,n}function fO1(n,e,t,i,r,o,s){if(t)return e.flags&256?(e.flags&=-257,i=$$(Error(ge(422))),Zw(n,e,s,i)):e.memoizedState!==null?(e.child=n.child,e.flags|=128,null):(o=i.fallback,r=e.mode,i=Ty({mode:"visible",children:i.children},r,0,null),o=du(o,r,s,null),o.flags|=2,i.return=e,o.return=e,i.sibling=o,e.child=i,e.mode&1&&Xp(e,n.child,null,s),e.child.memoizedState=Dq(s),e.memoizedState=Eq,o);if(!(e.mode&1))return Zw(n,e,s,null);if(r.data==="$!"){if(i=r.nextSibling&&r.nextSibling.dataset,i)var a=i.dgst;return i=a,o=Error(ge(419)),i=$$(o,i,void 0),Zw(n,e,s,i)}if(a=(s&n.childLanes)!==0,g5||a){if(i=rs,i!==null){switch(s&-s){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(i.suspendedLanes|s)?0:r,r!==0&&r!==o.retryLane&&(o.retryLane=r,g4(n,r),t3(i,n,r,-1))}return AK(),i=$$(Error(ge(421))),Zw(n,e,s,i)}return r.data==="$?"?(e.flags|=128,e.child=n.child,e=yO1.bind(null,n),r._reactRetry=e,null):(n=o.treeContext,o0=n9(r.nextSibling),s0=e,$r=!0,Jl=null,n!==null&&(nl[rl++]=h4,nl[rl++]=C4,nl[rl++]=uu,h4=n.id,C4=n.overflow,uu=e),e=VK(e,i.children),e.flags|=4096,e)}function Ac1(n,e,t){n.lanes|=e;var i=n.alternate;i!==null&&(i.lanes|=e),bq(n.return,e,t)}function q$(n,e,t,i,r){var o=n.memoizedState;o===null?n.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:t,tailMode:r}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=i,o.tail=t,o.tailMode=r)}function f71(n,e,t){var i=e.pendingProps,r=i.revealOrder,o=i.tail;if(Na(n,e,i.children,t),i=oo.current,i&2)i=i&1|2,e.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=e.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ac1(n,t,e);else if(n.tag===19)Ac1(n,t,e);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}i&=1}if(Vr(oo,i),!(e.mode&1))e.memoizedState=null;else switch(r){case"forwards":for(t=e.child,r=null;t!==null;)n=t.alternate,n!==null&&fy(n)===null&&(r=t),t=t.sibling;t=r,t===null?(r=e.child,e.child=null):(r=t.sibling,t.sibling=null),q$(e,!1,r,t,o);break;case"backwards":for(t=null,r=e.child,e.child=null;r!==null;){if(n=r.alternate,n!==null&&fy(n)===null){e.child=r;break}n=r.sibling,r.sibling=t,t=r,r=n}q$(e,!0,t,null,o);break;case"together":q$(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Yw(n,e){!(e.mode&1)&&n!==null&&(n.alternate=null,e.alternate=null,e.flags|=2)}function L4(n,e,t){if(n!==null&&(e.dependencies=n.dependencies),Cu|=e.lanes,!(t&e.childLanes))return null;if(n!==null&&e.child!==n.child)throw Error(ge(153));if(e.child!==null){for(n=e.child,t=a9(n,n.pendingProps),e.child=t,t.return=e;n.sibling!==null;)n=n.sibling,t=t.sibling=a9(n,n.pendingProps),t.return=e;t.sibling=null}return e.child}function gO1(n,e,t){switch(e.tag){case 3:p71(e),Qp();break;case 5:W41(e);break;case 1:H5(e.type)&&cy(e);break;case 4:hK(e,e.stateNode.containerInfo);break;case 10:var i=e.type._context,r=e.memoizedProps.value;Vr(Cy,i._currentValue),i._currentValue=r;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(Vr(oo,oo.current&1),e.flags|=128,null):t&e.child.childLanes?m71(n,e,t):(Vr(oo,oo.current&1),n=L4(n,e,t),n!==null?n.sibling:null);Vr(oo,oo.current&1);break;case 19:if(i=(t&e.childLanes)!==0,n.flags&128){if(i)return f71(n,e,t);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Vr(oo,oo.current),i)break;return null;case 22:case 23:return e.lanes=0,h71(n,e,t)}return L4(n,e,t)}var g71,Iq,L71,H71;g71=function(n,e){for(var t=e.child;t!==null;){if(t.tag===5||t.tag===6)n.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};Iq=function(){};L71=function(n,e,t,i){var r=n.memoizedProps;if(r!==i){n=e.stateNode,au(xd.current);var o=null;switch(t){case"input":r=tq(n,r),i=tq(n,i),o=[];break;case"select":r=ao({},r,{value:void 0}),i=ao({},i,{value:void 0}),o=[];break;case"textarea":r=rq(n,r),i=rq(n,i),o=[];break;default:typeof r.onClick!="function"&&typeof i.onClick=="function"&&(n.onclick=ly)}sq(t,i);var s;t=null;for(d in r)if(!i.hasOwnProperty(d)&&r.hasOwnProperty(d)&&r[d]!=null)if(d==="style"){var a=r[d];for(s in a)a.hasOwnProperty(s)&&(t||(t={}),t[s]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(xV.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in i){var l=i[d];if(a=r?.[d],i.hasOwnProperty(d)&&l!==a&&(l!=null||a!=null))if(d==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(t||(t={}),t[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(t||(t={}),t[s]=l[s])}else t||(o||(o=[]),o.push(d,t)),t=l;else d==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(d,l)):d==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(d,""+l):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(xV.hasOwnProperty(d)?(l!=null&&d==="onScroll"&&Tr("scroll",n),o||a===l||(o=[])):(o=o||[]).push(d,l))}t&&(o=o||[]).push("style",t);var d=o;(e.updateQueue=d)&&(e.flags|=4)}};H71=function(n,e,t,i){t!==i&&(e.flags|=4)};function lV(n,e){if(!$r)switch(n.tailMode){case"hidden":e=n.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?n.tail=null:t.sibling=null;break;case"collapsed":t=n.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e||n.tail===null?n.tail=null:n.tail.sibling=null:i.sibling=null}}function la(n){var e=n.alternate!==null&&n.alternate.child===n.child,t=0,i=0;if(e)for(var r=n.child;r!==null;)t|=r.lanes|r.childLanes,i|=r.subtreeFlags&14680064,i|=r.flags&14680064,r.return=n,r=r.sibling;else for(r=n.child;r!==null;)t|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=n,r=r.sibling;return n.subtreeFlags|=i,n.childLanes=t,e}function LO1(n,e,t){var i=e.pendingProps;switch(oK(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return la(e),null;case 1:return H5(e.type)&&dy(),la(e),null;case 3:return i=e.stateNode,Jp(),Nr(L5),Nr(ca),pK(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Fw(e)?e.flags|=4:n===null||n.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Jl!==null&&(Zq(Jl),Jl=null))),Iq(n,e),la(e),null;case 5:CK(e);var r=au(OV.current);if(t=e.type,n!==null&&e.stateNode!=null)L71(n,e,t,i,r),n.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!i){if(e.stateNode===null)throw Error(ge(166));return la(e),null}if(n=au(xd.current),Fw(e)){i=e.stateNode,t=e.type;var o=e.memoizedProps;switch(i[vd]=e,i[TV]=o,n=(e.mode&1)!==0,t){case"dialog":Tr("cancel",i),Tr("close",i);break;case"iframe":case"object":case"embed":Tr("load",i);break;case"video":case"audio":for(r=0;r<pV.length;r++)Tr(pV[r],i);break;case"source":Tr("error",i);break;case"img":case"image":case"link":Tr("error",i),Tr("load",i);break;case"details":Tr("toggle",i);break;case"input":Td1(i,o),Tr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!o.multiple},Tr("invalid",i);break;case"textarea":Od1(i,o),Tr("invalid",i)}sq(t,o),r=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?i.textContent!==a&&(o.suppressHydrationWarning!==!0&&Pw(i.textContent,a,n),r=["children",a]):typeof a=="number"&&i.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Pw(i.textContent,a,n),r=["children",""+a]):xV.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Tr("scroll",i)}switch(t){case"input":Aw(i),Nd1(i,o,!0);break;case"textarea":Aw(i),Rd1(i);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(i.onclick=ly)}i=r,e.updateQueue=i,i!==null&&(e.flags|=4)}else{s=r.nodeType===9?r:r.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=$c1(t)),n==="http://www.w3.org/1999/xhtml"?t==="script"?(n=s.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof i.is=="string"?n=s.createElement(t,{is:i.is}):(n=s.createElement(t),t==="select"&&(s=n,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):n=s.createElementNS(n,t),n[vd]=e,n[TV]=i,g71(n,e,!1,!1),e.stateNode=n;e:{switch(s=aq(t,i),t){case"dialog":Tr("cancel",n),Tr("close",n),r=i;break;case"iframe":case"object":case"embed":Tr("load",n),r=i;break;case"video":case"audio":for(r=0;r<pV.length;r++)Tr(pV[r],n);r=i;break;case"source":Tr("error",n),r=i;break;case"img":case"image":case"link":Tr("error",n),Tr("load",n),r=i;break;case"details":Tr("toggle",n),r=i;break;case"input":Td1(n,i),r=tq(n,i),Tr("invalid",n);break;case"option":r=i;break;case"select":n._wrapperState={wasMultiple:!!i.multiple},r=ao({},i,{value:void 0}),Tr("invalid",n);break;case"textarea":Od1(n,i),r=rq(n,i),Tr("invalid",n);break;default:r=i}sq(t,r),a=r;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Gc1(n,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&qc1(n,l)):o==="children"?typeof l=="string"?(t!=="textarea"||l!=="")&&bV(n,l):typeof l=="number"&&bV(n,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(xV.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Tr("scroll",n):l!=null&&Uq(n,o,l,s))}switch(t){case"input":Aw(n),Nd1(n,i,!1);break;case"textarea":Aw(n),Rd1(n);break;case"option":i.value!=null&&n.setAttribute("value",""+l9(i.value));break;case"select":n.multiple=!!i.multiple,o=i.value,o!=null?Wp(n,!!i.multiple,o,!1):i.defaultValue!=null&&Wp(n,!!i.multiple,i.defaultValue,!0);break;default:typeof r.onClick=="function"&&(n.onclick=ly)}switch(t){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return la(e),null;case 6:if(n&&e.stateNode!=null)H71(n,e,n.memoizedProps,i);else{if(typeof i!="string"&&e.stateNode===null)throw Error(ge(166));if(t=au(OV.current),au(xd.current),Fw(e)){if(i=e.stateNode,t=e.memoizedProps,i[vd]=e,(o=i.nodeValue!==t)&&(n=s0,n!==null))switch(n.tag){case 3:Pw(i.nodeValue,t,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Pw(i.nodeValue,t,(n.mode&1)!==0)}o&&(e.flags|=4)}else i=(t.nodeType===9?t:t.ownerDocument).createTextNode(i),i[vd]=e,e.stateNode=i}return la(e),null;case 13:if(Nr(oo),i=e.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if($r&&o0!==null&&e.mode&1&&!(e.flags&128))O41(),Qp(),e.flags|=98560,o=!1;else if(o=Fw(e),i!==null&&i.dehydrated!==null){if(n===null){if(!o)throw Error(ge(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(ge(317));o[vd]=e}else Qp(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;la(e),o=!1}else Jl!==null&&(Zq(Jl),Jl=null),o=!0;if(!o)return e.flags&65536?e:null}return e.flags&128?(e.lanes=t,e):(i=i!==null,i!==(n!==null&&n.memoizedState!==null)&&i&&(e.child.flags|=8192,e.mode&1&&(n===null||oo.current&1?D2===0&&(D2=3):AK())),e.updateQueue!==null&&(e.flags|=4),la(e),null);case 4:return Jp(),Iq(n,e),n===null&&DV(e.stateNode.containerInfo),la(e),null;case 10:return dK(e.type._context),la(e),null;case 17:return H5(e.type)&&dy(),la(e),null;case 19:if(Nr(oo),o=e.memoizedState,o===null)return la(e),null;if(i=(e.flags&128)!==0,s=o.rendering,s===null)if(i)lV(o,!1);else{if(D2!==0||n!==null&&n.flags&128)for(n=e.child;n!==null;){if(s=fy(n),s!==null){for(e.flags|=128,lV(o,!1),i=s.updateQueue,i!==null&&(e.updateQueue=i,e.flags|=4),e.subtreeFlags=0,i=t,t=e.child;t!==null;)o=t,n=i,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=n,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,n=s.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t=t.sibling;return Vr(oo,oo.current&1|2),e.child}n=n.sibling}o.tail!==null&&Po()>tm&&(e.flags|=128,i=!0,lV(o,!1),e.lanes=4194304)}else{if(!i)if(n=fy(s),n!==null){if(e.flags|=128,i=!0,t=n.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),lV(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$r)return la(e),null}else 2*Po()-o.renderingStartTime>tm&&t!==1073741824&&(e.flags|=128,i=!0,lV(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(t=o.last,t!==null?t.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Po(),e.sibling=null,t=oo.current,Vr(oo,i?t&1|2:t&1),e):(la(e),null);case 22:case 23:return bK(),i=e.memoizedState!==null,n!==null&&n.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?r0&1073741824&&(la(e),e.subtreeFlags&6&&(e.flags|=8192)):la(e),null;case 24:return null;case 25:return null}throw Error(ge(156,e.tag))}function HO1(n,e){switch(oK(e),e.tag){case 1:return H5(e.type)&&dy(),n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 3:return Jp(),Nr(L5),Nr(ca),pK(),n=e.flags,n&65536&&!(n&128)?(e.flags=n&-65537|128,e):null;case 5:return CK(e),null;case 13:if(Nr(oo),n=e.memoizedState,n!==null&&n.dehydrated!==null){if(e.alternate===null)throw Error(ge(340));Qp()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 19:return Nr(oo),null;case 4:return Jp(),null;case 10:return dK(e.type._context),null;case 22:case 23:return bK(),null;case 24:return null;default:return null}}var zw=!1,da=!1,VO1=typeof WeakSet=="function"?WeakSet:Set,at=null;function Zp(n,e){var t=n.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(i){xo(n,e,i)}else t.current=null}function Tq(n,e,t){try{t()}catch(i){xo(n,e,i)}}var Sc1=!1;function MO1(n,e){if(gq=oy,n=_41(),nK(n)){if("selectionStart"in n)var t={start:n.selectionStart,end:n.selectionEnd};else e:{t=(t=n.ownerDocument)&&t.defaultView||window;var i=t.getSelection&&t.getSelection();if(i&&i.rangeCount!==0){t=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var s=0,a=-1,l=-1,d=0,c=0,u=n,h=null;t:for(;;){for(var C;u!==t||r!==0&&u.nodeType!==3||(a=s+r),u!==o||i!==0&&u.nodeType!==3||(l=s+i),u.nodeType===3&&(s+=u.nodeValue.length),(C=u.firstChild)!==null;)h=u,u=C;for(;;){if(u===n)break t;if(h===t&&++d===r&&(a=s),h===o&&++c===i&&(l=s),(C=u.nextSibling)!==null)break;u=h,h=u.parentNode}u=C}t=a===-1||l===-1?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(Lq={focusedElem:n,selectionRange:t},oy=!1,at=e;at!==null;)if(e=at,n=e.child,(e.subtreeFlags&1028)!==0&&n!==null)n.return=e,at=n;else for(;at!==null;){e=at;try{var p=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var m=p.memoizedProps,H=p.memoizedState,g=e.stateNode,L=g.getSnapshotBeforeUpdate(e.elementType===e.type?m:Ql(e.type,m),H);g.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var V=e.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ge(163))}}catch(_){xo(e,e.return,_)}if(n=e.sibling,n!==null){n.return=e.return,at=n;break}at=e.return}return p=Sc1,Sc1=!1,p}function MV(n,e,t){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&n)===n){var o=r.destroy;r.destroy=void 0,o!==void 0&&Tq(e,t,o)}r=r.next}while(r!==i)}}function Dy(n,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&n)===n){var i=t.create;t.destroy=i()}t=t.next}while(t!==e)}}function Nq(n){var e=n.ref;if(e!==null){var t=n.stateNode;switch(n.tag){case 5:n=t;break;default:n=t}typeof e=="function"?e(n):e.current=n}}function V71(n){var e=n.alternate;e!==null&&(n.alternate=null,V71(e)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(e=n.stateNode,e!==null&&(delete e[vd],delete e[TV],delete e[Mq],delete e[nO1],delete e[rO1])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function M71(n){return n.tag===5||n.tag===3||n.tag===4}function wc1(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||M71(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Oq(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(n,e):t.insertBefore(n,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(n,t)):(e=t,e.appendChild(n)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=ly));else if(i!==4&&(n=n.child,n!==null))for(Oq(n,e,t),n=n.sibling;n!==null;)Oq(n,e,t),n=n.sibling}function Rq(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.insertBefore(n,e):t.appendChild(n);else if(i!==4&&(n=n.child,n!==null))for(Rq(n,e,t),n=n.sibling;n!==null;)Rq(n,e,t),n=n.sibling}var Ds=null,Xl=!1;function q7(n,e,t){for(t=t.child;t!==null;)v71(n,e,t),t=t.sibling}function v71(n,e,t){if(_d&&typeof _d.onCommitFiberUnmount=="function")try{_d.onCommitFiberUnmount(xy,t)}catch{}switch(t.tag){case 5:da||Zp(t,e);case 6:var i=Ds,r=Xl;Ds=null,q7(n,e,t),Ds=i,Xl=r,Ds!==null&&(Xl?(n=Ds,t=t.stateNode,n.nodeType===8?n.parentNode.removeChild(t):n.removeChild(t)):Ds.removeChild(t.stateNode));break;case 18:Ds!==null&&(Xl?(n=Ds,t=t.stateNode,n.nodeType===8?B$(n.parentNode,t):n.nodeType===1&&B$(n,t),yV(n)):B$(Ds,t.stateNode));break;case 4:i=Ds,r=Xl,Ds=t.stateNode.containerInfo,Xl=!0,q7(n,e,t),Ds=i,Xl=r;break;case 0:case 11:case 14:case 15:if(!da&&(i=t.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var o=r,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Tq(t,e,s),r=r.next}while(r!==i)}q7(n,e,t);break;case 1:if(!da&&(Zp(t,e),i=t.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=t.memoizedProps,i.state=t.memoizedState,i.componentWillUnmount()}catch(a){xo(t,e,a)}q7(n,e,t);break;case 21:q7(n,e,t);break;case 22:t.mode&1?(da=(i=da)||t.memoizedState!==null,q7(n,e,t),da=i):q7(n,e,t);break;default:q7(n,e,t)}}function yc1(n){var e=n.updateQueue;if(e!==null){n.updateQueue=null;var t=n.stateNode;t===null&&(t=n.stateNode=new VO1),e.forEach(function(i){var r=kO1.bind(null,n,i);t.has(i)||(t.add(i),i.then(r,r))})}}function Yl(n,e){var t=e.deletions;if(t!==null)for(var i=0;i<t.length;i++){var r=t[i];try{var o=n,s=e,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ds=a.stateNode,Xl=!1;break e;case 3:Ds=a.stateNode.containerInfo,Xl=!0;break e;case 4:Ds=a.stateNode.containerInfo,Xl=!0;break e}a=a.return}if(Ds===null)throw Error(ge(160));v71(o,s,r),Ds=null,Xl=!1;var l=r.alternate;l!==null&&(l.return=null),r.return=null}catch(d){xo(r,e,d)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)_71(e,n),e=e.sibling}function _71(n,e){var t=n.alternate,i=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Yl(e,n),Vd(n),i&4){try{MV(3,n,n.return),Dy(3,n)}catch(m){xo(n,n.return,m)}try{MV(5,n,n.return)}catch(m){xo(n,n.return,m)}}break;case 1:Yl(e,n),Vd(n),i&512&&t!==null&&Zp(t,t.return);break;case 5:if(Yl(e,n),Vd(n),i&512&&t!==null&&Zp(t,t.return),n.flags&32){var r=n.stateNode;try{bV(r,"")}catch(m){xo(n,n.return,m)}}if(i&4&&(r=n.stateNode,r!=null)){var o=n.memoizedProps,s=t!==null?t.memoizedProps:o,a=n.type,l=n.updateQueue;if(n.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Uc1(r,o),aq(a,s);var d=aq(a,o);for(s=0;s<l.length;s+=2){var c=l[s],u=l[s+1];c==="style"?Gc1(r,u):c==="dangerouslySetInnerHTML"?qc1(r,u):c==="children"?bV(r,u):Uq(r,c,u,d)}switch(a){case"input":iq(r,o);break;case"textarea":jc1(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var C=o.value;C!=null?Wp(r,!!o.multiple,C,!1):h!==!!o.multiple&&(o.defaultValue!=null?Wp(r,!!o.multiple,o.defaultValue,!0):Wp(r,!!o.multiple,o.multiple?[]:"",!1))}r[TV]=o}catch(m){xo(n,n.return,m)}}break;case 6:if(Yl(e,n),Vd(n),i&4){if(n.stateNode===null)throw Error(ge(162));r=n.stateNode,o=n.memoizedProps;try{r.nodeValue=o}catch(m){xo(n,n.return,m)}}break;case 3:if(Yl(e,n),Vd(n),i&4&&t!==null&&t.memoizedState.isDehydrated)try{yV(e.containerInfo)}catch(m){xo(n,n.return,m)}break;case 4:Yl(e,n),Vd(n);break;case 13:Yl(e,n),Vd(n),r=n.child,r.flags&8192&&(o=r.memoizedState!==null,r.stateNode.isHidden=o,!o||r.alternate!==null&&r.alternate.memoizedState!==null||(_K=Po())),i&4&&yc1(n);break;case 22:if(c=t!==null&&t.memoizedState!==null,n.mode&1?(da=(d=da)||c,Yl(e,n),da=d):Yl(e,n),Vd(n),i&8192){if(d=n.memoizedState!==null,(n.stateNode.isHidden=d)&&!c&&n.mode&1)for(at=n,c=n.child;c!==null;){for(u=at=c;at!==null;){switch(h=at,C=h.child,h.tag){case 0:case 11:case 14:case 15:MV(4,h,h.return);break;case 1:Zp(h,h.return);var p=h.stateNode;if(typeof p.componentWillUnmount=="function"){i=h,t=h.return;try{e=i,p.props=e.memoizedProps,p.state=e.memoizedState,p.componentWillUnmount()}catch(m){xo(i,t,m)}}break;case 5:Zp(h,h.return);break;case 22:if(h.memoizedState!==null){Ec1(u);continue}}C!==null?(C.return=h,at=C):Ec1(u)}c=c.sibling}e:for(c=null,u=n;;){if(u.tag===5){if(c===null){c=u;try{r=u.stateNode,d?(o=r.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=u.stateNode,l=u.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Kc1("display",s))}catch(m){xo(n,n.return,m)}}}else if(u.tag===6){if(c===null)try{u.stateNode.nodeValue=d?"":u.memoizedProps}catch(m){xo(n,n.return,m)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===n)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===n)break e;for(;u.sibling===null;){if(u.return===null||u.return===n)break e;c===u&&(c=null),u=u.return}c===u&&(c=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:Yl(e,n),Vd(n),i&4&&yc1(n);break;case 21:break;default:Yl(e,n),Vd(n)}}function Vd(n){var e=n.flags;if(e&2){try{e:{for(var t=n.return;t!==null;){if(M71(t)){var i=t;break e}t=t.return}throw Error(ge(160))}switch(i.tag){case 5:var r=i.stateNode;i.flags&32&&(bV(r,""),i.flags&=-33);var o=wc1(n);Rq(n,o,r);break;case 3:case 4:var s=i.stateNode.containerInfo,a=wc1(n);Oq(n,a,s);break;default:throw Error(ge(161))}}catch(l){xo(n,n.return,l)}n.flags&=-3}e&4096&&(n.flags&=-4097)}function vO1(n,e,t){at=n,x71(n,e,t)}function x71(n,e,t){for(var i=(n.mode&1)!==0;at!==null;){var r=at,o=r.child;if(r.tag===22&&i){var s=r.memoizedState!==null||zw;if(!s){var a=r.alternate,l=a!==null&&a.memoizedState!==null||da;a=zw;var d=da;if(zw=s,(da=l)&&!d)for(at=r;at!==null;)s=at,l=s.child,s.tag===22&&s.memoizedState!==null?Dc1(r):l!==null?(l.return=s,at=l):Dc1(r);for(;o!==null;)at=o,x71(o,e,t),o=o.sibling;at=r,zw=a,da=d}kc1(n,e,t)}else r.subtreeFlags&8772&&o!==null?(o.return=r,at=o):kc1(n,e,t)}}function kc1(n){for(;at!==null;){var e=at;if(e.flags&8772){var t=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:da||Dy(5,e);break;case 1:var i=e.stateNode;if(e.flags&4&&!da)if(t===null)i.componentDidMount();else{var r=e.elementType===e.type?t.memoizedProps:Ql(e.type,t.memoizedProps);i.componentDidUpdate(r,t.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;o!==null&&Cc1(e,o,i);break;case 3:var s=e.updateQueue;if(s!==null){if(t=null,e.child!==null)switch(e.child.tag){case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}Cc1(e,s,t)}break;case 5:var a=e.stateNode;if(t===null&&e.flags&4){t=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&t.focus();break;case"img":l.src&&(t.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var d=e.alternate;if(d!==null){var c=d.memoizedState;if(c!==null){var u=c.dehydrated;u!==null&&yV(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ge(163))}da||e.flags&512&&Nq(e)}catch(h){xo(e,e.return,h)}}if(e===n){at=null;break}if(t=e.sibling,t!==null){t.return=e.return,at=t;break}at=e.return}}function Ec1(n){for(;at!==null;){var e=at;if(e===n){at=null;break}var t=e.sibling;if(t!==null){t.return=e.return,at=t;break}at=e.return}}function Dc1(n){for(;at!==null;){var e=at;try{switch(e.tag){case 0:case 11:case 15:var t=e.return;try{Dy(4,e)}catch(l){xo(e,t,l)}break;case 1:var i=e.stateNode;if(typeof i.componentDidMount=="function"){var r=e.return;try{i.componentDidMount()}catch(l){xo(e,r,l)}}var o=e.return;try{Nq(e)}catch(l){xo(e,o,l)}break;case 5:var s=e.return;try{Nq(e)}catch(l){xo(e,s,l)}}}catch(l){xo(e,e.return,l)}if(e===n){at=null;break}var a=e.sibling;if(a!==null){a.return=e.return,at=a;break}at=e.return}}var _O1=Math.ceil,Hy=H4.ReactCurrentDispatcher,MK=H4.ReactCurrentOwner,sl=H4.ReactCurrentBatchConfig,wn=0,rs=null,r2=null,Is=0,r0=0,zp=u9(0),D2=0,BV=null,Cu=0,Iy=0,vK=0,vV=null,f5=null,_K=0,tm=1/0,c4=null,Vy=!1,Pq=null,o9=null,Ww=!1,J7=null,My=0,_V=0,Fq=null,Qw=-1,Xw=0;function Oa(){return wn&6?Po():Qw!==-1?Qw:Qw=Po()}function s9(n){return n.mode&1?wn&2&&Is!==0?Is&-Is:sO1.transition!==null?(Xw===0&&(Xw=a41()),Xw):(n=nr,n!==0||(n=window.event,n=n===void 0?16:p41(n.type)),n):1}function t3(n,e,t,i){if(50<_V)throw _V=0,Fq=null,Error(ge(185));ZV(n,t,i),(!(wn&2)||n!==rs)&&(n===rs&&(!(wn&2)&&(Iy|=t),D2===4&&Q7(n,Is)),V5(n,i),t===1&&wn===0&&!(e.mode&1)&&(tm=Po()+500,yy&&h9()))}function V5(n,e){var t=n.callbackNode;lN1(n,e);var i=ry(n,n===rs?Is:0);if(i===0)t!==null&&Bd1(t),n.callbackNode=null,n.callbackPriority=0;else if(e=i&-i,n.callbackPriority!==e){if(t!=null&&Bd1(t),e===1)n.tag===0?oO1(Ic1.bind(null,n)):I41(Ic1.bind(null,n)),tO1(function(){!(wn&6)&&h9()}),t=null;else{switch(l41(i)){case 1:t=Gq;break;case 4:t=o41;break;case 16:t=ny;break;case 536870912:t=s41;break;default:t=ny}t=D71(t,b71.bind(null,n))}n.callbackPriority=e,n.callbackNode=t}}function b71(n,e){if(Qw=-1,Xw=0,wn&6)throw Error(ge(327));var t=n.callbackNode;if(Kp()&&n.callbackNode!==t)return null;var i=ry(n,n===rs?Is:0);if(i===0)return null;if(i&30||i&n.expiredLanes||e)e=vy(n,i);else{e=i;var r=wn;wn|=2;var o=S71();(rs!==n||Is!==e)&&(c4=null,tm=Po()+500,lu(n,e));do try{AO1();break}catch(a){A71(n,a)}while(1);lK(),Hy.current=o,wn=r,r2!==null?e=0:(rs=null,Is=0,e=D2)}if(e!==0){if(e===2&&(r=hq(n),r!==0&&(i=r,e=Bq(n,r))),e===1)throw t=BV,lu(n,0),Q7(n,i),V5(n,Po()),t;if(e===6)Q7(n,i);else{if(r=n.current.alternate,!(i&30)&&!xO1(r)&&(e=vy(n,i),e===2&&(o=hq(n),o!==0&&(i=o,e=Bq(n,o))),e===1))throw t=BV,lu(n,0),Q7(n,i),V5(n,Po()),t;switch(n.finishedWork=r,n.finishedLanes=i,e){case 0:case 1:throw Error(ge(345));case 2:ru(n,f5,c4);break;case 3:if(Q7(n,i),(i&130023424)===i&&(e=_K+500-Po(),10<e)){if(ry(n,0)!==0)break;if(r=n.suspendedLanes,(r&i)!==i){Oa(),n.pingedLanes|=n.suspendedLanes&r;break}n.timeoutHandle=Vq(ru.bind(null,n,f5,c4),e);break}ru(n,f5,c4);break;case 4:if(Q7(n,i),(i&4194240)===i)break;for(e=n.eventTimes,r=-1;0<i;){var s=31-e3(i);o=1<<s,s=e[s],s>r&&(r=s),i&=~o}if(i=r,i=Po()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*_O1(i/1960))-i,10<i){n.timeoutHandle=Vq(ru.bind(null,n,f5,c4),i);break}ru(n,f5,c4);break;case 5:ru(n,f5,c4);break;default:throw Error(ge(329))}}}return V5(n,Po()),n.callbackNode===t?b71.bind(null,n):null}function Bq(n,e){var t=vV;return n.current.memoizedState.isDehydrated&&(lu(n,e).flags|=256),n=vy(n,e),n!==2&&(e=f5,f5=t,e!==null&&Zq(e)),n}function Zq(n){f5===null?f5=n:f5.push.apply(f5,n)}function xO1(n){for(var e=n;;){if(e.flags&16384){var t=e.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var i=0;i<t.length;i++){var r=t[i],o=r.getSnapshot;r=r.value;try{if(!i3(o(),r))return!1}catch{return!1}}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Q7(n,e){for(e&=~vK,e&=~Iy,n.suspendedLanes|=e,n.pingedLanes&=~e,n=n.expirationTimes;0<e;){var t=31-e3(e),i=1<<t;n[t]=-1,e&=~i}}function Ic1(n){if(wn&6)throw Error(ge(327));Kp();var e=ry(n,0);if(!(e&1))return V5(n,Po()),null;var t=vy(n,e);if(n.tag!==0&&t===2){var i=hq(n);i!==0&&(e=i,t=Bq(n,i))}if(t===1)throw t=BV,lu(n,0),Q7(n,e),V5(n,Po()),t;if(t===6)throw Error(ge(345));return n.finishedWork=n.current.alternate,n.finishedLanes=e,ru(n,f5,c4),V5(n,Po()),null}function xK(n,e){var t=wn;wn|=1;try{return n(e)}finally{wn=t,wn===0&&(tm=Po()+500,yy&&h9())}}function pu(n){J7!==null&&J7.tag===0&&!(wn&6)&&Kp();var e=wn;wn|=1;var t=sl.transition,i=nr;try{if(sl.transition=null,nr=1,n)return n()}finally{nr=i,sl.transition=t,wn=e,!(wn&6)&&h9()}}function bK(){r0=zp.current,Nr(zp)}function lu(n,e){n.finishedWork=null,n.finishedLanes=0;var t=n.timeoutHandle;if(t!==-1&&(n.timeoutHandle=-1,eO1(t)),r2!==null)for(t=r2.return;t!==null;){var i=t;switch(oK(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&dy();break;case 3:Jp(),Nr(L5),Nr(ca),pK();break;case 5:CK(i);break;case 4:Jp();break;case 13:Nr(oo);break;case 19:Nr(oo);break;case 10:dK(i.type._context);break;case 22:case 23:bK()}t=t.return}if(rs=n,r2=n=a9(n.current,null),Is=r0=e,D2=0,BV=null,vK=Iy=Cu=0,f5=vV=null,su!==null){for(e=0;e<su.length;e++)if(t=su[e],i=t.interleaved,i!==null){t.interleaved=null;var r=i.next,o=t.pending;if(o!==null){var s=o.next;o.next=r,i.next=s}t.pending=i}su=null}return n}function A71(n,e){do{var t=r2;try{if(lK(),Kw.current=Ly,gy){for(var i=so.memoizedState;i!==null;){var r=i.queue;r!==null&&(r.pending=null),i=i.next}gy=!1}if(hu=0,ns=E2=so=null,VV=!1,RV=0,MK.current=null,t===null||t.return===null){D2=1,BV=e,r2=null;break}e:{var o=n,s=t.return,a=t,l=e;if(e=Is,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var d=l,c=a,u=c.tag;if(!(c.mode&1)&&(u===0||u===11||u===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var C=Vc1(s);if(C!==null){C.flags&=-257,Mc1(C,s,a,o,e),C.mode&1&&Hc1(o,d,e),e=C,l=d;var p=e.updateQueue;if(p===null){var m=new Set;m.add(l),e.updateQueue=m}else p.add(l);break e}else{if(!(e&1)){Hc1(o,d,e),AK();break e}l=Error(ge(426))}}else if($r&&a.mode&1){var H=Vc1(s);if(H!==null){!(H.flags&65536)&&(H.flags|=256),Mc1(H,s,a,o,e),sK(em(l,a));break e}}o=l=em(l,a),D2!==4&&(D2=2),vV===null?vV=[o]:vV.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,e&=-e,o.lanes|=e;var g=d71(o,l,e);hc1(o,g);break e;case 1:a=l;var L=o.type,V=o.stateNode;if(!(o.flags&128)&&(typeof L.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(o9===null||!o9.has(V)))){o.flags|=65536,e&=-e,o.lanes|=e;var _=c71(o,a,e);hc1(o,_);break e}}o=o.return}while(o!==null)}y71(t)}catch(b){e=b,r2===t&&t!==null&&(r2=t=t.return);continue}break}while(1)}function S71(){var n=Hy.current;return Hy.current=Ly,n===null?Ly:n}function AK(){(D2===0||D2===3||D2===2)&&(D2=4),rs===null||!(Cu&268435455)&&!(Iy&268435455)||Q7(rs,Is)}function vy(n,e){var t=wn;wn|=2;var i=S71();(rs!==n||Is!==e)&&(c4=null,lu(n,e));do try{bO1();break}catch(r){A71(n,r)}while(1);if(lK(),wn=t,Hy.current=i,r2!==null)throw Error(ge(261));return rs=null,Is=0,D2}function bO1(){for(;r2!==null;)w71(r2)}function AO1(){for(;r2!==null&&!JT1();)w71(r2)}function w71(n){var e=E71(n.alternate,n,r0);n.memoizedProps=n.pendingProps,e===null?y71(n):r2=e,MK.current=null}function y71(n){var e=n;do{var t=e.alternate;if(n=e.return,e.flags&32768){if(t=HO1(t,e),t!==null){t.flags&=32767,r2=t;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{D2=6,r2=null;return}}else if(t=LO1(t,e,r0),t!==null){r2=t;return}if(e=e.sibling,e!==null){r2=e;return}r2=e=n}while(e!==null);D2===0&&(D2=5)}function ru(n,e,t){var i=nr,r=sl.transition;try{sl.transition=null,nr=1,SO1(n,e,t,i)}finally{sl.transition=r,nr=i}return null}function SO1(n,e,t,i){do Kp();while(J7!==null);if(wn&6)throw Error(ge(327));t=n.finishedWork;var r=n.finishedLanes;if(t===null)return null;if(n.finishedWork=null,n.finishedLanes=0,t===n.current)throw Error(ge(177));n.callbackNode=null,n.callbackPriority=0;var o=t.lanes|t.childLanes;if(dN1(n,o),n===rs&&(r2=rs=null,Is=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||Ww||(Ww=!0,D71(ny,function(){return Kp(),null})),o=(t.flags&15990)!==0,t.subtreeFlags&15990||o){o=sl.transition,sl.transition=null;var s=nr;nr=1;var a=wn;wn|=4,MK.current=null,MO1(n,t),_71(t,n),GN1(Lq),oy=!!gq,Lq=gq=null,n.current=t,vO1(t,n,r),eN1(),wn=a,nr=s,sl.transition=o}else n.current=t;if(Ww&&(Ww=!1,J7=n,My=r),o=n.pendingLanes,o===0&&(o9=null),nN1(t.stateNode,i),V5(n,Po()),e!==null)for(i=n.onRecoverableError,t=0;t<e.length;t++)r=e[t],i(r.value,{componentStack:r.stack,digest:r.digest});if(Vy)throw Vy=!1,n=Pq,Pq=null,n;return My&1&&n.tag!==0&&Kp(),o=n.pendingLanes,o&1?n===Fq?_V++:(_V=0,Fq=n):_V=0,h9(),null}function Kp(){if(J7!==null){var n=l41(My),e=sl.transition,t=nr;try{if(sl.transition=null,nr=16>n?16:n,J7===null)var i=!1;else{if(n=J7,J7=null,My=0,wn&6)throw Error(ge(331));var r=wn;for(wn|=4,at=n.current;at!==null;){var o=at,s=o.child;if(at.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var d=a[l];for(at=d;at!==null;){var c=at;switch(c.tag){case 0:case 11:case 15:MV(8,c,o)}var u=c.child;if(u!==null)u.return=c,at=u;else for(;at!==null;){c=at;var h=c.sibling,C=c.return;if(V71(c),c===d){at=null;break}if(h!==null){h.return=C,at=h;break}at=C}}}var p=o.alternate;if(p!==null){var m=p.child;if(m!==null){p.child=null;do{var H=m.sibling;m.sibling=null,m=H}while(m!==null)}}at=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,at=s;else e:for(;at!==null;){if(o=at,o.flags&2048)switch(o.tag){case 0:case 11:case 15:MV(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,at=g;break e}at=o.return}}var L=n.current;for(at=L;at!==null;){s=at;var V=s.child;if(s.subtreeFlags&2064&&V!==null)V.return=s,at=V;else e:for(s=L;at!==null;){if(a=at,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Dy(9,a)}}catch(b){xo(a,a.return,b)}if(a===s){at=null;break e}var _=a.sibling;if(_!==null){_.return=a.return,at=_;break e}at=a.return}}if(wn=r,h9(),_d&&typeof _d.onPostCommitFiberRoot=="function")try{_d.onPostCommitFiberRoot(xy,n)}catch{}i=!0}return i}finally{nr=t,sl.transition=e}}return!1}function Tc1(n,e,t){e=em(t,e),e=d71(n,e,1),n=r9(n,e,1),e=Oa(),n!==null&&(ZV(n,1,e),V5(n,e))}function xo(n,e,t){if(n.tag===3)Tc1(n,n,t);else for(;e!==null;){if(e.tag===3){Tc1(e,n,t);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(o9===null||!o9.has(i))){n=em(t,n),n=c71(e,n,1),e=r9(e,n,1),n=Oa(),e!==null&&(ZV(e,1,n),V5(e,n));break}}e=e.return}}function wO1(n,e,t){var i=n.pingCache;i!==null&&i.delete(e),e=Oa(),n.pingedLanes|=n.suspendedLanes&t,rs===n&&(Is&t)===t&&(D2===4||D2===3&&(Is&130023424)===Is&&500>Po()-_K?lu(n,0):vK|=t),V5(n,e)}function k71(n,e){e===0&&(n.mode&1?(e=yw,yw<<=1,!(yw&130023424)&&(yw=4194304)):e=1);var t=Oa();n=g4(n,e),n!==null&&(ZV(n,e,t),V5(n,t))}function yO1(n){var e=n.memoizedState,t=0;e!==null&&(t=e.retryLane),k71(n,t)}function kO1(n,e){var t=0;switch(n.tag){case 13:var i=n.stateNode,r=n.memoizedState;r!==null&&(t=r.retryLane);break;case 19:i=n.stateNode;break;default:throw Error(ge(314))}i!==null&&i.delete(e),k71(n,t)}var E71;E71=function(n,e,t){if(n!==null)if(n.memoizedProps!==e.pendingProps||L5.current)g5=!0;else{if(!(n.lanes&t)&&!(e.flags&128))return g5=!1,gO1(n,e,t);g5=!!(n.flags&131072)}else g5=!1,$r&&e.flags&1048576&&T41(e,hy,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;Yw(n,e),n=e.pendingProps;var r=Yp(e,ca.current);qp(e,t),r=fK(null,e,i,n,r,t);var o=gK();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,H5(i)?(o=!0,cy(e)):o=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,uK(e),r.updater=ky,e.stateNode=r,r._reactInternals=e,Sq(e,i,n,t),e=kq(null,e,i,!0,o,t)):(e.tag=0,$r&&o&&rK(e),Na(null,e,r,t),e=e.child),e;case 16:i=e.elementType;e:{switch(Yw(n,e),n=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=DO1(i),n=Ql(i,n),r){case 0:e=yq(null,e,i,n,t);break e;case 1:e=xc1(null,e,i,n,t);break e;case 11:e=vc1(null,e,i,n,t);break e;case 14:e=_c1(null,e,i,Ql(i.type,n),t);break e}throw Error(ge(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),yq(n,e,i,r,t);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),xc1(n,e,i,r,t);case 3:e:{if(p71(e),n===null)throw Error(ge(387));i=e.pendingProps,o=e.memoizedState,r=o.element,P41(n,e),my(e,i,null,t);var s=e.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){r=em(Error(ge(423)),e),e=bc1(n,e,i,t,r);break e}else if(i!==r){r=em(Error(ge(424)),e),e=bc1(n,e,i,t,r);break e}else for(o0=n9(e.stateNode.containerInfo.firstChild),s0=e,$r=!0,Jl=null,t=z41(e,null,i,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Qp(),i===r){e=L4(n,e,t);break e}Na(n,e,i,t)}e=e.child}return e;case 5:return W41(e),n===null&&xq(e),i=e.type,r=e.pendingProps,o=n!==null?n.memoizedProps:null,s=r.children,Hq(i,r)?s=null:o!==null&&Hq(i,o)&&(e.flags|=32),C71(n,e),Na(n,e,s,t),e.child;case 6:return n===null&&xq(e),null;case 13:return m71(n,e,t);case 4:return hK(e,e.stateNode.containerInfo),i=e.pendingProps,n===null?e.child=Xp(e,null,i,t):Na(n,e,i,t),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),vc1(n,e,i,r,t);case 7:return Na(n,e,e.pendingProps,t),e.child;case 8:return Na(n,e,e.pendingProps.children,t),e.child;case 12:return Na(n,e,e.pendingProps.children,t),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,o=e.memoizedProps,s=r.value,Vr(Cy,i._currentValue),i._currentValue=s,o!==null)if(i3(o.value,s)){if(o.children===r.children&&!L5.current){e=L4(n,e,t);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=p4(-1,t&-t),l.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var c=d.pending;c===null?l.next=l:(l.next=c.next,c.next=l),d.pending=l}}o.lanes|=t,l=o.alternate,l!==null&&(l.lanes|=t),bq(o.return,t,e),a.lanes|=t;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(ge(341));s.lanes|=t,a=s.alternate,a!==null&&(a.lanes|=t),bq(s,t,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Na(n,e,r.children,t),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,qp(e,t),r=al(r),i=i(r),e.flags|=1,Na(n,e,i,t),e.child;case 14:return i=e.type,r=Ql(i,e.pendingProps),r=Ql(i.type,r),_c1(n,e,i,r,t);case 15:return u71(n,e,e.type,e.pendingProps,t);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),Yw(n,e),e.tag=1,H5(i)?(n=!0,cy(e)):n=!1,qp(e,t),B41(e,i,r),Sq(e,i,r,t),kq(null,e,i,!0,n,t);case 19:return f71(n,e,t);case 22:return h71(n,e,t)}throw Error(ge(156,e.tag))};function D71(n,e){return r41(n,e)}function EO1(n,e,t,i){this.tag=n,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ol(n,e,t,i){return new EO1(n,e,t,i)}function SK(n){return n=n.prototype,!(!n||!n.isReactComponent)}function DO1(n){if(typeof n=="function")return SK(n)?1:0;if(n!=null){if(n=n.$$typeof,n===$q)return 11;if(n===qq)return 14}return 2}function a9(n,e){var t=n.alternate;return t===null?(t=ol(n.tag,e,n.key,n.mode),t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.alternate=n,n.alternate=t):(t.pendingProps=e,t.type=n.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=n.flags&14680064,t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t}function Jw(n,e,t,i,r,o){var s=2;if(i=n,typeof n=="function")SK(n)&&(s=1);else if(typeof n=="string")s=5;else e:switch(n){case Dp:return du(t.children,r,o,e);case jq:s=8,r|=8;break;case Q$:return n=ol(12,t,e,r|2),n.elementType=Q$,n.lanes=o,n;case X$:return n=ol(13,t,e,r),n.elementType=X$,n.lanes=o,n;case J$:return n=ol(19,t,e,r),n.elementType=J$,n.lanes=o,n;case Zc1:return Ty(t,r,o,e);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Fc1:s=10;break e;case Bc1:s=9;break e;case $q:s=11;break e;case qq:s=14;break e;case K7:s=16,i=null;break e}throw Error(ge(130,n==null?n:typeof n,""))}return e=ol(s,t,e,r),e.elementType=n,e.type=i,e.lanes=o,e}function du(n,e,t,i){return n=ol(7,n,i,e),n.lanes=t,n}function Ty(n,e,t,i){return n=ol(22,n,i,e),n.elementType=Zc1,n.lanes=t,n.stateNode={isHidden:!1},n}function K$(n,e,t){return n=ol(6,n,null,e),n.lanes=t,n}function G$(n,e,t){return e=ol(4,n.children!==null?n.children:[],n.key,e),e.lanes=t,e.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},e}function IO1(n,e,t,i,r){this.tag=e,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=D$(0),this.expirationTimes=D$(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D$(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function wK(n,e,t,i,r,o,s,a,l){return n=new IO1(n,e,t,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=ol(3,null,null,e),n.current=o,o.stateNode=n,o.memoizedState={element:i,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},uK(o),n}function TO1(n,e,t){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ep,key:i==null?null:""+i,children:n,containerInfo:e,implementation:t}}function I71(n){if(!n)return d9;n=n._reactInternals;e:{if(fu(n)!==n||n.tag!==1)throw Error(ge(170));var e=n;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(H5(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(ge(171))}if(n.tag===1){var t=n.type;if(H5(t))return D41(n,t,e)}return e}function T71(n,e,t,i,r,o,s,a,l){return n=wK(t,i,!0,n,r,o,s,a,l),n.context=I71(null),t=n.current,i=Oa(),r=s9(t),o=p4(i,r),o.callback=e??null,r9(t,o,r),n.current.lanes=r,ZV(n,r,i),V5(n,i),n}function Ny(n,e,t,i){var r=e.current,o=Oa(),s=s9(r);return t=I71(t),e.context===null?e.context=t:e.pendingContext=t,e=p4(o,s),e.payload={element:n},i=i===void 0?null:i,i!==null&&(e.callback=i),n=r9(r,e,s),n!==null&&(t3(n,r,s,o),qw(n,r,s)),s}function _y(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Nc1(n,e){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var t=n.retryLane;n.retryLane=t!==0&&t<e?t:e}}function yK(n,e){Nc1(n,e),(n=n.alternate)&&Nc1(n,e)}function NO1(){return null}var N71=typeof reportError=="function"?reportError:function(n){console.error(n)};function kK(n){this._internalRoot=n}Oy.prototype.render=kK.prototype.render=function(n){var e=this._internalRoot;if(e===null)throw Error(ge(409));Ny(n,e,null,null)};Oy.prototype.unmount=kK.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var e=n.containerInfo;pu(function(){Ny(null,n,null,null)}),e[f4]=null}};function Oy(n){this._internalRoot=n}Oy.prototype.unstable_scheduleHydration=function(n){if(n){var e=u41();n={blockedOn:null,target:n,priority:e};for(var t=0;t<Y7.length&&e!==0&&e<Y7[t].priority;t++);Y7.splice(t,0,n),t===0&&C41(n)}};function EK(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Ry(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Oc1(){}function OO1(n,e,t,i,r){if(r){if(typeof i=="function"){var o=i;i=function(){var d=_y(s);o.call(d)}}var s=T71(e,i,n,0,null,!1,!1,"",Oc1);return n._reactRootContainer=s,n[f4]=s.current,DV(n.nodeType===8?n.parentNode:n),pu(),s}for(;r=n.lastChild;)n.removeChild(r);if(typeof i=="function"){var a=i;i=function(){var d=_y(l);a.call(d)}}var l=wK(n,0,!1,null,null,!1,!1,"",Oc1);return n._reactRootContainer=l,n[f4]=l.current,DV(n.nodeType===8?n.parentNode:n),pu(function(){Ny(e,l,t,i)}),l}function Py(n,e,t,i,r){var o=t._reactRootContainer;if(o){var s=o;if(typeof r=="function"){var a=r;r=function(){var l=_y(s);a.call(l)}}Ny(e,s,n,r)}else s=OO1(t,e,n,r,i);return _y(s)}d41=function(n){switch(n.tag){case 3:var e=n.stateNode;if(e.current.memoizedState.isDehydrated){var t=CV(e.pendingLanes);t!==0&&(Yq(e,t|1),V5(e,Po()),!(wn&6)&&(tm=Po()+500,h9()))}break;case 13:pu(function(){var i=g4(n,1);if(i!==null){var r=Oa();t3(i,n,1,r)}}),yK(n,1)}};Qq=function(n){if(n.tag===13){var e=g4(n,134217728);if(e!==null){var t=Oa();t3(e,n,134217728,t)}yK(n,134217728)}};c41=function(n){if(n.tag===13){var e=s9(n),t=g4(n,e);if(t!==null){var i=Oa();t3(t,n,e,i)}yK(n,e)}};u41=function(){return nr};h41=function(n,e){var t=nr;try{return nr=n,e()}finally{nr=t}};dq=function(n,e,t){switch(e){case"input":if(iq(n,t),e=t.name,t.type==="radio"&&e!=null){for(t=n;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<t.length;e++){var i=t[e];if(i!==n&&i.form===n.form){var r=wy(i);if(!r)throw Error(ge(90));Wc1(i),iq(i,r)}}}break;case"textarea":jc1(n,t);break;case"select":e=t.value,e!=null&&Wp(n,!!t.multiple,e,!1)}};Xc1=xK;Jc1=pu;var RO1={usingClientEntryPoint:!1,Events:[WV,Op,wy,Yc1,Qc1,xK]},dV={findFiberByHostInstance:ou,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},PO1={bundleType:dV.bundleType,version:dV.version,rendererPackageName:dV.rendererPackageName,rendererConfig:dV.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:H4.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=i41(n),n===null?null:n.stateNode},findFiberByHostInstance:dV.findFiberByHostInstance||NO1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(cV=__REACT_DEVTOOLS_GLOBAL_HOOK__,!cV.isDisabled&&cV.supportsFiber))try{xy=cV.inject(PO1),_d=cV}catch{}var cV;d0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=RO1;d0.createPortal=function(n,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!EK(e))throw Error(ge(200));return TO1(n,e,null,t)};d0.createRoot=function(n,e){if(!EK(n))throw Error(ge(299));var t=!1,i="",r=N71;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onRecoverableError!==void 0&&(r=e.onRecoverableError)),e=wK(n,1,!1,null,null,t,!1,i,r),n[f4]=e.current,DV(n.nodeType===8?n.parentNode:n),new kK(e)};d0.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var e=n._reactInternals;if(e===void 0)throw typeof n.render=="function"?Error(ge(188)):(n=Object.keys(n).join(","),Error(ge(268,n)));return n=i41(e),n=n===null?null:n.stateNode,n};d0.flushSync=function(n){return pu(n)};d0.hydrate=function(n,e,t){if(!Ry(e))throw Error(ge(200));return Py(null,n,e,!0,t)};d0.hydrateRoot=function(n,e,t){if(!EK(n))throw Error(ge(405));var i=t!=null&&t.hydratedSources||null,r=!1,o="",s=N71;if(t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),e=T71(e,null,n,1,t??null,r,!1,o,s),n[f4]=e.current,DV(n),i)for(n=0;n<i.length;n++)t=i[n],r=t._getVersion,r=r(t._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,r]:e.mutableSourceEagerHydrationData.push(t,r);return new Oy(e)};d0.render=function(n,e,t){if(!Ry(e))throw Error(ge(200));return Py(null,n,e,!1,t)};d0.unmountComponentAtNode=function(n){if(!Ry(n))throw Error(ge(40));return n._reactRootContainer?(pu(function(){Py(null,null,n,!1,function(){n._reactRootContainer=null,n[f4]=null})}),!0):!1};d0.unstable_batchedUpdates=xK;d0.unstable_renderSubtreeIntoContainer=function(n,e,t,i){if(!Ry(t))throw Error(ge(200));if(n==null||n._reactInternals===void 0)throw Error(ge(38));return Py(n,e,t,!1,i)};d0.version="18.2.0-next-9e3b772b8-20220608"});var jV=kt((foe,P71)=>{"use strict";function R71(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R71)}catch(n){console.error(n)}}R71(),P71.exports=O71()});var B71=kt(DK=>{"use strict";var F71=jV();DK.createRoot=F71.createRoot,DK.hydrateRoot=F71.hydrateRoot;var goe});var C9=kt((Hoe,Fy)=>{(function(){"use strict";var n={}.hasOwnProperty,e="[native code]";function t(){for(var i=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var s=typeof o;if(s==="string"||s==="number")i.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&i.push(a)}}else if(s==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){i.push(o.toString());continue}for(var l in o)n.call(o,l)&&o[l]&&i.push(l)}}}return i.join(" ")}typeof Fy<"u"&&Fy.exports?(t.default=t,Fy.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var Z71=kt(()=>{});var on=kt((By,z71)=>{(function(n,e){typeof By=="object"?z71.exports=By=e():typeof define=="function"&&define.amd?define([],e):n.CryptoJS=e()})(By,function(){var n=n||function(e,t){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global<"u"&&global.crypto&&(i=global.crypto),!i&&typeof sd1=="function")try{i=Z71()}catch{}var r=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function g(){}return function(L){var V;return g.prototype=L,V=new g,g.prototype=null,V}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(g){var L=o(this);return g&&L.mixIn(g),(!L.hasOwnProperty("init")||this.init===L.init)&&(L.init=function(){L.$super.init.apply(this,arguments)}),L.init.prototype=L,L.$super=this,L},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var L in g)g.hasOwnProperty(L)&&(this[L]=g[L]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=a.WordArray=l.extend({init:function(g,L){g=this.words=g||[],L!=t?this.sigBytes=L:this.sigBytes=g.length*4},toString:function(g){return(g||u).stringify(this)},concat:function(g){var L=this.words,V=g.words,_=this.sigBytes,b=g.sigBytes;if(this.clamp(),_%4)for(var M=0;M<b;M++){var A=V[M>>>2]>>>24-M%4*8&255;L[_+M>>>2]|=A<<24-(_+M)%4*8}else for(var S=0;S<b;S+=4)L[_+S>>>2]=V[S>>>2];return this.sigBytes+=b,this},clamp:function(){var g=this.words,L=this.sigBytes;g[L>>>2]&=4294967295<<32-L%4*8,g.length=e.ceil(L/4)},clone:function(){var g=l.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var L=[],V=0;V<g;V+=4)L.push(r());return new d.init(L,g)}}),c=s.enc={},u=c.Hex={stringify:function(g){for(var L=g.words,V=g.sigBytes,_=[],b=0;b<V;b++){var M=L[b>>>2]>>>24-b%4*8&255;_.push((M>>>4).toString(16)),_.push((M&15).toString(16))}return _.join("")},parse:function(g){for(var L=g.length,V=[],_=0;_<L;_+=2)V[_>>>3]|=parseInt(g.substr(_,2),16)<<24-_%8*4;return new d.init(V,L/2)}},h=c.Latin1={stringify:function(g){for(var L=g.words,V=g.sigBytes,_=[],b=0;b<V;b++){var M=L[b>>>2]>>>24-b%4*8&255;_.push(String.fromCharCode(M))}return _.join("")},parse:function(g){for(var L=g.length,V=[],_=0;_<L;_++)V[_>>>2]|=(g.charCodeAt(_)&255)<<24-_%4*8;return new d.init(V,L)}},C=c.Utf8={stringify:function(g){try{return decodeURIComponent(escape(h.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return h.parse(unescape(encodeURIComponent(g)))}},p=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=C.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var L,V=this._data,_=V.words,b=V.sigBytes,M=this.blockSize,A=M*4,S=b/A;g?S=e.ceil(S):S=e.max((S|0)-this._minBufferSize,0);var I=S*M,P=e.min(I*4,b);if(I){for(var T=0;T<I;T+=M)this._doProcessBlock(_,T);L=_.splice(0,I),V.sigBytes-=P}return new d.init(L,P)},clone:function(){var g=l.clone.call(this);return g._data=this._data.clone(),g},_minBufferSize:0}),m=a.Hasher=p.extend({cfg:l.extend(),init:function(g){this.cfg=this.cfg.extend(g),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(g){return this._append(g),this._process(),this},finalize:function(g){g&&this._append(g);var L=this._doFinalize();return L},blockSize:512/32,_createHelper:function(g){return function(L,V){return new g.init(V).finalize(L)}},_createHmacHelper:function(g){return function(L,V){return new H.HMAC.init(g,V).finalize(L)}}}),H=s.algo={};return s}(Math);return n})});var $V=kt((Zy,W71)=>{(function(n,e){typeof Zy=="object"?W71.exports=Zy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Zy,function(n){return function(e){var t=n,i=t.lib,r=i.Base,o=i.WordArray,s=t.x64={},a=s.Word=r.extend({init:function(d,c){this.high=d,this.low=c}}),l=s.WordArray=r.extend({init:function(d,c){d=this.words=d||[],c!=e?this.sigBytes=c:this.sigBytes=d.length*8},toX32:function(){for(var d=this.words,c=d.length,u=[],h=0;h<c;h++){var C=d[h];u.push(C.high),u.push(C.low)}return o.create(u,this.sigBytes)},clone:function(){for(var d=r.clone.call(this),c=d.words=this.words.slice(0),u=c.length,h=0;h<u;h++)c[h]=c[h].clone();return d}})}(),n})});var j71=kt((zy,U71)=>{(function(n,e){typeof zy=="object"?U71.exports=zy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(zy,function(n){return function(){if(typeof ArrayBuffer=="function"){var e=n,t=e.lib,i=t.WordArray,r=i.init,o=i.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var a=s.byteLength,l=[],d=0;d<a;d++)l[d>>>2]|=s[d]<<24-d%4*8;r.call(this,l,a)}else r.apply(this,arguments)};o.prototype=i}}(),n.lib.WordArray})});var q71=kt((Wy,$71)=>{(function(n,e){typeof Wy=="object"?$71.exports=Wy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Wy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.enc,o=r.Utf16=r.Utf16BE={stringify:function(a){for(var l=a.words,d=a.sigBytes,c=[],u=0;u<d;u+=2){var h=l[u>>>2]>>>16-u%4*8&65535;c.push(String.fromCharCode(h))}return c.join("")},parse:function(a){for(var l=a.length,d=[],c=0;c<l;c++)d[c>>>1]|=a.charCodeAt(c)<<16-c%2*16;return i.create(d,l*2)}};r.Utf16LE={stringify:function(a){for(var l=a.words,d=a.sigBytes,c=[],u=0;u<d;u+=2){var h=s(l[u>>>2]>>>16-u%4*8&65535);c.push(String.fromCharCode(h))}return c.join("")},parse:function(a){for(var l=a.length,d=[],c=0;c<l;c++)d[c>>>1]|=s(a.charCodeAt(c)<<16-c%2*16);return i.create(d,l*2)}};function s(a){return a<<8&4278255360|a>>>8&16711935}}(),n.enc.Utf16})});var gu=kt((Uy,K71)=>{(function(n,e){typeof Uy=="object"?K71.exports=Uy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Uy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.enc,o=r.Base64={stringify:function(a){var l=a.words,d=a.sigBytes,c=this._map;a.clamp();for(var u=[],h=0;h<d;h+=3)for(var C=l[h>>>2]>>>24-h%4*8&255,p=l[h+1>>>2]>>>24-(h+1)%4*8&255,m=l[h+2>>>2]>>>24-(h+2)%4*8&255,H=C<<16|p<<8|m,g=0;g<4&&h+g*.75<d;g++)u.push(c.charAt(H>>>6*(3-g)&63));var L=c.charAt(64);if(L)for(;u.length%4;)u.push(L);return u.join("")},parse:function(a){var l=a.length,d=this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var u=0;u<d.length;u++)c[d.charCodeAt(u)]=u}var h=d.charAt(64);if(h){var C=a.indexOf(h);C!==-1&&(l=C)}return s(a,l,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(a,l,d){for(var c=[],u=0,h=0;h<l;h++)if(h%4){var C=d[a.charCodeAt(h-1)]<<h%4*2,p=d[a.charCodeAt(h)]>>>6-h%4*2,m=C|p;c[u>>>2]|=m<<24-u%4*8,u++}return i.create(c,u)}}(),n.enc.Base64})});var Y71=kt((jy,G71)=>{(function(n,e){typeof jy=="object"?G71.exports=jy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(jy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.enc,o=r.Base64url={stringify:function(a,l=!0){var d=a.words,c=a.sigBytes,u=l?this._safe_map:this._map;a.clamp();for(var h=[],C=0;C<c;C+=3)for(var p=d[C>>>2]>>>24-C%4*8&255,m=d[C+1>>>2]>>>24-(C+1)%4*8&255,H=d[C+2>>>2]>>>24-(C+2)%4*8&255,g=p<<16|m<<8|H,L=0;L<4&&C+L*.75<c;L++)h.push(u.charAt(g>>>6*(3-L)&63));var V=u.charAt(64);if(V)for(;h.length%4;)h.push(V);return h.join("")},parse:function(a,l=!0){var d=a.length,c=l?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var h=0;h<c.length;h++)u[c.charCodeAt(h)]=h}var C=c.charAt(64);if(C){var p=a.indexOf(C);p!==-1&&(d=p)}return s(a,d,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(a,l,d){for(var c=[],u=0,h=0;h<l;h++)if(h%4){var C=d[a.charCodeAt(h-1)]<<h%4*2,p=d[a.charCodeAt(h)]>>>6-h%4*2,m=C|p;c[u>>>2]|=m<<24-u%4*8,u++}return i.create(c,u)}}(),n.enc.Base64url})});var Lu=kt(($y,Q71)=>{(function(n,e){typeof $y=="object"?Q71.exports=$y=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})($y,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.algo,a=[];(function(){for(var C=0;C<64;C++)a[C]=e.abs(e.sin(C+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(C,p){for(var m=0;m<16;m++){var H=p+m,g=C[H];C[H]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var L=this._hash.words,V=C[p+0],_=C[p+1],b=C[p+2],M=C[p+3],A=C[p+4],S=C[p+5],I=C[p+6],P=C[p+7],T=C[p+8],R=C[p+9],B=C[p+10],G=C[p+11],e1=C[p+12],Q=C[p+13],X=C[p+14],d1=C[p+15],Y=L[0],h1=L[1],s1=L[2],t1=L[3];Y=d(Y,h1,s1,t1,V,7,a[0]),t1=d(t1,Y,h1,s1,_,12,a[1]),s1=d(s1,t1,Y,h1,b,17,a[2]),h1=d(h1,s1,t1,Y,M,22,a[3]),Y=d(Y,h1,s1,t1,A,7,a[4]),t1=d(t1,Y,h1,s1,S,12,a[5]),s1=d(s1,t1,Y,h1,I,17,a[6]),h1=d(h1,s1,t1,Y,P,22,a[7]),Y=d(Y,h1,s1,t1,T,7,a[8]),t1=d(t1,Y,h1,s1,R,12,a[9]),s1=d(s1,t1,Y,h1,B,17,a[10]),h1=d(h1,s1,t1,Y,G,22,a[11]),Y=d(Y,h1,s1,t1,e1,7,a[12]),t1=d(t1,Y,h1,s1,Q,12,a[13]),s1=d(s1,t1,Y,h1,X,17,a[14]),h1=d(h1,s1,t1,Y,d1,22,a[15]),Y=c(Y,h1,s1,t1,_,5,a[16]),t1=c(t1,Y,h1,s1,I,9,a[17]),s1=c(s1,t1,Y,h1,G,14,a[18]),h1=c(h1,s1,t1,Y,V,20,a[19]),Y=c(Y,h1,s1,t1,S,5,a[20]),t1=c(t1,Y,h1,s1,B,9,a[21]),s1=c(s1,t1,Y,h1,d1,14,a[22]),h1=c(h1,s1,t1,Y,A,20,a[23]),Y=c(Y,h1,s1,t1,R,5,a[24]),t1=c(t1,Y,h1,s1,X,9,a[25]),s1=c(s1,t1,Y,h1,M,14,a[26]),h1=c(h1,s1,t1,Y,T,20,a[27]),Y=c(Y,h1,s1,t1,Q,5,a[28]),t1=c(t1,Y,h1,s1,b,9,a[29]),s1=c(s1,t1,Y,h1,P,14,a[30]),h1=c(h1,s1,t1,Y,e1,20,a[31]),Y=u(Y,h1,s1,t1,S,4,a[32]),t1=u(t1,Y,h1,s1,T,11,a[33]),s1=u(s1,t1,Y,h1,G,16,a[34]),h1=u(h1,s1,t1,Y,X,23,a[35]),Y=u(Y,h1,s1,t1,_,4,a[36]),t1=u(t1,Y,h1,s1,A,11,a[37]),s1=u(s1,t1,Y,h1,P,16,a[38]),h1=u(h1,s1,t1,Y,B,23,a[39]),Y=u(Y,h1,s1,t1,Q,4,a[40]),t1=u(t1,Y,h1,s1,V,11,a[41]),s1=u(s1,t1,Y,h1,M,16,a[42]),h1=u(h1,s1,t1,Y,I,23,a[43]),Y=u(Y,h1,s1,t1,R,4,a[44]),t1=u(t1,Y,h1,s1,e1,11,a[45]),s1=u(s1,t1,Y,h1,d1,16,a[46]),h1=u(h1,s1,t1,Y,b,23,a[47]),Y=h(Y,h1,s1,t1,V,6,a[48]),t1=h(t1,Y,h1,s1,P,10,a[49]),s1=h(s1,t1,Y,h1,X,15,a[50]),h1=h(h1,s1,t1,Y,S,21,a[51]),Y=h(Y,h1,s1,t1,e1,6,a[52]),t1=h(t1,Y,h1,s1,M,10,a[53]),s1=h(s1,t1,Y,h1,B,15,a[54]),h1=h(h1,s1,t1,Y,_,21,a[55]),Y=h(Y,h1,s1,t1,T,6,a[56]),t1=h(t1,Y,h1,s1,d1,10,a[57]),s1=h(s1,t1,Y,h1,I,15,a[58]),h1=h(h1,s1,t1,Y,Q,21,a[59]),Y=h(Y,h1,s1,t1,A,6,a[60]),t1=h(t1,Y,h1,s1,G,10,a[61]),s1=h(s1,t1,Y,h1,b,15,a[62]),h1=h(h1,s1,t1,Y,R,21,a[63]),L[0]=L[0]+Y|0,L[1]=L[1]+h1|0,L[2]=L[2]+s1|0,L[3]=L[3]+t1|0},_doFinalize:function(){var C=this._data,p=C.words,m=this._nDataBytes*8,H=C.sigBytes*8;p[H>>>5]|=128<<24-H%32;var g=e.floor(m/4294967296),L=m;p[(H+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,p[(H+64>>>9<<4)+14]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,C.sigBytes=(p.length+1)*4,this._process();for(var V=this._hash,_=V.words,b=0;b<4;b++){var M=_[b];_[b]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return V},clone:function(){var C=o.clone.call(this);return C._hash=this._hash.clone(),C}});function d(C,p,m,H,g,L,V){var _=C+(p&m|~p&H)+g+V;return(_<<L|_>>>32-L)+p}function c(C,p,m,H,g,L,V){var _=C+(p&H|m&~H)+g+V;return(_<<L|_>>>32-L)+p}function u(C,p,m,H,g,L,V){var _=C+(p^m^H)+g+V;return(_<<L|_>>>32-L)+p}function h(C,p,m,H,g,L,V){var _=C+(m^(p|~H))+g+V;return(_<<L|_>>>32-L)+p}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),n.MD5})});var Ky=kt((qy,X71)=>{(function(n,e){typeof qy=="object"?X71.exports=qy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(qy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=t.Hasher,o=e.algo,s=[],a=o.SHA1=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,d){for(var c=this._hash.words,u=c[0],h=c[1],C=c[2],p=c[3],m=c[4],H=0;H<80;H++){if(H<16)s[H]=l[d+H]|0;else{var g=s[H-3]^s[H-8]^s[H-14]^s[H-16];s[H]=g<<1|g>>>31}var L=(u<<5|u>>>27)+m+s[H];H<20?L+=(h&C|~h&p)+1518500249:H<40?L+=(h^C^p)+1859775393:H<60?L+=(h&C|h&p|C&p)-1894007588:L+=(h^C^p)-899497514,m=p,p=C,C=h<<30|h>>>2,h=u,u=L}c[0]=c[0]+u|0,c[1]=c[1]+h|0,c[2]=c[2]+C|0,c[3]=c[3]+p|0,c[4]=c[4]+m|0},_doFinalize:function(){var l=this._data,d=l.words,c=this._nDataBytes*8,u=l.sigBytes*8;return d[u>>>5]|=128<<24-u%32,d[(u+64>>>9<<4)+14]=Math.floor(c/4294967296),d[(u+64>>>9<<4)+15]=c,l.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var l=r.clone.call(this);return l._hash=this._hash.clone(),l}});e.SHA1=r._createHelper(a),e.HmacSHA1=r._createHmacHelper(a)}(),n.SHA1})});var IK=kt((Gy,J71)=>{(function(n,e){typeof Gy=="object"?J71.exports=Gy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Gy,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.algo,a=[],l=[];(function(){function u(m){for(var H=e.sqrt(m),g=2;g<=H;g++)if(!(m%g))return!1;return!0}function h(m){return(m-(m|0))*4294967296|0}for(var C=2,p=0;p<64;)u(C)&&(p<8&&(a[p]=h(e.pow(C,1/2))),l[p]=h(e.pow(C,1/3)),p++),C++})();var d=[],c=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(u,h){for(var C=this._hash.words,p=C[0],m=C[1],H=C[2],g=C[3],L=C[4],V=C[5],_=C[6],b=C[7],M=0;M<64;M++){if(M<16)d[M]=u[h+M]|0;else{var A=d[M-15],S=(A<<25|A>>>7)^(A<<14|A>>>18)^A>>>3,I=d[M-2],P=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;d[M]=S+d[M-7]+P+d[M-16]}var T=L&V^~L&_,R=p&m^p&H^m&H,B=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),G=(L<<26|L>>>6)^(L<<21|L>>>11)^(L<<7|L>>>25),e1=b+G+T+l[M]+d[M],Q=B+R;b=_,_=V,V=L,L=g+e1|0,g=H,H=m,m=p,p=e1+Q|0}C[0]=C[0]+p|0,C[1]=C[1]+m|0,C[2]=C[2]+H|0,C[3]=C[3]+g|0,C[4]=C[4]+L|0,C[5]=C[5]+V|0,C[6]=C[6]+_|0,C[7]=C[7]+b|0},_doFinalize:function(){var u=this._data,h=u.words,C=this._nDataBytes*8,p=u.sigBytes*8;return h[p>>>5]|=128<<24-p%32,h[(p+64>>>9<<4)+14]=e.floor(C/4294967296),h[(p+64>>>9<<4)+15]=C,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=o.clone.call(this);return u._hash=this._hash.clone(),u}});t.SHA256=o._createHelper(c),t.HmacSHA256=o._createHmacHelper(c)}(Math),n.SHA256})});var t91=kt((Yy,e91)=>{(function(n,e,t){typeof Yy=="object"?e91.exports=Yy=e(on(),IK()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(n.CryptoJS)})(Yy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.algo,o=r.SHA256,s=r.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=o._doFinalize.call(this);return a.sigBytes-=4,a}});e.SHA224=o._createHelper(s),e.HmacSHA224=o._createHmacHelper(s)}(),n.SHA224})});var TK=kt((Qy,i91)=>{(function(n,e,t){typeof Qy=="object"?i91.exports=Qy=e(on(),$V()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(n.CryptoJS)})(Qy,function(n){return function(){var e=n,t=e.lib,i=t.Hasher,r=e.x64,o=r.Word,s=r.WordArray,a=e.algo;function l(){return o.create.apply(o,arguments)}var d=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],c=[];(function(){for(var h=0;h<80;h++)c[h]=l()})();var u=a.SHA512=i.extend({_doReset:function(){this._hash=new s.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(h,C){for(var p=this._hash.words,m=p[0],H=p[1],g=p[2],L=p[3],V=p[4],_=p[5],b=p[6],M=p[7],A=m.high,S=m.low,I=H.high,P=H.low,T=g.high,R=g.low,B=L.high,G=L.low,e1=V.high,Q=V.low,X=_.high,d1=_.low,Y=b.high,h1=b.low,s1=M.high,t1=M.low,x1=A,ve=S,Vt=I,ke=P,$e=T,Ci=R,rn=B,mn=G,fe=e1,qi=Q,Dr=X,jr=d1,Rt=Y,gr=h1,vo=s1,Mi=t1,hr=0;hr<80;hr++){var b1,f1,C1=c[hr];if(hr<16)f1=C1.high=h[C+hr*2]|0,b1=C1.low=h[C+hr*2+1]|0;else{var q=c[hr-15],W=q.high,o1=q.low,n1=(W>>>1|o1<<31)^(W>>>8|o1<<24)^W>>>7,w1=(o1>>>1|W<<31)^(o1>>>8|W<<24)^(o1>>>7|W<<25),ee=c[hr-2],ue=ee.high,Ve=ee.low,tt=(ue>>>19|Ve<<13)^(ue<<3|Ve>>>29)^ue>>>6,Oe=(Ve>>>19|ue<<13)^(Ve<<3|ue>>>29)^(Ve>>>6|ue<<26),$t=c[hr-7],qt=$t.high,Fe=$t.low,vi=c[hr-16],Ki=vi.high,no=vi.low;b1=w1+Fe,f1=n1+qt+(b1>>>0<w1>>>0?1:0),b1=b1+Oe,f1=f1+tt+(b1>>>0<Oe>>>0?1:0),b1=b1+no,f1=f1+Ki+(b1>>>0<no>>>0?1:0),C1.high=f1,C1.low=b1}var Kt=fe&Dr^~fe&Rt,Pi=qi&jr^~qi&gr,y2=x1&Vt^x1&$e^Vt&$e,Ea=ve&ke^ve&Ci^ke&Ci,ro=(x1>>>28|ve<<4)^(x1<<30|ve>>>2)^(x1<<25|ve>>>7),On=(ve>>>28|x1<<4)^(ve<<30|x1>>>2)^(ve<<25|x1>>>7),tr=(fe>>>14|qi<<18)^(fe>>>18|qi<<14)^(fe<<23|qi>>>9),na=(qi>>>14|fe<<18)^(qi>>>18|fe<<14)^(qi<<23|fe>>>9),C5=d[hr],n2=C5.high,J0=C5.low,fn=Mi+na,Ir=vo+tr+(fn>>>0<Mi>>>0?1:0),fn=fn+Pi,Ir=Ir+Kt+(fn>>>0<Pi>>>0?1:0),fn=fn+J0,Ir=Ir+n2+(fn>>>0<J0>>>0?1:0),fn=fn+b1,Ir=Ir+f1+(fn>>>0<b1>>>0?1:0),ra=On+Ea,Da=ro+y2+(ra>>>0<On>>>0?1:0);vo=Rt,Mi=gr,Rt=Dr,gr=jr,Dr=fe,jr=qi,qi=mn+fn|0,fe=rn+Ir+(qi>>>0<mn>>>0?1:0)|0,rn=$e,mn=Ci,$e=Vt,Ci=ke,Vt=x1,ke=ve,ve=fn+ra|0,x1=Ir+Da+(ve>>>0<fn>>>0?1:0)|0}S=m.low=S+ve,m.high=A+x1+(S>>>0<ve>>>0?1:0),P=H.low=P+ke,H.high=I+Vt+(P>>>0<ke>>>0?1:0),R=g.low=R+Ci,g.high=T+$e+(R>>>0<Ci>>>0?1:0),G=L.low=G+mn,L.high=B+rn+(G>>>0<mn>>>0?1:0),Q=V.low=Q+qi,V.high=e1+fe+(Q>>>0<qi>>>0?1:0),d1=_.low=d1+jr,_.high=X+Dr+(d1>>>0<jr>>>0?1:0),h1=b.low=h1+gr,b.high=Y+Rt+(h1>>>0<gr>>>0?1:0),t1=M.low=t1+Mi,M.high=s1+vo+(t1>>>0<Mi>>>0?1:0)},_doFinalize:function(){var h=this._data,C=h.words,p=this._nDataBytes*8,m=h.sigBytes*8;C[m>>>5]|=128<<24-m%32,C[(m+128>>>10<<5)+30]=Math.floor(p/4294967296),C[(m+128>>>10<<5)+31]=p,h.sigBytes=C.length*4,this._process();var H=this._hash.toX32();return H},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});e.SHA512=i._createHelper(u),e.HmacSHA512=i._createHmacHelper(u)}(),n.SHA512})});var r91=kt((Xy,n91)=>{(function(n,e,t){typeof Xy=="object"?n91.exports=Xy=e(on(),$V(),TK()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(n.CryptoJS)})(Xy,function(n){return function(){var e=n,t=e.x64,i=t.Word,r=t.WordArray,o=e.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var l=s._doFinalize.call(this);return l.sigBytes-=16,l}});e.SHA384=s._createHelper(a),e.HmacSHA384=s._createHmacHelper(a)}(),n.SHA384})});var s91=kt((Jy,o91)=>{(function(n,e,t){typeof Jy=="object"?o91.exports=Jy=e(on(),$V()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(n.CryptoJS)})(Jy,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.x64,a=s.Word,l=t.algo,d=[],c=[],u=[];(function(){for(var p=1,m=0,H=0;H<24;H++){d[p+5*m]=(H+1)*(H+2)/2%64;var g=m%5,L=(2*p+3*m)%5;p=g,m=L}for(var p=0;p<5;p++)for(var m=0;m<5;m++)c[p+5*m]=m+(2*p+3*m)%5*5;for(var V=1,_=0;_<24;_++){for(var b=0,M=0,A=0;A<7;A++){if(V&1){var S=(1<<A)-1;S<32?M^=1<<S:b^=1<<S-32}V&128?V=V<<1^113:V<<=1}u[_]=a.create(b,M)}})();var h=[];(function(){for(var p=0;p<25;p++)h[p]=a.create()})();var C=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var p=this._state=[],m=0;m<25;m++)p[m]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(p,m){for(var H=this._state,g=this.blockSize/2,L=0;L<g;L++){var V=p[m+2*L],_=p[m+2*L+1];V=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var b=H[L];b.high^=_,b.low^=V}for(var M=0;M<24;M++){for(var A=0;A<5;A++){for(var S=0,I=0,P=0;P<5;P++){var b=H[A+5*P];S^=b.high,I^=b.low}var T=h[A];T.high=S,T.low=I}for(var A=0;A<5;A++)for(var R=h[(A+4)%5],B=h[(A+1)%5],G=B.high,e1=B.low,S=R.high^(G<<1|e1>>>31),I=R.low^(e1<<1|G>>>31),P=0;P<5;P++){var b=H[A+5*P];b.high^=S,b.low^=I}for(var Q=1;Q<25;Q++){var S,I,b=H[Q],X=b.high,d1=b.low,Y=d[Q];Y<32?(S=X<<Y|d1>>>32-Y,I=d1<<Y|X>>>32-Y):(S=d1<<Y-32|X>>>64-Y,I=X<<Y-32|d1>>>64-Y);var h1=h[c[Q]];h1.high=S,h1.low=I}var s1=h[0],t1=H[0];s1.high=t1.high,s1.low=t1.low;for(var A=0;A<5;A++)for(var P=0;P<5;P++){var Q=A+5*P,b=H[Q],x1=h[Q],ve=h[(A+1)%5+5*P],Vt=h[(A+2)%5+5*P];b.high=x1.high^~ve.high&Vt.high,b.low=x1.low^~ve.low&Vt.low}var b=H[0],ke=u[M];b.high^=ke.high,b.low^=ke.low}},_doFinalize:function(){var p=this._data,m=p.words,H=this._nDataBytes*8,g=p.sigBytes*8,L=this.blockSize*32;m[g>>>5]|=1<<24-g%32,m[(e.ceil((g+1)/L)*L>>>5)-1]|=128,p.sigBytes=m.length*4,this._process();for(var V=this._state,_=this.cfg.outputLength/8,b=_/8,M=[],A=0;A<b;A++){var S=V[A],I=S.high,P=S.low;I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,M.push(P),M.push(I)}return new r.init(M,_)},clone:function(){for(var p=o.clone.call(this),m=p._state=this._state.slice(0),H=0;H<25;H++)m[H]=m[H].clone();return p}});t.SHA3=o._createHelper(C),t.HmacSHA3=o._createHmacHelper(C)}(Math),n.SHA3})});var l91=kt((ek,a91)=>{(function(n,e){typeof ek=="object"?a91.exports=ek=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(ek,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),d=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),C=s.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,b){for(var M=0;M<16;M++){var A=b+M,S=_[A];_[A]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var I=this._hash.words,P=u.words,T=h.words,R=a.words,B=l.words,G=d.words,e1=c.words,Q,X,d1,Y,h1,s1,t1,x1,ve,Vt;s1=Q=I[0],t1=X=I[1],x1=d1=I[2],ve=Y=I[3],Vt=h1=I[4];for(var ke,M=0;M<80;M+=1)ke=Q+_[b+R[M]]|0,M<16?ke+=p(X,d1,Y)+P[0]:M<32?ke+=m(X,d1,Y)+P[1]:M<48?ke+=H(X,d1,Y)+P[2]:M<64?ke+=g(X,d1,Y)+P[3]:ke+=L(X,d1,Y)+P[4],ke=ke|0,ke=V(ke,G[M]),ke=ke+h1|0,Q=h1,h1=Y,Y=V(d1,10),d1=X,X=ke,ke=s1+_[b+B[M]]|0,M<16?ke+=L(t1,x1,ve)+T[0]:M<32?ke+=g(t1,x1,ve)+T[1]:M<48?ke+=H(t1,x1,ve)+T[2]:M<64?ke+=m(t1,x1,ve)+T[3]:ke+=p(t1,x1,ve)+T[4],ke=ke|0,ke=V(ke,e1[M]),ke=ke+Vt|0,s1=Vt,Vt=ve,ve=V(x1,10),x1=t1,t1=ke;ke=I[1]+d1+ve|0,I[1]=I[2]+Y+Vt|0,I[2]=I[3]+h1+s1|0,I[3]=I[4]+Q+t1|0,I[4]=I[0]+X+x1|0,I[0]=ke},_doFinalize:function(){var _=this._data,b=_.words,M=this._nDataBytes*8,A=_.sigBytes*8;b[A>>>5]|=128<<24-A%32,b[(A+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,_.sigBytes=(b.length+1)*4,this._process();for(var S=this._hash,I=S.words,P=0;P<5;P++){var T=I[P];I[P]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return S},clone:function(){var _=o.clone.call(this);return _._hash=this._hash.clone(),_}});function p(_,b,M){return _^b^M}function m(_,b,M){return _&b|~_&M}function H(_,b,M){return(_|~b)^M}function g(_,b,M){return _&M|b&~M}function L(_,b,M){return _^(b|~M)}function V(_,b){return _<<b|_>>>32-b}t.RIPEMD160=o._createHelper(C),t.HmacRIPEMD160=o._createHmacHelper(C)}(Math),n.RIPEMD160})});var ik=kt((tk,d91)=>{(function(n,e){typeof tk=="object"?d91.exports=tk=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(tk,function(n){(function(){var e=n,t=e.lib,i=t.Base,r=e.enc,o=r.Utf8,s=e.algo,a=s.HMAC=i.extend({init:function(l,d){l=this._hasher=new l.init,typeof d=="string"&&(d=o.parse(d));var c=l.blockSize,u=c*4;d.sigBytes>u&&(d=l.finalize(d)),d.clamp();for(var h=this._oKey=d.clone(),C=this._iKey=d.clone(),p=h.words,m=C.words,H=0;H<c;H++)p[H]^=1549556828,m[H]^=909522486;h.sigBytes=C.sigBytes=u,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var d=this._hasher,c=d.finalize(l);d.reset();var u=d.finalize(this._oKey.clone().concat(c));return u}})})()})});var u91=kt((nk,c91)=>{(function(n,e,t){typeof nk=="object"?c91.exports=nk=e(on(),Ky(),ik()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(n.CryptoJS)})(nk,function(n){return function(){var e=n,t=e.lib,i=t.Base,r=t.WordArray,o=e.algo,s=o.SHA1,a=o.HMAC,l=o.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:s,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,c){for(var u=this.cfg,h=a.create(u.hasher,d),C=r.create(),p=r.create([1]),m=C.words,H=p.words,g=u.keySize,L=u.iterations;m.length<g;){var V=h.update(c).finalize(p);h.reset();for(var _=V.words,b=_.length,M=V,A=1;A<L;A++){M=h.finalize(M),h.reset();for(var S=M.words,I=0;I<b;I++)_[I]^=S[I]}C.concat(V),H[0]++}return C.sigBytes=g*4,C}});e.PBKDF2=function(d,c,u){return l.create(u).compute(d,c)}}(),n.PBKDF2})});var p9=kt((rk,h91)=>{(function(n,e,t){typeof rk=="object"?h91.exports=rk=e(on(),Ky(),ik()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(n.CryptoJS)})(rk,function(n){return function(){var e=n,t=e.lib,i=t.Base,r=t.WordArray,o=e.algo,s=o.MD5,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:s,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,d){for(var c,u=this.cfg,h=u.hasher.create(),C=r.create(),p=C.words,m=u.keySize,H=u.iterations;p.length<m;){c&&h.update(c),c=h.update(l).finalize(d),h.reset();for(var g=1;g<H;g++)c=h.finalize(c),h.reset();C.concat(c)}return C.sigBytes=m*4,C}});e.EvpKDF=function(l,d,c){return a.create(c).compute(l,d)}}(),n.EvpKDF})});var os=kt((ok,C91)=>{(function(n,e,t){typeof ok=="object"?C91.exports=ok=e(on(),p9()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(n.CryptoJS)})(ok,function(n){n.lib.Cipher||function(e){var t=n,i=t.lib,r=i.Base,o=i.WordArray,s=i.BufferedBlockAlgorithm,a=t.enc,l=a.Utf8,d=a.Base64,c=t.algo,u=c.EvpKDF,h=i.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(T,R){return this.create(this._ENC_XFORM_MODE,T,R)},createDecryptor:function(T,R){return this.create(this._DEC_XFORM_MODE,T,R)},init:function(T,R,B){this.cfg=this.cfg.extend(B),this._xformMode=T,this._key=R,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(T){return this._append(T),this._process()},finalize:function(T){T&&this._append(T);var R=this._doFinalize();return R},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function T(R){return typeof R=="string"?P:A}return function(R){return{encrypt:function(B,G,e1){return T(G).encrypt(R,B,G,e1)},decrypt:function(B,G,e1){return T(G).decrypt(R,B,G,e1)}}}}()}),C=i.StreamCipher=h.extend({_doFinalize:function(){var T=this._process(!0);return T},blockSize:1}),p=t.mode={},m=i.BlockCipherMode=r.extend({createEncryptor:function(T,R){return this.Encryptor.create(T,R)},createDecryptor:function(T,R){return this.Decryptor.create(T,R)},init:function(T,R){this._cipher=T,this._iv=R}}),H=p.CBC=function(){var T=m.extend();T.Encryptor=T.extend({processBlock:function(B,G){var e1=this._cipher,Q=e1.blockSize;R.call(this,B,G,Q),e1.encryptBlock(B,G),this._prevBlock=B.slice(G,G+Q)}}),T.Decryptor=T.extend({processBlock:function(B,G){var e1=this._cipher,Q=e1.blockSize,X=B.slice(G,G+Q);e1.decryptBlock(B,G),R.call(this,B,G,Q),this._prevBlock=X}});function R(B,G,e1){var Q,X=this._iv;X?(Q=X,this._iv=e):Q=this._prevBlock;for(var d1=0;d1<e1;d1++)B[G+d1]^=Q[d1]}return T}(),g=t.pad={},L=g.Pkcs7={pad:function(T,R){for(var B=R*4,G=B-T.sigBytes%B,e1=G<<24|G<<16|G<<8|G,Q=[],X=0;X<G;X+=4)Q.push(e1);var d1=o.create(Q,G);T.concat(d1)},unpad:function(T){var R=T.words[T.sigBytes-1>>>2]&255;T.sigBytes-=R}},V=i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:H,padding:L}),reset:function(){var T;h.reset.call(this);var R=this.cfg,B=R.iv,G=R.mode;this._xformMode==this._ENC_XFORM_MODE?T=G.createEncryptor:(T=G.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,B&&B.words):(this._mode=T.call(G,this,B&&B.words),this._mode.__creator=T)},_doProcessBlock:function(T,R){this._mode.processBlock(T,R)},_doFinalize:function(){var T,R=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(R.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),R.unpad(T)),T},blockSize:128/32}),_=i.CipherParams=r.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),b=t.format={},M=b.OpenSSL={stringify:function(T){var R,B=T.ciphertext,G=T.salt;return G?R=o.create([1398893684,1701076831]).concat(G).concat(B):R=B,R.toString(d)},parse:function(T){var R,B=d.parse(T),G=B.words;return G[0]==1398893684&&G[1]==1701076831&&(R=o.create(G.slice(2,4)),G.splice(0,4),B.sigBytes-=16),_.create({ciphertext:B,salt:R})}},A=i.SerializableCipher=r.extend({cfg:r.extend({format:M}),encrypt:function(T,R,B,G){G=this.cfg.extend(G);var e1=T.createEncryptor(B,G),Q=e1.finalize(R),X=e1.cfg;return _.create({ciphertext:Q,key:B,iv:X.iv,algorithm:T,mode:X.mode,padding:X.padding,blockSize:T.blockSize,formatter:G.format})},decrypt:function(T,R,B,G){G=this.cfg.extend(G),R=this._parse(R,G.format);var e1=T.createDecryptor(B,G).finalize(R.ciphertext);return e1},_parse:function(T,R){return typeof T=="string"?R.parse(T,this):T}}),S=t.kdf={},I=S.OpenSSL={execute:function(T,R,B,G){G||(G=o.random(64/8));var e1=u.create({keySize:R+B}).compute(T,G),Q=o.create(e1.words.slice(R),B*4);return e1.sigBytes=R*4,_.create({key:e1,iv:Q,salt:G})}},P=i.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:I}),encrypt:function(T,R,B,G){G=this.cfg.extend(G);var e1=G.kdf.execute(B,T.keySize,T.ivSize);G.iv=e1.iv;var Q=A.encrypt.call(this,T,R,e1.key,G);return Q.mixIn(e1),Q},decrypt:function(T,R,B,G){G=this.cfg.extend(G),R=this._parse(R,G.format);var e1=G.kdf.execute(B,T.keySize,T.ivSize,R.salt);G.iv=e1.iv;var Q=A.decrypt.call(this,T,R,e1.key,G);return Q}})}()})});var m91=kt((sk,p91)=>{(function(n,e,t){typeof sk=="object"?p91.exports=sk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(sk,function(n){return n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();e.Encryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize;t.call(this,i,r,s,o),this._prevBlock=i.slice(r,r+s)}}),e.Decryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize,a=i.slice(r,r+s);t.call(this,i,r,s,o),this._prevBlock=a}});function t(i,r,o,s){var a,l=this._iv;l?(a=l.slice(0),this._iv=void 0):a=this._prevBlock,s.encryptBlock(a,0);for(var d=0;d<o;d++)i[r+d]^=a[d]}return e}(),n.mode.CFB})});var g91=kt((ak,f91)=>{(function(n,e,t){typeof ak=="object"?f91.exports=ak=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(ak,function(n){return n.mode.CTR=function(){var e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize,a=this._iv,l=this._counter;a&&(l=this._counter=a.slice(0),this._iv=void 0);var d=l.slice(0);o.encryptBlock(d,0),l[s-1]=l[s-1]+1|0;for(var c=0;c<s;c++)i[r+c]^=d[c]}});return e.Decryptor=t,e}(),n.mode.CTR})});var H91=kt((lk,L91)=>{(function(n,e,t){typeof lk=="object"?L91.exports=lk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(lk,function(n){return n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(o){if((o>>24&255)===255){var s=o>>16&255,a=o>>8&255,l=o&255;s===255?(s=0,a===255?(a=0,l===255?l=0:++l):++a):++s,o=0,o+=s<<16,o+=a<<8,o+=l}else o+=1<<24;return o}function i(o){return(o[0]=t(o[0]))===0&&(o[1]=t(o[1])),o}var r=e.Encryptor=e.extend({processBlock:function(o,s){var a=this._cipher,l=a.blockSize,d=this._iv,c=this._counter;d&&(c=this._counter=d.slice(0),this._iv=void 0),i(c);var u=c.slice(0);a.encryptBlock(u,0);for(var h=0;h<l;h++)o[s+h]^=u[h]}});return e.Decryptor=r,e}(),n.mode.CTRGladman})});var M91=kt((dk,V91)=>{(function(n,e,t){typeof dk=="object"?V91.exports=dk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(dk,function(n){return n.mode.OFB=function(){var e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize,a=this._iv,l=this._keystream;a&&(l=this._keystream=a.slice(0),this._iv=void 0),o.encryptBlock(l,0);for(var d=0;d<s;d++)i[r+d]^=l[d]}});return e.Decryptor=t,e}(),n.mode.OFB})});var _91=kt((ck,v91)=>{(function(n,e,t){typeof ck=="object"?v91.exports=ck=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(ck,function(n){return n.mode.ECB=function(){var e=n.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,i){this._cipher.encryptBlock(t,i)}}),e.Decryptor=e.extend({processBlock:function(t,i){this._cipher.decryptBlock(t,i)}}),e}(),n.mode.ECB})});var b91=kt((uk,x91)=>{(function(n,e,t){typeof uk=="object"?x91.exports=uk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(uk,function(n){return n.pad.AnsiX923={pad:function(e,t){var i=e.sigBytes,r=t*4,o=r-i%r,s=i+o-1;e.clamp(),e.words[s>>>2]|=o<<24-s%4*8,e.sigBytes+=o},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},n.pad.Ansix923})});var S91=kt((hk,A91)=>{(function(n,e,t){typeof hk=="object"?A91.exports=hk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(hk,function(n){return n.pad.Iso10126={pad:function(e,t){var i=t*4,r=i-e.sigBytes%i;e.concat(n.lib.WordArray.random(r-1)).concat(n.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},n.pad.Iso10126})});var y91=kt((Ck,w91)=>{(function(n,e,t){typeof Ck=="object"?w91.exports=Ck=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Ck,function(n){return n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971})});var E91=kt((pk,k91)=>{(function(n,e,t){typeof pk=="object"?k91.exports=pk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(pk,function(n){return n.pad.ZeroPadding={pad:function(e,t){var i=t*4;e.clamp(),e.sigBytes+=i-(e.sigBytes%i||i)},unpad:function(e){for(var t=e.words,i=e.sigBytes-1,i=e.sigBytes-1;i>=0;i--)if(t[i>>>2]>>>24-i%4*8&255){e.sigBytes=i+1;break}}},n.pad.ZeroPadding})});var I91=kt((mk,D91)=>{(function(n,e,t){typeof mk=="object"?D91.exports=mk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(mk,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})});var N91=kt((fk,T91)=>{(function(n,e,t){typeof fk=="object"?T91.exports=fk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(fk,function(n){return function(e){var t=n,i=t.lib,r=i.CipherParams,o=t.enc,s=o.Hex,a=t.format,l=a.Hex={stringify:function(d){return d.ciphertext.toString(s)},parse:function(d){var c=s.parse(d);return r.create({ciphertext:c})}}}(),n.format.Hex})});var R91=kt((gk,O91)=>{(function(n,e,t){typeof gk=="object"?O91.exports=gk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(gk,function(n){return function(){var e=n,t=e.lib,i=t.BlockCipher,r=e.algo,o=[],s=[],a=[],l=[],d=[],c=[],u=[],h=[],C=[],p=[];(function(){for(var g=[],L=0;L<256;L++)L<128?g[L]=L<<1:g[L]=L<<1^283;for(var V=0,_=0,L=0;L<256;L++){var b=_^_<<1^_<<2^_<<3^_<<4;b=b>>>8^b&255^99,o[V]=b,s[b]=V;var M=g[V],A=g[M],S=g[A],I=g[b]*257^b*16843008;a[V]=I<<24|I>>>8,l[V]=I<<16|I>>>16,d[V]=I<<8|I>>>24,c[V]=I;var I=S*16843009^A*65537^M*257^V*16843008;u[b]=I<<24|I>>>8,h[b]=I<<16|I>>>16,C[b]=I<<8|I>>>24,p[b]=I,V?(V=M^g[g[g[S^M]]],_^=g[g[_]]):V=_=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],H=r.AES=i.extend({_doReset:function(){var g;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var L=this._keyPriorReset=this._key,V=L.words,_=L.sigBytes/4,b=this._nRounds=_+6,M=(b+1)*4,A=this._keySchedule=[],S=0;S<M;S++)S<_?A[S]=V[S]:(g=A[S-1],S%_?_>6&&S%_==4&&(g=o[g>>>24]<<24|o[g>>>16&255]<<16|o[g>>>8&255]<<8|o[g&255]):(g=g<<8|g>>>24,g=o[g>>>24]<<24|o[g>>>16&255]<<16|o[g>>>8&255]<<8|o[g&255],g^=m[S/_|0]<<24),A[S]=A[S-_]^g);for(var I=this._invKeySchedule=[],P=0;P<M;P++){var S=M-P;if(P%4)var g=A[S];else var g=A[S-4];P<4||S<=4?I[P]=g:I[P]=u[o[g>>>24]]^h[o[g>>>16&255]]^C[o[g>>>8&255]]^p[o[g&255]]}}},encryptBlock:function(g,L){this._doCryptBlock(g,L,this._keySchedule,a,l,d,c,o)},decryptBlock:function(g,L){var V=g[L+1];g[L+1]=g[L+3],g[L+3]=V,this._doCryptBlock(g,L,this._invKeySchedule,u,h,C,p,s);var V=g[L+1];g[L+1]=g[L+3],g[L+3]=V},_doCryptBlock:function(g,L,V,_,b,M,A,S){for(var I=this._nRounds,P=g[L]^V[0],T=g[L+1]^V[1],R=g[L+2]^V[2],B=g[L+3]^V[3],G=4,e1=1;e1<I;e1++){var Q=_[P>>>24]^b[T>>>16&255]^M[R>>>8&255]^A[B&255]^V[G++],X=_[T>>>24]^b[R>>>16&255]^M[B>>>8&255]^A[P&255]^V[G++],d1=_[R>>>24]^b[B>>>16&255]^M[P>>>8&255]^A[T&255]^V[G++],Y=_[B>>>24]^b[P>>>16&255]^M[T>>>8&255]^A[R&255]^V[G++];P=Q,T=X,R=d1,B=Y}var Q=(S[P>>>24]<<24|S[T>>>16&255]<<16|S[R>>>8&255]<<8|S[B&255])^V[G++],X=(S[T>>>24]<<24|S[R>>>16&255]<<16|S[B>>>8&255]<<8|S[P&255])^V[G++],d1=(S[R>>>24]<<24|S[B>>>16&255]<<16|S[P>>>8&255]<<8|S[T&255])^V[G++],Y=(S[B>>>24]<<24|S[P>>>16&255]<<16|S[T>>>8&255]<<8|S[R&255])^V[G++];g[L]=Q,g[L+1]=X,g[L+2]=d1,g[L+3]=Y},keySize:256/32});e.AES=i._createHelper(H)}(),n.AES})});var F91=kt((Lk,P91)=>{(function(n,e,t){typeof Lk=="object"?P91.exports=Lk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Lk,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=t.BlockCipher,o=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=o.DES=r.extend({_doReset:function(){for(var m=this._key,H=m.words,g=[],L=0;L<56;L++){var V=s[L]-1;g[L]=H[V>>>5]>>>31-V%32&1}for(var _=this._subKeys=[],b=0;b<16;b++){for(var M=_[b]=[],A=l[b],L=0;L<24;L++)M[L/6|0]|=g[(a[L]-1+A)%28]<<31-L%6,M[4+(L/6|0)]|=g[28+(a[L+24]-1+A)%28]<<31-L%6;M[0]=M[0]<<1|M[0]>>>31;for(var L=1;L<7;L++)M[L]=M[L]>>>(L-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var S=this._invSubKeys=[],L=0;L<16;L++)S[L]=_[15-L]},encryptBlock:function(m,H){this._doCryptBlock(m,H,this._subKeys)},decryptBlock:function(m,H){this._doCryptBlock(m,H,this._invSubKeys)},_doCryptBlock:function(m,H,g){this._lBlock=m[H],this._rBlock=m[H+1],h.call(this,4,252645135),h.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),h.call(this,1,1431655765);for(var L=0;L<16;L++){for(var V=g[L],_=this._lBlock,b=this._rBlock,M=0,A=0;A<8;A++)M|=d[A][((b^V[A])&c[A])>>>0];this._lBlock=b,this._rBlock=_^M}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,h.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),m[H]=this._lBlock,m[H+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(m,H){var g=(this._lBlock>>>m^this._rBlock)&H;this._rBlock^=g,this._lBlock^=g<<m}function C(m,H){var g=(this._rBlock>>>m^this._lBlock)&H;this._lBlock^=g,this._rBlock^=g<<m}e.DES=r._createHelper(u);var p=o.TripleDES=r.extend({_doReset:function(){var m=this._key,H=m.words;if(H.length!==2&&H.length!==4&&H.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var g=H.slice(0,2),L=H.length<4?H.slice(0,2):H.slice(2,4),V=H.length<6?H.slice(0,2):H.slice(4,6);this._des1=u.createEncryptor(i.create(g)),this._des2=u.createEncryptor(i.create(L)),this._des3=u.createEncryptor(i.create(V))},encryptBlock:function(m,H){this._des1.encryptBlock(m,H),this._des2.decryptBlock(m,H),this._des3.encryptBlock(m,H)},decryptBlock:function(m,H){this._des3.decryptBlock(m,H),this._des2.encryptBlock(m,H),this._des1.decryptBlock(m,H)},keySize:192/32,ivSize:64/32,blockSize:64/32});e.TripleDES=r._createHelper(p)}(),n.TripleDES})});var Z91=kt((Hk,B91)=>{(function(n,e,t){typeof Hk=="object"?B91.exports=Hk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Hk,function(n){return function(){var e=n,t=e.lib,i=t.StreamCipher,r=e.algo,o=r.RC4=i.extend({_doReset:function(){for(var l=this._key,d=l.words,c=l.sigBytes,u=this._S=[],h=0;h<256;h++)u[h]=h;for(var h=0,C=0;h<256;h++){var p=h%c,m=d[p>>>2]>>>24-p%4*8&255;C=(C+u[h]+m)%256;var H=u[h];u[h]=u[C],u[C]=H}this._i=this._j=0},_doProcessBlock:function(l,d){l[d]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var l=this._S,d=this._i,c=this._j,u=0,h=0;h<4;h++){d=(d+1)%256,c=(c+l[d])%256;var C=l[d];l[d]=l[c],l[c]=C,u|=l[(l[d]+l[c])%256]<<24-h*8}return this._i=d,this._j=c,u}e.RC4=i._createHelper(o);var a=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var l=this.cfg.drop;l>0;l--)s.call(this)}});e.RC4Drop=i._createHelper(a)}(),n.RC4})});var W91=kt((Vk,z91)=>{(function(n,e,t){typeof Vk=="object"?z91.exports=Vk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Vk,function(n){return function(){var e=n,t=e.lib,i=t.StreamCipher,r=e.algo,o=[],s=[],a=[],l=r.Rabbit=i.extend({_doReset:function(){for(var c=this._key.words,u=this.cfg.iv,h=0;h<4;h++)c[h]=(c[h]<<8|c[h]>>>24)&16711935|(c[h]<<24|c[h]>>>8)&4278255360;var C=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],p=this._C=[c[2]<<16|c[2]>>>16,c[0]&4294901760|c[1]&65535,c[3]<<16|c[3]>>>16,c[1]&4294901760|c[2]&65535,c[0]<<16|c[0]>>>16,c[2]&4294901760|c[3]&65535,c[1]<<16|c[1]>>>16,c[3]&4294901760|c[0]&65535];this._b=0;for(var h=0;h<4;h++)d.call(this);for(var h=0;h<8;h++)p[h]^=C[h+4&7];if(u){var m=u.words,H=m[0],g=m[1],L=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,V=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=L>>>16|V&4294901760,b=V<<16|L&65535;p[0]^=L,p[1]^=_,p[2]^=V,p[3]^=b,p[4]^=L,p[5]^=_,p[6]^=V,p[7]^=b;for(var h=0;h<4;h++)d.call(this)}},_doProcessBlock:function(c,u){var h=this._X;d.call(this),o[0]=h[0]^h[5]>>>16^h[3]<<16,o[1]=h[2]^h[7]>>>16^h[5]<<16,o[2]=h[4]^h[1]>>>16^h[7]<<16,o[3]=h[6]^h[3]>>>16^h[1]<<16;for(var C=0;C<4;C++)o[C]=(o[C]<<8|o[C]>>>24)&16711935|(o[C]<<24|o[C]>>>8)&4278255360,c[u+C]^=o[C]},blockSize:128/32,ivSize:64/32});function d(){for(var c=this._X,u=this._C,h=0;h<8;h++)s[h]=u[h];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<s[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<s[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<s[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<s[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<s[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<s[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<s[6]>>>0?1:0)|0,this._b=u[7]>>>0<s[7]>>>0?1:0;for(var h=0;h<8;h++){var C=c[h]+u[h],p=C&65535,m=C>>>16,H=((p*p>>>17)+p*m>>>15)+m*m,g=((C&4294901760)*C|0)+((C&65535)*C|0);a[h]=H^g}c[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,c[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,c[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,c[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,c[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,c[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,c[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,c[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=i._createHelper(l)}(),n.Rabbit})});var j91=kt((Mk,U91)=>{(function(n,e,t){typeof Mk=="object"?U91.exports=Mk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Mk,function(n){return function(){var e=n,t=e.lib,i=t.StreamCipher,r=e.algo,o=[],s=[],a=[],l=r.RabbitLegacy=i.extend({_doReset:function(){var c=this._key.words,u=this.cfg.iv,h=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],C=this._C=[c[2]<<16|c[2]>>>16,c[0]&4294901760|c[1]&65535,c[3]<<16|c[3]>>>16,c[1]&4294901760|c[2]&65535,c[0]<<16|c[0]>>>16,c[2]&4294901760|c[3]&65535,c[1]<<16|c[1]>>>16,c[3]&4294901760|c[0]&65535];this._b=0;for(var p=0;p<4;p++)d.call(this);for(var p=0;p<8;p++)C[p]^=h[p+4&7];if(u){var m=u.words,H=m[0],g=m[1],L=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,V=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=L>>>16|V&4294901760,b=V<<16|L&65535;C[0]^=L,C[1]^=_,C[2]^=V,C[3]^=b,C[4]^=L,C[5]^=_,C[6]^=V,C[7]^=b;for(var p=0;p<4;p++)d.call(this)}},_doProcessBlock:function(c,u){var h=this._X;d.call(this),o[0]=h[0]^h[5]>>>16^h[3]<<16,o[1]=h[2]^h[7]>>>16^h[5]<<16,o[2]=h[4]^h[1]>>>16^h[7]<<16,o[3]=h[6]^h[3]>>>16^h[1]<<16;for(var C=0;C<4;C++)o[C]=(o[C]<<8|o[C]>>>24)&16711935|(o[C]<<24|o[C]>>>8)&4278255360,c[u+C]^=o[C]},blockSize:128/32,ivSize:64/32});function d(){for(var c=this._X,u=this._C,h=0;h<8;h++)s[h]=u[h];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<s[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<s[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<s[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<s[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<s[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<s[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<s[6]>>>0?1:0)|0,this._b=u[7]>>>0<s[7]>>>0?1:0;for(var h=0;h<8;h++){var C=c[h]+u[h],p=C&65535,m=C>>>16,H=((p*p>>>17)+p*m>>>15)+m*m,g=((C&4294901760)*C|0)+((C&65535)*C|0);a[h]=H^g}c[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,c[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,c[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,c[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,c[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,c[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,c[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,c[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=i._createHelper(l)}(),n.RabbitLegacy})});var q91=kt((vk,$91)=>{(function(n,e,t){typeof vk=="object"?$91.exports=vk=e(on(),$V(),j71(),q71(),gu(),Y71(),Lu(),Ky(),IK(),t91(),TK(),r91(),s91(),l91(),ik(),u91(),p9(),os(),m91(),g91(),H91(),M91(),_91(),b91(),S91(),y91(),E91(),I91(),N91(),R91(),F91(),Z91(),W91(),j91()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],e):n.CryptoJS=e(n.CryptoJS)})(vk,function(n){return n})});var G91=kt((K91,_k)=>{(function(n,e){"use strict";typeof _k=="object"&&typeof _k.exports=="object"?_k.exports=n.document?e(n,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(n)})(typeof window<"u"?window:K91,function(n,e){"use strict";var t=[],i=Object.getPrototypeOf,r=t.slice,o=t.flat?function(v){return t.flat.call(v)}:function(v){return t.concat.apply([],v)},s=t.push,a=t.indexOf,l={},d=l.toString,c=l.hasOwnProperty,u=c.toString,h=u.call(Object),C={},p=function(x){return typeof x=="function"&&typeof x.nodeType!="number"&&typeof x.item!="function"},m=function(x){return x!=null&&x===x.window},H=n.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function L(v,x,w){w=w||H;var E,N,O=w.createElement("script");if(O.text=v,x)for(E in g)N=x[E]||x.getAttribute&&x.getAttribute(E),N&&O.setAttribute(E,N);w.head.appendChild(O).parentNode.removeChild(O)}function V(v){return v==null?v+"":typeof v=="object"||typeof v=="function"?l[d.call(v)]||"object":typeof v}var _="3.7.1",b=/HTML$/i,M=function(v,x){return new M.fn.init(v,x)};M.fn=M.prototype={jquery:_,constructor:M,length:0,toArray:function(){return r.call(this)},get:function(v){return v==null?r.call(this):v<0?this[v+this.length]:this[v]},pushStack:function(v){var x=M.merge(this.constructor(),v);return x.prevObject=this,x},each:function(v){return M.each(this,v)},map:function(v){return this.pushStack(M.map(this,function(x,w){return v.call(x,w,x)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(M.grep(this,function(v,x){return(x+1)%2}))},odd:function(){return this.pushStack(M.grep(this,function(v,x){return x%2}))},eq:function(v){var x=this.length,w=+v+(v<0?x:0);return this.pushStack(w>=0&&w<x?[this[w]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:t.sort,splice:t.splice},M.extend=M.fn.extend=function(){var v,x,w,E,N,O,$=arguments[0]||{},u1=1,r1=arguments.length,M1=!1;for(typeof $=="boolean"&&(M1=$,$=arguments[u1]||{},u1++),typeof $!="object"&&!p($)&&($={}),u1===r1&&($=this,u1--);u1<r1;u1++)if((v=arguments[u1])!=null)for(x in v)E=v[x],!(x==="__proto__"||$===E)&&(M1&&E&&(M.isPlainObject(E)||(N=Array.isArray(E)))?(w=$[x],N&&!Array.isArray(w)?O=[]:!N&&!M.isPlainObject(w)?O={}:O=w,N=!1,$[x]=M.extend(M1,O,E)):E!==void 0&&($[x]=E));return $},M.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(v){throw new Error(v)},noop:function(){},isPlainObject:function(v){var x,w;return!v||d.call(v)!=="[object Object]"?!1:(x=i(v),x?(w=c.call(x,"constructor")&&x.constructor,typeof w=="function"&&u.call(w)===h):!0)},isEmptyObject:function(v){var x;for(x in v)return!1;return!0},globalEval:function(v,x,w){L(v,{nonce:x&&x.nonce},w)},each:function(v,x){var w,E=0;if(A(v))for(w=v.length;E<w&&x.call(v[E],E,v[E])!==!1;E++);else for(E in v)if(x.call(v[E],E,v[E])===!1)break;return v},text:function(v){var x,w="",E=0,N=v.nodeType;if(!N)for(;x=v[E++];)w+=M.text(x);return N===1||N===11?v.textContent:N===9?v.documentElement.textContent:N===3||N===4?v.nodeValue:w},makeArray:function(v,x){var w=x||[];return v!=null&&(A(Object(v))?M.merge(w,typeof v=="string"?[v]:v):s.call(w,v)),w},inArray:function(v,x,w){return x==null?-1:a.call(x,v,w)},isXMLDoc:function(v){var x=v&&v.namespaceURI,w=v&&(v.ownerDocument||v).documentElement;return!b.test(x||w&&w.nodeName||"HTML")},merge:function(v,x){for(var w=+x.length,E=0,N=v.length;E<w;E++)v[N++]=x[E];return v.length=N,v},grep:function(v,x,w){for(var E,N=[],O=0,$=v.length,u1=!w;O<$;O++)E=!x(v[O],O),E!==u1&&N.push(v[O]);return N},map:function(v,x,w){var E,N,O=0,$=[];if(A(v))for(E=v.length;O<E;O++)N=x(v[O],O,w),N!=null&&$.push(N);else for(O in v)N=x(v[O],O,w),N!=null&&$.push(N);return o($)},guid:1,support:C}),typeof Symbol=="function"&&(M.fn[Symbol.iterator]=t[Symbol.iterator]),M.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(v,x){l["[object "+x+"]"]=x.toLowerCase()});function A(v){var x=!!v&&"length"in v&&v.length,w=V(v);return p(v)||m(v)?!1:w==="array"||x===0||typeof x=="number"&&x>0&&x-1 in v}function S(v,x){return v.nodeName&&v.nodeName.toLowerCase()===x.toLowerCase()}var I=t.pop,P=t.sort,T=t.splice,R="[\\x20\\t\\r\\n\\f]",B=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g");M.contains=function(v,x){var w=x&&x.parentNode;return v===w||!!(w&&w.nodeType===1&&(v.contains?v.contains(w):v.compareDocumentPosition&&v.compareDocumentPosition(w)&16))};var G=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function e1(v,x){return x?v==="\0"?"\uFFFD":v.slice(0,-1)+"\\"+v.charCodeAt(v.length-1).toString(16)+" ":"\\"+v}M.escapeSelector=function(v){return(v+"").replace(G,e1)};var Q=H,X=s;(function(){var v,x,w,E,N,O=X,$,u1,r1,M1,z1,ne=M.expando,E1=0,he=0,ni=Cw(),Ln=Cw(),Ai=Cw(),Es=Cw(),k2=function(J,L1){return J===L1&&(N=!0),0},pd="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",md="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Gi="\\["+R+"*("+md+")(?:"+R+"*([*^$|!~]?=)"+R+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+md+"))|)"+R+"*\\]",eu=":("+md+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Gi+")*)|.*)\\)|)",Sn=new RegExp(R+"+","g"),_o=new RegExp("^"+R+"*,"+R+"*"),YH=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),s$=new RegExp(R+"|>"),fd=new RegExp(eu),QH=new RegExp("^"+md+"$"),gd={ID:new RegExp("^#("+md+")"),CLASS:new RegExp("^\\.("+md+")"),TAG:new RegExp("^("+md+"|[*])"),ATTR:new RegExp("^"+Gi),PSEUDO:new RegExp("^"+eu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+pd+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},W7=/^(?:input|select|textarea|button)$/i,U7=/^h\d$/i,el=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,a$=/[+~]/,l4=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),d4=function(J,L1){var k1="0x"+J.slice(1)-65536;return L1||(k1<0?String.fromCharCode(k1+65536):String.fromCharCode(k1>>10|55296,k1&1023|56320))},cT1=function(){j7()},uT1=mw(function(J){return J.disabled===!0&&S(J,"fieldset")},{dir:"parentNode",next:"legend"});function hT1(){try{return $.activeElement}catch{}}try{O.apply(t=r.call(Q.childNodes),Q.childNodes),t[Q.childNodes.length].nodeType}catch{O={apply:function(L1,k1){X.apply(L1,r.call(k1))},call:function(L1){X.apply(L1,r.call(arguments,1))}}}function ir(J,L1,k1,P1){var ie,we,Je,gt,et,Bi,Xt,li=L1&&L1.ownerDocument,Zi=L1?L1.nodeType:9;if(k1=k1||[],typeof J!="string"||!J||Zi!==1&&Zi!==9&&Zi!==11)return k1;if(!P1&&(j7(L1),L1=L1||$,r1)){if(Zi!==11&&(et=el.exec(J)))if(ie=et[1]){if(Zi===9)if(Je=L1.getElementById(ie)){if(Je.id===ie)return O.call(k1,Je),k1}else return k1;else if(li&&(Je=li.getElementById(ie))&&ir.contains(L1,Je)&&Je.id===ie)return O.call(k1,Je),k1}else{if(et[2])return O.apply(k1,L1.getElementsByTagName(J)),k1;if((ie=et[3])&&L1.getElementsByClassName)return O.apply(k1,L1.getElementsByClassName(ie)),k1}if(!Es[J+" "]&&(!M1||!M1.test(J))){if(Xt=J,li=L1,Zi===1&&(s$.test(J)||YH.test(J))){for(li=a$.test(J)&&l$(L1.parentNode)||L1,(li!=L1||!C.scope)&&((gt=L1.getAttribute("id"))?gt=M.escapeSelector(gt):L1.setAttribute("id",gt=ne)),Bi=XH(J),we=Bi.length;we--;)Bi[we]=(gt?"#"+gt:":scope")+" "+pw(Bi[we]);Xt=Bi.join(",")}try{return O.apply(k1,li.querySelectorAll(Xt)),k1}catch{Es(J,!0)}finally{gt===ne&&L1.removeAttribute("id")}}}return od1(J.replace(B,"$1"),L1,k1,P1)}function Cw(){var J=[];function L1(k1,P1){return J.push(k1+" ")>x.cacheLength&&delete L1[J.shift()],L1[k1+" "]=P1}return L1}function Kl(J){return J[ne]=!0,J}function Ap(J){var L1=$.createElement("fieldset");try{return!!J(L1)}catch{return!1}finally{L1.parentNode&&L1.parentNode.removeChild(L1),L1=null}}function CT1(J){return function(L1){return S(L1,"input")&&L1.type===J}}function pT1(J){return function(L1){return(S(L1,"input")||S(L1,"button"))&&L1.type===J}}function nd1(J){return function(L1){return"form"in L1?L1.parentNode&&L1.disabled===!1?"label"in L1?"label"in L1.parentNode?L1.parentNode.disabled===J:L1.disabled===J:L1.isDisabled===J||L1.isDisabled!==!J&&uT1(L1)===J:L1.disabled===J:"label"in L1?L1.disabled===J:!1}}function tu(J){return Kl(function(L1){return L1=+L1,Kl(function(k1,P1){for(var ie,we=J([],k1.length,L1),Je=we.length;Je--;)k1[ie=we[Je]]&&(k1[ie]=!(P1[ie]=k1[ie]))})})}function l$(J){return J&&typeof J.getElementsByTagName<"u"&&J}function j7(J){var L1,k1=J?J.ownerDocument||J:Q;return k1==$||k1.nodeType!==9||!k1.documentElement||($=k1,u1=$.documentElement,r1=!M.isXMLDoc($),z1=u1.matches||u1.webkitMatchesSelector||u1.msMatchesSelector,u1.msMatchesSelector&&Q!=$&&(L1=$.defaultView)&&L1.top!==L1&&L1.addEventListener("unload",cT1),C.getById=Ap(function(P1){return u1.appendChild(P1).id=M.expando,!$.getElementsByName||!$.getElementsByName(M.expando).length}),C.disconnectedMatch=Ap(function(P1){return z1.call(P1,"*")}),C.scope=Ap(function(){return $.querySelectorAll(":scope")}),C.cssHas=Ap(function(){try{return $.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),C.getById?(x.filter.ID=function(P1){var ie=P1.replace(l4,d4);return function(we){return we.getAttribute("id")===ie}},x.find.ID=function(P1,ie){if(typeof ie.getElementById<"u"&&r1){var we=ie.getElementById(P1);return we?[we]:[]}}):(x.filter.ID=function(P1){var ie=P1.replace(l4,d4);return function(we){var Je=typeof we.getAttributeNode<"u"&&we.getAttributeNode("id");return Je&&Je.value===ie}},x.find.ID=function(P1,ie){if(typeof ie.getElementById<"u"&&r1){var we,Je,gt,et=ie.getElementById(P1);if(et){if(we=et.getAttributeNode("id"),we&&we.value===P1)return[et];for(gt=ie.getElementsByName(P1),Je=0;et=gt[Je++];)if(we=et.getAttributeNode("id"),we&&we.value===P1)return[et]}return[]}}),x.find.TAG=function(P1,ie){return typeof ie.getElementsByTagName<"u"?ie.getElementsByTagName(P1):ie.querySelectorAll(P1)},x.find.CLASS=function(P1,ie){if(typeof ie.getElementsByClassName<"u"&&r1)return ie.getElementsByClassName(P1)},M1=[],Ap(function(P1){var ie;u1.appendChild(P1).innerHTML="<a id='"+ne+"' href='' disabled='disabled'></a><select id='"+ne+"-\r\\' disabled='disabled'><option selected=''></option></select>",P1.querySelectorAll("[selected]").length||M1.push("\\["+R+"*(?:value|"+pd+")"),P1.querySelectorAll("[id~="+ne+"-]").length||M1.push("~="),P1.querySelectorAll("a#"+ne+"+*").length||M1.push(".#.+[+~]"),P1.querySelectorAll(":checked").length||M1.push(":checked"),ie=$.createElement("input"),ie.setAttribute("type","hidden"),P1.appendChild(ie).setAttribute("name","D"),u1.appendChild(P1).disabled=!0,P1.querySelectorAll(":disabled").length!==2&&M1.push(":enabled",":disabled"),ie=$.createElement("input"),ie.setAttribute("name",""),P1.appendChild(ie),P1.querySelectorAll("[name='']").length||M1.push("\\["+R+"*name"+R+"*="+R+`*(?:''|"")`)}),C.cssHas||M1.push(":has"),M1=M1.length&&new RegExp(M1.join("|")),k2=function(P1,ie){if(P1===ie)return N=!0,0;var we=!P1.compareDocumentPosition-!ie.compareDocumentPosition;return we||(we=(P1.ownerDocument||P1)==(ie.ownerDocument||ie)?P1.compareDocumentPosition(ie):1,we&1||!C.sortDetached&&ie.compareDocumentPosition(P1)===we?P1===$||P1.ownerDocument==Q&&ir.contains(Q,P1)?-1:ie===$||ie.ownerDocument==Q&&ir.contains(Q,ie)?1:E?a.call(E,P1)-a.call(E,ie):0:we&4?-1:1)}),$}ir.matches=function(J,L1){return ir(J,null,null,L1)},ir.matchesSelector=function(J,L1){if(j7(J),r1&&!Es[L1+" "]&&(!M1||!M1.test(L1)))try{var k1=z1.call(J,L1);if(k1||C.disconnectedMatch||J.document&&J.document.nodeType!==11)return k1}catch{Es(L1,!0)}return ir(L1,$,null,[J]).length>0},ir.contains=function(J,L1){return(J.ownerDocument||J)!=$&&j7(J),M.contains(J,L1)},ir.attr=function(J,L1){(J.ownerDocument||J)!=$&&j7(J);var k1=x.attrHandle[L1.toLowerCase()],P1=k1&&c.call(x.attrHandle,L1.toLowerCase())?k1(J,L1,!r1):void 0;return P1!==void 0?P1:J.getAttribute(L1)},ir.error=function(J){throw new Error("Syntax error, unrecognized expression: "+J)},M.uniqueSort=function(J){var L1,k1=[],P1=0,ie=0;if(N=!C.sortStable,E=!C.sortStable&&r.call(J,0),P.call(J,k2),N){for(;L1=J[ie++];)L1===J[ie]&&(P1=k1.push(ie));for(;P1--;)T.call(J,k1[P1],1)}return E=null,J},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(r.apply(this)))},x=M.expr={cacheLength:50,createPseudo:Kl,match:gd,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(J){return J[1]=J[1].replace(l4,d4),J[3]=(J[3]||J[4]||J[5]||"").replace(l4,d4),J[2]==="~="&&(J[3]=" "+J[3]+" "),J.slice(0,4)},CHILD:function(J){return J[1]=J[1].toLowerCase(),J[1].slice(0,3)==="nth"?(J[3]||ir.error(J[0]),J[4]=+(J[4]?J[5]+(J[6]||1):2*(J[3]==="even"||J[3]==="odd")),J[5]=+(J[7]+J[8]||J[3]==="odd")):J[3]&&ir.error(J[0]),J},PSEUDO:function(J){var L1,k1=!J[6]&&J[2];return gd.CHILD.test(J[0])?null:(J[3]?J[2]=J[4]||J[5]||"":k1&&fd.test(k1)&&(L1=XH(k1,!0))&&(L1=k1.indexOf(")",k1.length-L1)-k1.length)&&(J[0]=J[0].slice(0,L1),J[2]=k1.slice(0,L1)),J.slice(0,3))}},filter:{TAG:function(J){var L1=J.replace(l4,d4).toLowerCase();return J==="*"?function(){return!0}:function(k1){return S(k1,L1)}},CLASS:function(J){var L1=ni[J+" "];return L1||(L1=new RegExp("(^|"+R+")"+J+"("+R+"|$)"))&&ni(J,function(k1){return L1.test(typeof k1.className=="string"&&k1.className||typeof k1.getAttribute<"u"&&k1.getAttribute("class")||"")})},ATTR:function(J,L1,k1){return function(P1){var ie=ir.attr(P1,J);return ie==null?L1==="!=":L1?(ie+="",L1==="="?ie===k1:L1==="!="?ie!==k1:L1==="^="?k1&&ie.indexOf(k1)===0:L1==="*="?k1&&ie.indexOf(k1)>-1:L1==="$="?k1&&ie.slice(-k1.length)===k1:L1==="~="?(" "+ie.replace(Sn," ")+" ").indexOf(k1)>-1:L1==="|="?ie===k1||ie.slice(0,k1.length+1)===k1+"-":!1):!0}},CHILD:function(J,L1,k1,P1,ie){var we=J.slice(0,3)!=="nth",Je=J.slice(-4)!=="last",gt=L1==="of-type";return P1===1&&ie===0?function(et){return!!et.parentNode}:function(et,Bi,Xt){var li,Zi,Pt,Lr,m5,oa=we!==Je?"nextSibling":"previousSibling",tl=et.parentNode,Ld=gt&&et.nodeName.toLowerCase(),Sp=!Xt&&!gt,Ia=!1;if(tl){if(we){for(;oa;){for(Pt=et;Pt=Pt[oa];)if(gt?S(Pt,Ld):Pt.nodeType===1)return!1;m5=oa=J==="only"&&!m5&&"nextSibling"}return!0}if(m5=[Je?tl.firstChild:tl.lastChild],Je&&Sp){for(Zi=tl[ne]||(tl[ne]={}),li=Zi[J]||[],Lr=li[0]===E1&&li[1],Ia=Lr&&li[2],Pt=Lr&&tl.childNodes[Lr];Pt=++Lr&&Pt&&Pt[oa]||(Ia=Lr=0)||m5.pop();)if(Pt.nodeType===1&&++Ia&&Pt===et){Zi[J]=[E1,Lr,Ia];break}}else if(Sp&&(Zi=et[ne]||(et[ne]={}),li=Zi[J]||[],Lr=li[0]===E1&&li[1],Ia=Lr),Ia===!1)for(;(Pt=++Lr&&Pt&&Pt[oa]||(Ia=Lr=0)||m5.pop())&&!((gt?S(Pt,Ld):Pt.nodeType===1)&&++Ia&&(Sp&&(Zi=Pt[ne]||(Pt[ne]={}),Zi[J]=[E1,Ia]),Pt===et)););return Ia-=ie,Ia===P1||Ia%P1===0&&Ia/P1>=0}}},PSEUDO:function(J,L1){var k1,P1=x.pseudos[J]||x.setFilters[J.toLowerCase()]||ir.error("unsupported pseudo: "+J);return P1[ne]?P1(L1):P1.length>1?(k1=[J,J,"",L1],x.setFilters.hasOwnProperty(J.toLowerCase())?Kl(function(ie,we){for(var Je,gt=P1(ie,L1),et=gt.length;et--;)Je=a.call(ie,gt[et]),ie[Je]=!(we[Je]=gt[et])}):function(ie){return P1(ie,0,k1)}):P1}},pseudos:{not:Kl(function(J){var L1=[],k1=[],P1=h$(J.replace(B,"$1"));return P1[ne]?Kl(function(ie,we,Je,gt){for(var et,Bi=P1(ie,null,gt,[]),Xt=ie.length;Xt--;)(et=Bi[Xt])&&(ie[Xt]=!(we[Xt]=et))}):function(ie,we,Je){return L1[0]=ie,P1(L1,null,Je,k1),L1[0]=null,!k1.pop()}}),has:Kl(function(J){return function(L1){return ir(J,L1).length>0}}),contains:Kl(function(J){return J=J.replace(l4,d4),function(L1){return(L1.textContent||M.text(L1)).indexOf(J)>-1}}),lang:Kl(function(J){return QH.test(J||"")||ir.error("unsupported lang: "+J),J=J.replace(l4,d4).toLowerCase(),function(L1){var k1;do if(k1=r1?L1.lang:L1.getAttribute("xml:lang")||L1.getAttribute("lang"))return k1=k1.toLowerCase(),k1===J||k1.indexOf(J+"-")===0;while((L1=L1.parentNode)&&L1.nodeType===1);return!1}}),target:function(J){var L1=n.location&&n.location.hash;return L1&&L1.slice(1)===J.id},root:function(J){return J===u1},focus:function(J){return J===hT1()&&$.hasFocus()&&!!(J.type||J.href||~J.tabIndex)},enabled:nd1(!1),disabled:nd1(!0),checked:function(J){return S(J,"input")&&!!J.checked||S(J,"option")&&!!J.selected},selected:function(J){return J.parentNode&&J.parentNode.selectedIndex,J.selected===!0},empty:function(J){for(J=J.firstChild;J;J=J.nextSibling)if(J.nodeType<6)return!1;return!0},parent:function(J){return!x.pseudos.empty(J)},header:function(J){return U7.test(J.nodeName)},input:function(J){return W7.test(J.nodeName)},button:function(J){return S(J,"input")&&J.type==="button"||S(J,"button")},text:function(J){var L1;return S(J,"input")&&J.type==="text"&&((L1=J.getAttribute("type"))==null||L1.toLowerCase()==="text")},first:tu(function(){return[0]}),last:tu(function(J,L1){return[L1-1]}),eq:tu(function(J,L1,k1){return[k1<0?k1+L1:k1]}),even:tu(function(J,L1){for(var k1=0;k1<L1;k1+=2)J.push(k1);return J}),odd:tu(function(J,L1){for(var k1=1;k1<L1;k1+=2)J.push(k1);return J}),lt:tu(function(J,L1,k1){var P1;for(k1<0?P1=k1+L1:k1>L1?P1=L1:P1=k1;--P1>=0;)J.push(P1);return J}),gt:tu(function(J,L1,k1){for(var P1=k1<0?k1+L1:k1;++P1<L1;)J.push(P1);return J})}},x.pseudos.nth=x.pseudos.eq;for(v in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[v]=CT1(v);for(v in{submit:!0,reset:!0})x.pseudos[v]=pT1(v);function rd1(){}rd1.prototype=x.filters=x.pseudos,x.setFilters=new rd1;function XH(J,L1){var k1,P1,ie,we,Je,gt,et,Bi=Ln[J+" "];if(Bi)return L1?0:Bi.slice(0);for(Je=J,gt=[],et=x.preFilter;Je;){(!k1||(P1=_o.exec(Je)))&&(P1&&(Je=Je.slice(P1[0].length)||Je),gt.push(ie=[])),k1=!1,(P1=YH.exec(Je))&&(k1=P1.shift(),ie.push({value:k1,type:P1[0].replace(B," ")}),Je=Je.slice(k1.length));for(we in x.filter)(P1=gd[we].exec(Je))&&(!et[we]||(P1=et[we](P1)))&&(k1=P1.shift(),ie.push({value:k1,type:we,matches:P1}),Je=Je.slice(k1.length));if(!k1)break}return L1?Je.length:Je?ir.error(J):Ln(J,gt).slice(0)}function pw(J){for(var L1=0,k1=J.length,P1="";L1<k1;L1++)P1+=J[L1].value;return P1}function mw(J,L1,k1){var P1=L1.dir,ie=L1.next,we=ie||P1,Je=k1&&we==="parentNode",gt=he++;return L1.first?function(et,Bi,Xt){for(;et=et[P1];)if(et.nodeType===1||Je)return J(et,Bi,Xt);return!1}:function(et,Bi,Xt){var li,Zi,Pt=[E1,gt];if(Xt){for(;et=et[P1];)if((et.nodeType===1||Je)&&J(et,Bi,Xt))return!0}else for(;et=et[P1];)if(et.nodeType===1||Je)if(Zi=et[ne]||(et[ne]={}),ie&&S(et,ie))et=et[P1]||et;else{if((li=Zi[we])&&li[0]===E1&&li[1]===gt)return Pt[2]=li[2];if(Zi[we]=Pt,Pt[2]=J(et,Bi,Xt))return!0}return!1}}function d$(J){return J.length>1?function(L1,k1,P1){for(var ie=J.length;ie--;)if(!J[ie](L1,k1,P1))return!1;return!0}:J[0]}function mT1(J,L1,k1){for(var P1=0,ie=L1.length;P1<ie;P1++)ir(J,L1[P1],k1);return k1}function fw(J,L1,k1,P1,ie){for(var we,Je=[],gt=0,et=J.length,Bi=L1!=null;gt<et;gt++)(we=J[gt])&&(!k1||k1(we,P1,ie))&&(Je.push(we),Bi&&L1.push(gt));return Je}function c$(J,L1,k1,P1,ie,we){return P1&&!P1[ne]&&(P1=c$(P1)),ie&&!ie[ne]&&(ie=c$(ie,we)),Kl(function(Je,gt,et,Bi){var Xt,li,Zi,Pt,Lr=[],m5=[],oa=gt.length,tl=Je||mT1(L1||"*",et.nodeType?[et]:et,[]),Ld=J&&(Je||!L1)?fw(tl,Lr,J,et,Bi):tl;if(k1?(Pt=ie||(Je?J:oa||P1)?[]:gt,k1(Ld,Pt,et,Bi)):Pt=Ld,P1)for(Xt=fw(Pt,m5),P1(Xt,[],et,Bi),li=Xt.length;li--;)(Zi=Xt[li])&&(Pt[m5[li]]=!(Ld[m5[li]]=Zi));if(Je){if(ie||J){if(ie){for(Xt=[],li=Pt.length;li--;)(Zi=Pt[li])&&Xt.push(Ld[li]=Zi);ie(null,Pt=[],Xt,Bi)}for(li=Pt.length;li--;)(Zi=Pt[li])&&(Xt=ie?a.call(Je,Zi):Lr[li])>-1&&(Je[Xt]=!(gt[Xt]=Zi))}}else Pt=fw(Pt===gt?Pt.splice(oa,Pt.length):Pt),ie?ie(null,gt,Pt,Bi):O.apply(gt,Pt)})}function u$(J){for(var L1,k1,P1,ie=J.length,we=x.relative[J[0].type],Je=we||x.relative[" "],gt=we?1:0,et=mw(function(li){return li===L1},Je,!0),Bi=mw(function(li){return a.call(L1,li)>-1},Je,!0),Xt=[function(li,Zi,Pt){var Lr=!we&&(Pt||Zi!=w)||((L1=Zi).nodeType?et(li,Zi,Pt):Bi(li,Zi,Pt));return L1=null,Lr}];gt<ie;gt++)if(k1=x.relative[J[gt].type])Xt=[mw(d$(Xt),k1)];else{if(k1=x.filter[J[gt].type].apply(null,J[gt].matches),k1[ne]){for(P1=++gt;P1<ie&&!x.relative[J[P1].type];P1++);return c$(gt>1&&d$(Xt),gt>1&&pw(J.slice(0,gt-1).concat({value:J[gt-2].type===" "?"*":""})).replace(B,"$1"),k1,gt<P1&&u$(J.slice(gt,P1)),P1<ie&&u$(J=J.slice(P1)),P1<ie&&pw(J))}Xt.push(k1)}return d$(Xt)}function fT1(J,L1){var k1=L1.length>0,P1=J.length>0,ie=function(we,Je,gt,et,Bi){var Xt,li,Zi,Pt=0,Lr="0",m5=we&&[],oa=[],tl=w,Ld=we||P1&&x.find.TAG("*",Bi),Sp=E1+=tl==null?1:Math.random()||.1,Ia=Ld.length;for(Bi&&(w=Je==$||Je||Bi);Lr!==Ia&&(Xt=Ld[Lr])!=null;Lr++){if(P1&&Xt){for(li=0,!Je&&Xt.ownerDocument!=$&&(j7(Xt),gt=!r1);Zi=J[li++];)if(Zi(Xt,Je||$,gt)){O.call(et,Xt);break}Bi&&(E1=Sp)}k1&&((Xt=!Zi&&Xt)&&Pt--,we&&m5.push(Xt))}if(Pt+=Lr,k1&&Lr!==Pt){for(li=0;Zi=L1[li++];)Zi(m5,oa,Je,gt);if(we){if(Pt>0)for(;Lr--;)m5[Lr]||oa[Lr]||(oa[Lr]=I.call(et));oa=fw(oa)}O.apply(et,oa),Bi&&!we&&oa.length>0&&Pt+L1.length>1&&M.uniqueSort(et)}return Bi&&(E1=Sp,w=tl),m5};return k1?Kl(ie):ie}function h$(J,L1){var k1,P1=[],ie=[],we=Ai[J+" "];if(!we){for(L1||(L1=XH(J)),k1=L1.length;k1--;)we=u$(L1[k1]),we[ne]?P1.push(we):ie.push(we);we=Ai(J,fT1(ie,P1)),we.selector=J}return we}function od1(J,L1,k1,P1){var ie,we,Je,gt,et,Bi=typeof J=="function"&&J,Xt=!P1&&XH(J=Bi.selector||J);if(k1=k1||[],Xt.length===1){if(we=Xt[0]=Xt[0].slice(0),we.length>2&&(Je=we[0]).type==="ID"&&L1.nodeType===9&&r1&&x.relative[we[1].type]){if(L1=(x.find.ID(Je.matches[0].replace(l4,d4),L1)||[])[0],L1)Bi&&(L1=L1.parentNode);else return k1;J=J.slice(we.shift().value.length)}for(ie=gd.needsContext.test(J)?0:we.length;ie--&&(Je=we[ie],!x.relative[gt=Je.type]);)if((et=x.find[gt])&&(P1=et(Je.matches[0].replace(l4,d4),a$.test(we[0].type)&&l$(L1.parentNode)||L1))){if(we.splice(ie,1),J=P1.length&&pw(we),!J)return O.apply(k1,P1),k1;break}}return(Bi||h$(J,Xt))(P1,L1,!r1,k1,!L1||a$.test(J)&&l$(L1.parentNode)||L1),k1}C.sortStable=ne.split("").sort(k2).join("")===ne,j7(),C.sortDetached=Ap(function(J){return J.compareDocumentPosition($.createElement("fieldset"))&1}),M.find=ir,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,ir.compile=h$,ir.select=od1,ir.setDocument=j7,ir.tokenize=XH,ir.escape=M.escapeSelector,ir.getText=M.text,ir.isXML=M.isXMLDoc,ir.selectors=M.expr,ir.support=M.support,ir.uniqueSort=M.uniqueSort})();var d1=function(v,x,w){for(var E=[],N=w!==void 0;(v=v[x])&&v.nodeType!==9;)if(v.nodeType===1){if(N&&M(v).is(w))break;E.push(v)}return E},Y=function(v,x){for(var w=[];v;v=v.nextSibling)v.nodeType===1&&v!==x&&w.push(v);return w},h1=M.expr.match.needsContext,s1=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function t1(v,x,w){return p(x)?M.grep(v,function(E,N){return!!x.call(E,N,E)!==w}):x.nodeType?M.grep(v,function(E){return E===x!==w}):typeof x!="string"?M.grep(v,function(E){return a.call(x,E)>-1!==w}):M.filter(x,v,w)}M.filter=function(v,x,w){var E=x[0];return w&&(v=":not("+v+")"),x.length===1&&E.nodeType===1?M.find.matchesSelector(E,v)?[E]:[]:M.find.matches(v,M.grep(x,function(N){return N.nodeType===1}))},M.fn.extend({find:function(v){var x,w,E=this.length,N=this;if(typeof v!="string")return this.pushStack(M(v).filter(function(){for(x=0;x<E;x++)if(M.contains(N[x],this))return!0}));for(w=this.pushStack([]),x=0;x<E;x++)M.find(v,N[x],w);return E>1?M.uniqueSort(w):w},filter:function(v){return this.pushStack(t1(this,v||[],!1))},not:function(v){return this.pushStack(t1(this,v||[],!0))},is:function(v){return!!t1(this,typeof v=="string"&&h1.test(v)?M(v):v||[],!1).length}});var x1,ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Vt=M.fn.init=function(v,x,w){var E,N;if(!v)return this;if(w=w||x1,typeof v=="string")if(v[0]==="<"&&v[v.length-1]===">"&&v.length>=3?E=[null,v,null]:E=ve.exec(v),E&&(E[1]||!x))if(E[1]){if(x=x instanceof M?x[0]:x,M.merge(this,M.parseHTML(E[1],x&&x.nodeType?x.ownerDocument||x:H,!0)),s1.test(E[1])&&M.isPlainObject(x))for(E in x)p(this[E])?this[E](x[E]):this.attr(E,x[E]);return this}else return N=H.getElementById(E[2]),N&&(this[0]=N,this.length=1),this;else return!x||x.jquery?(x||w).find(v):this.constructor(x).find(v);else{if(v.nodeType)return this[0]=v,this.length=1,this;if(p(v))return w.ready!==void 0?w.ready(v):v(M)}return M.makeArray(v,this)};Vt.prototype=M.fn,x1=M(H);var ke=/^(?:parents|prev(?:Until|All))/,$e={children:!0,contents:!0,next:!0,prev:!0};M.fn.extend({has:function(v){var x=M(v,this),w=x.length;return this.filter(function(){for(var E=0;E<w;E++)if(M.contains(this,x[E]))return!0})},closest:function(v,x){var w,E=0,N=this.length,O=[],$=typeof v!="string"&&M(v);if(!h1.test(v)){for(;E<N;E++)for(w=this[E];w&&w!==x;w=w.parentNode)if(w.nodeType<11&&($?$.index(w)>-1:w.nodeType===1&&M.find.matchesSelector(w,v))){O.push(w);break}}return this.pushStack(O.length>1?M.uniqueSort(O):O)},index:function(v){return v?typeof v=="string"?a.call(M(v),this[0]):a.call(this,v.jquery?v[0]:v):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(v,x){return this.pushStack(M.uniqueSort(M.merge(this.get(),M(v,x))))},addBack:function(v){return this.add(v==null?this.prevObject:this.prevObject.filter(v))}});function Ci(v,x){for(;(v=v[x])&&v.nodeType!==1;);return v}M.each({parent:function(v){var x=v.parentNode;return x&&x.nodeType!==11?x:null},parents:function(v){return d1(v,"parentNode")},parentsUntil:function(v,x,w){return d1(v,"parentNode",w)},next:function(v){return Ci(v,"nextSibling")},prev:function(v){return Ci(v,"previousSibling")},nextAll:function(v){return d1(v,"nextSibling")},prevAll:function(v){return d1(v,"previousSibling")},nextUntil:function(v,x,w){return d1(v,"nextSibling",w)},prevUntil:function(v,x,w){return d1(v,"previousSibling",w)},siblings:function(v){return Y((v.parentNode||{}).firstChild,v)},children:function(v){return Y(v.firstChild)},contents:function(v){return v.contentDocument!=null&&i(v.contentDocument)?v.contentDocument:(S(v,"template")&&(v=v.content||v),M.merge([],v.childNodes))}},function(v,x){M.fn[v]=function(w,E){var N=M.map(this,x,w);return v.slice(-5)!=="Until"&&(E=w),E&&typeof E=="string"&&(N=M.filter(E,N)),this.length>1&&($e[v]||M.uniqueSort(N),ke.test(v)&&N.reverse()),this.pushStack(N)}});var rn=/[^\x20\t\r\n\f]+/g;function mn(v){var x={};return M.each(v.match(rn)||[],function(w,E){x[E]=!0}),x}M.Callbacks=function(v){v=typeof v=="string"?mn(v):M.extend({},v);var x,w,E,N,O=[],$=[],u1=-1,r1=function(){for(N=N||v.once,E=x=!0;$.length;u1=-1)for(w=$.shift();++u1<O.length;)O[u1].apply(w[0],w[1])===!1&&v.stopOnFalse&&(u1=O.length,w=!1);v.memory||(w=!1),x=!1,N&&(w?O=[]:O="")},M1={add:function(){return O&&(w&&!x&&(u1=O.length-1,$.push(w)),function z1(ne){M.each(ne,function(E1,he){p(he)?(!v.unique||!M1.has(he))&&O.push(he):he&&he.length&&V(he)!=="string"&&z1(he)})}(arguments),w&&!x&&r1()),this},remove:function(){return M.each(arguments,function(z1,ne){for(var E1;(E1=M.inArray(ne,O,E1))>-1;)O.splice(E1,1),E1<=u1&&u1--}),this},has:function(z1){return z1?M.inArray(z1,O)>-1:O.length>0},empty:function(){return O&&(O=[]),this},disable:function(){return N=$=[],O=w="",this},disabled:function(){return!O},lock:function(){return N=$=[],!w&&!x&&(O=w=""),this},locked:function(){return!!N},fireWith:function(z1,ne){return N||(ne=ne||[],ne=[z1,ne.slice?ne.slice():ne],$.push(ne),x||r1()),this},fire:function(){return M1.fireWith(this,arguments),this},fired:function(){return!!E}};return M1};function fe(v){return v}function qi(v){throw v}function Dr(v,x,w,E){var N;try{v&&p(N=v.promise)?N.call(v).done(x).fail(w):v&&p(N=v.then)?N.call(v,x,w):x.apply(void 0,[v].slice(E))}catch(O){w.apply(void 0,[O])}}M.extend({Deferred:function(v){var x=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.Callbacks("once memory"),1,"rejected"]],w="pending",E={state:function(){return w},always:function(){return N.done(arguments).fail(arguments),this},catch:function(O){return E.then(null,O)},pipe:function(){var O=arguments;return M.Deferred(function($){M.each(x,function(u1,r1){var M1=p(O[r1[4]])&&O[r1[4]];N[r1[1]](function(){var z1=M1&&M1.apply(this,arguments);z1&&p(z1.promise)?z1.promise().progress($.notify).done($.resolve).fail($.reject):$[r1[0]+"With"](this,M1?[z1]:arguments)})}),O=null}).promise()},then:function(O,$,u1){var r1=0;function M1(z1,ne,E1,he){return function(){var ni=this,Ln=arguments,Ai=function(){var k2,pd;if(!(z1<r1)){if(k2=E1.apply(ni,Ln),k2===ne.promise())throw new TypeError("Thenable self-resolution");pd=k2&&(typeof k2=="object"||typeof k2=="function")&&k2.then,p(pd)?he?pd.call(k2,M1(r1,ne,fe,he),M1(r1,ne,qi,he)):(r1++,pd.call(k2,M1(r1,ne,fe,he),M1(r1,ne,qi,he),M1(r1,ne,fe,ne.notifyWith))):(E1!==fe&&(ni=void 0,Ln=[k2]),(he||ne.resolveWith)(ni,Ln))}},Es=he?Ai:function(){try{Ai()}catch(k2){M.Deferred.exceptionHook&&M.Deferred.exceptionHook(k2,Es.error),z1+1>=r1&&(E1!==qi&&(ni=void 0,Ln=[k2]),ne.rejectWith(ni,Ln))}};z1?Es():(M.Deferred.getErrorHook?Es.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(Es.error=M.Deferred.getStackHook()),n.setTimeout(Es))}}return M.Deferred(function(z1){x[0][3].add(M1(0,z1,p(u1)?u1:fe,z1.notifyWith)),x[1][3].add(M1(0,z1,p(O)?O:fe)),x[2][3].add(M1(0,z1,p($)?$:qi))}).promise()},promise:function(O){return O!=null?M.extend(O,E):E}},N={};return M.each(x,function(O,$){var u1=$[2],r1=$[5];E[$[1]]=u1.add,r1&&u1.add(function(){w=r1},x[3-O][2].disable,x[3-O][3].disable,x[0][2].lock,x[0][3].lock),u1.add($[3].fire),N[$[0]]=function(){return N[$[0]+"With"](this===N?void 0:this,arguments),this},N[$[0]+"With"]=u1.fireWith}),E.promise(N),v&&v.call(N,N),N},when:function(v){var x=arguments.length,w=x,E=Array(w),N=r.call(arguments),O=M.Deferred(),$=function(u1){return function(r1){E[u1]=this,N[u1]=arguments.length>1?r.call(arguments):r1,--x||O.resolveWith(E,N)}};if(x<=1&&(Dr(v,O.done($(w)).resolve,O.reject,!x),O.state()==="pending"||p(N[w]&&N[w].then)))return O.then();for(;w--;)Dr(N[w],$(w),O.reject);return O.promise()}});var jr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;M.Deferred.exceptionHook=function(v,x){n.console&&n.console.warn&&v&&jr.test(v.name)&&n.console.warn("jQuery.Deferred exception: "+v.message,v.stack,x)},M.readyException=function(v){n.setTimeout(function(){throw v})};var Rt=M.Deferred();M.fn.ready=function(v){return Rt.then(v).catch(function(x){M.readyException(x)}),this},M.extend({isReady:!1,readyWait:1,ready:function(v){(v===!0?--M.readyWait:M.isReady)||(M.isReady=!0,!(v!==!0&&--M.readyWait>0)&&Rt.resolveWith(H,[M]))}}),M.ready.then=Rt.then;function gr(){H.removeEventListener("DOMContentLoaded",gr),n.removeEventListener("load",gr),M.ready()}H.readyState==="complete"||H.readyState!=="loading"&&!H.documentElement.doScroll?n.setTimeout(M.ready):(H.addEventListener("DOMContentLoaded",gr),n.addEventListener("load",gr));var vo=function(v,x,w,E,N,O,$){var u1=0,r1=v.length,M1=w==null;if(V(w)==="object"){N=!0;for(u1 in w)vo(v,x,u1,w[u1],!0,O,$)}else if(E!==void 0&&(N=!0,p(E)||($=!0),M1&&($?(x.call(v,E),x=null):(M1=x,x=function(z1,ne,E1){return M1.call(M(z1),E1)})),x))for(;u1<r1;u1++)x(v[u1],w,$?E:E.call(v[u1],u1,x(v[u1],w)));return N?v:M1?x.call(v):r1?x(v[0],w):O},Mi=/^-ms-/,hr=/-([a-z])/g;function b1(v,x){return x.toUpperCase()}function f1(v){return v.replace(Mi,"ms-").replace(hr,b1)}var C1=function(v){return v.nodeType===1||v.nodeType===9||!+v.nodeType};function q(){this.expando=M.expando+q.uid++}q.uid=1,q.prototype={cache:function(v){var x=v[this.expando];return x||(x={},C1(v)&&(v.nodeType?v[this.expando]=x:Object.defineProperty(v,this.expando,{value:x,configurable:!0}))),x},set:function(v,x,w){var E,N=this.cache(v);if(typeof x=="string")N[f1(x)]=w;else for(E in x)N[f1(E)]=x[E];return N},get:function(v,x){return x===void 0?this.cache(v):v[this.expando]&&v[this.expando][f1(x)]},access:function(v,x,w){return x===void 0||x&&typeof x=="string"&&w===void 0?this.get(v,x):(this.set(v,x,w),w!==void 0?w:x)},remove:function(v,x){var w,E=v[this.expando];if(E!==void 0){if(x!==void 0)for(Array.isArray(x)?x=x.map(f1):(x=f1(x),x=x in E?[x]:x.match(rn)||[]),w=x.length;w--;)delete E[x[w]];(x===void 0||M.isEmptyObject(E))&&(v.nodeType?v[this.expando]=void 0:delete v[this.expando])}},hasData:function(v){var x=v[this.expando];return x!==void 0&&!M.isEmptyObject(x)}};var W=new q,o1=new q,n1=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,w1=/[A-Z]/g;function ee(v){return v==="true"?!0:v==="false"?!1:v==="null"?null:v===+v+""?+v:n1.test(v)?JSON.parse(v):v}function ue(v,x,w){var E;if(w===void 0&&v.nodeType===1)if(E="data-"+x.replace(w1,"-$&").toLowerCase(),w=v.getAttribute(E),typeof w=="string"){try{w=ee(w)}catch{}o1.set(v,x,w)}else w=void 0;return w}M.extend({hasData:function(v){return o1.hasData(v)||W.hasData(v)},data:function(v,x,w){return o1.access(v,x,w)},removeData:function(v,x){o1.remove(v,x)},_data:function(v,x,w){return W.access(v,x,w)},_removeData:function(v,x){W.remove(v,x)}}),M.fn.extend({data:function(v,x){var w,E,N,O=this[0],$=O&&O.attributes;if(v===void 0){if(this.length&&(N=o1.get(O),O.nodeType===1&&!W.get(O,"hasDataAttrs"))){for(w=$.length;w--;)$[w]&&(E=$[w].name,E.indexOf("data-")===0&&(E=f1(E.slice(5)),ue(O,E,N[E])));W.set(O,"hasDataAttrs",!0)}return N}return typeof v=="object"?this.each(function(){o1.set(this,v)}):vo(this,function(u1){var r1;if(O&&u1===void 0)return r1=o1.get(O,v),r1!==void 0||(r1=ue(O,v),r1!==void 0)?r1:void 0;this.each(function(){o1.set(this,v,u1)})},null,x,arguments.length>1,null,!0)},removeData:function(v){return this.each(function(){o1.remove(this,v)})}}),M.extend({queue:function(v,x,w){var E;if(v)return x=(x||"fx")+"queue",E=W.get(v,x),w&&(!E||Array.isArray(w)?E=W.access(v,x,M.makeArray(w)):E.push(w)),E||[]},dequeue:function(v,x){x=x||"fx";var w=M.queue(v,x),E=w.length,N=w.shift(),O=M._queueHooks(v,x),$=function(){M.dequeue(v,x)};N==="inprogress"&&(N=w.shift(),E--),N&&(x==="fx"&&w.unshift("inprogress"),delete O.stop,N.call(v,$,O)),!E&&O&&O.empty.fire()},_queueHooks:function(v,x){var w=x+"queueHooks";return W.get(v,w)||W.access(v,w,{empty:M.Callbacks("once memory").add(function(){W.remove(v,[x+"queue",w])})})}}),M.fn.extend({queue:function(v,x){var w=2;return typeof v!="string"&&(x=v,v="fx",w--),arguments.length<w?M.queue(this[0],v):x===void 0?this:this.each(function(){var E=M.queue(this,v,x);M._queueHooks(this,v),v==="fx"&&E[0]!=="inprogress"&&M.dequeue(this,v)})},dequeue:function(v){return this.each(function(){M.dequeue(this,v)})},clearQueue:function(v){return this.queue(v||"fx",[])},promise:function(v,x){var w,E=1,N=M.Deferred(),O=this,$=this.length,u1=function(){--E||N.resolveWith(O,[O])};for(typeof v!="string"&&(x=v,v=void 0),v=v||"fx";$--;)w=W.get(O[$],v+"queueHooks"),w&&w.empty&&(E++,w.empty.add(u1));return u1(),N.promise(x)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,tt=new RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],$t=H.documentElement,qt=function(v){return M.contains(v.ownerDocument,v)},Fe={composed:!0};$t.getRootNode&&(qt=function(v){return M.contains(v.ownerDocument,v)||v.getRootNode(Fe)===v.ownerDocument});var vi=function(v,x){return v=x||v,v.style.display==="none"||v.style.display===""&&qt(v)&&M.css(v,"display")==="none"};function Ki(v,x,w,E){var N,O,$=20,u1=E?function(){return E.cur()}:function(){return M.css(v,x,"")},r1=u1(),M1=w&&w[3]||(M.cssNumber[x]?"":"px"),z1=v.nodeType&&(M.cssNumber[x]||M1!=="px"&&+r1)&&tt.exec(M.css(v,x));if(z1&&z1[3]!==M1){for(r1=r1/2,M1=M1||z1[3],z1=+r1||1;$--;)M.style(v,x,z1+M1),(1-O)*(1-(O=u1()/r1||.5))<=0&&($=0),z1=z1/O;z1=z1*2,M.style(v,x,z1+M1),w=w||[]}return w&&(z1=+z1||+r1||0,N=w[1]?z1+(w[1]+1)*w[2]:+w[2],E&&(E.unit=M1,E.start=z1,E.end=N)),N}var no={};function Kt(v){var x,w=v.ownerDocument,E=v.nodeName,N=no[E];return N||(x=w.body.appendChild(w.createElement(E)),N=M.css(x,"display"),x.parentNode.removeChild(x),N==="none"&&(N="block"),no[E]=N,N)}function Pi(v,x){for(var w,E,N=[],O=0,$=v.length;O<$;O++)E=v[O],E.style&&(w=E.style.display,x?(w==="none"&&(N[O]=W.get(E,"display")||null,N[O]||(E.style.display="")),E.style.display===""&&vi(E)&&(N[O]=Kt(E))):w!=="none"&&(N[O]="none",W.set(E,"display",w)));for(O=0;O<$;O++)N[O]!=null&&(v[O].style.display=N[O]);return v}M.fn.extend({show:function(){return Pi(this,!0)},hide:function(){return Pi(this)},toggle:function(v){return typeof v=="boolean"?v?this.show():this.hide():this.each(function(){vi(this)?M(this).show():M(this).hide()})}});var y2=/^(?:checkbox|radio)$/i,Ea=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ro=/^$|^module$|\/(?:java|ecma)script/i;(function(){var v=H.createDocumentFragment(),x=v.appendChild(H.createElement("div")),w=H.createElement("input");w.setAttribute("type","radio"),w.setAttribute("checked","checked"),w.setAttribute("name","t"),x.appendChild(w),C.checkClone=x.cloneNode(!0).cloneNode(!0).lastChild.checked,x.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!x.cloneNode(!0).lastChild.defaultValue,x.innerHTML="<option></option>",C.option=!!x.lastChild})();var On={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};On.tbody=On.tfoot=On.colgroup=On.caption=On.thead,On.th=On.td,C.option||(On.optgroup=On.option=[1,"<select multiple='multiple'>","</select>"]);function tr(v,x){var w;return typeof v.getElementsByTagName<"u"?w=v.getElementsByTagName(x||"*"):typeof v.querySelectorAll<"u"?w=v.querySelectorAll(x||"*"):w=[],x===void 0||x&&S(v,x)?M.merge([v],w):w}function na(v,x){for(var w=0,E=v.length;w<E;w++)W.set(v[w],"globalEval",!x||W.get(x[w],"globalEval"))}var C5=/<|&#?\w+;/;function n2(v,x,w,E,N){for(var O,$,u1,r1,M1,z1,ne=x.createDocumentFragment(),E1=[],he=0,ni=v.length;he<ni;he++)if(O=v[he],O||O===0)if(V(O)==="object")M.merge(E1,O.nodeType?[O]:O);else if(!C5.test(O))E1.push(x.createTextNode(O));else{for($=$||ne.appendChild(x.createElement("div")),u1=(Ea.exec(O)||["",""])[1].toLowerCase(),r1=On[u1]||On._default,$.innerHTML=r1[1]+M.htmlPrefilter(O)+r1[2],z1=r1[0];z1--;)$=$.lastChild;M.merge(E1,$.childNodes),$=ne.firstChild,$.textContent=""}for(ne.textContent="",he=0;O=E1[he++];){if(E&&M.inArray(O,E)>-1){N&&N.push(O);continue}if(M1=qt(O),$=tr(ne.appendChild(O),"script"),M1&&na($),w)for(z1=0;O=$[z1++];)ro.test(O.type||"")&&w.push(O)}return ne}var J0=/^([^.]*)(?:\.(.+)|)/;function fn(){return!0}function Ir(){return!1}function ra(v,x,w,E,N,O){var $,u1;if(typeof x=="object"){typeof w!="string"&&(E=E||w,w=void 0);for(u1 in x)ra(v,u1,w,E,x[u1],O);return v}if(E==null&&N==null?(N=w,E=w=void 0):N==null&&(typeof w=="string"?(N=E,E=void 0):(N=E,E=w,w=void 0)),N===!1)N=Ir;else if(!N)return v;return O===1&&($=N,N=function(r1){return M().off(r1),$.apply(this,arguments)},N.guid=$.guid||($.guid=M.guid++)),v.each(function(){M.event.add(this,x,N,E,w)})}M.event={global:{},add:function(v,x,w,E,N){var O,$,u1,r1,M1,z1,ne,E1,he,ni,Ln,Ai=W.get(v);if(C1(v))for(w.handler&&(O=w,w=O.handler,N=O.selector),N&&M.find.matchesSelector($t,N),w.guid||(w.guid=M.guid++),(r1=Ai.events)||(r1=Ai.events=Object.create(null)),($=Ai.handle)||($=Ai.handle=function(Es){return typeof M<"u"&&M.event.triggered!==Es.type?M.event.dispatch.apply(v,arguments):void 0}),x=(x||"").match(rn)||[""],M1=x.length;M1--;)u1=J0.exec(x[M1])||[],he=Ln=u1[1],ni=(u1[2]||"").split(".").sort(),he&&(ne=M.event.special[he]||{},he=(N?ne.delegateType:ne.bindType)||he,ne=M.event.special[he]||{},z1=M.extend({type:he,origType:Ln,data:E,handler:w,guid:w.guid,selector:N,needsContext:N&&M.expr.match.needsContext.test(N),namespace:ni.join(".")},O),(E1=r1[he])||(E1=r1[he]=[],E1.delegateCount=0,(!ne.setup||ne.setup.call(v,E,ni,$)===!1)&&v.addEventListener&&v.addEventListener(he,$)),ne.add&&(ne.add.call(v,z1),z1.handler.guid||(z1.handler.guid=w.guid)),N?E1.splice(E1.delegateCount++,0,z1):E1.push(z1),M.event.global[he]=!0)},remove:function(v,x,w,E,N){var O,$,u1,r1,M1,z1,ne,E1,he,ni,Ln,Ai=W.hasData(v)&&W.get(v);if(!(!Ai||!(r1=Ai.events))){for(x=(x||"").match(rn)||[""],M1=x.length;M1--;){if(u1=J0.exec(x[M1])||[],he=Ln=u1[1],ni=(u1[2]||"").split(".").sort(),!he){for(he in r1)M.event.remove(v,he+x[M1],w,E,!0);continue}for(ne=M.event.special[he]||{},he=(E?ne.delegateType:ne.bindType)||he,E1=r1[he]||[],u1=u1[2]&&new RegExp("(^|\\.)"+ni.join("\\.(?:.*\\.|)")+"(\\.|$)"),$=O=E1.length;O--;)z1=E1[O],(N||Ln===z1.origType)&&(!w||w.guid===z1.guid)&&(!u1||u1.test(z1.namespace))&&(!E||E===z1.selector||E==="**"&&z1.selector)&&(E1.splice(O,1),z1.selector&&E1.delegateCount--,ne.remove&&ne.remove.call(v,z1));$&&!E1.length&&((!ne.teardown||ne.teardown.call(v,ni,Ai.handle)===!1)&&M.removeEvent(v,he,Ai.handle),delete r1[he])}M.isEmptyObject(r1)&&W.remove(v,"handle events")}},dispatch:function(v){var x,w,E,N,O,$,u1=new Array(arguments.length),r1=M.event.fix(v),M1=(W.get(this,"events")||Object.create(null))[r1.type]||[],z1=M.event.special[r1.type]||{};for(u1[0]=r1,x=1;x<arguments.length;x++)u1[x]=arguments[x];if(r1.delegateTarget=this,!(z1.preDispatch&&z1.preDispatch.call(this,r1)===!1)){for($=M.event.handlers.call(this,r1,M1),x=0;(N=$[x++])&&!r1.isPropagationStopped();)for(r1.currentTarget=N.elem,w=0;(O=N.handlers[w++])&&!r1.isImmediatePropagationStopped();)(!r1.rnamespace||O.namespace===!1||r1.rnamespace.test(O.namespace))&&(r1.handleObj=O,r1.data=O.data,E=((M.event.special[O.origType]||{}).handle||O.handler).apply(N.elem,u1),E!==void 0&&(r1.result=E)===!1&&(r1.preventDefault(),r1.stopPropagation()));return z1.postDispatch&&z1.postDispatch.call(this,r1),r1.result}},handlers:function(v,x){var w,E,N,O,$,u1=[],r1=x.delegateCount,M1=v.target;if(r1&&M1.nodeType&&!(v.type==="click"&&v.button>=1)){for(;M1!==this;M1=M1.parentNode||this)if(M1.nodeType===1&&!(v.type==="click"&&M1.disabled===!0)){for(O=[],$={},w=0;w<r1;w++)E=x[w],N=E.selector+" ",$[N]===void 0&&($[N]=E.needsContext?M(N,this).index(M1)>-1:M.find(N,this,null,[M1]).length),$[N]&&O.push(E);O.length&&u1.push({elem:M1,handlers:O})}}return M1=this,r1<x.length&&u1.push({elem:M1,handlers:x.slice(r1)}),u1},addProp:function(v,x){Object.defineProperty(M.Event.prototype,v,{enumerable:!0,configurable:!0,get:p(x)?function(){if(this.originalEvent)return x(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[v]},set:function(w){Object.defineProperty(this,v,{enumerable:!0,configurable:!0,writable:!0,value:w})}})},fix:function(v){return v[M.expando]?v:new M.Event(v)},special:{load:{noBubble:!0},click:{setup:function(v){var x=this||v;return y2.test(x.type)&&x.click&&S(x,"input")&&Da(x,"click",!0),!1},trigger:function(v){var x=this||v;return y2.test(x.type)&&x.click&&S(x,"input")&&Da(x,"click"),!0},_default:function(v){var x=v.target;return y2.test(x.type)&&x.click&&S(x,"input")&&W.get(x,"click")||S(x,"a")}},beforeunload:{postDispatch:function(v){v.result!==void 0&&v.originalEvent&&(v.originalEvent.returnValue=v.result)}}}};function Da(v,x,w){if(!w){W.get(v,x)===void 0&&M.event.add(v,x,fn);return}W.set(v,x,!1),M.event.add(v,x,{namespace:!1,handler:function(E){var N,O=W.get(this,x);if(E.isTrigger&1&&this[x]){if(O)(M.event.special[x]||{}).delegateType&&E.stopPropagation();else if(O=r.call(arguments),W.set(this,x,O),this[x](),N=W.get(this,x),W.set(this,x,!1),O!==N)return E.stopImmediatePropagation(),E.preventDefault(),N}else O&&(W.set(this,x,M.event.trigger(O[0],O.slice(1),this)),E.stopPropagation(),E.isImmediatePropagationStopped=fn)}})}M.removeEvent=function(v,x,w){v.removeEventListener&&v.removeEventListener(x,w)},M.Event=function(v,x){if(!(this instanceof M.Event))return new M.Event(v,x);v&&v.type?(this.originalEvent=v,this.type=v.type,this.isDefaultPrevented=v.defaultPrevented||v.defaultPrevented===void 0&&v.returnValue===!1?fn:Ir,this.target=v.target&&v.target.nodeType===3?v.target.parentNode:v.target,this.currentTarget=v.currentTarget,this.relatedTarget=v.relatedTarget):this.type=v,x&&M.extend(this,x),this.timeStamp=v&&v.timeStamp||Date.now(),this[M.expando]=!0},M.Event.prototype={constructor:M.Event,isDefaultPrevented:Ir,isPropagationStopped:Ir,isImmediatePropagationStopped:Ir,isSimulated:!1,preventDefault:function(){var v=this.originalEvent;this.isDefaultPrevented=fn,v&&!this.isSimulated&&v.preventDefault()},stopPropagation:function(){var v=this.originalEvent;this.isPropagationStopped=fn,v&&!this.isSimulated&&v.stopPropagation()},stopImmediatePropagation:function(){var v=this.originalEvent;this.isImmediatePropagationStopped=fn,v&&!this.isSimulated&&v.stopImmediatePropagation(),this.stopPropagation()}},M.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},M.event.addProp),M.each({focus:"focusin",blur:"focusout"},function(v,x){function w(E){if(H.documentMode){var N=W.get(this,"handle"),O=M.event.fix(E);O.type=E.type==="focusin"?"focus":"blur",O.isSimulated=!0,N(E),O.target===O.currentTarget&&N(O)}else M.event.simulate(x,E.target,M.event.fix(E))}M.event.special[v]={setup:function(){var E;if(Da(this,v,!0),H.documentMode)E=W.get(this,x),E||this.addEventListener(x,w),W.set(this,x,(E||0)+1);else return!1},trigger:function(){return Da(this,v),!0},teardown:function(){var E;if(H.documentMode)E=W.get(this,x)-1,E?W.set(this,x,E):(this.removeEventListener(x,w),W.remove(this,x));else return!1},_default:function(E){return W.get(E.target,v)},delegateType:x},M.event.special[x]={setup:function(){var E=this.ownerDocument||this.document||this,N=H.documentMode?this:E,O=W.get(N,x);O||(H.documentMode?this.addEventListener(x,w):E.addEventListener(v,w,!0)),W.set(N,x,(O||0)+1)},teardown:function(){var E=this.ownerDocument||this.document||this,N=H.documentMode?this:E,O=W.get(N,x)-1;O?W.set(N,x,O):(H.documentMode?this.removeEventListener(x,w):E.removeEventListener(v,w,!0),W.remove(N,x))}}}),M.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(v,x){M.event.special[v]={delegateType:x,bindType:x,handle:function(w){var E,N=this,O=w.relatedTarget,$=w.handleObj;return(!O||O!==N&&!M.contains(N,O))&&(w.type=$.origType,E=$.handler.apply(this,arguments),w.type=x),E}}}),M.fn.extend({on:function(v,x,w,E){return ra(this,v,x,w,E)},one:function(v,x,w,E){return ra(this,v,x,w,E,1)},off:function(v,x,w){var E,N;if(v&&v.preventDefault&&v.handleObj)return E=v.handleObj,M(v.delegateTarget).off(E.namespace?E.origType+"."+E.namespace:E.origType,E.selector,E.handler),this;if(typeof v=="object"){for(N in v)this.off(N,x,v[N]);return this}return(x===!1||typeof x=="function")&&(w=x,x=void 0),w===!1&&(w=Ir),this.each(function(){M.event.remove(this,v,w,x)})}});var jH=/<script|<style|<link/i,Y1=/checked\s*(?:[^=]|=\s*.checked.)/i,Q1=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ze(v,x){return S(v,"table")&&S(x.nodeType!==11?x:x.firstChild,"tr")&&M(v).children("tbody")[0]||v}function Re(v){return v.type=(v.getAttribute("type")!==null)+"/"+v.type,v}function it(v){return(v.type||"").slice(0,5)==="true/"?v.type=v.type.slice(5):v.removeAttribute("type"),v}function ft(v,x){var w,E,N,O,$,u1,r1;if(x.nodeType===1){if(W.hasData(v)&&(O=W.get(v),r1=O.events,r1)){W.remove(x,"handle events");for(N in r1)for(w=0,E=r1[N].length;w<E;w++)M.event.add(x,N,r1[N][w])}o1.hasData(v)&&($=o1.access(v),u1=M.extend({},$),o1.set(x,u1))}}function At(v,x){var w=x.nodeName.toLowerCase();w==="input"&&y2.test(v.type)?x.checked=v.checked:(w==="input"||w==="textarea")&&(x.defaultValue=v.defaultValue)}function oe(v,x,w,E){x=o(x);var N,O,$,u1,r1,M1,z1=0,ne=v.length,E1=ne-1,he=x[0],ni=p(he);if(ni||ne>1&&typeof he=="string"&&!C.checkClone&&Y1.test(he))return v.each(function(Ln){var Ai=v.eq(Ln);ni&&(x[0]=he.call(this,Ln,Ai.html())),oe(Ai,x,w,E)});if(ne&&(N=n2(x,v[0].ownerDocument,!1,v,E),O=N.firstChild,N.childNodes.length===1&&(N=O),O||E)){for($=M.map(tr(N,"script"),Re),u1=$.length;z1<ne;z1++)r1=N,z1!==E1&&(r1=M.clone(r1,!0,!0),u1&&M.merge($,tr(r1,"script"))),w.call(v[z1],r1,z1);if(u1)for(M1=$[$.length-1].ownerDocument,M.map($,it),z1=0;z1<u1;z1++)r1=$[z1],ro.test(r1.type||"")&&!W.access(r1,"globalEval")&&M.contains(M1,r1)&&(r1.src&&(r1.type||"").toLowerCase()!=="module"?M._evalUrl&&!r1.noModule&&M._evalUrl(r1.src,{nonce:r1.nonce||r1.getAttribute("nonce")},M1):L(r1.textContent.replace(Q1,""),r1,M1))}return v}function m1(v,x,w){for(var E,N=x?M.filter(x,v):v,O=0;(E=N[O])!=null;O++)!w&&E.nodeType===1&&M.cleanData(tr(E)),E.parentNode&&(w&&qt(E)&&na(tr(E,"script")),E.parentNode.removeChild(E));return v}M.extend({htmlPrefilter:function(v){return v},clone:function(v,x,w){var E,N,O,$,u1=v.cloneNode(!0),r1=qt(v);if(!C.noCloneChecked&&(v.nodeType===1||v.nodeType===11)&&!M.isXMLDoc(v))for($=tr(u1),O=tr(v),E=0,N=O.length;E<N;E++)At(O[E],$[E]);if(x)if(w)for(O=O||tr(v),$=$||tr(u1),E=0,N=O.length;E<N;E++)ft(O[E],$[E]);else ft(v,u1);return $=tr(u1,"script"),$.length>0&&na($,!r1&&tr(v,"script")),u1},cleanData:function(v){for(var x,w,E,N=M.event.special,O=0;(w=v[O])!==void 0;O++)if(C1(w)){if(x=w[W.expando]){if(x.events)for(E in x.events)N[E]?M.event.remove(w,E):M.removeEvent(w,E,x.handle);w[W.expando]=void 0}w[o1.expando]&&(w[o1.expando]=void 0)}}}),M.fn.extend({detach:function(v){return m1(this,v,!0)},remove:function(v){return m1(this,v)},text:function(v){return vo(this,function(x){return x===void 0?M.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=x)})},null,v,arguments.length)},append:function(){return oe(this,arguments,function(v){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=ze(this,v);x.appendChild(v)}})},prepend:function(){return oe(this,arguments,function(v){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=ze(this,v);x.insertBefore(v,x.firstChild)}})},before:function(){return oe(this,arguments,function(v){this.parentNode&&this.parentNode.insertBefore(v,this)})},after:function(){return oe(this,arguments,function(v){this.parentNode&&this.parentNode.insertBefore(v,this.nextSibling)})},empty:function(){for(var v,x=0;(v=this[x])!=null;x++)v.nodeType===1&&(M.cleanData(tr(v,!1)),v.textContent="");return this},clone:function(v,x){return v=v??!1,x=x??v,this.map(function(){return M.clone(this,v,x)})},html:function(v){return vo(this,function(x){var w=this[0]||{},E=0,N=this.length;if(x===void 0&&w.nodeType===1)return w.innerHTML;if(typeof x=="string"&&!jH.test(x)&&!On[(Ea.exec(x)||["",""])[1].toLowerCase()]){x=M.htmlPrefilter(x);try{for(;E<N;E++)w=this[E]||{},w.nodeType===1&&(M.cleanData(tr(w,!1)),w.innerHTML=x);w=0}catch{}}w&&this.empty().append(x)},null,v,arguments.length)},replaceWith:function(){var v=[];return oe(this,arguments,function(x){var w=this.parentNode;M.inArray(this,v)<0&&(M.cleanData(tr(this)),w&&w.replaceChild(x,this))},v)}}),M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(v,x){M.fn[v]=function(w){for(var E,N=[],O=M(w),$=O.length-1,u1=0;u1<=$;u1++)E=u1===$?this:this.clone(!0),M(O[u1])[x](E),s.apply(N,E.get());return this.pushStack(N)}});var se=new RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),Ce=/^--/,Gt=function(v){var x=v.ownerDocument.defaultView;return(!x||!x.opener)&&(x=n),x.getComputedStyle(v)},gn=function(v,x,w){var E,N,O={};for(N in x)O[N]=v.style[N],v.style[N]=x[N];E=w.call(v);for(N in x)v.style[N]=O[N];return E},Ro=new RegExp(Oe.join("|"),"i");(function(){function v(){if(M1){r1.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",M1.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",$t.appendChild(r1).appendChild(M1);var z1=n.getComputedStyle(M1);w=z1.top!=="1%",u1=x(z1.marginLeft)===12,M1.style.right="60%",O=x(z1.right)===36,E=x(z1.width)===36,M1.style.position="absolute",N=x(M1.offsetWidth/3)===12,$t.removeChild(r1),M1=null}}function x(z1){return Math.round(parseFloat(z1))}var w,E,N,O,$,u1,r1=H.createElement("div"),M1=H.createElement("div");M1.style&&(M1.style.backgroundClip="content-box",M1.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=M1.style.backgroundClip==="content-box",M.extend(C,{boxSizingReliable:function(){return v(),E},pixelBoxStyles:function(){return v(),O},pixelPosition:function(){return v(),w},reliableMarginLeft:function(){return v(),u1},scrollboxSize:function(){return v(),N},reliableTrDimensions:function(){var z1,ne,E1,he;return $==null&&(z1=H.createElement("table"),ne=H.createElement("tr"),E1=H.createElement("div"),z1.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ne.style.cssText="box-sizing:content-box;border:1px solid",ne.style.height="1px",E1.style.height="9px",E1.style.display="block",$t.appendChild(z1).appendChild(ne).appendChild(E1),he=n.getComputedStyle(ne),$=parseInt(he.height,10)+parseInt(he.borderTopWidth,10)+parseInt(he.borderBottomWidth,10)===ne.offsetHeight,$t.removeChild(z1)),$}}))})();function Fi(v,x,w){var E,N,O,$,u1=Ce.test(x),r1=v.style;return w=w||Gt(v),w&&($=w.getPropertyValue(x)||w[x],u1&&$&&($=$.replace(B,"$1")||void 0),$===""&&!qt(v)&&($=M.style(v,x)),!C.pixelBoxStyles()&&se.test($)&&Ro.test(x)&&(E=r1.width,N=r1.minWidth,O=r1.maxWidth,r1.minWidth=r1.maxWidth=r1.width=$,$=w.width,r1.width=E,r1.minWidth=N,r1.maxWidth=O)),$!==void 0?$+"":$}function n0(v,x){return{get:function(){if(v()){delete this.get;return}return(this.get=x).apply(this,arguments)}}}var xp=["Webkit","Moz","ms"],$H=H.createElement("div").style,Gj={};function PI1(v){for(var x=v[0].toUpperCase()+v.slice(1),w=xp.length;w--;)if(v=xp[w]+x,v in $H)return v}function Yj(v){var x=M.cssProps[v]||Gj[v];return x||(v in $H?v:Gj[v]=PI1(v)||v)}var FI1=/^(none|table(?!-c[ea]).+)/,BI1={position:"absolute",visibility:"hidden",display:"block"},z31={letterSpacing:"0",fontWeight:"400"};function W31(v,x,w){var E=tt.exec(x);return E?Math.max(0,E[2]-(w||0))+(E[3]||"px"):x}function Qj(v,x,w,E,N,O){var $=x==="width"?1:0,u1=0,r1=0,M1=0;if(w===(E?"border":"content"))return 0;for(;$<4;$+=2)w==="margin"&&(M1+=M.css(v,w+Oe[$],!0,N)),E?(w==="content"&&(r1-=M.css(v,"padding"+Oe[$],!0,N)),w!=="margin"&&(r1-=M.css(v,"border"+Oe[$]+"Width",!0,N))):(r1+=M.css(v,"padding"+Oe[$],!0,N),w!=="padding"?r1+=M.css(v,"border"+Oe[$]+"Width",!0,N):u1+=M.css(v,"border"+Oe[$]+"Width",!0,N));return!E&&O>=0&&(r1+=Math.max(0,Math.ceil(v["offset"+x[0].toUpperCase()+x.slice(1)]-O-r1-u1-.5))||0),r1+M1}function U31(v,x,w){var E=Gt(v),N=!C.boxSizingReliable()||w,O=N&&M.css(v,"boxSizing",!1,E)==="border-box",$=O,u1=Fi(v,x,E),r1="offset"+x[0].toUpperCase()+x.slice(1);if(se.test(u1)){if(!w)return u1;u1="auto"}return(!C.boxSizingReliable()&&O||!C.reliableTrDimensions()&&S(v,"tr")||u1==="auto"||!parseFloat(u1)&&M.css(v,"display",!1,E)==="inline")&&v.getClientRects().length&&(O=M.css(v,"boxSizing",!1,E)==="border-box",$=r1 in v,$&&(u1=v[r1])),u1=parseFloat(u1)||0,u1+Qj(v,x,w||(O?"border":"content"),$,E,u1)+"px"}M.extend({cssHooks:{opacity:{get:function(v,x){if(x){var w=Fi(v,"opacity");return w===""?"1":w}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(v,x,w,E){if(!(!v||v.nodeType===3||v.nodeType===8||!v.style)){var N,O,$,u1=f1(x),r1=Ce.test(x),M1=v.style;if(r1||(x=Yj(u1)),$=M.cssHooks[x]||M.cssHooks[u1],w!==void 0){if(O=typeof w,O==="string"&&(N=tt.exec(w))&&N[1]&&(w=Ki(v,x,N),O="number"),w==null||w!==w)return;O==="number"&&!r1&&(w+=N&&N[3]||(M.cssNumber[u1]?"":"px")),!C.clearCloneStyle&&w===""&&x.indexOf("background")===0&&(M1[x]="inherit"),(!$||!("set"in $)||(w=$.set(v,w,E))!==void 0)&&(r1?M1.setProperty(x,w):M1[x]=w)}else return $&&"get"in $&&(N=$.get(v,!1,E))!==void 0?N:M1[x]}},css:function(v,x,w,E){var N,O,$,u1=f1(x),r1=Ce.test(x);return r1||(x=Yj(u1)),$=M.cssHooks[x]||M.cssHooks[u1],$&&"get"in $&&(N=$.get(v,!0,w)),N===void 0&&(N=Fi(v,x,E)),N==="normal"&&x in z31&&(N=z31[x]),w===""||w?(O=parseFloat(N),w===!0||isFinite(O)?O||0:N):N}}),M.each(["height","width"],function(v,x){M.cssHooks[x]={get:function(w,E,N){if(E)return FI1.test(M.css(w,"display"))&&(!w.getClientRects().length||!w.getBoundingClientRect().width)?gn(w,BI1,function(){return U31(w,x,N)}):U31(w,x,N)},set:function(w,E,N){var O,$=Gt(w),u1=!C.scrollboxSize()&&$.position==="absolute",r1=u1||N,M1=r1&&M.css(w,"boxSizing",!1,$)==="border-box",z1=N?Qj(w,x,N,M1,$):0;return M1&&u1&&(z1-=Math.ceil(w["offset"+x[0].toUpperCase()+x.slice(1)]-parseFloat($[x])-Qj(w,x,"border",!1,$)-.5)),z1&&(O=tt.exec(E))&&(O[3]||"px")!=="px"&&(w.style[x]=E,E=M.css(w,x)),W31(w,E,z1)}}}),M.cssHooks.marginLeft=n0(C.reliableMarginLeft,function(v,x){if(x)return(parseFloat(Fi(v,"marginLeft"))||v.getBoundingClientRect().left-gn(v,{marginLeft:0},function(){return v.getBoundingClientRect().left}))+"px"}),M.each({margin:"",padding:"",border:"Width"},function(v,x){M.cssHooks[v+x]={expand:function(w){for(var E=0,N={},O=typeof w=="string"?w.split(" "):[w];E<4;E++)N[v+Oe[E]+x]=O[E]||O[E-2]||O[0];return N}},v!=="margin"&&(M.cssHooks[v+x].set=W31)}),M.fn.extend({css:function(v,x){return vo(this,function(w,E,N){var O,$,u1={},r1=0;if(Array.isArray(E)){for(O=Gt(w),$=E.length;r1<$;r1++)u1[E[r1]]=M.css(w,E[r1],!1,O);return u1}return N!==void 0?M.style(w,E,N):M.css(w,E)},v,x,arguments.length>1)}});function p5(v,x,w,E,N){return new p5.prototype.init(v,x,w,E,N)}M.Tween=p5,p5.prototype={constructor:p5,init:function(v,x,w,E,N,O){this.elem=v,this.prop=w,this.easing=N||M.easing._default,this.options=x,this.start=this.now=this.cur(),this.end=E,this.unit=O||(M.cssNumber[w]?"":"px")},cur:function(){var v=p5.propHooks[this.prop];return v&&v.get?v.get(this):p5.propHooks._default.get(this)},run:function(v){var x,w=p5.propHooks[this.prop];return this.options.duration?this.pos=x=M.easing[this.easing](v,this.options.duration*v,0,1,this.options.duration):this.pos=x=v,this.now=(this.end-this.start)*x+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),w&&w.set?w.set(this):p5.propHooks._default.set(this),this}},p5.prototype.init.prototype=p5.prototype,p5.propHooks={_default:{get:function(v){var x;return v.elem.nodeType!==1||v.elem[v.prop]!=null&&v.elem.style[v.prop]==null?v.elem[v.prop]:(x=M.css(v.elem,v.prop,""),!x||x==="auto"?0:x)},set:function(v){M.fx.step[v.prop]?M.fx.step[v.prop](v):v.elem.nodeType===1&&(M.cssHooks[v.prop]||v.elem.style[Yj(v.prop)]!=null)?M.style(v.elem,v.prop,v.now+v.unit):v.elem[v.prop]=v.now}}},p5.propHooks.scrollTop=p5.propHooks.scrollLeft={set:function(v){v.elem.nodeType&&v.elem.parentNode&&(v.elem[v.prop]=v.now)}},M.easing={linear:function(v){return v},swing:function(v){return .5-Math.cos(v*Math.PI)/2},_default:"swing"},M.fx=p5.prototype.init,M.fx.step={};var bp,uw,ZI1=/^(?:toggle|show|hide)$/,zI1=/queueHooks$/;function Xj(){uw&&(H.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Xj):n.setTimeout(Xj,M.fx.interval),M.fx.tick())}function j31(){return n.setTimeout(function(){bp=void 0}),bp=Date.now()}function hw(v,x){var w,E=0,N={height:v};for(x=x?1:0;E<4;E+=2-x)w=Oe[E],N["margin"+w]=N["padding"+w]=v;return x&&(N.opacity=N.width=v),N}function $31(v,x,w){for(var E,N=(ql.tweeners[x]||[]).concat(ql.tweeners["*"]),O=0,$=N.length;O<$;O++)if(E=N[O].call(w,x,v))return E}function WI1(v,x,w){var E,N,O,$,u1,r1,M1,z1,ne="width"in x||"height"in x,E1=this,he={},ni=v.style,Ln=v.nodeType&&vi(v),Ai=W.get(v,"fxshow");w.queue||($=M._queueHooks(v,"fx"),$.unqueued==null&&($.unqueued=0,u1=$.empty.fire,$.empty.fire=function(){$.unqueued||u1()}),$.unqueued++,E1.always(function(){E1.always(function(){$.unqueued--,M.queue(v,"fx").length||$.empty.fire()})}));for(E in x)if(N=x[E],ZI1.test(N)){if(delete x[E],O=O||N==="toggle",N===(Ln?"hide":"show"))if(N==="show"&&Ai&&Ai[E]!==void 0)Ln=!0;else continue;he[E]=Ai&&Ai[E]||M.style(v,E)}if(r1=!M.isEmptyObject(x),!(!r1&&M.isEmptyObject(he))){ne&&v.nodeType===1&&(w.overflow=[ni.overflow,ni.overflowX,ni.overflowY],M1=Ai&&Ai.display,M1==null&&(M1=W.get(v,"display")),z1=M.css(v,"display"),z1==="none"&&(M1?z1=M1:(Pi([v],!0),M1=v.style.display||M1,z1=M.css(v,"display"),Pi([v]))),(z1==="inline"||z1==="inline-block"&&M1!=null)&&M.css(v,"float")==="none"&&(r1||(E1.done(function(){ni.display=M1}),M1==null&&(z1=ni.display,M1=z1==="none"?"":z1)),ni.display="inline-block")),w.overflow&&(ni.overflow="hidden",E1.always(function(){ni.overflow=w.overflow[0],ni.overflowX=w.overflow[1],ni.overflowY=w.overflow[2]})),r1=!1;for(E in he)r1||(Ai?"hidden"in Ai&&(Ln=Ai.hidden):Ai=W.access(v,"fxshow",{display:M1}),O&&(Ai.hidden=!Ln),Ln&&Pi([v],!0),E1.done(function(){Ln||Pi([v]),W.remove(v,"fxshow");for(E in he)M.style(v,E,he[E])})),r1=$31(Ln?Ai[E]:0,E,E1),E in Ai||(Ai[E]=r1.start,Ln&&(r1.end=r1.start,r1.start=0))}}function UI1(v,x){var w,E,N,O,$;for(w in v)if(E=f1(w),N=x[E],O=v[w],Array.isArray(O)&&(N=O[1],O=v[w]=O[0]),w!==E&&(v[E]=O,delete v[w]),$=M.cssHooks[E],$&&"expand"in $){O=$.expand(O),delete v[E];for(w in O)w in v||(v[w]=O[w],x[w]=N)}else x[E]=N}function ql(v,x,w){var E,N,O=0,$=ql.prefilters.length,u1=M.Deferred().always(function(){delete r1.elem}),r1=function(){if(N)return!1;for(var ne=bp||j31(),E1=Math.max(0,M1.startTime+M1.duration-ne),he=E1/M1.duration||0,ni=1-he,Ln=0,Ai=M1.tweens.length;Ln<Ai;Ln++)M1.tweens[Ln].run(ni);return u1.notifyWith(v,[M1,ni,E1]),ni<1&&Ai?E1:(Ai||u1.notifyWith(v,[M1,1,0]),u1.resolveWith(v,[M1]),!1)},M1=u1.promise({elem:v,props:M.extend({},x),opts:M.extend(!0,{specialEasing:{},easing:M.easing._default},w),originalProperties:x,originalOptions:w,startTime:bp||j31(),duration:w.duration,tweens:[],createTween:function(ne,E1){var he=M.Tween(v,M1.opts,ne,E1,M1.opts.specialEasing[ne]||M1.opts.easing);return M1.tweens.push(he),he},stop:function(ne){var E1=0,he=ne?M1.tweens.length:0;if(N)return this;for(N=!0;E1<he;E1++)M1.tweens[E1].run(1);return ne?(u1.notifyWith(v,[M1,1,0]),u1.resolveWith(v,[M1,ne])):u1.rejectWith(v,[M1,ne]),this}}),z1=M1.props;for(UI1(z1,M1.opts.specialEasing);O<$;O++)if(E=ql.prefilters[O].call(M1,v,z1,M1.opts),E)return p(E.stop)&&(M._queueHooks(M1.elem,M1.opts.queue).stop=E.stop.bind(E)),E;return M.map(z1,$31,M1),p(M1.opts.start)&&M1.opts.start.call(v,M1),M1.progress(M1.opts.progress).done(M1.opts.done,M1.opts.complete).fail(M1.opts.fail).always(M1.opts.always),M.fx.timer(M.extend(r1,{elem:v,anim:M1,queue:M1.opts.queue})),M1}M.Animation=M.extend(ql,{tweeners:{"*":[function(v,x){var w=this.createTween(v,x);return Ki(w.elem,v,tt.exec(x),w),w}]},tweener:function(v,x){p(v)?(x=v,v=["*"]):v=v.match(rn);for(var w,E=0,N=v.length;E<N;E++)w=v[E],ql.tweeners[w]=ql.tweeners[w]||[],ql.tweeners[w].unshift(x)},prefilters:[WI1],prefilter:function(v,x){x?ql.prefilters.unshift(v):ql.prefilters.push(v)}}),M.speed=function(v,x,w){var E=v&&typeof v=="object"?M.extend({},v):{complete:w||!w&&x||p(v)&&v,duration:v,easing:w&&x||x&&!p(x)&&x};return M.fx.off?E.duration=0:typeof E.duration!="number"&&(E.duration in M.fx.speeds?E.duration=M.fx.speeds[E.duration]:E.duration=M.fx.speeds._default),(E.queue==null||E.queue===!0)&&(E.queue="fx"),E.old=E.complete,E.complete=function(){p(E.old)&&E.old.call(this),E.queue&&M.dequeue(this,E.queue)},E},M.fn.extend({fadeTo:function(v,x,w,E){return this.filter(vi).css("opacity",0).show().end().animate({opacity:x},v,w,E)},animate:function(v,x,w,E){var N=M.isEmptyObject(v),O=M.speed(x,w,E),$=function(){var u1=ql(this,M.extend({},v),O);(N||W.get(this,"finish"))&&u1.stop(!0)};return $.finish=$,N||O.queue===!1?this.each($):this.queue(O.queue,$)},stop:function(v,x,w){var E=function(N){var O=N.stop;delete N.stop,O(w)};return typeof v!="string"&&(w=x,x=v,v=void 0),x&&this.queue(v||"fx",[]),this.each(function(){var N=!0,O=v!=null&&v+"queueHooks",$=M.timers,u1=W.get(this);if(O)u1[O]&&u1[O].stop&&E(u1[O]);else for(O in u1)u1[O]&&u1[O].stop&&zI1.test(O)&&E(u1[O]);for(O=$.length;O--;)$[O].elem===this&&(v==null||$[O].queue===v)&&($[O].anim.stop(w),N=!1,$.splice(O,1));(N||!w)&&M.dequeue(this,v)})},finish:function(v){return v!==!1&&(v=v||"fx"),this.each(function(){var x,w=W.get(this),E=w[v+"queue"],N=w[v+"queueHooks"],O=M.timers,$=E?E.length:0;for(w.finish=!0,M.queue(this,v,[]),N&&N.stop&&N.stop.call(this,!0),x=O.length;x--;)O[x].elem===this&&O[x].queue===v&&(O[x].anim.stop(!0),O.splice(x,1));for(x=0;x<$;x++)E[x]&&E[x].finish&&E[x].finish.call(this);delete w.finish})}}),M.each(["toggle","show","hide"],function(v,x){var w=M.fn[x];M.fn[x]=function(E,N,O){return E==null||typeof E=="boolean"?w.apply(this,arguments):this.animate(hw(x,!0),E,N,O)}}),M.each({slideDown:hw("show"),slideUp:hw("hide"),slideToggle:hw("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(v,x){M.fn[v]=function(w,E,N){return this.animate(x,w,E,N)}}),M.timers=[],M.fx.tick=function(){var v,x=0,w=M.timers;for(bp=Date.now();x<w.length;x++)v=w[x],!v()&&w[x]===v&&w.splice(x--,1);w.length||M.fx.stop(),bp=void 0},M.fx.timer=function(v){M.timers.push(v),M.fx.start()},M.fx.interval=13,M.fx.start=function(){uw||(uw=!0,Xj())},M.fx.stop=function(){uw=null},M.fx.speeds={slow:600,fast:200,_default:400},M.fn.delay=function(v,x){return v=M.fx&&M.fx.speeds[v]||v,x=x||"fx",this.queue(x,function(w,E){var N=n.setTimeout(w,v);E.stop=function(){n.clearTimeout(N)}})},function(){var v=H.createElement("input"),x=H.createElement("select"),w=x.appendChild(H.createElement("option"));v.type="checkbox",C.checkOn=v.value!=="",C.optSelected=w.selected,v=H.createElement("input"),v.value="t",v.type="radio",C.radioValue=v.value==="t"}();var q31,qH=M.expr.attrHandle;M.fn.extend({attr:function(v,x){return vo(this,M.attr,v,x,arguments.length>1)},removeAttr:function(v){return this.each(function(){M.removeAttr(this,v)})}}),M.extend({attr:function(v,x,w){var E,N,O=v.nodeType;if(!(O===3||O===8||O===2)){if(typeof v.getAttribute>"u")return M.prop(v,x,w);if((O!==1||!M.isXMLDoc(v))&&(N=M.attrHooks[x.toLowerCase()]||(M.expr.match.bool.test(x)?q31:void 0)),w!==void 0){if(w===null){M.removeAttr(v,x);return}return N&&"set"in N&&(E=N.set(v,w,x))!==void 0?E:(v.setAttribute(x,w+""),w)}return N&&"get"in N&&(E=N.get(v,x))!==null?E:(E=M.find.attr(v,x),E??void 0)}},attrHooks:{type:{set:function(v,x){if(!C.radioValue&&x==="radio"&&S(v,"input")){var w=v.value;return v.setAttribute("type",x),w&&(v.value=w),x}}}},removeAttr:function(v,x){var w,E=0,N=x&&x.match(rn);if(N&&v.nodeType===1)for(;w=N[E++];)v.removeAttribute(w)}}),q31={set:function(v,x,w){return x===!1?M.removeAttr(v,w):v.setAttribute(w,w),w}},M.each(M.expr.match.bool.source.match(/\w+/g),function(v,x){var w=qH[x]||M.find.attr;qH[x]=function(E,N,O){var $,u1,r1=N.toLowerCase();return O||(u1=qH[r1],qH[r1]=$,$=w(E,N,O)!=null?r1:null,qH[r1]=u1),$}});var jI1=/^(?:input|select|textarea|button)$/i,$I1=/^(?:a|area)$/i;M.fn.extend({prop:function(v,x){return vo(this,M.prop,v,x,arguments.length>1)},removeProp:function(v){return this.each(function(){delete this[M.propFix[v]||v]})}}),M.extend({prop:function(v,x,w){var E,N,O=v.nodeType;if(!(O===3||O===8||O===2))return(O!==1||!M.isXMLDoc(v))&&(x=M.propFix[x]||x,N=M.propHooks[x]),w!==void 0?N&&"set"in N&&(E=N.set(v,w,x))!==void 0?E:v[x]=w:N&&"get"in N&&(E=N.get(v,x))!==null?E:v[x]},propHooks:{tabIndex:{get:function(v){var x=M.find.attr(v,"tabindex");return x?parseInt(x,10):jI1.test(v.nodeName)||$I1.test(v.nodeName)&&v.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(M.propHooks.selected={get:function(v){var x=v.parentNode;return x&&x.parentNode&&x.parentNode.selectedIndex,null},set:function(v){var x=v.parentNode;x&&(x.selectedIndex,x.parentNode&&x.parentNode.selectedIndex)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){M.propFix[this.toLowerCase()]=this});function X8(v){var x=v.match(rn)||[];return x.join(" ")}function J8(v){return v.getAttribute&&v.getAttribute("class")||""}function Jj(v){return Array.isArray(v)?v:typeof v=="string"?v.match(rn)||[]:[]}M.fn.extend({addClass:function(v){var x,w,E,N,O,$;return p(v)?this.each(function(u1){M(this).addClass(v.call(this,u1,J8(this)))}):(x=Jj(v),x.length?this.each(function(){if(E=J8(this),w=this.nodeType===1&&" "+X8(E)+" ",w){for(O=0;O<x.length;O++)N=x[O],w.indexOf(" "+N+" ")<0&&(w+=N+" ");$=X8(w),E!==$&&this.setAttribute("class",$)}}):this)},removeClass:function(v){var x,w,E,N,O,$;return p(v)?this.each(function(u1){M(this).removeClass(v.call(this,u1,J8(this)))}):arguments.length?(x=Jj(v),x.length?this.each(function(){if(E=J8(this),w=this.nodeType===1&&" "+X8(E)+" ",w){for(O=0;O<x.length;O++)for(N=x[O];w.indexOf(" "+N+" ")>-1;)w=w.replace(" "+N+" "," ");$=X8(w),E!==$&&this.setAttribute("class",$)}}):this):this.attr("class","")},toggleClass:function(v,x){var w,E,N,O,$=typeof v,u1=$==="string"||Array.isArray(v);return p(v)?this.each(function(r1){M(this).toggleClass(v.call(this,r1,J8(this),x),x)}):typeof x=="boolean"&&u1?x?this.addClass(v):this.removeClass(v):(w=Jj(v),this.each(function(){if(u1)for(O=M(this),N=0;N<w.length;N++)E=w[N],O.hasClass(E)?O.removeClass(E):O.addClass(E);else(v===void 0||$==="boolean")&&(E=J8(this),E&&W.set(this,"__className__",E),this.setAttribute&&this.setAttribute("class",E||v===!1?"":W.get(this,"__className__")||""))}))},hasClass:function(v){var x,w,E=0;for(x=" "+v+" ";w=this[E++];)if(w.nodeType===1&&(" "+X8(J8(w))+" ").indexOf(x)>-1)return!0;return!1}});var qI1=/\r/g;M.fn.extend({val:function(v){var x,w,E,N=this[0];return arguments.length?(E=p(v),this.each(function(O){var $;this.nodeType===1&&(E?$=v.call(this,O,M(this).val()):$=v,$==null?$="":typeof $=="number"?$+="":Array.isArray($)&&($=M.map($,function(u1){return u1==null?"":u1+""})),x=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()],(!x||!("set"in x)||x.set(this,$,"value")===void 0)&&(this.value=$))})):N?(x=M.valHooks[N.type]||M.valHooks[N.nodeName.toLowerCase()],x&&"get"in x&&(w=x.get(N,"value"))!==void 0?w:(w=N.value,typeof w=="string"?w.replace(qI1,""):w??"")):void 0}}),M.extend({valHooks:{option:{get:function(v){var x=M.find.attr(v,"value");return x??X8(M.text(v))}},select:{get:function(v){var x,w,E,N=v.options,O=v.selectedIndex,$=v.type==="select-one",u1=$?null:[],r1=$?O+1:N.length;for(O<0?E=r1:E=$?O:0;E<r1;E++)if(w=N[E],(w.selected||E===O)&&!w.disabled&&(!w.parentNode.disabled||!S(w.parentNode,"optgroup"))){if(x=M(w).val(),$)return x;u1.push(x)}return u1},set:function(v,x){for(var w,E,N=v.options,O=M.makeArray(x),$=N.length;$--;)E=N[$],(E.selected=M.inArray(M.valHooks.option.get(E),O)>-1)&&(w=!0);return w||(v.selectedIndex=-1),O}}}}),M.each(["radio","checkbox"],function(){M.valHooks[this]={set:function(v,x){if(Array.isArray(x))return v.checked=M.inArray(M(v).val(),x)>-1}},C.checkOn||(M.valHooks[this].get=function(v){return v.getAttribute("value")===null?"on":v.value})});var KH=n.location,K31={guid:Date.now()},e$=/\?/;M.parseXML=function(v){var x,w;if(!v||typeof v!="string")return null;try{x=new n.DOMParser().parseFromString(v,"text/xml")}catch{}return w=x&&x.getElementsByTagName("parsererror")[0],(!x||w)&&M.error("Invalid XML: "+(w?M.map(w.childNodes,function(E){return E.textContent}).join(`
|
|
8
|
+
`+o.stack}return{value:n,source:e,stack:r,digest:null}}function $$(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function wq(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var pO1=typeof WeakMap=="function"?WeakMap:Map;function d71(n,e,t){t=p4(-1,t),t.tag=3,t.payload={element:null};var i=e.value;return t.callback=function(){Vy||(Vy=!0,Pq=i),wq(n,e)},t}function c71(n,e,t){t=p4(-1,t),t.tag=3;var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var r=e.value;t.payload=function(){return i(r)},t.callback=function(){wq(n,e)}}var o=n.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){wq(n,e),typeof i!="function"&&(o9===null?o9=new Set([this]):o9.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),t}function Hc1(n,e,t){var i=n.pingCache;if(i===null){i=n.pingCache=new pO1;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(t)||(r.add(t),n=wO1.bind(null,n,e,t),e.then(n,n))}function Vc1(n){do{var e;if((e=n.tag===13)&&(e=n.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return n;n=n.return}while(n!==null);return null}function Mc1(n,e,t,i,r){return n.mode&1?(n.flags|=65536,n.lanes=r,n):(n===e?n.flags|=65536:(n.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(e=p4(-1,1),e.tag=2,r9(t,e,1))),t.lanes|=1),n)}var mO1=H4.ReactCurrentOwner,g5=!1;function Na(n,e,t,i){e.child=n===null?z41(e,null,t,i):Xp(e,n.child,t,i)}function vc1(n,e,t,i,r){t=t.render;var o=e.ref;return qp(e,r),i=fK(n,e,t,i,o,r),t=gK(),n!==null&&!g5?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~r,L4(n,e,r)):($r&&t&&rK(e),e.flags|=1,Na(n,e,i,r),e.child)}function _c1(n,e,t,i,r){if(n===null){var o=t.type;return typeof o=="function"&&!SK(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(e.tag=15,e.type=o,u71(n,e,o,i,r)):(n=Jw(t.type,null,i,e,e.mode,r),n.ref=e.ref,n.return=e,e.child=n)}if(o=n.child,!(n.lanes&r)){var s=o.memoizedProps;if(t=t.compare,t=t!==null?t:EV,t(s,i)&&n.ref===e.ref)return L4(n,e,r)}return e.flags|=1,n=a9(o,i),n.ref=e.ref,n.return=e,e.child=n}function u71(n,e,t,i,r){if(n!==null){var o=n.memoizedProps;if(EV(o,i)&&n.ref===e.ref)if(g5=!1,e.pendingProps=i=o,(n.lanes&r)!==0)n.flags&131072&&(g5=!0);else return e.lanes=n.lanes,L4(n,e,r)}return yq(n,e,t,i,r)}function h71(n,e,t){var i=e.pendingProps,r=i.children,o=n!==null?n.memoizedState:null;if(i.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Vr(zp,r0),r0|=t;else{if(!(t&1073741824))return n=o!==null?o.baseLanes|t:t,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:n,cachePool:null,transitions:null},e.updateQueue=null,Vr(zp,r0),r0|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=o!==null?o.baseLanes:t,Vr(zp,r0),r0|=i}else o!==null?(i=o.baseLanes|t,e.memoizedState=null):i=t,Vr(zp,r0),r0|=i;return Na(n,e,r,t),e.child}function C71(n,e){var t=e.ref;(n===null&&t!==null||n!==null&&n.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function yq(n,e,t,i,r){var o=H5(t)?cu:ca.current;return o=Yp(e,o),qp(e,r),t=fK(n,e,t,i,o,r),i=gK(),n!==null&&!g5?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~r,L4(n,e,r)):($r&&i&&rK(e),e.flags|=1,Na(n,e,t,r),e.child)}function xc1(n,e,t,i,r){if(H5(t)){var o=!0;cy(e)}else o=!1;if(qp(e,r),e.stateNode===null)Yw(n,e),B41(e,t,i),Sq(e,t,i,r),i=!0;else if(n===null){var s=e.stateNode,a=e.memoizedProps;s.props=a;var l=s.context,d=t.contextType;typeof d=="object"&&d!==null?d=al(d):(d=H5(t)?cu:ca.current,d=Yp(e,d));var c=t.getDerivedStateFromProps,u=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";u||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==i||l!==d)&&mc1(e,s,i,d),G7=!1;var h=e.memoizedState;s.state=h,my(e,i,s,r),l=e.memoizedState,a!==i||h!==l||L5.current||G7?(typeof c=="function"&&(Aq(e,t,c,i),l=e.memoizedState),(a=G7||pc1(e,t,a,i,h,l,d))?(u||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=l),s.props=i,s.state=l,s.context=d,i=a):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{s=e.stateNode,P41(n,e),a=e.memoizedProps,d=e.type===e.elementType?a:Ql(e.type,a),s.props=d,u=e.pendingProps,h=s.context,l=t.contextType,typeof l=="object"&&l!==null?l=al(l):(l=H5(t)?cu:ca.current,l=Yp(e,l));var C=t.getDerivedStateFromProps;(c=typeof C=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==u||h!==l)&&mc1(e,s,i,l),G7=!1,h=e.memoizedState,s.state=h,my(e,i,s,r);var p=e.memoizedState;a!==u||h!==p||L5.current||G7?(typeof C=="function"&&(Aq(e,t,C,i),p=e.memoizedState),(d=G7||pc1(e,t,d,i,h,p,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,p,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,p,l)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=p),s.props=i,s.state=p,s.context=l,i=d):(typeof s.componentDidUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===n.memoizedProps&&h===n.memoizedState||(e.flags|=1024),i=!1)}return kq(n,e,t,i,o,r)}function kq(n,e,t,i,r,o){C71(n,e);var s=(e.flags&128)!==0;if(!i&&!s)return r&&dc1(e,t,!1),L4(n,e,o);i=e.stateNode,mO1.current=e;var a=s&&typeof t.getDerivedStateFromError!="function"?null:i.render();return e.flags|=1,n!==null&&s?(e.child=Xp(e,n.child,null,o),e.child=Xp(e,null,a,o)):Na(n,e,a,o),e.memoizedState=i.state,r&&dc1(e,t,!0),e.child}function p71(n){var e=n.stateNode;e.pendingContext?lc1(n,e.pendingContext,e.pendingContext!==e.context):e.context&&lc1(n,e.context,!1),hK(n,e.containerInfo)}function bc1(n,e,t,i,r){return Qp(),sK(r),e.flags|=256,Na(n,e,t,i),e.child}var Eq={dehydrated:null,treeContext:null,retryLane:0};function Dq(n){return{baseLanes:n,cachePool:null,transitions:null}}function m71(n,e,t){var i=e.pendingProps,r=oo.current,o=!1,s=(e.flags&128)!==0,a;if((a=s)||(a=n!==null&&n.memoizedState===null?!1:(r&2)!==0),a?(o=!0,e.flags&=-129):(n===null||n.memoizedState!==null)&&(r|=1),Vr(oo,r&1),n===null)return xq(e),n=e.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(e.mode&1?n.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=i.children,n=i.fallback,o?(i=e.mode,o=e.child,s={mode:"hidden",children:s},!(i&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Ty(s,i,0,null),n=du(n,i,t,null),o.return=e,n.return=e,o.sibling=n,e.child=o,e.child.memoizedState=Dq(t),e.memoizedState=Eq,n):VK(e,s));if(r=n.memoizedState,r!==null&&(a=r.dehydrated,a!==null))return fO1(n,e,s,i,a,r,t);if(o){o=i.fallback,s=e.mode,r=n.child,a=r.sibling;var l={mode:"hidden",children:i.children};return!(s&1)&&e.child!==r?(i=e.child,i.childLanes=0,i.pendingProps=l,e.deletions=null):(i=a9(r,l),i.subtreeFlags=r.subtreeFlags&14680064),a!==null?o=a9(a,o):(o=du(o,s,t,null),o.flags|=2),o.return=e,i.return=e,i.sibling=o,e.child=i,i=o,o=e.child,s=n.child.memoizedState,s=s===null?Dq(t):{baseLanes:s.baseLanes|t,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=n.childLanes&~t,e.memoizedState=Eq,i}return o=n.child,n=o.sibling,i=a9(o,{mode:"visible",children:i.children}),!(e.mode&1)&&(i.lanes=t),i.return=e,i.sibling=null,n!==null&&(t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)),e.child=i,e.memoizedState=null,i}function VK(n,e){return e=Ty({mode:"visible",children:e},n.mode,0,null),e.return=n,n.child=e}function Zw(n,e,t,i){return i!==null&&sK(i),Xp(e,n.child,null,t),n=VK(e,e.pendingProps.children),n.flags|=2,e.memoizedState=null,n}function fO1(n,e,t,i,r,o,s){if(t)return e.flags&256?(e.flags&=-257,i=$$(Error(ge(422))),Zw(n,e,s,i)):e.memoizedState!==null?(e.child=n.child,e.flags|=128,null):(o=i.fallback,r=e.mode,i=Ty({mode:"visible",children:i.children},r,0,null),o=du(o,r,s,null),o.flags|=2,i.return=e,o.return=e,i.sibling=o,e.child=i,e.mode&1&&Xp(e,n.child,null,s),e.child.memoizedState=Dq(s),e.memoizedState=Eq,o);if(!(e.mode&1))return Zw(n,e,s,null);if(r.data==="$!"){if(i=r.nextSibling&&r.nextSibling.dataset,i)var a=i.dgst;return i=a,o=Error(ge(419)),i=$$(o,i,void 0),Zw(n,e,s,i)}if(a=(s&n.childLanes)!==0,g5||a){if(i=rs,i!==null){switch(s&-s){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(i.suspendedLanes|s)?0:r,r!==0&&r!==o.retryLane&&(o.retryLane=r,g4(n,r),t3(i,n,r,-1))}return AK(),i=$$(Error(ge(421))),Zw(n,e,s,i)}return r.data==="$?"?(e.flags|=128,e.child=n.child,e=yO1.bind(null,n),r._reactRetry=e,null):(n=o.treeContext,o0=n9(r.nextSibling),s0=e,$r=!0,Jl=null,n!==null&&(nl[rl++]=h4,nl[rl++]=C4,nl[rl++]=uu,h4=n.id,C4=n.overflow,uu=e),e=VK(e,i.children),e.flags|=4096,e)}function Ac1(n,e,t){n.lanes|=e;var i=n.alternate;i!==null&&(i.lanes|=e),bq(n.return,e,t)}function q$(n,e,t,i,r){var o=n.memoizedState;o===null?n.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:t,tailMode:r}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=i,o.tail=t,o.tailMode=r)}function f71(n,e,t){var i=e.pendingProps,r=i.revealOrder,o=i.tail;if(Na(n,e,i.children,t),i=oo.current,i&2)i=i&1|2,e.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=e.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Ac1(n,t,e);else if(n.tag===19)Ac1(n,t,e);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}i&=1}if(Vr(oo,i),!(e.mode&1))e.memoizedState=null;else switch(r){case"forwards":for(t=e.child,r=null;t!==null;)n=t.alternate,n!==null&&fy(n)===null&&(r=t),t=t.sibling;t=r,t===null?(r=e.child,e.child=null):(r=t.sibling,t.sibling=null),q$(e,!1,r,t,o);break;case"backwards":for(t=null,r=e.child,e.child=null;r!==null;){if(n=r.alternate,n!==null&&fy(n)===null){e.child=r;break}n=r.sibling,r.sibling=t,t=r,r=n}q$(e,!0,t,null,o);break;case"together":q$(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Yw(n,e){!(e.mode&1)&&n!==null&&(n.alternate=null,e.alternate=null,e.flags|=2)}function L4(n,e,t){if(n!==null&&(e.dependencies=n.dependencies),Cu|=e.lanes,!(t&e.childLanes))return null;if(n!==null&&e.child!==n.child)throw Error(ge(153));if(e.child!==null){for(n=e.child,t=a9(n,n.pendingProps),e.child=t,t.return=e;n.sibling!==null;)n=n.sibling,t=t.sibling=a9(n,n.pendingProps),t.return=e;t.sibling=null}return e.child}function gO1(n,e,t){switch(e.tag){case 3:p71(e),Qp();break;case 5:W41(e);break;case 1:H5(e.type)&&cy(e);break;case 4:hK(e,e.stateNode.containerInfo);break;case 10:var i=e.type._context,r=e.memoizedProps.value;Vr(Cy,i._currentValue),i._currentValue=r;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(Vr(oo,oo.current&1),e.flags|=128,null):t&e.child.childLanes?m71(n,e,t):(Vr(oo,oo.current&1),n=L4(n,e,t),n!==null?n.sibling:null);Vr(oo,oo.current&1);break;case 19:if(i=(t&e.childLanes)!==0,n.flags&128){if(i)return f71(n,e,t);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Vr(oo,oo.current),i)break;return null;case 22:case 23:return e.lanes=0,h71(n,e,t)}return L4(n,e,t)}var g71,Iq,L71,H71;g71=function(n,e){for(var t=e.child;t!==null;){if(t.tag===5||t.tag===6)n.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};Iq=function(){};L71=function(n,e,t,i){var r=n.memoizedProps;if(r!==i){n=e.stateNode,au(xd.current);var o=null;switch(t){case"input":r=tq(n,r),i=tq(n,i),o=[];break;case"select":r=ao({},r,{value:void 0}),i=ao({},i,{value:void 0}),o=[];break;case"textarea":r=rq(n,r),i=rq(n,i),o=[];break;default:typeof r.onClick!="function"&&typeof i.onClick=="function"&&(n.onclick=ly)}sq(t,i);var s;t=null;for(d in r)if(!i.hasOwnProperty(d)&&r.hasOwnProperty(d)&&r[d]!=null)if(d==="style"){var a=r[d];for(s in a)a.hasOwnProperty(s)&&(t||(t={}),t[s]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(xV.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in i){var l=i[d];if(a=r?.[d],i.hasOwnProperty(d)&&l!==a&&(l!=null||a!=null))if(d==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(t||(t={}),t[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(t||(t={}),t[s]=l[s])}else t||(o||(o=[]),o.push(d,t)),t=l;else d==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(d,l)):d==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(d,""+l):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(xV.hasOwnProperty(d)?(l!=null&&d==="onScroll"&&Tr("scroll",n),o||a===l||(o=[])):(o=o||[]).push(d,l))}t&&(o=o||[]).push("style",t);var d=o;(e.updateQueue=d)&&(e.flags|=4)}};H71=function(n,e,t,i){t!==i&&(e.flags|=4)};function lV(n,e){if(!$r)switch(n.tailMode){case"hidden":e=n.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?n.tail=null:t.sibling=null;break;case"collapsed":t=n.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e||n.tail===null?n.tail=null:n.tail.sibling=null:i.sibling=null}}function la(n){var e=n.alternate!==null&&n.alternate.child===n.child,t=0,i=0;if(e)for(var r=n.child;r!==null;)t|=r.lanes|r.childLanes,i|=r.subtreeFlags&14680064,i|=r.flags&14680064,r.return=n,r=r.sibling;else for(r=n.child;r!==null;)t|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=n,r=r.sibling;return n.subtreeFlags|=i,n.childLanes=t,e}function LO1(n,e,t){var i=e.pendingProps;switch(oK(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return la(e),null;case 1:return H5(e.type)&&dy(),la(e),null;case 3:return i=e.stateNode,Jp(),Nr(L5),Nr(ca),pK(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Fw(e)?e.flags|=4:n===null||n.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Jl!==null&&(Zq(Jl),Jl=null))),Iq(n,e),la(e),null;case 5:CK(e);var r=au(OV.current);if(t=e.type,n!==null&&e.stateNode!=null)L71(n,e,t,i,r),n.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!i){if(e.stateNode===null)throw Error(ge(166));return la(e),null}if(n=au(xd.current),Fw(e)){i=e.stateNode,t=e.type;var o=e.memoizedProps;switch(i[vd]=e,i[TV]=o,n=(e.mode&1)!==0,t){case"dialog":Tr("cancel",i),Tr("close",i);break;case"iframe":case"object":case"embed":Tr("load",i);break;case"video":case"audio":for(r=0;r<pV.length;r++)Tr(pV[r],i);break;case"source":Tr("error",i);break;case"img":case"image":case"link":Tr("error",i),Tr("load",i);break;case"details":Tr("toggle",i);break;case"input":Td1(i,o),Tr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!o.multiple},Tr("invalid",i);break;case"textarea":Od1(i,o),Tr("invalid",i)}sq(t,o),r=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?i.textContent!==a&&(o.suppressHydrationWarning!==!0&&Pw(i.textContent,a,n),r=["children",a]):typeof a=="number"&&i.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Pw(i.textContent,a,n),r=["children",""+a]):xV.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Tr("scroll",i)}switch(t){case"input":Aw(i),Nd1(i,o,!0);break;case"textarea":Aw(i),Rd1(i);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(i.onclick=ly)}i=r,e.updateQueue=i,i!==null&&(e.flags|=4)}else{s=r.nodeType===9?r:r.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=$c1(t)),n==="http://www.w3.org/1999/xhtml"?t==="script"?(n=s.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof i.is=="string"?n=s.createElement(t,{is:i.is}):(n=s.createElement(t),t==="select"&&(s=n,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):n=s.createElementNS(n,t),n[vd]=e,n[TV]=i,g71(n,e,!1,!1),e.stateNode=n;e:{switch(s=aq(t,i),t){case"dialog":Tr("cancel",n),Tr("close",n),r=i;break;case"iframe":case"object":case"embed":Tr("load",n),r=i;break;case"video":case"audio":for(r=0;r<pV.length;r++)Tr(pV[r],n);r=i;break;case"source":Tr("error",n),r=i;break;case"img":case"image":case"link":Tr("error",n),Tr("load",n),r=i;break;case"details":Tr("toggle",n),r=i;break;case"input":Td1(n,i),r=tq(n,i),Tr("invalid",n);break;case"option":r=i;break;case"select":n._wrapperState={wasMultiple:!!i.multiple},r=ao({},i,{value:void 0}),Tr("invalid",n);break;case"textarea":Od1(n,i),r=rq(n,i),Tr("invalid",n);break;default:r=i}sq(t,r),a=r;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Gc1(n,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&qc1(n,l)):o==="children"?typeof l=="string"?(t!=="textarea"||l!=="")&&bV(n,l):typeof l=="number"&&bV(n,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(xV.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Tr("scroll",n):l!=null&&Uq(n,o,l,s))}switch(t){case"input":Aw(n),Nd1(n,i,!1);break;case"textarea":Aw(n),Rd1(n);break;case"option":i.value!=null&&n.setAttribute("value",""+l9(i.value));break;case"select":n.multiple=!!i.multiple,o=i.value,o!=null?Wp(n,!!i.multiple,o,!1):i.defaultValue!=null&&Wp(n,!!i.multiple,i.defaultValue,!0);break;default:typeof r.onClick=="function"&&(n.onclick=ly)}switch(t){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return la(e),null;case 6:if(n&&e.stateNode!=null)H71(n,e,n.memoizedProps,i);else{if(typeof i!="string"&&e.stateNode===null)throw Error(ge(166));if(t=au(OV.current),au(xd.current),Fw(e)){if(i=e.stateNode,t=e.memoizedProps,i[vd]=e,(o=i.nodeValue!==t)&&(n=s0,n!==null))switch(n.tag){case 3:Pw(i.nodeValue,t,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Pw(i.nodeValue,t,(n.mode&1)!==0)}o&&(e.flags|=4)}else i=(t.nodeType===9?t:t.ownerDocument).createTextNode(i),i[vd]=e,e.stateNode=i}return la(e),null;case 13:if(Nr(oo),i=e.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if($r&&o0!==null&&e.mode&1&&!(e.flags&128))O41(),Qp(),e.flags|=98560,o=!1;else if(o=Fw(e),i!==null&&i.dehydrated!==null){if(n===null){if(!o)throw Error(ge(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(ge(317));o[vd]=e}else Qp(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;la(e),o=!1}else Jl!==null&&(Zq(Jl),Jl=null),o=!0;if(!o)return e.flags&65536?e:null}return e.flags&128?(e.lanes=t,e):(i=i!==null,i!==(n!==null&&n.memoizedState!==null)&&i&&(e.child.flags|=8192,e.mode&1&&(n===null||oo.current&1?D2===0&&(D2=3):AK())),e.updateQueue!==null&&(e.flags|=4),la(e),null);case 4:return Jp(),Iq(n,e),n===null&&DV(e.stateNode.containerInfo),la(e),null;case 10:return dK(e.type._context),la(e),null;case 17:return H5(e.type)&&dy(),la(e),null;case 19:if(Nr(oo),o=e.memoizedState,o===null)return la(e),null;if(i=(e.flags&128)!==0,s=o.rendering,s===null)if(i)lV(o,!1);else{if(D2!==0||n!==null&&n.flags&128)for(n=e.child;n!==null;){if(s=fy(n),s!==null){for(e.flags|=128,lV(o,!1),i=s.updateQueue,i!==null&&(e.updateQueue=i,e.flags|=4),e.subtreeFlags=0,i=t,t=e.child;t!==null;)o=t,n=i,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=n,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,n=s.dependencies,o.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),t=t.sibling;return Vr(oo,oo.current&1|2),e.child}n=n.sibling}o.tail!==null&&Po()>tm&&(e.flags|=128,i=!0,lV(o,!1),e.lanes=4194304)}else{if(!i)if(n=fy(s),n!==null){if(e.flags|=128,i=!0,t=n.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),lV(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$r)return la(e),null}else 2*Po()-o.renderingStartTime>tm&&t!==1073741824&&(e.flags|=128,i=!0,lV(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(t=o.last,t!==null?t.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Po(),e.sibling=null,t=oo.current,Vr(oo,i?t&1|2:t&1),e):(la(e),null);case 22:case 23:return bK(),i=e.memoizedState!==null,n!==null&&n.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?r0&1073741824&&(la(e),e.subtreeFlags&6&&(e.flags|=8192)):la(e),null;case 24:return null;case 25:return null}throw Error(ge(156,e.tag))}function HO1(n,e){switch(oK(e),e.tag){case 1:return H5(e.type)&&dy(),n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 3:return Jp(),Nr(L5),Nr(ca),pK(),n=e.flags,n&65536&&!(n&128)?(e.flags=n&-65537|128,e):null;case 5:return CK(e),null;case 13:if(Nr(oo),n=e.memoizedState,n!==null&&n.dehydrated!==null){if(e.alternate===null)throw Error(ge(340));Qp()}return n=e.flags,n&65536?(e.flags=n&-65537|128,e):null;case 19:return Nr(oo),null;case 4:return Jp(),null;case 10:return dK(e.type._context),null;case 22:case 23:return bK(),null;case 24:return null;default:return null}}var zw=!1,da=!1,VO1=typeof WeakSet=="function"?WeakSet:Set,at=null;function Zp(n,e){var t=n.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(i){xo(n,e,i)}else t.current=null}function Tq(n,e,t){try{t()}catch(i){xo(n,e,i)}}var Sc1=!1;function MO1(n,e){if(gq=oy,n=_41(),nK(n)){if("selectionStart"in n)var t={start:n.selectionStart,end:n.selectionEnd};else e:{t=(t=n.ownerDocument)&&t.defaultView||window;var i=t.getSelection&&t.getSelection();if(i&&i.rangeCount!==0){t=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var s=0,a=-1,l=-1,d=0,c=0,u=n,h=null;t:for(;;){for(var C;u!==t||r!==0&&u.nodeType!==3||(a=s+r),u!==o||i!==0&&u.nodeType!==3||(l=s+i),u.nodeType===3&&(s+=u.nodeValue.length),(C=u.firstChild)!==null;)h=u,u=C;for(;;){if(u===n)break t;if(h===t&&++d===r&&(a=s),h===o&&++c===i&&(l=s),(C=u.nextSibling)!==null)break;u=h,h=u.parentNode}u=C}t=a===-1||l===-1?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(Lq={focusedElem:n,selectionRange:t},oy=!1,at=e;at!==null;)if(e=at,n=e.child,(e.subtreeFlags&1028)!==0&&n!==null)n.return=e,at=n;else for(;at!==null;){e=at;try{var p=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var m=p.memoizedProps,H=p.memoizedState,g=e.stateNode,L=g.getSnapshotBeforeUpdate(e.elementType===e.type?m:Ql(e.type,m),H);g.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var V=e.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ge(163))}}catch(_){xo(e,e.return,_)}if(n=e.sibling,n!==null){n.return=e.return,at=n;break}at=e.return}return p=Sc1,Sc1=!1,p}function MV(n,e,t){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&n)===n){var o=r.destroy;r.destroy=void 0,o!==void 0&&Tq(e,t,o)}r=r.next}while(r!==i)}}function Dy(n,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&n)===n){var i=t.create;t.destroy=i()}t=t.next}while(t!==e)}}function Nq(n){var e=n.ref;if(e!==null){var t=n.stateNode;switch(n.tag){case 5:n=t;break;default:n=t}typeof e=="function"?e(n):e.current=n}}function V71(n){var e=n.alternate;e!==null&&(n.alternate=null,V71(e)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(e=n.stateNode,e!==null&&(delete e[vd],delete e[TV],delete e[Mq],delete e[nO1],delete e[rO1])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function M71(n){return n.tag===5||n.tag===3||n.tag===4}function wc1(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||M71(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Oq(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(n,e):t.insertBefore(n,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(n,t)):(e=t,e.appendChild(n)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=ly));else if(i!==4&&(n=n.child,n!==null))for(Oq(n,e,t),n=n.sibling;n!==null;)Oq(n,e,t),n=n.sibling}function Rq(n,e,t){var i=n.tag;if(i===5||i===6)n=n.stateNode,e?t.insertBefore(n,e):t.appendChild(n);else if(i!==4&&(n=n.child,n!==null))for(Rq(n,e,t),n=n.sibling;n!==null;)Rq(n,e,t),n=n.sibling}var Ds=null,Xl=!1;function q7(n,e,t){for(t=t.child;t!==null;)v71(n,e,t),t=t.sibling}function v71(n,e,t){if(_d&&typeof _d.onCommitFiberUnmount=="function")try{_d.onCommitFiberUnmount(xy,t)}catch{}switch(t.tag){case 5:da||Zp(t,e);case 6:var i=Ds,r=Xl;Ds=null,q7(n,e,t),Ds=i,Xl=r,Ds!==null&&(Xl?(n=Ds,t=t.stateNode,n.nodeType===8?n.parentNode.removeChild(t):n.removeChild(t)):Ds.removeChild(t.stateNode));break;case 18:Ds!==null&&(Xl?(n=Ds,t=t.stateNode,n.nodeType===8?B$(n.parentNode,t):n.nodeType===1&&B$(n,t),yV(n)):B$(Ds,t.stateNode));break;case 4:i=Ds,r=Xl,Ds=t.stateNode.containerInfo,Xl=!0,q7(n,e,t),Ds=i,Xl=r;break;case 0:case 11:case 14:case 15:if(!da&&(i=t.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var o=r,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Tq(t,e,s),r=r.next}while(r!==i)}q7(n,e,t);break;case 1:if(!da&&(Zp(t,e),i=t.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=t.memoizedProps,i.state=t.memoizedState,i.componentWillUnmount()}catch(a){xo(t,e,a)}q7(n,e,t);break;case 21:q7(n,e,t);break;case 22:t.mode&1?(da=(i=da)||t.memoizedState!==null,q7(n,e,t),da=i):q7(n,e,t);break;default:q7(n,e,t)}}function yc1(n){var e=n.updateQueue;if(e!==null){n.updateQueue=null;var t=n.stateNode;t===null&&(t=n.stateNode=new VO1),e.forEach(function(i){var r=kO1.bind(null,n,i);t.has(i)||(t.add(i),i.then(r,r))})}}function Yl(n,e){var t=e.deletions;if(t!==null)for(var i=0;i<t.length;i++){var r=t[i];try{var o=n,s=e,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ds=a.stateNode,Xl=!1;break e;case 3:Ds=a.stateNode.containerInfo,Xl=!0;break e;case 4:Ds=a.stateNode.containerInfo,Xl=!0;break e}a=a.return}if(Ds===null)throw Error(ge(160));v71(o,s,r),Ds=null,Xl=!1;var l=r.alternate;l!==null&&(l.return=null),r.return=null}catch(d){xo(r,e,d)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)_71(e,n),e=e.sibling}function _71(n,e){var t=n.alternate,i=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Yl(e,n),Vd(n),i&4){try{MV(3,n,n.return),Dy(3,n)}catch(m){xo(n,n.return,m)}try{MV(5,n,n.return)}catch(m){xo(n,n.return,m)}}break;case 1:Yl(e,n),Vd(n),i&512&&t!==null&&Zp(t,t.return);break;case 5:if(Yl(e,n),Vd(n),i&512&&t!==null&&Zp(t,t.return),n.flags&32){var r=n.stateNode;try{bV(r,"")}catch(m){xo(n,n.return,m)}}if(i&4&&(r=n.stateNode,r!=null)){var o=n.memoizedProps,s=t!==null?t.memoizedProps:o,a=n.type,l=n.updateQueue;if(n.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Uc1(r,o),aq(a,s);var d=aq(a,o);for(s=0;s<l.length;s+=2){var c=l[s],u=l[s+1];c==="style"?Gc1(r,u):c==="dangerouslySetInnerHTML"?qc1(r,u):c==="children"?bV(r,u):Uq(r,c,u,d)}switch(a){case"input":iq(r,o);break;case"textarea":jc1(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var C=o.value;C!=null?Wp(r,!!o.multiple,C,!1):h!==!!o.multiple&&(o.defaultValue!=null?Wp(r,!!o.multiple,o.defaultValue,!0):Wp(r,!!o.multiple,o.multiple?[]:"",!1))}r[TV]=o}catch(m){xo(n,n.return,m)}}break;case 6:if(Yl(e,n),Vd(n),i&4){if(n.stateNode===null)throw Error(ge(162));r=n.stateNode,o=n.memoizedProps;try{r.nodeValue=o}catch(m){xo(n,n.return,m)}}break;case 3:if(Yl(e,n),Vd(n),i&4&&t!==null&&t.memoizedState.isDehydrated)try{yV(e.containerInfo)}catch(m){xo(n,n.return,m)}break;case 4:Yl(e,n),Vd(n);break;case 13:Yl(e,n),Vd(n),r=n.child,r.flags&8192&&(o=r.memoizedState!==null,r.stateNode.isHidden=o,!o||r.alternate!==null&&r.alternate.memoizedState!==null||(_K=Po())),i&4&&yc1(n);break;case 22:if(c=t!==null&&t.memoizedState!==null,n.mode&1?(da=(d=da)||c,Yl(e,n),da=d):Yl(e,n),Vd(n),i&8192){if(d=n.memoizedState!==null,(n.stateNode.isHidden=d)&&!c&&n.mode&1)for(at=n,c=n.child;c!==null;){for(u=at=c;at!==null;){switch(h=at,C=h.child,h.tag){case 0:case 11:case 14:case 15:MV(4,h,h.return);break;case 1:Zp(h,h.return);var p=h.stateNode;if(typeof p.componentWillUnmount=="function"){i=h,t=h.return;try{e=i,p.props=e.memoizedProps,p.state=e.memoizedState,p.componentWillUnmount()}catch(m){xo(i,t,m)}}break;case 5:Zp(h,h.return);break;case 22:if(h.memoizedState!==null){Ec1(u);continue}}C!==null?(C.return=h,at=C):Ec1(u)}c=c.sibling}e:for(c=null,u=n;;){if(u.tag===5){if(c===null){c=u;try{r=u.stateNode,d?(o=r.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=u.stateNode,l=u.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Kc1("display",s))}catch(m){xo(n,n.return,m)}}}else if(u.tag===6){if(c===null)try{u.stateNode.nodeValue=d?"":u.memoizedProps}catch(m){xo(n,n.return,m)}}else if((u.tag!==22&&u.tag!==23||u.memoizedState===null||u===n)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===n)break e;for(;u.sibling===null;){if(u.return===null||u.return===n)break e;c===u&&(c=null),u=u.return}c===u&&(c=null),u.sibling.return=u.return,u=u.sibling}}break;case 19:Yl(e,n),Vd(n),i&4&&yc1(n);break;case 21:break;default:Yl(e,n),Vd(n)}}function Vd(n){var e=n.flags;if(e&2){try{e:{for(var t=n.return;t!==null;){if(M71(t)){var i=t;break e}t=t.return}throw Error(ge(160))}switch(i.tag){case 5:var r=i.stateNode;i.flags&32&&(bV(r,""),i.flags&=-33);var o=wc1(n);Rq(n,o,r);break;case 3:case 4:var s=i.stateNode.containerInfo,a=wc1(n);Oq(n,a,s);break;default:throw Error(ge(161))}}catch(l){xo(n,n.return,l)}n.flags&=-3}e&4096&&(n.flags&=-4097)}function vO1(n,e,t){at=n,x71(n,e,t)}function x71(n,e,t){for(var i=(n.mode&1)!==0;at!==null;){var r=at,o=r.child;if(r.tag===22&&i){var s=r.memoizedState!==null||zw;if(!s){var a=r.alternate,l=a!==null&&a.memoizedState!==null||da;a=zw;var d=da;if(zw=s,(da=l)&&!d)for(at=r;at!==null;)s=at,l=s.child,s.tag===22&&s.memoizedState!==null?Dc1(r):l!==null?(l.return=s,at=l):Dc1(r);for(;o!==null;)at=o,x71(o,e,t),o=o.sibling;at=r,zw=a,da=d}kc1(n,e,t)}else r.subtreeFlags&8772&&o!==null?(o.return=r,at=o):kc1(n,e,t)}}function kc1(n){for(;at!==null;){var e=at;if(e.flags&8772){var t=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:da||Dy(5,e);break;case 1:var i=e.stateNode;if(e.flags&4&&!da)if(t===null)i.componentDidMount();else{var r=e.elementType===e.type?t.memoizedProps:Ql(e.type,t.memoizedProps);i.componentDidUpdate(r,t.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;o!==null&&Cc1(e,o,i);break;case 3:var s=e.updateQueue;if(s!==null){if(t=null,e.child!==null)switch(e.child.tag){case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}Cc1(e,s,t)}break;case 5:var a=e.stateNode;if(t===null&&e.flags&4){t=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&t.focus();break;case"img":l.src&&(t.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var d=e.alternate;if(d!==null){var c=d.memoizedState;if(c!==null){var u=c.dehydrated;u!==null&&yV(u)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ge(163))}da||e.flags&512&&Nq(e)}catch(h){xo(e,e.return,h)}}if(e===n){at=null;break}if(t=e.sibling,t!==null){t.return=e.return,at=t;break}at=e.return}}function Ec1(n){for(;at!==null;){var e=at;if(e===n){at=null;break}var t=e.sibling;if(t!==null){t.return=e.return,at=t;break}at=e.return}}function Dc1(n){for(;at!==null;){var e=at;try{switch(e.tag){case 0:case 11:case 15:var t=e.return;try{Dy(4,e)}catch(l){xo(e,t,l)}break;case 1:var i=e.stateNode;if(typeof i.componentDidMount=="function"){var r=e.return;try{i.componentDidMount()}catch(l){xo(e,r,l)}}var o=e.return;try{Nq(e)}catch(l){xo(e,o,l)}break;case 5:var s=e.return;try{Nq(e)}catch(l){xo(e,s,l)}}}catch(l){xo(e,e.return,l)}if(e===n){at=null;break}var a=e.sibling;if(a!==null){a.return=e.return,at=a;break}at=e.return}}var _O1=Math.ceil,Hy=H4.ReactCurrentDispatcher,MK=H4.ReactCurrentOwner,sl=H4.ReactCurrentBatchConfig,wn=0,rs=null,r2=null,Is=0,r0=0,zp=u9(0),D2=0,BV=null,Cu=0,Iy=0,vK=0,vV=null,f5=null,_K=0,tm=1/0,c4=null,Vy=!1,Pq=null,o9=null,Ww=!1,J7=null,My=0,_V=0,Fq=null,Qw=-1,Xw=0;function Oa(){return wn&6?Po():Qw!==-1?Qw:Qw=Po()}function s9(n){return n.mode&1?wn&2&&Is!==0?Is&-Is:sO1.transition!==null?(Xw===0&&(Xw=a41()),Xw):(n=nr,n!==0||(n=window.event,n=n===void 0?16:p41(n.type)),n):1}function t3(n,e,t,i){if(50<_V)throw _V=0,Fq=null,Error(ge(185));ZV(n,t,i),(!(wn&2)||n!==rs)&&(n===rs&&(!(wn&2)&&(Iy|=t),D2===4&&Q7(n,Is)),V5(n,i),t===1&&wn===0&&!(e.mode&1)&&(tm=Po()+500,yy&&h9()))}function V5(n,e){var t=n.callbackNode;lN1(n,e);var i=ry(n,n===rs?Is:0);if(i===0)t!==null&&Bd1(t),n.callbackNode=null,n.callbackPriority=0;else if(e=i&-i,n.callbackPriority!==e){if(t!=null&&Bd1(t),e===1)n.tag===0?oO1(Ic1.bind(null,n)):I41(Ic1.bind(null,n)),tO1(function(){!(wn&6)&&h9()}),t=null;else{switch(l41(i)){case 1:t=Gq;break;case 4:t=o41;break;case 16:t=ny;break;case 536870912:t=s41;break;default:t=ny}t=D71(t,b71.bind(null,n))}n.callbackPriority=e,n.callbackNode=t}}function b71(n,e){if(Qw=-1,Xw=0,wn&6)throw Error(ge(327));var t=n.callbackNode;if(Kp()&&n.callbackNode!==t)return null;var i=ry(n,n===rs?Is:0);if(i===0)return null;if(i&30||i&n.expiredLanes||e)e=vy(n,i);else{e=i;var r=wn;wn|=2;var o=S71();(rs!==n||Is!==e)&&(c4=null,tm=Po()+500,lu(n,e));do try{AO1();break}catch(a){A71(n,a)}while(1);lK(),Hy.current=o,wn=r,r2!==null?e=0:(rs=null,Is=0,e=D2)}if(e!==0){if(e===2&&(r=hq(n),r!==0&&(i=r,e=Bq(n,r))),e===1)throw t=BV,lu(n,0),Q7(n,i),V5(n,Po()),t;if(e===6)Q7(n,i);else{if(r=n.current.alternate,!(i&30)&&!xO1(r)&&(e=vy(n,i),e===2&&(o=hq(n),o!==0&&(i=o,e=Bq(n,o))),e===1))throw t=BV,lu(n,0),Q7(n,i),V5(n,Po()),t;switch(n.finishedWork=r,n.finishedLanes=i,e){case 0:case 1:throw Error(ge(345));case 2:ru(n,f5,c4);break;case 3:if(Q7(n,i),(i&130023424)===i&&(e=_K+500-Po(),10<e)){if(ry(n,0)!==0)break;if(r=n.suspendedLanes,(r&i)!==i){Oa(),n.pingedLanes|=n.suspendedLanes&r;break}n.timeoutHandle=Vq(ru.bind(null,n,f5,c4),e);break}ru(n,f5,c4);break;case 4:if(Q7(n,i),(i&4194240)===i)break;for(e=n.eventTimes,r=-1;0<i;){var s=31-e3(i);o=1<<s,s=e[s],s>r&&(r=s),i&=~o}if(i=r,i=Po()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*_O1(i/1960))-i,10<i){n.timeoutHandle=Vq(ru.bind(null,n,f5,c4),i);break}ru(n,f5,c4);break;case 5:ru(n,f5,c4);break;default:throw Error(ge(329))}}}return V5(n,Po()),n.callbackNode===t?b71.bind(null,n):null}function Bq(n,e){var t=vV;return n.current.memoizedState.isDehydrated&&(lu(n,e).flags|=256),n=vy(n,e),n!==2&&(e=f5,f5=t,e!==null&&Zq(e)),n}function Zq(n){f5===null?f5=n:f5.push.apply(f5,n)}function xO1(n){for(var e=n;;){if(e.flags&16384){var t=e.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var i=0;i<t.length;i++){var r=t[i],o=r.getSnapshot;r=r.value;try{if(!i3(o(),r))return!1}catch{return!1}}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===n)break;for(;e.sibling===null;){if(e.return===null||e.return===n)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Q7(n,e){for(e&=~vK,e&=~Iy,n.suspendedLanes|=e,n.pingedLanes&=~e,n=n.expirationTimes;0<e;){var t=31-e3(e),i=1<<t;n[t]=-1,e&=~i}}function Ic1(n){if(wn&6)throw Error(ge(327));Kp();var e=ry(n,0);if(!(e&1))return V5(n,Po()),null;var t=vy(n,e);if(n.tag!==0&&t===2){var i=hq(n);i!==0&&(e=i,t=Bq(n,i))}if(t===1)throw t=BV,lu(n,0),Q7(n,e),V5(n,Po()),t;if(t===6)throw Error(ge(345));return n.finishedWork=n.current.alternate,n.finishedLanes=e,ru(n,f5,c4),V5(n,Po()),null}function xK(n,e){var t=wn;wn|=1;try{return n(e)}finally{wn=t,wn===0&&(tm=Po()+500,yy&&h9())}}function pu(n){J7!==null&&J7.tag===0&&!(wn&6)&&Kp();var e=wn;wn|=1;var t=sl.transition,i=nr;try{if(sl.transition=null,nr=1,n)return n()}finally{nr=i,sl.transition=t,wn=e,!(wn&6)&&h9()}}function bK(){r0=zp.current,Nr(zp)}function lu(n,e){n.finishedWork=null,n.finishedLanes=0;var t=n.timeoutHandle;if(t!==-1&&(n.timeoutHandle=-1,eO1(t)),r2!==null)for(t=r2.return;t!==null;){var i=t;switch(oK(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&dy();break;case 3:Jp(),Nr(L5),Nr(ca),pK();break;case 5:CK(i);break;case 4:Jp();break;case 13:Nr(oo);break;case 19:Nr(oo);break;case 10:dK(i.type._context);break;case 22:case 23:bK()}t=t.return}if(rs=n,r2=n=a9(n.current,null),Is=r0=e,D2=0,BV=null,vK=Iy=Cu=0,f5=vV=null,su!==null){for(e=0;e<su.length;e++)if(t=su[e],i=t.interleaved,i!==null){t.interleaved=null;var r=i.next,o=t.pending;if(o!==null){var s=o.next;o.next=r,i.next=s}t.pending=i}su=null}return n}function A71(n,e){do{var t=r2;try{if(lK(),Kw.current=Ly,gy){for(var i=so.memoizedState;i!==null;){var r=i.queue;r!==null&&(r.pending=null),i=i.next}gy=!1}if(hu=0,ns=E2=so=null,VV=!1,RV=0,MK.current=null,t===null||t.return===null){D2=1,BV=e,r2=null;break}e:{var o=n,s=t.return,a=t,l=e;if(e=Is,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var d=l,c=a,u=c.tag;if(!(c.mode&1)&&(u===0||u===11||u===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var C=Vc1(s);if(C!==null){C.flags&=-257,Mc1(C,s,a,o,e),C.mode&1&&Hc1(o,d,e),e=C,l=d;var p=e.updateQueue;if(p===null){var m=new Set;m.add(l),e.updateQueue=m}else p.add(l);break e}else{if(!(e&1)){Hc1(o,d,e),AK();break e}l=Error(ge(426))}}else if($r&&a.mode&1){var H=Vc1(s);if(H!==null){!(H.flags&65536)&&(H.flags|=256),Mc1(H,s,a,o,e),sK(em(l,a));break e}}o=l=em(l,a),D2!==4&&(D2=2),vV===null?vV=[o]:vV.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,e&=-e,o.lanes|=e;var g=d71(o,l,e);hc1(o,g);break e;case 1:a=l;var L=o.type,V=o.stateNode;if(!(o.flags&128)&&(typeof L.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(o9===null||!o9.has(V)))){o.flags|=65536,e&=-e,o.lanes|=e;var _=c71(o,a,e);hc1(o,_);break e}}o=o.return}while(o!==null)}y71(t)}catch(b){e=b,r2===t&&t!==null&&(r2=t=t.return);continue}break}while(1)}function S71(){var n=Hy.current;return Hy.current=Ly,n===null?Ly:n}function AK(){(D2===0||D2===3||D2===2)&&(D2=4),rs===null||!(Cu&268435455)&&!(Iy&268435455)||Q7(rs,Is)}function vy(n,e){var t=wn;wn|=2;var i=S71();(rs!==n||Is!==e)&&(c4=null,lu(n,e));do try{bO1();break}catch(r){A71(n,r)}while(1);if(lK(),wn=t,Hy.current=i,r2!==null)throw Error(ge(261));return rs=null,Is=0,D2}function bO1(){for(;r2!==null;)w71(r2)}function AO1(){for(;r2!==null&&!JT1();)w71(r2)}function w71(n){var e=E71(n.alternate,n,r0);n.memoizedProps=n.pendingProps,e===null?y71(n):r2=e,MK.current=null}function y71(n){var e=n;do{var t=e.alternate;if(n=e.return,e.flags&32768){if(t=HO1(t,e),t!==null){t.flags&=32767,r2=t;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{D2=6,r2=null;return}}else if(t=LO1(t,e,r0),t!==null){r2=t;return}if(e=e.sibling,e!==null){r2=e;return}r2=e=n}while(e!==null);D2===0&&(D2=5)}function ru(n,e,t){var i=nr,r=sl.transition;try{sl.transition=null,nr=1,SO1(n,e,t,i)}finally{sl.transition=r,nr=i}return null}function SO1(n,e,t,i){do Kp();while(J7!==null);if(wn&6)throw Error(ge(327));t=n.finishedWork;var r=n.finishedLanes;if(t===null)return null;if(n.finishedWork=null,n.finishedLanes=0,t===n.current)throw Error(ge(177));n.callbackNode=null,n.callbackPriority=0;var o=t.lanes|t.childLanes;if(dN1(n,o),n===rs&&(r2=rs=null,Is=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||Ww||(Ww=!0,D71(ny,function(){return Kp(),null})),o=(t.flags&15990)!==0,t.subtreeFlags&15990||o){o=sl.transition,sl.transition=null;var s=nr;nr=1;var a=wn;wn|=4,MK.current=null,MO1(n,t),_71(t,n),GN1(Lq),oy=!!gq,Lq=gq=null,n.current=t,vO1(t,n,r),eN1(),wn=a,nr=s,sl.transition=o}else n.current=t;if(Ww&&(Ww=!1,J7=n,My=r),o=n.pendingLanes,o===0&&(o9=null),nN1(t.stateNode,i),V5(n,Po()),e!==null)for(i=n.onRecoverableError,t=0;t<e.length;t++)r=e[t],i(r.value,{componentStack:r.stack,digest:r.digest});if(Vy)throw Vy=!1,n=Pq,Pq=null,n;return My&1&&n.tag!==0&&Kp(),o=n.pendingLanes,o&1?n===Fq?_V++:(_V=0,Fq=n):_V=0,h9(),null}function Kp(){if(J7!==null){var n=l41(My),e=sl.transition,t=nr;try{if(sl.transition=null,nr=16>n?16:n,J7===null)var i=!1;else{if(n=J7,J7=null,My=0,wn&6)throw Error(ge(331));var r=wn;for(wn|=4,at=n.current;at!==null;){var o=at,s=o.child;if(at.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var d=a[l];for(at=d;at!==null;){var c=at;switch(c.tag){case 0:case 11:case 15:MV(8,c,o)}var u=c.child;if(u!==null)u.return=c,at=u;else for(;at!==null;){c=at;var h=c.sibling,C=c.return;if(V71(c),c===d){at=null;break}if(h!==null){h.return=C,at=h;break}at=C}}}var p=o.alternate;if(p!==null){var m=p.child;if(m!==null){p.child=null;do{var H=m.sibling;m.sibling=null,m=H}while(m!==null)}}at=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,at=s;else e:for(;at!==null;){if(o=at,o.flags&2048)switch(o.tag){case 0:case 11:case 15:MV(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,at=g;break e}at=o.return}}var L=n.current;for(at=L;at!==null;){s=at;var V=s.child;if(s.subtreeFlags&2064&&V!==null)V.return=s,at=V;else e:for(s=L;at!==null;){if(a=at,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Dy(9,a)}}catch(b){xo(a,a.return,b)}if(a===s){at=null;break e}var _=a.sibling;if(_!==null){_.return=a.return,at=_;break e}at=a.return}}if(wn=r,h9(),_d&&typeof _d.onPostCommitFiberRoot=="function")try{_d.onPostCommitFiberRoot(xy,n)}catch{}i=!0}return i}finally{nr=t,sl.transition=e}}return!1}function Tc1(n,e,t){e=em(t,e),e=d71(n,e,1),n=r9(n,e,1),e=Oa(),n!==null&&(ZV(n,1,e),V5(n,e))}function xo(n,e,t){if(n.tag===3)Tc1(n,n,t);else for(;e!==null;){if(e.tag===3){Tc1(e,n,t);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(o9===null||!o9.has(i))){n=em(t,n),n=c71(e,n,1),e=r9(e,n,1),n=Oa(),e!==null&&(ZV(e,1,n),V5(e,n));break}}e=e.return}}function wO1(n,e,t){var i=n.pingCache;i!==null&&i.delete(e),e=Oa(),n.pingedLanes|=n.suspendedLanes&t,rs===n&&(Is&t)===t&&(D2===4||D2===3&&(Is&130023424)===Is&&500>Po()-_K?lu(n,0):vK|=t),V5(n,e)}function k71(n,e){e===0&&(n.mode&1?(e=yw,yw<<=1,!(yw&130023424)&&(yw=4194304)):e=1);var t=Oa();n=g4(n,e),n!==null&&(ZV(n,e,t),V5(n,t))}function yO1(n){var e=n.memoizedState,t=0;e!==null&&(t=e.retryLane),k71(n,t)}function kO1(n,e){var t=0;switch(n.tag){case 13:var i=n.stateNode,r=n.memoizedState;r!==null&&(t=r.retryLane);break;case 19:i=n.stateNode;break;default:throw Error(ge(314))}i!==null&&i.delete(e),k71(n,t)}var E71;E71=function(n,e,t){if(n!==null)if(n.memoizedProps!==e.pendingProps||L5.current)g5=!0;else{if(!(n.lanes&t)&&!(e.flags&128))return g5=!1,gO1(n,e,t);g5=!!(n.flags&131072)}else g5=!1,$r&&e.flags&1048576&&T41(e,hy,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;Yw(n,e),n=e.pendingProps;var r=Yp(e,ca.current);qp(e,t),r=fK(null,e,i,n,r,t);var o=gK();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,H5(i)?(o=!0,cy(e)):o=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,uK(e),r.updater=ky,e.stateNode=r,r._reactInternals=e,Sq(e,i,n,t),e=kq(null,e,i,!0,o,t)):(e.tag=0,$r&&o&&rK(e),Na(null,e,r,t),e=e.child),e;case 16:i=e.elementType;e:{switch(Yw(n,e),n=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=DO1(i),n=Ql(i,n),r){case 0:e=yq(null,e,i,n,t);break e;case 1:e=xc1(null,e,i,n,t);break e;case 11:e=vc1(null,e,i,n,t);break e;case 14:e=_c1(null,e,i,Ql(i.type,n),t);break e}throw Error(ge(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),yq(n,e,i,r,t);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),xc1(n,e,i,r,t);case 3:e:{if(p71(e),n===null)throw Error(ge(387));i=e.pendingProps,o=e.memoizedState,r=o.element,P41(n,e),my(e,i,null,t);var s=e.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){r=em(Error(ge(423)),e),e=bc1(n,e,i,t,r);break e}else if(i!==r){r=em(Error(ge(424)),e),e=bc1(n,e,i,t,r);break e}else for(o0=n9(e.stateNode.containerInfo.firstChild),s0=e,$r=!0,Jl=null,t=z41(e,null,i,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Qp(),i===r){e=L4(n,e,t);break e}Na(n,e,i,t)}e=e.child}return e;case 5:return W41(e),n===null&&xq(e),i=e.type,r=e.pendingProps,o=n!==null?n.memoizedProps:null,s=r.children,Hq(i,r)?s=null:o!==null&&Hq(i,o)&&(e.flags|=32),C71(n,e),Na(n,e,s,t),e.child;case 6:return n===null&&xq(e),null;case 13:return m71(n,e,t);case 4:return hK(e,e.stateNode.containerInfo),i=e.pendingProps,n===null?e.child=Xp(e,null,i,t):Na(n,e,i,t),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),vc1(n,e,i,r,t);case 7:return Na(n,e,e.pendingProps,t),e.child;case 8:return Na(n,e,e.pendingProps.children,t),e.child;case 12:return Na(n,e,e.pendingProps.children,t),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,o=e.memoizedProps,s=r.value,Vr(Cy,i._currentValue),i._currentValue=s,o!==null)if(i3(o.value,s)){if(o.children===r.children&&!L5.current){e=L4(n,e,t);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=p4(-1,t&-t),l.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var c=d.pending;c===null?l.next=l:(l.next=c.next,c.next=l),d.pending=l}}o.lanes|=t,l=o.alternate,l!==null&&(l.lanes|=t),bq(o.return,t,e),a.lanes|=t;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(ge(341));s.lanes|=t,a=s.alternate,a!==null&&(a.lanes|=t),bq(s,t,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Na(n,e,r.children,t),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,qp(e,t),r=al(r),i=i(r),e.flags|=1,Na(n,e,i,t),e.child;case 14:return i=e.type,r=Ql(i,e.pendingProps),r=Ql(i.type,r),_c1(n,e,i,r,t);case 15:return u71(n,e,e.type,e.pendingProps,t);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:Ql(i,r),Yw(n,e),e.tag=1,H5(i)?(n=!0,cy(e)):n=!1,qp(e,t),B41(e,i,r),Sq(e,i,r,t),kq(null,e,i,!0,n,t);case 19:return f71(n,e,t);case 22:return h71(n,e,t)}throw Error(ge(156,e.tag))};function D71(n,e){return r41(n,e)}function EO1(n,e,t,i){this.tag=n,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ol(n,e,t,i){return new EO1(n,e,t,i)}function SK(n){return n=n.prototype,!(!n||!n.isReactComponent)}function DO1(n){if(typeof n=="function")return SK(n)?1:0;if(n!=null){if(n=n.$$typeof,n===$q)return 11;if(n===qq)return 14}return 2}function a9(n,e){var t=n.alternate;return t===null?(t=ol(n.tag,e,n.key,n.mode),t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.alternate=n,n.alternate=t):(t.pendingProps=e,t.type=n.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=n.flags&14680064,t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t}function Jw(n,e,t,i,r,o){var s=2;if(i=n,typeof n=="function")SK(n)&&(s=1);else if(typeof n=="string")s=5;else e:switch(n){case Dp:return du(t.children,r,o,e);case jq:s=8,r|=8;break;case Q$:return n=ol(12,t,e,r|2),n.elementType=Q$,n.lanes=o,n;case X$:return n=ol(13,t,e,r),n.elementType=X$,n.lanes=o,n;case J$:return n=ol(19,t,e,r),n.elementType=J$,n.lanes=o,n;case Zc1:return Ty(t,r,o,e);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Fc1:s=10;break e;case Bc1:s=9;break e;case $q:s=11;break e;case qq:s=14;break e;case K7:s=16,i=null;break e}throw Error(ge(130,n==null?n:typeof n,""))}return e=ol(s,t,e,r),e.elementType=n,e.type=i,e.lanes=o,e}function du(n,e,t,i){return n=ol(7,n,i,e),n.lanes=t,n}function Ty(n,e,t,i){return n=ol(22,n,i,e),n.elementType=Zc1,n.lanes=t,n.stateNode={isHidden:!1},n}function K$(n,e,t){return n=ol(6,n,null,e),n.lanes=t,n}function G$(n,e,t){return e=ol(4,n.children!==null?n.children:[],n.key,e),e.lanes=t,e.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},e}function IO1(n,e,t,i,r){this.tag=e,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=D$(0),this.expirationTimes=D$(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D$(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function wK(n,e,t,i,r,o,s,a,l){return n=new IO1(n,e,t,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=ol(3,null,null,e),n.current=o,o.stateNode=n,o.memoizedState={element:i,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},uK(o),n}function TO1(n,e,t){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ep,key:i==null?null:""+i,children:n,containerInfo:e,implementation:t}}function I71(n){if(!n)return d9;n=n._reactInternals;e:{if(fu(n)!==n||n.tag!==1)throw Error(ge(170));var e=n;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(H5(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(ge(171))}if(n.tag===1){var t=n.type;if(H5(t))return D41(n,t,e)}return e}function T71(n,e,t,i,r,o,s,a,l){return n=wK(t,i,!0,n,r,o,s,a,l),n.context=I71(null),t=n.current,i=Oa(),r=s9(t),o=p4(i,r),o.callback=e??null,r9(t,o,r),n.current.lanes=r,ZV(n,r,i),V5(n,i),n}function Ny(n,e,t,i){var r=e.current,o=Oa(),s=s9(r);return t=I71(t),e.context===null?e.context=t:e.pendingContext=t,e=p4(o,s),e.payload={element:n},i=i===void 0?null:i,i!==null&&(e.callback=i),n=r9(r,e,s),n!==null&&(t3(n,r,s,o),qw(n,r,s)),s}function _y(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Nc1(n,e){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var t=n.retryLane;n.retryLane=t!==0&&t<e?t:e}}function yK(n,e){Nc1(n,e),(n=n.alternate)&&Nc1(n,e)}function NO1(){return null}var N71=typeof reportError=="function"?reportError:function(n){console.error(n)};function kK(n){this._internalRoot=n}Oy.prototype.render=kK.prototype.render=function(n){var e=this._internalRoot;if(e===null)throw Error(ge(409));Ny(n,e,null,null)};Oy.prototype.unmount=kK.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var e=n.containerInfo;pu(function(){Ny(null,n,null,null)}),e[f4]=null}};function Oy(n){this._internalRoot=n}Oy.prototype.unstable_scheduleHydration=function(n){if(n){var e=u41();n={blockedOn:null,target:n,priority:e};for(var t=0;t<Y7.length&&e!==0&&e<Y7[t].priority;t++);Y7.splice(t,0,n),t===0&&C41(n)}};function EK(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Ry(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Oc1(){}function OO1(n,e,t,i,r){if(r){if(typeof i=="function"){var o=i;i=function(){var d=_y(s);o.call(d)}}var s=T71(e,i,n,0,null,!1,!1,"",Oc1);return n._reactRootContainer=s,n[f4]=s.current,DV(n.nodeType===8?n.parentNode:n),pu(),s}for(;r=n.lastChild;)n.removeChild(r);if(typeof i=="function"){var a=i;i=function(){var d=_y(l);a.call(d)}}var l=wK(n,0,!1,null,null,!1,!1,"",Oc1);return n._reactRootContainer=l,n[f4]=l.current,DV(n.nodeType===8?n.parentNode:n),pu(function(){Ny(e,l,t,i)}),l}function Py(n,e,t,i,r){var o=t._reactRootContainer;if(o){var s=o;if(typeof r=="function"){var a=r;r=function(){var l=_y(s);a.call(l)}}Ny(e,s,n,r)}else s=OO1(t,e,n,r,i);return _y(s)}d41=function(n){switch(n.tag){case 3:var e=n.stateNode;if(e.current.memoizedState.isDehydrated){var t=CV(e.pendingLanes);t!==0&&(Yq(e,t|1),V5(e,Po()),!(wn&6)&&(tm=Po()+500,h9()))}break;case 13:pu(function(){var i=g4(n,1);if(i!==null){var r=Oa();t3(i,n,1,r)}}),yK(n,1)}};Qq=function(n){if(n.tag===13){var e=g4(n,134217728);if(e!==null){var t=Oa();t3(e,n,134217728,t)}yK(n,134217728)}};c41=function(n){if(n.tag===13){var e=s9(n),t=g4(n,e);if(t!==null){var i=Oa();t3(t,n,e,i)}yK(n,e)}};u41=function(){return nr};h41=function(n,e){var t=nr;try{return nr=n,e()}finally{nr=t}};dq=function(n,e,t){switch(e){case"input":if(iq(n,t),e=t.name,t.type==="radio"&&e!=null){for(t=n;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<t.length;e++){var i=t[e];if(i!==n&&i.form===n.form){var r=wy(i);if(!r)throw Error(ge(90));Wc1(i),iq(i,r)}}}break;case"textarea":jc1(n,t);break;case"select":e=t.value,e!=null&&Wp(n,!!t.multiple,e,!1)}};Xc1=xK;Jc1=pu;var RO1={usingClientEntryPoint:!1,Events:[WV,Op,wy,Yc1,Qc1,xK]},dV={findFiberByHostInstance:ou,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},PO1={bundleType:dV.bundleType,version:dV.version,rendererPackageName:dV.rendererPackageName,rendererConfig:dV.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:H4.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=i41(n),n===null?null:n.stateNode},findFiberByHostInstance:dV.findFiberByHostInstance||NO1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(cV=__REACT_DEVTOOLS_GLOBAL_HOOK__,!cV.isDisabled&&cV.supportsFiber))try{xy=cV.inject(PO1),_d=cV}catch{}var cV;d0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=RO1;d0.createPortal=function(n,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!EK(e))throw Error(ge(200));return TO1(n,e,null,t)};d0.createRoot=function(n,e){if(!EK(n))throw Error(ge(299));var t=!1,i="",r=N71;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onRecoverableError!==void 0&&(r=e.onRecoverableError)),e=wK(n,1,!1,null,null,t,!1,i,r),n[f4]=e.current,DV(n.nodeType===8?n.parentNode:n),new kK(e)};d0.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var e=n._reactInternals;if(e===void 0)throw typeof n.render=="function"?Error(ge(188)):(n=Object.keys(n).join(","),Error(ge(268,n)));return n=i41(e),n=n===null?null:n.stateNode,n};d0.flushSync=function(n){return pu(n)};d0.hydrate=function(n,e,t){if(!Ry(e))throw Error(ge(200));return Py(null,n,e,!0,t)};d0.hydrateRoot=function(n,e,t){if(!EK(n))throw Error(ge(405));var i=t!=null&&t.hydratedSources||null,r=!1,o="",s=N71;if(t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),e=T71(e,null,n,1,t??null,r,!1,o,s),n[f4]=e.current,DV(n),i)for(n=0;n<i.length;n++)t=i[n],r=t._getVersion,r=r(t._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,r]:e.mutableSourceEagerHydrationData.push(t,r);return new Oy(e)};d0.render=function(n,e,t){if(!Ry(e))throw Error(ge(200));return Py(null,n,e,!1,t)};d0.unmountComponentAtNode=function(n){if(!Ry(n))throw Error(ge(40));return n._reactRootContainer?(pu(function(){Py(null,null,n,!1,function(){n._reactRootContainer=null,n[f4]=null})}),!0):!1};d0.unstable_batchedUpdates=xK;d0.unstable_renderSubtreeIntoContainer=function(n,e,t,i){if(!Ry(t))throw Error(ge(200));if(n==null||n._reactInternals===void 0)throw Error(ge(38));return Py(n,e,t,!1,i)};d0.version="18.2.0-next-9e3b772b8-20220608"});var jV=kt((foe,P71)=>{"use strict";function R71(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R71)}catch(n){console.error(n)}}R71(),P71.exports=O71()});var B71=kt(DK=>{"use strict";var F71=jV();DK.createRoot=F71.createRoot,DK.hydrateRoot=F71.hydrateRoot;var goe});var C9=kt((Hoe,Fy)=>{(function(){"use strict";var n={}.hasOwnProperty,e="[native code]";function t(){for(var i=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var s=typeof o;if(s==="string"||s==="number")i.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&i.push(a)}}else if(s==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){i.push(o.toString());continue}for(var l in o)n.call(o,l)&&o[l]&&i.push(l)}}}return i.join(" ")}typeof Fy<"u"&&Fy.exports?(t.default=t,Fy.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var Z71=kt(()=>{});var on=kt((By,z71)=>{(function(n,e){typeof By=="object"?z71.exports=By=e():typeof define=="function"&&define.amd?define([],e):n.CryptoJS=e()})(By,function(){var n=n||function(e,t){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global<"u"&&global.crypto&&(i=global.crypto),!i&&typeof sd1=="function")try{i=Z71()}catch{}var r=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function g(){}return function(L){var V;return g.prototype=L,V=new g,g.prototype=null,V}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(g){var L=o(this);return g&&L.mixIn(g),(!L.hasOwnProperty("init")||this.init===L.init)&&(L.init=function(){L.$super.init.apply(this,arguments)}),L.init.prototype=L,L.$super=this,L},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var L in g)g.hasOwnProperty(L)&&(this[L]=g[L]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=a.WordArray=l.extend({init:function(g,L){g=this.words=g||[],L!=t?this.sigBytes=L:this.sigBytes=g.length*4},toString:function(g){return(g||u).stringify(this)},concat:function(g){var L=this.words,V=g.words,_=this.sigBytes,b=g.sigBytes;if(this.clamp(),_%4)for(var M=0;M<b;M++){var A=V[M>>>2]>>>24-M%4*8&255;L[_+M>>>2]|=A<<24-(_+M)%4*8}else for(var S=0;S<b;S+=4)L[_+S>>>2]=V[S>>>2];return this.sigBytes+=b,this},clamp:function(){var g=this.words,L=this.sigBytes;g[L>>>2]&=4294967295<<32-L%4*8,g.length=e.ceil(L/4)},clone:function(){var g=l.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var L=[],V=0;V<g;V+=4)L.push(r());return new d.init(L,g)}}),c=s.enc={},u=c.Hex={stringify:function(g){for(var L=g.words,V=g.sigBytes,_=[],b=0;b<V;b++){var M=L[b>>>2]>>>24-b%4*8&255;_.push((M>>>4).toString(16)),_.push((M&15).toString(16))}return _.join("")},parse:function(g){for(var L=g.length,V=[],_=0;_<L;_+=2)V[_>>>3]|=parseInt(g.substr(_,2),16)<<24-_%8*4;return new d.init(V,L/2)}},h=c.Latin1={stringify:function(g){for(var L=g.words,V=g.sigBytes,_=[],b=0;b<V;b++){var M=L[b>>>2]>>>24-b%4*8&255;_.push(String.fromCharCode(M))}return _.join("")},parse:function(g){for(var L=g.length,V=[],_=0;_<L;_++)V[_>>>2]|=(g.charCodeAt(_)&255)<<24-_%4*8;return new d.init(V,L)}},C=c.Utf8={stringify:function(g){try{return decodeURIComponent(escape(h.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return h.parse(unescape(encodeURIComponent(g)))}},p=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=C.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var L,V=this._data,_=V.words,b=V.sigBytes,M=this.blockSize,A=M*4,S=b/A;g?S=e.ceil(S):S=e.max((S|0)-this._minBufferSize,0);var I=S*M,P=e.min(I*4,b);if(I){for(var T=0;T<I;T+=M)this._doProcessBlock(_,T);L=_.splice(0,I),V.sigBytes-=P}return new d.init(L,P)},clone:function(){var g=l.clone.call(this);return g._data=this._data.clone(),g},_minBufferSize:0}),m=a.Hasher=p.extend({cfg:l.extend(),init:function(g){this.cfg=this.cfg.extend(g),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(g){return this._append(g),this._process(),this},finalize:function(g){g&&this._append(g);var L=this._doFinalize();return L},blockSize:512/32,_createHelper:function(g){return function(L,V){return new g.init(V).finalize(L)}},_createHmacHelper:function(g){return function(L,V){return new H.HMAC.init(g,V).finalize(L)}}}),H=s.algo={};return s}(Math);return n})});var $V=kt((Zy,W71)=>{(function(n,e){typeof Zy=="object"?W71.exports=Zy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Zy,function(n){return function(e){var t=n,i=t.lib,r=i.Base,o=i.WordArray,s=t.x64={},a=s.Word=r.extend({init:function(d,c){this.high=d,this.low=c}}),l=s.WordArray=r.extend({init:function(d,c){d=this.words=d||[],c!=e?this.sigBytes=c:this.sigBytes=d.length*8},toX32:function(){for(var d=this.words,c=d.length,u=[],h=0;h<c;h++){var C=d[h];u.push(C.high),u.push(C.low)}return o.create(u,this.sigBytes)},clone:function(){for(var d=r.clone.call(this),c=d.words=this.words.slice(0),u=c.length,h=0;h<u;h++)c[h]=c[h].clone();return d}})}(),n})});var j71=kt((zy,U71)=>{(function(n,e){typeof zy=="object"?U71.exports=zy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(zy,function(n){return function(){if(typeof ArrayBuffer=="function"){var e=n,t=e.lib,i=t.WordArray,r=i.init,o=i.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var a=s.byteLength,l=[],d=0;d<a;d++)l[d>>>2]|=s[d]<<24-d%4*8;r.call(this,l,a)}else r.apply(this,arguments)};o.prototype=i}}(),n.lib.WordArray})});var q71=kt((Wy,$71)=>{(function(n,e){typeof Wy=="object"?$71.exports=Wy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Wy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.enc,o=r.Utf16=r.Utf16BE={stringify:function(a){for(var l=a.words,d=a.sigBytes,c=[],u=0;u<d;u+=2){var h=l[u>>>2]>>>16-u%4*8&65535;c.push(String.fromCharCode(h))}return c.join("")},parse:function(a){for(var l=a.length,d=[],c=0;c<l;c++)d[c>>>1]|=a.charCodeAt(c)<<16-c%2*16;return i.create(d,l*2)}};r.Utf16LE={stringify:function(a){for(var l=a.words,d=a.sigBytes,c=[],u=0;u<d;u+=2){var h=s(l[u>>>2]>>>16-u%4*8&65535);c.push(String.fromCharCode(h))}return c.join("")},parse:function(a){for(var l=a.length,d=[],c=0;c<l;c++)d[c>>>1]|=s(a.charCodeAt(c)<<16-c%2*16);return i.create(d,l*2)}};function s(a){return a<<8&4278255360|a>>>8&16711935}}(),n.enc.Utf16})});var gu=kt((Uy,K71)=>{(function(n,e){typeof Uy=="object"?K71.exports=Uy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Uy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.enc,o=r.Base64={stringify:function(a){var l=a.words,d=a.sigBytes,c=this._map;a.clamp();for(var u=[],h=0;h<d;h+=3)for(var C=l[h>>>2]>>>24-h%4*8&255,p=l[h+1>>>2]>>>24-(h+1)%4*8&255,m=l[h+2>>>2]>>>24-(h+2)%4*8&255,H=C<<16|p<<8|m,g=0;g<4&&h+g*.75<d;g++)u.push(c.charAt(H>>>6*(3-g)&63));var L=c.charAt(64);if(L)for(;u.length%4;)u.push(L);return u.join("")},parse:function(a){var l=a.length,d=this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var u=0;u<d.length;u++)c[d.charCodeAt(u)]=u}var h=d.charAt(64);if(h){var C=a.indexOf(h);C!==-1&&(l=C)}return s(a,l,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(a,l,d){for(var c=[],u=0,h=0;h<l;h++)if(h%4){var C=d[a.charCodeAt(h-1)]<<h%4*2,p=d[a.charCodeAt(h)]>>>6-h%4*2,m=C|p;c[u>>>2]|=m<<24-u%4*8,u++}return i.create(c,u)}}(),n.enc.Base64})});var Y71=kt((jy,G71)=>{(function(n,e){typeof jy=="object"?G71.exports=jy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(jy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.enc,o=r.Base64url={stringify:function(a,l=!0){var d=a.words,c=a.sigBytes,u=l?this._safe_map:this._map;a.clamp();for(var h=[],C=0;C<c;C+=3)for(var p=d[C>>>2]>>>24-C%4*8&255,m=d[C+1>>>2]>>>24-(C+1)%4*8&255,H=d[C+2>>>2]>>>24-(C+2)%4*8&255,g=p<<16|m<<8|H,L=0;L<4&&C+L*.75<c;L++)h.push(u.charAt(g>>>6*(3-L)&63));var V=u.charAt(64);if(V)for(;h.length%4;)h.push(V);return h.join("")},parse:function(a,l=!0){var d=a.length,c=l?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var h=0;h<c.length;h++)u[c.charCodeAt(h)]=h}var C=c.charAt(64);if(C){var p=a.indexOf(C);p!==-1&&(d=p)}return s(a,d,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(a,l,d){for(var c=[],u=0,h=0;h<l;h++)if(h%4){var C=d[a.charCodeAt(h-1)]<<h%4*2,p=d[a.charCodeAt(h)]>>>6-h%4*2,m=C|p;c[u>>>2]|=m<<24-u%4*8,u++}return i.create(c,u)}}(),n.enc.Base64url})});var Lu=kt(($y,Q71)=>{(function(n,e){typeof $y=="object"?Q71.exports=$y=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})($y,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.algo,a=[];(function(){for(var C=0;C<64;C++)a[C]=e.abs(e.sin(C+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(C,p){for(var m=0;m<16;m++){var H=p+m,g=C[H];C[H]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var L=this._hash.words,V=C[p+0],_=C[p+1],b=C[p+2],M=C[p+3],A=C[p+4],S=C[p+5],I=C[p+6],P=C[p+7],T=C[p+8],R=C[p+9],B=C[p+10],G=C[p+11],e1=C[p+12],Q=C[p+13],X=C[p+14],d1=C[p+15],Y=L[0],h1=L[1],s1=L[2],t1=L[3];Y=d(Y,h1,s1,t1,V,7,a[0]),t1=d(t1,Y,h1,s1,_,12,a[1]),s1=d(s1,t1,Y,h1,b,17,a[2]),h1=d(h1,s1,t1,Y,M,22,a[3]),Y=d(Y,h1,s1,t1,A,7,a[4]),t1=d(t1,Y,h1,s1,S,12,a[5]),s1=d(s1,t1,Y,h1,I,17,a[6]),h1=d(h1,s1,t1,Y,P,22,a[7]),Y=d(Y,h1,s1,t1,T,7,a[8]),t1=d(t1,Y,h1,s1,R,12,a[9]),s1=d(s1,t1,Y,h1,B,17,a[10]),h1=d(h1,s1,t1,Y,G,22,a[11]),Y=d(Y,h1,s1,t1,e1,7,a[12]),t1=d(t1,Y,h1,s1,Q,12,a[13]),s1=d(s1,t1,Y,h1,X,17,a[14]),h1=d(h1,s1,t1,Y,d1,22,a[15]),Y=c(Y,h1,s1,t1,_,5,a[16]),t1=c(t1,Y,h1,s1,I,9,a[17]),s1=c(s1,t1,Y,h1,G,14,a[18]),h1=c(h1,s1,t1,Y,V,20,a[19]),Y=c(Y,h1,s1,t1,S,5,a[20]),t1=c(t1,Y,h1,s1,B,9,a[21]),s1=c(s1,t1,Y,h1,d1,14,a[22]),h1=c(h1,s1,t1,Y,A,20,a[23]),Y=c(Y,h1,s1,t1,R,5,a[24]),t1=c(t1,Y,h1,s1,X,9,a[25]),s1=c(s1,t1,Y,h1,M,14,a[26]),h1=c(h1,s1,t1,Y,T,20,a[27]),Y=c(Y,h1,s1,t1,Q,5,a[28]),t1=c(t1,Y,h1,s1,b,9,a[29]),s1=c(s1,t1,Y,h1,P,14,a[30]),h1=c(h1,s1,t1,Y,e1,20,a[31]),Y=u(Y,h1,s1,t1,S,4,a[32]),t1=u(t1,Y,h1,s1,T,11,a[33]),s1=u(s1,t1,Y,h1,G,16,a[34]),h1=u(h1,s1,t1,Y,X,23,a[35]),Y=u(Y,h1,s1,t1,_,4,a[36]),t1=u(t1,Y,h1,s1,A,11,a[37]),s1=u(s1,t1,Y,h1,P,16,a[38]),h1=u(h1,s1,t1,Y,B,23,a[39]),Y=u(Y,h1,s1,t1,Q,4,a[40]),t1=u(t1,Y,h1,s1,V,11,a[41]),s1=u(s1,t1,Y,h1,M,16,a[42]),h1=u(h1,s1,t1,Y,I,23,a[43]),Y=u(Y,h1,s1,t1,R,4,a[44]),t1=u(t1,Y,h1,s1,e1,11,a[45]),s1=u(s1,t1,Y,h1,d1,16,a[46]),h1=u(h1,s1,t1,Y,b,23,a[47]),Y=h(Y,h1,s1,t1,V,6,a[48]),t1=h(t1,Y,h1,s1,P,10,a[49]),s1=h(s1,t1,Y,h1,X,15,a[50]),h1=h(h1,s1,t1,Y,S,21,a[51]),Y=h(Y,h1,s1,t1,e1,6,a[52]),t1=h(t1,Y,h1,s1,M,10,a[53]),s1=h(s1,t1,Y,h1,B,15,a[54]),h1=h(h1,s1,t1,Y,_,21,a[55]),Y=h(Y,h1,s1,t1,T,6,a[56]),t1=h(t1,Y,h1,s1,d1,10,a[57]),s1=h(s1,t1,Y,h1,I,15,a[58]),h1=h(h1,s1,t1,Y,Q,21,a[59]),Y=h(Y,h1,s1,t1,A,6,a[60]),t1=h(t1,Y,h1,s1,G,10,a[61]),s1=h(s1,t1,Y,h1,b,15,a[62]),h1=h(h1,s1,t1,Y,R,21,a[63]),L[0]=L[0]+Y|0,L[1]=L[1]+h1|0,L[2]=L[2]+s1|0,L[3]=L[3]+t1|0},_doFinalize:function(){var C=this._data,p=C.words,m=this._nDataBytes*8,H=C.sigBytes*8;p[H>>>5]|=128<<24-H%32;var g=e.floor(m/4294967296),L=m;p[(H+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,p[(H+64>>>9<<4)+14]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,C.sigBytes=(p.length+1)*4,this._process();for(var V=this._hash,_=V.words,b=0;b<4;b++){var M=_[b];_[b]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return V},clone:function(){var C=o.clone.call(this);return C._hash=this._hash.clone(),C}});function d(C,p,m,H,g,L,V){var _=C+(p&m|~p&H)+g+V;return(_<<L|_>>>32-L)+p}function c(C,p,m,H,g,L,V){var _=C+(p&H|m&~H)+g+V;return(_<<L|_>>>32-L)+p}function u(C,p,m,H,g,L,V){var _=C+(p^m^H)+g+V;return(_<<L|_>>>32-L)+p}function h(C,p,m,H,g,L,V){var _=C+(m^(p|~H))+g+V;return(_<<L|_>>>32-L)+p}t.MD5=o._createHelper(l),t.HmacMD5=o._createHmacHelper(l)}(Math),n.MD5})});var Ky=kt((qy,X71)=>{(function(n,e){typeof qy=="object"?X71.exports=qy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(qy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=t.Hasher,o=e.algo,s=[],a=o.SHA1=r.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,d){for(var c=this._hash.words,u=c[0],h=c[1],C=c[2],p=c[3],m=c[4],H=0;H<80;H++){if(H<16)s[H]=l[d+H]|0;else{var g=s[H-3]^s[H-8]^s[H-14]^s[H-16];s[H]=g<<1|g>>>31}var L=(u<<5|u>>>27)+m+s[H];H<20?L+=(h&C|~h&p)+1518500249:H<40?L+=(h^C^p)+1859775393:H<60?L+=(h&C|h&p|C&p)-1894007588:L+=(h^C^p)-899497514,m=p,p=C,C=h<<30|h>>>2,h=u,u=L}c[0]=c[0]+u|0,c[1]=c[1]+h|0,c[2]=c[2]+C|0,c[3]=c[3]+p|0,c[4]=c[4]+m|0},_doFinalize:function(){var l=this._data,d=l.words,c=this._nDataBytes*8,u=l.sigBytes*8;return d[u>>>5]|=128<<24-u%32,d[(u+64>>>9<<4)+14]=Math.floor(c/4294967296),d[(u+64>>>9<<4)+15]=c,l.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var l=r.clone.call(this);return l._hash=this._hash.clone(),l}});e.SHA1=r._createHelper(a),e.HmacSHA1=r._createHmacHelper(a)}(),n.SHA1})});var IK=kt((Gy,J71)=>{(function(n,e){typeof Gy=="object"?J71.exports=Gy=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(Gy,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.algo,a=[],l=[];(function(){function u(m){for(var H=e.sqrt(m),g=2;g<=H;g++)if(!(m%g))return!1;return!0}function h(m){return(m-(m|0))*4294967296|0}for(var C=2,p=0;p<64;)u(C)&&(p<8&&(a[p]=h(e.pow(C,1/2))),l[p]=h(e.pow(C,1/3)),p++),C++})();var d=[],c=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(u,h){for(var C=this._hash.words,p=C[0],m=C[1],H=C[2],g=C[3],L=C[4],V=C[5],_=C[6],b=C[7],M=0;M<64;M++){if(M<16)d[M]=u[h+M]|0;else{var A=d[M-15],S=(A<<25|A>>>7)^(A<<14|A>>>18)^A>>>3,I=d[M-2],P=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;d[M]=S+d[M-7]+P+d[M-16]}var T=L&V^~L&_,R=p&m^p&H^m&H,B=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),G=(L<<26|L>>>6)^(L<<21|L>>>11)^(L<<7|L>>>25),e1=b+G+T+l[M]+d[M],Q=B+R;b=_,_=V,V=L,L=g+e1|0,g=H,H=m,m=p,p=e1+Q|0}C[0]=C[0]+p|0,C[1]=C[1]+m|0,C[2]=C[2]+H|0,C[3]=C[3]+g|0,C[4]=C[4]+L|0,C[5]=C[5]+V|0,C[6]=C[6]+_|0,C[7]=C[7]+b|0},_doFinalize:function(){var u=this._data,h=u.words,C=this._nDataBytes*8,p=u.sigBytes*8;return h[p>>>5]|=128<<24-p%32,h[(p+64>>>9<<4)+14]=e.floor(C/4294967296),h[(p+64>>>9<<4)+15]=C,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=o.clone.call(this);return u._hash=this._hash.clone(),u}});t.SHA256=o._createHelper(c),t.HmacSHA256=o._createHmacHelper(c)}(Math),n.SHA256})});var t91=kt((Yy,e91)=>{(function(n,e,t){typeof Yy=="object"?e91.exports=Yy=e(on(),IK()):typeof define=="function"&&define.amd?define(["./core","./sha256"],e):e(n.CryptoJS)})(Yy,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=e.algo,o=r.SHA256,s=r.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var a=o._doFinalize.call(this);return a.sigBytes-=4,a}});e.SHA224=o._createHelper(s),e.HmacSHA224=o._createHmacHelper(s)}(),n.SHA224})});var TK=kt((Qy,i91)=>{(function(n,e,t){typeof Qy=="object"?i91.exports=Qy=e(on(),$V()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(n.CryptoJS)})(Qy,function(n){return function(){var e=n,t=e.lib,i=t.Hasher,r=e.x64,o=r.Word,s=r.WordArray,a=e.algo;function l(){return o.create.apply(o,arguments)}var d=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],c=[];(function(){for(var h=0;h<80;h++)c[h]=l()})();var u=a.SHA512=i.extend({_doReset:function(){this._hash=new s.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(h,C){for(var p=this._hash.words,m=p[0],H=p[1],g=p[2],L=p[3],V=p[4],_=p[5],b=p[6],M=p[7],A=m.high,S=m.low,I=H.high,P=H.low,T=g.high,R=g.low,B=L.high,G=L.low,e1=V.high,Q=V.low,X=_.high,d1=_.low,Y=b.high,h1=b.low,s1=M.high,t1=M.low,x1=A,ve=S,Vt=I,ke=P,$e=T,Ci=R,rn=B,mn=G,fe=e1,qi=Q,Dr=X,jr=d1,Rt=Y,gr=h1,vo=s1,Mi=t1,hr=0;hr<80;hr++){var b1,f1,C1=c[hr];if(hr<16)f1=C1.high=h[C+hr*2]|0,b1=C1.low=h[C+hr*2+1]|0;else{var q=c[hr-15],W=q.high,o1=q.low,n1=(W>>>1|o1<<31)^(W>>>8|o1<<24)^W>>>7,w1=(o1>>>1|W<<31)^(o1>>>8|W<<24)^(o1>>>7|W<<25),ee=c[hr-2],ue=ee.high,Ve=ee.low,it=(ue>>>19|Ve<<13)^(ue<<3|Ve>>>29)^ue>>>6,Oe=(Ve>>>19|ue<<13)^(Ve<<3|ue>>>29)^(Ve>>>6|ue<<26),$t=c[hr-7],qt=$t.high,Fe=$t.low,vi=c[hr-16],Ki=vi.high,no=vi.low;b1=w1+Fe,f1=n1+qt+(b1>>>0<w1>>>0?1:0),b1=b1+Oe,f1=f1+it+(b1>>>0<Oe>>>0?1:0),b1=b1+no,f1=f1+Ki+(b1>>>0<no>>>0?1:0),C1.high=f1,C1.low=b1}var Kt=fe&Dr^~fe&Rt,Pi=qi&jr^~qi&gr,y2=x1&Vt^x1&$e^Vt&$e,Ea=ve&ke^ve&Ci^ke&Ci,ro=(x1>>>28|ve<<4)^(x1<<30|ve>>>2)^(x1<<25|ve>>>7),On=(ve>>>28|x1<<4)^(ve<<30|x1>>>2)^(ve<<25|x1>>>7),tr=(fe>>>14|qi<<18)^(fe>>>18|qi<<14)^(fe<<23|qi>>>9),na=(qi>>>14|fe<<18)^(qi>>>18|fe<<14)^(qi<<23|fe>>>9),C5=d[hr],n2=C5.high,J0=C5.low,fn=Mi+na,Ir=vo+tr+(fn>>>0<Mi>>>0?1:0),fn=fn+Pi,Ir=Ir+Kt+(fn>>>0<Pi>>>0?1:0),fn=fn+J0,Ir=Ir+n2+(fn>>>0<J0>>>0?1:0),fn=fn+b1,Ir=Ir+f1+(fn>>>0<b1>>>0?1:0),ra=On+Ea,Da=ro+y2+(ra>>>0<On>>>0?1:0);vo=Rt,Mi=gr,Rt=Dr,gr=jr,Dr=fe,jr=qi,qi=mn+fn|0,fe=rn+Ir+(qi>>>0<mn>>>0?1:0)|0,rn=$e,mn=Ci,$e=Vt,Ci=ke,Vt=x1,ke=ve,ve=fn+ra|0,x1=Ir+Da+(ve>>>0<fn>>>0?1:0)|0}S=m.low=S+ve,m.high=A+x1+(S>>>0<ve>>>0?1:0),P=H.low=P+ke,H.high=I+Vt+(P>>>0<ke>>>0?1:0),R=g.low=R+Ci,g.high=T+$e+(R>>>0<Ci>>>0?1:0),G=L.low=G+mn,L.high=B+rn+(G>>>0<mn>>>0?1:0),Q=V.low=Q+qi,V.high=e1+fe+(Q>>>0<qi>>>0?1:0),d1=_.low=d1+jr,_.high=X+Dr+(d1>>>0<jr>>>0?1:0),h1=b.low=h1+gr,b.high=Y+Rt+(h1>>>0<gr>>>0?1:0),t1=M.low=t1+Mi,M.high=s1+vo+(t1>>>0<Mi>>>0?1:0)},_doFinalize:function(){var h=this._data,C=h.words,p=this._nDataBytes*8,m=h.sigBytes*8;C[m>>>5]|=128<<24-m%32,C[(m+128>>>10<<5)+30]=Math.floor(p/4294967296),C[(m+128>>>10<<5)+31]=p,h.sigBytes=C.length*4,this._process();var H=this._hash.toX32();return H},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});e.SHA512=i._createHelper(u),e.HmacSHA512=i._createHmacHelper(u)}(),n.SHA512})});var r91=kt((Xy,n91)=>{(function(n,e,t){typeof Xy=="object"?n91.exports=Xy=e(on(),$V(),TK()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],e):e(n.CryptoJS)})(Xy,function(n){return function(){var e=n,t=e.x64,i=t.Word,r=t.WordArray,o=e.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var l=s._doFinalize.call(this);return l.sigBytes-=16,l}});e.SHA384=s._createHelper(a),e.HmacSHA384=s._createHmacHelper(a)}(),n.SHA384})});var s91=kt((Jy,o91)=>{(function(n,e,t){typeof Jy=="object"?o91.exports=Jy=e(on(),$V()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],e):e(n.CryptoJS)})(Jy,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.x64,a=s.Word,l=t.algo,d=[],c=[],u=[];(function(){for(var p=1,m=0,H=0;H<24;H++){d[p+5*m]=(H+1)*(H+2)/2%64;var g=m%5,L=(2*p+3*m)%5;p=g,m=L}for(var p=0;p<5;p++)for(var m=0;m<5;m++)c[p+5*m]=m+(2*p+3*m)%5*5;for(var V=1,_=0;_<24;_++){for(var b=0,M=0,A=0;A<7;A++){if(V&1){var S=(1<<A)-1;S<32?M^=1<<S:b^=1<<S-32}V&128?V=V<<1^113:V<<=1}u[_]=a.create(b,M)}})();var h=[];(function(){for(var p=0;p<25;p++)h[p]=a.create()})();var C=l.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var p=this._state=[],m=0;m<25;m++)p[m]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(p,m){for(var H=this._state,g=this.blockSize/2,L=0;L<g;L++){var V=p[m+2*L],_=p[m+2*L+1];V=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var b=H[L];b.high^=_,b.low^=V}for(var M=0;M<24;M++){for(var A=0;A<5;A++){for(var S=0,I=0,P=0;P<5;P++){var b=H[A+5*P];S^=b.high,I^=b.low}var T=h[A];T.high=S,T.low=I}for(var A=0;A<5;A++)for(var R=h[(A+4)%5],B=h[(A+1)%5],G=B.high,e1=B.low,S=R.high^(G<<1|e1>>>31),I=R.low^(e1<<1|G>>>31),P=0;P<5;P++){var b=H[A+5*P];b.high^=S,b.low^=I}for(var Q=1;Q<25;Q++){var S,I,b=H[Q],X=b.high,d1=b.low,Y=d[Q];Y<32?(S=X<<Y|d1>>>32-Y,I=d1<<Y|X>>>32-Y):(S=d1<<Y-32|X>>>64-Y,I=X<<Y-32|d1>>>64-Y);var h1=h[c[Q]];h1.high=S,h1.low=I}var s1=h[0],t1=H[0];s1.high=t1.high,s1.low=t1.low;for(var A=0;A<5;A++)for(var P=0;P<5;P++){var Q=A+5*P,b=H[Q],x1=h[Q],ve=h[(A+1)%5+5*P],Vt=h[(A+2)%5+5*P];b.high=x1.high^~ve.high&Vt.high,b.low=x1.low^~ve.low&Vt.low}var b=H[0],ke=u[M];b.high^=ke.high,b.low^=ke.low}},_doFinalize:function(){var p=this._data,m=p.words,H=this._nDataBytes*8,g=p.sigBytes*8,L=this.blockSize*32;m[g>>>5]|=1<<24-g%32,m[(e.ceil((g+1)/L)*L>>>5)-1]|=128,p.sigBytes=m.length*4,this._process();for(var V=this._state,_=this.cfg.outputLength/8,b=_/8,M=[],A=0;A<b;A++){var S=V[A],I=S.high,P=S.low;I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,M.push(P),M.push(I)}return new r.init(M,_)},clone:function(){for(var p=o.clone.call(this),m=p._state=this._state.slice(0),H=0;H<25;H++)m[H]=m[H].clone();return p}});t.SHA3=o._createHelper(C),t.HmacSHA3=o._createHmacHelper(C)}(Math),n.SHA3})});var l91=kt((ek,a91)=>{(function(n,e){typeof ek=="object"?a91.exports=ek=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(ek,function(n){return function(e){var t=n,i=t.lib,r=i.WordArray,o=i.Hasher,s=t.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),d=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),C=s.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,b){for(var M=0;M<16;M++){var A=b+M,S=_[A];_[A]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var I=this._hash.words,P=u.words,T=h.words,R=a.words,B=l.words,G=d.words,e1=c.words,Q,X,d1,Y,h1,s1,t1,x1,ve,Vt;s1=Q=I[0],t1=X=I[1],x1=d1=I[2],ve=Y=I[3],Vt=h1=I[4];for(var ke,M=0;M<80;M+=1)ke=Q+_[b+R[M]]|0,M<16?ke+=p(X,d1,Y)+P[0]:M<32?ke+=m(X,d1,Y)+P[1]:M<48?ke+=H(X,d1,Y)+P[2]:M<64?ke+=g(X,d1,Y)+P[3]:ke+=L(X,d1,Y)+P[4],ke=ke|0,ke=V(ke,G[M]),ke=ke+h1|0,Q=h1,h1=Y,Y=V(d1,10),d1=X,X=ke,ke=s1+_[b+B[M]]|0,M<16?ke+=L(t1,x1,ve)+T[0]:M<32?ke+=g(t1,x1,ve)+T[1]:M<48?ke+=H(t1,x1,ve)+T[2]:M<64?ke+=m(t1,x1,ve)+T[3]:ke+=p(t1,x1,ve)+T[4],ke=ke|0,ke=V(ke,e1[M]),ke=ke+Vt|0,s1=Vt,Vt=ve,ve=V(x1,10),x1=t1,t1=ke;ke=I[1]+d1+ve|0,I[1]=I[2]+Y+Vt|0,I[2]=I[3]+h1+s1|0,I[3]=I[4]+Q+t1|0,I[4]=I[0]+X+x1|0,I[0]=ke},_doFinalize:function(){var _=this._data,b=_.words,M=this._nDataBytes*8,A=_.sigBytes*8;b[A>>>5]|=128<<24-A%32,b[(A+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,_.sigBytes=(b.length+1)*4,this._process();for(var S=this._hash,I=S.words,P=0;P<5;P++){var T=I[P];I[P]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return S},clone:function(){var _=o.clone.call(this);return _._hash=this._hash.clone(),_}});function p(_,b,M){return _^b^M}function m(_,b,M){return _&b|~_&M}function H(_,b,M){return(_|~b)^M}function g(_,b,M){return _&M|b&~M}function L(_,b,M){return _^(b|~M)}function V(_,b){return _<<b|_>>>32-b}t.RIPEMD160=o._createHelper(C),t.HmacRIPEMD160=o._createHmacHelper(C)}(Math),n.RIPEMD160})});var ik=kt((tk,d91)=>{(function(n,e){typeof tk=="object"?d91.exports=tk=e(on()):typeof define=="function"&&define.amd?define(["./core"],e):e(n.CryptoJS)})(tk,function(n){(function(){var e=n,t=e.lib,i=t.Base,r=e.enc,o=r.Utf8,s=e.algo,a=s.HMAC=i.extend({init:function(l,d){l=this._hasher=new l.init,typeof d=="string"&&(d=o.parse(d));var c=l.blockSize,u=c*4;d.sigBytes>u&&(d=l.finalize(d)),d.clamp();for(var h=this._oKey=d.clone(),C=this._iKey=d.clone(),p=h.words,m=C.words,H=0;H<c;H++)p[H]^=1549556828,m[H]^=909522486;h.sigBytes=C.sigBytes=u,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var d=this._hasher,c=d.finalize(l);d.reset();var u=d.finalize(this._oKey.clone().concat(c));return u}})})()})});var u91=kt((nk,c91)=>{(function(n,e,t){typeof nk=="object"?c91.exports=nk=e(on(),Ky(),ik()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(n.CryptoJS)})(nk,function(n){return function(){var e=n,t=e.lib,i=t.Base,r=t.WordArray,o=e.algo,s=o.SHA1,a=o.HMAC,l=o.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:s,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,c){for(var u=this.cfg,h=a.create(u.hasher,d),C=r.create(),p=r.create([1]),m=C.words,H=p.words,g=u.keySize,L=u.iterations;m.length<g;){var V=h.update(c).finalize(p);h.reset();for(var _=V.words,b=_.length,M=V,A=1;A<L;A++){M=h.finalize(M),h.reset();for(var S=M.words,I=0;I<b;I++)_[I]^=S[I]}C.concat(V),H[0]++}return C.sigBytes=g*4,C}});e.PBKDF2=function(d,c,u){return l.create(u).compute(d,c)}}(),n.PBKDF2})});var p9=kt((rk,h91)=>{(function(n,e,t){typeof rk=="object"?h91.exports=rk=e(on(),Ky(),ik()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],e):e(n.CryptoJS)})(rk,function(n){return function(){var e=n,t=e.lib,i=t.Base,r=t.WordArray,o=e.algo,s=o.MD5,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:s,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,d){for(var c,u=this.cfg,h=u.hasher.create(),C=r.create(),p=C.words,m=u.keySize,H=u.iterations;p.length<m;){c&&h.update(c),c=h.update(l).finalize(d),h.reset();for(var g=1;g<H;g++)c=h.finalize(c),h.reset();C.concat(c)}return C.sigBytes=m*4,C}});e.EvpKDF=function(l,d,c){return a.create(c).compute(l,d)}}(),n.EvpKDF})});var os=kt((ok,C91)=>{(function(n,e,t){typeof ok=="object"?C91.exports=ok=e(on(),p9()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],e):e(n.CryptoJS)})(ok,function(n){n.lib.Cipher||function(e){var t=n,i=t.lib,r=i.Base,o=i.WordArray,s=i.BufferedBlockAlgorithm,a=t.enc,l=a.Utf8,d=a.Base64,c=t.algo,u=c.EvpKDF,h=i.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(T,R){return this.create(this._ENC_XFORM_MODE,T,R)},createDecryptor:function(T,R){return this.create(this._DEC_XFORM_MODE,T,R)},init:function(T,R,B){this.cfg=this.cfg.extend(B),this._xformMode=T,this._key=R,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(T){return this._append(T),this._process()},finalize:function(T){T&&this._append(T);var R=this._doFinalize();return R},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function T(R){return typeof R=="string"?P:A}return function(R){return{encrypt:function(B,G,e1){return T(G).encrypt(R,B,G,e1)},decrypt:function(B,G,e1){return T(G).decrypt(R,B,G,e1)}}}}()}),C=i.StreamCipher=h.extend({_doFinalize:function(){var T=this._process(!0);return T},blockSize:1}),p=t.mode={},m=i.BlockCipherMode=r.extend({createEncryptor:function(T,R){return this.Encryptor.create(T,R)},createDecryptor:function(T,R){return this.Decryptor.create(T,R)},init:function(T,R){this._cipher=T,this._iv=R}}),H=p.CBC=function(){var T=m.extend();T.Encryptor=T.extend({processBlock:function(B,G){var e1=this._cipher,Q=e1.blockSize;R.call(this,B,G,Q),e1.encryptBlock(B,G),this._prevBlock=B.slice(G,G+Q)}}),T.Decryptor=T.extend({processBlock:function(B,G){var e1=this._cipher,Q=e1.blockSize,X=B.slice(G,G+Q);e1.decryptBlock(B,G),R.call(this,B,G,Q),this._prevBlock=X}});function R(B,G,e1){var Q,X=this._iv;X?(Q=X,this._iv=e):Q=this._prevBlock;for(var d1=0;d1<e1;d1++)B[G+d1]^=Q[d1]}return T}(),g=t.pad={},L=g.Pkcs7={pad:function(T,R){for(var B=R*4,G=B-T.sigBytes%B,e1=G<<24|G<<16|G<<8|G,Q=[],X=0;X<G;X+=4)Q.push(e1);var d1=o.create(Q,G);T.concat(d1)},unpad:function(T){var R=T.words[T.sigBytes-1>>>2]&255;T.sigBytes-=R}},V=i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:H,padding:L}),reset:function(){var T;h.reset.call(this);var R=this.cfg,B=R.iv,G=R.mode;this._xformMode==this._ENC_XFORM_MODE?T=G.createEncryptor:(T=G.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,B&&B.words):(this._mode=T.call(G,this,B&&B.words),this._mode.__creator=T)},_doProcessBlock:function(T,R){this._mode.processBlock(T,R)},_doFinalize:function(){var T,R=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(R.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),R.unpad(T)),T},blockSize:128/32}),_=i.CipherParams=r.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),b=t.format={},M=b.OpenSSL={stringify:function(T){var R,B=T.ciphertext,G=T.salt;return G?R=o.create([1398893684,1701076831]).concat(G).concat(B):R=B,R.toString(d)},parse:function(T){var R,B=d.parse(T),G=B.words;return G[0]==1398893684&&G[1]==1701076831&&(R=o.create(G.slice(2,4)),G.splice(0,4),B.sigBytes-=16),_.create({ciphertext:B,salt:R})}},A=i.SerializableCipher=r.extend({cfg:r.extend({format:M}),encrypt:function(T,R,B,G){G=this.cfg.extend(G);var e1=T.createEncryptor(B,G),Q=e1.finalize(R),X=e1.cfg;return _.create({ciphertext:Q,key:B,iv:X.iv,algorithm:T,mode:X.mode,padding:X.padding,blockSize:T.blockSize,formatter:G.format})},decrypt:function(T,R,B,G){G=this.cfg.extend(G),R=this._parse(R,G.format);var e1=T.createDecryptor(B,G).finalize(R.ciphertext);return e1},_parse:function(T,R){return typeof T=="string"?R.parse(T,this):T}}),S=t.kdf={},I=S.OpenSSL={execute:function(T,R,B,G){G||(G=o.random(64/8));var e1=u.create({keySize:R+B}).compute(T,G),Q=o.create(e1.words.slice(R),B*4);return e1.sigBytes=R*4,_.create({key:e1,iv:Q,salt:G})}},P=i.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:I}),encrypt:function(T,R,B,G){G=this.cfg.extend(G);var e1=G.kdf.execute(B,T.keySize,T.ivSize);G.iv=e1.iv;var Q=A.encrypt.call(this,T,R,e1.key,G);return Q.mixIn(e1),Q},decrypt:function(T,R,B,G){G=this.cfg.extend(G),R=this._parse(R,G.format);var e1=G.kdf.execute(B,T.keySize,T.ivSize,R.salt);G.iv=e1.iv;var Q=A.decrypt.call(this,T,R,e1.key,G);return Q}})}()})});var m91=kt((sk,p91)=>{(function(n,e,t){typeof sk=="object"?p91.exports=sk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(sk,function(n){return n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();e.Encryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize;t.call(this,i,r,s,o),this._prevBlock=i.slice(r,r+s)}}),e.Decryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize,a=i.slice(r,r+s);t.call(this,i,r,s,o),this._prevBlock=a}});function t(i,r,o,s){var a,l=this._iv;l?(a=l.slice(0),this._iv=void 0):a=this._prevBlock,s.encryptBlock(a,0);for(var d=0;d<o;d++)i[r+d]^=a[d]}return e}(),n.mode.CFB})});var g91=kt((ak,f91)=>{(function(n,e,t){typeof ak=="object"?f91.exports=ak=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(ak,function(n){return n.mode.CTR=function(){var e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize,a=this._iv,l=this._counter;a&&(l=this._counter=a.slice(0),this._iv=void 0);var d=l.slice(0);o.encryptBlock(d,0),l[s-1]=l[s-1]+1|0;for(var c=0;c<s;c++)i[r+c]^=d[c]}});return e.Decryptor=t,e}(),n.mode.CTR})});var H91=kt((lk,L91)=>{(function(n,e,t){typeof lk=="object"?L91.exports=lk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(lk,function(n){return n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(o){if((o>>24&255)===255){var s=o>>16&255,a=o>>8&255,l=o&255;s===255?(s=0,a===255?(a=0,l===255?l=0:++l):++a):++s,o=0,o+=s<<16,o+=a<<8,o+=l}else o+=1<<24;return o}function i(o){return(o[0]=t(o[0]))===0&&(o[1]=t(o[1])),o}var r=e.Encryptor=e.extend({processBlock:function(o,s){var a=this._cipher,l=a.blockSize,d=this._iv,c=this._counter;d&&(c=this._counter=d.slice(0),this._iv=void 0),i(c);var u=c.slice(0);a.encryptBlock(u,0);for(var h=0;h<l;h++)o[s+h]^=u[h]}});return e.Decryptor=r,e}(),n.mode.CTRGladman})});var M91=kt((dk,V91)=>{(function(n,e,t){typeof dk=="object"?V91.exports=dk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(dk,function(n){return n.mode.OFB=function(){var e=n.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(i,r){var o=this._cipher,s=o.blockSize,a=this._iv,l=this._keystream;a&&(l=this._keystream=a.slice(0),this._iv=void 0),o.encryptBlock(l,0);for(var d=0;d<s;d++)i[r+d]^=l[d]}});return e.Decryptor=t,e}(),n.mode.OFB})});var _91=kt((ck,v91)=>{(function(n,e,t){typeof ck=="object"?v91.exports=ck=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(ck,function(n){return n.mode.ECB=function(){var e=n.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(t,i){this._cipher.encryptBlock(t,i)}}),e.Decryptor=e.extend({processBlock:function(t,i){this._cipher.decryptBlock(t,i)}}),e}(),n.mode.ECB})});var b91=kt((uk,x91)=>{(function(n,e,t){typeof uk=="object"?x91.exports=uk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(uk,function(n){return n.pad.AnsiX923={pad:function(e,t){var i=e.sigBytes,r=t*4,o=r-i%r,s=i+o-1;e.clamp(),e.words[s>>>2]|=o<<24-s%4*8,e.sigBytes+=o},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},n.pad.Ansix923})});var S91=kt((hk,A91)=>{(function(n,e,t){typeof hk=="object"?A91.exports=hk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(hk,function(n){return n.pad.Iso10126={pad:function(e,t){var i=t*4,r=i-e.sigBytes%i;e.concat(n.lib.WordArray.random(r-1)).concat(n.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=e.words[e.sigBytes-1>>>2]&255;e.sigBytes-=t}},n.pad.Iso10126})});var y91=kt((Ck,w91)=>{(function(n,e,t){typeof Ck=="object"?w91.exports=Ck=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(Ck,function(n){return n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971})});var E91=kt((pk,k91)=>{(function(n,e,t){typeof pk=="object"?k91.exports=pk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(pk,function(n){return n.pad.ZeroPadding={pad:function(e,t){var i=t*4;e.clamp(),e.sigBytes+=i-(e.sigBytes%i||i)},unpad:function(e){for(var t=e.words,i=e.sigBytes-1,i=e.sigBytes-1;i>=0;i--)if(t[i>>>2]>>>24-i%4*8&255){e.sigBytes=i+1;break}}},n.pad.ZeroPadding})});var I91=kt((mk,D91)=>{(function(n,e,t){typeof mk=="object"?D91.exports=mk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(mk,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})});var N91=kt((fk,T91)=>{(function(n,e,t){typeof fk=="object"?T91.exports=fk=e(on(),os()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],e):e(n.CryptoJS)})(fk,function(n){return function(e){var t=n,i=t.lib,r=i.CipherParams,o=t.enc,s=o.Hex,a=t.format,l=a.Hex={stringify:function(d){return d.ciphertext.toString(s)},parse:function(d){var c=s.parse(d);return r.create({ciphertext:c})}}}(),n.format.Hex})});var R91=kt((gk,O91)=>{(function(n,e,t){typeof gk=="object"?O91.exports=gk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(gk,function(n){return function(){var e=n,t=e.lib,i=t.BlockCipher,r=e.algo,o=[],s=[],a=[],l=[],d=[],c=[],u=[],h=[],C=[],p=[];(function(){for(var g=[],L=0;L<256;L++)L<128?g[L]=L<<1:g[L]=L<<1^283;for(var V=0,_=0,L=0;L<256;L++){var b=_^_<<1^_<<2^_<<3^_<<4;b=b>>>8^b&255^99,o[V]=b,s[b]=V;var M=g[V],A=g[M],S=g[A],I=g[b]*257^b*16843008;a[V]=I<<24|I>>>8,l[V]=I<<16|I>>>16,d[V]=I<<8|I>>>24,c[V]=I;var I=S*16843009^A*65537^M*257^V*16843008;u[b]=I<<24|I>>>8,h[b]=I<<16|I>>>16,C[b]=I<<8|I>>>24,p[b]=I,V?(V=M^g[g[g[S^M]]],_^=g[g[_]]):V=_=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],H=r.AES=i.extend({_doReset:function(){var g;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var L=this._keyPriorReset=this._key,V=L.words,_=L.sigBytes/4,b=this._nRounds=_+6,M=(b+1)*4,A=this._keySchedule=[],S=0;S<M;S++)S<_?A[S]=V[S]:(g=A[S-1],S%_?_>6&&S%_==4&&(g=o[g>>>24]<<24|o[g>>>16&255]<<16|o[g>>>8&255]<<8|o[g&255]):(g=g<<8|g>>>24,g=o[g>>>24]<<24|o[g>>>16&255]<<16|o[g>>>8&255]<<8|o[g&255],g^=m[S/_|0]<<24),A[S]=A[S-_]^g);for(var I=this._invKeySchedule=[],P=0;P<M;P++){var S=M-P;if(P%4)var g=A[S];else var g=A[S-4];P<4||S<=4?I[P]=g:I[P]=u[o[g>>>24]]^h[o[g>>>16&255]]^C[o[g>>>8&255]]^p[o[g&255]]}}},encryptBlock:function(g,L){this._doCryptBlock(g,L,this._keySchedule,a,l,d,c,o)},decryptBlock:function(g,L){var V=g[L+1];g[L+1]=g[L+3],g[L+3]=V,this._doCryptBlock(g,L,this._invKeySchedule,u,h,C,p,s);var V=g[L+1];g[L+1]=g[L+3],g[L+3]=V},_doCryptBlock:function(g,L,V,_,b,M,A,S){for(var I=this._nRounds,P=g[L]^V[0],T=g[L+1]^V[1],R=g[L+2]^V[2],B=g[L+3]^V[3],G=4,e1=1;e1<I;e1++){var Q=_[P>>>24]^b[T>>>16&255]^M[R>>>8&255]^A[B&255]^V[G++],X=_[T>>>24]^b[R>>>16&255]^M[B>>>8&255]^A[P&255]^V[G++],d1=_[R>>>24]^b[B>>>16&255]^M[P>>>8&255]^A[T&255]^V[G++],Y=_[B>>>24]^b[P>>>16&255]^M[T>>>8&255]^A[R&255]^V[G++];P=Q,T=X,R=d1,B=Y}var Q=(S[P>>>24]<<24|S[T>>>16&255]<<16|S[R>>>8&255]<<8|S[B&255])^V[G++],X=(S[T>>>24]<<24|S[R>>>16&255]<<16|S[B>>>8&255]<<8|S[P&255])^V[G++],d1=(S[R>>>24]<<24|S[B>>>16&255]<<16|S[P>>>8&255]<<8|S[T&255])^V[G++],Y=(S[B>>>24]<<24|S[P>>>16&255]<<16|S[T>>>8&255]<<8|S[R&255])^V[G++];g[L]=Q,g[L+1]=X,g[L+2]=d1,g[L+3]=Y},keySize:256/32});e.AES=i._createHelper(H)}(),n.AES})});var F91=kt((Lk,P91)=>{(function(n,e,t){typeof Lk=="object"?P91.exports=Lk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Lk,function(n){return function(){var e=n,t=e.lib,i=t.WordArray,r=t.BlockCipher,o=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=o.DES=r.extend({_doReset:function(){for(var m=this._key,H=m.words,g=[],L=0;L<56;L++){var V=s[L]-1;g[L]=H[V>>>5]>>>31-V%32&1}for(var _=this._subKeys=[],b=0;b<16;b++){for(var M=_[b]=[],A=l[b],L=0;L<24;L++)M[L/6|0]|=g[(a[L]-1+A)%28]<<31-L%6,M[4+(L/6|0)]|=g[28+(a[L+24]-1+A)%28]<<31-L%6;M[0]=M[0]<<1|M[0]>>>31;for(var L=1;L<7;L++)M[L]=M[L]>>>(L-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var S=this._invSubKeys=[],L=0;L<16;L++)S[L]=_[15-L]},encryptBlock:function(m,H){this._doCryptBlock(m,H,this._subKeys)},decryptBlock:function(m,H){this._doCryptBlock(m,H,this._invSubKeys)},_doCryptBlock:function(m,H,g){this._lBlock=m[H],this._rBlock=m[H+1],h.call(this,4,252645135),h.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),h.call(this,1,1431655765);for(var L=0;L<16;L++){for(var V=g[L],_=this._lBlock,b=this._rBlock,M=0,A=0;A<8;A++)M|=d[A][((b^V[A])&c[A])>>>0];this._lBlock=b,this._rBlock=_^M}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,h.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),m[H]=this._lBlock,m[H+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(m,H){var g=(this._lBlock>>>m^this._rBlock)&H;this._rBlock^=g,this._lBlock^=g<<m}function C(m,H){var g=(this._rBlock>>>m^this._lBlock)&H;this._lBlock^=g,this._rBlock^=g<<m}e.DES=r._createHelper(u);var p=o.TripleDES=r.extend({_doReset:function(){var m=this._key,H=m.words;if(H.length!==2&&H.length!==4&&H.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var g=H.slice(0,2),L=H.length<4?H.slice(0,2):H.slice(2,4),V=H.length<6?H.slice(0,2):H.slice(4,6);this._des1=u.createEncryptor(i.create(g)),this._des2=u.createEncryptor(i.create(L)),this._des3=u.createEncryptor(i.create(V))},encryptBlock:function(m,H){this._des1.encryptBlock(m,H),this._des2.decryptBlock(m,H),this._des3.encryptBlock(m,H)},decryptBlock:function(m,H){this._des3.decryptBlock(m,H),this._des2.encryptBlock(m,H),this._des1.decryptBlock(m,H)},keySize:192/32,ivSize:64/32,blockSize:64/32});e.TripleDES=r._createHelper(p)}(),n.TripleDES})});var Z91=kt((Hk,B91)=>{(function(n,e,t){typeof Hk=="object"?B91.exports=Hk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Hk,function(n){return function(){var e=n,t=e.lib,i=t.StreamCipher,r=e.algo,o=r.RC4=i.extend({_doReset:function(){for(var l=this._key,d=l.words,c=l.sigBytes,u=this._S=[],h=0;h<256;h++)u[h]=h;for(var h=0,C=0;h<256;h++){var p=h%c,m=d[p>>>2]>>>24-p%4*8&255;C=(C+u[h]+m)%256;var H=u[h];u[h]=u[C],u[C]=H}this._i=this._j=0},_doProcessBlock:function(l,d){l[d]^=s.call(this)},keySize:256/32,ivSize:0});function s(){for(var l=this._S,d=this._i,c=this._j,u=0,h=0;h<4;h++){d=(d+1)%256,c=(c+l[d])%256;var C=l[d];l[d]=l[c],l[c]=C,u|=l[(l[d]+l[c])%256]<<24-h*8}return this._i=d,this._j=c,u}e.RC4=i._createHelper(o);var a=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var l=this.cfg.drop;l>0;l--)s.call(this)}});e.RC4Drop=i._createHelper(a)}(),n.RC4})});var W91=kt((Vk,z91)=>{(function(n,e,t){typeof Vk=="object"?z91.exports=Vk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Vk,function(n){return function(){var e=n,t=e.lib,i=t.StreamCipher,r=e.algo,o=[],s=[],a=[],l=r.Rabbit=i.extend({_doReset:function(){for(var c=this._key.words,u=this.cfg.iv,h=0;h<4;h++)c[h]=(c[h]<<8|c[h]>>>24)&16711935|(c[h]<<24|c[h]>>>8)&4278255360;var C=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],p=this._C=[c[2]<<16|c[2]>>>16,c[0]&4294901760|c[1]&65535,c[3]<<16|c[3]>>>16,c[1]&4294901760|c[2]&65535,c[0]<<16|c[0]>>>16,c[2]&4294901760|c[3]&65535,c[1]<<16|c[1]>>>16,c[3]&4294901760|c[0]&65535];this._b=0;for(var h=0;h<4;h++)d.call(this);for(var h=0;h<8;h++)p[h]^=C[h+4&7];if(u){var m=u.words,H=m[0],g=m[1],L=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,V=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=L>>>16|V&4294901760,b=V<<16|L&65535;p[0]^=L,p[1]^=_,p[2]^=V,p[3]^=b,p[4]^=L,p[5]^=_,p[6]^=V,p[7]^=b;for(var h=0;h<4;h++)d.call(this)}},_doProcessBlock:function(c,u){var h=this._X;d.call(this),o[0]=h[0]^h[5]>>>16^h[3]<<16,o[1]=h[2]^h[7]>>>16^h[5]<<16,o[2]=h[4]^h[1]>>>16^h[7]<<16,o[3]=h[6]^h[3]>>>16^h[1]<<16;for(var C=0;C<4;C++)o[C]=(o[C]<<8|o[C]>>>24)&16711935|(o[C]<<24|o[C]>>>8)&4278255360,c[u+C]^=o[C]},blockSize:128/32,ivSize:64/32});function d(){for(var c=this._X,u=this._C,h=0;h<8;h++)s[h]=u[h];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<s[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<s[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<s[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<s[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<s[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<s[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<s[6]>>>0?1:0)|0,this._b=u[7]>>>0<s[7]>>>0?1:0;for(var h=0;h<8;h++){var C=c[h]+u[h],p=C&65535,m=C>>>16,H=((p*p>>>17)+p*m>>>15)+m*m,g=((C&4294901760)*C|0)+((C&65535)*C|0);a[h]=H^g}c[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,c[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,c[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,c[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,c[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,c[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,c[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,c[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=i._createHelper(l)}(),n.Rabbit})});var j91=kt((Mk,U91)=>{(function(n,e,t){typeof Mk=="object"?U91.exports=Mk=e(on(),gu(),Lu(),p9(),os()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],e):e(n.CryptoJS)})(Mk,function(n){return function(){var e=n,t=e.lib,i=t.StreamCipher,r=e.algo,o=[],s=[],a=[],l=r.RabbitLegacy=i.extend({_doReset:function(){var c=this._key.words,u=this.cfg.iv,h=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],C=this._C=[c[2]<<16|c[2]>>>16,c[0]&4294901760|c[1]&65535,c[3]<<16|c[3]>>>16,c[1]&4294901760|c[2]&65535,c[0]<<16|c[0]>>>16,c[2]&4294901760|c[3]&65535,c[1]<<16|c[1]>>>16,c[3]&4294901760|c[0]&65535];this._b=0;for(var p=0;p<4;p++)d.call(this);for(var p=0;p<8;p++)C[p]^=h[p+4&7];if(u){var m=u.words,H=m[0],g=m[1],L=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,V=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,_=L>>>16|V&4294901760,b=V<<16|L&65535;C[0]^=L,C[1]^=_,C[2]^=V,C[3]^=b,C[4]^=L,C[5]^=_,C[6]^=V,C[7]^=b;for(var p=0;p<4;p++)d.call(this)}},_doProcessBlock:function(c,u){var h=this._X;d.call(this),o[0]=h[0]^h[5]>>>16^h[3]<<16,o[1]=h[2]^h[7]>>>16^h[5]<<16,o[2]=h[4]^h[1]>>>16^h[7]<<16,o[3]=h[6]^h[3]>>>16^h[1]<<16;for(var C=0;C<4;C++)o[C]=(o[C]<<8|o[C]>>>24)&16711935|(o[C]<<24|o[C]>>>8)&4278255360,c[u+C]^=o[C]},blockSize:128/32,ivSize:64/32});function d(){for(var c=this._X,u=this._C,h=0;h<8;h++)s[h]=u[h];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<s[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<s[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<s[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<s[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<s[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<s[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<s[6]>>>0?1:0)|0,this._b=u[7]>>>0<s[7]>>>0?1:0;for(var h=0;h<8;h++){var C=c[h]+u[h],p=C&65535,m=C>>>16,H=((p*p>>>17)+p*m>>>15)+m*m,g=((C&4294901760)*C|0)+((C&65535)*C|0);a[h]=H^g}c[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,c[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,c[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,c[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,c[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,c[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,c[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,c[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=i._createHelper(l)}(),n.RabbitLegacy})});var q91=kt((vk,$91)=>{(function(n,e,t){typeof vk=="object"?$91.exports=vk=e(on(),$V(),j71(),q71(),gu(),Y71(),Lu(),Ky(),IK(),t91(),TK(),r91(),s91(),l91(),ik(),u91(),p9(),os(),m91(),g91(),H91(),M91(),_91(),b91(),S91(),y91(),E91(),I91(),N91(),R91(),F91(),Z91(),W91(),j91()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],e):n.CryptoJS=e(n.CryptoJS)})(vk,function(n){return n})});var G91=kt((K91,_k)=>{(function(n,e){"use strict";typeof _k=="object"&&typeof _k.exports=="object"?_k.exports=n.document?e(n,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(n)})(typeof window<"u"?window:K91,function(n,e){"use strict";var t=[],i=Object.getPrototypeOf,r=t.slice,o=t.flat?function(v){return t.flat.call(v)}:function(v){return t.concat.apply([],v)},s=t.push,a=t.indexOf,l={},d=l.toString,c=l.hasOwnProperty,u=c.toString,h=u.call(Object),C={},p=function(x){return typeof x=="function"&&typeof x.nodeType!="number"&&typeof x.item!="function"},m=function(x){return x!=null&&x===x.window},H=n.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function L(v,x,w){w=w||H;var E,N,O=w.createElement("script");if(O.text=v,x)for(E in g)N=x[E]||x.getAttribute&&x.getAttribute(E),N&&O.setAttribute(E,N);w.head.appendChild(O).parentNode.removeChild(O)}function V(v){return v==null?v+"":typeof v=="object"||typeof v=="function"?l[d.call(v)]||"object":typeof v}var _="3.7.1",b=/HTML$/i,M=function(v,x){return new M.fn.init(v,x)};M.fn=M.prototype={jquery:_,constructor:M,length:0,toArray:function(){return r.call(this)},get:function(v){return v==null?r.call(this):v<0?this[v+this.length]:this[v]},pushStack:function(v){var x=M.merge(this.constructor(),v);return x.prevObject=this,x},each:function(v){return M.each(this,v)},map:function(v){return this.pushStack(M.map(this,function(x,w){return v.call(x,w,x)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(M.grep(this,function(v,x){return(x+1)%2}))},odd:function(){return this.pushStack(M.grep(this,function(v,x){return x%2}))},eq:function(v){var x=this.length,w=+v+(v<0?x:0);return this.pushStack(w>=0&&w<x?[this[w]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:t.sort,splice:t.splice},M.extend=M.fn.extend=function(){var v,x,w,E,N,O,$=arguments[0]||{},u1=1,r1=arguments.length,M1=!1;for(typeof $=="boolean"&&(M1=$,$=arguments[u1]||{},u1++),typeof $!="object"&&!p($)&&($={}),u1===r1&&($=this,u1--);u1<r1;u1++)if((v=arguments[u1])!=null)for(x in v)E=v[x],!(x==="__proto__"||$===E)&&(M1&&E&&(M.isPlainObject(E)||(N=Array.isArray(E)))?(w=$[x],N&&!Array.isArray(w)?O=[]:!N&&!M.isPlainObject(w)?O={}:O=w,N=!1,$[x]=M.extend(M1,O,E)):E!==void 0&&($[x]=E));return $},M.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(v){throw new Error(v)},noop:function(){},isPlainObject:function(v){var x,w;return!v||d.call(v)!=="[object Object]"?!1:(x=i(v),x?(w=c.call(x,"constructor")&&x.constructor,typeof w=="function"&&u.call(w)===h):!0)},isEmptyObject:function(v){var x;for(x in v)return!1;return!0},globalEval:function(v,x,w){L(v,{nonce:x&&x.nonce},w)},each:function(v,x){var w,E=0;if(A(v))for(w=v.length;E<w&&x.call(v[E],E,v[E])!==!1;E++);else for(E in v)if(x.call(v[E],E,v[E])===!1)break;return v},text:function(v){var x,w="",E=0,N=v.nodeType;if(!N)for(;x=v[E++];)w+=M.text(x);return N===1||N===11?v.textContent:N===9?v.documentElement.textContent:N===3||N===4?v.nodeValue:w},makeArray:function(v,x){var w=x||[];return v!=null&&(A(Object(v))?M.merge(w,typeof v=="string"?[v]:v):s.call(w,v)),w},inArray:function(v,x,w){return x==null?-1:a.call(x,v,w)},isXMLDoc:function(v){var x=v&&v.namespaceURI,w=v&&(v.ownerDocument||v).documentElement;return!b.test(x||w&&w.nodeName||"HTML")},merge:function(v,x){for(var w=+x.length,E=0,N=v.length;E<w;E++)v[N++]=x[E];return v.length=N,v},grep:function(v,x,w){for(var E,N=[],O=0,$=v.length,u1=!w;O<$;O++)E=!x(v[O],O),E!==u1&&N.push(v[O]);return N},map:function(v,x,w){var E,N,O=0,$=[];if(A(v))for(E=v.length;O<E;O++)N=x(v[O],O,w),N!=null&&$.push(N);else for(O in v)N=x(v[O],O,w),N!=null&&$.push(N);return o($)},guid:1,support:C}),typeof Symbol=="function"&&(M.fn[Symbol.iterator]=t[Symbol.iterator]),M.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(v,x){l["[object "+x+"]"]=x.toLowerCase()});function A(v){var x=!!v&&"length"in v&&v.length,w=V(v);return p(v)||m(v)?!1:w==="array"||x===0||typeof x=="number"&&x>0&&x-1 in v}function S(v,x){return v.nodeName&&v.nodeName.toLowerCase()===x.toLowerCase()}var I=t.pop,P=t.sort,T=t.splice,R="[\\x20\\t\\r\\n\\f]",B=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g");M.contains=function(v,x){var w=x&&x.parentNode;return v===w||!!(w&&w.nodeType===1&&(v.contains?v.contains(w):v.compareDocumentPosition&&v.compareDocumentPosition(w)&16))};var G=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function e1(v,x){return x?v==="\0"?"\uFFFD":v.slice(0,-1)+"\\"+v.charCodeAt(v.length-1).toString(16)+" ":"\\"+v}M.escapeSelector=function(v){return(v+"").replace(G,e1)};var Q=H,X=s;(function(){var v,x,w,E,N,O=X,$,u1,r1,M1,z1,ne=M.expando,E1=0,he=0,ni=Cw(),Ln=Cw(),Ai=Cw(),Es=Cw(),k2=function(J,L1){return J===L1&&(N=!0),0},pd="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",md="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Gi="\\["+R+"*("+md+")(?:"+R+"*([*^$|!~]?=)"+R+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+md+"))|)"+R+"*\\]",eu=":("+md+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Gi+")*)|.*)\\)|)",Sn=new RegExp(R+"+","g"),_o=new RegExp("^"+R+"*,"+R+"*"),YH=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),s$=new RegExp(R+"|>"),fd=new RegExp(eu),QH=new RegExp("^"+md+"$"),gd={ID:new RegExp("^#("+md+")"),CLASS:new RegExp("^\\.("+md+")"),TAG:new RegExp("^("+md+"|[*])"),ATTR:new RegExp("^"+Gi),PSEUDO:new RegExp("^"+eu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+pd+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},W7=/^(?:input|select|textarea|button)$/i,U7=/^h\d$/i,el=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,a$=/[+~]/,l4=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),d4=function(J,L1){var k1="0x"+J.slice(1)-65536;return L1||(k1<0?String.fromCharCode(k1+65536):String.fromCharCode(k1>>10|55296,k1&1023|56320))},cT1=function(){j7()},uT1=mw(function(J){return J.disabled===!0&&S(J,"fieldset")},{dir:"parentNode",next:"legend"});function hT1(){try{return $.activeElement}catch{}}try{O.apply(t=r.call(Q.childNodes),Q.childNodes),t[Q.childNodes.length].nodeType}catch{O={apply:function(L1,k1){X.apply(L1,r.call(k1))},call:function(L1){X.apply(L1,r.call(arguments,1))}}}function ir(J,L1,k1,P1){var ie,we,et,gt,tt,Bi,Xt,li=L1&&L1.ownerDocument,Zi=L1?L1.nodeType:9;if(k1=k1||[],typeof J!="string"||!J||Zi!==1&&Zi!==9&&Zi!==11)return k1;if(!P1&&(j7(L1),L1=L1||$,r1)){if(Zi!==11&&(tt=el.exec(J)))if(ie=tt[1]){if(Zi===9)if(et=L1.getElementById(ie)){if(et.id===ie)return O.call(k1,et),k1}else return k1;else if(li&&(et=li.getElementById(ie))&&ir.contains(L1,et)&&et.id===ie)return O.call(k1,et),k1}else{if(tt[2])return O.apply(k1,L1.getElementsByTagName(J)),k1;if((ie=tt[3])&&L1.getElementsByClassName)return O.apply(k1,L1.getElementsByClassName(ie)),k1}if(!Es[J+" "]&&(!M1||!M1.test(J))){if(Xt=J,li=L1,Zi===1&&(s$.test(J)||YH.test(J))){for(li=a$.test(J)&&l$(L1.parentNode)||L1,(li!=L1||!C.scope)&&((gt=L1.getAttribute("id"))?gt=M.escapeSelector(gt):L1.setAttribute("id",gt=ne)),Bi=XH(J),we=Bi.length;we--;)Bi[we]=(gt?"#"+gt:":scope")+" "+pw(Bi[we]);Xt=Bi.join(",")}try{return O.apply(k1,li.querySelectorAll(Xt)),k1}catch{Es(J,!0)}finally{gt===ne&&L1.removeAttribute("id")}}}return od1(J.replace(B,"$1"),L1,k1,P1)}function Cw(){var J=[];function L1(k1,P1){return J.push(k1+" ")>x.cacheLength&&delete L1[J.shift()],L1[k1+" "]=P1}return L1}function Kl(J){return J[ne]=!0,J}function Ap(J){var L1=$.createElement("fieldset");try{return!!J(L1)}catch{return!1}finally{L1.parentNode&&L1.parentNode.removeChild(L1),L1=null}}function CT1(J){return function(L1){return S(L1,"input")&&L1.type===J}}function pT1(J){return function(L1){return(S(L1,"input")||S(L1,"button"))&&L1.type===J}}function nd1(J){return function(L1){return"form"in L1?L1.parentNode&&L1.disabled===!1?"label"in L1?"label"in L1.parentNode?L1.parentNode.disabled===J:L1.disabled===J:L1.isDisabled===J||L1.isDisabled!==!J&&uT1(L1)===J:L1.disabled===J:"label"in L1?L1.disabled===J:!1}}function tu(J){return Kl(function(L1){return L1=+L1,Kl(function(k1,P1){for(var ie,we=J([],k1.length,L1),et=we.length;et--;)k1[ie=we[et]]&&(k1[ie]=!(P1[ie]=k1[ie]))})})}function l$(J){return J&&typeof J.getElementsByTagName<"u"&&J}function j7(J){var L1,k1=J?J.ownerDocument||J:Q;return k1==$||k1.nodeType!==9||!k1.documentElement||($=k1,u1=$.documentElement,r1=!M.isXMLDoc($),z1=u1.matches||u1.webkitMatchesSelector||u1.msMatchesSelector,u1.msMatchesSelector&&Q!=$&&(L1=$.defaultView)&&L1.top!==L1&&L1.addEventListener("unload",cT1),C.getById=Ap(function(P1){return u1.appendChild(P1).id=M.expando,!$.getElementsByName||!$.getElementsByName(M.expando).length}),C.disconnectedMatch=Ap(function(P1){return z1.call(P1,"*")}),C.scope=Ap(function(){return $.querySelectorAll(":scope")}),C.cssHas=Ap(function(){try{return $.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),C.getById?(x.filter.ID=function(P1){var ie=P1.replace(l4,d4);return function(we){return we.getAttribute("id")===ie}},x.find.ID=function(P1,ie){if(typeof ie.getElementById<"u"&&r1){var we=ie.getElementById(P1);return we?[we]:[]}}):(x.filter.ID=function(P1){var ie=P1.replace(l4,d4);return function(we){var et=typeof we.getAttributeNode<"u"&&we.getAttributeNode("id");return et&&et.value===ie}},x.find.ID=function(P1,ie){if(typeof ie.getElementById<"u"&&r1){var we,et,gt,tt=ie.getElementById(P1);if(tt){if(we=tt.getAttributeNode("id"),we&&we.value===P1)return[tt];for(gt=ie.getElementsByName(P1),et=0;tt=gt[et++];)if(we=tt.getAttributeNode("id"),we&&we.value===P1)return[tt]}return[]}}),x.find.TAG=function(P1,ie){return typeof ie.getElementsByTagName<"u"?ie.getElementsByTagName(P1):ie.querySelectorAll(P1)},x.find.CLASS=function(P1,ie){if(typeof ie.getElementsByClassName<"u"&&r1)return ie.getElementsByClassName(P1)},M1=[],Ap(function(P1){var ie;u1.appendChild(P1).innerHTML="<a id='"+ne+"' href='' disabled='disabled'></a><select id='"+ne+"-\r\\' disabled='disabled'><option selected=''></option></select>",P1.querySelectorAll("[selected]").length||M1.push("\\["+R+"*(?:value|"+pd+")"),P1.querySelectorAll("[id~="+ne+"-]").length||M1.push("~="),P1.querySelectorAll("a#"+ne+"+*").length||M1.push(".#.+[+~]"),P1.querySelectorAll(":checked").length||M1.push(":checked"),ie=$.createElement("input"),ie.setAttribute("type","hidden"),P1.appendChild(ie).setAttribute("name","D"),u1.appendChild(P1).disabled=!0,P1.querySelectorAll(":disabled").length!==2&&M1.push(":enabled",":disabled"),ie=$.createElement("input"),ie.setAttribute("name",""),P1.appendChild(ie),P1.querySelectorAll("[name='']").length||M1.push("\\["+R+"*name"+R+"*="+R+`*(?:''|"")`)}),C.cssHas||M1.push(":has"),M1=M1.length&&new RegExp(M1.join("|")),k2=function(P1,ie){if(P1===ie)return N=!0,0;var we=!P1.compareDocumentPosition-!ie.compareDocumentPosition;return we||(we=(P1.ownerDocument||P1)==(ie.ownerDocument||ie)?P1.compareDocumentPosition(ie):1,we&1||!C.sortDetached&&ie.compareDocumentPosition(P1)===we?P1===$||P1.ownerDocument==Q&&ir.contains(Q,P1)?-1:ie===$||ie.ownerDocument==Q&&ir.contains(Q,ie)?1:E?a.call(E,P1)-a.call(E,ie):0:we&4?-1:1)}),$}ir.matches=function(J,L1){return ir(J,null,null,L1)},ir.matchesSelector=function(J,L1){if(j7(J),r1&&!Es[L1+" "]&&(!M1||!M1.test(L1)))try{var k1=z1.call(J,L1);if(k1||C.disconnectedMatch||J.document&&J.document.nodeType!==11)return k1}catch{Es(L1,!0)}return ir(L1,$,null,[J]).length>0},ir.contains=function(J,L1){return(J.ownerDocument||J)!=$&&j7(J),M.contains(J,L1)},ir.attr=function(J,L1){(J.ownerDocument||J)!=$&&j7(J);var k1=x.attrHandle[L1.toLowerCase()],P1=k1&&c.call(x.attrHandle,L1.toLowerCase())?k1(J,L1,!r1):void 0;return P1!==void 0?P1:J.getAttribute(L1)},ir.error=function(J){throw new Error("Syntax error, unrecognized expression: "+J)},M.uniqueSort=function(J){var L1,k1=[],P1=0,ie=0;if(N=!C.sortStable,E=!C.sortStable&&r.call(J,0),P.call(J,k2),N){for(;L1=J[ie++];)L1===J[ie]&&(P1=k1.push(ie));for(;P1--;)T.call(J,k1[P1],1)}return E=null,J},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(r.apply(this)))},x=M.expr={cacheLength:50,createPseudo:Kl,match:gd,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(J){return J[1]=J[1].replace(l4,d4),J[3]=(J[3]||J[4]||J[5]||"").replace(l4,d4),J[2]==="~="&&(J[3]=" "+J[3]+" "),J.slice(0,4)},CHILD:function(J){return J[1]=J[1].toLowerCase(),J[1].slice(0,3)==="nth"?(J[3]||ir.error(J[0]),J[4]=+(J[4]?J[5]+(J[6]||1):2*(J[3]==="even"||J[3]==="odd")),J[5]=+(J[7]+J[8]||J[3]==="odd")):J[3]&&ir.error(J[0]),J},PSEUDO:function(J){var L1,k1=!J[6]&&J[2];return gd.CHILD.test(J[0])?null:(J[3]?J[2]=J[4]||J[5]||"":k1&&fd.test(k1)&&(L1=XH(k1,!0))&&(L1=k1.indexOf(")",k1.length-L1)-k1.length)&&(J[0]=J[0].slice(0,L1),J[2]=k1.slice(0,L1)),J.slice(0,3))}},filter:{TAG:function(J){var L1=J.replace(l4,d4).toLowerCase();return J==="*"?function(){return!0}:function(k1){return S(k1,L1)}},CLASS:function(J){var L1=ni[J+" "];return L1||(L1=new RegExp("(^|"+R+")"+J+"("+R+"|$)"))&&ni(J,function(k1){return L1.test(typeof k1.className=="string"&&k1.className||typeof k1.getAttribute<"u"&&k1.getAttribute("class")||"")})},ATTR:function(J,L1,k1){return function(P1){var ie=ir.attr(P1,J);return ie==null?L1==="!=":L1?(ie+="",L1==="="?ie===k1:L1==="!="?ie!==k1:L1==="^="?k1&&ie.indexOf(k1)===0:L1==="*="?k1&&ie.indexOf(k1)>-1:L1==="$="?k1&&ie.slice(-k1.length)===k1:L1==="~="?(" "+ie.replace(Sn," ")+" ").indexOf(k1)>-1:L1==="|="?ie===k1||ie.slice(0,k1.length+1)===k1+"-":!1):!0}},CHILD:function(J,L1,k1,P1,ie){var we=J.slice(0,3)!=="nth",et=J.slice(-4)!=="last",gt=L1==="of-type";return P1===1&&ie===0?function(tt){return!!tt.parentNode}:function(tt,Bi,Xt){var li,Zi,Pt,Lr,m5,oa=we!==et?"nextSibling":"previousSibling",tl=tt.parentNode,Ld=gt&&tt.nodeName.toLowerCase(),Sp=!Xt&&!gt,Ia=!1;if(tl){if(we){for(;oa;){for(Pt=tt;Pt=Pt[oa];)if(gt?S(Pt,Ld):Pt.nodeType===1)return!1;m5=oa=J==="only"&&!m5&&"nextSibling"}return!0}if(m5=[et?tl.firstChild:tl.lastChild],et&&Sp){for(Zi=tl[ne]||(tl[ne]={}),li=Zi[J]||[],Lr=li[0]===E1&&li[1],Ia=Lr&&li[2],Pt=Lr&&tl.childNodes[Lr];Pt=++Lr&&Pt&&Pt[oa]||(Ia=Lr=0)||m5.pop();)if(Pt.nodeType===1&&++Ia&&Pt===tt){Zi[J]=[E1,Lr,Ia];break}}else if(Sp&&(Zi=tt[ne]||(tt[ne]={}),li=Zi[J]||[],Lr=li[0]===E1&&li[1],Ia=Lr),Ia===!1)for(;(Pt=++Lr&&Pt&&Pt[oa]||(Ia=Lr=0)||m5.pop())&&!((gt?S(Pt,Ld):Pt.nodeType===1)&&++Ia&&(Sp&&(Zi=Pt[ne]||(Pt[ne]={}),Zi[J]=[E1,Ia]),Pt===tt)););return Ia-=ie,Ia===P1||Ia%P1===0&&Ia/P1>=0}}},PSEUDO:function(J,L1){var k1,P1=x.pseudos[J]||x.setFilters[J.toLowerCase()]||ir.error("unsupported pseudo: "+J);return P1[ne]?P1(L1):P1.length>1?(k1=[J,J,"",L1],x.setFilters.hasOwnProperty(J.toLowerCase())?Kl(function(ie,we){for(var et,gt=P1(ie,L1),tt=gt.length;tt--;)et=a.call(ie,gt[tt]),ie[et]=!(we[et]=gt[tt])}):function(ie){return P1(ie,0,k1)}):P1}},pseudos:{not:Kl(function(J){var L1=[],k1=[],P1=h$(J.replace(B,"$1"));return P1[ne]?Kl(function(ie,we,et,gt){for(var tt,Bi=P1(ie,null,gt,[]),Xt=ie.length;Xt--;)(tt=Bi[Xt])&&(ie[Xt]=!(we[Xt]=tt))}):function(ie,we,et){return L1[0]=ie,P1(L1,null,et,k1),L1[0]=null,!k1.pop()}}),has:Kl(function(J){return function(L1){return ir(J,L1).length>0}}),contains:Kl(function(J){return J=J.replace(l4,d4),function(L1){return(L1.textContent||M.text(L1)).indexOf(J)>-1}}),lang:Kl(function(J){return QH.test(J||"")||ir.error("unsupported lang: "+J),J=J.replace(l4,d4).toLowerCase(),function(L1){var k1;do if(k1=r1?L1.lang:L1.getAttribute("xml:lang")||L1.getAttribute("lang"))return k1=k1.toLowerCase(),k1===J||k1.indexOf(J+"-")===0;while((L1=L1.parentNode)&&L1.nodeType===1);return!1}}),target:function(J){var L1=n.location&&n.location.hash;return L1&&L1.slice(1)===J.id},root:function(J){return J===u1},focus:function(J){return J===hT1()&&$.hasFocus()&&!!(J.type||J.href||~J.tabIndex)},enabled:nd1(!1),disabled:nd1(!0),checked:function(J){return S(J,"input")&&!!J.checked||S(J,"option")&&!!J.selected},selected:function(J){return J.parentNode&&J.parentNode.selectedIndex,J.selected===!0},empty:function(J){for(J=J.firstChild;J;J=J.nextSibling)if(J.nodeType<6)return!1;return!0},parent:function(J){return!x.pseudos.empty(J)},header:function(J){return U7.test(J.nodeName)},input:function(J){return W7.test(J.nodeName)},button:function(J){return S(J,"input")&&J.type==="button"||S(J,"button")},text:function(J){var L1;return S(J,"input")&&J.type==="text"&&((L1=J.getAttribute("type"))==null||L1.toLowerCase()==="text")},first:tu(function(){return[0]}),last:tu(function(J,L1){return[L1-1]}),eq:tu(function(J,L1,k1){return[k1<0?k1+L1:k1]}),even:tu(function(J,L1){for(var k1=0;k1<L1;k1+=2)J.push(k1);return J}),odd:tu(function(J,L1){for(var k1=1;k1<L1;k1+=2)J.push(k1);return J}),lt:tu(function(J,L1,k1){var P1;for(k1<0?P1=k1+L1:k1>L1?P1=L1:P1=k1;--P1>=0;)J.push(P1);return J}),gt:tu(function(J,L1,k1){for(var P1=k1<0?k1+L1:k1;++P1<L1;)J.push(P1);return J})}},x.pseudos.nth=x.pseudos.eq;for(v in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[v]=CT1(v);for(v in{submit:!0,reset:!0})x.pseudos[v]=pT1(v);function rd1(){}rd1.prototype=x.filters=x.pseudos,x.setFilters=new rd1;function XH(J,L1){var k1,P1,ie,we,et,gt,tt,Bi=Ln[J+" "];if(Bi)return L1?0:Bi.slice(0);for(et=J,gt=[],tt=x.preFilter;et;){(!k1||(P1=_o.exec(et)))&&(P1&&(et=et.slice(P1[0].length)||et),gt.push(ie=[])),k1=!1,(P1=YH.exec(et))&&(k1=P1.shift(),ie.push({value:k1,type:P1[0].replace(B," ")}),et=et.slice(k1.length));for(we in x.filter)(P1=gd[we].exec(et))&&(!tt[we]||(P1=tt[we](P1)))&&(k1=P1.shift(),ie.push({value:k1,type:we,matches:P1}),et=et.slice(k1.length));if(!k1)break}return L1?et.length:et?ir.error(J):Ln(J,gt).slice(0)}function pw(J){for(var L1=0,k1=J.length,P1="";L1<k1;L1++)P1+=J[L1].value;return P1}function mw(J,L1,k1){var P1=L1.dir,ie=L1.next,we=ie||P1,et=k1&&we==="parentNode",gt=he++;return L1.first?function(tt,Bi,Xt){for(;tt=tt[P1];)if(tt.nodeType===1||et)return J(tt,Bi,Xt);return!1}:function(tt,Bi,Xt){var li,Zi,Pt=[E1,gt];if(Xt){for(;tt=tt[P1];)if((tt.nodeType===1||et)&&J(tt,Bi,Xt))return!0}else for(;tt=tt[P1];)if(tt.nodeType===1||et)if(Zi=tt[ne]||(tt[ne]={}),ie&&S(tt,ie))tt=tt[P1]||tt;else{if((li=Zi[we])&&li[0]===E1&&li[1]===gt)return Pt[2]=li[2];if(Zi[we]=Pt,Pt[2]=J(tt,Bi,Xt))return!0}return!1}}function d$(J){return J.length>1?function(L1,k1,P1){for(var ie=J.length;ie--;)if(!J[ie](L1,k1,P1))return!1;return!0}:J[0]}function mT1(J,L1,k1){for(var P1=0,ie=L1.length;P1<ie;P1++)ir(J,L1[P1],k1);return k1}function fw(J,L1,k1,P1,ie){for(var we,et=[],gt=0,tt=J.length,Bi=L1!=null;gt<tt;gt++)(we=J[gt])&&(!k1||k1(we,P1,ie))&&(et.push(we),Bi&&L1.push(gt));return et}function c$(J,L1,k1,P1,ie,we){return P1&&!P1[ne]&&(P1=c$(P1)),ie&&!ie[ne]&&(ie=c$(ie,we)),Kl(function(et,gt,tt,Bi){var Xt,li,Zi,Pt,Lr=[],m5=[],oa=gt.length,tl=et||mT1(L1||"*",tt.nodeType?[tt]:tt,[]),Ld=J&&(et||!L1)?fw(tl,Lr,J,tt,Bi):tl;if(k1?(Pt=ie||(et?J:oa||P1)?[]:gt,k1(Ld,Pt,tt,Bi)):Pt=Ld,P1)for(Xt=fw(Pt,m5),P1(Xt,[],tt,Bi),li=Xt.length;li--;)(Zi=Xt[li])&&(Pt[m5[li]]=!(Ld[m5[li]]=Zi));if(et){if(ie||J){if(ie){for(Xt=[],li=Pt.length;li--;)(Zi=Pt[li])&&Xt.push(Ld[li]=Zi);ie(null,Pt=[],Xt,Bi)}for(li=Pt.length;li--;)(Zi=Pt[li])&&(Xt=ie?a.call(et,Zi):Lr[li])>-1&&(et[Xt]=!(gt[Xt]=Zi))}}else Pt=fw(Pt===gt?Pt.splice(oa,Pt.length):Pt),ie?ie(null,gt,Pt,Bi):O.apply(gt,Pt)})}function u$(J){for(var L1,k1,P1,ie=J.length,we=x.relative[J[0].type],et=we||x.relative[" "],gt=we?1:0,tt=mw(function(li){return li===L1},et,!0),Bi=mw(function(li){return a.call(L1,li)>-1},et,!0),Xt=[function(li,Zi,Pt){var Lr=!we&&(Pt||Zi!=w)||((L1=Zi).nodeType?tt(li,Zi,Pt):Bi(li,Zi,Pt));return L1=null,Lr}];gt<ie;gt++)if(k1=x.relative[J[gt].type])Xt=[mw(d$(Xt),k1)];else{if(k1=x.filter[J[gt].type].apply(null,J[gt].matches),k1[ne]){for(P1=++gt;P1<ie&&!x.relative[J[P1].type];P1++);return c$(gt>1&&d$(Xt),gt>1&&pw(J.slice(0,gt-1).concat({value:J[gt-2].type===" "?"*":""})).replace(B,"$1"),k1,gt<P1&&u$(J.slice(gt,P1)),P1<ie&&u$(J=J.slice(P1)),P1<ie&&pw(J))}Xt.push(k1)}return d$(Xt)}function fT1(J,L1){var k1=L1.length>0,P1=J.length>0,ie=function(we,et,gt,tt,Bi){var Xt,li,Zi,Pt=0,Lr="0",m5=we&&[],oa=[],tl=w,Ld=we||P1&&x.find.TAG("*",Bi),Sp=E1+=tl==null?1:Math.random()||.1,Ia=Ld.length;for(Bi&&(w=et==$||et||Bi);Lr!==Ia&&(Xt=Ld[Lr])!=null;Lr++){if(P1&&Xt){for(li=0,!et&&Xt.ownerDocument!=$&&(j7(Xt),gt=!r1);Zi=J[li++];)if(Zi(Xt,et||$,gt)){O.call(tt,Xt);break}Bi&&(E1=Sp)}k1&&((Xt=!Zi&&Xt)&&Pt--,we&&m5.push(Xt))}if(Pt+=Lr,k1&&Lr!==Pt){for(li=0;Zi=L1[li++];)Zi(m5,oa,et,gt);if(we){if(Pt>0)for(;Lr--;)m5[Lr]||oa[Lr]||(oa[Lr]=I.call(tt));oa=fw(oa)}O.apply(tt,oa),Bi&&!we&&oa.length>0&&Pt+L1.length>1&&M.uniqueSort(tt)}return Bi&&(E1=Sp,w=tl),m5};return k1?Kl(ie):ie}function h$(J,L1){var k1,P1=[],ie=[],we=Ai[J+" "];if(!we){for(L1||(L1=XH(J)),k1=L1.length;k1--;)we=u$(L1[k1]),we[ne]?P1.push(we):ie.push(we);we=Ai(J,fT1(ie,P1)),we.selector=J}return we}function od1(J,L1,k1,P1){var ie,we,et,gt,tt,Bi=typeof J=="function"&&J,Xt=!P1&&XH(J=Bi.selector||J);if(k1=k1||[],Xt.length===1){if(we=Xt[0]=Xt[0].slice(0),we.length>2&&(et=we[0]).type==="ID"&&L1.nodeType===9&&r1&&x.relative[we[1].type]){if(L1=(x.find.ID(et.matches[0].replace(l4,d4),L1)||[])[0],L1)Bi&&(L1=L1.parentNode);else return k1;J=J.slice(we.shift().value.length)}for(ie=gd.needsContext.test(J)?0:we.length;ie--&&(et=we[ie],!x.relative[gt=et.type]);)if((tt=x.find[gt])&&(P1=tt(et.matches[0].replace(l4,d4),a$.test(we[0].type)&&l$(L1.parentNode)||L1))){if(we.splice(ie,1),J=P1.length&&pw(we),!J)return O.apply(k1,P1),k1;break}}return(Bi||h$(J,Xt))(P1,L1,!r1,k1,!L1||a$.test(J)&&l$(L1.parentNode)||L1),k1}C.sortStable=ne.split("").sort(k2).join("")===ne,j7(),C.sortDetached=Ap(function(J){return J.compareDocumentPosition($.createElement("fieldset"))&1}),M.find=ir,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,ir.compile=h$,ir.select=od1,ir.setDocument=j7,ir.tokenize=XH,ir.escape=M.escapeSelector,ir.getText=M.text,ir.isXML=M.isXMLDoc,ir.selectors=M.expr,ir.support=M.support,ir.uniqueSort=M.uniqueSort})();var d1=function(v,x,w){for(var E=[],N=w!==void 0;(v=v[x])&&v.nodeType!==9;)if(v.nodeType===1){if(N&&M(v).is(w))break;E.push(v)}return E},Y=function(v,x){for(var w=[];v;v=v.nextSibling)v.nodeType===1&&v!==x&&w.push(v);return w},h1=M.expr.match.needsContext,s1=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function t1(v,x,w){return p(x)?M.grep(v,function(E,N){return!!x.call(E,N,E)!==w}):x.nodeType?M.grep(v,function(E){return E===x!==w}):typeof x!="string"?M.grep(v,function(E){return a.call(x,E)>-1!==w}):M.filter(x,v,w)}M.filter=function(v,x,w){var E=x[0];return w&&(v=":not("+v+")"),x.length===1&&E.nodeType===1?M.find.matchesSelector(E,v)?[E]:[]:M.find.matches(v,M.grep(x,function(N){return N.nodeType===1}))},M.fn.extend({find:function(v){var x,w,E=this.length,N=this;if(typeof v!="string")return this.pushStack(M(v).filter(function(){for(x=0;x<E;x++)if(M.contains(N[x],this))return!0}));for(w=this.pushStack([]),x=0;x<E;x++)M.find(v,N[x],w);return E>1?M.uniqueSort(w):w},filter:function(v){return this.pushStack(t1(this,v||[],!1))},not:function(v){return this.pushStack(t1(this,v||[],!0))},is:function(v){return!!t1(this,typeof v=="string"&&h1.test(v)?M(v):v||[],!1).length}});var x1,ve=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Vt=M.fn.init=function(v,x,w){var E,N;if(!v)return this;if(w=w||x1,typeof v=="string")if(v[0]==="<"&&v[v.length-1]===">"&&v.length>=3?E=[null,v,null]:E=ve.exec(v),E&&(E[1]||!x))if(E[1]){if(x=x instanceof M?x[0]:x,M.merge(this,M.parseHTML(E[1],x&&x.nodeType?x.ownerDocument||x:H,!0)),s1.test(E[1])&&M.isPlainObject(x))for(E in x)p(this[E])?this[E](x[E]):this.attr(E,x[E]);return this}else return N=H.getElementById(E[2]),N&&(this[0]=N,this.length=1),this;else return!x||x.jquery?(x||w).find(v):this.constructor(x).find(v);else{if(v.nodeType)return this[0]=v,this.length=1,this;if(p(v))return w.ready!==void 0?w.ready(v):v(M)}return M.makeArray(v,this)};Vt.prototype=M.fn,x1=M(H);var ke=/^(?:parents|prev(?:Until|All))/,$e={children:!0,contents:!0,next:!0,prev:!0};M.fn.extend({has:function(v){var x=M(v,this),w=x.length;return this.filter(function(){for(var E=0;E<w;E++)if(M.contains(this,x[E]))return!0})},closest:function(v,x){var w,E=0,N=this.length,O=[],$=typeof v!="string"&&M(v);if(!h1.test(v)){for(;E<N;E++)for(w=this[E];w&&w!==x;w=w.parentNode)if(w.nodeType<11&&($?$.index(w)>-1:w.nodeType===1&&M.find.matchesSelector(w,v))){O.push(w);break}}return this.pushStack(O.length>1?M.uniqueSort(O):O)},index:function(v){return v?typeof v=="string"?a.call(M(v),this[0]):a.call(this,v.jquery?v[0]:v):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(v,x){return this.pushStack(M.uniqueSort(M.merge(this.get(),M(v,x))))},addBack:function(v){return this.add(v==null?this.prevObject:this.prevObject.filter(v))}});function Ci(v,x){for(;(v=v[x])&&v.nodeType!==1;);return v}M.each({parent:function(v){var x=v.parentNode;return x&&x.nodeType!==11?x:null},parents:function(v){return d1(v,"parentNode")},parentsUntil:function(v,x,w){return d1(v,"parentNode",w)},next:function(v){return Ci(v,"nextSibling")},prev:function(v){return Ci(v,"previousSibling")},nextAll:function(v){return d1(v,"nextSibling")},prevAll:function(v){return d1(v,"previousSibling")},nextUntil:function(v,x,w){return d1(v,"nextSibling",w)},prevUntil:function(v,x,w){return d1(v,"previousSibling",w)},siblings:function(v){return Y((v.parentNode||{}).firstChild,v)},children:function(v){return Y(v.firstChild)},contents:function(v){return v.contentDocument!=null&&i(v.contentDocument)?v.contentDocument:(S(v,"template")&&(v=v.content||v),M.merge([],v.childNodes))}},function(v,x){M.fn[v]=function(w,E){var N=M.map(this,x,w);return v.slice(-5)!=="Until"&&(E=w),E&&typeof E=="string"&&(N=M.filter(E,N)),this.length>1&&($e[v]||M.uniqueSort(N),ke.test(v)&&N.reverse()),this.pushStack(N)}});var rn=/[^\x20\t\r\n\f]+/g;function mn(v){var x={};return M.each(v.match(rn)||[],function(w,E){x[E]=!0}),x}M.Callbacks=function(v){v=typeof v=="string"?mn(v):M.extend({},v);var x,w,E,N,O=[],$=[],u1=-1,r1=function(){for(N=N||v.once,E=x=!0;$.length;u1=-1)for(w=$.shift();++u1<O.length;)O[u1].apply(w[0],w[1])===!1&&v.stopOnFalse&&(u1=O.length,w=!1);v.memory||(w=!1),x=!1,N&&(w?O=[]:O="")},M1={add:function(){return O&&(w&&!x&&(u1=O.length-1,$.push(w)),function z1(ne){M.each(ne,function(E1,he){p(he)?(!v.unique||!M1.has(he))&&O.push(he):he&&he.length&&V(he)!=="string"&&z1(he)})}(arguments),w&&!x&&r1()),this},remove:function(){return M.each(arguments,function(z1,ne){for(var E1;(E1=M.inArray(ne,O,E1))>-1;)O.splice(E1,1),E1<=u1&&u1--}),this},has:function(z1){return z1?M.inArray(z1,O)>-1:O.length>0},empty:function(){return O&&(O=[]),this},disable:function(){return N=$=[],O=w="",this},disabled:function(){return!O},lock:function(){return N=$=[],!w&&!x&&(O=w=""),this},locked:function(){return!!N},fireWith:function(z1,ne){return N||(ne=ne||[],ne=[z1,ne.slice?ne.slice():ne],$.push(ne),x||r1()),this},fire:function(){return M1.fireWith(this,arguments),this},fired:function(){return!!E}};return M1};function fe(v){return v}function qi(v){throw v}function Dr(v,x,w,E){var N;try{v&&p(N=v.promise)?N.call(v).done(x).fail(w):v&&p(N=v.then)?N.call(v,x,w):x.apply(void 0,[v].slice(E))}catch(O){w.apply(void 0,[O])}}M.extend({Deferred:function(v){var x=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.Callbacks("once memory"),1,"rejected"]],w="pending",E={state:function(){return w},always:function(){return N.done(arguments).fail(arguments),this},catch:function(O){return E.then(null,O)},pipe:function(){var O=arguments;return M.Deferred(function($){M.each(x,function(u1,r1){var M1=p(O[r1[4]])&&O[r1[4]];N[r1[1]](function(){var z1=M1&&M1.apply(this,arguments);z1&&p(z1.promise)?z1.promise().progress($.notify).done($.resolve).fail($.reject):$[r1[0]+"With"](this,M1?[z1]:arguments)})}),O=null}).promise()},then:function(O,$,u1){var r1=0;function M1(z1,ne,E1,he){return function(){var ni=this,Ln=arguments,Ai=function(){var k2,pd;if(!(z1<r1)){if(k2=E1.apply(ni,Ln),k2===ne.promise())throw new TypeError("Thenable self-resolution");pd=k2&&(typeof k2=="object"||typeof k2=="function")&&k2.then,p(pd)?he?pd.call(k2,M1(r1,ne,fe,he),M1(r1,ne,qi,he)):(r1++,pd.call(k2,M1(r1,ne,fe,he),M1(r1,ne,qi,he),M1(r1,ne,fe,ne.notifyWith))):(E1!==fe&&(ni=void 0,Ln=[k2]),(he||ne.resolveWith)(ni,Ln))}},Es=he?Ai:function(){try{Ai()}catch(k2){M.Deferred.exceptionHook&&M.Deferred.exceptionHook(k2,Es.error),z1+1>=r1&&(E1!==qi&&(ni=void 0,Ln=[k2]),ne.rejectWith(ni,Ln))}};z1?Es():(M.Deferred.getErrorHook?Es.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(Es.error=M.Deferred.getStackHook()),n.setTimeout(Es))}}return M.Deferred(function(z1){x[0][3].add(M1(0,z1,p(u1)?u1:fe,z1.notifyWith)),x[1][3].add(M1(0,z1,p(O)?O:fe)),x[2][3].add(M1(0,z1,p($)?$:qi))}).promise()},promise:function(O){return O!=null?M.extend(O,E):E}},N={};return M.each(x,function(O,$){var u1=$[2],r1=$[5];E[$[1]]=u1.add,r1&&u1.add(function(){w=r1},x[3-O][2].disable,x[3-O][3].disable,x[0][2].lock,x[0][3].lock),u1.add($[3].fire),N[$[0]]=function(){return N[$[0]+"With"](this===N?void 0:this,arguments),this},N[$[0]+"With"]=u1.fireWith}),E.promise(N),v&&v.call(N,N),N},when:function(v){var x=arguments.length,w=x,E=Array(w),N=r.call(arguments),O=M.Deferred(),$=function(u1){return function(r1){E[u1]=this,N[u1]=arguments.length>1?r.call(arguments):r1,--x||O.resolveWith(E,N)}};if(x<=1&&(Dr(v,O.done($(w)).resolve,O.reject,!x),O.state()==="pending"||p(N[w]&&N[w].then)))return O.then();for(;w--;)Dr(N[w],$(w),O.reject);return O.promise()}});var jr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;M.Deferred.exceptionHook=function(v,x){n.console&&n.console.warn&&v&&jr.test(v.name)&&n.console.warn("jQuery.Deferred exception: "+v.message,v.stack,x)},M.readyException=function(v){n.setTimeout(function(){throw v})};var Rt=M.Deferred();M.fn.ready=function(v){return Rt.then(v).catch(function(x){M.readyException(x)}),this},M.extend({isReady:!1,readyWait:1,ready:function(v){(v===!0?--M.readyWait:M.isReady)||(M.isReady=!0,!(v!==!0&&--M.readyWait>0)&&Rt.resolveWith(H,[M]))}}),M.ready.then=Rt.then;function gr(){H.removeEventListener("DOMContentLoaded",gr),n.removeEventListener("load",gr),M.ready()}H.readyState==="complete"||H.readyState!=="loading"&&!H.documentElement.doScroll?n.setTimeout(M.ready):(H.addEventListener("DOMContentLoaded",gr),n.addEventListener("load",gr));var vo=function(v,x,w,E,N,O,$){var u1=0,r1=v.length,M1=w==null;if(V(w)==="object"){N=!0;for(u1 in w)vo(v,x,u1,w[u1],!0,O,$)}else if(E!==void 0&&(N=!0,p(E)||($=!0),M1&&($?(x.call(v,E),x=null):(M1=x,x=function(z1,ne,E1){return M1.call(M(z1),E1)})),x))for(;u1<r1;u1++)x(v[u1],w,$?E:E.call(v[u1],u1,x(v[u1],w)));return N?v:M1?x.call(v):r1?x(v[0],w):O},Mi=/^-ms-/,hr=/-([a-z])/g;function b1(v,x){return x.toUpperCase()}function f1(v){return v.replace(Mi,"ms-").replace(hr,b1)}var C1=function(v){return v.nodeType===1||v.nodeType===9||!+v.nodeType};function q(){this.expando=M.expando+q.uid++}q.uid=1,q.prototype={cache:function(v){var x=v[this.expando];return x||(x={},C1(v)&&(v.nodeType?v[this.expando]=x:Object.defineProperty(v,this.expando,{value:x,configurable:!0}))),x},set:function(v,x,w){var E,N=this.cache(v);if(typeof x=="string")N[f1(x)]=w;else for(E in x)N[f1(E)]=x[E];return N},get:function(v,x){return x===void 0?this.cache(v):v[this.expando]&&v[this.expando][f1(x)]},access:function(v,x,w){return x===void 0||x&&typeof x=="string"&&w===void 0?this.get(v,x):(this.set(v,x,w),w!==void 0?w:x)},remove:function(v,x){var w,E=v[this.expando];if(E!==void 0){if(x!==void 0)for(Array.isArray(x)?x=x.map(f1):(x=f1(x),x=x in E?[x]:x.match(rn)||[]),w=x.length;w--;)delete E[x[w]];(x===void 0||M.isEmptyObject(E))&&(v.nodeType?v[this.expando]=void 0:delete v[this.expando])}},hasData:function(v){var x=v[this.expando];return x!==void 0&&!M.isEmptyObject(x)}};var W=new q,o1=new q,n1=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,w1=/[A-Z]/g;function ee(v){return v==="true"?!0:v==="false"?!1:v==="null"?null:v===+v+""?+v:n1.test(v)?JSON.parse(v):v}function ue(v,x,w){var E;if(w===void 0&&v.nodeType===1)if(E="data-"+x.replace(w1,"-$&").toLowerCase(),w=v.getAttribute(E),typeof w=="string"){try{w=ee(w)}catch{}o1.set(v,x,w)}else w=void 0;return w}M.extend({hasData:function(v){return o1.hasData(v)||W.hasData(v)},data:function(v,x,w){return o1.access(v,x,w)},removeData:function(v,x){o1.remove(v,x)},_data:function(v,x,w){return W.access(v,x,w)},_removeData:function(v,x){W.remove(v,x)}}),M.fn.extend({data:function(v,x){var w,E,N,O=this[0],$=O&&O.attributes;if(v===void 0){if(this.length&&(N=o1.get(O),O.nodeType===1&&!W.get(O,"hasDataAttrs"))){for(w=$.length;w--;)$[w]&&(E=$[w].name,E.indexOf("data-")===0&&(E=f1(E.slice(5)),ue(O,E,N[E])));W.set(O,"hasDataAttrs",!0)}return N}return typeof v=="object"?this.each(function(){o1.set(this,v)}):vo(this,function(u1){var r1;if(O&&u1===void 0)return r1=o1.get(O,v),r1!==void 0||(r1=ue(O,v),r1!==void 0)?r1:void 0;this.each(function(){o1.set(this,v,u1)})},null,x,arguments.length>1,null,!0)},removeData:function(v){return this.each(function(){o1.remove(this,v)})}}),M.extend({queue:function(v,x,w){var E;if(v)return x=(x||"fx")+"queue",E=W.get(v,x),w&&(!E||Array.isArray(w)?E=W.access(v,x,M.makeArray(w)):E.push(w)),E||[]},dequeue:function(v,x){x=x||"fx";var w=M.queue(v,x),E=w.length,N=w.shift(),O=M._queueHooks(v,x),$=function(){M.dequeue(v,x)};N==="inprogress"&&(N=w.shift(),E--),N&&(x==="fx"&&w.unshift("inprogress"),delete O.stop,N.call(v,$,O)),!E&&O&&O.empty.fire()},_queueHooks:function(v,x){var w=x+"queueHooks";return W.get(v,w)||W.access(v,w,{empty:M.Callbacks("once memory").add(function(){W.remove(v,[x+"queue",w])})})}}),M.fn.extend({queue:function(v,x){var w=2;return typeof v!="string"&&(x=v,v="fx",w--),arguments.length<w?M.queue(this[0],v):x===void 0?this:this.each(function(){var E=M.queue(this,v,x);M._queueHooks(this,v),v==="fx"&&E[0]!=="inprogress"&&M.dequeue(this,v)})},dequeue:function(v){return this.each(function(){M.dequeue(this,v)})},clearQueue:function(v){return this.queue(v||"fx",[])},promise:function(v,x){var w,E=1,N=M.Deferred(),O=this,$=this.length,u1=function(){--E||N.resolveWith(O,[O])};for(typeof v!="string"&&(x=v,v=void 0),v=v||"fx";$--;)w=W.get(O[$],v+"queueHooks"),w&&w.empty&&(E++,w.empty.add(u1));return u1(),N.promise(x)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],$t=H.documentElement,qt=function(v){return M.contains(v.ownerDocument,v)},Fe={composed:!0};$t.getRootNode&&(qt=function(v){return M.contains(v.ownerDocument,v)||v.getRootNode(Fe)===v.ownerDocument});var vi=function(v,x){return v=x||v,v.style.display==="none"||v.style.display===""&&qt(v)&&M.css(v,"display")==="none"};function Ki(v,x,w,E){var N,O,$=20,u1=E?function(){return E.cur()}:function(){return M.css(v,x,"")},r1=u1(),M1=w&&w[3]||(M.cssNumber[x]?"":"px"),z1=v.nodeType&&(M.cssNumber[x]||M1!=="px"&&+r1)&&it.exec(M.css(v,x));if(z1&&z1[3]!==M1){for(r1=r1/2,M1=M1||z1[3],z1=+r1||1;$--;)M.style(v,x,z1+M1),(1-O)*(1-(O=u1()/r1||.5))<=0&&($=0),z1=z1/O;z1=z1*2,M.style(v,x,z1+M1),w=w||[]}return w&&(z1=+z1||+r1||0,N=w[1]?z1+(w[1]+1)*w[2]:+w[2],E&&(E.unit=M1,E.start=z1,E.end=N)),N}var no={};function Kt(v){var x,w=v.ownerDocument,E=v.nodeName,N=no[E];return N||(x=w.body.appendChild(w.createElement(E)),N=M.css(x,"display"),x.parentNode.removeChild(x),N==="none"&&(N="block"),no[E]=N,N)}function Pi(v,x){for(var w,E,N=[],O=0,$=v.length;O<$;O++)E=v[O],E.style&&(w=E.style.display,x?(w==="none"&&(N[O]=W.get(E,"display")||null,N[O]||(E.style.display="")),E.style.display===""&&vi(E)&&(N[O]=Kt(E))):w!=="none"&&(N[O]="none",W.set(E,"display",w)));for(O=0;O<$;O++)N[O]!=null&&(v[O].style.display=N[O]);return v}M.fn.extend({show:function(){return Pi(this,!0)},hide:function(){return Pi(this)},toggle:function(v){return typeof v=="boolean"?v?this.show():this.hide():this.each(function(){vi(this)?M(this).show():M(this).hide()})}});var y2=/^(?:checkbox|radio)$/i,Ea=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ro=/^$|^module$|\/(?:java|ecma)script/i;(function(){var v=H.createDocumentFragment(),x=v.appendChild(H.createElement("div")),w=H.createElement("input");w.setAttribute("type","radio"),w.setAttribute("checked","checked"),w.setAttribute("name","t"),x.appendChild(w),C.checkClone=x.cloneNode(!0).cloneNode(!0).lastChild.checked,x.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!x.cloneNode(!0).lastChild.defaultValue,x.innerHTML="<option></option>",C.option=!!x.lastChild})();var On={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};On.tbody=On.tfoot=On.colgroup=On.caption=On.thead,On.th=On.td,C.option||(On.optgroup=On.option=[1,"<select multiple='multiple'>","</select>"]);function tr(v,x){var w;return typeof v.getElementsByTagName<"u"?w=v.getElementsByTagName(x||"*"):typeof v.querySelectorAll<"u"?w=v.querySelectorAll(x||"*"):w=[],x===void 0||x&&S(v,x)?M.merge([v],w):w}function na(v,x){for(var w=0,E=v.length;w<E;w++)W.set(v[w],"globalEval",!x||W.get(x[w],"globalEval"))}var C5=/<|&#?\w+;/;function n2(v,x,w,E,N){for(var O,$,u1,r1,M1,z1,ne=x.createDocumentFragment(),E1=[],he=0,ni=v.length;he<ni;he++)if(O=v[he],O||O===0)if(V(O)==="object")M.merge(E1,O.nodeType?[O]:O);else if(!C5.test(O))E1.push(x.createTextNode(O));else{for($=$||ne.appendChild(x.createElement("div")),u1=(Ea.exec(O)||["",""])[1].toLowerCase(),r1=On[u1]||On._default,$.innerHTML=r1[1]+M.htmlPrefilter(O)+r1[2],z1=r1[0];z1--;)$=$.lastChild;M.merge(E1,$.childNodes),$=ne.firstChild,$.textContent=""}for(ne.textContent="",he=0;O=E1[he++];){if(E&&M.inArray(O,E)>-1){N&&N.push(O);continue}if(M1=qt(O),$=tr(ne.appendChild(O),"script"),M1&&na($),w)for(z1=0;O=$[z1++];)ro.test(O.type||"")&&w.push(O)}return ne}var J0=/^([^.]*)(?:\.(.+)|)/;function fn(){return!0}function Ir(){return!1}function ra(v,x,w,E,N,O){var $,u1;if(typeof x=="object"){typeof w!="string"&&(E=E||w,w=void 0);for(u1 in x)ra(v,u1,w,E,x[u1],O);return v}if(E==null&&N==null?(N=w,E=w=void 0):N==null&&(typeof w=="string"?(N=E,E=void 0):(N=E,E=w,w=void 0)),N===!1)N=Ir;else if(!N)return v;return O===1&&($=N,N=function(r1){return M().off(r1),$.apply(this,arguments)},N.guid=$.guid||($.guid=M.guid++)),v.each(function(){M.event.add(this,x,N,E,w)})}M.event={global:{},add:function(v,x,w,E,N){var O,$,u1,r1,M1,z1,ne,E1,he,ni,Ln,Ai=W.get(v);if(C1(v))for(w.handler&&(O=w,w=O.handler,N=O.selector),N&&M.find.matchesSelector($t,N),w.guid||(w.guid=M.guid++),(r1=Ai.events)||(r1=Ai.events=Object.create(null)),($=Ai.handle)||($=Ai.handle=function(Es){return typeof M<"u"&&M.event.triggered!==Es.type?M.event.dispatch.apply(v,arguments):void 0}),x=(x||"").match(rn)||[""],M1=x.length;M1--;)u1=J0.exec(x[M1])||[],he=Ln=u1[1],ni=(u1[2]||"").split(".").sort(),he&&(ne=M.event.special[he]||{},he=(N?ne.delegateType:ne.bindType)||he,ne=M.event.special[he]||{},z1=M.extend({type:he,origType:Ln,data:E,handler:w,guid:w.guid,selector:N,needsContext:N&&M.expr.match.needsContext.test(N),namespace:ni.join(".")},O),(E1=r1[he])||(E1=r1[he]=[],E1.delegateCount=0,(!ne.setup||ne.setup.call(v,E,ni,$)===!1)&&v.addEventListener&&v.addEventListener(he,$)),ne.add&&(ne.add.call(v,z1),z1.handler.guid||(z1.handler.guid=w.guid)),N?E1.splice(E1.delegateCount++,0,z1):E1.push(z1),M.event.global[he]=!0)},remove:function(v,x,w,E,N){var O,$,u1,r1,M1,z1,ne,E1,he,ni,Ln,Ai=W.hasData(v)&&W.get(v);if(!(!Ai||!(r1=Ai.events))){for(x=(x||"").match(rn)||[""],M1=x.length;M1--;){if(u1=J0.exec(x[M1])||[],he=Ln=u1[1],ni=(u1[2]||"").split(".").sort(),!he){for(he in r1)M.event.remove(v,he+x[M1],w,E,!0);continue}for(ne=M.event.special[he]||{},he=(E?ne.delegateType:ne.bindType)||he,E1=r1[he]||[],u1=u1[2]&&new RegExp("(^|\\.)"+ni.join("\\.(?:.*\\.|)")+"(\\.|$)"),$=O=E1.length;O--;)z1=E1[O],(N||Ln===z1.origType)&&(!w||w.guid===z1.guid)&&(!u1||u1.test(z1.namespace))&&(!E||E===z1.selector||E==="**"&&z1.selector)&&(E1.splice(O,1),z1.selector&&E1.delegateCount--,ne.remove&&ne.remove.call(v,z1));$&&!E1.length&&((!ne.teardown||ne.teardown.call(v,ni,Ai.handle)===!1)&&M.removeEvent(v,he,Ai.handle),delete r1[he])}M.isEmptyObject(r1)&&W.remove(v,"handle events")}},dispatch:function(v){var x,w,E,N,O,$,u1=new Array(arguments.length),r1=M.event.fix(v),M1=(W.get(this,"events")||Object.create(null))[r1.type]||[],z1=M.event.special[r1.type]||{};for(u1[0]=r1,x=1;x<arguments.length;x++)u1[x]=arguments[x];if(r1.delegateTarget=this,!(z1.preDispatch&&z1.preDispatch.call(this,r1)===!1)){for($=M.event.handlers.call(this,r1,M1),x=0;(N=$[x++])&&!r1.isPropagationStopped();)for(r1.currentTarget=N.elem,w=0;(O=N.handlers[w++])&&!r1.isImmediatePropagationStopped();)(!r1.rnamespace||O.namespace===!1||r1.rnamespace.test(O.namespace))&&(r1.handleObj=O,r1.data=O.data,E=((M.event.special[O.origType]||{}).handle||O.handler).apply(N.elem,u1),E!==void 0&&(r1.result=E)===!1&&(r1.preventDefault(),r1.stopPropagation()));return z1.postDispatch&&z1.postDispatch.call(this,r1),r1.result}},handlers:function(v,x){var w,E,N,O,$,u1=[],r1=x.delegateCount,M1=v.target;if(r1&&M1.nodeType&&!(v.type==="click"&&v.button>=1)){for(;M1!==this;M1=M1.parentNode||this)if(M1.nodeType===1&&!(v.type==="click"&&M1.disabled===!0)){for(O=[],$={},w=0;w<r1;w++)E=x[w],N=E.selector+" ",$[N]===void 0&&($[N]=E.needsContext?M(N,this).index(M1)>-1:M.find(N,this,null,[M1]).length),$[N]&&O.push(E);O.length&&u1.push({elem:M1,handlers:O})}}return M1=this,r1<x.length&&u1.push({elem:M1,handlers:x.slice(r1)}),u1},addProp:function(v,x){Object.defineProperty(M.Event.prototype,v,{enumerable:!0,configurable:!0,get:p(x)?function(){if(this.originalEvent)return x(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[v]},set:function(w){Object.defineProperty(this,v,{enumerable:!0,configurable:!0,writable:!0,value:w})}})},fix:function(v){return v[M.expando]?v:new M.Event(v)},special:{load:{noBubble:!0},click:{setup:function(v){var x=this||v;return y2.test(x.type)&&x.click&&S(x,"input")&&Da(x,"click",!0),!1},trigger:function(v){var x=this||v;return y2.test(x.type)&&x.click&&S(x,"input")&&Da(x,"click"),!0},_default:function(v){var x=v.target;return y2.test(x.type)&&x.click&&S(x,"input")&&W.get(x,"click")||S(x,"a")}},beforeunload:{postDispatch:function(v){v.result!==void 0&&v.originalEvent&&(v.originalEvent.returnValue=v.result)}}}};function Da(v,x,w){if(!w){W.get(v,x)===void 0&&M.event.add(v,x,fn);return}W.set(v,x,!1),M.event.add(v,x,{namespace:!1,handler:function(E){var N,O=W.get(this,x);if(E.isTrigger&1&&this[x]){if(O)(M.event.special[x]||{}).delegateType&&E.stopPropagation();else if(O=r.call(arguments),W.set(this,x,O),this[x](),N=W.get(this,x),W.set(this,x,!1),O!==N)return E.stopImmediatePropagation(),E.preventDefault(),N}else O&&(W.set(this,x,M.event.trigger(O[0],O.slice(1),this)),E.stopPropagation(),E.isImmediatePropagationStopped=fn)}})}M.removeEvent=function(v,x,w){v.removeEventListener&&v.removeEventListener(x,w)},M.Event=function(v,x){if(!(this instanceof M.Event))return new M.Event(v,x);v&&v.type?(this.originalEvent=v,this.type=v.type,this.isDefaultPrevented=v.defaultPrevented||v.defaultPrevented===void 0&&v.returnValue===!1?fn:Ir,this.target=v.target&&v.target.nodeType===3?v.target.parentNode:v.target,this.currentTarget=v.currentTarget,this.relatedTarget=v.relatedTarget):this.type=v,x&&M.extend(this,x),this.timeStamp=v&&v.timeStamp||Date.now(),this[M.expando]=!0},M.Event.prototype={constructor:M.Event,isDefaultPrevented:Ir,isPropagationStopped:Ir,isImmediatePropagationStopped:Ir,isSimulated:!1,preventDefault:function(){var v=this.originalEvent;this.isDefaultPrevented=fn,v&&!this.isSimulated&&v.preventDefault()},stopPropagation:function(){var v=this.originalEvent;this.isPropagationStopped=fn,v&&!this.isSimulated&&v.stopPropagation()},stopImmediatePropagation:function(){var v=this.originalEvent;this.isImmediatePropagationStopped=fn,v&&!this.isSimulated&&v.stopImmediatePropagation(),this.stopPropagation()}},M.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},M.event.addProp),M.each({focus:"focusin",blur:"focusout"},function(v,x){function w(E){if(H.documentMode){var N=W.get(this,"handle"),O=M.event.fix(E);O.type=E.type==="focusin"?"focus":"blur",O.isSimulated=!0,N(E),O.target===O.currentTarget&&N(O)}else M.event.simulate(x,E.target,M.event.fix(E))}M.event.special[v]={setup:function(){var E;if(Da(this,v,!0),H.documentMode)E=W.get(this,x),E||this.addEventListener(x,w),W.set(this,x,(E||0)+1);else return!1},trigger:function(){return Da(this,v),!0},teardown:function(){var E;if(H.documentMode)E=W.get(this,x)-1,E?W.set(this,x,E):(this.removeEventListener(x,w),W.remove(this,x));else return!1},_default:function(E){return W.get(E.target,v)},delegateType:x},M.event.special[x]={setup:function(){var E=this.ownerDocument||this.document||this,N=H.documentMode?this:E,O=W.get(N,x);O||(H.documentMode?this.addEventListener(x,w):E.addEventListener(v,w,!0)),W.set(N,x,(O||0)+1)},teardown:function(){var E=this.ownerDocument||this.document||this,N=H.documentMode?this:E,O=W.get(N,x)-1;O?W.set(N,x,O):(H.documentMode?this.removeEventListener(x,w):E.removeEventListener(v,w,!0),W.remove(N,x))}}}),M.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(v,x){M.event.special[v]={delegateType:x,bindType:x,handle:function(w){var E,N=this,O=w.relatedTarget,$=w.handleObj;return(!O||O!==N&&!M.contains(N,O))&&(w.type=$.origType,E=$.handler.apply(this,arguments),w.type=x),E}}}),M.fn.extend({on:function(v,x,w,E){return ra(this,v,x,w,E)},one:function(v,x,w,E){return ra(this,v,x,w,E,1)},off:function(v,x,w){var E,N;if(v&&v.preventDefault&&v.handleObj)return E=v.handleObj,M(v.delegateTarget).off(E.namespace?E.origType+"."+E.namespace:E.origType,E.selector,E.handler),this;if(typeof v=="object"){for(N in v)this.off(N,x,v[N]);return this}return(x===!1||typeof x=="function")&&(w=x,x=void 0),w===!1&&(w=Ir),this.each(function(){M.event.remove(this,v,w,x)})}});var jH=/<script|<style|<link/i,Y1=/checked\s*(?:[^=]|=\s*.checked.)/i,Q1=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function ze(v,x){return S(v,"table")&&S(x.nodeType!==11?x:x.firstChild,"tr")&&M(v).children("tbody")[0]||v}function Re(v){return v.type=(v.getAttribute("type")!==null)+"/"+v.type,v}function Je(v){return(v.type||"").slice(0,5)==="true/"?v.type=v.type.slice(5):v.removeAttribute("type"),v}function ft(v,x){var w,E,N,O,$,u1,r1;if(x.nodeType===1){if(W.hasData(v)&&(O=W.get(v),r1=O.events,r1)){W.remove(x,"handle events");for(N in r1)for(w=0,E=r1[N].length;w<E;w++)M.event.add(x,N,r1[N][w])}o1.hasData(v)&&($=o1.access(v),u1=M.extend({},$),o1.set(x,u1))}}function At(v,x){var w=x.nodeName.toLowerCase();w==="input"&&y2.test(v.type)?x.checked=v.checked:(w==="input"||w==="textarea")&&(x.defaultValue=v.defaultValue)}function oe(v,x,w,E){x=o(x);var N,O,$,u1,r1,M1,z1=0,ne=v.length,E1=ne-1,he=x[0],ni=p(he);if(ni||ne>1&&typeof he=="string"&&!C.checkClone&&Y1.test(he))return v.each(function(Ln){var Ai=v.eq(Ln);ni&&(x[0]=he.call(this,Ln,Ai.html())),oe(Ai,x,w,E)});if(ne&&(N=n2(x,v[0].ownerDocument,!1,v,E),O=N.firstChild,N.childNodes.length===1&&(N=O),O||E)){for($=M.map(tr(N,"script"),Re),u1=$.length;z1<ne;z1++)r1=N,z1!==E1&&(r1=M.clone(r1,!0,!0),u1&&M.merge($,tr(r1,"script"))),w.call(v[z1],r1,z1);if(u1)for(M1=$[$.length-1].ownerDocument,M.map($,Je),z1=0;z1<u1;z1++)r1=$[z1],ro.test(r1.type||"")&&!W.access(r1,"globalEval")&&M.contains(M1,r1)&&(r1.src&&(r1.type||"").toLowerCase()!=="module"?M._evalUrl&&!r1.noModule&&M._evalUrl(r1.src,{nonce:r1.nonce||r1.getAttribute("nonce")},M1):L(r1.textContent.replace(Q1,""),r1,M1))}return v}function m1(v,x,w){for(var E,N=x?M.filter(x,v):v,O=0;(E=N[O])!=null;O++)!w&&E.nodeType===1&&M.cleanData(tr(E)),E.parentNode&&(w&&qt(E)&&na(tr(E,"script")),E.parentNode.removeChild(E));return v}M.extend({htmlPrefilter:function(v){return v},clone:function(v,x,w){var E,N,O,$,u1=v.cloneNode(!0),r1=qt(v);if(!C.noCloneChecked&&(v.nodeType===1||v.nodeType===11)&&!M.isXMLDoc(v))for($=tr(u1),O=tr(v),E=0,N=O.length;E<N;E++)At(O[E],$[E]);if(x)if(w)for(O=O||tr(v),$=$||tr(u1),E=0,N=O.length;E<N;E++)ft(O[E],$[E]);else ft(v,u1);return $=tr(u1,"script"),$.length>0&&na($,!r1&&tr(v,"script")),u1},cleanData:function(v){for(var x,w,E,N=M.event.special,O=0;(w=v[O])!==void 0;O++)if(C1(w)){if(x=w[W.expando]){if(x.events)for(E in x.events)N[E]?M.event.remove(w,E):M.removeEvent(w,E,x.handle);w[W.expando]=void 0}w[o1.expando]&&(w[o1.expando]=void 0)}}}),M.fn.extend({detach:function(v){return m1(this,v,!0)},remove:function(v){return m1(this,v)},text:function(v){return vo(this,function(x){return x===void 0?M.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=x)})},null,v,arguments.length)},append:function(){return oe(this,arguments,function(v){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=ze(this,v);x.appendChild(v)}})},prepend:function(){return oe(this,arguments,function(v){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var x=ze(this,v);x.insertBefore(v,x.firstChild)}})},before:function(){return oe(this,arguments,function(v){this.parentNode&&this.parentNode.insertBefore(v,this)})},after:function(){return oe(this,arguments,function(v){this.parentNode&&this.parentNode.insertBefore(v,this.nextSibling)})},empty:function(){for(var v,x=0;(v=this[x])!=null;x++)v.nodeType===1&&(M.cleanData(tr(v,!1)),v.textContent="");return this},clone:function(v,x){return v=v??!1,x=x??v,this.map(function(){return M.clone(this,v,x)})},html:function(v){return vo(this,function(x){var w=this[0]||{},E=0,N=this.length;if(x===void 0&&w.nodeType===1)return w.innerHTML;if(typeof x=="string"&&!jH.test(x)&&!On[(Ea.exec(x)||["",""])[1].toLowerCase()]){x=M.htmlPrefilter(x);try{for(;E<N;E++)w=this[E]||{},w.nodeType===1&&(M.cleanData(tr(w,!1)),w.innerHTML=x);w=0}catch{}}w&&this.empty().append(x)},null,v,arguments.length)},replaceWith:function(){var v=[];return oe(this,arguments,function(x){var w=this.parentNode;M.inArray(this,v)<0&&(M.cleanData(tr(this)),w&&w.replaceChild(x,this))},v)}}),M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(v,x){M.fn[v]=function(w){for(var E,N=[],O=M(w),$=O.length-1,u1=0;u1<=$;u1++)E=u1===$?this:this.clone(!0),M(O[u1])[x](E),s.apply(N,E.get());return this.pushStack(N)}});var se=new RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),Ce=/^--/,Gt=function(v){var x=v.ownerDocument.defaultView;return(!x||!x.opener)&&(x=n),x.getComputedStyle(v)},gn=function(v,x,w){var E,N,O={};for(N in x)O[N]=v.style[N],v.style[N]=x[N];E=w.call(v);for(N in x)v.style[N]=O[N];return E},Ro=new RegExp(Oe.join("|"),"i");(function(){function v(){if(M1){r1.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",M1.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",$t.appendChild(r1).appendChild(M1);var z1=n.getComputedStyle(M1);w=z1.top!=="1%",u1=x(z1.marginLeft)===12,M1.style.right="60%",O=x(z1.right)===36,E=x(z1.width)===36,M1.style.position="absolute",N=x(M1.offsetWidth/3)===12,$t.removeChild(r1),M1=null}}function x(z1){return Math.round(parseFloat(z1))}var w,E,N,O,$,u1,r1=H.createElement("div"),M1=H.createElement("div");M1.style&&(M1.style.backgroundClip="content-box",M1.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=M1.style.backgroundClip==="content-box",M.extend(C,{boxSizingReliable:function(){return v(),E},pixelBoxStyles:function(){return v(),O},pixelPosition:function(){return v(),w},reliableMarginLeft:function(){return v(),u1},scrollboxSize:function(){return v(),N},reliableTrDimensions:function(){var z1,ne,E1,he;return $==null&&(z1=H.createElement("table"),ne=H.createElement("tr"),E1=H.createElement("div"),z1.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ne.style.cssText="box-sizing:content-box;border:1px solid",ne.style.height="1px",E1.style.height="9px",E1.style.display="block",$t.appendChild(z1).appendChild(ne).appendChild(E1),he=n.getComputedStyle(ne),$=parseInt(he.height,10)+parseInt(he.borderTopWidth,10)+parseInt(he.borderBottomWidth,10)===ne.offsetHeight,$t.removeChild(z1)),$}}))})();function Fi(v,x,w){var E,N,O,$,u1=Ce.test(x),r1=v.style;return w=w||Gt(v),w&&($=w.getPropertyValue(x)||w[x],u1&&$&&($=$.replace(B,"$1")||void 0),$===""&&!qt(v)&&($=M.style(v,x)),!C.pixelBoxStyles()&&se.test($)&&Ro.test(x)&&(E=r1.width,N=r1.minWidth,O=r1.maxWidth,r1.minWidth=r1.maxWidth=r1.width=$,$=w.width,r1.width=E,r1.minWidth=N,r1.maxWidth=O)),$!==void 0?$+"":$}function n0(v,x){return{get:function(){if(v()){delete this.get;return}return(this.get=x).apply(this,arguments)}}}var xp=["Webkit","Moz","ms"],$H=H.createElement("div").style,Gj={};function PI1(v){for(var x=v[0].toUpperCase()+v.slice(1),w=xp.length;w--;)if(v=xp[w]+x,v in $H)return v}function Yj(v){var x=M.cssProps[v]||Gj[v];return x||(v in $H?v:Gj[v]=PI1(v)||v)}var FI1=/^(none|table(?!-c[ea]).+)/,BI1={position:"absolute",visibility:"hidden",display:"block"},z31={letterSpacing:"0",fontWeight:"400"};function W31(v,x,w){var E=it.exec(x);return E?Math.max(0,E[2]-(w||0))+(E[3]||"px"):x}function Qj(v,x,w,E,N,O){var $=x==="width"?1:0,u1=0,r1=0,M1=0;if(w===(E?"border":"content"))return 0;for(;$<4;$+=2)w==="margin"&&(M1+=M.css(v,w+Oe[$],!0,N)),E?(w==="content"&&(r1-=M.css(v,"padding"+Oe[$],!0,N)),w!=="margin"&&(r1-=M.css(v,"border"+Oe[$]+"Width",!0,N))):(r1+=M.css(v,"padding"+Oe[$],!0,N),w!=="padding"?r1+=M.css(v,"border"+Oe[$]+"Width",!0,N):u1+=M.css(v,"border"+Oe[$]+"Width",!0,N));return!E&&O>=0&&(r1+=Math.max(0,Math.ceil(v["offset"+x[0].toUpperCase()+x.slice(1)]-O-r1-u1-.5))||0),r1+M1}function U31(v,x,w){var E=Gt(v),N=!C.boxSizingReliable()||w,O=N&&M.css(v,"boxSizing",!1,E)==="border-box",$=O,u1=Fi(v,x,E),r1="offset"+x[0].toUpperCase()+x.slice(1);if(se.test(u1)){if(!w)return u1;u1="auto"}return(!C.boxSizingReliable()&&O||!C.reliableTrDimensions()&&S(v,"tr")||u1==="auto"||!parseFloat(u1)&&M.css(v,"display",!1,E)==="inline")&&v.getClientRects().length&&(O=M.css(v,"boxSizing",!1,E)==="border-box",$=r1 in v,$&&(u1=v[r1])),u1=parseFloat(u1)||0,u1+Qj(v,x,w||(O?"border":"content"),$,E,u1)+"px"}M.extend({cssHooks:{opacity:{get:function(v,x){if(x){var w=Fi(v,"opacity");return w===""?"1":w}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(v,x,w,E){if(!(!v||v.nodeType===3||v.nodeType===8||!v.style)){var N,O,$,u1=f1(x),r1=Ce.test(x),M1=v.style;if(r1||(x=Yj(u1)),$=M.cssHooks[x]||M.cssHooks[u1],w!==void 0){if(O=typeof w,O==="string"&&(N=it.exec(w))&&N[1]&&(w=Ki(v,x,N),O="number"),w==null||w!==w)return;O==="number"&&!r1&&(w+=N&&N[3]||(M.cssNumber[u1]?"":"px")),!C.clearCloneStyle&&w===""&&x.indexOf("background")===0&&(M1[x]="inherit"),(!$||!("set"in $)||(w=$.set(v,w,E))!==void 0)&&(r1?M1.setProperty(x,w):M1[x]=w)}else return $&&"get"in $&&(N=$.get(v,!1,E))!==void 0?N:M1[x]}},css:function(v,x,w,E){var N,O,$,u1=f1(x),r1=Ce.test(x);return r1||(x=Yj(u1)),$=M.cssHooks[x]||M.cssHooks[u1],$&&"get"in $&&(N=$.get(v,!0,w)),N===void 0&&(N=Fi(v,x,E)),N==="normal"&&x in z31&&(N=z31[x]),w===""||w?(O=parseFloat(N),w===!0||isFinite(O)?O||0:N):N}}),M.each(["height","width"],function(v,x){M.cssHooks[x]={get:function(w,E,N){if(E)return FI1.test(M.css(w,"display"))&&(!w.getClientRects().length||!w.getBoundingClientRect().width)?gn(w,BI1,function(){return U31(w,x,N)}):U31(w,x,N)},set:function(w,E,N){var O,$=Gt(w),u1=!C.scrollboxSize()&&$.position==="absolute",r1=u1||N,M1=r1&&M.css(w,"boxSizing",!1,$)==="border-box",z1=N?Qj(w,x,N,M1,$):0;return M1&&u1&&(z1-=Math.ceil(w["offset"+x[0].toUpperCase()+x.slice(1)]-parseFloat($[x])-Qj(w,x,"border",!1,$)-.5)),z1&&(O=it.exec(E))&&(O[3]||"px")!=="px"&&(w.style[x]=E,E=M.css(w,x)),W31(w,E,z1)}}}),M.cssHooks.marginLeft=n0(C.reliableMarginLeft,function(v,x){if(x)return(parseFloat(Fi(v,"marginLeft"))||v.getBoundingClientRect().left-gn(v,{marginLeft:0},function(){return v.getBoundingClientRect().left}))+"px"}),M.each({margin:"",padding:"",border:"Width"},function(v,x){M.cssHooks[v+x]={expand:function(w){for(var E=0,N={},O=typeof w=="string"?w.split(" "):[w];E<4;E++)N[v+Oe[E]+x]=O[E]||O[E-2]||O[0];return N}},v!=="margin"&&(M.cssHooks[v+x].set=W31)}),M.fn.extend({css:function(v,x){return vo(this,function(w,E,N){var O,$,u1={},r1=0;if(Array.isArray(E)){for(O=Gt(w),$=E.length;r1<$;r1++)u1[E[r1]]=M.css(w,E[r1],!1,O);return u1}return N!==void 0?M.style(w,E,N):M.css(w,E)},v,x,arguments.length>1)}});function p5(v,x,w,E,N){return new p5.prototype.init(v,x,w,E,N)}M.Tween=p5,p5.prototype={constructor:p5,init:function(v,x,w,E,N,O){this.elem=v,this.prop=w,this.easing=N||M.easing._default,this.options=x,this.start=this.now=this.cur(),this.end=E,this.unit=O||(M.cssNumber[w]?"":"px")},cur:function(){var v=p5.propHooks[this.prop];return v&&v.get?v.get(this):p5.propHooks._default.get(this)},run:function(v){var x,w=p5.propHooks[this.prop];return this.options.duration?this.pos=x=M.easing[this.easing](v,this.options.duration*v,0,1,this.options.duration):this.pos=x=v,this.now=(this.end-this.start)*x+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),w&&w.set?w.set(this):p5.propHooks._default.set(this),this}},p5.prototype.init.prototype=p5.prototype,p5.propHooks={_default:{get:function(v){var x;return v.elem.nodeType!==1||v.elem[v.prop]!=null&&v.elem.style[v.prop]==null?v.elem[v.prop]:(x=M.css(v.elem,v.prop,""),!x||x==="auto"?0:x)},set:function(v){M.fx.step[v.prop]?M.fx.step[v.prop](v):v.elem.nodeType===1&&(M.cssHooks[v.prop]||v.elem.style[Yj(v.prop)]!=null)?M.style(v.elem,v.prop,v.now+v.unit):v.elem[v.prop]=v.now}}},p5.propHooks.scrollTop=p5.propHooks.scrollLeft={set:function(v){v.elem.nodeType&&v.elem.parentNode&&(v.elem[v.prop]=v.now)}},M.easing={linear:function(v){return v},swing:function(v){return .5-Math.cos(v*Math.PI)/2},_default:"swing"},M.fx=p5.prototype.init,M.fx.step={};var bp,uw,ZI1=/^(?:toggle|show|hide)$/,zI1=/queueHooks$/;function Xj(){uw&&(H.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Xj):n.setTimeout(Xj,M.fx.interval),M.fx.tick())}function j31(){return n.setTimeout(function(){bp=void 0}),bp=Date.now()}function hw(v,x){var w,E=0,N={height:v};for(x=x?1:0;E<4;E+=2-x)w=Oe[E],N["margin"+w]=N["padding"+w]=v;return x&&(N.opacity=N.width=v),N}function $31(v,x,w){for(var E,N=(ql.tweeners[x]||[]).concat(ql.tweeners["*"]),O=0,$=N.length;O<$;O++)if(E=N[O].call(w,x,v))return E}function WI1(v,x,w){var E,N,O,$,u1,r1,M1,z1,ne="width"in x||"height"in x,E1=this,he={},ni=v.style,Ln=v.nodeType&&vi(v),Ai=W.get(v,"fxshow");w.queue||($=M._queueHooks(v,"fx"),$.unqueued==null&&($.unqueued=0,u1=$.empty.fire,$.empty.fire=function(){$.unqueued||u1()}),$.unqueued++,E1.always(function(){E1.always(function(){$.unqueued--,M.queue(v,"fx").length||$.empty.fire()})}));for(E in x)if(N=x[E],ZI1.test(N)){if(delete x[E],O=O||N==="toggle",N===(Ln?"hide":"show"))if(N==="show"&&Ai&&Ai[E]!==void 0)Ln=!0;else continue;he[E]=Ai&&Ai[E]||M.style(v,E)}if(r1=!M.isEmptyObject(x),!(!r1&&M.isEmptyObject(he))){ne&&v.nodeType===1&&(w.overflow=[ni.overflow,ni.overflowX,ni.overflowY],M1=Ai&&Ai.display,M1==null&&(M1=W.get(v,"display")),z1=M.css(v,"display"),z1==="none"&&(M1?z1=M1:(Pi([v],!0),M1=v.style.display||M1,z1=M.css(v,"display"),Pi([v]))),(z1==="inline"||z1==="inline-block"&&M1!=null)&&M.css(v,"float")==="none"&&(r1||(E1.done(function(){ni.display=M1}),M1==null&&(z1=ni.display,M1=z1==="none"?"":z1)),ni.display="inline-block")),w.overflow&&(ni.overflow="hidden",E1.always(function(){ni.overflow=w.overflow[0],ni.overflowX=w.overflow[1],ni.overflowY=w.overflow[2]})),r1=!1;for(E in he)r1||(Ai?"hidden"in Ai&&(Ln=Ai.hidden):Ai=W.access(v,"fxshow",{display:M1}),O&&(Ai.hidden=!Ln),Ln&&Pi([v],!0),E1.done(function(){Ln||Pi([v]),W.remove(v,"fxshow");for(E in he)M.style(v,E,he[E])})),r1=$31(Ln?Ai[E]:0,E,E1),E in Ai||(Ai[E]=r1.start,Ln&&(r1.end=r1.start,r1.start=0))}}function UI1(v,x){var w,E,N,O,$;for(w in v)if(E=f1(w),N=x[E],O=v[w],Array.isArray(O)&&(N=O[1],O=v[w]=O[0]),w!==E&&(v[E]=O,delete v[w]),$=M.cssHooks[E],$&&"expand"in $){O=$.expand(O),delete v[E];for(w in O)w in v||(v[w]=O[w],x[w]=N)}else x[E]=N}function ql(v,x,w){var E,N,O=0,$=ql.prefilters.length,u1=M.Deferred().always(function(){delete r1.elem}),r1=function(){if(N)return!1;for(var ne=bp||j31(),E1=Math.max(0,M1.startTime+M1.duration-ne),he=E1/M1.duration||0,ni=1-he,Ln=0,Ai=M1.tweens.length;Ln<Ai;Ln++)M1.tweens[Ln].run(ni);return u1.notifyWith(v,[M1,ni,E1]),ni<1&&Ai?E1:(Ai||u1.notifyWith(v,[M1,1,0]),u1.resolveWith(v,[M1]),!1)},M1=u1.promise({elem:v,props:M.extend({},x),opts:M.extend(!0,{specialEasing:{},easing:M.easing._default},w),originalProperties:x,originalOptions:w,startTime:bp||j31(),duration:w.duration,tweens:[],createTween:function(ne,E1){var he=M.Tween(v,M1.opts,ne,E1,M1.opts.specialEasing[ne]||M1.opts.easing);return M1.tweens.push(he),he},stop:function(ne){var E1=0,he=ne?M1.tweens.length:0;if(N)return this;for(N=!0;E1<he;E1++)M1.tweens[E1].run(1);return ne?(u1.notifyWith(v,[M1,1,0]),u1.resolveWith(v,[M1,ne])):u1.rejectWith(v,[M1,ne]),this}}),z1=M1.props;for(UI1(z1,M1.opts.specialEasing);O<$;O++)if(E=ql.prefilters[O].call(M1,v,z1,M1.opts),E)return p(E.stop)&&(M._queueHooks(M1.elem,M1.opts.queue).stop=E.stop.bind(E)),E;return M.map(z1,$31,M1),p(M1.opts.start)&&M1.opts.start.call(v,M1),M1.progress(M1.opts.progress).done(M1.opts.done,M1.opts.complete).fail(M1.opts.fail).always(M1.opts.always),M.fx.timer(M.extend(r1,{elem:v,anim:M1,queue:M1.opts.queue})),M1}M.Animation=M.extend(ql,{tweeners:{"*":[function(v,x){var w=this.createTween(v,x);return Ki(w.elem,v,it.exec(x),w),w}]},tweener:function(v,x){p(v)?(x=v,v=["*"]):v=v.match(rn);for(var w,E=0,N=v.length;E<N;E++)w=v[E],ql.tweeners[w]=ql.tweeners[w]||[],ql.tweeners[w].unshift(x)},prefilters:[WI1],prefilter:function(v,x){x?ql.prefilters.unshift(v):ql.prefilters.push(v)}}),M.speed=function(v,x,w){var E=v&&typeof v=="object"?M.extend({},v):{complete:w||!w&&x||p(v)&&v,duration:v,easing:w&&x||x&&!p(x)&&x};return M.fx.off?E.duration=0:typeof E.duration!="number"&&(E.duration in M.fx.speeds?E.duration=M.fx.speeds[E.duration]:E.duration=M.fx.speeds._default),(E.queue==null||E.queue===!0)&&(E.queue="fx"),E.old=E.complete,E.complete=function(){p(E.old)&&E.old.call(this),E.queue&&M.dequeue(this,E.queue)},E},M.fn.extend({fadeTo:function(v,x,w,E){return this.filter(vi).css("opacity",0).show().end().animate({opacity:x},v,w,E)},animate:function(v,x,w,E){var N=M.isEmptyObject(v),O=M.speed(x,w,E),$=function(){var u1=ql(this,M.extend({},v),O);(N||W.get(this,"finish"))&&u1.stop(!0)};return $.finish=$,N||O.queue===!1?this.each($):this.queue(O.queue,$)},stop:function(v,x,w){var E=function(N){var O=N.stop;delete N.stop,O(w)};return typeof v!="string"&&(w=x,x=v,v=void 0),x&&this.queue(v||"fx",[]),this.each(function(){var N=!0,O=v!=null&&v+"queueHooks",$=M.timers,u1=W.get(this);if(O)u1[O]&&u1[O].stop&&E(u1[O]);else for(O in u1)u1[O]&&u1[O].stop&&zI1.test(O)&&E(u1[O]);for(O=$.length;O--;)$[O].elem===this&&(v==null||$[O].queue===v)&&($[O].anim.stop(w),N=!1,$.splice(O,1));(N||!w)&&M.dequeue(this,v)})},finish:function(v){return v!==!1&&(v=v||"fx"),this.each(function(){var x,w=W.get(this),E=w[v+"queue"],N=w[v+"queueHooks"],O=M.timers,$=E?E.length:0;for(w.finish=!0,M.queue(this,v,[]),N&&N.stop&&N.stop.call(this,!0),x=O.length;x--;)O[x].elem===this&&O[x].queue===v&&(O[x].anim.stop(!0),O.splice(x,1));for(x=0;x<$;x++)E[x]&&E[x].finish&&E[x].finish.call(this);delete w.finish})}}),M.each(["toggle","show","hide"],function(v,x){var w=M.fn[x];M.fn[x]=function(E,N,O){return E==null||typeof E=="boolean"?w.apply(this,arguments):this.animate(hw(x,!0),E,N,O)}}),M.each({slideDown:hw("show"),slideUp:hw("hide"),slideToggle:hw("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(v,x){M.fn[v]=function(w,E,N){return this.animate(x,w,E,N)}}),M.timers=[],M.fx.tick=function(){var v,x=0,w=M.timers;for(bp=Date.now();x<w.length;x++)v=w[x],!v()&&w[x]===v&&w.splice(x--,1);w.length||M.fx.stop(),bp=void 0},M.fx.timer=function(v){M.timers.push(v),M.fx.start()},M.fx.interval=13,M.fx.start=function(){uw||(uw=!0,Xj())},M.fx.stop=function(){uw=null},M.fx.speeds={slow:600,fast:200,_default:400},M.fn.delay=function(v,x){return v=M.fx&&M.fx.speeds[v]||v,x=x||"fx",this.queue(x,function(w,E){var N=n.setTimeout(w,v);E.stop=function(){n.clearTimeout(N)}})},function(){var v=H.createElement("input"),x=H.createElement("select"),w=x.appendChild(H.createElement("option"));v.type="checkbox",C.checkOn=v.value!=="",C.optSelected=w.selected,v=H.createElement("input"),v.value="t",v.type="radio",C.radioValue=v.value==="t"}();var q31,qH=M.expr.attrHandle;M.fn.extend({attr:function(v,x){return vo(this,M.attr,v,x,arguments.length>1)},removeAttr:function(v){return this.each(function(){M.removeAttr(this,v)})}}),M.extend({attr:function(v,x,w){var E,N,O=v.nodeType;if(!(O===3||O===8||O===2)){if(typeof v.getAttribute>"u")return M.prop(v,x,w);if((O!==1||!M.isXMLDoc(v))&&(N=M.attrHooks[x.toLowerCase()]||(M.expr.match.bool.test(x)?q31:void 0)),w!==void 0){if(w===null){M.removeAttr(v,x);return}return N&&"set"in N&&(E=N.set(v,w,x))!==void 0?E:(v.setAttribute(x,w+""),w)}return N&&"get"in N&&(E=N.get(v,x))!==null?E:(E=M.find.attr(v,x),E??void 0)}},attrHooks:{type:{set:function(v,x){if(!C.radioValue&&x==="radio"&&S(v,"input")){var w=v.value;return v.setAttribute("type",x),w&&(v.value=w),x}}}},removeAttr:function(v,x){var w,E=0,N=x&&x.match(rn);if(N&&v.nodeType===1)for(;w=N[E++];)v.removeAttribute(w)}}),q31={set:function(v,x,w){return x===!1?M.removeAttr(v,w):v.setAttribute(w,w),w}},M.each(M.expr.match.bool.source.match(/\w+/g),function(v,x){var w=qH[x]||M.find.attr;qH[x]=function(E,N,O){var $,u1,r1=N.toLowerCase();return O||(u1=qH[r1],qH[r1]=$,$=w(E,N,O)!=null?r1:null,qH[r1]=u1),$}});var jI1=/^(?:input|select|textarea|button)$/i,$I1=/^(?:a|area)$/i;M.fn.extend({prop:function(v,x){return vo(this,M.prop,v,x,arguments.length>1)},removeProp:function(v){return this.each(function(){delete this[M.propFix[v]||v]})}}),M.extend({prop:function(v,x,w){var E,N,O=v.nodeType;if(!(O===3||O===8||O===2))return(O!==1||!M.isXMLDoc(v))&&(x=M.propFix[x]||x,N=M.propHooks[x]),w!==void 0?N&&"set"in N&&(E=N.set(v,w,x))!==void 0?E:v[x]=w:N&&"get"in N&&(E=N.get(v,x))!==null?E:v[x]},propHooks:{tabIndex:{get:function(v){var x=M.find.attr(v,"tabindex");return x?parseInt(x,10):jI1.test(v.nodeName)||$I1.test(v.nodeName)&&v.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(M.propHooks.selected={get:function(v){var x=v.parentNode;return x&&x.parentNode&&x.parentNode.selectedIndex,null},set:function(v){var x=v.parentNode;x&&(x.selectedIndex,x.parentNode&&x.parentNode.selectedIndex)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){M.propFix[this.toLowerCase()]=this});function X8(v){var x=v.match(rn)||[];return x.join(" ")}function J8(v){return v.getAttribute&&v.getAttribute("class")||""}function Jj(v){return Array.isArray(v)?v:typeof v=="string"?v.match(rn)||[]:[]}M.fn.extend({addClass:function(v){var x,w,E,N,O,$;return p(v)?this.each(function(u1){M(this).addClass(v.call(this,u1,J8(this)))}):(x=Jj(v),x.length?this.each(function(){if(E=J8(this),w=this.nodeType===1&&" "+X8(E)+" ",w){for(O=0;O<x.length;O++)N=x[O],w.indexOf(" "+N+" ")<0&&(w+=N+" ");$=X8(w),E!==$&&this.setAttribute("class",$)}}):this)},removeClass:function(v){var x,w,E,N,O,$;return p(v)?this.each(function(u1){M(this).removeClass(v.call(this,u1,J8(this)))}):arguments.length?(x=Jj(v),x.length?this.each(function(){if(E=J8(this),w=this.nodeType===1&&" "+X8(E)+" ",w){for(O=0;O<x.length;O++)for(N=x[O];w.indexOf(" "+N+" ")>-1;)w=w.replace(" "+N+" "," ");$=X8(w),E!==$&&this.setAttribute("class",$)}}):this):this.attr("class","")},toggleClass:function(v,x){var w,E,N,O,$=typeof v,u1=$==="string"||Array.isArray(v);return p(v)?this.each(function(r1){M(this).toggleClass(v.call(this,r1,J8(this),x),x)}):typeof x=="boolean"&&u1?x?this.addClass(v):this.removeClass(v):(w=Jj(v),this.each(function(){if(u1)for(O=M(this),N=0;N<w.length;N++)E=w[N],O.hasClass(E)?O.removeClass(E):O.addClass(E);else(v===void 0||$==="boolean")&&(E=J8(this),E&&W.set(this,"__className__",E),this.setAttribute&&this.setAttribute("class",E||v===!1?"":W.get(this,"__className__")||""))}))},hasClass:function(v){var x,w,E=0;for(x=" "+v+" ";w=this[E++];)if(w.nodeType===1&&(" "+X8(J8(w))+" ").indexOf(x)>-1)return!0;return!1}});var qI1=/\r/g;M.fn.extend({val:function(v){var x,w,E,N=this[0];return arguments.length?(E=p(v),this.each(function(O){var $;this.nodeType===1&&(E?$=v.call(this,O,M(this).val()):$=v,$==null?$="":typeof $=="number"?$+="":Array.isArray($)&&($=M.map($,function(u1){return u1==null?"":u1+""})),x=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()],(!x||!("set"in x)||x.set(this,$,"value")===void 0)&&(this.value=$))})):N?(x=M.valHooks[N.type]||M.valHooks[N.nodeName.toLowerCase()],x&&"get"in x&&(w=x.get(N,"value"))!==void 0?w:(w=N.value,typeof w=="string"?w.replace(qI1,""):w??"")):void 0}}),M.extend({valHooks:{option:{get:function(v){var x=M.find.attr(v,"value");return x??X8(M.text(v))}},select:{get:function(v){var x,w,E,N=v.options,O=v.selectedIndex,$=v.type==="select-one",u1=$?null:[],r1=$?O+1:N.length;for(O<0?E=r1:E=$?O:0;E<r1;E++)if(w=N[E],(w.selected||E===O)&&!w.disabled&&(!w.parentNode.disabled||!S(w.parentNode,"optgroup"))){if(x=M(w).val(),$)return x;u1.push(x)}return u1},set:function(v,x){for(var w,E,N=v.options,O=M.makeArray(x),$=N.length;$--;)E=N[$],(E.selected=M.inArray(M.valHooks.option.get(E),O)>-1)&&(w=!0);return w||(v.selectedIndex=-1),O}}}}),M.each(["radio","checkbox"],function(){M.valHooks[this]={set:function(v,x){if(Array.isArray(x))return v.checked=M.inArray(M(v).val(),x)>-1}},C.checkOn||(M.valHooks[this].get=function(v){return v.getAttribute("value")===null?"on":v.value})});var KH=n.location,K31={guid:Date.now()},e$=/\?/;M.parseXML=function(v){var x,w;if(!v||typeof v!="string")return null;try{x=new n.DOMParser().parseFromString(v,"text/xml")}catch{}return w=x&&x.getElementsByTagName("parsererror")[0],(!x||w)&&M.error("Invalid XML: "+(w?M.map(w.childNodes,function(E){return E.textContent}).join(`
|
|
9
9
|
`):v)),x};var G31=/^(?:focusinfocus|focusoutblur)$/,Y31=function(v){v.stopPropagation()};M.extend(M.event,{trigger:function(v,x,w,E){var N,O,$,u1,r1,M1,z1,ne,E1=[w||H],he=c.call(v,"type")?v.type:v,ni=c.call(v,"namespace")?v.namespace.split("."):[];if(O=ne=$=w=w||H,!(w.nodeType===3||w.nodeType===8)&&!G31.test(he+M.event.triggered)&&(he.indexOf(".")>-1&&(ni=he.split("."),he=ni.shift(),ni.sort()),r1=he.indexOf(":")<0&&"on"+he,v=v[M.expando]?v:new M.Event(he,typeof v=="object"&&v),v.isTrigger=E?2:3,v.namespace=ni.join("."),v.rnamespace=v.namespace?new RegExp("(^|\\.)"+ni.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,v.result=void 0,v.target||(v.target=w),x=x==null?[v]:M.makeArray(x,[v]),z1=M.event.special[he]||{},!(!E&&z1.trigger&&z1.trigger.apply(w,x)===!1))){if(!E&&!z1.noBubble&&!m(w)){for(u1=z1.delegateType||he,G31.test(u1+he)||(O=O.parentNode);O;O=O.parentNode)E1.push(O),$=O;$===(w.ownerDocument||H)&&E1.push($.defaultView||$.parentWindow||n)}for(N=0;(O=E1[N++])&&!v.isPropagationStopped();)ne=O,v.type=N>1?u1:z1.bindType||he,M1=(W.get(O,"events")||Object.create(null))[v.type]&&W.get(O,"handle"),M1&&M1.apply(O,x),M1=r1&&O[r1],M1&&M1.apply&&C1(O)&&(v.result=M1.apply(O,x),v.result===!1&&v.preventDefault());return v.type=he,!E&&!v.isDefaultPrevented()&&(!z1._default||z1._default.apply(E1.pop(),x)===!1)&&C1(w)&&r1&&p(w[he])&&!m(w)&&($=w[r1],$&&(w[r1]=null),M.event.triggered=he,v.isPropagationStopped()&&ne.addEventListener(he,Y31),w[he](),v.isPropagationStopped()&&ne.removeEventListener(he,Y31),M.event.triggered=void 0,$&&(w[r1]=$)),v.result}},simulate:function(v,x,w){var E=M.extend(new M.Event,w,{type:v,isSimulated:!0});M.event.trigger(E,null,x)}}),M.fn.extend({trigger:function(v,x){return this.each(function(){M.event.trigger(v,x,this)})},triggerHandler:function(v,x){var w=this[0];if(w)return M.event.trigger(v,x,w,!0)}});var KI1=/\[\]$/,Q31=/\r?\n/g,GI1=/^(?:submit|button|image|reset|file)$/i,YI1=/^(?:input|select|textarea|keygen)/i;function t$(v,x,w,E){var N;if(Array.isArray(x))M.each(x,function(O,$){w||KI1.test(v)?E(v,$):t$(v+"["+(typeof $=="object"&&$!=null?O:"")+"]",$,w,E)});else if(!w&&V(x)==="object")for(N in x)t$(v+"["+N+"]",x[N],w,E);else E(v,x)}M.param=function(v,x){var w,E=[],N=function(O,$){var u1=p($)?$():$;E[E.length]=encodeURIComponent(O)+"="+encodeURIComponent(u1??"")};if(v==null)return"";if(Array.isArray(v)||v.jquery&&!M.isPlainObject(v))M.each(v,function(){N(this.name,this.value)});else for(w in v)t$(w,v[w],x,N);return E.join("&")},M.fn.extend({serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var v=M.prop(this,"elements");return v?M.makeArray(v):this}).filter(function(){var v=this.type;return this.name&&!M(this).is(":disabled")&&YI1.test(this.nodeName)&&!GI1.test(v)&&(this.checked||!y2.test(v))}).map(function(v,x){var w=M(this).val();return w==null?null:Array.isArray(w)?M.map(w,function(E){return{name:x.name,value:E.replace(Q31,`\r
|
|
10
10
|
`)}}):{name:x.name,value:w.replace(Q31,`\r
|
|
11
11
|
`)}}).get()}});var QI1=/%20/g,XI1=/#.*$/,JI1=/([?&])_=[^&]*/,eT1=/^(.*?):[ \t]*([^\r\n]*)$/mg,tT1=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,iT1=/^(?:GET|HEAD)$/,nT1=/^\/\//,X31={},i$={},J31="*/".concat("*"),n$=H.createElement("a");n$.href=KH.href;function ed1(v){return function(x,w){typeof x!="string"&&(w=x,x="*");var E,N=0,O=x.toLowerCase().match(rn)||[];if(p(w))for(;E=O[N++];)E[0]==="+"?(E=E.slice(1)||"*",(v[E]=v[E]||[]).unshift(w)):(v[E]=v[E]||[]).push(w)}}function td1(v,x,w,E){var N={},O=v===i$;function $(u1){var r1;return N[u1]=!0,M.each(v[u1]||[],function(M1,z1){var ne=z1(x,w,E);if(typeof ne=="string"&&!O&&!N[ne])return x.dataTypes.unshift(ne),$(ne),!1;if(O)return!(r1=ne)}),r1}return $(x.dataTypes[0])||!N["*"]&&$("*")}function r$(v,x){var w,E,N=M.ajaxSettings.flatOptions||{};for(w in x)x[w]!==void 0&&((N[w]?v:E||(E={}))[w]=x[w]);return E&&M.extend(!0,v,E),v}function rT1(v,x,w){for(var E,N,O,$,u1=v.contents,r1=v.dataTypes;r1[0]==="*";)r1.shift(),E===void 0&&(E=v.mimeType||x.getResponseHeader("Content-Type"));if(E){for(N in u1)if(u1[N]&&u1[N].test(E)){r1.unshift(N);break}}if(r1[0]in w)O=r1[0];else{for(N in w){if(!r1[0]||v.converters[N+" "+r1[0]]){O=N;break}$||($=N)}O=O||$}if(O)return O!==r1[0]&&r1.unshift(O),w[O]}function oT1(v,x,w,E){var N,O,$,u1,r1,M1={},z1=v.dataTypes.slice();if(z1[1])for($ in v.converters)M1[$.toLowerCase()]=v.converters[$];for(O=z1.shift();O;)if(v.responseFields[O]&&(w[v.responseFields[O]]=x),!r1&&E&&v.dataFilter&&(x=v.dataFilter(x,v.dataType)),r1=O,O=z1.shift(),O){if(O==="*")O=r1;else if(r1!=="*"&&r1!==O){if($=M1[r1+" "+O]||M1["* "+O],!$){for(N in M1)if(u1=N.split(" "),u1[1]===O&&($=M1[r1+" "+u1[0]]||M1["* "+u1[0]],$)){$===!0?$=M1[N]:M1[N]!==!0&&(O=u1[0],z1.unshift(u1[1]));break}}if($!==!0)if($&&v.throws)x=$(x);else try{x=$(x)}catch(ne){return{state:"parsererror",error:$?ne:"No conversion from "+r1+" to "+O}}}}return{state:"success",data:x}}M.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:KH.href,type:"GET",isLocal:tT1.test(KH.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":J31,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":M.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(v,x){return x?r$(r$(v,M.ajaxSettings),x):r$(M.ajaxSettings,v)},ajaxPrefilter:ed1(X31),ajaxTransport:ed1(i$),ajax:function(v,x){typeof v=="object"&&(x=v,v=void 0),x=x||{};var w,E,N,O,$,u1,r1,M1,z1,ne,E1=M.ajaxSetup({},x),he=E1.context||E1,ni=E1.context&&(he.nodeType||he.jquery)?M(he):M.event,Ln=M.Deferred(),Ai=M.Callbacks("once memory"),Es=E1.statusCode||{},k2={},pd={},md="canceled",Gi={readyState:0,getResponseHeader:function(Sn){var _o;if(r1){if(!O)for(O={};_o=eT1.exec(N);)O[_o[1].toLowerCase()+" "]=(O[_o[1].toLowerCase()+" "]||[]).concat(_o[2]);_o=O[Sn.toLowerCase()+" "]}return _o==null?null:_o.join(", ")},getAllResponseHeaders:function(){return r1?N:null},setRequestHeader:function(Sn,_o){return r1==null&&(Sn=pd[Sn.toLowerCase()]=pd[Sn.toLowerCase()]||Sn,k2[Sn]=_o),this},overrideMimeType:function(Sn){return r1==null&&(E1.mimeType=Sn),this},statusCode:function(Sn){var _o;if(Sn)if(r1)Gi.always(Sn[Gi.status]);else for(_o in Sn)Es[_o]=[Es[_o],Sn[_o]];return this},abort:function(Sn){var _o=Sn||md;return w&&w.abort(_o),eu(0,_o),this}};if(Ln.promise(Gi),E1.url=((v||E1.url||KH.href)+"").replace(nT1,KH.protocol+"//"),E1.type=x.method||x.type||E1.method||E1.type,E1.dataTypes=(E1.dataType||"*").toLowerCase().match(rn)||[""],E1.crossDomain==null){u1=H.createElement("a");try{u1.href=E1.url,u1.href=u1.href,E1.crossDomain=n$.protocol+"//"+n$.host!=u1.protocol+"//"+u1.host}catch{E1.crossDomain=!0}}if(E1.data&&E1.processData&&typeof E1.data!="string"&&(E1.data=M.param(E1.data,E1.traditional)),td1(X31,E1,x,Gi),r1)return Gi;M1=M.event&&E1.global,M1&&M.active++===0&&M.event.trigger("ajaxStart"),E1.type=E1.type.toUpperCase(),E1.hasContent=!iT1.test(E1.type),E=E1.url.replace(XI1,""),E1.hasContent?E1.data&&E1.processData&&(E1.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(E1.data=E1.data.replace(QI1,"+")):(ne=E1.url.slice(E.length),E1.data&&(E1.processData||typeof E1.data=="string")&&(E+=(e$.test(E)?"&":"?")+E1.data,delete E1.data),E1.cache===!1&&(E=E.replace(JI1,"$1"),ne=(e$.test(E)?"&":"?")+"_="+K31.guid+++ne),E1.url=E+ne),E1.ifModified&&(M.lastModified[E]&&Gi.setRequestHeader("If-Modified-Since",M.lastModified[E]),M.etag[E]&&Gi.setRequestHeader("If-None-Match",M.etag[E])),(E1.data&&E1.hasContent&&E1.contentType!==!1||x.contentType)&&Gi.setRequestHeader("Content-Type",E1.contentType),Gi.setRequestHeader("Accept",E1.dataTypes[0]&&E1.accepts[E1.dataTypes[0]]?E1.accepts[E1.dataTypes[0]]+(E1.dataTypes[0]!=="*"?", "+J31+"; q=0.01":""):E1.accepts["*"]);for(z1 in E1.headers)Gi.setRequestHeader(z1,E1.headers[z1]);if(E1.beforeSend&&(E1.beforeSend.call(he,Gi,E1)===!1||r1))return Gi.abort();if(md="abort",Ai.add(E1.complete),Gi.done(E1.success),Gi.fail(E1.error),w=td1(i$,E1,x,Gi),!w)eu(-1,"No Transport");else{if(Gi.readyState=1,M1&&ni.trigger("ajaxSend",[Gi,E1]),r1)return Gi;E1.async&&E1.timeout>0&&($=n.setTimeout(function(){Gi.abort("timeout")},E1.timeout));try{r1=!1,w.send(k2,eu)}catch(Sn){if(r1)throw Sn;eu(-1,Sn)}}function eu(Sn,_o,YH,s$){var fd,QH,gd,W7,U7,el=_o;r1||(r1=!0,$&&n.clearTimeout($),w=void 0,N=s$||"",Gi.readyState=Sn>0?4:0,fd=Sn>=200&&Sn<300||Sn===304,YH&&(W7=rT1(E1,Gi,YH)),!fd&&M.inArray("script",E1.dataTypes)>-1&&M.inArray("json",E1.dataTypes)<0&&(E1.converters["text script"]=function(){}),W7=oT1(E1,W7,Gi,fd),fd?(E1.ifModified&&(U7=Gi.getResponseHeader("Last-Modified"),U7&&(M.lastModified[E]=U7),U7=Gi.getResponseHeader("etag"),U7&&(M.etag[E]=U7)),Sn===204||E1.type==="HEAD"?el="nocontent":Sn===304?el="notmodified":(el=W7.state,QH=W7.data,gd=W7.error,fd=!gd)):(gd=el,(Sn||!el)&&(el="error",Sn<0&&(Sn=0))),Gi.status=Sn,Gi.statusText=(_o||el)+"",fd?Ln.resolveWith(he,[QH,el,Gi]):Ln.rejectWith(he,[Gi,el,gd]),Gi.statusCode(Es),Es=void 0,M1&&ni.trigger(fd?"ajaxSuccess":"ajaxError",[Gi,E1,fd?QH:gd]),Ai.fireWith(he,[Gi,el]),M1&&(ni.trigger("ajaxComplete",[Gi,E1]),--M.active||M.event.trigger("ajaxStop")))}return Gi},getJSON:function(v,x,w){return M.get(v,x,w,"json")},getScript:function(v,x){return M.get(v,void 0,x,"script")}}),M.each(["get","post"],function(v,x){M[x]=function(w,E,N,O){return p(E)&&(O=O||N,N=E,E=void 0),M.ajax(M.extend({url:w,type:x,dataType:O,data:E,success:N},M.isPlainObject(w)&&w))}}),M.ajaxPrefilter(function(v){var x;for(x in v.headers)x.toLowerCase()==="content-type"&&(v.contentType=v.headers[x]||"")}),M._evalUrl=function(v,x,w){return M.ajax({url:v,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(E){M.globalEval(E,x,w)}})},M.fn.extend({wrapAll:function(v){var x;return this[0]&&(p(v)&&(v=v.call(this[0])),x=M(v,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&x.insertBefore(this[0]),x.map(function(){for(var w=this;w.firstElementChild;)w=w.firstElementChild;return w}).append(this)),this},wrapInner:function(v){return p(v)?this.each(function(x){M(this).wrapInner(v.call(this,x))}):this.each(function(){var x=M(this),w=x.contents();w.length?w.wrapAll(v):x.append(v)})},wrap:function(v){var x=p(v);return this.each(function(w){M(this).wrapAll(x?v.call(this,w):v)})},unwrap:function(v){return this.parent(v).not("body").each(function(){M(this).replaceWith(this.childNodes)}),this}}),M.expr.pseudos.hidden=function(v){return!M.expr.pseudos.visible(v)},M.expr.pseudos.visible=function(v){return!!(v.offsetWidth||v.offsetHeight||v.getClientRects().length)},M.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch{}};var sT1={0:200,1223:204},GH=M.ajaxSettings.xhr();C.cors=!!GH&&"withCredentials"in GH,C.ajax=GH=!!GH,M.ajaxTransport(function(v){var x,w;if(C.cors||GH&&!v.crossDomain)return{send:function(E,N){var O,$=v.xhr();if($.open(v.type,v.url,v.async,v.username,v.password),v.xhrFields)for(O in v.xhrFields)$[O]=v.xhrFields[O];v.mimeType&&$.overrideMimeType&&$.overrideMimeType(v.mimeType),!v.crossDomain&&!E["X-Requested-With"]&&(E["X-Requested-With"]="XMLHttpRequest");for(O in E)$.setRequestHeader(O,E[O]);x=function(u1){return function(){x&&(x=w=$.onload=$.onerror=$.onabort=$.ontimeout=$.onreadystatechange=null,u1==="abort"?$.abort():u1==="error"?typeof $.status!="number"?N(0,"error"):N($.status,$.statusText):N(sT1[$.status]||$.status,$.statusText,($.responseType||"text")!=="text"||typeof $.responseText!="string"?{binary:$.response}:{text:$.responseText},$.getAllResponseHeaders()))}},$.onload=x(),w=$.onerror=$.ontimeout=x("error"),$.onabort!==void 0?$.onabort=w:$.onreadystatechange=function(){$.readyState===4&&n.setTimeout(function(){x&&w()})},x=x("abort");try{$.send(v.hasContent&&v.data||null)}catch(u1){if(x)throw u1}},abort:function(){x&&x()}}}),M.ajaxPrefilter(function(v){v.crossDomain&&(v.contents.script=!1)}),M.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(v){return M.globalEval(v),v}}}),M.ajaxPrefilter("script",function(v){v.cache===void 0&&(v.cache=!1),v.crossDomain&&(v.type="GET")}),M.ajaxTransport("script",function(v){if(v.crossDomain||v.scriptAttrs){var x,w;return{send:function(E,N){x=M("<script>").attr(v.scriptAttrs||{}).prop({charset:v.scriptCharset,src:v.url}).on("load error",w=function(O){x.remove(),w=null,O&&N(O.type==="error"?404:200,O.type)}),H.head.appendChild(x[0])},abort:function(){w&&w()}}}});var id1=[],o$=/(=)\?(?=&|$)|\?\?/;M.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var v=id1.pop()||M.expando+"_"+K31.guid++;return this[v]=!0,v}}),M.ajaxPrefilter("json jsonp",function(v,x,w){var E,N,O,$=v.jsonp!==!1&&(o$.test(v.url)?"url":typeof v.data=="string"&&(v.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&o$.test(v.data)&&"data");if($||v.dataTypes[0]==="jsonp")return E=v.jsonpCallback=p(v.jsonpCallback)?v.jsonpCallback():v.jsonpCallback,$?v[$]=v[$].replace(o$,"$1"+E):v.jsonp!==!1&&(v.url+=(e$.test(v.url)?"&":"?")+v.jsonp+"="+E),v.converters["script json"]=function(){return O||M.error(E+" was not called"),O[0]},v.dataTypes[0]="json",N=n[E],n[E]=function(){O=arguments},w.always(function(){N===void 0?M(n).removeProp(E):n[E]=N,v[E]&&(v.jsonpCallback=x.jsonpCallback,id1.push(E)),O&&p(N)&&N(O[0]),O=N=void 0}),"script"}),C.createHTMLDocument=function(){var v=H.implementation.createHTMLDocument("").body;return v.innerHTML="<form></form><form></form>",v.childNodes.length===2}(),M.parseHTML=function(v,x,w){if(typeof v!="string")return[];typeof x=="boolean"&&(w=x,x=!1);var E,N,O;return x||(C.createHTMLDocument?(x=H.implementation.createHTMLDocument(""),E=x.createElement("base"),E.href=H.location.href,x.head.appendChild(E)):x=H),N=s1.exec(v),O=!w&&[],N?[x.createElement(N[1])]:(N=n2([v],x,O),O&&O.length&&M(O).remove(),M.merge([],N.childNodes))},M.fn.load=function(v,x,w){var E,N,O,$=this,u1=v.indexOf(" ");return u1>-1&&(E=X8(v.slice(u1)),v=v.slice(0,u1)),p(x)?(w=x,x=void 0):x&&typeof x=="object"&&(N="POST"),$.length>0&&M.ajax({url:v,type:N||"GET",dataType:"html",data:x}).done(function(r1){O=arguments,$.html(E?M("<div>").append(M.parseHTML(r1)).find(E):r1)}).always(w&&function(r1,M1){$.each(function(){w.apply(this,O||[r1.responseText,M1,r1])})}),this},M.expr.pseudos.animated=function(v){return M.grep(M.timers,function(x){return v===x.elem}).length},M.offset={setOffset:function(v,x,w){var E,N,O,$,u1,r1,M1,z1=M.css(v,"position"),ne=M(v),E1={};z1==="static"&&(v.style.position="relative"),u1=ne.offset(),O=M.css(v,"top"),r1=M.css(v,"left"),M1=(z1==="absolute"||z1==="fixed")&&(O+r1).indexOf("auto")>-1,M1?(E=ne.position(),$=E.top,N=E.left):($=parseFloat(O)||0,N=parseFloat(r1)||0),p(x)&&(x=x.call(v,w,M.extend({},u1))),x.top!=null&&(E1.top=x.top-u1.top+$),x.left!=null&&(E1.left=x.left-u1.left+N),"using"in x?x.using.call(v,E1):ne.css(E1)}},M.fn.extend({offset:function(v){if(arguments.length)return v===void 0?this:this.each(function(N){M.offset.setOffset(this,v,N)});var x,w,E=this[0];if(E)return E.getClientRects().length?(x=E.getBoundingClientRect(),w=E.ownerDocument.defaultView,{top:x.top+w.pageYOffset,left:x.left+w.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var v,x,w,E=this[0],N={top:0,left:0};if(M.css(E,"position")==="fixed")x=E.getBoundingClientRect();else{for(x=this.offset(),w=E.ownerDocument,v=E.offsetParent||w.documentElement;v&&(v===w.body||v===w.documentElement)&&M.css(v,"position")==="static";)v=v.parentNode;v&&v!==E&&v.nodeType===1&&(N=M(v).offset(),N.top+=M.css(v,"borderTopWidth",!0),N.left+=M.css(v,"borderLeftWidth",!0))}return{top:x.top-N.top-M.css(E,"marginTop",!0),left:x.left-N.left-M.css(E,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var v=this.offsetParent;v&&M.css(v,"position")==="static";)v=v.offsetParent;return v||$t})}}),M.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(v,x){var w=x==="pageYOffset";M.fn[v]=function(E){return vo(this,function(N,O,$){var u1;if(m(N)?u1=N:N.nodeType===9&&(u1=N.defaultView),$===void 0)return u1?u1[x]:N[O];u1?u1.scrollTo(w?u1.pageXOffset:$,w?$:u1.pageYOffset):N[O]=$},v,E,arguments.length)}}),M.each(["top","left"],function(v,x){M.cssHooks[x]=n0(C.pixelPosition,function(w,E){if(E)return E=Fi(w,x),se.test(E)?M(w).position()[x]+"px":E})}),M.each({Height:"height",Width:"width"},function(v,x){M.each({padding:"inner"+v,content:x,"":"outer"+v},function(w,E){M.fn[E]=function(N,O){var $=arguments.length&&(w||typeof N!="boolean"),u1=w||(N===!0||O===!0?"margin":"border");return vo(this,function(r1,M1,z1){var ne;return m(r1)?E.indexOf("outer")===0?r1["inner"+v]:r1.document.documentElement["client"+v]:r1.nodeType===9?(ne=r1.documentElement,Math.max(r1.body["scroll"+v],ne["scroll"+v],r1.body["offset"+v],ne["offset"+v],ne["client"+v])):z1===void 0?M.css(r1,M1,u1):M.style(r1,M1,z1,u1)},x,$?N:void 0,$)}})}),M.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(v,x){M.fn[x]=function(w){return this.on(x,w)}}),M.fn.extend({bind:function(v,x,w){return this.on(v,null,x,w)},unbind:function(v,x){return this.off(v,null,x)},delegate:function(v,x,w,E){return this.on(x,v,w,E)},undelegate:function(v,x,w){return arguments.length===1?this.off(v,"**"):this.off(x,v||"**",w)},hover:function(v,x){return this.on("mouseenter",v).on("mouseleave",x||v)}}),M.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(v,x){M.fn[x]=function(w,E){return arguments.length>0?this.on(x,null,w,E):this.trigger(x)}});var aT1=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;M.proxy=function(v,x){var w,E,N;if(typeof x=="string"&&(w=v[x],x=v,v=w),!!p(v))return E=r.call(arguments,2),N=function(){return v.apply(x||this,E.concat(r.call(arguments)))},N.guid=v.guid=v.guid||M.guid++,N},M.holdReady=function(v){v?M.readyWait++:M.ready(!0)},M.isArray=Array.isArray,M.parseJSON=JSON.parse,M.nodeName=S,M.isFunction=p,M.isWindow=m,M.camelCase=f1,M.type=V,M.now=Date.now,M.isNumeric=function(v){var x=M.type(v);return(x==="number"||x==="string")&&!isNaN(v-parseFloat(v))},M.trim=function(v){return v==null?"":(v+"").replace(aT1,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return M});var lT1=n.jQuery,dT1=n.$;return M.noConflict=function(v){return n.$===M&&(n.$=dT1),v&&n.jQuery===M&&(n.jQuery=lT1),M},typeof e>"u"&&(n.jQuery=n.$=M),M})});var V61=kt(($oe,H61)=>{"use strict";var cR1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";H61.exports=cR1});var x61=kt((qoe,_61)=>{"use strict";var uR1=V61();function M61(){}function v61(){}v61.resetWarningCache=M61;_61.exports=function(){function n(i,r,o,s,a,l){if(l!==uR1){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}n.isRequired=n;function e(){return n}var t={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:e,element:n,elementType:n,instanceOf:e,node:n,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:v61,resetWarningCache:M61};return t.PropTypes=t,t}});var A61=kt((Yoe,b61)=>{b61.exports=x61()();var Koe,Goe});var tM=kt((Qoe,S61)=>{S61.exports=function(n){var e={};function t(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return n[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=n,t.c=e,t.d=function(i,r,o){t.o(i,r)||Object.defineProperty(i,r,{enumerable:!0,get:o})},t.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},t.t=function(i,r){if(1&r&&(i=t(i)),8&r||4&r&&typeof i=="object"&&i&&i.__esModule)return i;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:i}),2&r&&typeof i!="string")for(var s in i)t.d(o,s,function(a){return i[a]}.bind(null,s));return o},t.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return t.d(r,"a",r),r},t.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},t.p="",t(t.s=2)}([function(n,e){n.exports=A61()},function(n,e){n.exports=Hn()},function(n,e,t){"use strict";t.r(e);var i=t(1),r=t(0),o=function(){return(o=Object.assign||function(p){for(var m,H=1,g=arguments.length;H<g;H++)for(var L in m=arguments[H])Object.prototype.hasOwnProperty.call(m,L)&&(p[L]=m[L]);return p}).apply(this,arguments)},s=function(p,m){var H={};for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&m.indexOf(g)<0&&(H[g]=p[g]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var L=0;for(g=Object.getOwnPropertySymbols(p);L<g.length;L++)m.indexOf(g[L])<0&&Object.prototype.propertyIsEnumerable.call(p,g[L])&&(H[g[L]]=p[g[L]])}return H},a=0,l=i.forwardRef(function(p,m){var H=p.title,g=H===void 0?null:H,L=p.description,V=L===void 0?null:L,_=p.size,b=_===void 0?null:_,M=p.color,A=M===void 0?"currentColor":M,S=p.horizontal,I=S===void 0?null:S,P=p.vertical,T=P===void 0?null:P,R=p.rotate,B=R===void 0?null:R,G=p.spin,e1=G===void 0?null:G,Q=p.style,X=Q===void 0?{}:Q,d1=p.children,Y=s(p,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);a++;var h1,s1=e1!==null&&e1,t1=i.Children.map(d1,function(ke){var $e=ke;s1!==!0&&(s1=(e1===null?$e.props.spin:e1)===!0);var Ci=$e.props.size;typeof b=="number"&&typeof $e.props.size=="number"&&(Ci=$e.props.size/b);var rn={size:Ci,color:A===null?$e.props.color:A,horizontal:I===null?$e.props.horizontal:I,vertical:T===null?$e.props.vertical:T,rotate:B===null?$e.props.rotate:B,spin:e1===null?$e.props.spin:e1,inStack:!0};return i.cloneElement($e,rn)});b!==null&&(X.width=typeof b=="string"?b:1.5*b+"rem");var x1,ve="stack_labelledby_"+a,Vt="stack_describedby_"+a;if(g)h1=V?ve+" "+Vt:ve;else if(x1="presentation",V)throw new Error("title attribute required when description is set");return i.createElement("svg",o({ref:m,viewBox:"0 0 24 24",style:X,role:x1,"aria-labelledby":h1},Y),g&&i.createElement("title",{id:ve},g),V&&i.createElement("desc",{id:Vt},V),s1&&i.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }","@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"),t1)});l.displayName="Stack",l.propTypes={size:r.oneOfType([r.number,r.string]),color:r.string,horizontal:r.bool,vertical:r.bool,rotate:r.number,spin:r.oneOfType([r.bool,r.number]),children:r.oneOfType([r.arrayOf(r.node),r.node]).isRequired,className:r.string,style:r.object},l.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var d=l;t.d(e,"Icon",function(){return C}),t.d(e,"Stack",function(){return d});var c=function(){return(c=Object.assign||function(p){for(var m,H=1,g=arguments.length;H<g;H++)for(var L in m=arguments[H])Object.prototype.hasOwnProperty.call(m,L)&&(p[L]=m[L]);return p}).apply(this,arguments)},u=function(p,m){var H={};for(var g in p)Object.prototype.hasOwnProperty.call(p,g)&&m.indexOf(g)<0&&(H[g]=p[g]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var L=0;for(g=Object.getOwnPropertySymbols(p);L<g.length;L++)m.indexOf(g[L])<0&&Object.prototype.propertyIsEnumerable.call(p,g[L])&&(H[g[L]]=p[g[L]])}return H},h=0,C=i.forwardRef(function(p,m){var H=p.path,g=p.id,L=g===void 0?++h:g,V=p.title,_=V===void 0?null:V,b=p.description,M=b===void 0?null:b,A=p.size,S=A===void 0?null:A,I=p.color,P=I===void 0?"currentColor":I,T=p.horizontal,R=T!==void 0&&T,B=p.vertical,G=B!==void 0&&B,e1=p.rotate,Q=e1===void 0?0:e1,X=p.spin,d1=X!==void 0&&X,Y=p.style,h1=Y===void 0?{}:Y,s1=p.inStack,t1=s1!==void 0&&s1,x1=u(p,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),ve={},Vt=[];S!==null&&(t1?Vt.push("scale("+S+")"):(h1.width=typeof S=="string"?S:1.5*S+"rem",h1.height=h1.width)),R&&Vt.push("scaleX(-1)"),G&&Vt.push("scaleY(-1)"),Q!==0&&Vt.push("rotate("+Q+"deg)"),P!==null&&(ve.fill=P);var ke=i.createElement("path",c({d:H,style:ve},t1?x1:{})),$e=ke;Vt.length>0&&(h1.transform=Vt.join(" "),h1.transformOrigin="center",t1&&($e=i.createElement("g",{style:h1},ke,i.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var Ci,rn=$e,mn=d1===!0||typeof d1!="number"?2:d1,fe=!t1&&(R||G);if(mn<0&&(fe=!fe),d1&&(rn=i.createElement("g",{style:{animation:"spin"+(fe?"-inverse":"")+" linear "+Math.abs(mn)+"s infinite",transformOrigin:"center"}},$e,!(R||G||Q!==0)&&i.createElement("rect",{width:"24",height:"24",fill:"transparent"}))),t1)return rn;var qi,Dr="icon_labelledby_"+L,jr="icon_describedby_"+L;if(_)Ci=M?Dr+" "+jr:Dr;else if(qi="presentation",M)throw new Error("title attribute required when description is set");return i.createElement("svg",c({ref:m,viewBox:"0 0 24 24",style:h1,role:qi,"aria-labelledby":Ci},x1),_&&i.createElement("title",{id:Dr},_),M&&i.createElement("desc",{id:jr},M),!t1&&d1&&(fe?i.createElement("style",null,"@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"):i.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }")),rn)});C.displayName="Icon",C.propTypes={path:r.string.isRequired,size:r.oneOfType([r.number,r.string]),color:r.string,horizontal:r.bool,vertical:r.bool,rotate:r.number,spin:r.oneOfType([r.bool,r.number]),style:r.object,inStack:r.bool,className:r.string},C.defaultProps={size:null,color:"currentColor",horizontal:!1,vertical:!1,rotate:0,spin:!1},e.default=C}])});var T61=kt((H2e,I61)=>{"use strict";function D61(n,e){return e.some(([t,i])=>t<=n&&n<=i)}function KK(n){if(typeof n!="string")return!1;let e=n.charCodeAt(0);return D61(e,[[12352,12447],[19968,40959],[44032,55203],[131072,191456]])}function hR1(n){return`
|
|
@@ -33,7 +33,7 @@ Received: '{1}'.`,e,Nd.getLexeme(t)),o=t.offset,s=Nd.getLexeme(t);return this._p
|
|
|
33
33
|
`)}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}};II=class{constructor(e,t,i){this.lines=e,this.considerWhitespaceChanges=i,this.elements=[],this.firstCharOffsetByLineMinusOne=[],this.additionalOffsetByLine=[];let r=!1;t.start>0&&t.endExclusive>=e.length&&(t=new Nt(t.start-1,t.endExclusive),r=!0),this.lineRange=t;for(let o=this.lineRange.start;o<this.lineRange.endExclusive;o++){let s=e[o],a=0;if(r)a=s.length,s="",r=!1;else if(!i){let l=s.trimStart();a=s.length-l.length,s=l.trimEnd()}this.additionalOffsetByLine.push(a);for(let l=0;l<s.length;l++)this.elements.push(s.charCodeAt(l));o<e.length-1&&(this.elements.push(`
|
|
34
34
|
`.charCodeAt(0)),this.firstCharOffsetByLineMinusOne[o-this.lineRange.start]=this.elements.length)}this.additionalOffsetByLine.push(0)}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new Nt(0,this.length))}getText(e){return this.elements.slice(e.start,e.endExclusive).map(t=>String.fromCharCode(t)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let t=Ah1(e>0?this.elements[e-1]:-1),i=Ah1(e<this.elements.length?this.elements[e]:-1);if(t===6&&i===7)return 0;let r=0;return t!==i&&(r+=10,i===1&&(r+=1)),r+=bh1(t),r+=bh1(i),r}translateOffset(e){if(this.lineRange.isEmpty)return new K(this.lineRange.start+1,1);let t=0,i=this.firstCharOffsetByLineMinusOne.length;for(;t<i;){let o=Math.floor((t+i)/2);this.firstCharOffsetByLineMinusOne[o]>e?i=o:t=o+1}let r=t===0?0:this.firstCharOffsetByLineMinusOne[t-1];return new K(this.lineRange.start+t+1,e-r+1+this.additionalOffsetByLine[t])}translateRange(e){return y.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!kQ(this.elements[e]))return;let t=e;for(;t>0&&kQ(this.elements[t-1]);)t--;let i=e;for(;i<this.elements.length&&kQ(this.elements[i]);)i++;return new Nt(t,i)}countLinesIn(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber}isStronglyEqual(e,t){return this.elements[e]===this.elements[t]}extendToFullLines(e){var t,i;let r=(t=TB1(this.firstCharOffsetByLineMinusOne,s=>s<=e.start))!==null&&t!==void 0?t:0,o=(i=OB1(this.firstCharOffsetByLineMinusOne,s=>e.endExclusive<=s))!==null&&i!==void 0?i:this.elements.length;return new Nt(r,o)}};RB1={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};EQ=new Map;TI=class{constructor(e,t,i){this.range=e,this.lines=t,this.source=i,this.histogram=[];let r=0;for(let o=e.startLineNumber-1;o<e.endLineNumberExclusive-1;o++){let s=t[o];for(let l=0;l<s.length;l++){r++;let d=s[l],c=Sh1(d);this.histogram[c]=(this.histogram[c]||0)+1}r++;let a=Sh1(`
|
|
35
35
|
`);this.histogram[a]=(this.histogram[a]||0)+1}this.totalCount=r}computeSimilarity(e){var t,i;let r=0,o=Math.max(this.histogram.length,e.histogram.length);for(let s=0;s<o;s++)r+=Math.abs(((t=this.histogram[s])!==null&&t!==void 0?t:0)-((i=e.histogram[s])!==null&&i!==void 0?i:0));return 1-r/(this.totalCount+e.totalCount)}}});var TQ,wh1=k(()=>{Ch1();IQ();TQ={getLegacy:()=>new xI,getAdvanced:()=>new Gm}});function n6(n,e){let t=Math.pow(10,e);return Math.round(n*t)/t}var mt,$d,L3,l1,Rr=k(()=>{mt=class{constructor(e,t,i,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,e))|0,this.g=Math.min(255,Math.max(0,t))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=n6(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}},$d=class n{constructor(e,t,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=n6(Math.max(Math.min(1,t),0),3),this.l=n6(Math.max(Math.min(1,i),0),3),this.a=n6(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,r=e.b/255,o=e.a,s=Math.max(t,i,r),a=Math.min(t,i,r),l=0,d=0,c=(a+s)/2,u=s-a;if(u>0){switch(d=Math.min(c<=.5?u/(2*c):u/(2-2*c),1),s){case t:l=(i-r)/u+(i<r?6:0);break;case i:l=(r-t)/u+2;break;case r:l=(t-i)/u+4;break}l*=60,l=Math.round(l)}return new n(l,d,c,o)}static _hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}static toRGBA(e){let t=e.h/360,{s:i,l:r,a:o}=e,s,a,l;if(i===0)s=a=l=r;else{let d=r<.5?r*(1+i):r+i-r*i,c=2*r-d;s=n._hue2rgb(c,d,t+1/3),a=n._hue2rgb(c,d,t),l=n._hue2rgb(c,d,t-1/3)}return new mt(Math.round(s*255),Math.round(a*255),Math.round(l*255),o)}},L3=class n{constructor(e,t,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=n6(Math.max(Math.min(1,t),0),3),this.v=n6(Math.max(Math.min(1,i),0),3),this.a=n6(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){let t=e.r/255,i=e.g/255,r=e.b/255,o=Math.max(t,i,r),s=Math.min(t,i,r),a=o-s,l=o===0?0:a/o,d;return a===0?d=0:o===t?d=((i-r)/a%6+6)%6:o===i?d=(r-t)/a+2:d=(t-i)/a+4,new n(Math.round(d*60),l,o,e.a)}static toRGBA(e){let{h:t,s:i,v:r,a:o}=e,s=r*i,a=s*(1-Math.abs(t/60%2-1)),l=r-s,[d,c,u]=[0,0,0];return t<60?(d=s,c=a):t<120?(d=a,c=s):t<180?(c=s,u=a):t<240?(c=a,u=s):t<300?(d=a,u=s):t<=360&&(d=s,u=a),d=Math.round((d+l)*255),c=Math.round((c+l)*255),u=Math.round((u+l)*255),new mt(d,c,u,o)}},l1=class n{static fromHex(e){return n.Format.CSS.parseHex(e)||n.red}static equals(e,t){return!e&&!t?!0:!e||!t?!1:e.equals(t)}get hsla(){return this._hsla?this._hsla:$d.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:L3.fromRGBA(this.rgba)}constructor(e){if(e)if(e instanceof mt)this.rgba=e;else if(e instanceof $d)this._hsla=e,this.rgba=$d.toRGBA(e);else if(e instanceof L3)this._hsva=e,this.rgba=L3.toRGBA(e);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(e){return!!e&&mt.equals(this.rgba,e.rgba)&&$d.equals(this.hsla,e.hsla)&&L3.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=n._relativeLuminanceForComponent(this.rgba.r),t=n._relativeLuminanceForComponent(this.rgba.g),i=n._relativeLuminanceForComponent(this.rgba.b),r=.2126*e+.7152*t+.0722*i;return n6(r,4)}static _relativeLuminanceForComponent(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t>i}isDarkerThan(e){let t=this.getRelativeLuminance(),i=e.getRelativeLuminance();return t<i}lighten(e){return new n(new $d(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new n(new $d(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){let{r:t,g:i,b:r,a:o}=this.rgba;return new n(new mt(t,i,r,o*e))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new n(new mt(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(e){if(this.isOpaque()||e.rgba.a!==1)return this;let{r:t,g:i,b:r,a:o}=this.rgba;return new n(new mt(e.rgba.r-o*(e.rgba.r-t),e.rgba.g-o*(e.rgba.g-i),e.rgba.b-o*(e.rgba.b-r),1))}toString(){return this._toString||(this._toString=n.Format.CSS.format(this)),this._toString}static getLighterColor(e,t,i){if(e.isLighterThan(t))return e;i=i||.5;let r=e.getRelativeLuminance(),o=t.getRelativeLuminance();return i=i*(o-r)/o,e.lighten(i)}static getDarkerColor(e,t,i){if(e.isDarkerThan(t))return e;i=i||.5;let r=e.getRelativeLuminance(),o=t.getRelativeLuminance();return i=i*(r-o)/r,e.darken(i)}};l1.white=new l1(new mt(255,255,255,1));l1.black=new l1(new mt(0,0,0,1));l1.red=new l1(new mt(255,0,0,1));l1.blue=new l1(new mt(0,0,255,1));l1.green=new l1(new mt(0,255,0,1));l1.cyan=new l1(new mt(0,255,255,1));l1.lightgrey=new l1(new mt(211,211,211,1));l1.transparent=new l1(new mt(0,0,0,0));(function(n){let e;(function(t){let i;(function(r){function o(m){return m.rgba.a===1?`rgb(${m.rgba.r}, ${m.rgba.g}, ${m.rgba.b})`:n.Format.CSS.formatRGBA(m)}r.formatRGB=o;function s(m){return`rgba(${m.rgba.r}, ${m.rgba.g}, ${m.rgba.b}, ${+m.rgba.a.toFixed(2)})`}r.formatRGBA=s;function a(m){return m.hsla.a===1?`hsl(${m.hsla.h}, ${(m.hsla.s*100).toFixed(2)}%, ${(m.hsla.l*100).toFixed(2)}%)`:n.Format.CSS.formatHSLA(m)}r.formatHSL=a;function l(m){return`hsla(${m.hsla.h}, ${(m.hsla.s*100).toFixed(2)}%, ${(m.hsla.l*100).toFixed(2)}%, ${m.hsla.a.toFixed(2)})`}r.formatHSLA=l;function d(m){let H=m.toString(16);return H.length!==2?"0"+H:H}function c(m){return`#${d(m.rgba.r)}${d(m.rgba.g)}${d(m.rgba.b)}`}r.formatHex=c;function u(m,H=!1){return H&&m.rgba.a===1?n.Format.CSS.formatHex(m):`#${d(m.rgba.r)}${d(m.rgba.g)}${d(m.rgba.b)}${d(Math.round(m.rgba.a*255))}`}r.formatHexA=u;function h(m){return m.isOpaque()?n.Format.CSS.formatHex(m):n.Format.CSS.formatRGBA(m)}r.format=h;function C(m){let H=m.length;if(H===0||m.charCodeAt(0)!==35)return null;if(H===7){let g=16*p(m.charCodeAt(1))+p(m.charCodeAt(2)),L=16*p(m.charCodeAt(3))+p(m.charCodeAt(4)),V=16*p(m.charCodeAt(5))+p(m.charCodeAt(6));return new n(new mt(g,L,V,1))}if(H===9){let g=16*p(m.charCodeAt(1))+p(m.charCodeAt(2)),L=16*p(m.charCodeAt(3))+p(m.charCodeAt(4)),V=16*p(m.charCodeAt(5))+p(m.charCodeAt(6)),_=16*p(m.charCodeAt(7))+p(m.charCodeAt(8));return new n(new mt(g,L,V,_/255))}if(H===4){let g=p(m.charCodeAt(1)),L=p(m.charCodeAt(2)),V=p(m.charCodeAt(3));return new n(new mt(16*g+g,16*L+L,16*V+V))}if(H===5){let g=p(m.charCodeAt(1)),L=p(m.charCodeAt(2)),V=p(m.charCodeAt(3)),_=p(m.charCodeAt(4));return new n(new mt(16*g+g,16*L+L,16*V+V,(16*_+_)/255))}return null}r.parseHex=C;function p(m){switch(m){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(i=t.CSS||(t.CSS={}))})(e=n.Format||(n.Format={}))})(l1||(l1={}))});function Eh1(n){let e=[];for(let t of n){let i=Number(t);(i||i===0&&t.replace(/\s/g,"")!=="")&&e.push(i)}return e}function NQ(n,e,t,i){return{red:n/255,blue:t/255,green:e/255,alpha:i}}function iv(n,e){let t=e.index,i=e[0].length;if(!t)return;let r=n.positionAt(t);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function FB1(n,e){if(!n)return;let t=l1.Format.CSS.parseHex(e);if(t)return{range:n,color:NQ(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}}function yh1(n,e,t){if(!n||e.length!==1)return;let r=e[0].values(),o=Eh1(r);return{range:n,color:NQ(o[0],o[1],o[2],t?o[3]:1)}}function kh1(n,e,t){if(!n||e.length!==1)return;let r=e[0].values(),o=Eh1(r),s=new l1(new $d(o[0],o[1]/100,o[2]/100,t?o[3]:1));return{range:n,color:NQ(s.rgba.r,s.rgba.g,s.rgba.b,s.rgba.a)}}function nv(n,e){return typeof n=="string"?[...n.matchAll(e)]:n.findMatches(e)}function BB1(n){let e=[],i=nv(n,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let r of i){let o=r.filter(d=>d!==void 0),s=o[1],a=o[2];if(!a)continue;let l;if(s==="rgb"){let d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;l=yh1(iv(n,r),nv(a,d),!1)}else if(s==="rgba"){let d=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;l=yh1(iv(n,r),nv(a,d),!0)}else if(s==="hsl"){let d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;l=kh1(iv(n,r),nv(a,d),!1)}else if(s==="hsla"){let d=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;l=kh1(iv(n,r),nv(a,d),!0)}else s==="#"&&(l=FB1(iv(n,r),s+a));l&&e.push(l)}return e}function Dh1(n){return!n||typeof n.getValue!="function"||typeof n.positionAt!="function"?[]:BB1(n)}var Ih1=k(()=>{Rr()});var r6,OQ,qu,Th1=k(()=>{YM();pi();_e();B1();sh1();Cm();lh1();dh1();dY();za();vQ();wh1();N2();Ih1();r6=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},OQ=class extends HI{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let t=[];for(let i=0;i<this._lines.length;i++){let r=this._lines[i],o=this.offsetAt(new K(i+1,1)),s=r.matchAll(e);for(let a of s)(a.index||a.index===0)&&(a.index=a.index+o),t.push(a)}return t}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let i=M9(e.column,iE(t),this._lines[e.lineNumber-1],0);return i?new y(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn):null}words(e){let t=this._lines,i=this._wordenize.bind(this),r=0,o="",s=0,a=[];return{*[Symbol.iterator](){for(;;)if(s<a.length){let l=o.substring(a[s].start,a[s].end);s+=1,yield l}else if(r<t.length)o=t[r],a=i(o,e),s=0,r+=1;else break}}}getLineWords(e,t){let i=this._lines[e-1],r=this._wordenize(i,t),o=[];for(let s of r)o.push({word:i.substring(s.start,s.end),startColumn:s.start+1,endColumn:s.end+1});return o}_wordenize(e,t){let i=[],r;for(t.lastIndex=0;(r=t.exec(e))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,i=e.startLineNumber-1,r=e.endLineNumber-1,o=[];o.push(this._lines[i].substring(e.startColumn-1));for(let s=i+1;s<r;s++)o.push(this._lines[s]);return o.push(this._lines[r].substring(0,e.endColumn-1)),o.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),i=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,i)}}_validateRange(e){let t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),i=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||i.lineNumber!==e.endLineNumber||i.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}:e}_validatePosition(e){if(!K.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:i}=e,r=!1;if(t<1)t=1,i=1,r=!0;else if(t>this._lines.length)t=this._lines.length,i=this._lines[t-1].length+1,r=!0;else{let o=this._lines[t-1].length+1;i<1?(i=1,r=!0):i>o&&(i=o,r=!0)}return r?{lineNumber:t,column:i}:e}},qu=class n{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new OQ(X1.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,i){return r6(this,void 0,void 0,function*(){let r=this._getModel(e);return r?$u.computeUnicodeHighlights(r,t,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,i,r){return r6(this,void 0,void 0,function*(){let o=this._getModel(e),s=this._getModel(t);return!o||!s?null:n.computeDiff(o,s,i,r)})}static computeDiff(e,t,i,r){let o=r==="advanced"?TQ.getAdvanced():TQ.getLegacy(),s=e.getLinesContent(),a=t.getLinesContent(),l=o.computeDiff(s,a,i),d=l.changes.length>0?!1:this._modelsAreIdentical(e,t);function c(u){return u.map(h=>{var C;return[h.originalRange.startLineNumber,h.originalRange.endLineNumberExclusive,h.modifiedRange.startLineNumber,h.modifiedRange.endLineNumberExclusive,(C=h.innerChanges)===null||C===void 0?void 0:C.map(p=>[p.originalRange.startLineNumber,p.originalRange.startColumn,p.originalRange.endLineNumber,p.originalRange.endColumn,p.modifiedRange.startLineNumber,p.modifiedRange.startColumn,p.modifiedRange.endLineNumber,p.modifiedRange.endColumn])]})}return{identical:d,quitEarly:l.hitTimeout,changes:c(l.changes),moves:l.moves.map(u=>[u.lineRangeMapping.original.startLineNumber,u.lineRangeMapping.original.endLineNumberExclusive,u.lineRangeMapping.modified.startLineNumber,u.lineRangeMapping.modified.endLineNumberExclusive,c(u.changes)])}}static _modelsAreIdentical(e,t){let i=e.getLineCount(),r=t.getLineCount();if(i!==r)return!1;for(let o=1;o<=i;o++){let s=e.getLineContent(o),a=t.getLineContent(o);if(s!==a)return!1}return!0}computeMoreMinimalEdits(e,t,i){return r6(this,void 0,void 0,function*(){let r=this._getModel(e);if(!r)return t;let o=[],s;t=t.slice(0).sort((a,l)=>{if(a.range&&l.range)return y.compareRangesUsingStarts(a.range,l.range);let d=a.range?0:1,c=l.range?0:1;return d-c});for(let{range:a,text:l,eol:d}of t){if(typeof d=="number"&&(s=d),y.isEmpty(a)&&!l)continue;let c=r.getValueInRange(a);if(l=l.replace(/\r\n|\n|\r/g,r.eol),c===l)continue;if(Math.max(l.length,c.length)>n._diffLimit){o.push({range:a,text:l});continue}let u=oh1(c,l,i),h=r.offsetAt(y.lift(a).getStartPosition());for(let C of u){let p=r.positionAt(h+C.originalStart),m=r.positionAt(h+C.originalStart+C.originalLength),H={text:l.substr(C.modifiedStart,C.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:m.lineNumber,endColumn:m.column}};r.getValueInRange(H.range)!==H.text&&o.push(H)}}return typeof s=="number"&&o.push({eol:s,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o})}computeLinks(e){return r6(this,void 0,void 0,function*(){let t=this._getModel(e);return t?ah1(t):null})}computeDefaultDocumentColors(e){return r6(this,void 0,void 0,function*(){let t=this._getModel(e);return t?Dh1(t):null})}textualSuggest(e,t,i,r){return r6(this,void 0,void 0,function*(){let o=new vn,s=new RegExp(i,r),a=new Set;e:for(let l of e){let d=this._getModel(l);if(d){for(let c of d.words(s))if(!(c===t||!isNaN(Number(c)))&&(a.add(c),a.size>n._suggestionsLimit))break e}}return{words:Array.from(a),duration:o.elapsed()}})}computeWordRanges(e,t,i,r){return r6(this,void 0,void 0,function*(){let o=this._getModel(e);if(!o)return Object.create(null);let s=new RegExp(i,r),a=Object.create(null);for(let l=t.startLineNumber;l<t.endLineNumber;l++){let d=o.getLineWords(l,s);for(let c of d){if(!isNaN(Number(c.word)))continue;let u=a[c.word];u||(u=[],a[c.word]=u),u.push({startLineNumber:l,startColumn:c.startColumn,endLineNumber:l,endColumn:c.endColumn})}}return a})}navigateValueSet(e,t,i,r,o){return r6(this,void 0,void 0,function*(){let s=this._getModel(e);if(!s)return null;let a=new RegExp(r,o);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let l=s.getValueInRange(t),d=s.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!d)return null;let c=s.getValueInRange(d);return jm.INSTANCE.navigateValueSet(t,l,d,c,i)})}loadForeignModule(e,t,i){let s={host:v81(i,(a,l)=>this._host.fhr(a,l)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(s,t),Promise.resolve(um(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(i){return Promise.reject(i)}}};qu._diffLimit=1e5;qu._suggestionsLimit=1e4;typeof importScripts=="function"&&(globalThis.monaco=cD())});var Ym,NI,rv=k(()=>{ce();Ym=le("textResourceConfigurationService"),NI=le("textResourcePropertiesService")});function ZB1(n){switch(n){case jo.Trace:return"trace";case jo.Debug:return"debug";case jo.Info:return"info";case jo.Warning:return"warn";case jo.Error:return"error";case jo.Off:return"off"}}var Sr,jo,Nh1,OI,RI,PI,A3e,T5=k(()=>{$1();c1();Te();ce();Sr=le("logService");(function(n){n[n.Off=0]="Off",n[n.Trace=1]="Trace",n[n.Debug=2]="Debug",n[n.Info=3]="Info",n[n.Warning=4]="Warning",n[n.Error=5]="Error"})(jo||(jo={}));Nh1=jo.Info,OI=class extends z{constructor(){super(...arguments),this.level=Nh1,this._onDidChangeLogLevel=this._register(new j),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==jo.Off&&this.level<=e}},RI=class extends OI{constructor(e=Nh1,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(jo.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(jo.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(jo.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}warn(e,...t){this.checkLogLevel(jo.Warning)&&(this.useColors?console.log("%c WARN","color: #993",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(jo.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}dispose(){}},PI=class extends OI{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(let t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(let i of this.loggers)i.trace(e,...t)}debug(e,...t){for(let i of this.loggers)i.debug(e,...t)}info(e,...t){for(let i of this.loggers)i.info(e,...t)}warn(e,...t){for(let i of this.loggers)i.warn(e,...t)}error(e,...t){for(let i of this.loggers)i.error(e,...t)}dispose(){for(let e of this.loggers)e.dispose()}};A3e=new O1("logLevel",ZB1(jo.Info))});var y1,Et=k(()=>{ce();y1=le("ILanguageFeaturesService")});function Ku(n,e){let t=n.getModel(e);return!(!t||t.isTooLargeForSyncing())}var zB1,ov,FI,Oh1,Rh1,BI,RQ,PQ,FQ,ZI,sv,Gu,zI=k(()=>{De();c1();CQ();ih1();B1();Fn();Th1();q2();rv();Ie();T5();za();Me();Et();t6();I5();zB1=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},ov=function(n,e){return function(t,i){e(t,i,n)}},FI=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},Oh1=60*1e3,Rh1=5*60*1e3;BI=class extends z{constructor(e,t,i,r,o){super(),this._modelService=e,this._workerManager=this._register(new PQ(this._modelService,r)),this._logService=i,this._register(o.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(s,a)=>Ku(this._modelService,s.uri)?this._workerManager.withWorker().then(l=>l.computeLinks(s.uri)).then(l=>l&&{links:l}):Promise.resolve({links:[]})})),this._register(o.completionProvider.register("*",new RQ(this._workerManager,t,this._modelService,r)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return Ku(this._modelService,e)}computedUnicodeHighlights(e,t,i){return this._workerManager.withWorker().then(r=>r.computedUnicodeHighlights(e,t,i))}computeDiff(e,t,i,r){return FI(this,void 0,void 0,function*(){let o=yield this._workerManager.withWorker().then(l=>l.computeDiff(e,t,i,r));if(!o)return null;return{identical:o.identical,quitEarly:o.quitEarly,changes:a(o.changes),moves:o.moves.map(l=>new e6(new g3(new pt(l[0],l[1]),new pt(l[2],l[3])),a(l[4])))};function a(l){return l.map(d=>{var c;return new gs(new pt(d[0],d[1]),new pt(d[2],d[3]),(c=d[4])===null||c===void 0?void 0:c.map(u=>new x0(new y(u[0],u[1],u[2],u[3]),new y(u[4],u[5],u[6],u[7]))))})}})}computeMoreMinimalEdits(e,t,i=!1){if(yn(t)){if(!Ku(this._modelService,e))return Promise.resolve(t);let r=vn.create(),o=this._workerManager.withWorker().then(s=>s.computeMoreMinimalEdits(e,t,i));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),r.elapsed())),Promise.race([o,qa(1e3).then(()=>t)])}else return Promise.resolve(void 0)}canNavigateValueSet(e){return Ku(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(r=>r.navigateValueSet(e,t,i))}canComputeWordRanges(e){return Ku(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}};BI=zB1([ov(0,Wt),ov(1,Ym),ov(2,Sr),ov(3,Ct),ov(4,y1)],BI);RQ=class{constructor(e,t,i,r){this.languageConfigurationService=r,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}provideCompletionItems(e,t){return FI(this,void 0,void 0,function*(){let i=this._configurationService.getValue(e.uri,t,"editor");if(!i.wordBasedSuggestions)return;let r=[];if(i.wordBasedSuggestionsMode==="currentDocument")Ku(this._modelService,e.uri)&&r.push(e.uri);else for(let u of this._modelService.getModels())Ku(this._modelService,u.uri)&&(u===e?r.unshift(u.uri):(i.wordBasedSuggestionsMode==="allDocuments"||u.getLanguageId()===e.getLanguageId())&&r.push(u.uri));if(r.length===0)return;let o=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),s=e.getWordAtPosition(t),a=s?new y(t.lineNumber,s.startColumn,t.lineNumber,s.endColumn):y.fromPositions(t),l=a.setEndPosition(t.lineNumber,t.column),c=yield(yield this._workerManager.withWorker()).textualSuggest(r,s?.word,o);if(c)return{duration:c.duration,suggestions:c.words.map(u=>({kind:18,label:u,insertText:u,range:{insert:l,replace:a}}))}})}},PQ=class extends z{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new p3).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(Rh1/2)),this._register(this._modelService.onModelRemoved(r=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>Rh1&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new Gu(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}},FQ=class extends z{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){let r=new p3;r.cancelAndSet(()=>this._checkStopModelSync(),Math.round(Oh1/2)),this._register(r)}}dispose(){for(let e in this._syncedModels)dt(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(let i of e){let r=i.toString();this._syncedModels[r]||this._beginModelSync(i,t),this._syncedModels[r]&&(this._syncedModelsLastUsedTime[r]=new Date().getTime())}}_checkStopModelSync(){let e=new Date().getTime(),t=[];for(let i in this._syncedModelsLastUsedTime)e-this._syncedModelsLastUsedTime[i]>Oh1&&t.push(i);for(let i of t)this._stopModelSync(i)}_beginModelSync(e,t){let i=this._modelService.getModel(e);if(!i||!t&&i.isTooLargeForSyncing())return;let r=e.toString();this._proxy.acceptNewModel({url:i.uri.toString(),lines:i.getLinesContent(),EOL:i.getEOL(),versionId:i.getVersionId()});let o=new i1;o.add(i.onDidChangeContent(s=>{this._proxy.acceptModelChanged(r.toString(),s)})),o.add(i.onWillDispose(()=>{this._stopModelSync(r)})),o.add(te(()=>{this._proxy.acceptRemovedModel(r)})),this._syncedModels[r]=o}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],dt(t)}},ZI=class{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}},sv=class{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}},Gu=class extends z{constructor(e,t,i,r){super(),this.languageConfigurationService=r,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new $M(i),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new uI(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new sv(this)))}catch(e){jM(e),this._worker=new ZI(new qu(new sv(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(jM(e),this._worker=new ZI(new qu(new sv(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new FQ(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e,t=!1){return FI(this,void 0,void 0,function*(){return this._disposed?Promise.reject(P81()):this._getProxy().then(i=>(this._getOrCreateModelManager(i).ensureSyncedResources(e,t),i))})}computedUnicodeHighlights(e,t,i){return this._withSyncedResources([e]).then(r=>r.computeUnicodeHighlights(e.toString(),t,i))}computeDiff(e,t,i,r){return this._withSyncedResources([e,t],!0).then(o=>o.computeDiff(e.toString(),t.toString(),i,r))}computeMoreMinimalEdits(e,t,i){return this._withSyncedResources([e]).then(r=>r.computeMoreMinimalEdits(e.toString(),t,i))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}computeDefaultDocumentColors(e){return this._withSyncedResources([e]).then(t=>t.computeDefaultDocumentColors(e.toString()))}textualSuggest(e,t,i){return FI(this,void 0,void 0,function*(){let r=yield this._withSyncedResources(e),o=i.source,s=i.flags;return r.textualSuggest(e.map(a=>a.toString()),t,o,s)})}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let r=this._modelService.getModel(e);if(!r)return Promise.resolve(null);let o=this.languageConfigurationService.getLanguageConfiguration(r.getLanguageId()).getWordDefinition(),s=o.source,a=o.flags;return i.computeWordRanges(e.toString(),t,s,a)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(r=>{let o=this._modelService.getModel(e);if(!o)return null;let s=this.languageConfigurationService.getLanguageConfiguration(o.getLanguageId()).getWordDefinition(),a=s.source,l=s.flags;return r.navigateValueSet(e.toString(),t,i,a,l)})}dispose(){super.dispose(),this._disposed=!0}}});function Ph1(n,e,t){return new BQ(n,e,t)}var BQ,Fh1=k(()=>{N2();zI();BQ=class extends Gu{constructor(e,t,i){super(e,i.keepIdleModels||!1,i.label,t),this._foreignModuleId=i.moduleId,this._foreignModuleCreateData=i.createData||null,this._foreignModuleHost=i.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||typeof this._foreignModuleHost[e]!="function")return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(i){return Promise.reject(i)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{let t=this._foreignModuleHost?um(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(i=>{this._foreignModuleCreateData=null;let r=(a,l)=>e.fmr(a,l),o=(a,l)=>function(){let d=Array.prototype.slice.call(arguments,0);return l(a,d)},s={};for(let a of i)s[a]=o(a,r);return s})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(t=>this.getProxy())}}});var ar,Yu=k(()=>{ar=class{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static getClassNameFromMetadata(e){let i="mtk"+this.getForeground(e),r=this.getFontStyle(e);return r&1&&(i+=" mtki"),r&2&&(i+=" mtkb"),r&4&&(i+=" mtku"),r&8&&(i+=" mtks"),i}static getInlineStyleFromMetadata(e,t){let i=this.getForeground(e),r=this.getFontStyle(e),o=`color: ${t[i]};`;r&1&&(o+="font-style: italic;"),r&2&&(o+="font-weight: bold;");let s="";return r&4&&(s+=" underline"),r&8&&(s+=" line-through"),s&&(o+=`text-decoration:${s};`),o}static getPresentationFromMetadata(e){let t=this.getForeground(e),i=this.getFontStyle(e);return{foreground:t,italic:!!(i&1),bold:!!(i&2),underline:!!(i&4),strikethrough:!!(i&8)}}}});var Xn,ZQ,H3=k(()=>{Yu();Xn=class n{static createEmpty(e,t){let i=n.defaultTokenMetadata,r=new Uint32Array(2);return r[0]=e.length,r[1]=i,new n(r,e,t)}constructor(e,t,i){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=i}equals(e){return e instanceof n?this.slicedEquals(e,0,this._tokensCount):!1}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let r=t<<1,o=r+(i<<1);for(let s=r;s<o;s++)if(this._tokens[s]!==e._tokens[s])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[(e<<1)+1]}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=ar.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return ar.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return ar.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return ar.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return ar.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return ar.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return n.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new ZQ(this,e,t,i)}static convertToEndOffset(e,t){let r=(e.length>>>1)-1;for(let o=0;o<r;o++)e[o<<1]=e[o+1<<1];e[r<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let i=0,r=(e.length>>>1)-1;for(;i<r;){let o=i+Math.floor((r-i)/2),s=e[o<<1];if(s===t)return o+1;s<t?i=o+1:s>t&&(r=o)}return i}withInserted(e){if(e.length===0)return this;let t=0,i=0,r="",o=new Array,s=0;for(;;){let a=t<this._tokensCount?this._tokens[t<<1]:-1,l=i<e.length?e[i]:null;if(a!==-1&&(l===null||a<=l.offset)){r+=this._text.substring(s,a);let d=this._tokens[(t<<1)+1];o.push(r.length,d),t++,s=a}else if(l){if(l.offset>s){r+=this._text.substring(s,l.offset);let d=this._tokens[(t<<1)+1];o.push(r.length,d),s=l.offset}r+=l.text,o.push(r.length,l.tokenMetadata),i++}else break}return new n(new Uint32Array(o),r,this._languageIdCodec)}};Xn.defaultTokenMetadata=(32768|2<<24)>>>0;ZQ=class n{constructor(e,t,i,r){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=r,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let o=this._firstTokenIndex,s=e.getCount();o<s&&!(e.getStartOffset(o)>=i);o++)this._tokensCount++}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof n?this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}});var l2,WI,zQ,UI,Qu=k(()=>{xe();l2=class n{constructor(e,t,i,r){this.startColumn=e,this.endColumn=t,this.className=i,this.type=r,this._lineDecorationBrand=void 0}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){let i=e.length,r=t.length;if(i!==r)return!1;for(let o=0;o<i;o++)if(!n._equals(e[o],t[o]))return!1;return!0}static extractWrapped(e,t,i){if(e.length===0)return e;let r=t+1,o=i+1,s=i-t,a=[],l=0;for(let d of e)d.endColumn<=r||d.startColumn>=o||(a[l++]=new n(Math.max(1,d.startColumn-r+1),Math.min(s+1,d.endColumn-r+1),d.className,d.type));return a}static filter(e,t,i,r){if(e.length===0)return[];let o=[],s=0;for(let a=0,l=e.length;a<l;a++){let d=e[a],c=d.range;if(c.endLineNumber<t||c.startLineNumber>t||c.isEmpty()&&(d.type===0||d.type===3))continue;let u=c.startLineNumber===t?c.startColumn:i,h=c.endLineNumber===t?c.endColumn:r;o[s++]=new n(u,h,d.inlineClassName,d.type)}return o}static _typeCompare(e,t){let i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){if(e.startColumn!==t.startColumn)return e.startColumn-t.startColumn;if(e.endColumn!==t.endColumn)return e.endColumn-t.endColumn;let i=n._typeCompare(e.type,t.type);return i!==0?i:e.className!==t.className?e.className<t.className?-1:1:0}},WI=class{constructor(e,t,i,r){this.startOffset=e,this.endOffset=t,this.className=i,this.metadata=r}},zQ=class n{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let i=0,r=e.length;i<r;i++)t|=e[i];return t}consumeLowerThan(e,t,i){for(;this.count>0&&this.stopOffsets[0]<e;){let r=0;for(;r+1<this.count&&this.stopOffsets[r]===this.stopOffsets[r+1];)r++;i.push(new WI(t,this.stopOffsets[r],this.classNames.join(" "),n._metadata(this.metadata))),t=this.stopOffsets[r]+1,this.stopOffsets.splice(0,r+1),this.classNames.splice(0,r+1),this.metadata.splice(0,r+1),this.count-=r+1}return this.count>0&&t<e&&(i.push(new WI(t,e-1,this.classNames.join(" "),n._metadata(this.metadata))),t=e),t}insert(e,t,i){if(this.count===0||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(i);else for(let r=0;r<this.count;r++)if(this.stopOffsets[r]>=e){this.stopOffsets.splice(r,0,e),this.classNames.splice(r,0,t),this.metadata.splice(r,0,i);break}this.count++}},UI=class{static normalize(e,t){if(t.length===0)return[];let i=[],r=new zQ,o=0;for(let s=0,a=t.length;s<a;s++){let l=t[s],d=l.startColumn,c=l.endColumn,u=l.className,h=l.type===1?2:l.type===2?4:0;if(d>1){let m=e.charCodeAt(d-2);Dn(m)&&d--}if(c>1){let m=e.charCodeAt(c-2);Dn(m)&&c--}let C=d-1,p=c-2;o=r.consumeLowerThan(C,o,i),r.count===0&&(o=C),r.insert(p,u,h)}return r.consumeLowerThan(1073741824,o,i),i}}});var Pr,Bh1=k(()=>{Pr=class{constructor(e,t,i,r){this.endIndex=e,this.type=t,this.metadata=i,this.containsRTL=r,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}});function V3(n,e){if(n.lineContent.length===0){if(n.lineDecorations.length>0){e.appendString("<span>");let t=0,i=0,r=0;for(let s of n.lineDecorations)(s.type===1||s.type===2)&&(e.appendString('<span class="'),e.appendString(s.className),e.appendString('"></span>'),s.type===1&&(r|=1,t++),s.type===2&&(r|=2,i++));e.appendString("</span>");let o=new lv(1,t+i);return o.setColumnInfo(1,t,0,0),new dv(o,!1,r)}return e.appendString("<span><span></span></span>"),new dv(new lv(0,0),!1,0)}return GB1(WB1(n),e)}function o6(n){let e=new pa(1e4),t=V3(n,e);return new WQ(t.characterMapping,e.build(),t.containsRTL,t.containsForeignElements)}function WB1(n){let e=n.lineContent,t,i,r;n.stopRenderingLineAfter!==-1&&n.stopRenderingLineAfter<e.length?(t=!0,i=e.length-n.stopRenderingLineAfter,r=n.stopRenderingLineAfter):(t=!1,i=0,r=e.length);let o=UB1(e,n.containsRTL,n.lineTokens,n.fauxIndentLength,r);n.renderControlCharacters&&!n.isBasicASCII&&(o=$B1(e,o)),(n.renderWhitespace===4||n.renderWhitespace===1||n.renderWhitespace===2&&n.selectionsOnLine||n.renderWhitespace===3&&!n.continuesWithWrappedLine)&&(o=qB1(n,e,r,o));let s=0;if(n.lineDecorations.length>0){for(let a=0,l=n.lineDecorations.length;a<l;a++){let d=n.lineDecorations[a];d.type===3||d.type===1?s|=1:d.type===2&&(s|=2)}o=KB1(e,r,o,n.lineDecorations)}return n.containsRTL||(o=jB1(e,o,!n.isBasicASCII||n.fontLigatures)),new UQ(n.useMonospaceOptimizations,n.canUseHalfwidthRightwardsArrow,e,r,t,i,o,s,n.fauxIndentLength,n.tabSize,n.startVisibleColumn,n.containsRTL,n.spaceWidth,n.renderSpaceCharCode,n.renderWhitespace,n.renderControlCharacters)}function UB1(n,e,t,i,r){let o=[],s=0;i>0&&(o[s++]=new Pr(i,"",0,!1));let a=i;for(let l=0,d=t.getCount();l<d;l++){let c=t.getEndOffset(l);if(c<=i)continue;let u=t.getClassName(l);if(c>=r){let C=e?d3(n.substring(a,r)):!1;o[s++]=new Pr(r,u,0,C);break}let h=e?d3(n.substring(a,c)):!1;o[s++]=new Pr(c,u,0,h),a=c}return o}function jB1(n,e,t){let i=0,r=[],o=0;if(t)for(let s=0,a=e.length;s<a;s++){let l=e[s],d=l.endIndex;if(i+50<d){let c=l.type,u=l.metadata,h=l.containsRTL,C=-1,p=i;for(let m=i;m<d;m++)n.charCodeAt(m)===32&&(C=m),C!==-1&&m-p>=50&&(r[o++]=new Pr(C+1,c,u,h),p=C+1,C=-1);p!==d&&(r[o++]=new Pr(d,c,u,h))}else r[o++]=l;i=d}else for(let s=0,a=e.length;s<a;s++){let l=e[s],d=l.endIndex,c=d-i;if(c>50){let u=l.type,h=l.metadata,C=l.containsRTL,p=Math.ceil(c/50);for(let m=1;m<p;m++){let H=i+m*50;r[o++]=new Pr(H,u,h,C)}r[o++]=new Pr(d,u,h,C)}else r[o++]=l;i=d}return r}function Zh1(n){return n<32?n!==9:n===127||n>=8234&&n<=8238||n>=8294&&n<=8297||n>=8206&&n<=8207||n===1564}function $B1(n,e){let t=[],i=new Pr(0,"",0,!1),r=0;for(let o of e){let s=o.endIndex;for(;r<s;r++){let a=n.charCodeAt(r);Zh1(a)&&(r>i.endIndex&&(i=new Pr(r,o.type,o.metadata,o.containsRTL),t.push(i)),i=new Pr(r+1,"mtkcontrol",o.metadata,!1),t.push(i))}r>i.endIndex&&(i=new Pr(s,o.type,o.metadata,o.containsRTL),t.push(i))}return t}function qB1(n,e,t,i){let r=n.continuesWithWrappedLine,o=n.fauxIndentLength,s=n.tabSize,a=n.startVisibleColumn,l=n.useMonospaceOptimizations,d=n.selectionsOnLine,c=n.renderWhitespace===1,u=n.renderWhitespace===3,h=n.renderSpaceWidth!==n.spaceWidth,C=[],p=0,m=0,H=i[m].type,g=i[m].containsRTL,L=i[m].endIndex,V=i.length,_=!1,b=Pn(e),M;b===-1?(_=!0,b=t,M=t):M=a2(e);let A=!1,S=0,I=d&&d[S],P=a%s;for(let R=o;R<t;R++){let B=e.charCodeAt(R);I&&R>=I.endOffset&&(S++,I=d&&d[S]);let G;if(R<b||R>M)G=!0;else if(B===9)G=!0;else if(B===32)if(c)if(A)G=!0;else{let e1=R+1<t?e.charCodeAt(R+1):0;G=e1===32||e1===9}else G=!0;else G=!1;if(G&&d&&(G=!!I&&I.startOffset<=R&&I.endOffset>R),G&&u&&(G=_||R>M),G&&g&&R>=b&&R<=M&&(G=!1),A){if(!G||!l&&P>=s){if(h){let e1=p>0?C[p-1].endIndex:o;for(let Q=e1+1;Q<=R;Q++)C[p++]=new Pr(Q,"mtkw",1,!1)}else C[p++]=new Pr(R,"mtkw",1,!1);P=P%s}}else(R===L||G&&R>o)&&(C[p++]=new Pr(R,H,0,g),P=P%s);for(B===9?P=s:H0(B)?P+=2:P++,A=G;R===L&&(m++,m<V);)H=i[m].type,g=i[m].containsRTL,L=i[m].endIndex}let T=!1;if(A)if(r&&c){let R=t>0?e.charCodeAt(t-1):0,B=t>1?e.charCodeAt(t-2):0;R===32&&B!==32&&B!==9||(T=!0)}else T=!0;if(T)if(h){let R=p>0?C[p-1].endIndex:o;for(let B=R+1;B<=t;B++)C[p++]=new Pr(B,"mtkw",1,!1)}else C[p++]=new Pr(t,"mtkw",1,!1);else C[p++]=new Pr(t,H,0,g);return C}function KB1(n,e,t,i){i.sort(l2.compare);let r=UI.normalize(n,i),o=r.length,s=0,a=[],l=0,d=0;for(let u=0,h=t.length;u<h;u++){let C=t[u],p=C.endIndex,m=C.type,H=C.metadata,g=C.containsRTL;for(;s<o&&r[s].startOffset<p;){let L=r[s];if(L.startOffset>d&&(d=L.startOffset,a[l++]=new Pr(d,m,H,g)),L.endOffset+1<=p)d=L.endOffset+1,a[l++]=new Pr(d,m+" "+L.className,H|L.metadata,g),s++;else{d=p,a[l++]=new Pr(d,m+" "+L.className,H|L.metadata,g);break}}p>d&&(d=p,a[l++]=new Pr(d,m,H,g))}let c=t[t.length-1].endIndex;if(s<o&&r[s].startOffset===c)for(;s<o&&r[s].startOffset===c;){let u=r[s];a[l++]=new Pr(d,u.className,u.metadata,!1),s++}return a}function GB1(n,e){let t=n.fontIsMonospace,i=n.canUseHalfwidthRightwardsArrow,r=n.containsForeignElements,o=n.lineContent,s=n.len,a=n.isOverflowing,l=n.overflowingCharCount,d=n.parts,c=n.fauxIndentLength,u=n.tabSize,h=n.startVisibleColumn,C=n.containsRTL,p=n.spaceWidth,m=n.renderSpaceCharCode,H=n.renderWhitespace,g=n.renderControlCharacters,L=new lv(s+1,d.length),V=!1,_=0,b=h,M=0,A=0,S=0;C?e.appendString('<span dir="ltr">'):e.appendString("<span>");for(let I=0,P=d.length;I<P;I++){let T=d[I],R=T.endIndex,B=T.type,G=T.containsRTL,e1=H!==0&&T.isWhitespace(),Q=e1&&!t&&(B==="mtkw"||!r),X=_===R&&T.isPseudoAfter();if(M=0,e.appendString("<span "),G&&e.appendString('style="unicode-bidi:isolate" '),e.appendString('class="'),e.appendString(Q?"mtkz":B),e.appendASCIICharCode(34),e1){let d1=0;{let Y=_,h1=b;for(;Y<R;Y++){let t1=(o.charCodeAt(Y)===9?u-h1%u:1)|0;d1+=t1,Y>=c&&(h1+=t1)}}for(Q&&(e.appendString(' style="width:'),e.appendString(String(p*d1)),e.appendString('px"')),e.appendASCIICharCode(62);_<R;_++){L.setColumnInfo(_+1,I-S,M,A),S=0;let Y=o.charCodeAt(_),h1,s1;if(Y===9){h1=u-b%u|0,s1=h1,!i||s1>1?e.appendCharCode(8594):e.appendCharCode(65515);for(let t1=2;t1<=s1;t1++)e.appendCharCode(160)}else h1=2,s1=1,e.appendCharCode(m),e.appendCharCode(8204);M+=h1,A+=s1,_>=c&&(b+=s1)}}else for(e.appendASCIICharCode(62);_<R;_++){L.setColumnInfo(_+1,I-S,M,A),S=0;let d1=o.charCodeAt(_),Y=1,h1=1;switch(d1){case 9:Y=u-b%u,h1=Y;for(let s1=1;s1<=Y;s1++)e.appendCharCode(160);break;case 32:e.appendCharCode(160);break;case 60:e.appendString("<");break;case 62:e.appendString(">");break;case 38:e.appendString("&");break;case 0:g?e.appendCharCode(9216):e.appendString("�");break;case 65279:case 8232:case 8233:case 133:e.appendCharCode(65533);break;default:H0(d1)&&h1++,g&&d1<32?e.appendCharCode(9216+d1):g&&d1===127?e.appendCharCode(9249):g&&Zh1(d1)?(e.appendString("[U+"),e.appendString(YB1(d1)),e.appendString("]"),Y=8,h1=Y):e.appendCharCode(d1)}M+=Y,A+=h1,_>=c&&(b+=h1)}X?S++:S=0,_>=s&&!V&&T.isPseudoAfter()&&(V=!0,L.setColumnInfo(_+1,I,M,A)),e.appendString("</span>")}return V||L.setColumnInfo(s+1,d.length-1,M,A),a&&(e.appendString('<span class="mtkoverflow">'),e.appendString(f("showMore","Show more ({0})",QB1(l))),e.appendString("</span>")),e.appendString("</span>"),new dv(L,C,r)}function YB1(n){return n.toString(16).toUpperCase().padStart(4,"0")}function QB1(n){return n<1024?f("overflow.chars","{0} chars",n):n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/1024/1024).toFixed(1)} MB`}var Qm,d2,av,lv,dv,WQ,UQ,qd=k(()=>{T1();xe();Rd();Qu();Bh1();Qm=class{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}},d2=class{constructor(e,t,i,r,o,s,a,l,d,c,u,h,C,p,m,H,g,L,V){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.continuesWithWrappedLine=r,this.isBasicASCII=o,this.containsRTL=s,this.fauxIndentLength=a,this.lineTokens=l,this.lineDecorations=d.sort(l2.compare),this.tabSize=c,this.startVisibleColumn=u,this.spaceWidth=h,this.stopRenderingLineAfter=m,this.renderWhitespace=H==="all"?4:H==="boundary"?1:H==="selection"?2:H==="trailing"?3:0,this.renderControlCharacters=g,this.fontLigatures=L,this.selectionsOnLine=V&&V.sort((M,A)=>M.startOffset<A.startOffset?-1:1);let _=Math.abs(p-h),b=Math.abs(C-h);_<b?(this.renderSpaceWidth=p,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=C,this.renderSpaceCharCode=183)}sameSelection(e){if(this.selectionsOnLine===null)return e===null;if(e===null||e.length!==this.selectionsOnLine.length)return!1;for(let t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0}equals(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.renderSpaceWidth===e.renderSpaceWidth&&this.renderSpaceCharCode===e.renderSpaceCharCode&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&l2.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}},av=class{constructor(e,t){this.partIndex=e,this.charIndex=t}},lv=class n{static getPartIndex(e){return(e&4294901760)>>>16}static getCharIndex(e){return(e&65535)>>>0}constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,t,i,r){let o=(t<<16|i<<0)>>>0;this._data[e-1]=o,this._horizontalOffset[e-1]=r}getHorizontalOffset(e){return this._horizontalOffset.length===0?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return this.length===0?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){let t=this.charOffsetToPartData(e-1),i=n.getPartIndex(t),r=n.getCharIndex(t);return new av(i,r)}getColumn(e,t){return this.partDataToCharOffset(e.partIndex,t,e.charIndex)+1}partDataToCharOffset(e,t,i){if(this.length===0)return 0;let r=(e<<16|i<<0)>>>0,o=0,s=this.length-1;for(;o+1<s;){let m=o+s>>>1,H=this._data[m];if(H===r)return m;H>r?s=m:o=m}if(o===s)return o;let a=this._data[o],l=this._data[s];if(a===r)return o;if(l===r)return s;let d=n.getPartIndex(a),c=n.getCharIndex(a),u=n.getPartIndex(l),h;d!==u?h=t:h=n.getCharIndex(l);let C=i-c,p=h-i;return C<=p?o:s}},dv=class{constructor(e,t,i){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=i}};WQ=class{constructor(e,t,i,r){this.characterMapping=e,this.html=t,this.containsRTL=i,this.containsForeignElements=r}};UQ=class{constructor(e,t,i,r,o,s,a,l,d,c,u,h,C,p,m,H){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.len=r,this.isOverflowing=o,this.overflowingCharCount=s,this.parts=a,this.containsForeignElements=l,this.fauxIndentLength=d,this.tabSize=c,this.startVisibleColumn=u,this.containsRTL=h,this.spaceWidth=C,this.renderSpaceCharCode=p,this.renderWhitespace=m,this.renderControlCharacters=H}}});var cv,jI,Xu,ho,M3,$I,Xm,Jm,N5=k(()=>{xe();B1();cv=class{constructor(e,t,i,r){this._viewportBrand=void 0,this.top=e|0,this.left=t|0,this.width=i|0,this.height=r|0}},jI=class{constructor(e,t){this.tabSize=e,this.data=t}},Xu=class{constructor(e,t,i,r,o,s,a){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=i,this.maxColumn=r,this.startVisibleColumn=o,this.tokens=s,this.inlineDecorations=a}},ho=class n{constructor(e,t,i,r,o,s,a,l,d,c){this.minColumn=e,this.maxColumn=t,this.content=i,this.continuesWithWrappedLine=r,this.isBasicASCII=n.isBasicASCII(i,s),this.containsRTL=n.containsRTL(i,this.isBasicASCII,o),this.tokens=a,this.inlineDecorations=l,this.tabSize=d,this.startVisibleColumn=c}static isBasicASCII(e,t){return t?Id(e):!0}static containsRTL(e,t,i){return!t&&i?d3(e):!1}},M3=class{constructor(e,t,i){this.range=e,this.inlineClassName=t,this.type=i}},$I=class{constructor(e,t,i,r){this.startOffset=e,this.endOffset=t,this.inlineClassName=i,this.inlineClassNameAffectsLetterSpacing=r}toInlineDecoration(e){return new M3(new y(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}},Xm=class{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}},Jm=class{constructor(e,t,i){this.color=e,this.zIndex=t,this.data=i}static cmp(e,t){return e.zIndex===t.zIndex?e.color<t.color?-1:e.color>t.color?1:0:e.zIndex-t.zIndex}}});function XB1(n){return Array.isArray(n)}function zh1(n){return!XB1(n)}function jQ(n){return typeof n=="string"}function $Q(n){return!jQ(n)}function Ju(n){return!n}function Kd(n,e){return n.ignoreCase&&e?e.toLowerCase():e}function qQ(n){return n.replace(/[&<>'"_]/g,"-")}function Wh1(n,e){console.log(`${n.languageId}: ${e}`)}function Xi(n,e){return new Error(`${n.languageId}: ${e}`)}function Gd(n,e,t,i,r){let o=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,s=null;return e.replace(o,function(a,l,d,c,u,h,C,p,m){return Ju(d)?Ju(c)?!Ju(u)&&u<i.length?Kd(n,i[u]):!Ju(C)&&n&&typeof n[C]=="string"?n[C]:(s===null&&(s=r.split("."),s.unshift(r)),!Ju(h)&&h<s.length?Kd(n,s[h]):""):Kd(n,t):"$"})}function uv(n,e){let t=e;for(;t&&t.length>0;){let i=n.tokenizer[t];if(i)return i;let r=t.lastIndexOf(".");r<0?t=null:t=t.substr(0,r)}return null}function Uh1(n,e){let t=e;for(;t&&t.length>0;){if(n.stateNames[t])return!0;let r=t.lastIndexOf(".");r<0?t=null:t=t.substr(0,r)}return!1}var KQ=k(()=>{});function tZ1(n,e){if(!e)return null;e=Kd(n,e);let t=n.brackets;for(let i of t){if(i.open===e)return{token:i.token,bracketType:1};if(i.close===e)return{token:i.token,bracketType:-1}}return null}var JB1,eZ1,GQ,$h1,eh,tf,ef,Yd,hv,YQ,QQ,th,XQ=k(()=>{En();zm();KQ();_n();JB1=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},eZ1=function(n,e){return function(t,i){e(t,i,n)}},$h1=5,eh=class{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(e!==null&&e.depth>=this._maxCacheDepth)return new tf(e,t);let i=tf.getStackElementId(e);i.length>0&&(i+="|"),i+=t;let r=this._entries[i];return r||(r=new tf(e,t),this._entries[i]=r,r)}};eh._INSTANCE=new eh($h1);tf=class n{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";for(;e!==null;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){for(;e!==null&&t!==null;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return e===null&&t===null}equals(e){return n._equals(this,e)}push(e){return eh.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return eh.create(this.parent,e)}},ef=class n{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new n(this.languageId,this.state)}},Yd=class{static create(e,t){return this._INSTANCE.create(e,t)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,t){if(t!==null)return new hv(e,t);if(e!==null&&e.depth>=this._maxCacheDepth)return new hv(e,t);let i=tf.getStackElementId(e),r=this._entries[i];return r||(r=new hv(e,null),this._entries[i]=r,r)}};Yd._INSTANCE=new Yd($h1);hv=class n{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:Yd.create(this.stack,this.embeddedLanguageData)}equals(e){return!(e instanceof n)||!this.stack.equals(e.stack)?!1:this.embeddedLanguageData===null&&e.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||e.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(e.embeddedLanguageData)}},YQ=class{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new l3(e,t,this._languageId)))}nestedLanguageTokenize(e,t,i,r){let o=i.languageId,s=i.state,a=mi.get(o);if(!a)return this.enterLanguage(o),this.emit(r,""),s;let l=a.tokenize(e,t,s);if(r!==0)for(let d of l.tokens)this._tokens.push(new l3(d.offset+r,d.type,d.language));else this._tokens=this._tokens.concat(l.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,l.endState}finalize(e){return new I9(this._tokens,e)}},QQ=class n{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){let i=this._theme.match(this._currentLanguageId,t)|1024;this._lastTokenMetadata!==i&&(this._lastTokenMetadata=i,this._tokens.push(e),this._tokens.push(i))}static _merge(e,t,i){let r=e!==null?e.length:0,o=t.length,s=i!==null?i.length:0;if(r===0&&o===0&&s===0)return new Uint32Array(0);if(r===0&&o===0)return i;if(o===0&&s===0)return e;let a=new Uint32Array(r+o+s);e!==null&&a.set(e);for(let l=0;l<o;l++)a[r+l]=t[l];return i!==null&&a.set(i,r+o),a}nestedLanguageTokenize(e,t,i,r){let o=i.languageId,s=i.state,a=mi.get(o);if(!a)return this.enterLanguage(o),this.emit(r,""),s;let l=a.tokenizeEncoded(e,t,s);if(r!==0)for(let d=0,c=l.tokens.length;d<c;d+=2)l.tokens[d]+=r;return this._prependTokens=n._merge(this._prependTokens,this._tokens,l.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,l.endState}finalize(e){return new x4(n._merge(this._prependTokens,this._tokens,null),e)}},th=GQ=class{constructor(e,t,i,r,o){this._configurationService=o,this._languageService=e,this._standaloneThemeService=t,this._languageId=i,this._lexer=r,this._embeddedLanguages=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let s=!1;this._tokenizationRegistryListener=mi.onDidChange(a=>{if(s)return;let l=!1;for(let d=0,c=a.changedLanguages.length;d<c;d++){let u=a.changedLanguages[d];if(this._embeddedLanguages[u]){l=!0;break}}l&&(s=!0,mi.handleChange([this._languageId]),s=!1)}),this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}),this._configurationService.onDidChangeConfiguration(a=>{a.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let e=[];for(let t in this._embeddedLanguages){let i=mi.get(t);if(i){if(i instanceof GQ){let r=i.getLoadStatus();r.loaded===!1&&e.push(r.promise)}continue}mi.isResolved(t)||e.push(mi.getOrCreate(t))}return e.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(t=>{})}}getInitialState(){let e=eh.create(null,this._lexer.start);return Yd.create(e,null)}tokenize(e,t,i){if(e.length>=this._maxTokenizationLineLength)return Zm(this._languageId,i);let r=new YQ,o=this._tokenize(e,t,i,r);return r.finalize(o)}tokenizeEncoded(e,t,i){if(e.length>=this._maxTokenizationLineLength)return q9(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),i);let r=new QQ(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,t,i,r);return r.finalize(o)}_tokenize(e,t,i,r){return i.embeddedLanguageData?this._nestedTokenize(e,t,i,0,r):this._myTokenize(e,t,i,0,r)}_findLeavingNestedLanguageOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&(i=uv(this._lexer,t.stack.state),!i))throw Xi(this._lexer,"tokenizer state is not defined: "+t.stack.state);let r=-1,o=!1;for(let s of i){if(!$Q(s.action)||s.action.nextEmbedded!=="@pop")continue;o=!0;let a=s.regex,l=s.regex.source;if(l.substr(0,4)==="^(?:"&&l.substr(l.length-1,1)===")"){let c=(a.ignoreCase?"i":"")+(a.unicode?"u":"");a=new RegExp(l.substr(4,l.length-5),c)}let d=e.search(a);d===-1||d!==0&&s.matchOnlyAtLineStart||(r===-1||d<r)&&(r=d)}if(!o)throw Xi(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return r}_nestedTokenize(e,t,i,r,o){let s=this._findLeavingNestedLanguageOffset(e,i);if(s===-1){let d=o.nestedLanguageTokenize(e,t,i.embeddedLanguageData,r);return Yd.create(i.stack,new ef(i.embeddedLanguageData.languageId,d))}let a=e.substring(0,s);a.length>0&&o.nestedLanguageTokenize(a,!1,i.embeddedLanguageData,r);let l=e.substring(s);return this._myTokenize(l,t,i,r+s,o)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,i,r,o){o.enterLanguage(this._languageId);let s=e.length,a=t&&this._lexer.includeLF?e+`
|
|
36
|
-
`:e,l=a.length,d=i.embeddedLanguageData,c=i.stack,u=0,h=null,C=!0;for(;C||u<l;){let p=u,m=c.depth,H=h?h.groups.length:0,g=c.state,L=null,V=null,_=null,b=null,M=null;if(h){L=h.matches;let I=h.groups.shift();V=I.matched,_=I.action,b=h.rule,h.groups.length===0&&(h=null)}else{if(!C&&u>=l)break;C=!1;let I=this._lexer.tokenizer[g];if(!I&&(I=uv(this._lexer,g),!I))throw Xi(this._lexer,"tokenizer state is not defined: "+g);let P=a.substr(u);for(let T of I)if((u===0||!T.matchOnlyAtLineStart)&&(L=P.match(T.regex),L)){V=L[0],_=T.action;break}}if(L||(L=[""],V=""),_||(u<l&&(L=[a.charAt(u)],V=L[0]),_=this._lexer.defaultToken),V===null)break;for(u+=V.length;zh1(_)&&$Q(_)&&_.test;)_=_.test(V,L,g,u===l);let A=null;if(typeof _=="string"||Array.isArray(_))A=_;else if(_.group)A=_.group;else if(_.token!==null&&_.token!==void 0){if(_.tokenSubst?A=Gd(this._lexer,_.token,V,L,g):A=_.token,_.nextEmbedded)if(_.nextEmbedded==="@pop"){if(!d)throw Xi(this._lexer,"cannot pop embedded language if not inside one");d=null}else{if(d)throw Xi(this._lexer,"cannot enter embedded language from within an embedded language");M=Gd(this._lexer,_.nextEmbedded,V,L,g)}if(_.goBack&&(u=Math.max(0,u-_.goBack)),_.switchTo&&typeof _.switchTo=="string"){let I=Gd(this._lexer,_.switchTo,V,L,g);if(I[0]==="@"&&(I=I.substr(1)),uv(this._lexer,I))c=c.switchTo(I);else throw Xi(this._lexer,"trying to switch to a state '"+I+"' that is undefined in rule: "+this._safeRuleName(b))}else{if(_.transform&&typeof _.transform=="function")throw Xi(this._lexer,"action.transform not supported");if(_.next)if(_.next==="@push"){if(c.depth>=this._lexer.maxStack)throw Xi(this._lexer,"maximum tokenizer stack size reached: ["+c.state+","+c.parent.state+",...]");c=c.push(g)}else if(_.next==="@pop"){if(c.depth<=1)throw Xi(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));c=c.pop()}else if(_.next==="@popall")c=c.popall();else{let I=Gd(this._lexer,_.next,V,L,g);if(I[0]==="@"&&(I=I.substr(1)),uv(this._lexer,I))c=c.push(I);else throw Xi(this._lexer,"trying to set a next state '"+I+"' that is undefined in rule: "+this._safeRuleName(b))}}_.log&&typeof _.log=="string"&&Wh1(this._lexer,this._lexer.languageId+": "+Gd(this._lexer,_.log,V,L,g))}if(A===null)throw Xi(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));let S=I=>{let P=this._languageService.getLanguageIdByLanguageName(I)||this._languageService.getLanguageIdByMimeType(I)||I,T=this._getNestedEmbeddedLanguageData(P);if(u<l){let R=e.substr(u);return this._nestedTokenize(R,t,Yd.create(c,T),r+u,o)}else return Yd.create(c,T)};if(Array.isArray(A)){if(h&&h.groups.length>0)throw Xi(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(L.length!==A.length+1)throw Xi(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));let I=0;for(let P=1;P<L.length;P++)I+=L[P].length;if(I!==V.length)throw Xi(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(b));h={rule:b,matches:L,groups:[]};for(let P=0;P<A.length;P++)h.groups[P]={action:A[P],matched:L[P+1]};u-=V.length;continue}else{if(A==="@rematch"&&(u-=V.length,V="",L=null,A="",M!==null))return S(M);if(V.length===0){if(l===0||m!==c.depth||g!==c.state||(h?h.groups.length:0)!==H)continue;throw Xi(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(b))}let I=null;if(jQ(A)&&A.indexOf("@brackets")===0){let P=A.substr(9),T=tZ1(this._lexer,V);if(!T)throw Xi(this._lexer,"@brackets token returned but no bracket defined as: "+V);I=qQ(T.token+P)}else{let P=A===""?"":A+this._lexer.tokenPostfix;I=qQ(P)}p<s&&o.emit(p+r,I)}if(M!==null)return S(M)}return Yd.create(c,d)}_getNestedEmbeddedLanguageData(e){if(!this._languageService.isRegisteredLanguageId(e))return new ef(e,Fd);e!==this._languageId&&(this._languageService.requestBasicLanguageFeatures(e),mi.getOrCreate(e),this._embeddedLanguages[e]=!0);let t=mi.get(e);return t?new ef(e,t.getInitialState()):new ef(e,Fd)}};th=GQ=JB1([eZ1(4,ye)],th)});function nZ1(n,e,t,i){return new Promise((r,o)=>{let s=()=>{let a=rZ1(n,e,t,i);if(t instanceof th){let l=t.getLoadStatus();if(l.loaded===!1){l.promise.then(s,o);return}}r(a)};s()})}function qh1(n,e,t){let i=[],o=new Uint32Array(2);o[0]=0,o[1]=33587200;for(let s=0,a=n.length;s<a;s++){let l=n[s];o[0]=l.length;let d=new Xn(o,l,t),c=ho.isBasicASCII(l,!0),u=ho.containsRTL(l,c,!0),h=o6(new d2(!1,!0,l,!1,c,u,0,d,[],e,0,0,0,0,-1,"none",!1,!1,null));i=i.concat(h.html),i.push("<br/>")}return i.join("")}function rZ1(n,e,t,i){let r=[],o=t.getInitialState();for(let s=0,a=n.length;s<a;s++){let l=n[s],d=t.tokenizeEncoded(l,!0,o);Xn.convertToEndOffset(d.tokens,l.length);let c=new Xn(d.tokens,l,i),u=ho.isBasicASCII(l,!0),h=ho.containsRTL(l,u,!0),C=o6(new d2(!1,!0,l,!1,u,h,0,c.inflate(),[],e,0,0,0,0,-1,"none",!1,!1,null));r=r.concat(C.html),r.push("<br/>"),o=d.endState}return r.join("")}var iZ1,JQ,nf,Kh1=k(()=>{Zd();xe();En();H3();qd();N5();XQ();iZ1=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},JQ=ms("standaloneColorizer",{createHTML:n=>n}),nf=class{static colorizeElement(e,t,i,r){r=r||{};let o=r.theme||"vs",s=r.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");if(!s)return console.error("Mode not detected"),Promise.resolve();let a=t.getLanguageIdByMimeType(s)||s;e.setTheme(o);let l=i.firstChild?i.firstChild.nodeValue:"";i.className+=" "+o;let d=c=>{var u;let h=(u=JQ?.createHTML(c))!==null&&u!==void 0?u:c;i.innerHTML=h};return this.colorize(t,l||"",a,r).then(d,c=>console.error(c))}static colorize(e,t,i,r){return iZ1(this,void 0,void 0,function*(){let o=e.languageIdCodec,s=4;r&&typeof r.tabSize=="number"&&(s=r.tabSize),km(t)&&(t=t.substr(1));let a=F2(t);if(!e.isRegisteredLanguageId(i))return qh1(a,s,o);let l=yield mi.getOrCreate(i);return l?nZ1(a,s,l,o):qh1(a,s,o)})}static colorizeLine(e,t,i,r,o=4){let s=ho.isBasicASCII(e,t),a=ho.containsRTL(e,s,i);return o6(new d2(!1,!0,e,!1,s,a,0,r,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,i=4){let r=e.getLineContent(t);e.tokenization.forceTokenization(t);let s=e.tokenization.getLineTokens(t).inflate();return this.colorizeLine(r,e.mightContainNonBasicASCII(),e.mightContainRTL(),s,i)}}});var rf,qI=k(()=>{hs();ht();rf={clipboard:{writeText:ua||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:ua||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>ua||fu1()?0:navigator.keyboard||Ua?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}});function pv(n,e){if(typeof n=="number"){if(n===0)return null;let t=(n&65535)>>>0,i=(n&4294901760)>>>16;return i!==0?new Cv([KI(t,e),KI(i,e)]):new Cv([KI(t,e)])}else{let t=[];for(let i=0;i<n.length;i++)t.push(KI(n[i],e));return new Cv(t)}}function KI(n,e){let t=!!(n&2048),i=!!(n&256),r=e===2?i:t,o=!!(n&1024),s=!!(n&512),a=e===2?t:i,l=n&255;return new b0(r,o,s,a,l)}var b0,Cv,GI,YI,ih=k(()=>{Me();b0=class n{constructor(e,t,i,r,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=r,this.keyCode=o}equals(e){return e instanceof n&&this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}},Cv=class{constructor(e){if(e.length===0)throw Bo("chords");this.chords=e}},GI=class{constructor(e,t,i,r,o,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=r,this.keyLabel=o,this.keyAriaLabel=s}},YI=class{}});function oZ1(n){if(n.charCode){let t=String.fromCharCode(n.charCode).toUpperCase();return ul.fromString(t)}let e=n.keyCode;if(e===3)return 7;if(uo)switch(e){case 59:return 85;case 60:if(sn)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(Ee)return 57;break}else if(c3){if(Ee&&e===93)return 57;if(!Ee&&e===92)return 57}return tY[e]||0}var sZ1,aZ1,lZ1,dZ1,wt,c2=k(()=>{hs();w5();ih();ht();sZ1=Ee?256:2048,aZ1=512,lZ1=1024,dZ1=Ee?2048:256,wt=class{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.altGraphKey=t.getModifierState("AltGraph"),this.keyCode=oZ1(t),this.code=t.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=sZ1),this.altKey&&(t|=aZ1),this.shiftKey&&(t|=lZ1),this.metaKey&&(t|=dZ1),t|=e,t}_computeKeyCodeChord(){let e=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode),new b0(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}});function cZ1(n){if(!n.parent||n.parent===n)return null;try{let e=n.location,t=n.parent.location;if(e.origin!=="null"&&t.origin!=="null"&&e.origin!==t.origin)return Gh1=!0,null}catch{return Gh1=!0,null}return n.parent}var Gh1,mv,QI,Yh1=k(()=>{Gh1=!1,mv=null;QI=class{static getSameOriginWindowChain(){if(!mv){mv=[];let e=window,t;do t=cZ1(e),t?mv.push({window:e,iframeElement:e.frameElement||null}):mv.push({window:e,iframeElement:null}),e=t;while(e)}return mv.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,r=0,o=this.getSameOriginWindowChain();for(let s of o){if(i+=s.window.scrollY,r+=s.window.scrollX,s.window===t||!s.iframeElement)break;let a=s.iframeElement.getBoundingClientRect();i+=a.top,r+=a.left}return{top:i,left:r}}}});var Fr,A0,Ka=k(()=>{hs();Yh1();ht();Fr=class{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=e.button===0,this.middleButton=e.button===1,this.rightButton=e.button===2,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,e.type==="dblclick"&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,typeof e.pageX=="number"?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=QI.getPositionOfChildWindowRelativeToAncestorWindow(window,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}},A0=class{constructor(e,t=0,i=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e){let r=e,o=e;if(typeof r.wheelDeltaY<"u")this.deltaY=r.wheelDeltaY/120;else if(typeof o.VERTICAL_AXIS<"u"&&o.axis===o.VERTICAL_AXIS)this.deltaY=-o.detail/3;else if(e.type==="wheel"){let s=e;s.deltaMode===s.DOM_DELTA_LINE?uo&&!Ee?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(typeof r.wheelDeltaX<"u")Ua&&zi?this.deltaX=-(r.wheelDeltaX/120):this.deltaX=r.wheelDeltaX/120;else if(typeof o.HORIZONTAL_AXIS<"u"&&o.axis===o.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if(e.type==="wheel"){let s=e;s.deltaMode===s.DOM_DELTA_LINE?uo&&!Ee?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}this.deltaY===0&&this.deltaX===0&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;(e=this.browserEvent)===null||e===void 0||e.preventDefault()}stopPropagation(){var e;(e=this.browserEvent)===null||e===void 0||e.stopPropagation()}}});function Ll(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return oX(n,e,i)}}function HZ1(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return sX(n,t)}}function yi(n,e,t){var i;t=(i=t)!==null&&i!==void 0?i:eT,Qh1&&Qh1(n,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){let s=t(o);s!==o&&(uZ1(e)||(e[r]=s),o=s)}n[o]=!0}return n}function of(n){let e=pZ1(null);for(let[t,i]of rC1(n))e[t]=i;return e}function XI(n,e){for(;n!==null;){let i=CZ1(n,e);if(i){if(i.get)return Ll(i.get);if(typeof i.value=="function")return Ll(i.value)}n=hZ1(n)}function t(i){return console.warn("fallback value for",i),null}return t}function aC1(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yZ1(),e=oe=>aC1(oe);if(e.version="3.0.5",e.removed=[],!n||!n.document||n.document.nodeType!==9)return e.isSupported=!1,e;let t=n.document,i=t.currentScript,{document:r}=n,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:d,NamedNodeMap:c=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:u,DOMParser:h,trustedTypes:C}=n,p=l.prototype,m=XI(p,"cloneNode"),H=XI(p,"nextSibling"),g=XI(p,"childNodes"),L=XI(p,"parentNode");if(typeof s=="function"){let oe=r.createElement("template");oe.content&&oe.content.ownerDocument&&(r=oe.content.ownerDocument)}let V,_="",{implementation:b,createNodeIterator:M,createDocumentFragment:A,getElementsByTagName:S}=r,{importNode:I}=t,P={};e.isSupported=typeof rC1=="function"&&typeof L=="function"&&b&&b.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:T,ERB_EXPR:R,TMPLIT_EXPR:B,DATA_ATTR:G,ARIA_ATTR:e1,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:X}=nC1,{IS_ALLOWED_URI:d1}=nC1,Y=null,h1=yi({},[...Jh1,...tX,...iX,...nX,...eC1]),s1=null,t1=yi({},[...tC1,...rX,...iC1,...JI]),x1=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,Vt=null,ke=!0,$e=!0,Ci=!1,rn=!0,mn=!1,fe=!1,qi=!1,Dr=!1,jr=!1,Rt=!1,gr=!1,vo=!0,Mi=!1,hr="user-content-",b1=!0,f1=!1,C1={},q=null,W=yi({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),o1=null,n1=yi({},["audio","video","img","source","image","track"]),w1=null,ee=yi({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ue="http://www.w3.org/1998/Math/MathML",Ve="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml",Oe=tt,$t=!1,qt=null,Fe=yi({},[ue,Ve,tt],eX),vi,Ki=["application/xhtml+xml","text/html"],no="text/html",Kt,Pi=null,y2=r.createElement("form"),Ea=function(m1){return m1 instanceof RegExp||m1 instanceof Function},ro=function(m1){if(!(Pi&&Pi===m1)){if((!m1||typeof m1!="object")&&(m1={}),m1=of(m1),vi=Ki.indexOf(m1.PARSER_MEDIA_TYPE)===-1?vi=no:vi=m1.PARSER_MEDIA_TYPE,Kt=vi==="application/xhtml+xml"?eX:eT,Y="ALLOWED_TAGS"in m1?yi({},m1.ALLOWED_TAGS,Kt):h1,s1="ALLOWED_ATTR"in m1?yi({},m1.ALLOWED_ATTR,Kt):t1,qt="ALLOWED_NAMESPACES"in m1?yi({},m1.ALLOWED_NAMESPACES,eX):Fe,w1="ADD_URI_SAFE_ATTR"in m1?yi(of(ee),m1.ADD_URI_SAFE_ATTR,Kt):ee,o1="ADD_DATA_URI_TAGS"in m1?yi(of(n1),m1.ADD_DATA_URI_TAGS,Kt):n1,q="FORBID_CONTENTS"in m1?yi({},m1.FORBID_CONTENTS,Kt):W,ve="FORBID_TAGS"in m1?yi({},m1.FORBID_TAGS,Kt):{},Vt="FORBID_ATTR"in m1?yi({},m1.FORBID_ATTR,Kt):{},C1="USE_PROFILES"in m1?m1.USE_PROFILES:!1,ke=m1.ALLOW_ARIA_ATTR!==!1,$e=m1.ALLOW_DATA_ATTR!==!1,Ci=m1.ALLOW_UNKNOWN_PROTOCOLS||!1,rn=m1.ALLOW_SELF_CLOSE_IN_ATTR!==!1,mn=m1.SAFE_FOR_TEMPLATES||!1,fe=m1.WHOLE_DOCUMENT||!1,jr=m1.RETURN_DOM||!1,Rt=m1.RETURN_DOM_FRAGMENT||!1,gr=m1.RETURN_TRUSTED_TYPE||!1,Dr=m1.FORCE_BODY||!1,vo=m1.SANITIZE_DOM!==!1,Mi=m1.SANITIZE_NAMED_PROPS||!1,b1=m1.KEEP_CONTENT!==!1,f1=m1.IN_PLACE||!1,d1=m1.ALLOWED_URI_REGEXP||oC1,Oe=m1.NAMESPACE||tt,x1=m1.CUSTOM_ELEMENT_HANDLING||{},m1.CUSTOM_ELEMENT_HANDLING&&Ea(m1.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(x1.tagNameCheck=m1.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m1.CUSTOM_ELEMENT_HANDLING&&Ea(m1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(x1.attributeNameCheck=m1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m1.CUSTOM_ELEMENT_HANDLING&&typeof m1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(x1.allowCustomizedBuiltInElements=m1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),mn&&($e=!1),Rt&&(jr=!0),C1&&(Y=yi({},[...eC1]),s1=[],C1.html===!0&&(yi(Y,Jh1),yi(s1,tC1)),C1.svg===!0&&(yi(Y,tX),yi(s1,rX),yi(s1,JI)),C1.svgFilters===!0&&(yi(Y,iX),yi(s1,rX),yi(s1,JI)),C1.mathMl===!0&&(yi(Y,nX),yi(s1,iC1),yi(s1,JI))),m1.ADD_TAGS&&(Y===h1&&(Y=of(Y)),yi(Y,m1.ADD_TAGS,Kt)),m1.ADD_ATTR&&(s1===t1&&(s1=of(s1)),yi(s1,m1.ADD_ATTR,Kt)),m1.ADD_URI_SAFE_ATTR&&yi(w1,m1.ADD_URI_SAFE_ATTR,Kt),m1.FORBID_CONTENTS&&(q===W&&(q=of(q)),yi(q,m1.FORBID_CONTENTS,Kt)),b1&&(Y["#text"]=!0),fe&&yi(Y,["html","head","body"]),Y.table&&(yi(Y,["tbody"]),delete ve.tbody),m1.TRUSTED_TYPES_POLICY){if(typeof m1.TRUSTED_TYPES_POLICY.createHTML!="function")throw gv('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m1.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw gv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');V=m1.TRUSTED_TYPES_POLICY,_=V.createHTML("")}else V===void 0&&(V=kZ1(C,i)),V!==null&&typeof _=="string"&&(_=V.createHTML(""));Ga&&Ga(m1),Pi=m1}},On=yi({},["mi","mo","mn","ms","mtext"]),tr=yi({},["foreignobject","desc","title","annotation-xml"]),na=yi({},["title","style","font","a","script"]),C5=yi({},tX);yi(C5,iX),yi(C5,VZ1);let n2=yi({},nX);yi(n2,MZ1);let J0=function(m1){let se=L(m1);(!se||!se.tagName)&&(se={namespaceURI:Oe,tagName:"template"});let Ce=eT(m1.tagName),Gt=eT(se.tagName);return qt[m1.namespaceURI]?m1.namespaceURI===Ve?se.namespaceURI===tt?Ce==="svg":se.namespaceURI===ue?Ce==="svg"&&(Gt==="annotation-xml"||On[Gt]):!!C5[Ce]:m1.namespaceURI===ue?se.namespaceURI===tt?Ce==="math":se.namespaceURI===Ve?Ce==="math"&&tr[Gt]:!!n2[Ce]:m1.namespaceURI===tt?se.namespaceURI===Ve&&!tr[Gt]||se.namespaceURI===ue&&!On[Gt]?!1:!n2[Ce]&&(na[Ce]||!C5[Ce]):!!(vi==="application/xhtml+xml"&&qt[m1.namespaceURI]):!1},fn=function(m1){fv(e.removed,{element:m1});try{m1.parentNode.removeChild(m1)}catch{m1.remove()}},Ir=function(m1,se){try{fv(e.removed,{attribute:se.getAttributeNode(m1),from:se})}catch{fv(e.removed,{attribute:null,from:se})}if(se.removeAttribute(m1),m1==="is"&&!s1[m1])if(jr||Rt)try{fn(se)}catch{}else try{se.setAttribute(m1,"")}catch{}},ra=function(m1){let se,Ce;if(Dr)m1="<remove></remove>"+m1;else{let Ro=fZ1(m1,/^[\r\n\t ]+/);Ce=Ro&&Ro[0]}vi==="application/xhtml+xml"&&Oe===tt&&(m1='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m1+"</body></html>");let Gt=V?V.createHTML(m1):m1;if(Oe===tt)try{se=new h().parseFromString(Gt,vi)}catch{}if(!se||!se.documentElement){se=b.createDocument(Oe,"template",null);try{se.documentElement.innerHTML=$t?_:Gt}catch{}}let gn=se.body||se.documentElement;return m1&&Ce&&gn.insertBefore(r.createTextNode(Ce),gn.childNodes[0]||null),Oe===tt?S.call(se,fe?"html":"body")[0]:fe?se.documentElement:gn},Da=function(m1){return M.call(m1.ownerDocument||m1,m1,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},jH=function(m1){return m1 instanceof u&&(typeof m1.nodeName!="string"||typeof m1.textContent!="string"||typeof m1.removeChild!="function"||!(m1.attributes instanceof c)||typeof m1.removeAttribute!="function"||typeof m1.setAttribute!="function"||typeof m1.namespaceURI!="string"||typeof m1.insertBefore!="function"||typeof m1.hasChildNodes!="function")},Y1=function(m1){return typeof a=="object"?m1 instanceof a:m1&&typeof m1=="object"&&typeof m1.nodeType=="number"&&typeof m1.nodeName=="string"},Q1=function(m1,se,Ce){P[m1]&&mZ1(P[m1],Gt=>{Gt.call(e,se,Ce,Pi)})},ze=function(m1){let se;if(Q1("beforeSanitizeElements",m1,null),jH(m1))return fn(m1),!0;let Ce=Kt(m1.nodeName);if(Q1("uponSanitizeElement",m1,{tagName:Ce,allowedTags:Y}),m1.hasChildNodes()&&!Y1(m1.firstElementChild)&&(!Y1(m1.content)||!Y1(m1.content.firstElementChild))&&S0(/<[/\w]/g,m1.innerHTML)&&S0(/<[/\w]/g,m1.textContent))return fn(m1),!0;if(!Y[Ce]||ve[Ce]){if(!ve[Ce]&&it(Ce)&&(x1.tagNameCheck instanceof RegExp&&S0(x1.tagNameCheck,Ce)||x1.tagNameCheck instanceof Function&&x1.tagNameCheck(Ce)))return!1;if(b1&&!q[Ce]){let Gt=L(m1)||m1.parentNode,gn=g(m1)||m1.childNodes;if(gn&&Gt){let Ro=gn.length;for(let Fi=Ro-1;Fi>=0;--Fi)Gt.insertBefore(m(gn[Fi],!0),H(m1))}}return fn(m1),!0}return m1 instanceof l&&!J0(m1)||(Ce==="noscript"||Ce==="noembed"||Ce==="noframes")&&S0(/<\/no(script|embed|frames)/i,m1.innerHTML)?(fn(m1),!0):(mn&&m1.nodeType===3&&(se=m1.textContent,se=v3(se,T," "),se=v3(se,R," "),se=v3(se,B," "),m1.textContent!==se&&(fv(e.removed,{element:m1.cloneNode()}),m1.textContent=se)),Q1("afterSanitizeElements",m1,null),!1)},Re=function(m1,se,Ce){if(vo&&(se==="id"||se==="name")&&(Ce in r||Ce in y2))return!1;if(!($e&&!Vt[se]&&S0(G,se))){if(!(ke&&S0(e1,se))){if(!s1[se]||Vt[se]){if(!(it(m1)&&(x1.tagNameCheck instanceof RegExp&&S0(x1.tagNameCheck,m1)||x1.tagNameCheck instanceof Function&&x1.tagNameCheck(m1))&&(x1.attributeNameCheck instanceof RegExp&&S0(x1.attributeNameCheck,se)||x1.attributeNameCheck instanceof Function&&x1.attributeNameCheck(se))||se==="is"&&x1.allowCustomizedBuiltInElements&&(x1.tagNameCheck instanceof RegExp&&S0(x1.tagNameCheck,Ce)||x1.tagNameCheck instanceof Function&&x1.tagNameCheck(Ce))))return!1}else if(!w1[se]){if(!S0(d1,v3(Ce,X,""))){if(!((se==="src"||se==="xlink:href"||se==="href")&&m1!=="script"&&gZ1(Ce,"data:")===0&&o1[m1])){if(!(Ci&&!S0(Q,v3(Ce,X,"")))){if(Ce)return!1}}}}}}return!0},it=function(m1){return m1.indexOf("-")>0},ft=function(m1){let se,Ce,Gt,gn;Q1("beforeSanitizeAttributes",m1,null);let{attributes:Ro}=m1;if(!Ro)return;let Fi={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:s1};for(gn=Ro.length;gn--;){se=Ro[gn];let{name:n0,namespaceURI:xp}=se;if(Ce=n0==="value"?se.value:LZ1(se.value),Gt=Kt(n0),Fi.attrName=Gt,Fi.attrValue=Ce,Fi.keepAttr=!0,Fi.forceKeepAttr=void 0,Q1("uponSanitizeAttribute",m1,Fi),Ce=Fi.attrValue,Fi.forceKeepAttr||(Ir(n0,m1),!Fi.keepAttr))continue;if(!rn&&S0(/\/>/i,Ce)){Ir(n0,m1);continue}mn&&(Ce=v3(Ce,T," "),Ce=v3(Ce,R," "),Ce=v3(Ce,B," "));let $H=Kt(m1.nodeName);if(Re($H,Gt,Ce)){if(Mi&&(Gt==="id"||Gt==="name")&&(Ir(n0,m1),Ce=hr+Ce),V&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!xp)switch(C.getAttributeType($H,Gt)){case"TrustedHTML":{Ce=V.createHTML(Ce);break}case"TrustedScriptURL":{Ce=V.createScriptURL(Ce);break}}try{xp?m1.setAttributeNS(xp,n0,Ce):m1.setAttribute(n0,Ce),Xh1(e.removed)}catch{}}}Q1("afterSanitizeAttributes",m1,null)},At=function oe(m1){let se,Ce=Da(m1);for(Q1("beforeSanitizeShadowDOM",m1,null);se=Ce.nextNode();)Q1("uponSanitizeShadowNode",se,null),!ze(se)&&(se.content instanceof o&&oe(se.content),ft(se));Q1("afterSanitizeShadowDOM",m1,null)};return e.sanitize=function(oe){let m1=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},se,Ce,Gt,gn;if($t=!oe,$t&&(oe="<!-->"),typeof oe!="string"&&!Y1(oe))if(typeof oe.toString=="function"){if(oe=oe.toString(),typeof oe!="string")throw gv("dirty is not a string, aborting")}else throw gv("toString is not a function");if(!e.isSupported)return oe;if(qi||ro(m1),e.removed=[],typeof oe=="string"&&(f1=!1),f1){if(oe.nodeName){let n0=Kt(oe.nodeName);if(!Y[n0]||ve[n0])throw gv("root node is forbidden and cannot be sanitized in-place")}}else if(oe instanceof a)se=ra("<!---->"),Ce=se.ownerDocument.importNode(oe,!0),Ce.nodeType===1&&Ce.nodeName==="BODY"||Ce.nodeName==="HTML"?se=Ce:se.appendChild(Ce);else{if(!jr&&!mn&&!fe&&oe.indexOf("<")===-1)return V&&gr?V.createHTML(oe):oe;if(se=ra(oe),!se)return jr?null:gr?_:""}se&&Dr&&fn(se.firstChild);let Ro=Da(f1?oe:se);for(;Gt=Ro.nextNode();)ze(Gt)||(Gt.content instanceof o&&At(Gt.content),ft(Gt));if(f1)return oe;if(jr){if(Rt)for(gn=A.call(se.ownerDocument);se.firstChild;)gn.appendChild(se.firstChild);else gn=se;return(s1.shadowroot||s1.shadowrootmode)&&(gn=I.call(t,gn,!0)),gn}let Fi=fe?se.outerHTML:se.innerHTML;return fe&&Y["!doctype"]&&se.ownerDocument&&se.ownerDocument.doctype&&se.ownerDocument.doctype.name&&S0(sC1,se.ownerDocument.doctype.name)&&(Fi="<!DOCTYPE "+se.ownerDocument.doctype.name+`>
|
|
36
|
+
`:e,l=a.length,d=i.embeddedLanguageData,c=i.stack,u=0,h=null,C=!0;for(;C||u<l;){let p=u,m=c.depth,H=h?h.groups.length:0,g=c.state,L=null,V=null,_=null,b=null,M=null;if(h){L=h.matches;let I=h.groups.shift();V=I.matched,_=I.action,b=h.rule,h.groups.length===0&&(h=null)}else{if(!C&&u>=l)break;C=!1;let I=this._lexer.tokenizer[g];if(!I&&(I=uv(this._lexer,g),!I))throw Xi(this._lexer,"tokenizer state is not defined: "+g);let P=a.substr(u);for(let T of I)if((u===0||!T.matchOnlyAtLineStart)&&(L=P.match(T.regex),L)){V=L[0],_=T.action;break}}if(L||(L=[""],V=""),_||(u<l&&(L=[a.charAt(u)],V=L[0]),_=this._lexer.defaultToken),V===null)break;for(u+=V.length;zh1(_)&&$Q(_)&&_.test;)_=_.test(V,L,g,u===l);let A=null;if(typeof _=="string"||Array.isArray(_))A=_;else if(_.group)A=_.group;else if(_.token!==null&&_.token!==void 0){if(_.tokenSubst?A=Gd(this._lexer,_.token,V,L,g):A=_.token,_.nextEmbedded)if(_.nextEmbedded==="@pop"){if(!d)throw Xi(this._lexer,"cannot pop embedded language if not inside one");d=null}else{if(d)throw Xi(this._lexer,"cannot enter embedded language from within an embedded language");M=Gd(this._lexer,_.nextEmbedded,V,L,g)}if(_.goBack&&(u=Math.max(0,u-_.goBack)),_.switchTo&&typeof _.switchTo=="string"){let I=Gd(this._lexer,_.switchTo,V,L,g);if(I[0]==="@"&&(I=I.substr(1)),uv(this._lexer,I))c=c.switchTo(I);else throw Xi(this._lexer,"trying to switch to a state '"+I+"' that is undefined in rule: "+this._safeRuleName(b))}else{if(_.transform&&typeof _.transform=="function")throw Xi(this._lexer,"action.transform not supported");if(_.next)if(_.next==="@push"){if(c.depth>=this._lexer.maxStack)throw Xi(this._lexer,"maximum tokenizer stack size reached: ["+c.state+","+c.parent.state+",...]");c=c.push(g)}else if(_.next==="@pop"){if(c.depth<=1)throw Xi(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));c=c.pop()}else if(_.next==="@popall")c=c.popall();else{let I=Gd(this._lexer,_.next,V,L,g);if(I[0]==="@"&&(I=I.substr(1)),uv(this._lexer,I))c=c.push(I);else throw Xi(this._lexer,"trying to set a next state '"+I+"' that is undefined in rule: "+this._safeRuleName(b))}}_.log&&typeof _.log=="string"&&Wh1(this._lexer,this._lexer.languageId+": "+Gd(this._lexer,_.log,V,L,g))}if(A===null)throw Xi(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));let S=I=>{let P=this._languageService.getLanguageIdByLanguageName(I)||this._languageService.getLanguageIdByMimeType(I)||I,T=this._getNestedEmbeddedLanguageData(P);if(u<l){let R=e.substr(u);return this._nestedTokenize(R,t,Yd.create(c,T),r+u,o)}else return Yd.create(c,T)};if(Array.isArray(A)){if(h&&h.groups.length>0)throw Xi(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(L.length!==A.length+1)throw Xi(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));let I=0;for(let P=1;P<L.length;P++)I+=L[P].length;if(I!==V.length)throw Xi(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(b));h={rule:b,matches:L,groups:[]};for(let P=0;P<A.length;P++)h.groups[P]={action:A[P],matched:L[P+1]};u-=V.length;continue}else{if(A==="@rematch"&&(u-=V.length,V="",L=null,A="",M!==null))return S(M);if(V.length===0){if(l===0||m!==c.depth||g!==c.state||(h?h.groups.length:0)!==H)continue;throw Xi(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(b))}let I=null;if(jQ(A)&&A.indexOf("@brackets")===0){let P=A.substr(9),T=tZ1(this._lexer,V);if(!T)throw Xi(this._lexer,"@brackets token returned but no bracket defined as: "+V);I=qQ(T.token+P)}else{let P=A===""?"":A+this._lexer.tokenPostfix;I=qQ(P)}p<s&&o.emit(p+r,I)}if(M!==null)return S(M)}return Yd.create(c,d)}_getNestedEmbeddedLanguageData(e){if(!this._languageService.isRegisteredLanguageId(e))return new ef(e,Fd);e!==this._languageId&&(this._languageService.requestBasicLanguageFeatures(e),mi.getOrCreate(e),this._embeddedLanguages[e]=!0);let t=mi.get(e);return t?new ef(e,t.getInitialState()):new ef(e,Fd)}};th=GQ=JB1([eZ1(4,ye)],th)});function nZ1(n,e,t,i){return new Promise((r,o)=>{let s=()=>{let a=rZ1(n,e,t,i);if(t instanceof th){let l=t.getLoadStatus();if(l.loaded===!1){l.promise.then(s,o);return}}r(a)};s()})}function qh1(n,e,t){let i=[],o=new Uint32Array(2);o[0]=0,o[1]=33587200;for(let s=0,a=n.length;s<a;s++){let l=n[s];o[0]=l.length;let d=new Xn(o,l,t),c=ho.isBasicASCII(l,!0),u=ho.containsRTL(l,c,!0),h=o6(new d2(!1,!0,l,!1,c,u,0,d,[],e,0,0,0,0,-1,"none",!1,!1,null));i=i.concat(h.html),i.push("<br/>")}return i.join("")}function rZ1(n,e,t,i){let r=[],o=t.getInitialState();for(let s=0,a=n.length;s<a;s++){let l=n[s],d=t.tokenizeEncoded(l,!0,o);Xn.convertToEndOffset(d.tokens,l.length);let c=new Xn(d.tokens,l,i),u=ho.isBasicASCII(l,!0),h=ho.containsRTL(l,u,!0),C=o6(new d2(!1,!0,l,!1,u,h,0,c.inflate(),[],e,0,0,0,0,-1,"none",!1,!1,null));r=r.concat(C.html),r.push("<br/>"),o=d.endState}return r.join("")}var iZ1,JQ,nf,Kh1=k(()=>{Zd();xe();En();H3();qd();N5();XQ();iZ1=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},JQ=ms("standaloneColorizer",{createHTML:n=>n}),nf=class{static colorizeElement(e,t,i,r){r=r||{};let o=r.theme||"vs",s=r.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");if(!s)return console.error("Mode not detected"),Promise.resolve();let a=t.getLanguageIdByMimeType(s)||s;e.setTheme(o);let l=i.firstChild?i.firstChild.nodeValue:"";i.className+=" "+o;let d=c=>{var u;let h=(u=JQ?.createHTML(c))!==null&&u!==void 0?u:c;i.innerHTML=h};return this.colorize(t,l||"",a,r).then(d,c=>console.error(c))}static colorize(e,t,i,r){return iZ1(this,void 0,void 0,function*(){let o=e.languageIdCodec,s=4;r&&typeof r.tabSize=="number"&&(s=r.tabSize),km(t)&&(t=t.substr(1));let a=F2(t);if(!e.isRegisteredLanguageId(i))return qh1(a,s,o);let l=yield mi.getOrCreate(i);return l?nZ1(a,s,l,o):qh1(a,s,o)})}static colorizeLine(e,t,i,r,o=4){let s=ho.isBasicASCII(e,t),a=ho.containsRTL(e,s,i);return o6(new d2(!1,!0,e,!1,s,a,0,r,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,i=4){let r=e.getLineContent(t);e.tokenization.forceTokenization(t);let s=e.tokenization.getLineTokens(t).inflate();return this.colorizeLine(r,e.mightContainNonBasicASCII(),e.mightContainRTL(),s,i)}}});var rf,qI=k(()=>{hs();ht();rf={clipboard:{writeText:ua||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:ua||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>ua||fu1()?0:navigator.keyboard||Ua?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}});function pv(n,e){if(typeof n=="number"){if(n===0)return null;let t=(n&65535)>>>0,i=(n&4294901760)>>>16;return i!==0?new Cv([KI(t,e),KI(i,e)]):new Cv([KI(t,e)])}else{let t=[];for(let i=0;i<n.length;i++)t.push(KI(n[i],e));return new Cv(t)}}function KI(n,e){let t=!!(n&2048),i=!!(n&256),r=e===2?i:t,o=!!(n&1024),s=!!(n&512),a=e===2?t:i,l=n&255;return new b0(r,o,s,a,l)}var b0,Cv,GI,YI,ih=k(()=>{Me();b0=class n{constructor(e,t,i,r,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=r,this.keyCode=o}equals(e){return e instanceof n&&this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}},Cv=class{constructor(e){if(e.length===0)throw Bo("chords");this.chords=e}},GI=class{constructor(e,t,i,r,o,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=r,this.keyLabel=o,this.keyAriaLabel=s}},YI=class{}});function oZ1(n){if(n.charCode){let t=String.fromCharCode(n.charCode).toUpperCase();return ul.fromString(t)}let e=n.keyCode;if(e===3)return 7;if(uo)switch(e){case 59:return 85;case 60:if(sn)return 97;break;case 61:return 86;case 107:return 109;case 109:return 111;case 173:return 88;case 224:if(Ee)return 57;break}else if(c3){if(Ee&&e===93)return 57;if(!Ee&&e===92)return 57}return tY[e]||0}var sZ1,aZ1,lZ1,dZ1,wt,c2=k(()=>{hs();w5();ih();ht();sZ1=Ee?256:2048,aZ1=512,lZ1=1024,dZ1=Ee?2048:256,wt=class{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.altGraphKey=t.getModifierState("AltGraph"),this.keyCode=oZ1(t),this.code=t.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asKeyCodeChord=this._computeKeyCodeChord()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeyCodeChord(){return this._asKeyCodeChord}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=sZ1),this.altKey&&(t|=aZ1),this.shiftKey&&(t|=lZ1),this.metaKey&&(t|=dZ1),t|=e,t}_computeKeyCodeChord(){let e=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode),new b0(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}});function cZ1(n){if(!n.parent||n.parent===n)return null;try{let e=n.location,t=n.parent.location;if(e.origin!=="null"&&t.origin!=="null"&&e.origin!==t.origin)return Gh1=!0,null}catch{return Gh1=!0,null}return n.parent}var Gh1,mv,QI,Yh1=k(()=>{Gh1=!1,mv=null;QI=class{static getSameOriginWindowChain(){if(!mv){mv=[];let e=window,t;do t=cZ1(e),t?mv.push({window:e,iframeElement:e.frameElement||null}):mv.push({window:e,iframeElement:null}),e=t;while(e)}return mv.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,r=0,o=this.getSameOriginWindowChain();for(let s of o){if(i+=s.window.scrollY,r+=s.window.scrollX,s.window===t||!s.iframeElement)break;let a=s.iframeElement.getBoundingClientRect();i+=a.top,r+=a.left}return{top:i,left:r}}}});var Fr,A0,Ka=k(()=>{hs();Yh1();ht();Fr=class{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=e.button===0,this.middleButton=e.button===1,this.rightButton=e.button===2,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,e.type==="dblclick"&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,typeof e.pageX=="number"?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=QI.getPositionOfChildWindowRelativeToAncestorWindow(window,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}},A0=class{constructor(e,t=0,i=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e){let r=e,o=e;if(typeof r.wheelDeltaY<"u")this.deltaY=r.wheelDeltaY/120;else if(typeof o.VERTICAL_AXIS<"u"&&o.axis===o.VERTICAL_AXIS)this.deltaY=-o.detail/3;else if(e.type==="wheel"){let s=e;s.deltaMode===s.DOM_DELTA_LINE?uo&&!Ee?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(typeof r.wheelDeltaX<"u")Ua&&zi?this.deltaX=-(r.wheelDeltaX/120):this.deltaX=r.wheelDeltaX/120;else if(typeof o.HORIZONTAL_AXIS<"u"&&o.axis===o.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if(e.type==="wheel"){let s=e;s.deltaMode===s.DOM_DELTA_LINE?uo&&!Ee?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}this.deltaY===0&&this.deltaX===0&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){var e;(e=this.browserEvent)===null||e===void 0||e.preventDefault()}stopPropagation(){var e;(e=this.browserEvent)===null||e===void 0||e.stopPropagation()}}});function Ll(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return oX(n,e,i)}}function HZ1(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return sX(n,t)}}function yi(n,e,t){var i;t=(i=t)!==null&&i!==void 0?i:eT,Qh1&&Qh1(n,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){let s=t(o);s!==o&&(uZ1(e)||(e[r]=s),o=s)}n[o]=!0}return n}function of(n){let e=pZ1(null);for(let[t,i]of rC1(n))e[t]=i;return e}function XI(n,e){for(;n!==null;){let i=CZ1(n,e);if(i){if(i.get)return Ll(i.get);if(typeof i.value=="function")return Ll(i.value)}n=hZ1(n)}function t(i){return console.warn("fallback value for",i),null}return t}function aC1(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yZ1(),e=oe=>aC1(oe);if(e.version="3.0.5",e.removed=[],!n||!n.document||n.document.nodeType!==9)return e.isSupported=!1,e;let t=n.document,i=t.currentScript,{document:r}=n,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:d,NamedNodeMap:c=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:u,DOMParser:h,trustedTypes:C}=n,p=l.prototype,m=XI(p,"cloneNode"),H=XI(p,"nextSibling"),g=XI(p,"childNodes"),L=XI(p,"parentNode");if(typeof s=="function"){let oe=r.createElement("template");oe.content&&oe.content.ownerDocument&&(r=oe.content.ownerDocument)}let V,_="",{implementation:b,createNodeIterator:M,createDocumentFragment:A,getElementsByTagName:S}=r,{importNode:I}=t,P={};e.isSupported=typeof rC1=="function"&&typeof L=="function"&&b&&b.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:T,ERB_EXPR:R,TMPLIT_EXPR:B,DATA_ATTR:G,ARIA_ATTR:e1,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:X}=nC1,{IS_ALLOWED_URI:d1}=nC1,Y=null,h1=yi({},[...Jh1,...tX,...iX,...nX,...eC1]),s1=null,t1=yi({},[...tC1,...rX,...iC1,...JI]),x1=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,Vt=null,ke=!0,$e=!0,Ci=!1,rn=!0,mn=!1,fe=!1,qi=!1,Dr=!1,jr=!1,Rt=!1,gr=!1,vo=!0,Mi=!1,hr="user-content-",b1=!0,f1=!1,C1={},q=null,W=yi({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),o1=null,n1=yi({},["audio","video","img","source","image","track"]),w1=null,ee=yi({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ue="http://www.w3.org/1998/Math/MathML",Ve="http://www.w3.org/2000/svg",it="http://www.w3.org/1999/xhtml",Oe=it,$t=!1,qt=null,Fe=yi({},[ue,Ve,it],eX),vi,Ki=["application/xhtml+xml","text/html"],no="text/html",Kt,Pi=null,y2=r.createElement("form"),Ea=function(m1){return m1 instanceof RegExp||m1 instanceof Function},ro=function(m1){if(!(Pi&&Pi===m1)){if((!m1||typeof m1!="object")&&(m1={}),m1=of(m1),vi=Ki.indexOf(m1.PARSER_MEDIA_TYPE)===-1?vi=no:vi=m1.PARSER_MEDIA_TYPE,Kt=vi==="application/xhtml+xml"?eX:eT,Y="ALLOWED_TAGS"in m1?yi({},m1.ALLOWED_TAGS,Kt):h1,s1="ALLOWED_ATTR"in m1?yi({},m1.ALLOWED_ATTR,Kt):t1,qt="ALLOWED_NAMESPACES"in m1?yi({},m1.ALLOWED_NAMESPACES,eX):Fe,w1="ADD_URI_SAFE_ATTR"in m1?yi(of(ee),m1.ADD_URI_SAFE_ATTR,Kt):ee,o1="ADD_DATA_URI_TAGS"in m1?yi(of(n1),m1.ADD_DATA_URI_TAGS,Kt):n1,q="FORBID_CONTENTS"in m1?yi({},m1.FORBID_CONTENTS,Kt):W,ve="FORBID_TAGS"in m1?yi({},m1.FORBID_TAGS,Kt):{},Vt="FORBID_ATTR"in m1?yi({},m1.FORBID_ATTR,Kt):{},C1="USE_PROFILES"in m1?m1.USE_PROFILES:!1,ke=m1.ALLOW_ARIA_ATTR!==!1,$e=m1.ALLOW_DATA_ATTR!==!1,Ci=m1.ALLOW_UNKNOWN_PROTOCOLS||!1,rn=m1.ALLOW_SELF_CLOSE_IN_ATTR!==!1,mn=m1.SAFE_FOR_TEMPLATES||!1,fe=m1.WHOLE_DOCUMENT||!1,jr=m1.RETURN_DOM||!1,Rt=m1.RETURN_DOM_FRAGMENT||!1,gr=m1.RETURN_TRUSTED_TYPE||!1,Dr=m1.FORCE_BODY||!1,vo=m1.SANITIZE_DOM!==!1,Mi=m1.SANITIZE_NAMED_PROPS||!1,b1=m1.KEEP_CONTENT!==!1,f1=m1.IN_PLACE||!1,d1=m1.ALLOWED_URI_REGEXP||oC1,Oe=m1.NAMESPACE||it,x1=m1.CUSTOM_ELEMENT_HANDLING||{},m1.CUSTOM_ELEMENT_HANDLING&&Ea(m1.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(x1.tagNameCheck=m1.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m1.CUSTOM_ELEMENT_HANDLING&&Ea(m1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(x1.attributeNameCheck=m1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m1.CUSTOM_ELEMENT_HANDLING&&typeof m1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(x1.allowCustomizedBuiltInElements=m1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),mn&&($e=!1),Rt&&(jr=!0),C1&&(Y=yi({},[...eC1]),s1=[],C1.html===!0&&(yi(Y,Jh1),yi(s1,tC1)),C1.svg===!0&&(yi(Y,tX),yi(s1,rX),yi(s1,JI)),C1.svgFilters===!0&&(yi(Y,iX),yi(s1,rX),yi(s1,JI)),C1.mathMl===!0&&(yi(Y,nX),yi(s1,iC1),yi(s1,JI))),m1.ADD_TAGS&&(Y===h1&&(Y=of(Y)),yi(Y,m1.ADD_TAGS,Kt)),m1.ADD_ATTR&&(s1===t1&&(s1=of(s1)),yi(s1,m1.ADD_ATTR,Kt)),m1.ADD_URI_SAFE_ATTR&&yi(w1,m1.ADD_URI_SAFE_ATTR,Kt),m1.FORBID_CONTENTS&&(q===W&&(q=of(q)),yi(q,m1.FORBID_CONTENTS,Kt)),b1&&(Y["#text"]=!0),fe&&yi(Y,["html","head","body"]),Y.table&&(yi(Y,["tbody"]),delete ve.tbody),m1.TRUSTED_TYPES_POLICY){if(typeof m1.TRUSTED_TYPES_POLICY.createHTML!="function")throw gv('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m1.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw gv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');V=m1.TRUSTED_TYPES_POLICY,_=V.createHTML("")}else V===void 0&&(V=kZ1(C,i)),V!==null&&typeof _=="string"&&(_=V.createHTML(""));Ga&&Ga(m1),Pi=m1}},On=yi({},["mi","mo","mn","ms","mtext"]),tr=yi({},["foreignobject","desc","title","annotation-xml"]),na=yi({},["title","style","font","a","script"]),C5=yi({},tX);yi(C5,iX),yi(C5,VZ1);let n2=yi({},nX);yi(n2,MZ1);let J0=function(m1){let se=L(m1);(!se||!se.tagName)&&(se={namespaceURI:Oe,tagName:"template"});let Ce=eT(m1.tagName),Gt=eT(se.tagName);return qt[m1.namespaceURI]?m1.namespaceURI===Ve?se.namespaceURI===it?Ce==="svg":se.namespaceURI===ue?Ce==="svg"&&(Gt==="annotation-xml"||On[Gt]):!!C5[Ce]:m1.namespaceURI===ue?se.namespaceURI===it?Ce==="math":se.namespaceURI===Ve?Ce==="math"&&tr[Gt]:!!n2[Ce]:m1.namespaceURI===it?se.namespaceURI===Ve&&!tr[Gt]||se.namespaceURI===ue&&!On[Gt]?!1:!n2[Ce]&&(na[Ce]||!C5[Ce]):!!(vi==="application/xhtml+xml"&&qt[m1.namespaceURI]):!1},fn=function(m1){fv(e.removed,{element:m1});try{m1.parentNode.removeChild(m1)}catch{m1.remove()}},Ir=function(m1,se){try{fv(e.removed,{attribute:se.getAttributeNode(m1),from:se})}catch{fv(e.removed,{attribute:null,from:se})}if(se.removeAttribute(m1),m1==="is"&&!s1[m1])if(jr||Rt)try{fn(se)}catch{}else try{se.setAttribute(m1,"")}catch{}},ra=function(m1){let se,Ce;if(Dr)m1="<remove></remove>"+m1;else{let Ro=fZ1(m1,/^[\r\n\t ]+/);Ce=Ro&&Ro[0]}vi==="application/xhtml+xml"&&Oe===it&&(m1='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m1+"</body></html>");let Gt=V?V.createHTML(m1):m1;if(Oe===it)try{se=new h().parseFromString(Gt,vi)}catch{}if(!se||!se.documentElement){se=b.createDocument(Oe,"template",null);try{se.documentElement.innerHTML=$t?_:Gt}catch{}}let gn=se.body||se.documentElement;return m1&&Ce&&gn.insertBefore(r.createTextNode(Ce),gn.childNodes[0]||null),Oe===it?S.call(se,fe?"html":"body")[0]:fe?se.documentElement:gn},Da=function(m1){return M.call(m1.ownerDocument||m1,m1,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},jH=function(m1){return m1 instanceof u&&(typeof m1.nodeName!="string"||typeof m1.textContent!="string"||typeof m1.removeChild!="function"||!(m1.attributes instanceof c)||typeof m1.removeAttribute!="function"||typeof m1.setAttribute!="function"||typeof m1.namespaceURI!="string"||typeof m1.insertBefore!="function"||typeof m1.hasChildNodes!="function")},Y1=function(m1){return typeof a=="object"?m1 instanceof a:m1&&typeof m1=="object"&&typeof m1.nodeType=="number"&&typeof m1.nodeName=="string"},Q1=function(m1,se,Ce){P[m1]&&mZ1(P[m1],Gt=>{Gt.call(e,se,Ce,Pi)})},ze=function(m1){let se;if(Q1("beforeSanitizeElements",m1,null),jH(m1))return fn(m1),!0;let Ce=Kt(m1.nodeName);if(Q1("uponSanitizeElement",m1,{tagName:Ce,allowedTags:Y}),m1.hasChildNodes()&&!Y1(m1.firstElementChild)&&(!Y1(m1.content)||!Y1(m1.content.firstElementChild))&&S0(/<[/\w]/g,m1.innerHTML)&&S0(/<[/\w]/g,m1.textContent))return fn(m1),!0;if(!Y[Ce]||ve[Ce]){if(!ve[Ce]&&Je(Ce)&&(x1.tagNameCheck instanceof RegExp&&S0(x1.tagNameCheck,Ce)||x1.tagNameCheck instanceof Function&&x1.tagNameCheck(Ce)))return!1;if(b1&&!q[Ce]){let Gt=L(m1)||m1.parentNode,gn=g(m1)||m1.childNodes;if(gn&&Gt){let Ro=gn.length;for(let Fi=Ro-1;Fi>=0;--Fi)Gt.insertBefore(m(gn[Fi],!0),H(m1))}}return fn(m1),!0}return m1 instanceof l&&!J0(m1)||(Ce==="noscript"||Ce==="noembed"||Ce==="noframes")&&S0(/<\/no(script|embed|frames)/i,m1.innerHTML)?(fn(m1),!0):(mn&&m1.nodeType===3&&(se=m1.textContent,se=v3(se,T," "),se=v3(se,R," "),se=v3(se,B," "),m1.textContent!==se&&(fv(e.removed,{element:m1.cloneNode()}),m1.textContent=se)),Q1("afterSanitizeElements",m1,null),!1)},Re=function(m1,se,Ce){if(vo&&(se==="id"||se==="name")&&(Ce in r||Ce in y2))return!1;if(!($e&&!Vt[se]&&S0(G,se))){if(!(ke&&S0(e1,se))){if(!s1[se]||Vt[se]){if(!(Je(m1)&&(x1.tagNameCheck instanceof RegExp&&S0(x1.tagNameCheck,m1)||x1.tagNameCheck instanceof Function&&x1.tagNameCheck(m1))&&(x1.attributeNameCheck instanceof RegExp&&S0(x1.attributeNameCheck,se)||x1.attributeNameCheck instanceof Function&&x1.attributeNameCheck(se))||se==="is"&&x1.allowCustomizedBuiltInElements&&(x1.tagNameCheck instanceof RegExp&&S0(x1.tagNameCheck,Ce)||x1.tagNameCheck instanceof Function&&x1.tagNameCheck(Ce))))return!1}else if(!w1[se]){if(!S0(d1,v3(Ce,X,""))){if(!((se==="src"||se==="xlink:href"||se==="href")&&m1!=="script"&&gZ1(Ce,"data:")===0&&o1[m1])){if(!(Ci&&!S0(Q,v3(Ce,X,"")))){if(Ce)return!1}}}}}}return!0},Je=function(m1){return m1.indexOf("-")>0},ft=function(m1){let se,Ce,Gt,gn;Q1("beforeSanitizeAttributes",m1,null);let{attributes:Ro}=m1;if(!Ro)return;let Fi={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:s1};for(gn=Ro.length;gn--;){se=Ro[gn];let{name:n0,namespaceURI:xp}=se;if(Ce=n0==="value"?se.value:LZ1(se.value),Gt=Kt(n0),Fi.attrName=Gt,Fi.attrValue=Ce,Fi.keepAttr=!0,Fi.forceKeepAttr=void 0,Q1("uponSanitizeAttribute",m1,Fi),Ce=Fi.attrValue,Fi.forceKeepAttr||(Ir(n0,m1),!Fi.keepAttr))continue;if(!rn&&S0(/\/>/i,Ce)){Ir(n0,m1);continue}mn&&(Ce=v3(Ce,T," "),Ce=v3(Ce,R," "),Ce=v3(Ce,B," "));let $H=Kt(m1.nodeName);if(Re($H,Gt,Ce)){if(Mi&&(Gt==="id"||Gt==="name")&&(Ir(n0,m1),Ce=hr+Ce),V&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!xp)switch(C.getAttributeType($H,Gt)){case"TrustedHTML":{Ce=V.createHTML(Ce);break}case"TrustedScriptURL":{Ce=V.createScriptURL(Ce);break}}try{xp?m1.setAttributeNS(xp,n0,Ce):m1.setAttribute(n0,Ce),Xh1(e.removed)}catch{}}}Q1("afterSanitizeAttributes",m1,null)},At=function oe(m1){let se,Ce=Da(m1);for(Q1("beforeSanitizeShadowDOM",m1,null);se=Ce.nextNode();)Q1("uponSanitizeShadowNode",se,null),!ze(se)&&(se.content instanceof o&&oe(se.content),ft(se));Q1("afterSanitizeShadowDOM",m1,null)};return e.sanitize=function(oe){let m1=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},se,Ce,Gt,gn;if($t=!oe,$t&&(oe="<!-->"),typeof oe!="string"&&!Y1(oe))if(typeof oe.toString=="function"){if(oe=oe.toString(),typeof oe!="string")throw gv("dirty is not a string, aborting")}else throw gv("toString is not a function");if(!e.isSupported)return oe;if(qi||ro(m1),e.removed=[],typeof oe=="string"&&(f1=!1),f1){if(oe.nodeName){let n0=Kt(oe.nodeName);if(!Y[n0]||ve[n0])throw gv("root node is forbidden and cannot be sanitized in-place")}}else if(oe instanceof a)se=ra("<!---->"),Ce=se.ownerDocument.importNode(oe,!0),Ce.nodeType===1&&Ce.nodeName==="BODY"||Ce.nodeName==="HTML"?se=Ce:se.appendChild(Ce);else{if(!jr&&!mn&&!fe&&oe.indexOf("<")===-1)return V&&gr?V.createHTML(oe):oe;if(se=ra(oe),!se)return jr?null:gr?_:""}se&&Dr&&fn(se.firstChild);let Ro=Da(f1?oe:se);for(;Gt=Ro.nextNode();)ze(Gt)||(Gt.content instanceof o&&At(Gt.content),ft(Gt));if(f1)return oe;if(jr){if(Rt)for(gn=A.call(se.ownerDocument);se.firstChild;)gn.appendChild(se.firstChild);else gn=se;return(s1.shadowroot||s1.shadowrootmode)&&(gn=I.call(t,gn,!0)),gn}let Fi=fe?se.outerHTML:se.innerHTML;return fe&&Y["!doctype"]&&se.ownerDocument&&se.ownerDocument.doctype&&se.ownerDocument.doctype.name&&S0(sC1,se.ownerDocument.doctype.name)&&(Fi="<!DOCTYPE "+se.ownerDocument.doctype.name+`>
|
|
37
37
|
`+Fi),mn&&(Fi=v3(Fi,T," "),Fi=v3(Fi,R," "),Fi=v3(Fi,B," ")),V&&gr?V.createHTML(Fi):Fi},e.setConfig=function(oe){ro(oe),qi=!0},e.clearConfig=function(){Pi=null,qi=!1},e.isValidAttribute=function(oe,m1,se){Pi||ro({});let Ce=Kt(oe),Gt=Kt(m1);return Re(Ce,Gt,se)},e.addHook=function(oe,m1){typeof m1=="function"&&(P[oe]=P[oe]||[],fv(P[oe],m1))},e.removeHook=function(oe){if(P[oe])return Xh1(P[oe])},e.removeHooks=function(oe){P[oe]&&(P[oe]=[])},e.removeAllHooks=function(){P={}},e}var rC1,Qh1,uZ1,hZ1,CZ1,Ga,_3,pZ1,oX,sX,mZ1,Xh1,fv,eT,eX,fZ1,v3,gZ1,LZ1,S0,gv,Jh1,tX,iX,VZ1,nX,MZ1,eC1,tC1,rX,iC1,JI,vZ1,_Z1,xZ1,bZ1,AZ1,oC1,SZ1,wZ1,sC1,nC1,yZ1,kZ1,Qd,wde,yde,tT,kde,Ede,Dde,iT,nT,Ide,Tde,rT=k(()=>{({entries:rC1,setPrototypeOf:Qh1,isFrozen:uZ1,getPrototypeOf:hZ1,getOwnPropertyDescriptor:CZ1}=Object),{freeze:Ga,seal:_3,create:pZ1}=Object,{apply:oX,construct:sX}=typeof Reflect<"u"&&Reflect;oX||(oX=function(e,t,i){return e.apply(t,i)});Ga||(Ga=function(e){return e});_3||(_3=function(e){return e});sX||(sX=function(e,t){return new e(...t)});mZ1=Ll(Array.prototype.forEach),Xh1=Ll(Array.prototype.pop),fv=Ll(Array.prototype.push),eT=Ll(String.prototype.toLowerCase),eX=Ll(String.prototype.toString),fZ1=Ll(String.prototype.match),v3=Ll(String.prototype.replace),gZ1=Ll(String.prototype.indexOf),LZ1=Ll(String.prototype.trim),S0=Ll(RegExp.prototype.test),gv=HZ1(TypeError);Jh1=Ga(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),tX=Ga(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),iX=Ga(["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"]),VZ1=Ga(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),nX=Ga(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),MZ1=Ga(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),eC1=Ga(["#text"]),tC1=Ga(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),rX=Ga(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),iC1=Ga(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),JI=Ga(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vZ1=_3(/\{\{[\w\W]*|[\w\W]*\}\}/gm),_Z1=_3(/<%[\w\W]*|[\w\W]*%>/gm),xZ1=_3(/\${[\w\W]*}/gm),bZ1=_3(/^data-[\-\w.\u00B7-\uFFFF]/),AZ1=_3(/^aria-[\-\w]+$/),oC1=_3(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),SZ1=_3(/^(?:\w+script|data):/i),wZ1=_3(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),sC1=_3(/^html$/i),nC1=Object.freeze({__proto__:null,MUSTACHE_EXPR:vZ1,ERB_EXPR:_Z1,TMPLIT_EXPR:xZ1,DATA_ATTR:bZ1,ARIA_ATTR:AZ1,IS_ALLOWED_URI:oC1,IS_SCRIPT_OR_DATA:SZ1,ATTR_WHITESPACE:wZ1,DOCTYPE_NAME:sC1}),yZ1=()=>typeof window>"u"?null:window,kZ1=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(i=t.getAttribute(r));let o="dompurify"+(i?"#"+i:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};Qd=aC1(),wde=Qd.version,yde=Qd.isSupported,tT=Qd.sanitize,kde=Qd.setConfig,Ede=Qd.clearConfig,Dde=Qd.isValidAttribute,iT=Qd.addHook,nT=Qd.removeHook,Ide=Qd.removeHooks,Tde=Qd.removeAllHooks});var je,EZ1,aX,lX,oT,sT,dC1,Ps=k(()=>{Me();ht();pi();(function(n){n.inMemory="inmemory",n.vscode="vscode",n.internal="private",n.walkThrough="walkThrough",n.walkThroughSnippet="walkThroughSnippet",n.http="http",n.https="https",n.file="file",n.mailto="mailto",n.untitled="untitled",n.data="data",n.command="command",n.vscodeRemote="vscode-remote",n.vscodeRemoteResource="vscode-remote-resource",n.vscodeManagedRemoteResource="vscode-managed-remote-resource",n.vscodeUserData="vscode-userdata",n.vscodeCustomEditor="vscode-custom-editor",n.vscodeNotebookCell="vscode-notebook-cell",n.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",n.vscodeNotebookCellOutput="vscode-notebook-cell-output",n.vscodeInteractiveInput="vscode-interactive-input",n.vscodeSettings="vscode-settings",n.vscodeWorkspaceTrust="vscode-workspace-trust",n.vscodeTerminal="vscode-terminal",n.vscodeChatSesssion="vscode-chat-editor",n.webviewPanel="webview-panel",n.vscodeWebview="vscode-webview",n.extension="extension",n.vscodeFileResource="vscode-file",n.tmp="tmp",n.vsls="vsls",n.vscodeSourceControl="vscode-scm"})(je||(je={}));EZ1="tkn",aX=class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${je.vscodeRemoteResource}`}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(a){return ae(a),e}let t=e.authority,i=this._hosts[t];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);let r=this._ports[t],o=this._connectionTokens[t],s=`path=${encodeURIComponent(e.path)}`;return typeof o=="string"&&(s+=`&${EZ1}=${encodeURIComponent(o)}`),X1.from({scheme:A5?this._preferredWebSchema:je.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:s})}},lX=new aX,oT=class n{uriToBrowserUri(e){return e.scheme===je.vscodeRemote?lX.rewrite(e):e.scheme===je.file&&(ua||y81&&b5.origin===`${je.vscodeFileResource}://${n.FALLBACK_AUTHORITY}`)?e.with({scheme:je.vscodeFileResource,authority:e.authority||n.FALLBACK_AUTHORITY,query:null,fragment:null}):e}};oT.FALLBACK_AUTHORITY="vscode-app";sT=new oT;(function(n){let e=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);n.CoopAndCoep=Object.freeze(e.get("3"));let t="vscode-coi";function i(o){let s;typeof o=="string"?s=new URL(o).searchParams:o instanceof URL?s=o.searchParams:X1.isUri(o)&&(s=new URL(o.toString(!0)).searchParams);let a=s?.get(t);if(a)return e.get(a)}n.getHeadersFromQuery=i;function r(o,s,a){if(!globalThis.crossOriginIsolated)return;let l=s&&a?"3":a?"2":"1";o instanceof URLSearchParams?o.set(t,l):o[t]=l}n.addSearchParam=r})(dC1||(dC1={}))});function Ji(n){for(;n.firstChild;)n.firstChild.remove()}function sf(n){var e;return(e=n?.isConnected)!==null&&e!==void 0?e:!1}function a1(n,e,t,i){return new cX(n,e,t,i)}function uC1(n){return function(e){return n(new Fr(e))}}function DZ1(n){return function(e){return n(new wt(e))}}function IZ1(n,e,t){return a1(n,Fo&&rf.pointerEvents?S1.POINTER_DOWN:S1.MOUSE_DOWN,e,t)}function Vv(n){return document.defaultView.getComputedStyle(n,null)}function Hl(n){if(n!==document.body)return new Ot(n.clientWidth,n.clientHeight);if(Fo&&window.visualViewport)return new Ot(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new Ot(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Ot(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Ot(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}function lT(n){let e=n.offsetParent,t=n.offsetTop,i=n.offsetLeft;for(;(n=n.parentNode)!==null&&n!==document.body&&n!==document.documentElement;){t-=n.scrollTop;let r=fC1(n)?null:Vv(n);r&&(i-=r.direction!=="rtl"?n.scrollLeft:-n.scrollLeft),n===e&&(i+=fa.getBorderLeftWidth(n),t+=fa.getBorderTopWidth(n),t+=n.offsetTop,i+=n.offsetLeft,e=n.offsetParent)}return{left:i,top:t}}function CC1(n,e,t){typeof e=="number"&&(n.style.width=`${e}px`),typeof t=="number"&&(n.style.height=`${t}px`)}function oi(n){let e=n.getBoundingClientRect();return{left:e.left+window.scrollX,top:e.top+window.scrollY,width:e.width,height:e.height}}function pC1(n){let e=n,t=1;do{let i=Vv(e).zoom;i!=null&&i!=="1"&&(t*=i),e=e.parentElement}while(e!==null&&e!==document.documentElement);return t}function $o(n){let e=fa.getMarginLeft(n)+fa.getMarginRight(n);return n.offsetWidth+e}function dT(n){let e=fa.getBorderLeftWidth(n)+fa.getBorderRightWidth(n),t=fa.getPaddingLeft(n)+fa.getPaddingRight(n);return n.offsetWidth-e-t}function mC1(n){let e=fa.getBorderTopWidth(n)+fa.getBorderBottomWidth(n),t=fa.getPaddingTop(n)+fa.getPaddingBottom(n);return n.offsetHeight-e-t}function Xd(n){let e=fa.getMarginTop(n)+fa.getMarginBottom(n);return n.offsetHeight+e}function mr(n,e){for(;n;){if(n===e)return!0;n=n.parentNode}return!1}function hX(n,e,t){for(;n&&n.nodeType===n.ELEMENT_NODE;){if(n.classList.contains(e))return n;if(t){if(typeof t=="string"){if(n.classList.contains(t))return null}else if(n===t)return null}n=n.parentNode}return null}function cT(n,e,t){return!!hX(n,e,t)}function fC1(n){return n&&!!n.host&&!!n.mode}function nh(n){return!!x3(n)}function x3(n){for(;n.parentNode;){if(n===document.body)return null;n=n.parentNode}return fC1(n)?n:null}function b3(){let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n}function Co(n=document.getElementsByTagName("head")[0],e){let t=document.createElement("style");return t.type="text/css",t.media="screen",e?.(t),n.appendChild(t),t}function gC1(){return dX||(dX=Co()),dX}function TZ1(n){var e,t;return!((e=n?.sheet)===null||e===void 0)&&e.rules?n.sheet.rules:!((t=n?.sheet)===null||t===void 0)&&t.cssRules?n.sheet.cssRules:[]}function Mv(n,e,t=gC1()){!t||!e||t.sheet.insertRule(n+"{"+e+"}",0)}function CX(n,e=gC1()){if(!e)return;let t=TZ1(e),i=[];for(let r=0;r<t.length;r++)t[r].selectorText.indexOf(n)!==-1&&i.push(r);for(let r=i.length-1;r>=0;r--)e.sheet.deleteRule(i[r])}function uT(n){return typeof HTMLElement=="object"?n instanceof HTMLElement:n&&typeof n=="object"&&n.nodeType===1&&typeof n.nodeName=="string"}function LC1(n){let e=n;return!!(e&&typeof e.preventDefault=="function"&&typeof e.stopPropagation=="function")}function HC1(n){let e=[];for(let t=0;n&&n.nodeType===n.ELEMENT_NODE;t++)e[t]=n.scrollTop,n=n.parentNode;return e}function VC1(n,e){for(let t=0;n&&n.nodeType===n.ELEMENT_NODE;t++)n.scrollTop!==e[t]&&(n.scrollTop=e[t]),n=n.parentNode}function G2(n){return new uX(n)}function p1(n,...e){if(n.append(...e),e.length===1&&typeof e[0]!="string")return e[0]}function hT(n,e){return n.insertBefore(e,n.firstChild),e}function $n(n,...e){n.innerText="",p1(n,...e)}function MC1(n,e,t,...i){let r=NZ1.exec(e);if(!r)throw new Error("Bad use of emmet");let o=r[1]||"div",s;return n!==Hv.HTML?s=document.createElementNS(n,o):s=document.createElement(o),r[3]&&(s.id=r[3]),r[4]&&(s.className=r[4].replace(/\./g," ").trim()),t&&Object.entries(t).forEach(([a,l])=>{typeof l>"u"||(/^on\w+$/.test(a)?s[a]=l:a==="selected"?l&&s.setAttribute(a,"true"):s.setAttribute(a,l))}),s.append(...i),s}function g1(n,e,...t){return MC1(Hv.HTML,n,e,...t)}function vC1(n,...e){n?Eo(...e):po(...e)}function Eo(...n){for(let e of n)e.style.display="",e.removeAttribute("aria-hidden")}function po(...n){for(let e of n)e.style.display="none",e.setAttribute("aria-hidden","true")}function pX(n){let e=window.devicePixelRatio*n;return Math.max(1,Math.floor(e))/window.devicePixelRatio}function CT(n){window.open(n,"_blank","noopener")}function _C1(n){let e=()=>{n(),t=K2(e)},t=K2(e);return te(()=>t.dispose())}function Vl(n){return n?`url('${sT.uriToBrowserUri(n).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function mX(n){return`'${n.replace(/'/g,"%27")}'`}function Jd(n,e){if(n!==void 0){let t=n.match(/^\s*var\((.+)\)$/);if(t){let i=t[1].split(",",2);return i.length===2&&(e=Jd(i[1].trim(),e)),`var(${i[0]}, ${e})`}return n}return e}function xC1(n,e=!1){let t=document.createElement("a");return iT("afterSanitizeAttributes",i=>{for(let r of["href","src"])if(i.hasAttribute(r)){let o=i.getAttribute(r);if(r==="href"&&o.startsWith("#"))continue;if(t.href=o,!n.includes(t.protocol.replace(/:$/,""))){if(e&&r==="src"&&t.href.startsWith("data:"))continue;i.removeAttribute(r)}}}),te(()=>{nT("afterSanitizeAttributes")})}function fr(n,...e){let t,i;Array.isArray(e[0])?(t={},i=e[0]):(t=e[0]||{},i=e[1]);let r=OZ1.exec(n);if(!r||!r.groups)throw new Error("Bad use of h");let o=r.groups.tag||"div",s=document.createElement(o);r.groups.id&&(s.id=r.groups.id);let a=[];if(r.groups.class)for(let d of r.groups.class.split("."))d!==""&&a.push(d);if(t.className!==void 0)for(let d of t.className.split("."))d!==""&&a.push(d);a.length>0&&(s.className=a.join(" "));let l={};if(r.groups.name&&(l[r.groups.name]=s),i)for(let d of i)d instanceof HTMLElement?s.appendChild(d):typeof d=="string"?s.append(d):"root"in d&&(Object.assign(l,d),s.appendChild(d.root));for(let[d,c]of Object.entries(t))if(d!=="className")if(d==="style")for(let[u,h]of Object.entries(c))s.style.setProperty(cC1(u),typeof h=="number"?h+"px":""+h);else d==="tabIndex"?s.tabIndex=c:s.setAttribute(cC1(d),c.toString());return l.root=s,l}function cC1(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}var cX,Ft,hC1,af,K2,Lv,fa,Ot,dX,S1,We,uX,NZ1,Hv,bC1,Wde,I4,aT,OZ1,re=k(()=>{hs();qI();c2();Ka();Me();$1();rT();c1();Ps();ht();cX=class{constructor(e,t,i,r){this._node=e,this._type=t,this._handler=i,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}};Ft=function(e,t,i,r){let o=i;return t==="click"||t==="mousedown"?o=uC1(i):(t==="keydown"||t==="keypress"||t==="keyup")&&(o=DZ1(i)),a1(e,t,o,r)},hC1=function(e,t,i){let r=uC1(t);return IZ1(e,r,i)};Lv=class{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){ae(e)}}static sort(e,t){return t.priority-e.priority}};(function(){let n=[],e=null,t=!1,i=!1,r=()=>{for(t=!1,e=n,n=[],i=!0;e.length>0;)e.sort(Lv.sort),e.shift().execute();i=!1};K2=(o,s=0)=>{let a=new Lv(o,s);return n.push(a),t||(t=!0,requestAnimationFrame(r)),a},af=(o,s)=>{if(i){let a=new Lv(o,s);return e.push(a),a}else return K2(o,s)}})();fa=class n{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let r=Vv(e),o=r?r.getPropertyValue(t):"0";return n.convertToPixels(e,o)}static getBorderLeftWidth(e){return n.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return n.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return n.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return n.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return n.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return n.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return n.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return n.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return n.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return n.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return n.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return n.getDimension(e,"margin-bottom","marginBottom")}},Ot=class n{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new n(e,t):this}static is(e){return typeof e=="object"&&typeof e.height=="number"&&typeof e.width=="number"}static lift(e){return e instanceof n?e:new n(e.width,e.height)}static equals(e,t){return e===t?!0:!e||!t?!1:e.width===t.width&&e.height===t.height}};Ot.None=new Ot(0,0);dX=null;S1={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:c3?"webkitAnimationStart":"animationstart",ANIMATION_END:c3?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:c3?"webkitAnimationIteration":"animationiteration"};We={stop:(n,e)=>(n.preventDefault(),e&&n.stopPropagation(),n)};uX=class n extends z{static hasFocusWithin(e){let t=x3(e),i=t?t.activeElement:document.activeElement;return mr(i,e)}constructor(e){super(),this._onDidFocus=this._register(new j),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new j),this.onDidBlur=this._onDidBlur.event;let t=n.hasFocusWithin(e),i=!1,r=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(i=!0,window.setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{n.hasFocusWithin(e)!==t&&(t?o():r())},this._register(a1(e,S1.FOCUS,r,!0)),this._register(a1(e,S1.BLUR,o,!0)),this._register(a1(e,S1.FOCUS_IN,()=>this._refreshStateHandler())),this._register(a1(e,S1.FOCUS_OUT,()=>this._refreshStateHandler()))}};NZ1=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;(function(n){n.HTML="http://www.w3.org/1999/xhtml",n.SVG="http://www.w3.org/2000/svg"})(Hv||(Hv={}));g1.SVG=function(n,e,...t){return MC1(Hv.SVG,n,e,...t)};lX.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");bC1=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]),Wde=Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0}),I4=class n extends j{constructor(){super(),this._subscriptions=new i1,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(a1(window,"keydown",e=>{if(e.defaultPrevented)return;let t=new wt(e);if(!(t.keyCode===6&&e.repeat)){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(t.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(a1(window,"keyup",e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(a1(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a1(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(a1(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(a1(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return n.instance||(n.instance=new n),n.instance}dispose(){super.dispose(),this._subscriptions.dispose()}},aT=class extends z{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(a1(this.element,S1.DRAG_ENTER,e=>{this.counter++,this.dragStartTime=e.timeStamp,this.callbacks.onDragEnter(e)})),this._register(a1(this.element,S1.DRAG_OVER,e=>{var t,i;e.preventDefault(),(i=(t=this.callbacks).onDragOver)===null||i===void 0||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(a1(this.element,S1.DRAG_LEAVE,e=>{this.counter--,this.counter===0&&(this.dragStartTime=0,this.callbacks.onDragLeave(e))})),this._register(a1(this.element,S1.DRAG_END,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(e)})),this._register(a1(this.element,S1.DROP,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(e)}))}},OZ1=/(?<tag>[\w\-]+)?(?:#(?<id>[\w\-]+))?(?<class>(?:\.(?:[\w\-]+))*)(?:@(?<name>(?:[\w\_])+))?/});var AC1=k(()=>{});function wC1(n){rh=document.createElement("div"),rh.className="monaco-aria-container";let e=()=>{let i=document.createElement("div");return i.className="monaco-alert",i.setAttribute("role","alert"),i.setAttribute("aria-atomic","true"),rh.appendChild(i),i};pT=e(),fX=e();let t=()=>{let i=document.createElement("div");return i.className="monaco-status",i.setAttribute("aria-live","polite"),i.setAttribute("aria-atomic","true"),rh.appendChild(i),i};mT=t(),gX=t(),n.appendChild(rh)}function Bn(n){rh&&(pT.textContent!==n?(Ji(fX),fT(pT,n)):(Ji(pT),fT(fX,n)))}function Ml(n){rh&&(mT.textContent!==n?(Ji(gX),fT(mT,n)):(Ji(mT),fT(gX,n)))}function fT(n,e){Ji(n),e.length>SC1&&(e=e.substr(0,SC1)),n.textContent=e,n.style.visibility="hidden",n.style.visibility="visible"}var SC1,rh,pT,fX,mT,gX,Y2=k(()=>{re();AC1();SC1=2e4});var lf,gT=k(()=>{ce();lf=le("markerDecorationsService")});var rr,O5=k(()=>{ce();rr=le("textModelService")});function T4(n){var e,t;return{id:n.id,label:n.label,class:void 0,enabled:(e=n.enabled)!==null&&e!==void 0?e:!0,checked:(t=n.checked)!==null&&t!==void 0?t:!1,run:()=>df(this,void 0,void 0,function*(){return n.run()}),tooltip:n.label}}var df,en,w0,qn,y0,vv,Br=k(()=>{$1();c1();T1();df=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},en=class extends z{constructor(e,t="",i="",r=!0,o){super(),this._onDidChange=this._register(new j),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=i,this._enabled=r,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return df(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(e))})}},w0=class extends z{constructor(){super(...arguments),this._onWillRun=this._register(new j),this.onWillRun=this._onWillRun.event,this._onDidRun=this._register(new j),this.onDidRun=this._onDidRun.event}run(e,t){return df(this,void 0,void 0,function*(){if(!e.enabled)return;this._onWillRun.fire({action:e});let i;try{yield this.runAction(e,t)}catch(r){i=r}this._onDidRun.fire({action:e,error:i})})}runAction(e,t){return df(this,void 0,void 0,function*(){yield e.run(t)})}},qn=class n{constructor(){this.id=n.ID,this.label="",this.tooltip="",this.class="separator",this.enabled=!1,this.checked=!1}static join(...e){let t=[];for(let i of e)i.length&&(t.length?t=[...t,new n,...i]:t=i);return t}run(){return df(this,void 0,void 0,function*(){})}};qn.ID="vs.actions.separator";y0=class{get actions(){return this._actions}constructor(e,t,i,r){this.tooltip="",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=r,this._actions=i}run(){return df(this,void 0,void 0,function*(){})}},vv=class n extends en{constructor(){super(n.ID,f("submenu.empty","(empty)"),void 0,!1)}};vv.ID="vs.actions.empty"});var HX,G1,Ni=k(()=>{Ti();(function(n){function e(t){return t&&typeof t=="object"&&typeof t.id=="string"}n.isThemeColor=e})(HX||(HX={}));(function(n){n.iconNameSegment="[A-Za-z0-9]+",n.iconNameExpression="[A-Za-z0-9-]+",n.iconModifierExpression="~[A-Za-z]+",n.iconNameCharacter="[A-Za-z0-9~-]";let e=new RegExp(`^(${n.iconNameExpression})(${n.iconModifierExpression})?$`);function t(h){let C=e.exec(h.id);if(!C)return t(_1.error);let[,p,m]=C,H=["codicon","codicon-"+p];return m&&H.push("codicon-modifier-"+m.substring(1)),H}n.asClassNameArray=t;function i(h){return t(h).join(" ")}n.asClassName=i;function r(h){return"."+t(h).join(".")}n.asCSSSelector=r;function o(h){return h&&typeof h=="object"&&typeof h.id=="string"&&(typeof h.color>"u"||HX.isThemeColor(h.color))}n.isThemeIcon=o;let s=new RegExp(`^\\$\\((${n.iconNameExpression}(?:${n.iconModifierExpression})?)\\)$`);function a(h){let C=s.exec(h);if(!C)return;let[,p]=C;return{id:p}}n.fromString=a;function l(h){return{id:h}}n.fromId=l;function d(h,C){let p=h.id,m=p.lastIndexOf("~");return m!==-1&&(p=p.substring(0,m)),C&&(p=`${p}~${C}`),{id:p}}n.modify=d;function c(h){let C=h.id.lastIndexOf("~");if(C!==-1)return h.id.substring(C+1)}n.getModifier=c;function u(h,C){var p,m;return h.id===C.id&&((p=h.color)===null||p===void 0?void 0:p.id)===((m=C.color)===null||m===void 0?void 0:m.id)}n.isEqual=u})(G1||(G1={}))});var Ut,Be,Oi=k(()=>{$1();O2();c1();S5();di();ce();Ut=le("commandService"),Be=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new j,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(n,e){if(!n)throw new Error("invalid command");if(typeof n=="string"){if(!e)throw new Error("invalid command");return this.registerCommand({id:n,handler:e})}if(n.description){let s=[];for(let l of n.description.args)s.push(l.constraint);let a=n.handler;n.handler=function(l,...d){return H81(d,s),a(l,...d)}}let{id:t}=n,i=this._commands.get(t);i||(i=new Rn,this._commands.set(t,i));let r=i.unshift(n),o=te(()=>{r();let s=this._commands.get(t);s?.isEmpty()&&this._commands.delete(t)});return this._onDidRegisterCommand.fire(t),o}registerCommandAlias(n,e){return Be.registerCommand(n,(t,...i)=>t.get(Ut).executeCommand(e,...i))}getCommand(n){let e=this._commands.get(n);if(!(!e||e.isEmpty()))return Ye.first(e)}getCommands(){let n=new Map;for(let e of this._commands.keys()){let t=this.getCommand(e);t&&n.set(e,t)}return n}};Be.registerCommand("noop",()=>{})});function PZ1(n,e){if(n.weight1!==e.weight1)return n.weight1-e.weight1;if(n.command&&e.command){if(n.command<e.command)return-1;if(n.command>e.command)return 1}return n.weight2-e.weight2}var VX,mo,RZ1,s6=k(()=>{ih();ht();Oi();br();c1();S5();VX=class n{constructor(){this._coreKeybindings=new Rn,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(wo===1){if(e&&e.win)return e.win}else if(wo===2){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){let t=n.bindToCurrentPlatform(e),i=new i1;if(t&&t.primary){let r=pv(t.primary,wo);r&&i.add(this._registerDefaultKeybinding(r,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let r=0,o=t.secondary.length;r<o;r++){let s=t.secondary[r],a=pv(s,wo);a&&i.add(this._registerDefaultKeybinding(a,e.id,e.args,e.weight,-r-1,e.when))}return i}registerCommandAndKeybindingRule(e){return Zo(this.registerKeybindingRule(e),Be.registerCommand(e))}_registerDefaultKeybinding(e,t,i,r,o,s){let a=this._coreKeybindings.push({keybinding:e,command:t,commandArgs:i,when:s,weight1:r,weight2:o,extensionId:null,isBuiltinExtension:!1});return this._cachedMergedKeybindings=null,te(()=>{a(),this._cachedMergedKeybindings=null})}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(PZ1)),this._cachedMergedKeybindings.slice(0)}},mo=new VX,RZ1={EditorModes:"platform.keybindingsRegistry"};yt.add(RZ1.EditorModes,mo)});function l6(n){return n.command!==void 0}function kC1(n){return n.submenu!==void 0}function xn(n){let e=new i1,t=new n,i=t.desc,{f1:r,menu:o,keybinding:s,description:a}=i,l=BZ1(i,["f1","menu","keybinding","description"]);if(e.add(Be.registerCommand({id:l.id,handler:(d,...c)=>t.run(d,...c),description:a})),Array.isArray(o))for(let d of o)e.add(lr.appendMenuItem(d.id,Object.assign({command:Object.assign(Object.assign({},l),{precondition:d.precondition===null?void 0:l.precondition})},d)));else o&&e.add(lr.appendMenuItem(o.id,Object.assign({command:Object.assign(Object.assign({},l),{precondition:o.precondition===null?void 0:l.precondition})},o)));if(r&&(e.add(lr.appendMenuItem(Z.CommandPalette,{command:l,when:l.precondition})),e.add(lr.addCommand(l))),Array.isArray(s))for(let d of s)e.add(mo.registerKeybindingRule(Object.assign(Object.assign({},d),{id:l.id,when:l.precondition?v1.and(l.precondition,d.when):d.when})));else s&&e.add(mo.registerKeybindingRule(Object.assign(Object.assign({},s),{id:l.id,when:l.precondition?v1.and(l.precondition,s.when):s.when})));return e}var FZ1,yC1,BZ1,LT,Z,Hs,a6,lr,A3,Ls,Q2,In=k(()=>{Br();Ni();$1();c1();S5();Oi();Te();ce();s6();FZ1=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},yC1=function(n,e){return function(t,i){e(t,i,n)}},BZ1=function(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(n);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(t[i[r]]=n[i[r]]);return t};Z=class n{constructor(e){if(n._instances.has(e))throw new TypeError(`MenuId with identifier '${e}' already exists. Use MenuId.for(ident) or a unique identifier`);n._instances.set(e,this),this.id=e}};Z._instances=new Map;Z.CommandPalette=new Z("CommandPalette");Z.DebugBreakpointsContext=new Z("DebugBreakpointsContext");Z.DebugCallStackContext=new Z("DebugCallStackContext");Z.DebugConsoleContext=new Z("DebugConsoleContext");Z.DebugVariablesContext=new Z("DebugVariablesContext");Z.DebugWatchContext=new Z("DebugWatchContext");Z.DebugToolBar=new Z("DebugToolBar");Z.DebugToolBarStop=new Z("DebugToolBarStop");Z.EditorContext=new Z("EditorContext");Z.SimpleEditorContext=new Z("SimpleEditorContext");Z.EditorContent=new Z("EditorContent");Z.EditorLineNumberContext=new Z("EditorLineNumberContext");Z.EditorContextCopy=new Z("EditorContextCopy");Z.EditorContextPeek=new Z("EditorContextPeek");Z.EditorContextShare=new Z("EditorContextShare");Z.EditorTitle=new Z("EditorTitle");Z.EditorTitleRun=new Z("EditorTitleRun");Z.EditorTitleContext=new Z("EditorTitleContext");Z.EditorTitleContextShare=new Z("EditorTitleContextShare");Z.EmptyEditorGroup=new Z("EmptyEditorGroup");Z.EmptyEditorGroupContext=new Z("EmptyEditorGroupContext");Z.EditorTabsBarContext=new Z("EditorTabsBarContext");Z.ExplorerContext=new Z("ExplorerContext");Z.ExplorerContextShare=new Z("ExplorerContextShare");Z.ExtensionContext=new Z("ExtensionContext");Z.GlobalActivity=new Z("GlobalActivity");Z.CommandCenter=new Z("CommandCenter");Z.LayoutControlMenuSubmenu=new Z("LayoutControlMenuSubmenu");Z.LayoutControlMenu=new Z("LayoutControlMenu");Z.MenubarMainMenu=new Z("MenubarMainMenu");Z.MenubarAppearanceMenu=new Z("MenubarAppearanceMenu");Z.MenubarDebugMenu=new Z("MenubarDebugMenu");Z.MenubarEditMenu=new Z("MenubarEditMenu");Z.MenubarCopy=new Z("MenubarCopy");Z.MenubarFileMenu=new Z("MenubarFileMenu");Z.MenubarGoMenu=new Z("MenubarGoMenu");Z.MenubarHelpMenu=new Z("MenubarHelpMenu");Z.MenubarLayoutMenu=new Z("MenubarLayoutMenu");Z.MenubarNewBreakpointMenu=new Z("MenubarNewBreakpointMenu");Z.PanelAlignmentMenu=new Z("PanelAlignmentMenu");Z.PanelPositionMenu=new Z("PanelPositionMenu");Z.MenubarPreferencesMenu=new Z("MenubarPreferencesMenu");Z.MenubarRecentMenu=new Z("MenubarRecentMenu");Z.MenubarSelectionMenu=new Z("MenubarSelectionMenu");Z.MenubarShare=new Z("MenubarShare");Z.MenubarSwitchEditorMenu=new Z("MenubarSwitchEditorMenu");Z.MenubarSwitchGroupMenu=new Z("MenubarSwitchGroupMenu");Z.MenubarTerminalMenu=new Z("MenubarTerminalMenu");Z.MenubarViewMenu=new Z("MenubarViewMenu");Z.MenubarHomeMenu=new Z("MenubarHomeMenu");Z.OpenEditorsContext=new Z("OpenEditorsContext");Z.OpenEditorsContextShare=new Z("OpenEditorsContextShare");Z.ProblemsPanelContext=new Z("ProblemsPanelContext");Z.SCMChangeContext=new Z("SCMChangeContext");Z.SCMResourceContext=new Z("SCMResourceContext");Z.SCMResourceContextShare=new Z("SCMResourceContextShare");Z.SCMResourceFolderContext=new Z("SCMResourceFolderContext");Z.SCMResourceGroupContext=new Z("SCMResourceGroupContext");Z.SCMSourceControl=new Z("SCMSourceControl");Z.SCMTitle=new Z("SCMTitle");Z.SearchContext=new Z("SearchContext");Z.SearchActionMenu=new Z("SearchActionContext");Z.StatusBarWindowIndicatorMenu=new Z("StatusBarWindowIndicatorMenu");Z.StatusBarRemoteIndicatorMenu=new Z("StatusBarRemoteIndicatorMenu");Z.StickyScrollContext=new Z("StickyScrollContext");Z.TestItem=new Z("TestItem");Z.TestItemGutter=new Z("TestItemGutter");Z.TestMessageContext=new Z("TestMessageContext");Z.TestMessageContent=new Z("TestMessageContent");Z.TestPeekElement=new Z("TestPeekElement");Z.TestPeekTitle=new Z("TestPeekTitle");Z.TouchBarContext=new Z("TouchBarContext");Z.TitleBarContext=new Z("TitleBarContext");Z.TitleBarTitleContext=new Z("TitleBarTitleContext");Z.TunnelContext=new Z("TunnelContext");Z.TunnelPrivacy=new Z("TunnelPrivacy");Z.TunnelProtocol=new Z("TunnelProtocol");Z.TunnelPortInline=new Z("TunnelInline");Z.TunnelTitle=new Z("TunnelTitle");Z.TunnelLocalAddressInline=new Z("TunnelLocalAddressInline");Z.TunnelOriginInline=new Z("TunnelOriginInline");Z.ViewItemContext=new Z("ViewItemContext");Z.ViewContainerTitle=new Z("ViewContainerTitle");Z.ViewContainerTitleContext=new Z("ViewContainerTitleContext");Z.ViewTitle=new Z("ViewTitle");Z.ViewTitleContext=new Z("ViewTitleContext");Z.CommentEditorActions=new Z("CommentEditorActions");Z.CommentThreadTitle=new Z("CommentThreadTitle");Z.CommentThreadActions=new Z("CommentThreadActions");Z.CommentThreadAdditionalActions=new Z("CommentThreadAdditionalActions");Z.CommentThreadTitleContext=new Z("CommentThreadTitleContext");Z.CommentThreadCommentContext=new Z("CommentThreadCommentContext");Z.CommentTitle=new Z("CommentTitle");Z.CommentActions=new Z("CommentActions");Z.InteractiveToolbar=new Z("InteractiveToolbar");Z.InteractiveCellTitle=new Z("InteractiveCellTitle");Z.InteractiveCellDelete=new Z("InteractiveCellDelete");Z.InteractiveCellExecute=new Z("InteractiveCellExecute");Z.InteractiveInputExecute=new Z("InteractiveInputExecute");Z.NotebookToolbar=new Z("NotebookToolbar");Z.NotebookStickyScrollContext=new Z("NotebookStickyScrollContext");Z.NotebookCellTitle=new Z("NotebookCellTitle");Z.NotebookCellDelete=new Z("NotebookCellDelete");Z.NotebookCellInsert=new Z("NotebookCellInsert");Z.NotebookCellBetween=new Z("NotebookCellBetween");Z.NotebookCellListTop=new Z("NotebookCellTop");Z.NotebookCellExecute=new Z("NotebookCellExecute");Z.NotebookCellExecutePrimary=new Z("NotebookCellExecutePrimary");Z.NotebookDiffCellInputTitle=new Z("NotebookDiffCellInputTitle");Z.NotebookDiffCellMetadataTitle=new Z("NotebookDiffCellMetadataTitle");Z.NotebookDiffCellOutputsTitle=new Z("NotebookDiffCellOutputsTitle");Z.NotebookOutputToolbar=new Z("NotebookOutputToolbar");Z.NotebookEditorLayoutConfigure=new Z("NotebookEditorLayoutConfigure");Z.NotebookKernelSource=new Z("NotebookKernelSource");Z.BulkEditTitle=new Z("BulkEditTitle");Z.BulkEditContext=new Z("BulkEditContext");Z.TimelineItemContext=new Z("TimelineItemContext");Z.TimelineTitle=new Z("TimelineTitle");Z.TimelineTitleContext=new Z("TimelineTitleContext");Z.TimelineFilterSubMenu=new Z("TimelineFilterSubMenu");Z.AccountsContext=new Z("AccountsContext");Z.PanelTitle=new Z("PanelTitle");Z.AuxiliaryBarTitle=new Z("AuxiliaryBarTitle");Z.TerminalInstanceContext=new Z("TerminalInstanceContext");Z.TerminalEditorInstanceContext=new Z("TerminalEditorInstanceContext");Z.TerminalNewDropdownContext=new Z("TerminalNewDropdownContext");Z.TerminalTabContext=new Z("TerminalTabContext");Z.TerminalTabEmptyAreaContext=new Z("TerminalTabEmptyAreaContext");Z.WebviewContext=new Z("WebviewContext");Z.InlineCompletionsActions=new Z("InlineCompletionsActions");Z.NewFile=new Z("NewFile");Z.MergeInput1Toolbar=new Z("MergeToolbar1Toolbar");Z.MergeInput2Toolbar=new Z("MergeToolbar2Toolbar");Z.MergeBaseToolbar=new Z("MergeBaseToolbar");Z.MergeInputResultToolbar=new Z("MergeToolbarResultToolbar");Z.InlineSuggestionToolbar=new Z("InlineSuggestionToolbar");Z.ChatContext=new Z("ChatContext");Z.ChatCodeBlock=new Z("ChatCodeblock");Z.ChatMessageTitle=new Z("ChatMessageTitle");Z.ChatExecute=new Z("ChatExecute");Z.ChatInputSide=new Z("ChatInputSide");Z.AccessibleView=new Z("AccessibleView");Hs=le("menuService"),a6=class n{static for(e){let t=this._all.get(e);return t||(t=new n(e),this._all.set(e,t)),t}static merge(e){let t=new Set;for(let i of e)i instanceof n&&t.add(i.id);return t}constructor(e){this.id=e,this.has=t=>t===e}};a6._all=new Map;lr=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new uE({merge:a6.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(n){return this._commands.set(n.id,n),this._onDidChangeMenu.fire(a6.for(Z.CommandPalette)),te(()=>{this._commands.delete(n.id)&&this._onDidChangeMenu.fire(a6.for(Z.CommandPalette))})}getCommand(n){return this._commands.get(n)}getCommands(){let n=new Map;return this._commands.forEach((e,t)=>n.set(t,e)),n}appendMenuItem(n,e){let t=this._menuItems.get(n);t||(t=new Rn,this._menuItems.set(n,t));let i=t.push(e);return this._onDidChangeMenu.fire(a6.for(n)),te(()=>{i(),this._onDidChangeMenu.fire(a6.for(n))})}appendMenuItems(n){let e=new i1;for(let{id:t,item:i}of n)e.add(this.appendMenuItem(t,i));return e}getMenuItems(n){let e;return this._menuItems.has(n)?e=[...this._menuItems.get(n)]:e=[],n===Z.CommandPalette&&this._appendImplicitItems(e),e}_appendImplicitItems(n){let e=new Set;for(let t of n)l6(t)&&(e.add(t.command.id),t.alt&&e.add(t.alt.id));this._commands.forEach((t,i)=>{e.has(i)||n.push({command:t})})}},A3=class extends y0{constructor(e,t,i){super(`submenuitem.${e.submenu.id}`,typeof e.title=="string"?e.title:e.title.value,i,"submenu"),this.item=e,this.hideActions=t}},Ls=LT=class{static label(e,t){return t?.renderShortTitle&&e.shortTitle?typeof e.shortTitle=="string"?e.shortTitle:e.shortTitle.value:typeof e.title=="string"?e.title:e.title.value}constructor(e,t,i,r,o,s){var a,l;this.hideActions=r,this._commandService=s,this.id=e.id,this.label=LT.label(e,i),this.tooltip=(l=typeof e.tooltip=="string"?e.tooltip:(a=e.tooltip)===null||a===void 0?void 0:a.value)!==null&&l!==void 0?l:"",this.enabled=!e.precondition||o.contextMatchesRules(e.precondition),this.checked=void 0;let d;if(e.toggled){let c=e.toggled.condition?e.toggled:{condition:e.toggled};this.checked=o.contextMatchesRules(c.condition),this.checked&&c.tooltip&&(this.tooltip=typeof c.tooltip=="string"?c.tooltip:c.tooltip.value),this.checked&&G1.isThemeIcon(c.icon)&&(d=c.icon),this.checked&&c.title&&(this.label=typeof c.title=="string"?c.title:c.title.value)}d||(d=G1.isThemeIcon(e.icon)?e.icon:void 0),this.item=e,this.alt=t?new LT(t,void 0,i,r,o,s):void 0,this._options=i,this.class=d&&G1.asClassName(d)}run(...e){var t,i;let r=[];return!((t=this._options)===null||t===void 0)&&t.arg&&(r=[...r,this._options.arg]),!((i=this._options)===null||i===void 0)&&i.shouldForwardArgs&&(r=[...r,...e]),this._commandService.executeCommand(this.id,...r)}};Ls=LT=FZ1([yC1(4,K1),yC1(5,Ut)],Ls);Q2=class{constructor(e){this.desc=e}}});var wr,k0=k(()=>{ce();wr=le("telemetryService")});function Qa(n,e){Be.registerCommand(n,function(t,...i){let r=t.get(q1),[o,s]=i;St(X1.isUri(o)),St(K.isIPosition(s));let a=t.get(Wt).getModel(o);if(a){let l=K.lift(s);return r.invokeFunction(e,a,l,...i.slice(2))}return t.get(rr).createModelReference(o).then(l=>new Promise((d,c)=>{try{let u=r.invokeFunction(e,l.object.textEditorModel,K.lift(s),i.slice(2));d(u)}catch(u){c(u)}}).finally(()=>{l.dispose()}))})}function D1(n){return Ya.INSTANCE.registerEditorCommand(n),n}function V1(n){let e=new n;return Ya.INSTANCE.registerEditorAction(e),e}function MX(n){return Ya.INSTANCE.registerEditorAction(n),n}function EC1(n){Ya.INSTANCE.registerEditorAction(n)}function He(n,e,t){Ya.INSTANCE.registerEditorContribution(n,e,t)}function xv(n){return n.register(),n}var oh,N4,HT,Ui,I1,_v,vl,ec,ZZ1,Ya,vX,_X,DC1,Ke=k(()=>{T1();pi();Un();_e();q2();O5();In();Oi();Te();ce();s6();br();k0();di();T5();oh=class{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=Array.isArray(this._kbOpts)?this._kbOpts:[this._kbOpts];for(let t of e){let i=t.kbExpr;this.precondition&&(i?i=v1.and(i,this.precondition):i=this.precondition);let r={id:this.id,weight:t.weight,args:t.args,when:i,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};mo.registerKeybindingRule(r)}}Be.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){lr.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}},N4=class extends oh{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i,r){return this._implementations.push({priority:e,name:t,implementation:i,when:r}),this._implementations.sort((o,s)=>s.priority-o.priority),{dispose:()=>{for(let o=0;o<this._implementations.length;o++)if(this._implementations[o].implementation===i){this._implementations.splice(o,1);return}}}}runCommand(e,t){let i=e.get(Sr),r=e.get(K1);i.trace(`Executing Command '${this.id}' which has ${this._implementations.length} bound.`);for(let o of this._implementations){if(o.when){let a=r.getContext(document.activeElement);if(!o.when.evaluate(a))continue}let s=o.implementation(e,t);if(s)return i.trace(`Command '${this.id}' was handled by '${o.name}'.`),typeof s=="boolean"?void 0:s}i.trace(`The Command '${this.id}' was not handled by any implementation.`)}},HT=class extends oh{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}},Ui=class n extends oh{static bindToContribution(e){return class extends n{constructor(i){super(i),this._callback=i.handler}runEditorCommand(i,r,o){let s=e(r);s&&this._callback(s,o)}}}static runEditorCommand(e,t,i,r){let o=e.get(Pe),s=o.getFocusedCodeEditor()||o.getActiveCodeEditor();if(s)return s.invokeWithinContext(a=>{if(a.get(K1).contextMatchesRules(i??void 0))return r(a,s,t)})}runCommand(e,t){return n.runEditorCommand(e,t,this.precondition,(i,r,o)=>this.runEditorCommand(i,r,o))}},I1=class n extends Ui{static convertOptions(e){let t;Array.isArray(e.menuOpts)?t=e.menuOpts:e.menuOpts?t=[e.menuOpts]:t=[];function i(r){return r.menuId||(r.menuId=Z.EditorContext),r.title||(r.title=e.label),r.when=v1.and(e.precondition,r.when),r}return Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}constructor(e){super(n.convertOptions(e)),this.label=e.label,this.alias=e.alias}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(wr).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}},_v=class extends I1{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((i,r)=>r[0]-i[0]),{dispose:()=>{for(let i=0;i<this._implementations.length;i++)if(this._implementations[i][1]===t){this._implementations.splice(i,1);return}}}}run(e,t,i){for(let r of this._implementations){let o=r[1](e,t,i);if(o)return typeof o=="boolean"?void 0:o}}},vl=class extends Q2{run(e,...t){let i=e.get(Pe),r=i.getFocusedCodeEditor()||i.getActiveCodeEditor();if(r)return r.invokeWithinContext(o=>{var s,a;let l=o.get(K1),d=o.get(Sr);if(!l.contextMatchesRules((s=this.desc.precondition)!==null&&s!==void 0?s:void 0)){d.debug("[EditorAction2] NOT running command because its precondition is FALSE",this.desc.id,(a=this.desc.precondition)===null||a===void 0?void 0:a.serialize());return}return this.runEditorCommand(o,r,...t)})}};(function(n){function e(s){return Ya.INSTANCE.getEditorCommand(s)}n.getEditorCommand=e;function t(){return Ya.INSTANCE.getEditorActions()}n.getEditorActions=t;function i(){return Ya.INSTANCE.getEditorContributions()}n.getEditorContributions=i;function r(s){return Ya.INSTANCE.getEditorContributions().filter(a=>s.indexOf(a.id)>=0)}n.getSomeEditorContributions=r;function o(){return Ya.INSTANCE.getDiffEditorContributions()}n.getDiffEditorContributions=o})(ec||(ec={}));ZZ1={EditorCommonContributions:"editor.contributions"},Ya=class{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t,i){this.editorContributions.push({id:e,ctor:t,instantiation:i})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}};Ya.INSTANCE=new Ya;yt.add(ZZ1.EditorCommonContributions,Ya.INSTANCE);vX=xv(new N4({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:Z.MenubarEditMenu,group:"1_do",title:f({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:Z.CommandPalette,group:"",title:f("undo","Undo"),order:1}]}));xv(new HT(vX,{id:"default:undo",precondition:void 0}));_X=xv(new N4({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:Z.MenubarEditMenu,group:"1_do",title:f({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:Z.CommandPalette,group:"",title:f("redo","Redo"),order:1}]}));xv(new HT(_X,{id:"default:redo",precondition:void 0}));DC1=xv(new N4({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:Z.MenubarSelectionMenu,group:"1_basic",title:f({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:Z.CommandPalette,group:"",title:f("selectAll","Select All"),order:1}]}))});var zZ1,WZ1,bv,IC1=k(()=>{gT();Ke();zZ1=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},WZ1=function(n,e){return function(t,i){e(t,i,n)}},bv=class{constructor(e,t){}dispose(){}};bv.ID="editor.contrib.markerDecorations";bv=zZ1([WZ1(1,lf)],bv);He(bv.ID,bv,0)});var TC1=k(()=>{});var d6,VT=k(()=>{c1();$1();d6=class extends z{constructor(e,t){super(),this._onDidChange=this._register(new j),this.onDidChange=this._onDidChange.event,this._referenceDomElement=e,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){if(!this._resizeObserver&&this._referenceDomElement){let e=null,t=()=>{e?this.observe({width:e.width,height:e.height}):this.observe()},i=!1,r=!1,o=()=>{if(i&&!r)try{i=!1,r=!0,t()}finally{requestAnimationFrame(()=>{r=!1,o()})}};this._resizeObserver=new ResizeObserver(s=>{e=s&&s[0]&&s[0].contentRect?s[0].contentRect:null,i=!0,o()}),this._resizeObserver.observe(this._referenceDomElement)}}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,r=0;t?(i=t.width,r=t.height):this._referenceDomElement&&(i=this._referenceDomElement.clientWidth,r=this._referenceDomElement.clientHeight),i=Math.max(5,i),r=Math.max(5,r),(this._width!==i||this._height!==r)&&(this._width=i,this._height=r,e&&this._onDidChange.fire())}}});function c6(n,e){cf.items.push(new cf(n,e))}function E0(n,e){c6(n,(t,i,r)=>{if(typeof t<"u"){for(let[o,s]of e)if(t===o){r(n,s);return}}})}function NC1(n){cf.items.forEach(e=>e.apply(n))}var cf,UZ1,OC1=k(()=>{cf=class n{constructor(e,t){this.key=e,this.migrate=t}apply(e){let t=n._read(e,this.key),i=o=>n._read(e,o),r=(o,s)=>n._write(e,o,s);this.migrate(t,i,r)}static _read(e,t){if(typeof e>"u")return;let i=t.indexOf(".");if(i>=0){let r=t.substring(0,i);return this._read(e[r],t.substring(i+1))}return e[t]}static _write(e,t,i){let r=t.indexOf(".");if(r>=0){let o=t.substring(0,r);e[o]=e[o]||{},this._write(e[o],t.substring(r+1),i);return}e[t]=i}};cf.items=[];E0("wordWrap",[[!0,"on"],[!1,"off"]]);E0("lineNumbers",[[!0,"on"],[!1,"off"]]);E0("cursorBlinking",[["visible","solid"]]);E0("renderWhitespace",[[!0,"boundary"],[!1,"none"]]);E0("renderLineHighlight",[[!0,"line"],[!1,"none"]]);E0("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]);E0("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]);E0("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]);E0("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]);E0("autoIndent",[[!1,"advanced"],[!0,"full"]]);E0("matchBrackets",[[!0,"always"],[!1,"never"]]);E0("renderFinalNewline",[[!0,"on"],[!1,"off"]]);E0("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]);c6("autoClosingBrackets",(n,e,t)=>{n===!1&&(t("autoClosingBrackets","never"),typeof e("autoClosingQuotes")>"u"&&t("autoClosingQuotes","never"),typeof e("autoSurround")>"u"&&t("autoSurround","never"))});c6("renderIndentGuides",(n,e,t)=>{typeof n<"u"&&(t("renderIndentGuides",void 0),typeof e("guides.indentation")>"u"&&t("guides.indentation",!!n))});c6("highlightActiveIndentGuide",(n,e,t)=>{typeof n<"u"&&(t("highlightActiveIndentGuide",void 0),typeof e("guides.highlightActiveIndentation")>"u"&&t("guides.highlightActiveIndentation",!!n))});UZ1={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};c6("suggest.filteredTypes",(n,e,t)=>{if(n&&typeof n=="object"){for(let i of Object.entries(UZ1))n[i[0]]===!1&&typeof e(`suggest.${i[1]}`)>"u"&&t(`suggest.${i[1]}`,!1);t("suggest.filteredTypes",void 0)}});c6("quickSuggestions",(n,e,t)=>{if(typeof n=="boolean"){let i=n?"on":"off";t("quickSuggestions",{comments:i,strings:i,other:i})}});c6("experimental.stickyScroll.enabled",(n,e,t)=>{typeof n=="boolean"&&(t("experimental.stickyScroll.enabled",void 0),typeof e("stickyScroll.enabled")>"u"&&t("stickyScroll.enabled",n))});c6("experimental.stickyScroll.maxLineCount",(n,e,t)=>{typeof n=="number"&&(t("experimental.stickyScroll.maxLineCount",void 0),typeof e("stickyScroll.maxLineCount")>"u"&&t("stickyScroll.maxLineCount",n))})});var xX,tc,MT=k(()=>{$1();xX=class{constructor(){this._tabFocusTerminal=!1,this._tabFocusEditor=!1,this._onDidChangeTabFocus=new j,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(e){return e==="terminalFocus"?this._tabFocusTerminal:this._tabFocusEditor}setTabFocusMode(e,t){t==="terminalFocus"?this._tabFocusTerminal=e:this._tabFocusEditor=e,this._onDidChangeTabFocus.fire()}},tc=new xX});function qZ1(n){let e=0;for(;n;)n=Math.floor(n/10),e++;return e||1}function KZ1(){let n="";return!Ua&&!MD&&(n+="no-user-select "),Ua&&(n+="no-minimap-shadow ",n+="enable-user-select "),Ee&&(n+="mac "),n}function RC1(n){let e=dl(n);return NC1(e),e}var jZ1,$Z1,vT,bX,AX,sh,PC1=k(()=>{hs();Ie();$1();c1();N2();ht();VT();_Y();OC1();MT();_r();Dm();_D();ml();jZ1=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},$Z1=function(n,e){return function(t,i){e(t,i,n)}},vT=class extends z{constructor(e,t,i,r){super(),this._accessibilityService=r,this._onDidChange=this._register(new j),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new j),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._glyphMarginDecorationLaneCount=1,this._computeOptionsMemory=new pM,this.isSimpleWidget=e,this._containerObserver=this._register(new d6(i,t.dimension)),this._rawOptions=RC1(t),this._validatedOptions=sh.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(12)&&this._containerObserver.startObserving(),this._register(Cs.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(tc.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(NM.onDidChange(()=>this._recomputeOptions())),this._register(N9.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){let e=this._computeOptions(),t=sh.checkEquals(this.options,e);t!==null&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){let e=this._readEnvConfiguration(),t=Iu.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),i=this._readFontInfo(t),r={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:i,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:tc.getTabFocusMode("editorFocus"),accessibilitySupport:e.accessibilitySupport,glyphMarginDecorationLaneCount:this._glyphMarginDecorationLaneCount};return sh.computeOptions(this._validatedOptions,r)}_readEnvConfiguration(){return{extraEditorClassName:KZ1(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:c3||uo,pixelRatio:N9.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return NM.readFontInfo(e)}getRawOptions(){return this._rawOptions}updateOptions(e){let t=RC1(e);sh.applyUpdate(this._rawOptions,t)&&(this._validatedOptions=sh.validateOptions(this._rawOptions),this._recomputeOptions())}observeContainer(e){this._containerObserver.observe(e)}setIsDominatedByLongLines(e){this._isDominatedByLongLines!==e&&(this._isDominatedByLongLines=e,this._recomputeOptions())}setModelLineCount(e){let t=qZ1(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}setReservedHeight(e){this._reservedHeight!==e&&(this._reservedHeight=e,this._recomputeOptions())}setGlyphMarginDecorationLaneCount(e){this._glyphMarginDecorationLaneCount!==e&&(this._glyphMarginDecorationLaneCount=e,this._recomputeOptions())}};vT=jZ1([$Z1(3,z2)],vT);bX=class{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}},AX=class{constructor(){this._values=[]}_read(e){if(e>=this._values.length)throw new Error("Cannot read uninitialized value");return this._values[e]}get(e){return this._read(e)}_write(e,t){this._values[e]=t}},sh=class n{static validateOptions(e){let t=new bX;for(let i of b9){let r=i.name==="_never_"?void 0:e[i.name];t._write(i.id,i.validate(r))}return t}static computeOptions(e,t){let i=new AX;for(let r of b9)i._write(r.id,r.compute(t,i,e._read(r.id)));return i}static _deepEquals(e,t){if(typeof e!="object"||typeof t!="object"||!e||!t)return e===t;if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)?Si(e,t):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!n._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){let i=[],r=!1;for(let o of b9){let s=!n._deepEquals(e._read(o.id),t._read(o.id));i[o.id]=s,s&&(r=!0)}return r?new fm(i):null}static applyUpdate(e,t){let i=!1;for(let r of b9)if(t.hasOwnProperty(r.name)){let o=r.applyUpdate(e[r.name],t[r.name]);e[r.name]=o.newValue,i=i||o.didChange}return i}}});function bn(n,e,t){let i=null,r=null;if(typeof t.value=="function"?(i="value",r=t.value,r.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof t.get=="function"&&(i="get",r=t.get),!r)throw new Error("not supported");let o=`$memoize$${e}`;t[i]=function(...s){return this.hasOwnProperty(o)||Object.defineProperty(this,o,{configurable:!1,enumerable:!1,writable:!1,value:r.apply(this,s)}),this[o]}}var u6=k(()=>{});var GZ1,ii,tn,Xa=k(()=>{re();Ie();u6();c1();S5();GZ1=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o};(function(n){n.Tap="-monaco-gesturetap",n.Change="-monaco-gesturechange",n.Start="-monaco-gesturestart",n.End="-monaco-gesturesend",n.Contextmenu="-monaco-gesturecontextmenu"})(ii||(ii={}));tn=class n extends z{constructor(){super(),this.dispatched=!1,this.targets=new Rn,this.ignoreTargets=new Rn,this.activeTouches={},this.handle=null,this._lastSetTapCountTime=0,this._register(a1(document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),this._register(a1(document,"touchend",e=>this.onTouchEnd(e))),this._register(a1(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){if(!n.isTouchDevice())return z.None;n.INSTANCE||(n.INSTANCE=new n);let t=n.INSTANCE.targets.push(e);return te(t)}static ignoreTarget(e){if(!n.isTouchDevice())return z.None;n.INSTANCE||(n.INSTANCE=new n);let t=n.INSTANCE.ignoreTargets.push(e);return te(t)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let i=0,r=e.targetTouches.length;i<r;i++){let o=e.targetTouches.item(i);this.activeTouches[o.identifier]={id:o.identifier,initialTarget:o.target,initialTimeStamp:t,initialPageX:o.pageX,initialPageY:o.pageY,rollingTimestamps:[t],rollingPageX:[o.pageX],rollingPageY:[o.pageY]};let s=this.newGestureEvent(ii.Start,o.target);s.pageX=o.pageX,s.pageY=o.pageY,this.dispatchEvent(s)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),i=Object.keys(this.activeTouches).length;for(let r=0,o=e.changedTouches.length;r<o;r++){let s=e.changedTouches.item(r);if(!this.activeTouches.hasOwnProperty(String(s.identifier))){console.warn("move of an UNKNOWN touch",s);continue}let a=this.activeTouches[s.identifier],l=Date.now()-a.initialTimeStamp;if(l<n.HOLD_DELAY&&Math.abs(a.initialPageX-M5(a.rollingPageX))<30&&Math.abs(a.initialPageY-M5(a.rollingPageY))<30){let d=this.newGestureEvent(ii.Tap,a.initialTarget);d.pageX=M5(a.rollingPageX),d.pageY=M5(a.rollingPageY),this.dispatchEvent(d)}else if(l>=n.HOLD_DELAY&&Math.abs(a.initialPageX-M5(a.rollingPageX))<30&&Math.abs(a.initialPageY-M5(a.rollingPageY))<30){let d=this.newGestureEvent(ii.Contextmenu,a.initialTarget);d.pageX=M5(a.rollingPageX),d.pageY=M5(a.rollingPageY),this.dispatchEvent(d)}else if(i===1){let d=M5(a.rollingPageX),c=M5(a.rollingPageY),u=M5(a.rollingTimestamps)-a.rollingTimestamps[0],h=d-a.rollingPageX[0],C=c-a.rollingPageY[0],p=[...this.targets].filter(m=>a.initialTarget instanceof Node&&m.contains(a.initialTarget));this.inertia(p,t,Math.abs(h)/u,h>0?1:-1,d,Math.abs(C)/u,C>0?1:-1,c)}this.dispatchEvent(this.newGestureEvent(ii.End,a.initialTarget)),delete this.activeTouches[s.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let i=document.createEvent("CustomEvent");return i.initEvent(e,!1,!0),i.initialTarget=t,i.tapCount=0,i}dispatchEvent(e){if(e.type===ii.Tap){let t=new Date().getTime(),i=0;t-this._lastSetTapCountTime>n.CLEAR_TAP_COUNT_TIME?i=1:i=2,this._lastSetTapCountTime=t,e.tapCount=i}else(e.type===ii.Change||e.type===ii.Contextmenu)&&(this._lastSetTapCountTime=0);if(e.initialTarget instanceof Node){for(let t of this.ignoreTargets)if(t.contains(e.initialTarget))return;for(let t of this.targets)t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)}}inertia(e,t,i,r,o,s,a,l){this.handle=K2(()=>{let d=Date.now(),c=d-t,u=0,h=0,C=!0;i+=n.SCROLL_FRICTION*c,s+=n.SCROLL_FRICTION*c,i>0&&(C=!1,u=r*i*c),s>0&&(C=!1,h=a*s*c);let p=this.newGestureEvent(ii.Change);p.translationX=u,p.translationY=h,e.forEach(m=>m.dispatchEvent(p)),C||this.inertia(e,d,i,r,o+u,s,a,l+h)})}onTouchMove(e){let t=Date.now();for(let i=0,r=e.changedTouches.length;i<r;i++){let o=e.changedTouches.item(i);if(!this.activeTouches.hasOwnProperty(String(o.identifier))){console.warn("end of an UNKNOWN touch",o);continue}let s=this.activeTouches[o.identifier],a=this.newGestureEvent(ii.Change,s.initialTarget);a.translationX=o.pageX-M5(s.rollingPageX),a.translationY=o.pageY-M5(s.rollingPageY),a.pageX=o.pageX,a.pageY=o.pageY,this.dispatchEvent(a),s.rollingPageX.length>3&&(s.rollingPageX.shift(),s.rollingPageY.shift(),s.rollingTimestamps.shift()),s.rollingPageX.push(o.pageX),s.rollingPageY.push(o.pageY),s.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}};tn.SCROLL_FRICTION=-.005;tn.HOLD_DELAY=700;tn.CLEAR_TAP_COUNT_TIME=400;GZ1([bn],tn,"isTouchDevice",null)});var D0,uf=k(()=>{re();c1();D0=class{constructor(){this._hooks=new i1,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;let i=this._onStopCallback;this._onStopCallback=null,e&&i&&i(t)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(e,t,i,r,o){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=r,this._onStopCallback=o;let s=e;try{e.setPointerCapture(t),this._hooks.add(te(()=>{try{e.releasePointerCapture(t)}catch{}}))}catch{s=window}this._hooks.add(a1(s,S1.POINTER_MOVE,a=>{if(a.buttons!==i){this.stopMonitoring(!0);return}a.preventDefault(),this._pointerMoveCallback(a)})),this._hooks.add(a1(s,S1.POINTER_UP,a=>this.stopMonitoring(!0)))}}});function bT(n){return`--vscode-${n.replace(/\./g,"-")}`}function J1(n){return`var(${bT(n)})`}function jC1(n,e){return`var(${bT(n)}, ${e})`}function U(n,e,t,i,r){return AT.registerColor(n,e,t,i,r)}function YZ1(n,e){var t,i,r,o;switch(n.op){case 0:return(t=S3(n.value,e))===null||t===void 0?void 0:t.darken(n.factor);case 1:return(i=S3(n.value,e))===null||i===void 0?void 0:i.lighten(n.factor);case 2:return(r=S3(n.value,e))===null||r===void 0?void 0:r.transparent(n.factor);case 3:{let s=S3(n.background,e);return s?(o=S3(n.value,e))===null||o===void 0?void 0:o.makeOpaque(s):S3(n.value,e)}case 4:for(let s of n.values){let a=S3(s,e);if(a)return a}return;case 6:return S3(e.defines(n.if)?n.then:n.else,e);case 5:{let s=S3(n.value,e);if(!s)return;let a=S3(n.background,e);return a?s.isDarkerThan(a)?l1.getLighterColor(s,a,n.factor).transparent(n.transparency):l1.getDarkerColor(s,a,n.factor).transparent(n.transparency):s.transparent(n.factor*n.transparency)}default:throw R9(n)}}function dh(n,e){return{op:0,value:n,factor:e}}function E3(n,e){return{op:1,value:n,factor:e}}function pe(n,e){return{op:2,value:n,factor:e}}function Af(...n){return{op:4,values:n}}function QZ1(n,e,t){return{op:6,if:n,then:e,else:t}}function WC1(n,e,t,i){return{op:5,value:n,background:e,factor:t,transparency:i}}function S3(n,e){if(n!==null){if(typeof n=="string")return n[0]==="#"?l1.fromHex(n):e.getColor(n);if(n instanceof l1)return n;if(typeof n=="object")return YZ1(n,e)}}var wX,SX,AT,R1,y4e,$C1,k4e,O4,ga,vt,ki,E4e,D4e,qC1,I4e,T4e,N4e,O4e,R4e,R5,Sf,ST,wT,yT,wf,P4e,D3,yf,F4e,KC1,GC1,YC1,QC1,XC1,JC1,ep1,tp1,ip1,w3,np1,ic,h6,hf,rp1,Cf,op1,sp1,ap1,_T,lp1,Av,dp1,cp1,pf,mf,ff,up1,B4e,_l,hp1,Z4e,Fs,lh,z4e,Vs,wv,Cp1,W4e,U4e,yr,Ja,j4e,$4e,Tn,xl,I0,pp1,yX,mp1,fp1,kT,gp1,Lp1,Hp1,Vp1,Mp1,R4,vp1,kX,yv,q4e,_p1,y3,xp1,bp1,C6,Ap1,K4e,G4e,Y4e,Q4e,Sv,X4e,Sp1,J4e,wp1,nc,rc,yp1,kp1,Ep1,Dp1,e7e,t7e,vf,_f,ET,DT,i7e,n7e,r7e,o7e,IT,TT,s7e,a7e,l7e,Ip1,d7e,c7e,u7e,Tp1,Np1,Op1,Rp1,oc,k3,gf,Pp1,Fp1,Bp1,Zp1,zp1,EX,DX,Wp1,P5,kv,h7e,C7e,p7e,Up1,jp1,$p1,qp1,m7e,f7e,Lf,Kp1,Gp1,Yp1,g7e,Qp1,L7e,Xp1,Jp1,H7e,FC1,sc,P4,ac,em1,tm1,im1,nm1,rm1,om1,sm1,xT,V7e,M7e,v7e,_7e,x7e,b7e,am1,lm1,IX,dm1,A7e,cm1,BC1,ZC1,zC1,bl,xf,Hf,S7e,Vf,w7e,Mf,y7e,bf,k7e,E7e,D7e,NT,kf,ah,Ev,TX,um1,hm1,Cm1,pm1,I7e,T7e,N7e,mm1,fm1,gm1,O7e,R7e,P7e,F7e,B7e,Z7e,z7e,W7e,Lm1,Hm1,UC1,Nn=k(()=>{De();Rr();$1();h3();T1();XD();br();wX={ColorContribution:"base.contributions.colors"},SX=class{constructor(){this._onDidChangeSchema=new j,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,r=!1,o){let s={id:e,description:i,defaults:t,needsTransparency:r,deprecationMessage:o};this.colorsById[e]=s;let a={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(a.deprecationMessage=o),this.colorSchema.properties[e]=a,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){let i=this.colorsById[e];if(i&&i.defaults){let r=i.defaults[t.type];return S3(r,t)}}getColorSchema(){return this.colorSchema}toString(){let e=(t,i)=>{let r=t.indexOf(".")===-1?0:1,o=i.indexOf(".")===-1?0:1;return r!==o?r-o:t.localeCompare(i)};return Object.keys(this.colorsById).sort(e).map(t=>`- \`${t}\`: ${this.colorsById[t].description}`).join(`
|
|
38
38
|
`)}},AT=new SX;yt.add(wX.ColorContribution,AT);R1=U("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},f("foreground","Overall foreground color. This color is only used if not overridden by a component.")),y4e=U("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},f("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component.")),$C1=U("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},f("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),k4e=U("descriptionForeground",{light:"#717171",dark:pe(R1,.7),hcDark:pe(R1,.7),hcLight:pe(R1,.7)},f("descriptionForeground","Foreground color for description text providing additional information, for example for a label.")),O4=U("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},f("iconForeground","The default color for icons in the workbench.")),ga=U("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},f("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),vt=U("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},f("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),ki=U("contrastActiveBorder",{light:null,dark:null,hcDark:ga,hcLight:ga},f("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),E4e=U("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},f("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.")),D4e=U("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:l1.black,hcLight:"#292929"},f("textSeparatorForeground","Color for text separators.")),qC1=U("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},f("textLinkForeground","Foreground color for links in text.")),I4e=U("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},f("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),T4e=U("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},f("textPreformatForeground","Foreground color for preformatted text segments.")),N4e=U("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},f("textBlockQuoteBackground","Background color for block quotes in text.")),O4e=U("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:l1.white,hcLight:"#292929"},f("textBlockQuoteBorder","Border color for block quotes in text.")),R4e=U("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:l1.black,hcLight:"#F2F2F2"},f("textCodeBlockBackground","Background color for code blocks in text.")),R5=U("widget.shadow",{dark:pe(l1.black,.36),light:pe(l1.black,.16),hcDark:null,hcLight:null},f("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),Sf=U("widget.border",{dark:null,light:null,hcDark:vt,hcLight:vt},f("widgetBorder","Border color of widgets such as find/replace inside the editor.")),ST=U("input.background",{dark:"#3C3C3C",light:l1.white,hcDark:l1.black,hcLight:l1.white},f("inputBoxBackground","Input box background.")),wT=U("input.foreground",{dark:R1,light:R1,hcDark:R1,hcLight:R1},f("inputBoxForeground","Input box foreground.")),yT=U("input.border",{dark:null,light:null,hcDark:vt,hcLight:vt},f("inputBoxBorder","Input box border.")),wf=U("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:vt,hcLight:vt},f("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),P4e=U("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},f("inputOption.hoverBackground","Background color of activated options in input fields.")),D3=U("inputOption.activeBackground",{dark:pe(ga,.4),light:pe(ga,.2),hcDark:l1.transparent,hcLight:l1.transparent},f("inputOption.activeBackground","Background hover color of options in input fields.")),yf=U("inputOption.activeForeground",{dark:l1.white,light:l1.black,hcDark:R1,hcLight:R1},f("inputOption.activeForeground","Foreground color of activated options in input fields.")),F4e=U("input.placeholderForeground",{light:pe(R1,.5),dark:pe(R1,.5),hcDark:pe(R1,.7),hcLight:pe(R1,.7)},f("inputPlaceholderForeground","Input box foreground color for placeholder text.")),KC1=U("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:l1.black,hcLight:l1.white},f("inputValidationInfoBackground","Input validation background color for information severity.")),GC1=U("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:R1},f("inputValidationInfoForeground","Input validation foreground color for information severity.")),YC1=U("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:vt,hcLight:vt},f("inputValidationInfoBorder","Input validation border color for information severity.")),QC1=U("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:l1.black,hcLight:l1.white},f("inputValidationWarningBackground","Input validation background color for warning severity.")),XC1=U("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:R1},f("inputValidationWarningForeground","Input validation foreground color for warning severity.")),JC1=U("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:vt,hcLight:vt},f("inputValidationWarningBorder","Input validation border color for warning severity.")),ep1=U("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:l1.black,hcLight:l1.white},f("inputValidationErrorBackground","Input validation background color for error severity.")),tp1=U("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:R1},f("inputValidationErrorForeground","Input validation foreground color for error severity.")),ip1=U("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:vt,hcLight:vt},f("inputValidationErrorBorder","Input validation border color for error severity.")),w3=U("dropdown.background",{dark:"#3C3C3C",light:l1.white,hcDark:l1.black,hcLight:l1.white},f("dropdownBackground","Dropdown background.")),np1=U("dropdown.listBackground",{dark:null,light:null,hcDark:l1.black,hcLight:l1.white},f("dropdownListBackground","Dropdown list background.")),ic=U("dropdown.foreground",{dark:"#F0F0F0",light:R1,hcDark:l1.white,hcLight:R1},f("dropdownForeground","Dropdown foreground.")),h6=U("dropdown.border",{dark:w3,light:"#CECECE",hcDark:vt,hcLight:vt},f("dropdownBorder","Dropdown border.")),hf=U("button.foreground",{dark:l1.white,light:l1.white,hcDark:l1.white,hcLight:l1.white},f("buttonForeground","Button foreground color.")),rp1=U("button.separator",{dark:pe(hf,.4),light:pe(hf,.4),hcDark:pe(hf,.4),hcLight:pe(hf,.4)},f("buttonSeparator","Button separator color.")),Cf=U("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},f("buttonBackground","Button background color.")),op1=U("button.hoverBackground",{dark:E3(Cf,.2),light:dh(Cf,.2),hcDark:Cf,hcLight:Cf},f("buttonHoverBackground","Button background color when hovering.")),sp1=U("button.border",{dark:vt,light:vt,hcDark:vt,hcLight:vt},f("buttonBorder","Button border color.")),ap1=U("button.secondaryForeground",{dark:l1.white,light:l1.white,hcDark:l1.white,hcLight:R1},f("buttonSecondaryForeground","Secondary button foreground color.")),_T=U("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:l1.white},f("buttonSecondaryBackground","Secondary button background color.")),lp1=U("button.secondaryHoverBackground",{dark:E3(_T,.2),light:dh(_T,.2),hcDark:null,hcLight:null},f("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),Av=U("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:l1.black,hcLight:"#0F4A85"},f("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),dp1=U("badge.foreground",{dark:l1.white,light:"#333",hcDark:l1.white,hcLight:l1.white},f("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),cp1=U("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},f("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),pf=U("scrollbarSlider.background",{dark:l1.fromHex("#797979").transparent(.4),light:l1.fromHex("#646464").transparent(.4),hcDark:pe(vt,.6),hcLight:pe(vt,.4)},f("scrollbarSliderBackground","Scrollbar slider background color.")),mf=U("scrollbarSlider.hoverBackground",{dark:l1.fromHex("#646464").transparent(.7),light:l1.fromHex("#646464").transparent(.7),hcDark:pe(vt,.8),hcLight:pe(vt,.8)},f("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),ff=U("scrollbarSlider.activeBackground",{dark:l1.fromHex("#BFBFBF").transparent(.4),light:l1.fromHex("#000000").transparent(.6),hcDark:vt,hcLight:vt},f("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),up1=U("progressBar.background",{dark:l1.fromHex("#0E70C0"),light:l1.fromHex("#0E70C0"),hcDark:vt,hcLight:vt},f("progressBarBackground","Background color of the progress bar that can show for long running operations.")),B4e=U("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},f("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),_l=U("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},f("editorError.foreground","Foreground color of error squigglies in the editor.")),hp1=U("editorError.border",{dark:null,light:null,hcDark:l1.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},f("errorBorder","If set, color of double underlines for errors in the editor.")),Z4e=U("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},f("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Fs=U("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},f("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),lh=U("editorWarning.border",{dark:null,light:null,hcDark:l1.fromHex("#FFCC00").transparent(.8),hcLight:l1.fromHex("#FFCC00").transparent(.8)},f("warningBorder","If set, color of double underlines for warnings in the editor.")),z4e=U("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},f("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Vs=U("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},f("editorInfo.foreground","Foreground color of info squigglies in the editor.")),wv=U("editorInfo.border",{dark:null,light:null,hcDark:l1.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},f("infoBorder","If set, color of double underlines for infos in the editor.")),Cp1=U("editorHint.foreground",{dark:l1.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},f("editorHint.foreground","Foreground color of hint squigglies in the editor.")),W4e=U("editorHint.border",{dark:null,light:null,hcDark:l1.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},f("hintBorder","If set, color of double underlines for hints in the editor.")),U4e=U("sash.hoverBorder",{dark:ga,light:ga,hcDark:ga,hcLight:ga},f("sashActiveBorder","Border color of active sashes.")),yr=U("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:l1.black,hcLight:l1.white},f("editorBackground","Editor background color.")),Ja=U("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:l1.white,hcLight:R1},f("editorForeground","Editor default foreground color.")),j4e=U("editorStickyScroll.background",{light:yr,dark:yr,hcDark:yr,hcLight:yr},f("editorStickyScrollBackground","Sticky scroll background color for the editor")),$4e=U("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:l1.fromHex("#0F4A85").transparent(.1)},f("editorStickyScrollHoverBackground","Sticky scroll on hover background color for the editor")),Tn=U("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:l1.white},f("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),xl=U("editorWidget.foreground",{dark:R1,light:R1,hcDark:R1,hcLight:R1},f("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),I0=U("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:vt,hcLight:vt},f("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),pp1=U("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},f("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),yX=U("quickInput.background",{dark:Tn,light:Tn,hcDark:Tn,hcLight:Tn},f("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),mp1=U("quickInput.foreground",{dark:xl,light:xl,hcDark:xl,hcLight:xl},f("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),fp1=U("quickInputTitle.background",{dark:new l1(new mt(255,255,255,.105)),light:new l1(new mt(0,0,0,.06)),hcDark:"#000000",hcLight:l1.white},f("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),kT=U("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:l1.white,hcLight:"#0F4A85"},f("pickerGroupForeground","Quick picker color for grouping labels.")),gp1=U("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:l1.white,hcLight:"#0F4A85"},f("pickerGroupBorder","Quick picker color for grouping borders.")),Lp1=U("keybindingLabel.background",{dark:new l1(new mt(128,128,128,.17)),light:new l1(new mt(221,221,221,.4)),hcDark:l1.transparent,hcLight:l1.transparent},f("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),Hp1=U("keybindingLabel.foreground",{dark:l1.fromHex("#CCCCCC"),light:l1.fromHex("#555555"),hcDark:l1.white,hcLight:R1},f("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),Vp1=U("keybindingLabel.border",{dark:new l1(new mt(51,51,51,.6)),light:new l1(new mt(204,204,204,.4)),hcDark:new l1(new mt(111,195,223)),hcLight:vt},f("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),Mp1=U("keybindingLabel.bottomBorder",{dark:new l1(new mt(68,68,68,.6)),light:new l1(new mt(187,187,187,.4)),hcDark:new l1(new mt(111,195,223)),hcLight:R1},f("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),R4=U("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},f("editorSelectionBackground","Color of the editor selection.")),vp1=U("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:l1.white},f("editorSelectionForeground","Color of the selected text for high contrast.")),kX=U("editor.inactiveSelectionBackground",{light:pe(R4,.5),dark:pe(R4,.5),hcDark:pe(R4,.7),hcLight:pe(R4,.5)},f("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),yv=U("editor.selectionHighlightBackground",{light:WC1(R4,yr,.3,.6),dark:WC1(R4,yr,.3,.6),hcDark:null,hcLight:null},f("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),q4e=U("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:ki,hcLight:ki},f("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),_p1=U("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},f("editorFindMatch","Color of the current search match.")),y3=U("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},f("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),xp1=U("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},f("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),bp1=U("editor.findMatchBorder",{light:null,dark:null,hcDark:ki,hcLight:ki},f("editorFindMatchBorder","Border color of the current search match.")),C6=U("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:ki,hcLight:ki},f("findMatchHighlightBorder","Border color of the other search matches.")),Ap1=U("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:pe(ki,.4),hcLight:pe(ki,.4)},f("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),K4e=U("searchEditor.findMatchBackground",{light:pe(y3,.66),dark:pe(y3,.66),hcDark:y3,hcLight:y3},f("searchEditor.queryMatch","Color of the Search Editor query matches.")),G4e=U("searchEditor.findMatchBorder",{light:pe(C6,.66),dark:pe(C6,.66),hcDark:C6,hcLight:C6},f("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches.")),Y4e=U("search.resultsInfoForeground",{light:R1,dark:pe(R1,.65),hcDark:R1,hcLight:R1},f("search.resultsInfoForeground","Color of the text in the search viewlet's completion message.")),Q4e=U("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},f("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),Sv=U("editorHoverWidget.background",{light:Tn,dark:Tn,hcDark:Tn,hcLight:Tn},f("hoverBackground","Background color of the editor hover.")),X4e=U("editorHoverWidget.foreground",{light:xl,dark:xl,hcDark:xl,hcLight:xl},f("hoverForeground","Foreground color of the editor hover.")),Sp1=U("editorHoverWidget.border",{light:I0,dark:I0,hcDark:I0,hcLight:I0},f("hoverBorder","Border color of the editor hover.")),J4e=U("editorHoverWidget.statusBarBackground",{dark:E3(Sv,.2),light:dh(Sv,.05),hcDark:Tn,hcLight:Tn},f("statusBarBackground","Background color of the editor hover status bar.")),wp1=U("editorLink.activeForeground",{dark:"#4E94CE",light:l1.blue,hcDark:l1.cyan,hcLight:"#292929"},f("activeLinkForeground","Color of active links.")),nc=U("editorInlayHint.foreground",{dark:"#969696",light:"#969696",hcDark:l1.white,hcLight:l1.black},f("editorInlayHintForeground","Foreground color of inline hints")),rc=U("editorInlayHint.background",{dark:pe(Av,.1),light:pe(Av,.1),hcDark:pe(l1.white,.1),hcLight:pe(Av,.1)},f("editorInlayHintBackground","Background color of inline hints")),yp1=U("editorInlayHint.typeForeground",{dark:nc,light:nc,hcDark:nc,hcLight:nc},f("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),kp1=U("editorInlayHint.typeBackground",{dark:rc,light:rc,hcDark:rc,hcLight:rc},f("editorInlayHintBackgroundTypes","Background color of inline hints for types")),Ep1=U("editorInlayHint.parameterForeground",{dark:nc,light:nc,hcDark:nc,hcLight:nc},f("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),Dp1=U("editorInlayHint.parameterBackground",{dark:rc,light:rc,hcDark:rc,hcLight:rc},f("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),e7e=U("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},f("editorLightBulbForeground","The color used for the lightbulb actions icon.")),t7e=U("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},f("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),vf=new l1(new mt(155,185,85,.2)),_f=new l1(new mt(255,0,0,.2)),ET=U("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},f("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),DT=U("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},f("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),i7e=U("diffEditor.insertedLineBackground",{dark:vf,light:vf,hcDark:null,hcLight:null},f("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),n7e=U("diffEditor.removedLineBackground",{dark:_f,light:_f,hcDark:null,hcLight:null},f("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),r7e=U("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},f("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),o7e=U("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},f("diffEditorRemovedLineGutter","Background color for the margin where lines got removed.")),IT=U("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content.")),TT=U("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content.")),s7e=U("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},f("diffEditorInsertedOutline","Outline color for the text that got inserted.")),a7e=U("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},f("diffEditorRemovedOutline","Outline color for text that got removed.")),l7e=U("diffEditor.border",{dark:null,light:null,hcDark:vt,hcLight:vt},f("diffEditorBorder","Border color between the two text editors.")),Ip1=U("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},f("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),d7e=U("diffEditor.unchangedRegionBackground",{dark:"#3e3e3e",light:"#e4e4e4",hcDark:null,hcLight:null},f("diffEditor.unchangedRegionBackground","The background color of unchanged blocks in the diff editor.")),c7e=U("diffEditor.unchangedRegionForeground",{dark:"#a3a2a2",light:"#4d4c4c",hcDark:null,hcLight:null},f("diffEditor.unchangedRegionForeground","The foreground color of unchanged blocks in the diff editor.")),u7e=U("diffEditor.unchangedCodeBackground",{dark:"#74747429",light:"#b8b8b829",hcDark:null,hcLight:null},f("diffEditor.unchangedCodeBackground","The background color of unchanged code in the diff editor.")),Tp1=U("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},f("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Np1=U("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Op1=U("list.focusOutline",{dark:ga,light:ga,hcDark:ki,hcLight:ki},f("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Rp1=U("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},f("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),oc=U("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:l1.fromHex("#0F4A85").transparent(.1)},f("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),k3=U("list.activeSelectionForeground",{dark:l1.white,light:l1.white,hcDark:null,hcLight:null},f("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),gf=U("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Pp1=U("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:l1.fromHex("#0F4A85").transparent(.1)},f("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Fp1=U("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Bp1=U("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Zp1=U("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},f("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),zp1=U("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},f("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),EX=U("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:l1.white.transparent(.1),hcLight:l1.fromHex("#0F4A85").transparent(.1)},f("listHoverBackground","List/Tree background when hovering over items using the mouse.")),DX=U("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},f("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Wp1=U("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},f("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),P5=U("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:ga,hcLight:ga},f("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),kv=U("list.focusHighlightForeground",{dark:P5,light:QZ1(oc,P5,"#BBE7FF"),hcDark:P5,hcLight:P5},f("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.")),h7e=U("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},f("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),C7e=U("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},f("listErrorForeground","Foreground color of list items containing errors.")),p7e=U("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},f("listWarningForeground","Foreground color of list items containing warnings.")),Up1=U("listFilterWidget.background",{light:dh(Tn,0),dark:E3(Tn,0),hcDark:Tn,hcLight:Tn},f("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),jp1=U("listFilterWidget.outline",{dark:l1.transparent,light:l1.transparent,hcDark:"#f38518",hcLight:"#007ACC"},f("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),$p1=U("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:vt,hcLight:vt},f("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),qp1=U("listFilterWidget.shadow",{dark:R5,light:R5,hcDark:R5,hcLight:R5},f("listFilterWidgetShadow","Shadow color of the type filter widget in lists and trees.")),m7e=U("list.filterMatchBackground",{dark:y3,light:y3,hcDark:null,hcLight:null},f("listFilterMatchHighlight","Background color of the filtered match.")),f7e=U("list.filterMatchBorder",{dark:C6,light:C6,hcDark:vt,hcLight:ki},f("listFilterMatchHighlightBorder","Border color of the filtered match.")),Lf=U("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},f("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),Kp1=U("tree.inactiveIndentGuidesStroke",{dark:pe(Lf,.4),light:pe(Lf,.4),hcDark:pe(Lf,.4),hcLight:pe(Lf,.4)},f("treeInactiveIndentGuidesStroke","Tree stroke color for the indentation guides that are not active.")),Gp1=U("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},f("tableColumnsBorder","Table border color between columns.")),Yp1=U("tree.tableOddRowsBackground",{dark:pe(R1,.04),light:pe(R1,.04),hcDark:null,hcLight:null},f("tableOddRowsBackgroundColor","Background color for odd table rows.")),g7e=U("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},f("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized. ")),Qp1=U("checkbox.background",{dark:w3,light:w3,hcDark:w3,hcLight:w3},f("checkbox.background","Background color of checkbox widget.")),L7e=U("checkbox.selectBackground",{dark:Tn,light:Tn,hcDark:Tn,hcLight:Tn},f("checkbox.select.background","Background color of checkbox widget when the element it's in is selected.")),Xp1=U("checkbox.foreground",{dark:ic,light:ic,hcDark:ic,hcLight:ic},f("checkbox.foreground","Foreground color of checkbox widget.")),Jp1=U("checkbox.border",{dark:h6,light:h6,hcDark:h6,hcLight:h6},f("checkbox.border","Border color of checkbox widget.")),H7e=U("checkbox.selectBorder",{dark:O4,light:O4,hcDark:O4,hcLight:O4},f("checkbox.select.border","Border color of checkbox widget when the element it's in is selected.")),FC1=U("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,f("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead")),sc=U("quickInputList.focusForeground",{dark:k3,light:k3,hcDark:k3,hcLight:k3},f("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),P4=U("quickInputList.focusIconForeground",{dark:gf,light:gf,hcDark:gf,hcLight:gf},f("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),ac=U("quickInputList.focusBackground",{dark:Af(FC1,oc),light:Af(FC1,oc),hcDark:null,hcLight:null},f("quickInput.listFocusBackground","Quick picker background color for the focused item.")),em1=U("menu.border",{dark:null,light:null,hcDark:vt,hcLight:vt},f("menuBorder","Border color of menus.")),tm1=U("menu.foreground",{dark:ic,light:ic,hcDark:ic,hcLight:ic},f("menuForeground","Foreground color of menu items.")),im1=U("menu.background",{dark:w3,light:w3,hcDark:w3,hcLight:w3},f("menuBackground","Background color of menu items.")),nm1=U("menu.selectionForeground",{dark:k3,light:k3,hcDark:k3,hcLight:k3},f("menuSelectionForeground","Foreground color of the selected menu item in menus.")),rm1=U("menu.selectionBackground",{dark:oc,light:oc,hcDark:oc,hcLight:oc},f("menuSelectionBackground","Background color of the selected menu item in menus.")),om1=U("menu.selectionBorder",{dark:null,light:null,hcDark:ki,hcLight:ki},f("menuSelectionBorder","Border color of the selected menu item in menus.")),sm1=U("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:vt,hcLight:vt},f("menuSeparatorBackground","Color of a separator menu item in menus.")),xT=U("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},f("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse")),V7e=U("toolbar.hoverOutline",{dark:null,light:null,hcDark:ki,hcLight:ki},f("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),M7e=U("toolbar.activeBackground",{dark:E3(xT,.1),light:dh(xT,.1),hcDark:null,hcLight:null},f("toolbarActiveBackground","Toolbar background when holding the mouse over actions")),v7e=U("editor.snippetTabstopHighlightBackground",{dark:new l1(new mt(124,124,124,.3)),light:new l1(new mt(10,50,100,.2)),hcDark:new l1(new mt(124,124,124,.3)),hcLight:new l1(new mt(10,50,100,.2))},f("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),_7e=U("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},f("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),x7e=U("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},f("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),b7e=U("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new l1(new mt(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},f("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),am1=U("breadcrumb.foreground",{light:pe(R1,.8),dark:pe(R1,.8),hcDark:pe(R1,.8),hcLight:pe(R1,.8)},f("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),lm1=U("breadcrumb.background",{light:yr,dark:yr,hcDark:yr,hcLight:yr},f("breadcrumbsBackground","Background color of breadcrumb items.")),IX=U("breadcrumb.focusForeground",{light:dh(R1,.2),dark:E3(R1,.1),hcDark:E3(R1,.1),hcLight:E3(R1,.1)},f("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),dm1=U("breadcrumb.activeSelectionForeground",{light:dh(R1,.2),dark:E3(R1,.1),hcDark:E3(R1,.1),hcLight:E3(R1,.1)},f("breadcrumbsSelectedForeground","Color of selected breadcrumb items.")),A7e=U("breadcrumbPicker.background",{light:Tn,dark:Tn,hcDark:Tn,hcLight:Tn},f("breadcrumbsSelectedBackground","Background color of breadcrumb item picker.")),cm1=.5,BC1=l1.fromHex("#40C8AE").transparent(cm1),ZC1=l1.fromHex("#40A6FF").transparent(cm1),zC1=l1.fromHex("#606060").transparent(.4),bl=.4,xf=1,Hf=U("merge.currentHeaderBackground",{dark:BC1,light:BC1,hcDark:null,hcLight:null},f("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),S7e=U("merge.currentContentBackground",{dark:pe(Hf,bl),light:pe(Hf,bl),hcDark:pe(Hf,bl),hcLight:pe(Hf,bl)},f("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),Vf=U("merge.incomingHeaderBackground",{dark:ZC1,light:ZC1,hcDark:null,hcLight:null},f("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),w7e=U("merge.incomingContentBackground",{dark:pe(Vf,bl),light:pe(Vf,bl),hcDark:pe(Vf,bl),hcLight:pe(Vf,bl)},f("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),Mf=U("merge.commonHeaderBackground",{dark:zC1,light:zC1,hcDark:null,hcLight:null},f("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),y7e=U("merge.commonContentBackground",{dark:pe(Mf,bl),light:pe(Mf,bl),hcDark:pe(Mf,bl),hcLight:pe(Mf,bl)},f("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),bf=U("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},f("mergeBorder","Border color on headers and the splitter in inline merge-conflicts.")),k7e=U("editorOverviewRuler.currentContentForeground",{dark:pe(Hf,xf),light:pe(Hf,xf),hcDark:bf,hcLight:bf},f("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),E7e=U("editorOverviewRuler.incomingContentForeground",{dark:pe(Vf,xf),light:pe(Vf,xf),hcDark:bf,hcLight:bf},f("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),D7e=U("editorOverviewRuler.commonContentForeground",{dark:pe(Mf,xf),light:pe(Mf,xf),hcDark:bf,hcLight:bf},f("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts.")),NT=U("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},f("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),kf=U("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},f("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ah=U("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},f("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),Ev=U("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},f("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),TX=U("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},f("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),um1=U("minimap.errorHighlight",{dark:new l1(new mt(255,18,18,.7)),light:new l1(new mt(255,18,18,.7)),hcDark:new l1(new mt(255,50,50,1)),hcLight:"#B5200D"},f("minimapError","Minimap marker color for errors.")),hm1=U("minimap.warningHighlight",{dark:Fs,light:Fs,hcDark:lh,hcLight:lh},f("overviewRuleWarning","Minimap marker color for warnings.")),Cm1=U("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},f("minimapBackground","Minimap background color.")),pm1=U("minimap.foregroundOpacity",{dark:l1.fromHex("#000f"),light:l1.fromHex("#000f"),hcDark:l1.fromHex("#000f"),hcLight:l1.fromHex("#000f")},f("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.')),I7e=U("minimapSlider.background",{light:pe(pf,.5),dark:pe(pf,.5),hcDark:pe(pf,.5),hcLight:pe(pf,.5)},f("minimapSliderBackground","Minimap slider background color.")),T7e=U("minimapSlider.hoverBackground",{light:pe(mf,.5),dark:pe(mf,.5),hcDark:pe(mf,.5),hcLight:pe(mf,.5)},f("minimapSliderHoverBackground","Minimap slider background color when hovering.")),N7e=U("minimapSlider.activeBackground",{light:pe(ff,.5),dark:pe(ff,.5),hcDark:pe(ff,.5),hcLight:pe(ff,.5)},f("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),mm1=U("problemsErrorIcon.foreground",{dark:_l,light:_l,hcDark:_l,hcLight:_l},f("problemsErrorIconForeground","The color used for the problems error icon.")),fm1=U("problemsWarningIcon.foreground",{dark:Fs,light:Fs,hcDark:Fs,hcLight:Fs},f("problemsWarningIconForeground","The color used for the problems warning icon.")),gm1=U("problemsInfoIcon.foreground",{dark:Vs,light:Vs,hcDark:Vs,hcLight:Vs},f("problemsInfoIconForeground","The color used for the problems info icon.")),O7e=U("charts.foreground",{dark:R1,light:R1,hcDark:R1,hcLight:R1},f("chartsForeground","The foreground color used in charts.")),R7e=U("charts.lines",{dark:pe(R1,.5),light:pe(R1,.5),hcDark:pe(R1,.5),hcLight:pe(R1,.5)},f("chartsLines","The color used for horizontal lines in charts.")),P7e=U("charts.red",{dark:_l,light:_l,hcDark:_l,hcLight:_l},f("chartsRed","The red color used in chart visualizations.")),F7e=U("charts.blue",{dark:Vs,light:Vs,hcDark:Vs,hcLight:Vs},f("chartsBlue","The blue color used in chart visualizations.")),B7e=U("charts.yellow",{dark:Fs,light:Fs,hcDark:Fs,hcLight:Fs},f("chartsYellow","The yellow color used in chart visualizations.")),Z7e=U("charts.orange",{dark:ah,light:ah,hcDark:ah,hcLight:ah},f("chartsOrange","The orange color used in chart visualizations.")),z7e=U("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},f("chartsGreen","The green color used in chart visualizations.")),W7e=U("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},f("chartsPurple","The purple color used in chart visualizations."));Lm1="vscode://schemas/workbench-colors",Hm1=yt.as(Bu.JSONContribution);Hm1.registerSchema(Lm1,AT.getColorSchema());UC1=new rt(()=>Hm1.notifySchemaChanged(Lm1),200);AT.onDidChangeSchema(()=>{UC1.isScheduled()||UC1.schedule()})});function FT(n){let e=oi(n);return new NX(e.left,e.top,e.width,e.height)}function BT(n,e,t){let i=e.width/n.offsetWidth,r=e.height/n.offsetHeight,o=(t.x-e.x)/i,s=(t.y-e.y)/r;return new OX(o,s)}function JZ1(n){return n.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`)}var p6,Dv,NX,OX,Al,OT,RT,PT,ch,RX,Ef=k(()=>{re();uf();Ka();De();c1();Nn();p6=class{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new Dv(this.x-window.scrollX,this.y-window.scrollY)}},Dv=class{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new p6(this.clientX+window.scrollX,this.clientY+window.scrollY)}},NX=class{constructor(e,t,i,r){this.x=e,this.y=t,this.width=i,this.height=r,this._editorPagePositionBrand=void 0}},OX=class{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}};Al=class extends Fr{constructor(e,t,i){super(e),this._editorMouseEventBrand=void 0,this.isFromPointerCapture=t,this.pos=new p6(this.posx,this.posy),this.editorPos=FT(i),this.relativePos=BT(i,this.editorPos,this.pos)}},OT=class{constructor(e){this._editorViewDomNode=e}_create(e){return new Al(e,!1,this._editorViewDomNode)}onContextMenu(e,t){return a1(e,"contextmenu",i=>{t(this._create(i))})}onMouseUp(e,t){return a1(e,"mouseup",i=>{t(this._create(i))})}onMouseDown(e,t){return a1(e,S1.MOUSE_DOWN,i=>{t(this._create(i))})}onPointerDown(e,t){return a1(e,S1.POINTER_DOWN,i=>{t(this._create(i),i.pointerId)})}onMouseLeave(e,t){return a1(e,S1.MOUSE_LEAVE,i=>{t(this._create(i))})}onMouseMove(e,t){return a1(e,"mousemove",i=>t(this._create(i)))}},RT=class{constructor(e){this._editorViewDomNode=e}_create(e){return new Al(e,!1,this._editorViewDomNode)}onPointerUp(e,t){return a1(e,"pointerup",i=>{t(this._create(i))})}onPointerDown(e,t){return a1(e,S1.POINTER_DOWN,i=>{t(this._create(i),i.pointerId)})}onPointerLeave(e,t){return a1(e,S1.POINTER_LEAVE,i=>{t(this._create(i))})}onPointerMove(e,t){return a1(e,"pointermove",i=>t(this._create(i)))}},PT=class extends z{constructor(e){super(),this._editorViewDomNode=e,this._globalPointerMoveMonitor=this._register(new D0),this._keydownListener=null}startMonitoring(e,t,i,r,o){this._keydownListener=Ft(document,"keydown",s=>{s.toKeyCodeChord().isModifierKey()||this._globalPointerMoveMonitor.stopMonitoring(!0,s.browserEvent)},!0),this._globalPointerMoveMonitor.startMonitoring(e,t,i,s=>{r(new Al(s,!0,this._editorViewDomNode))},s=>{this._keydownListener.dispose(),o(s)})}stopMonitoring(){this._globalPointerMoveMonitor.stopMonitoring(!0)}},ch=class n{constructor(e){this._editor=e,this._instanceId=++n._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new rt(()=>this.garbageCollect(),1e3)}createClassNameRef(e){let t=this.getOrCreateRule(e);return t.increaseRefCount(),{className:t.className,dispose:()=>{t.decreaseRefCount(),this._garbageCollectionScheduler.schedule()}}}getOrCreateRule(e){let t=this.computeUniqueKey(e),i=this._rules.get(t);if(!i){let r=this._counter++;i=new RX(t,`dyn-rule-${this._instanceId}-${r}`,nh(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,i)}return i}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(let e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}};ch._idPool=0;RX=class{constructor(e,t,i,r){this.key=e,this.className=t,this.properties=r,this._referenceCount=0,this._styleElement=Co(i),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let i=`.${e} {`;for(let r in t){let o=t[r],s;typeof o=="object"?s=J1(o.id):s=o;let a=JZ1(r);i+=`
|
|
39
39
|
${a}: ${s};`}return i+=`
|
|
@@ -114,28 +114,28 @@ Received: '{1}'.`,e,Nd.getLexeme(t)),o=t.offset,s=Nd.getLexeme(t);return this._p
|
|
|
114
114
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=a();function l(b1){e.defaults=b1}var d=/[&<>"']/,c=/[&<>"']/g,u=/[<>"']|&(?!#?\w+;)/,h=/[<>"']|&(?!#?\w+;)/g,C={"&":"&","<":"<",">":">",'"':""","'":"'"},p=function(f1){return C[f1]};function m(b1,f1){if(f1){if(d.test(b1))return b1.replace(c,p)}else if(u.test(b1))return b1.replace(h,p);return b1}var H=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function g(b1){return b1.replace(H,function(f1,C1){return C1=C1.toLowerCase(),C1==="colon"?":":C1.charAt(0)==="#"?C1.charAt(1)==="x"?String.fromCharCode(parseInt(C1.substring(2),16)):String.fromCharCode(+C1.substring(1)):""})}var L=/(^|[^\[])\^/g;function V(b1,f1){b1=typeof b1=="string"?b1:b1.source,f1=f1||"";var C1={replace:function(W,o1){return o1=o1.source||o1,o1=o1.replace(L,"$1"),b1=b1.replace(W,o1),C1},getRegex:function(){return new RegExp(b1,f1)}};return C1}var _=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(b1,f1,C1){if(b1){var q;try{q=decodeURIComponent(g(C1)).replace(_,"").toLowerCase()}catch{return null}if(q.indexOf("javascript:")===0||q.indexOf("vbscript:")===0||q.indexOf("data:")===0)return null}f1&&!b.test(C1)&&(C1=T(f1,C1));try{C1=encodeURI(C1).replace(/%25/g,"%")}catch{return null}return C1}var A={},S=/^[^:]+:\/*[^/]*$/,I=/^([^:]+:)[\s\S]*$/,P=/^([^:]+:\/*[^/]*)[\s\S]*$/;function T(b1,f1){A[" "+b1]||(S.test(b1)?A[" "+b1]=b1+"/":A[" "+b1]=e1(b1,"/",!0)),b1=A[" "+b1];var C1=b1.indexOf(":")===-1;return f1.substring(0,2)==="//"?C1?f1:b1.replace(I,"$1")+f1:f1.charAt(0)==="/"?C1?f1:b1.replace(P,"$1")+f1:b1+f1}var R={exec:function(){}};function B(b1){for(var f1=1,C1,q;f1<arguments.length;f1++){C1=arguments[f1];for(q in C1)Object.prototype.hasOwnProperty.call(C1,q)&&(b1[q]=C1[q])}return b1}function G(b1,f1){var C1=b1.replace(/\|/g,function(o1,n1,w1){for(var ee=!1,ue=n1;--ue>=0&&w1[ue]==="\\";)ee=!ee;return ee?"|":" |"}),q=C1.split(/ \|/),W=0;if(q[0].trim()||q.shift(),q.length>0&&!q[q.length-1].trim()&&q.pop(),q.length>f1)q.splice(f1);else for(;q.length<f1;)q.push("");for(;W<q.length;W++)q[W]=q[W].trim().replace(/\\\|/g,"|");return q}function e1(b1,f1,C1){var q=b1.length;if(q===0)return"";for(var W=0;W<q;){var o1=b1.charAt(q-W-1);if(o1===f1&&!C1)W++;else if(o1!==f1&&C1)W++;else break}return b1.slice(0,q-W)}function Q(b1,f1){if(b1.indexOf(f1[1])===-1)return-1;for(var C1=b1.length,q=0,W=0;W<C1;W++)if(b1[W]==="\\")W++;else if(b1[W]===f1[0])q++;else if(b1[W]===f1[1]&&(q--,q<0))return W;return-1}function X(b1){b1&&b1.sanitize&&!b1.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function d1(b1,f1){if(f1<1)return"";for(var C1="";f1>1;)f1&1&&(C1+=b1),f1>>=1,b1+=b1;return C1+b1}function Y(b1,f1,C1,q){var W=f1.href,o1=f1.title?m(f1.title):null,n1=b1[1].replace(/\\([\[\]])/g,"$1");if(b1[0].charAt(0)!=="!"){q.state.inLink=!0;var w1={type:"link",raw:C1,href:W,title:o1,text:n1,tokens:q.inlineTokens(n1)};return q.state.inLink=!1,w1}return{type:"image",raw:C1,href:W,title:o1,text:m(n1)}}function h1(b1,f1){var C1=b1.match(/^(\s+)(?:```)/);if(C1===null)return f1;var q=C1[1];return f1.split(`
|
|
115
115
|
`).map(function(W){var o1=W.match(/^\s+/);if(o1===null)return W;var n1=o1[0];return n1.length>=q.length?W.slice(q.length):W}).join(`
|
|
116
116
|
`)}var s1=function(){function b1(C1){this.options=C1||e.defaults}var f1=b1.prototype;return f1.space=function(q){var W=this.rules.block.newline.exec(q);if(W&&W[0].length>0)return{type:"space",raw:W[0]}},f1.code=function(q){var W=this.rules.block.code.exec(q);if(W){var o1=W[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:W[0],codeBlockStyle:"indented",text:this.options.pedantic?o1:e1(o1,`
|
|
117
|
-
`)}}},f1.fences=function(q){var W=this.rules.block.fences.exec(q);if(W){var o1=W[0],n1=h1(o1,W[3]||"");return{type:"code",raw:o1,lang:W[2]?W[2].trim():W[2],text:n1}}},f1.heading=function(q){var W=this.rules.block.heading.exec(q);if(W){var o1=W[2].trim();if(/#$/.test(o1)){var n1=e1(o1,"#");(this.options.pedantic||!n1||/ $/.test(n1))&&(o1=n1.trim())}return{type:"heading",raw:W[0],depth:W[1].length,text:o1,tokens:this.lexer.inline(o1)}}},f1.hr=function(q){var W=this.rules.block.hr.exec(q);if(W)return{type:"hr",raw:W[0]}},f1.blockquote=function(q){var W=this.rules.block.blockquote.exec(q);if(W){var o1=W[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:W[0],tokens:this.lexer.blockTokens(o1,[]),text:o1}}},f1.list=function(q){var W=this.rules.block.list.exec(q);if(W){var o1,n1,w1,ee,ue,Ve,
|
|
117
|
+
`)}}},f1.fences=function(q){var W=this.rules.block.fences.exec(q);if(W){var o1=W[0],n1=h1(o1,W[3]||"");return{type:"code",raw:o1,lang:W[2]?W[2].trim():W[2],text:n1}}},f1.heading=function(q){var W=this.rules.block.heading.exec(q);if(W){var o1=W[2].trim();if(/#$/.test(o1)){var n1=e1(o1,"#");(this.options.pedantic||!n1||/ $/.test(n1))&&(o1=n1.trim())}return{type:"heading",raw:W[0],depth:W[1].length,text:o1,tokens:this.lexer.inline(o1)}}},f1.hr=function(q){var W=this.rules.block.hr.exec(q);if(W)return{type:"hr",raw:W[0]}},f1.blockquote=function(q){var W=this.rules.block.blockquote.exec(q);if(W){var o1=W[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:W[0],tokens:this.lexer.blockTokens(o1,[]),text:o1}}},f1.list=function(q){var W=this.rules.block.list.exec(q);if(W){var o1,n1,w1,ee,ue,Ve,it,Oe,$t,qt,Fe,vi,Ki=W[1].trim(),no=Ki.length>1,Kt={type:"list",raw:"",ordered:no,start:no?+Ki.slice(0,-1):"",loose:!1,items:[]};Ki=no?"\\d{1,9}\\"+Ki.slice(-1):"\\"+Ki,this.options.pedantic&&(Ki=no?Ki:"[*+-]");for(var Pi=new RegExp("^( {0,3}"+Ki+")((?:[ ][^\\n]*)?(?:\\n|$))");q&&(vi=!1,!(!(W=Pi.exec(q))||this.rules.block.hr.test(q)));){if(o1=W[0],q=q.substring(o1.length),Oe=W[2].split(`
|
|
118
118
|
`,1)[0],$t=q.split(`
|
|
119
119
|
`,1)[0],this.options.pedantic?(ee=2,Fe=Oe.trimLeft()):(ee=W[2].search(/[^ ]/),ee=ee>4?1:ee,Fe=Oe.slice(ee),ee+=W[1].length),Ve=!1,!Oe&&/^ *$/.test($t)&&(o1+=$t+`
|
|
120
120
|
`,q=q.substring($t.length+1),vi=!0),!vi)for(var y2=new RegExp("^ {0,"+Math.min(3,ee-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),Ea=new RegExp("^ {0,"+Math.min(3,ee-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"),ro=new RegExp("^ {0,"+Math.min(3,ee-1)+"}(?:```|~~~)"),On=new RegExp("^ {0,"+Math.min(3,ee-1)+"}#");q&&(qt=q.split(`
|
|
121
121
|
`,1)[0],Oe=qt,this.options.pedantic&&(Oe=Oe.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(ro.test(Oe)||On.test(Oe)||y2.test(Oe)||Ea.test(q)));){if(Oe.search(/[^ ]/)>=ee||!Oe.trim())Fe+=`
|
|
122
122
|
`+Oe.slice(ee);else if(!Ve)Fe+=`
|
|
123
123
|
`+Oe;else break;!Ve&&!Oe.trim()&&(Ve=!0),o1+=qt+`
|
|
124
|
-
`,q=q.substring(qt.length+1)}Kt.loose||(
|
|
125
|
-
`&&(fn+=1),fn>1)return!0}return!1});!Kt.loose&&na.length&&C5&&(Kt.loose=!0,Kt.items[ue].loose=!0)}return Kt}},f1.html=function(q){var W=this.rules.block.html.exec(q);if(W){var o1={type:"html",raw:W[0],pre:!this.options.sanitizer&&(W[1]==="pre"||W[1]==="script"||W[1]==="style"),text:W[0]};if(this.options.sanitize){var n1=this.options.sanitizer?this.options.sanitizer(W[0]):m(W[0]);o1.type="paragraph",o1.text=n1,o1.tokens=this.lexer.inline(n1)}return o1}},f1.def=function(q){var W=this.rules.block.def.exec(q);if(W){W[3]&&(W[3]=W[3].substring(1,W[3].length-1));var o1=W[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:o1,raw:W[0],href:W[2],title:W[3]}}},f1.table=function(q){var W=this.rules.block.table.exec(q);if(W){var o1={type:"table",header:G(W[1]).map(function(
|
|
126
|
-
`):[]};if(o1.header.length===o1.align.length){o1.raw=W[0];var n1=o1.align.length,w1,ee,ue,Ve;for(w1=0;w1<n1;w1++)/^ *-+: *$/.test(o1.align[w1])?o1.align[w1]="right":/^ *:-+: *$/.test(o1.align[w1])?o1.align[w1]="center":/^ *:-+ *$/.test(o1.align[w1])?o1.align[w1]="left":o1.align[w1]=null;for(n1=o1.rows.length,w1=0;w1<n1;w1++)o1.rows[w1]=G(o1.rows[w1],o1.header.length).map(function(
|
|
127
|
-
`?W[1].slice(0,-1):W[1];return{type:"paragraph",raw:W[0],text:o1,tokens:this.lexer.inline(o1)}}},f1.text=function(q){var W=this.rules.block.text.exec(q);if(W)return{type:"text",raw:W[0],text:W[0],tokens:this.lexer.inline(W[0])}},f1.escape=function(q){var W=this.rules.inline.escape.exec(q);if(W)return{type:"escape",raw:W[0],text:m(W[1])}},f1.tag=function(q){var W=this.rules.inline.tag.exec(q);if(W)return!this.lexer.state.inLink&&/^<a /i.test(W[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(W[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(W[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(W[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:W[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(W[0]):m(W[0]):W[0]}},f1.link=function(q){var W=this.rules.inline.link.exec(q);if(W){var o1=W[2].trim();if(!this.options.pedantic&&/^</.test(o1)){if(!/>$/.test(o1))return;var n1=e1(o1.slice(0,-1),"\\");if((o1.length-n1.length)%2===0)return}else{var w1=Q(W[2],"()");if(w1>-1){var ee=W[0].indexOf("!")===0?5:4,ue=ee+W[1].length+w1;W[2]=W[2].substring(0,w1),W[0]=W[0].substring(0,ue).trim(),W[3]=""}}var Ve=W[2],tt="";if(this.options.pedantic){var Oe=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ve);Oe&&(Ve=Oe[1],tt=Oe[3])}else tt=W[3]?W[3].slice(1,-1):"";return Ve=Ve.trim(),/^</.test(Ve)&&(this.options.pedantic&&!/>$/.test(o1)?Ve=Ve.slice(1):Ve=Ve.slice(1,-1)),Y(W,{href:Ve&&Ve.replace(this.rules.inline._escapes,"$1"),title:tt&&tt.replace(this.rules.inline._escapes,"$1")},W[0],this.lexer)}},f1.reflink=function(q,W){var o1;if((o1=this.rules.inline.reflink.exec(q))||(o1=this.rules.inline.nolink.exec(q))){var n1=(o1[2]||o1[1]).replace(/\s+/g," ");if(n1=W[n1.toLowerCase()],!n1||!n1.href){var w1=o1[0].charAt(0);return{type:"text",raw:w1,text:w1}}return Y(o1,n1,o1[0],this.lexer)}},f1.emStrong=function(q,W,o1){o1===void 0&&(o1="");var n1=this.rules.inline.emStrong.lDelim.exec(q);if(n1&&!(n1[3]&&o1.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var w1=n1[1]||n1[2]||"";if(!w1||w1&&(o1===""||this.rules.inline.punctuation.exec(o1))){var ee=n1[0].length-1,ue,Ve,tt=ee,Oe=0,$t=n1[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for($t.lastIndex=0,W=W.slice(-1*q.length+ee);(n1=$t.exec(W))!=null;)if(ue=n1[1]||n1[2]||n1[3]||n1[4]||n1[5]||n1[6],!!ue){if(Ve=ue.length,n1[3]||n1[4]){tt+=Ve;continue}else if((n1[5]||n1[6])&&ee%3&&!((ee+Ve)%3)){Oe+=Ve;continue}if(tt-=Ve,!(tt>0)){if(Ve=Math.min(Ve,Ve+tt+Oe),Math.min(ee,Ve)%2){var qt=q.slice(1,ee+n1.index+Ve);return{type:"em",raw:q.slice(0,ee+n1.index+Ve+1),text:qt,tokens:this.lexer.inlineTokens(qt)}}var Fe=q.slice(2,ee+n1.index+Ve-1);return{type:"strong",raw:q.slice(0,ee+n1.index+Ve+1),text:Fe,tokens:this.lexer.inlineTokens(Fe)}}}}}},f1.codespan=function(q){var W=this.rules.inline.code.exec(q);if(W){var o1=W[2].replace(/\n/g," "),n1=/[^ ]/.test(o1),w1=/^ /.test(o1)&&/ $/.test(o1);return n1&&w1&&(o1=o1.substring(1,o1.length-1)),o1=m(o1,!0),{type:"codespan",raw:W[0],text:o1}}},f1.br=function(q){var W=this.rules.inline.br.exec(q);if(W)return{type:"br",raw:W[0]}},f1.del=function(q){var W=this.rules.inline.del.exec(q);if(W)return{type:"del",raw:W[0],text:W[2],tokens:this.lexer.inlineTokens(W[2])}},f1.autolink=function(q,W){var o1=this.rules.inline.autolink.exec(q);if(o1){var n1,w1;return o1[2]==="@"?(n1=m(this.options.mangle?W(o1[1]):o1[1]),w1="mailto:"+n1):(n1=m(o1[1]),w1=n1),{type:"link",raw:o1[0],text:n1,href:w1,tokens:[{type:"text",raw:n1,text:n1}]}}},f1.url=function(q,W){var o1;if(o1=this.rules.inline.url.exec(q)){var n1,w1;if(o1[2]==="@")n1=m(this.options.mangle?W(o1[0]):o1[0]),w1="mailto:"+n1;else{var ee;do ee=o1[0],o1[0]=this.rules.inline._backpedal.exec(o1[0])[0];while(ee!==o1[0]);n1=m(o1[0]),o1[1]==="www."?w1="http://"+n1:w1=n1}return{type:"link",raw:o1[0],text:n1,href:w1,tokens:[{type:"text",raw:n1,text:n1}]}}},f1.inlineText=function(q,W){var o1=this.rules.inline.text.exec(q);if(o1){var n1;return this.lexer.state.inRawBlock?n1=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o1[0]):m(o1[0]):o1[0]:n1=m(this.options.smartypants?W(o1[0]):o1[0]),{type:"text",raw:o1[0],text:n1}}},b1}(),t1={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:R,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};t1._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,t1._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,t1.def=V(t1.def).replace("label",t1._label).replace("title",t1._title).getRegex(),t1.bullet=/(?:[*+-]|\d{1,9}[.)])/,t1.listItemStart=V(/^( *)(bull) */).replace("bull",t1.bullet).getRegex(),t1.list=V(t1.list).replace(/bull/g,t1.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+t1.def.source+")").getRegex(),t1._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",t1._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,t1.html=V(t1.html,"i").replace("comment",t1._comment).replace("tag",t1._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),t1.paragraph=V(t1._paragraph).replace("hr",t1.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t1._tag).getRegex(),t1.blockquote=V(t1.blockquote).replace("paragraph",t1.paragraph).getRegex(),t1.normal=B({},t1),t1.gfm=B({},t1.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),t1.gfm.table=V(t1.gfm.table).replace("hr",t1.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t1._tag).getRegex(),t1.gfm.paragraph=V(t1._paragraph).replace("hr",t1.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",t1.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t1._tag).getRegex(),t1.pedantic=B({},t1.normal,{html:V(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",t1._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:R,paragraph:V(t1.normal._paragraph).replace("hr",t1.hr).replace("heading",` *#{1,6} *[^
|
|
124
|
+
`,q=q.substring(qt.length+1)}Kt.loose||(it?Kt.loose=!0:/\n *\n *$/.test(o1)&&(it=!0)),this.options.gfm&&(n1=/^\[[ xX]\] /.exec(Fe),n1&&(w1=n1[0]!=="[ ] ",Fe=Fe.replace(/^\[[ xX]\] +/,""))),Kt.items.push({type:"list_item",raw:o1,task:!!n1,checked:w1,loose:!1,text:Fe}),Kt.raw+=o1}Kt.items[Kt.items.length-1].raw=o1.trimRight(),Kt.items[Kt.items.length-1].text=Fe.trimRight(),Kt.raw=Kt.raw.trimRight();var tr=Kt.items.length;for(ue=0;ue<tr;ue++){this.lexer.state.top=!1,Kt.items[ue].tokens=this.lexer.blockTokens(Kt.items[ue].text,[]);var na=Kt.items[ue].tokens.filter(function(n2){return n2.type==="space"}),C5=na.every(function(n2){for(var J0=n2.raw.split(""),fn=0,Ir=s(J0),ra;!(ra=Ir()).done;){var Da=ra.value;if(Da===`
|
|
125
|
+
`&&(fn+=1),fn>1)return!0}return!1});!Kt.loose&&na.length&&C5&&(Kt.loose=!0,Kt.items[ue].loose=!0)}return Kt}},f1.html=function(q){var W=this.rules.block.html.exec(q);if(W){var o1={type:"html",raw:W[0],pre:!this.options.sanitizer&&(W[1]==="pre"||W[1]==="script"||W[1]==="style"),text:W[0]};if(this.options.sanitize){var n1=this.options.sanitizer?this.options.sanitizer(W[0]):m(W[0]);o1.type="paragraph",o1.text=n1,o1.tokens=this.lexer.inline(n1)}return o1}},f1.def=function(q){var W=this.rules.block.def.exec(q);if(W){W[3]&&(W[3]=W[3].substring(1,W[3].length-1));var o1=W[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:o1,raw:W[0],href:W[2],title:W[3]}}},f1.table=function(q){var W=this.rules.block.table.exec(q);if(W){var o1={type:"table",header:G(W[1]).map(function(it){return{text:it}}),align:W[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:W[3]&&W[3].trim()?W[3].replace(/\n[ \t]*$/,"").split(`
|
|
126
|
+
`):[]};if(o1.header.length===o1.align.length){o1.raw=W[0];var n1=o1.align.length,w1,ee,ue,Ve;for(w1=0;w1<n1;w1++)/^ *-+: *$/.test(o1.align[w1])?o1.align[w1]="right":/^ *:-+: *$/.test(o1.align[w1])?o1.align[w1]="center":/^ *:-+ *$/.test(o1.align[w1])?o1.align[w1]="left":o1.align[w1]=null;for(n1=o1.rows.length,w1=0;w1<n1;w1++)o1.rows[w1]=G(o1.rows[w1],o1.header.length).map(function(it){return{text:it}});for(n1=o1.header.length,ee=0;ee<n1;ee++)o1.header[ee].tokens=this.lexer.inline(o1.header[ee].text);for(n1=o1.rows.length,ee=0;ee<n1;ee++)for(Ve=o1.rows[ee],ue=0;ue<Ve.length;ue++)Ve[ue].tokens=this.lexer.inline(Ve[ue].text);return o1}}},f1.lheading=function(q){var W=this.rules.block.lheading.exec(q);if(W)return{type:"heading",raw:W[0],depth:W[2].charAt(0)==="="?1:2,text:W[1],tokens:this.lexer.inline(W[1])}},f1.paragraph=function(q){var W=this.rules.block.paragraph.exec(q);if(W){var o1=W[1].charAt(W[1].length-1)===`
|
|
127
|
+
`?W[1].slice(0,-1):W[1];return{type:"paragraph",raw:W[0],text:o1,tokens:this.lexer.inline(o1)}}},f1.text=function(q){var W=this.rules.block.text.exec(q);if(W)return{type:"text",raw:W[0],text:W[0],tokens:this.lexer.inline(W[0])}},f1.escape=function(q){var W=this.rules.inline.escape.exec(q);if(W)return{type:"escape",raw:W[0],text:m(W[1])}},f1.tag=function(q){var W=this.rules.inline.tag.exec(q);if(W)return!this.lexer.state.inLink&&/^<a /i.test(W[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(W[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(W[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(W[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:W[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(W[0]):m(W[0]):W[0]}},f1.link=function(q){var W=this.rules.inline.link.exec(q);if(W){var o1=W[2].trim();if(!this.options.pedantic&&/^</.test(o1)){if(!/>$/.test(o1))return;var n1=e1(o1.slice(0,-1),"\\");if((o1.length-n1.length)%2===0)return}else{var w1=Q(W[2],"()");if(w1>-1){var ee=W[0].indexOf("!")===0?5:4,ue=ee+W[1].length+w1;W[2]=W[2].substring(0,w1),W[0]=W[0].substring(0,ue).trim(),W[3]=""}}var Ve=W[2],it="";if(this.options.pedantic){var Oe=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ve);Oe&&(Ve=Oe[1],it=Oe[3])}else it=W[3]?W[3].slice(1,-1):"";return Ve=Ve.trim(),/^</.test(Ve)&&(this.options.pedantic&&!/>$/.test(o1)?Ve=Ve.slice(1):Ve=Ve.slice(1,-1)),Y(W,{href:Ve&&Ve.replace(this.rules.inline._escapes,"$1"),title:it&&it.replace(this.rules.inline._escapes,"$1")},W[0],this.lexer)}},f1.reflink=function(q,W){var o1;if((o1=this.rules.inline.reflink.exec(q))||(o1=this.rules.inline.nolink.exec(q))){var n1=(o1[2]||o1[1]).replace(/\s+/g," ");if(n1=W[n1.toLowerCase()],!n1||!n1.href){var w1=o1[0].charAt(0);return{type:"text",raw:w1,text:w1}}return Y(o1,n1,o1[0],this.lexer)}},f1.emStrong=function(q,W,o1){o1===void 0&&(o1="");var n1=this.rules.inline.emStrong.lDelim.exec(q);if(n1&&!(n1[3]&&o1.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var w1=n1[1]||n1[2]||"";if(!w1||w1&&(o1===""||this.rules.inline.punctuation.exec(o1))){var ee=n1[0].length-1,ue,Ve,it=ee,Oe=0,$t=n1[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for($t.lastIndex=0,W=W.slice(-1*q.length+ee);(n1=$t.exec(W))!=null;)if(ue=n1[1]||n1[2]||n1[3]||n1[4]||n1[5]||n1[6],!!ue){if(Ve=ue.length,n1[3]||n1[4]){it+=Ve;continue}else if((n1[5]||n1[6])&&ee%3&&!((ee+Ve)%3)){Oe+=Ve;continue}if(it-=Ve,!(it>0)){if(Ve=Math.min(Ve,Ve+it+Oe),Math.min(ee,Ve)%2){var qt=q.slice(1,ee+n1.index+Ve);return{type:"em",raw:q.slice(0,ee+n1.index+Ve+1),text:qt,tokens:this.lexer.inlineTokens(qt)}}var Fe=q.slice(2,ee+n1.index+Ve-1);return{type:"strong",raw:q.slice(0,ee+n1.index+Ve+1),text:Fe,tokens:this.lexer.inlineTokens(Fe)}}}}}},f1.codespan=function(q){var W=this.rules.inline.code.exec(q);if(W){var o1=W[2].replace(/\n/g," "),n1=/[^ ]/.test(o1),w1=/^ /.test(o1)&&/ $/.test(o1);return n1&&w1&&(o1=o1.substring(1,o1.length-1)),o1=m(o1,!0),{type:"codespan",raw:W[0],text:o1}}},f1.br=function(q){var W=this.rules.inline.br.exec(q);if(W)return{type:"br",raw:W[0]}},f1.del=function(q){var W=this.rules.inline.del.exec(q);if(W)return{type:"del",raw:W[0],text:W[2],tokens:this.lexer.inlineTokens(W[2])}},f1.autolink=function(q,W){var o1=this.rules.inline.autolink.exec(q);if(o1){var n1,w1;return o1[2]==="@"?(n1=m(this.options.mangle?W(o1[1]):o1[1]),w1="mailto:"+n1):(n1=m(o1[1]),w1=n1),{type:"link",raw:o1[0],text:n1,href:w1,tokens:[{type:"text",raw:n1,text:n1}]}}},f1.url=function(q,W){var o1;if(o1=this.rules.inline.url.exec(q)){var n1,w1;if(o1[2]==="@")n1=m(this.options.mangle?W(o1[0]):o1[0]),w1="mailto:"+n1;else{var ee;do ee=o1[0],o1[0]=this.rules.inline._backpedal.exec(o1[0])[0];while(ee!==o1[0]);n1=m(o1[0]),o1[1]==="www."?w1="http://"+n1:w1=n1}return{type:"link",raw:o1[0],text:n1,href:w1,tokens:[{type:"text",raw:n1,text:n1}]}}},f1.inlineText=function(q,W){var o1=this.rules.inline.text.exec(q);if(o1){var n1;return this.lexer.state.inRawBlock?n1=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o1[0]):m(o1[0]):o1[0]:n1=m(this.options.smartypants?W(o1[0]):o1[0]),{type:"text",raw:o1[0],text:n1}}},b1}(),t1={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:R,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};t1._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,t1._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,t1.def=V(t1.def).replace("label",t1._label).replace("title",t1._title).getRegex(),t1.bullet=/(?:[*+-]|\d{1,9}[.)])/,t1.listItemStart=V(/^( *)(bull) */).replace("bull",t1.bullet).getRegex(),t1.list=V(t1.list).replace(/bull/g,t1.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+t1.def.source+")").getRegex(),t1._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",t1._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,t1.html=V(t1.html,"i").replace("comment",t1._comment).replace("tag",t1._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),t1.paragraph=V(t1._paragraph).replace("hr",t1.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t1._tag).getRegex(),t1.blockquote=V(t1.blockquote).replace("paragraph",t1.paragraph).getRegex(),t1.normal=B({},t1),t1.gfm=B({},t1.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),t1.gfm.table=V(t1.gfm.table).replace("hr",t1.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t1._tag).getRegex(),t1.gfm.paragraph=V(t1._paragraph).replace("hr",t1.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",t1.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",t1._tag).getRegex(),t1.pedantic=B({},t1.normal,{html:V(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",t1._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:R,paragraph:V(t1.normal._paragraph).replace("hr",t1.hr).replace("heading",` *#{1,6} *[^
|
|
128
128
|
]`).replace("lheading",t1.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var x1={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:R,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:R,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};x1._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",x1.punctuation=V(x1.punctuation).replace(/punctuation/g,x1._punctuation).getRegex(),x1.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,x1.escapedEmSt=/\\\*|\\_/g,x1._comment=V(t1._comment).replace("(?:-->|$)","-->").getRegex(),x1.emStrong.lDelim=V(x1.emStrong.lDelim).replace(/punct/g,x1._punctuation).getRegex(),x1.emStrong.rDelimAst=V(x1.emStrong.rDelimAst,"g").replace(/punct/g,x1._punctuation).getRegex(),x1.emStrong.rDelimUnd=V(x1.emStrong.rDelimUnd,"g").replace(/punct/g,x1._punctuation).getRegex(),x1._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,x1._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,x1._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,x1.autolink=V(x1.autolink).replace("scheme",x1._scheme).replace("email",x1._email).getRegex(),x1._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,x1.tag=V(x1.tag).replace("comment",x1._comment).replace("attribute",x1._attribute).getRegex(),x1._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,x1._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,x1._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,x1.link=V(x1.link).replace("label",x1._label).replace("href",x1._href).replace("title",x1._title).getRegex(),x1.reflink=V(x1.reflink).replace("label",x1._label).replace("ref",t1._label).getRegex(),x1.nolink=V(x1.nolink).replace("ref",t1._label).getRegex(),x1.reflinkSearch=V(x1.reflinkSearch,"g").replace("reflink",x1.reflink).replace("nolink",x1.nolink).getRegex(),x1.normal=B({},x1),x1.pedantic=B({},x1.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",x1._label).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",x1._label).getRegex()}),x1.gfm=B({},x1.normal,{escape:V(x1.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),x1.gfm.url=V(x1.gfm.url,"i").replace("email",x1.gfm._extended_email).getRegex(),x1.breaks=B({},x1.gfm,{br:V(x1.br).replace("{2,}","*").getRegex(),text:V(x1.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function ve(b1){return b1.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Vt(b1){var f1="",C1,q,W=b1.length;for(C1=0;C1<W;C1++)q=b1.charCodeAt(C1),Math.random()>.5&&(q="x"+q.toString(16)),f1+="&#"+q+";";return f1}var ke=function(){function b1(C1){this.tokens=[],this.tokens.links=Object.create(null),this.options=C1||e.defaults,this.options.tokenizer=this.options.tokenizer||new s1,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var q={block:t1.normal,inline:x1.normal};this.options.pedantic?(q.block=t1.pedantic,q.inline=x1.pedantic):this.options.gfm&&(q.block=t1.gfm,this.options.breaks?q.inline=x1.breaks:q.inline=x1.gfm),this.tokenizer.rules=q}b1.lex=function(q,W){var o1=new b1(W);return o1.lex(q)},b1.lexInline=function(q,W){var o1=new b1(W);return o1.inlineTokens(q)};var f1=b1.prototype;return f1.lex=function(q){q=q.replace(/\r\n|\r/g,`
|
|
129
|
-
`),this.blockTokens(q,this.tokens);for(var W;W=this.inlineQueue.shift();)this.inlineTokens(W.src,W.tokens);return this.tokens},f1.blockTokens=function(q,W){var o1=this;W===void 0&&(W=[]),this.options.pedantic?q=q.replace(/\t/g," ").replace(/^ +$/gm,""):q=q.replace(/^( *)(\t+)/gm,function(
|
|
129
|
+
`),this.blockTokens(q,this.tokens);for(var W;W=this.inlineQueue.shift();)this.inlineTokens(W.src,W.tokens);return this.tokens},f1.blockTokens=function(q,W){var o1=this;W===void 0&&(W=[]),this.options.pedantic?q=q.replace(/\t/g," ").replace(/^ +$/gm,""):q=q.replace(/^( *)(\t+)/gm,function(it,Oe,$t){return Oe+" ".repeat($t.length)});for(var n1,w1,ee,ue;q;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(it){return(n1=it.call({lexer:o1},q,W))?(q=q.substring(n1.raw.length),W.push(n1),!0):!1}))){if(n1=this.tokenizer.space(q)){q=q.substring(n1.raw.length),n1.raw.length===1&&W.length>0?W[W.length-1].raw+=`
|
|
130
130
|
`:W.push(n1);continue}if(n1=this.tokenizer.code(q)){q=q.substring(n1.raw.length),w1=W[W.length-1],w1&&(w1.type==="paragraph"||w1.type==="text")?(w1.raw+=`
|
|
131
131
|
`+n1.raw,w1.text+=`
|
|
132
132
|
`+n1.text,this.inlineQueue[this.inlineQueue.length-1].src=w1.text):W.push(n1);continue}if(n1=this.tokenizer.fences(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.heading(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.hr(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.blockquote(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.list(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.html(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.def(q)){q=q.substring(n1.raw.length),w1=W[W.length-1],w1&&(w1.type==="paragraph"||w1.type==="text")?(w1.raw+=`
|
|
133
133
|
`+n1.raw,w1.text+=`
|
|
134
|
-
`+n1.raw,this.inlineQueue[this.inlineQueue.length-1].src=w1.text):this.tokens.links[n1.tag]||(this.tokens.links[n1.tag]={href:n1.href,title:n1.title});continue}if(n1=this.tokenizer.table(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.lheading(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(ee=q,this.options.extensions&&this.options.extensions.startBlock&&function(){var
|
|
134
|
+
`+n1.raw,this.inlineQueue[this.inlineQueue.length-1].src=w1.text):this.tokens.links[n1.tag]||(this.tokens.links[n1.tag]={href:n1.href,title:n1.title});continue}if(n1=this.tokenizer.table(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.lheading(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(ee=q,this.options.extensions&&this.options.extensions.startBlock&&function(){var it=1/0,Oe=q.slice(1),$t=void 0;o1.options.extensions.startBlock.forEach(function(qt){$t=qt.call({lexer:this},Oe),typeof $t=="number"&&$t>=0&&(it=Math.min(it,$t))}),it<1/0&&it>=0&&(ee=q.substring(0,it+1))}(),this.state.top&&(n1=this.tokenizer.paragraph(ee))){w1=W[W.length-1],ue&&w1.type==="paragraph"?(w1.raw+=`
|
|
135
135
|
`+n1.raw,w1.text+=`
|
|
136
136
|
`+n1.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=w1.text):W.push(n1),ue=ee.length!==q.length,q=q.substring(n1.raw.length);continue}if(n1=this.tokenizer.text(q)){q=q.substring(n1.raw.length),w1=W[W.length-1],w1&&w1.type==="text"?(w1.raw+=`
|
|
137
137
|
`+n1.raw,w1.text+=`
|
|
138
|
-
`+n1.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=w1.text):W.push(n1);continue}if(q){var Ve="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(Ve);break}else throw new Error(Ve)}}return this.state.top=!0,W},f1.inline=function(q,W){return W===void 0&&(W=[]),this.inlineQueue.push({src:q,tokens:W}),W},f1.inlineTokens=function(q,W){var o1=this;W===void 0&&(W=[]);var n1,w1,ee,ue=q,Ve,
|
|
138
|
+
`+n1.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=w1.text):W.push(n1);continue}if(q){var Ve="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(Ve);break}else throw new Error(Ve)}}return this.state.top=!0,W},f1.inline=function(q,W){return W===void 0&&(W=[]),this.inlineQueue.push({src:q,tokens:W}),W},f1.inlineTokens=function(q,W){var o1=this;W===void 0&&(W=[]);var n1,w1,ee,ue=q,Ve,it,Oe;if(this.tokens.links){var $t=Object.keys(this.tokens.links);if($t.length>0)for(;(Ve=this.tokenizer.rules.inline.reflinkSearch.exec(ue))!=null;)$t.includes(Ve[0].slice(Ve[0].lastIndexOf("[")+1,-1))&&(ue=ue.slice(0,Ve.index)+"["+d1("a",Ve[0].length-2)+"]"+ue.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Ve=this.tokenizer.rules.inline.blockSkip.exec(ue))!=null;)ue=ue.slice(0,Ve.index)+"["+d1("a",Ve[0].length-2)+"]"+ue.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Ve=this.tokenizer.rules.inline.escapedEmSt.exec(ue))!=null;)ue=ue.slice(0,Ve.index)+"++"+ue.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;q;)if(it||(Oe=""),it=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(Fe){return(n1=Fe.call({lexer:o1},q,W))?(q=q.substring(n1.raw.length),W.push(n1),!0):!1}))){if(n1=this.tokenizer.escape(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.tag(q)){q=q.substring(n1.raw.length),w1=W[W.length-1],w1&&n1.type==="text"&&w1.type==="text"?(w1.raw+=n1.raw,w1.text+=n1.text):W.push(n1);continue}if(n1=this.tokenizer.link(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.reflink(q,this.tokens.links)){q=q.substring(n1.raw.length),w1=W[W.length-1],w1&&n1.type==="text"&&w1.type==="text"?(w1.raw+=n1.raw,w1.text+=n1.text):W.push(n1);continue}if(n1=this.tokenizer.emStrong(q,ue,Oe)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.codespan(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.br(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.del(q)){q=q.substring(n1.raw.length),W.push(n1);continue}if(n1=this.tokenizer.autolink(q,Vt)){q=q.substring(n1.raw.length),W.push(n1);continue}if(!this.state.inLink&&(n1=this.tokenizer.url(q,Vt))){q=q.substring(n1.raw.length),W.push(n1);continue}if(ee=q,this.options.extensions&&this.options.extensions.startInline&&function(){var Fe=1/0,vi=q.slice(1),Ki=void 0;o1.options.extensions.startInline.forEach(function(no){Ki=no.call({lexer:this},vi),typeof Ki=="number"&&Ki>=0&&(Fe=Math.min(Fe,Ki))}),Fe<1/0&&Fe>=0&&(ee=q.substring(0,Fe+1))}(),n1=this.tokenizer.inlineText(ee,ve)){q=q.substring(n1.raw.length),n1.raw.slice(-1)!=="_"&&(Oe=n1.raw.slice(-1)),it=!0,w1=W[W.length-1],w1&&w1.type==="text"?(w1.raw+=n1.raw,w1.text+=n1.text):W.push(n1);continue}if(q){var qt="Infinite loop on byte: "+q.charCodeAt(0);if(this.options.silent){console.error(qt);break}else throw new Error(qt)}}return W},i(b1,null,[{key:"rules",get:function(){return{block:t1,inline:x1}}}]),b1}(),$e=function(){function b1(C1){this.options=C1||e.defaults}var f1=b1.prototype;return f1.code=function(q,W,o1){var n1=(W||"").match(/\S*/)[0];if(this.options.highlight){var w1=this.options.highlight(q,n1);w1!=null&&w1!==q&&(o1=!0,q=w1)}return q=q.replace(/\n$/,"")+`
|
|
139
139
|
`,n1?'<pre><code class="'+this.options.langPrefix+m(n1,!0)+'">'+(o1?q:m(q,!0))+`</code></pre>
|
|
140
140
|
`:"<pre><code>"+(o1?q:m(q,!0))+`</code></pre>
|
|
141
141
|
`},f1.blockquote=function(q){return`<blockquote>
|
|
@@ -155,9 +155,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
155
155
|
`},f1.tablerow=function(q){return`<tr>
|
|
156
156
|
`+q+`</tr>
|
|
157
157
|
`},f1.tablecell=function(q,W){var o1=W.header?"th":"td",n1=W.align?"<"+o1+' align="'+W.align+'">':"<"+o1+">";return n1+q+("</"+o1+`>
|
|
158
|
-
`)},f1.strong=function(q){return"<strong>"+q+"</strong>"},f1.em=function(q){return"<em>"+q+"</em>"},f1.codespan=function(q){return"<code>"+q+"</code>"},f1.br=function(){return this.options.xhtml?"<br/>":"<br>"},f1.del=function(q){return"<del>"+q+"</del>"},f1.link=function(q,W,o1){if(q=M(this.options.sanitize,this.options.baseUrl,q),q===null)return o1;var n1='<a href="'+m(q)+'"';return W&&(n1+=' title="'+W+'"'),n1+=">"+o1+"</a>",n1},f1.image=function(q,W,o1){if(q=M(this.options.sanitize,this.options.baseUrl,q),q===null)return o1;var n1='<img src="'+q+'" alt="'+o1+'"';return W&&(n1+=' title="'+W+'"'),n1+=this.options.xhtml?"/>":">",n1},f1.text=function(q){return q},b1}(),Ci=function(){function b1(){}var f1=b1.prototype;return f1.strong=function(q){return q},f1.em=function(q){return q},f1.codespan=function(q){return q},f1.del=function(q){return q},f1.html=function(q){return q},f1.text=function(q){return q},f1.link=function(q,W,o1){return""+o1},f1.image=function(q,W,o1){return""+o1},f1.br=function(){return""},b1}(),rn=function(){function b1(){this.seen={}}var f1=b1.prototype;return f1.serialize=function(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},f1.getNextSafeSlug=function(q,W){var o1=q,n1=0;if(this.seen.hasOwnProperty(o1)){n1=this.seen[q];do n1++,o1=q+"-"+n1;while(this.seen.hasOwnProperty(o1))}return W||(this.seen[q]=n1,this.seen[o1]=0),o1},f1.slug=function(q,W){W===void 0&&(W={});var o1=this.serialize(q);return this.getNextSafeSlug(o1,W.dryrun)},b1}(),mn=function(){function b1(C1){this.options=C1||e.defaults,this.options.renderer=this.options.renderer||new $e,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ci,this.slugger=new rn}b1.parse=function(q,W){var o1=new b1(W);return o1.parse(q)},b1.parseInline=function(q,W){var o1=new b1(W);return o1.parseInline(q)};var f1=b1.prototype;return f1.parse=function(q,W){W===void 0&&(W=!0);var o1="",n1,w1,ee,ue,Ve,
|
|
159
|
-
`+(Fe.tokens?this.parseInline(Fe.tokens):Fe.text);o1+=W?this.renderer.paragraph(qt):qt;continue}default:{var na='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(na);return}else throw new Error(na)}}}return o1},f1.parseInline=function(q,W){W=W||this.renderer;var o1="",n1,w1,ee,ue=q.length;for(n1=0;n1<ue;n1++){if(w1=q[n1],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[w1.type]&&(ee=this.options.extensions.renderers[w1.type].call({parser:this},w1),ee!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(w1.type))){o1+=ee||"";continue}switch(w1.type){case"escape":{o1+=W.text(w1.text);break}case"html":{o1+=W.html(w1.text);break}case"link":{o1+=W.link(w1.href,w1.title,this.parseInline(w1.tokens,W));break}case"image":{o1+=W.image(w1.href,w1.title,w1.text);break}case"strong":{o1+=W.strong(this.parseInline(w1.tokens,W));break}case"em":{o1+=W.em(this.parseInline(w1.tokens,W));break}case"codespan":{o1+=W.codespan(w1.text);break}case"br":{o1+=W.br();break}case"del":{o1+=W.del(this.parseInline(w1.tokens,W));break}case"text":{o1+=W.text(w1.text);break}default:{var Ve='Token with "'+w1.type+'" type was not found.';if(this.options.silent){console.error(Ve);return}else throw new Error(Ve)}}}return o1},b1}();function fe(b1,f1,C1){if(typeof b1>"u"||b1===null)throw new Error("marked(): input parameter is undefined or null");if(typeof b1!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(b1)+", string expected");if(typeof f1=="function"&&(C1=f1,f1=null),f1=B({},fe.defaults,f1||{}),X(f1),C1){var q=f1.highlight,W;try{W=ke.lex(b1,f1)}catch(ue){return C1(ue)}var o1=function(Ve){var
|
|
160
|
-
Please report this to https://github.com/markedjs/marked.`,f1.silent)return"<p>An error occurred:</p><pre>"+m(ue.message+"",!0)+"</pre>";throw ue}try{var ee=ke.lex(b1,f1);if(f1.walkTokens){if(f1.async)return Promise.all(fe.walkTokens(ee,f1.walkTokens)).then(function(){return mn.parse(ee,f1)}).catch(w1);fe.walkTokens(ee,f1.walkTokens)}return mn.parse(ee,f1)}catch(ue){w1(ue)}}fe.options=fe.setOptions=function(b1){return B(fe.defaults,b1),l(fe.defaults),fe},fe.getDefaults=a,fe.defaults=e.defaults,fe.use=function(){for(var b1=arguments.length,f1=new Array(b1),C1=0;C1<b1;C1++)f1[C1]=arguments[C1];var q=B.apply(void 0,[{}].concat(f1)),W=fe.defaults.extensions||{renderers:{},childTokens:{}},o1;f1.forEach(function(n1){if(n1.extensions&&(o1=!0,n1.extensions.forEach(function(ee){if(!ee.name)throw new Error("extension name required");if(ee.renderer){var ue=W.renderers?W.renderers[ee.name]:null;ue?W.renderers[ee.name]=function(){for(var Ve=arguments.length,
|
|
158
|
+
`)},f1.strong=function(q){return"<strong>"+q+"</strong>"},f1.em=function(q){return"<em>"+q+"</em>"},f1.codespan=function(q){return"<code>"+q+"</code>"},f1.br=function(){return this.options.xhtml?"<br/>":"<br>"},f1.del=function(q){return"<del>"+q+"</del>"},f1.link=function(q,W,o1){if(q=M(this.options.sanitize,this.options.baseUrl,q),q===null)return o1;var n1='<a href="'+m(q)+'"';return W&&(n1+=' title="'+W+'"'),n1+=">"+o1+"</a>",n1},f1.image=function(q,W,o1){if(q=M(this.options.sanitize,this.options.baseUrl,q),q===null)return o1;var n1='<img src="'+q+'" alt="'+o1+'"';return W&&(n1+=' title="'+W+'"'),n1+=this.options.xhtml?"/>":">",n1},f1.text=function(q){return q},b1}(),Ci=function(){function b1(){}var f1=b1.prototype;return f1.strong=function(q){return q},f1.em=function(q){return q},f1.codespan=function(q){return q},f1.del=function(q){return q},f1.html=function(q){return q},f1.text=function(q){return q},f1.link=function(q,W,o1){return""+o1},f1.image=function(q,W,o1){return""+o1},f1.br=function(){return""},b1}(),rn=function(){function b1(){this.seen={}}var f1=b1.prototype;return f1.serialize=function(q){return q.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},f1.getNextSafeSlug=function(q,W){var o1=q,n1=0;if(this.seen.hasOwnProperty(o1)){n1=this.seen[q];do n1++,o1=q+"-"+n1;while(this.seen.hasOwnProperty(o1))}return W||(this.seen[q]=n1,this.seen[o1]=0),o1},f1.slug=function(q,W){W===void 0&&(W={});var o1=this.serialize(q);return this.getNextSafeSlug(o1,W.dryrun)},b1}(),mn=function(){function b1(C1){this.options=C1||e.defaults,this.options.renderer=this.options.renderer||new $e,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ci,this.slugger=new rn}b1.parse=function(q,W){var o1=new b1(W);return o1.parse(q)},b1.parseInline=function(q,W){var o1=new b1(W);return o1.parseInline(q)};var f1=b1.prototype;return f1.parse=function(q,W){W===void 0&&(W=!0);var o1="",n1,w1,ee,ue,Ve,it,Oe,$t,qt,Fe,vi,Ki,no,Kt,Pi,y2,Ea,ro,On,tr=q.length;for(n1=0;n1<tr;n1++){if(Fe=q[n1],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[Fe.type]&&(On=this.options.extensions.renderers[Fe.type].call({parser:this},Fe),On!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(Fe.type))){o1+=On||"";continue}switch(Fe.type){case"space":continue;case"hr":{o1+=this.renderer.hr();continue}case"heading":{o1+=this.renderer.heading(this.parseInline(Fe.tokens),Fe.depth,g(this.parseInline(Fe.tokens,this.textRenderer)),this.slugger);continue}case"code":{o1+=this.renderer.code(Fe.text,Fe.lang,Fe.escaped);continue}case"table":{for($t="",Oe="",ue=Fe.header.length,w1=0;w1<ue;w1++)Oe+=this.renderer.tablecell(this.parseInline(Fe.header[w1].tokens),{header:!0,align:Fe.align[w1]});for($t+=this.renderer.tablerow(Oe),qt="",ue=Fe.rows.length,w1=0;w1<ue;w1++){for(it=Fe.rows[w1],Oe="",Ve=it.length,ee=0;ee<Ve;ee++)Oe+=this.renderer.tablecell(this.parseInline(it[ee].tokens),{header:!1,align:Fe.align[ee]});qt+=this.renderer.tablerow(Oe)}o1+=this.renderer.table($t,qt);continue}case"blockquote":{qt=this.parse(Fe.tokens),o1+=this.renderer.blockquote(qt);continue}case"list":{for(vi=Fe.ordered,Ki=Fe.start,no=Fe.loose,ue=Fe.items.length,qt="",w1=0;w1<ue;w1++)Pi=Fe.items[w1],y2=Pi.checked,Ea=Pi.task,Kt="",Pi.task&&(ro=this.renderer.checkbox(y2),no?Pi.tokens.length>0&&Pi.tokens[0].type==="paragraph"?(Pi.tokens[0].text=ro+" "+Pi.tokens[0].text,Pi.tokens[0].tokens&&Pi.tokens[0].tokens.length>0&&Pi.tokens[0].tokens[0].type==="text"&&(Pi.tokens[0].tokens[0].text=ro+" "+Pi.tokens[0].tokens[0].text)):Pi.tokens.unshift({type:"text",text:ro}):Kt+=ro),Kt+=this.parse(Pi.tokens,no),qt+=this.renderer.listitem(Kt,Ea,y2);o1+=this.renderer.list(qt,vi,Ki);continue}case"html":{o1+=this.renderer.html(Fe.text);continue}case"paragraph":{o1+=this.renderer.paragraph(this.parseInline(Fe.tokens));continue}case"text":{for(qt=Fe.tokens?this.parseInline(Fe.tokens):Fe.text;n1+1<tr&&q[n1+1].type==="text";)Fe=q[++n1],qt+=`
|
|
159
|
+
`+(Fe.tokens?this.parseInline(Fe.tokens):Fe.text);o1+=W?this.renderer.paragraph(qt):qt;continue}default:{var na='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(na);return}else throw new Error(na)}}}return o1},f1.parseInline=function(q,W){W=W||this.renderer;var o1="",n1,w1,ee,ue=q.length;for(n1=0;n1<ue;n1++){if(w1=q[n1],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[w1.type]&&(ee=this.options.extensions.renderers[w1.type].call({parser:this},w1),ee!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(w1.type))){o1+=ee||"";continue}switch(w1.type){case"escape":{o1+=W.text(w1.text);break}case"html":{o1+=W.html(w1.text);break}case"link":{o1+=W.link(w1.href,w1.title,this.parseInline(w1.tokens,W));break}case"image":{o1+=W.image(w1.href,w1.title,w1.text);break}case"strong":{o1+=W.strong(this.parseInline(w1.tokens,W));break}case"em":{o1+=W.em(this.parseInline(w1.tokens,W));break}case"codespan":{o1+=W.codespan(w1.text);break}case"br":{o1+=W.br();break}case"del":{o1+=W.del(this.parseInline(w1.tokens,W));break}case"text":{o1+=W.text(w1.text);break}default:{var Ve='Token with "'+w1.type+'" type was not found.';if(this.options.silent){console.error(Ve);return}else throw new Error(Ve)}}}return o1},b1}();function fe(b1,f1,C1){if(typeof b1>"u"||b1===null)throw new Error("marked(): input parameter is undefined or null");if(typeof b1!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(b1)+", string expected");if(typeof f1=="function"&&(C1=f1,f1=null),f1=B({},fe.defaults,f1||{}),X(f1),C1){var q=f1.highlight,W;try{W=ke.lex(b1,f1)}catch(ue){return C1(ue)}var o1=function(Ve){var it;if(!Ve)try{f1.walkTokens&&fe.walkTokens(W,f1.walkTokens),it=mn.parse(W,f1)}catch(Oe){Ve=Oe}return f1.highlight=q,Ve?C1(Ve):C1(null,it)};if(!q||q.length<3||(delete f1.highlight,!W.length))return o1();var n1=0;fe.walkTokens(W,function(ue){ue.type==="code"&&(n1++,setTimeout(function(){q(ue.text,ue.lang,function(Ve,it){if(Ve)return o1(Ve);it!=null&&it!==ue.text&&(ue.text=it,ue.escaped=!0),n1--,n1===0&&o1()})},0))}),n1===0&&o1();return}function w1(ue){if(ue.message+=`
|
|
160
|
+
Please report this to https://github.com/markedjs/marked.`,f1.silent)return"<p>An error occurred:</p><pre>"+m(ue.message+"",!0)+"</pre>";throw ue}try{var ee=ke.lex(b1,f1);if(f1.walkTokens){if(f1.async)return Promise.all(fe.walkTokens(ee,f1.walkTokens)).then(function(){return mn.parse(ee,f1)}).catch(w1);fe.walkTokens(ee,f1.walkTokens)}return mn.parse(ee,f1)}catch(ue){w1(ue)}}fe.options=fe.setOptions=function(b1){return B(fe.defaults,b1),l(fe.defaults),fe},fe.getDefaults=a,fe.defaults=e.defaults,fe.use=function(){for(var b1=arguments.length,f1=new Array(b1),C1=0;C1<b1;C1++)f1[C1]=arguments[C1];var q=B.apply(void 0,[{}].concat(f1)),W=fe.defaults.extensions||{renderers:{},childTokens:{}},o1;f1.forEach(function(n1){if(n1.extensions&&(o1=!0,n1.extensions.forEach(function(ee){if(!ee.name)throw new Error("extension name required");if(ee.renderer){var ue=W.renderers?W.renderers[ee.name]:null;ue?W.renderers[ee.name]=function(){for(var Ve=arguments.length,it=new Array(Ve),Oe=0;Oe<Ve;Oe++)it[Oe]=arguments[Oe];var $t=ee.renderer.apply(this,it);return $t===!1&&($t=ue.apply(this,it)),$t}:W.renderers[ee.name]=ee.renderer}if(ee.tokenizer){if(!ee.level||ee.level!=="block"&&ee.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");W[ee.level]?W[ee.level].unshift(ee.tokenizer):W[ee.level]=[ee.tokenizer],ee.start&&(ee.level==="block"?W.startBlock?W.startBlock.push(ee.start):W.startBlock=[ee.start]:ee.level==="inline"&&(W.startInline?W.startInline.push(ee.start):W.startInline=[ee.start]))}ee.childTokens&&(W.childTokens[ee.name]=ee.childTokens)})),n1.renderer&&function(){var ee=fe.defaults.renderer||new $e,ue=function(Oe){var $t=ee[Oe];ee[Oe]=function(){for(var qt=arguments.length,Fe=new Array(qt),vi=0;vi<qt;vi++)Fe[vi]=arguments[vi];var Ki=n1.renderer[Oe].apply(ee,Fe);return Ki===!1&&(Ki=$t.apply(ee,Fe)),Ki}};for(var Ve in n1.renderer)ue(Ve);q.renderer=ee}(),n1.tokenizer&&function(){var ee=fe.defaults.tokenizer||new s1,ue=function(Oe){var $t=ee[Oe];ee[Oe]=function(){for(var qt=arguments.length,Fe=new Array(qt),vi=0;vi<qt;vi++)Fe[vi]=arguments[vi];var Ki=n1.tokenizer[Oe].apply(ee,Fe);return Ki===!1&&(Ki=$t.apply(ee,Fe)),Ki}};for(var Ve in n1.tokenizer)ue(Ve);q.tokenizer=ee}(),n1.walkTokens){var w1=fe.defaults.walkTokens;q.walkTokens=function(ee){var ue=[];return ue.push(n1.walkTokens.call(this,ee)),w1&&(ue=ue.concat(w1.call(this,ee))),ue}}o1&&(q.extensions=W),fe.setOptions(q)})},fe.walkTokens=function(b1,f1){for(var C1=[],q=function(){var w1=o1.value;switch(C1=C1.concat(f1.call(fe,w1)),w1.type){case"table":{for(var ee=s(w1.header),ue;!(ue=ee()).done;){var Ve=ue.value;C1=C1.concat(fe.walkTokens(Ve.tokens,f1))}for(var it=s(w1.rows),Oe;!(Oe=it()).done;)for(var $t=Oe.value,qt=s($t),Fe;!(Fe=qt()).done;){var vi=Fe.value;C1=C1.concat(fe.walkTokens(vi.tokens,f1))}break}case"list":{C1=C1.concat(fe.walkTokens(w1.items,f1));break}default:fe.defaults.extensions&&fe.defaults.extensions.childTokens&&fe.defaults.extensions.childTokens[w1.type]?fe.defaults.extensions.childTokens[w1.type].forEach(function(Ki){C1=C1.concat(fe.walkTokens(w1[Ki],f1))}):w1.tokens&&(C1=C1.concat(fe.walkTokens(w1.tokens,f1)))}},W=s(b1),o1;!(o1=W()).done;)q();return C1},fe.parseInline=function(b1,f1){if(typeof b1>"u"||b1===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof b1!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(b1)+", string expected");f1=B({},fe.defaults,f1||{}),X(f1);try{var C1=ke.lexInline(b1,f1);return f1.walkTokens&&fe.walkTokens(C1,f1.walkTokens),mn.parseInline(C1,f1)}catch(q){if(q.message+=`
|
|
161
161
|
Please report this to https://github.com/markedjs/marked.`,f1.silent)return"<p>An error occurred:</p><pre>"+m(q.message+"",!0)+"</pre>";throw q}},fe.Parser=mn,fe.parser=mn.parse,fe.Renderer=$e,fe.TextRenderer=Ci,fe.Lexer=ke,fe.lexer=ke.lex,fe.Tokenizer=s1,fe.Slugger=rn,fe.parse=fe;var qi=fe.options,Dr=fe.setOptions,jr=fe.use,Rt=fe.walkTokens,gr=fe.parseInline,vo=fe,Mi=mn.parse,hr=ke.lex;e.Lexer=ke,e.Parser=mn,e.Renderer=$e,e.Slugger=rn,e.TextRenderer=Ci,e.Tokenizer=s1,e.getDefaults=a,e.lexer=hr,e.marked=fe,e.options=qi,e.parse=vo,e.parseInline=gr,e.parser=Mi,e.setOptions=Dr,e.use=jr,e.walkTokens=Rt,Object.defineProperty(e,"__esModule",{value:!0})})})();obe=Ws.Lexer||exports.Lexer,sbe=Ws.Parser||exports.Parser,abe=Ws.Renderer||exports.Renderer,lbe=Ws.Slugger||exports.Slugger,dbe=Ws.TextRenderer||exports.TextRenderer,cbe=Ws.Tokenizer||exports.Tokenizer,ube=Ws.getDefaults||exports.getDefaults,hbe=Ws.lexer||exports.lexer,$3=Ws.marked||exports.marked,Cbe=Ws.options||exports.options,pbe=Ws.parse||exports.parse,mbe=Ws.parseInline||exports.parseInline,fbe=Ws.parser||exports.parser,gbe=Ws.setOptions||exports.setOptions,Lbe=Ws.use||exports.use,Hbe=Ws.walkTokens||exports.walkTokens});function LH1(n){return JSON.stringify(n,XW1)}function $_(n){let e=JSON.parse(n);return e=je1(e),e}function XW1(n,e){return e instanceof RegExp?{$mid:2,source:e.source,flags:e.flags}:e}function je1(n,e=0){if(!n||e>200)return n;if(typeof n=="object"){switch(n.$mid){case 1:return X1.revive(n);case 2:return new RegExp(n.source,n.flags);case 16:return new Date(n.source)}if(n instanceof Pm||n instanceof Uint8Array)return n;if(Array.isArray(n))for(let t=0;t<n.length;++t)n[t]=je1(n[t],e+1);else for(let t in n)Object.hasOwnProperty.call(n,t)&&(n[t]=je1(n[t],e+1))}return n}var hP=k(()=>{Fm();pi()});function Z6(n,e={},t={}){var i,r;let o=new i1,s=!1,a=cP(e),l=function(g){let L;try{L=$_(decodeURIComponent(g))}catch{}return L?(L=Qk(L,V=>{if(n.uris&&n.uris[V])return X1.revive(n.uris[V])}),encodeURIComponent(JSON.stringify(L))):g},d=function(g,L){let V=n.uris&&n.uris[g],_=X1.revive(V);return L?g.startsWith(je.data+":")?g:(_||(_=X1.parse(g)),sT.uriToBrowserUri(_).toString(!0)):!_||X1.parse(g).toString()===_.toString()?g:(_.query&&(_=_.with({query:l(_.query)})),_.toString())},c=new $3.Renderer;c.image=$e1.image,c.link=$e1.link,c.paragraph=$e1.paragraph;let u=[],h=[];if(e.codeBlockRendererSync?c.code=(g,L)=>{let V=U_.nextId(),_=e.codeBlockRendererSync(HH1(L),g);return h.push([V,_]),`<div class="code" data-code="${V}">${Eu(g)}</div>`}:e.codeBlockRenderer&&(c.code=(g,L)=>{let V=U_.nextId(),_=e.codeBlockRenderer(HH1(L),g);return u.push(_.then(b=>[V,b])),`<div class="code" data-code="${V}">${Eu(g)}</div>`}),e.actionHandler){let g=function(_){let b=_.target;if(!(b.tagName!=="A"&&(b=b.parentElement,!b||b.tagName!=="A")))try{let M=b.dataset.href;M&&(n.baseUri&&(M=qe1(X1.from(n.baseUri),M)),e.actionHandler.callback(M,_))}catch(M){ae(M)}finally{_.preventDefault()}},L=e.actionHandler.disposables.add(new ot(a,"click")),V=e.actionHandler.disposables.add(new ot(a,"auxclick"));e.actionHandler.disposables.add(F1.any(L.event,V.event)(_=>{let b=new Fr(_);!b.leftButton&&!b.middleButton||g(b)})),e.actionHandler.disposables.add(a1(a,"keydown",_=>{let b=new wt(_);!b.equals(10)&&!b.equals(3)||g(b)}))}n.supportHtml||(t.sanitizer=g=>(n.isTrusted?g.match(/^(<span[^>]+>)|(<\/\s*span>)$/):void 0)?g:"",t.sanitize=!0,t.silent=!0),t.renderer=c;let C=(i=n.value)!==null&&i!==void 0?i:"";C.length>1e5&&(C=`${C.substr(0,1e5)}\u2026`),n.supportThemeIcons&&(C=lH1(C));let p;if(e.fillInIncompleteTokens){let g=Object.assign(Object.assign({},$3.defaults),t),L=$3.lexer(C,g),V=oU1(L);p=$3.parser(V,g)}else p=$3.parse(C,t);n.supportThemeIcons&&(p=j5(p).map(L=>typeof L=="string"?L:L.outerHTML).join(""));let H=new DOMParser().parseFromString(Ke1(n,p),"text/html");if(H.body.querySelectorAll("img").forEach(g=>{let L=g.getAttribute("src");if(L){let V=L;try{n.baseUri&&(V=qe1(X1.from(n.baseUri),V))}catch{}g.src=d(V,!0)}}),H.body.querySelectorAll("a").forEach(g=>{let L=g.getAttribute("href");if(g.setAttribute("href",""),!L||/^data:|javascript:/i.test(L)||/^command:/i.test(L)&&!n.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(L))g.replaceWith(...g.childNodes);else{let V=d(L,!1);n.baseUri&&(V=qe1(X1.from(n.baseUri),L)),g.dataset.href=V}}),a.innerHTML=Ke1(n,H.body.innerHTML),u.length>0)Promise.all(u).then(g=>{var L,V;if(s)return;let _=new Map(g),b=a.querySelectorAll("div[data-code]");for(let M of b){let A=_.get((L=M.dataset.code)!==null&&L!==void 0?L:"");A&&$n(M,A)}(V=e.asyncRenderCallback)===null||V===void 0||V.call(e)});else if(h.length>0){let g=new Map(h),L=a.querySelectorAll("div[data-code]");for(let V of L){let _=g.get((r=V.dataset.code)!==null&&r!==void 0?r:"");_&&$n(V,_)}}if(e.asyncRenderCallback)for(let g of a.getElementsByTagName("img")){let L=o.add(a1(g,"load",()=>{L.dispose(),e.asyncRenderCallback()}))}return{element:a,dispose:()=>{s=!0,o.dispose()}}}function HH1(n){if(!n)return"";let e=n.split(/[\s+|:|,|\{|\?]/,1);return e.length?e[0]:n}function qe1(n,e){return/^\w[\w\d+.-]*:/.test(e)?e:n.path.endsWith("/")?h11(n,e).toString():h11(w6(n),e).toString()}function Ke1(n,e){let{config:t,allowedSchemes:i}=eU1(n);iT("uponSanitizeAttribute",(o,s)=>{if(s.attrName==="style"||s.attrName==="class"){if(o.tagName==="SPAN"){if(s.attrName==="style"){s.keepAttr=/^(color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?(background-color\:(#[0-9a-fA-F]+|var\(--vscode(-[a-zA-Z]+)+\));)?$/.test(s.attrValue);return}else if(s.attrName==="class"){s.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(s.attrValue);return}}s.keepAttr=!1;return}});let r=xC1(i);try{return tT(e,Object.assign(Object.assign({},t),{RETURN_TRUSTED_TYPE:!0}))}finally{nT("uponSanitizeAttribute"),r.dispose()}}function eU1(n){let e=[je.http,je.https,je.mailto,je.data,je.file,je.vscodeFileResource,je.vscodeRemote,je.vscodeRemoteResource];return n.isTrusted&&e.push(je.command),{config:{ALLOWED_TAGS:[...bC1],ALLOWED_ATTR:JW1,ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:e}}function VH1(n){return typeof n=="string"?n:tU1(n)}function tU1(n){var e;let t=(e=n.value)!==null&&e!==void 0?e:"";t.length>1e5&&(t=`${t.substr(0,1e5)}\u2026`);let i=$3.parse(t,{renderer:nU1.value}).replace(/&(#\d+|[a-zA-Z]+);/g,r=>{var o;return(o=iU1.get(r))!==null&&o!==void 0?o:r});return Ke1({isTrusted:!1},i).toString()}function Ge1(n){let e="";return n.forEach(t=>{e+=t.raw}),e}function rU1(n){for(let e of n.tokens)if(e.type==="text"){let t=e.raw.split(`
|
|
162
162
|
`),i=t[t.length-1];if(i.includes("`"))return aU1(n);if(i.includes("**"))return hU1(n);if(i.match(/\*\w/))return lU1(n);if(i.match(/(^|\s)__\w/))return CU1(n);if(i.match(/(^|\s)_\w/))return dU1(n);if(i.match(/(^|\s)\[.*\]\(\w*/))return cU1(n);if(i.match(/(^|\s)\[\w/))return uU1(n)}}function oU1(n){let e,t;for(e=0;e<n.length;e++){let i=n[e];if(i.type==="paragraph"&&i.raw.match(/(\n|^)```/)){t=sU1(n.slice(e));break}if(i.type==="paragraph"&&i.raw.match(/(\n|^)\|/)){t=pU1(n.slice(e));break}if(e===n.length-1&&i.type==="paragraph"){let r=rU1(i);if(r){t=[r];break}}}if(t){let i=[...n.slice(0,e),...t];return i.links=n.links,i}return n}function sU1(n){let e=Ge1(n);return $3.lexer(e+"\n```")}function aU1(n){return Kh(n,"`")}function lU1(n){return Kh(n,"*")}function dU1(n){return Kh(n,"_")}function cU1(n){return Kh(n,")")}function uU1(n){return Kh(n,"](about:blank)")}function hU1(n){return Kh(n,"**")}function CU1(n){return Kh(n,"__")}function Kh(n,e){let t=Ge1(Array.isArray(n)?n:[n]);return $3.lexer(t+e)[0]}function pU1(n){let e=Ge1(n),t=e.split(`
|
|
163
163
|
`),i,r=!1;for(let o=0;o<t.length;o++){let s=t[o].trim();if(typeof i>"u"&&s.match(/^\s*\|/)){let a=s.match(/(\|[^\|]+)(?=\||$)/g);a&&(i=a.length)}else if(typeof i=="number")if(s.match(/^\s*\|/)){if(o!==t.length-1)return;r=!0}else return}if(typeof i=="number"&&i>0){let o=r?t.slice(0,-1).join(`
|
|
@@ -988,7 +988,7 @@ ${lk1(t)}`;return e}};Ko1=class extends Bl{signatureHelpTriggerCharacters=["(","
|
|
|
988
988
|
|
|
989
989
|
`+l:"")}]}}},ck1=class extends Bl{async provideDocumentHighlights(n,e,t){let i=n.uri,r=n.getOffsetAt(e),o=await this._worker(i);if(n.isDisposed())return;let s=await o.getDocumentHighlights(i.toString(),r,[i.toString()]);if(!(!s||n.isDisposed()))return s.flatMap(a=>a.highlightSpans.map(l=>({range:this._textSpanToRange(n,l.textSpan),kind:l.kind==="writtenReference"?Ge.languages.DocumentHighlightKind.Write:Ge.languages.DocumentHighlightKind.Text})))}},uk1=class extends Bl{constructor(n,e){super(e),this._libFiles=n}async provideDefinition(n,e,t){let i=n.uri,r=n.getOffsetAt(e),o=await this._worker(i);if(n.isDisposed())return;let s=await o.getDefinitionAtPosition(i.toString(),r);if(!s||n.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(s.map(l=>Ge.Uri.parse(l.fileName))),n.isDisposed()))return;let a=[];for(let l of s){let d=this._libFiles.getOrCreateModel(l.fileName);d&&a.push({uri:d.uri,range:this._textSpanToRange(d,l.textSpan)})}return a}},hk1=class extends Bl{constructor(n,e){super(e),this._libFiles=n}async provideReferences(n,e,t,i){let r=n.uri,o=n.getOffsetAt(e),s=await this._worker(r);if(n.isDisposed())return;let a=await s.getReferencesAtPosition(r.toString(),o);if(!a||n.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(a.map(d=>Ge.Uri.parse(d.fileName))),n.isDisposed()))return;let l=[];for(let d of a){let c=this._libFiles.getOrCreateModel(d.fileName);c&&l.push({uri:c.uri,range:this._textSpanToRange(c,d.textSpan)})}return l}},Ck1=class extends Bl{async provideDocumentSymbols(n,e){let t=n.uri,i=await this._worker(t);if(n.isDisposed())return;let r=await i.getNavigationTree(t.toString());if(!r||n.isDisposed())return;let o=(a,l)=>({name:a.text,detail:"",kind:l5[a.kind]||Ge.languages.SymbolKind.Variable,range:this._textSpanToRange(n,a.spans[0]),selectionRange:this._textSpanToRange(n,a.spans[0]),tags:[],children:a.childItems?.map(c=>o(c,a.text)),containerName:l});return r.childItems?r.childItems.map(a=>o(a)):[]}},Lt=class{};ur(Lt,"unknown","");ur(Lt,"keyword","keyword");ur(Lt,"script","script");ur(Lt,"module","module");ur(Lt,"class","class");ur(Lt,"interface","interface");ur(Lt,"type","type");ur(Lt,"enum","enum");ur(Lt,"variable","var");ur(Lt,"localVariable","local var");ur(Lt,"function","function");ur(Lt,"localFunction","local function");ur(Lt,"memberFunction","method");ur(Lt,"memberGetAccessor","getter");ur(Lt,"memberSetAccessor","setter");ur(Lt,"memberVariable","property");ur(Lt,"constructorImplementation","constructor");ur(Lt,"callSignature","call");ur(Lt,"indexSignature","index");ur(Lt,"constructSignature","construct");ur(Lt,"parameter","parameter");ur(Lt,"typeParameter","type parameter");ur(Lt,"primitiveType","primitive type");ur(Lt,"label","label");ur(Lt,"alias","alias");ur(Lt,"const","const");ur(Lt,"let","let");ur(Lt,"warning","warning");l5=Object.create(null);l5[Lt.module]=Ge.languages.SymbolKind.Module;l5[Lt.class]=Ge.languages.SymbolKind.Class;l5[Lt.enum]=Ge.languages.SymbolKind.Enum;l5[Lt.interface]=Ge.languages.SymbolKind.Interface;l5[Lt.memberFunction]=Ge.languages.SymbolKind.Method;l5[Lt.memberVariable]=Ge.languages.SymbolKind.Property;l5[Lt.memberGetAccessor]=Ge.languages.SymbolKind.Property;l5[Lt.memberSetAccessor]=Ge.languages.SymbolKind.Property;l5[Lt.variable]=Ge.languages.SymbolKind.Variable;l5[Lt.const]=Ge.languages.SymbolKind.Variable;l5[Lt.localVariable]=Ge.languages.SymbolKind.Variable;l5[Lt.variable]=Ge.languages.SymbolKind.Variable;l5[Lt.function]=Ge.languages.SymbolKind.Function;l5[Lt.localFunction]=Ge.languages.SymbolKind.Function;DC=class extends Bl{static _convertOptions(n){return{ConvertTabsToSpaces:n.insertSpaces,TabSize:n.tabSize,IndentSize:n.tabSize,IndentStyle:2,NewLineCharacter:`
|
|
990
990
|
`,InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(n,e){return{text:e.newText,range:this._textSpanToRange(n,e.span)}}},pk1=class extends DC{canFormatMultipleRanges=!1;async provideDocumentRangeFormattingEdits(n,e,t,i){let r=n.uri,o=n.getOffsetAt({lineNumber:e.startLineNumber,column:e.startColumn}),s=n.getOffsetAt({lineNumber:e.endLineNumber,column:e.endColumn}),a=await this._worker(r);if(n.isDisposed())return;let l=await a.getFormattingEditsForRange(r.toString(),o,s,DC._convertOptions(t));if(!(!l||n.isDisposed()))return l.map(d=>this._convertTextChanges(n,d))}},mk1=class extends DC{get autoFormatTriggerCharacters(){return[";","}",`
|
|
991
|
-
`]}async provideOnTypeFormattingEdits(n,e,t,i,r){let o=n.uri,s=n.getOffsetAt(e),a=await this._worker(o);if(n.isDisposed())return;let l=await a.getFormattingEditsAfterKeystroke(o.toString(),s,t,DC._convertOptions(i));if(!(!l||n.isDisposed()))return l.map(d=>this._convertTextChanges(n,d))}},fk1=class extends DC{async provideCodeActions(n,e,t,i){let r=n.uri,o=n.getOffsetAt({lineNumber:e.startLineNumber,column:e.startColumn}),s=n.getOffsetAt({lineNumber:e.endLineNumber,column:e.endColumn}),a=DC._convertOptions(n.getOptions()),l=t.markers.filter(h=>h.code).map(h=>h.code).map(Number),d=await this._worker(r);if(n.isDisposed())return;let c=await d.getCodeFixesAtPosition(r.toString(),o,s,l,a);return!c||n.isDisposed()?{actions:[],dispose:()=>{}}:{actions:c.filter(h=>h.changes.filter(C=>C.isNewFile).length===0).map(h=>this._tsCodeFixActionToMonacoCodeAction(n,t,h)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(n,e,t){let i=[];for(let o of t.changes)for(let s of o.textChanges)i.push({resource:n.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(n,s.span),text:s.newText}});return{title:t.description,edit:{edits:i},diagnostics:e.markers,kind:"quickfix"}}},gk1=class extends Bl{constructor(n,e){super(e),this._libFiles=n}async provideRenameEdits(n,e,t,i){let r=n.uri,o=r.toString(),s=n.getOffsetAt(e),a=await this._worker(r);if(n.isDisposed())return;let l=await a.getRenameInfo(o,s,{allowRenameOfImportPath:!1});if(l.canRename===!1)return{edits:[],rejectReason:l.localizedErrorMessage};if(l.fileToRename!==void 0)throw new Error("Renaming files is not supported.");let d=await a.findRenameLocations(o,s,!1,!1,!1);if(!d||n.isDisposed())return;let c=[];for(let u of d){let h=this._libFiles.getOrCreateModel(u.fileName);if(h)c.push({resource:h.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(h,u.textSpan),text:t}});else throw new Error(`Unknown file ${u.fileName}.`)}return{edits:c}}},Lk1=class extends Bl{async provideInlayHints(n,e,t){let i=n.uri,r=i.toString(),o=n.getOffsetAt({lineNumber:e.startLineNumber,column:e.startColumn}),s=n.getOffsetAt({lineNumber:e.endLineNumber,column:e.endColumn}),a=await this._worker(i);return n.isDisposed()?null:{hints:(await a.provideInlayHints(r,o,s)).map(c=>({...c,label:c.text,position:n.getPositionAt(c.position),kind:this._convertHintKind(c.kind)})),dispose:()=>{}}}_convertHintKind(n){switch(n){case"Parameter":return Ge.languages.InlayHintKind.Parameter;case"Type":return Ge.languages.InlayHintKind.Type;default:return Ge.languages.InlayHintKind.Type}}}});function Cz(){return Promise.resolve().then(()=>(vk1(),Mk1))}var Mee,vee,_ee,xee,_k1,bee,Aee,OL,xk1,bk1,Ak1,Sk1,wk1,yk1,See,kk1,hz,Ek1,wee,yee,Go1=k(()=>{Er();Er();Mee=Object.defineProperty,vee=Object.getOwnPropertyDescriptor,_ee=Object.getOwnPropertyNames,xee=Object.prototype.hasOwnProperty,_k1=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of _ee(e))!xee.call(n,r)&&r!==t&&Mee(n,r,{get:()=>e[r],enumerable:!(i=vee(e,r))||i.enumerable});return n},bee=(n,e,t)=>(_k1(n,e,"default"),t&&_k1(t,e,"default")),Aee="5.0.2",OL={};bee(OL,Ii);xk1=(n=>(n[n.None=0]="None",n[n.CommonJS=1]="CommonJS",n[n.AMD=2]="AMD",n[n.UMD=3]="UMD",n[n.System=4]="System",n[n.ES2015=5]="ES2015",n[n.ESNext=99]="ESNext",n))(xk1||{}),bk1=(n=>(n[n.None=0]="None",n[n.Preserve=1]="Preserve",n[n.React=2]="React",n[n.ReactNative=3]="ReactNative",n[n.ReactJSX=4]="ReactJSX",n[n.ReactJSXDev=5]="ReactJSXDev",n))(bk1||{}),Ak1=(n=>(n[n.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",n[n.LineFeed=1]="LineFeed",n))(Ak1||{}),Sk1=(n=>(n[n.ES3=0]="ES3",n[n.ES5=1]="ES5",n[n.ES2015=2]="ES2015",n[n.ES2016=3]="ES2016",n[n.ES2017=4]="ES2017",n[n.ES2018=5]="ES2018",n[n.ES2019=6]="ES2019",n[n.ES2020=7]="ES2020",n[n.ESNext=99]="ESNext",n[n.JSON=100]="JSON",n[n.Latest=99]="Latest",n))(Sk1||{}),wk1=(n=>(n[n.Classic=1]="Classic",n[n.NodeJs=2]="NodeJs",n))(wk1||{}),yk1=class{_onDidChange=new OL.Emitter;_onDidExtraLibsChange=new OL.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(n,e,t,i,r){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(n),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(r),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(n,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===n)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:n,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let r=this._extraLibs[t];r&&r.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(n){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),n&&n.length>0)for(let e of n){let t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content,r=1;this._removedExtraLibs[t]&&(r=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:r}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(n){this._compilerOptions=n||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(n){this._diagnosticsOptions=n||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(n){this._workerOptions=n||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(n){this._inlayHintsOptions=n||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(n){}setEagerModelSync(n){this._eagerModelSync=n}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(void 0)}},See=Aee,kk1={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},hz=new yk1({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},kk1),Ek1=new yk1({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},kk1),wee=()=>Cz().then(n=>n.getTypeScriptWorker()),yee=()=>Cz().then(n=>n.getJavaScriptWorker());OL.languages.typescript={ModuleKind:xk1,JsxEmit:bk1,NewLineKind:Ak1,ScriptTarget:Sk1,ModuleResolutionKind:wk1,typescriptVersion:See,typescriptDefaults:hz,javascriptDefaults:Ek1,getTypeScriptWorker:wee,getJavaScriptWorker:yee};OL.languages.onLanguage("typescript",()=>Cz().then(n=>n.setupTypeScript(hz)));OL.languages.onLanguage("javascript",()=>Cz().then(n=>n.setupJavaScript(Ek1)))});var uD1=kt(np=>{Ie();ei();Me();w5();c1();Ke();Un();Uu();B1();ui();U6();Et();Kr1();jr1();T1();Oi();Te();ce();B0();var cD1=np&&np.__decorate||function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},mU=np&&np.__param||function(n,e){return function(t,i){e(t,i,n)}},m51=np&&np.__awaiter||function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},ZA=class{constructor(e,t,i){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._disposables=new i1,this._sessionDisposables=new i1,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(r=>{r.hasChanged(55)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(55)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let i=new D4;for(let r of t.autoFormatTriggerCharacters)i.add(r.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(r=>{let o=r.charCodeAt(r.length-1);i.has(o)&&this._trigger(String.fromCharCode(o))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),i=this._editor.getPosition(),r=new zt,o=this._editor.onDidChangeModelContent(s=>{if(s.isFlush){r.cancel(),o.dispose();return}for(let a=0,l=s.changes.length;a<l;a++)if(s.changes[a].range.endLineNumber<=i.lineNumber){r.cancel(),o.dispose();return}});qr1(this._workerService,this._languageFeaturesService,t,i,e,t.getFormattingOptions(),r.token).then(s=>{r.token.isCancellationRequested||yn(s)&&(yC.execute(this._editor,s,!0),OZ(s))}).finally(()=>{o.dispose()})}};ZA.ID="editor.contrib.autoFormat";ZA=cD1([mU(1,y1),mU(2,X2)],ZA);var zA=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new i1,this._callOnModel=new i1,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(54)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction($r1,this.editor,e,2,F0.None,Se.None).catch(ae))}};zA.ID="editor.contrib.formatOnPaste";zA=cD1([mU(1,y1),mU(2,q1)],zA);var C51=class extends I1{constructor(){super({id:"editor.action.formatDocument",label:f("formatDocument.label","Format Document"),alias:"Format Document",precondition:v1.and(F.notInCompositeEditor,F.writable,F.hasDocumentFormattingProvider),kbOpts:{kbExpr:F.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(e,t){return m51(this,void 0,void 0,function*(){if(t.hasModel()){let i=e.get(q1);yield e.get(As).showWhile(i.invokeFunction(q_1,t,1,F0.None,Se.None),250)}})}},p51=class extends I1{constructor(){super({id:"editor.action.formatSelection",label:f("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:v1.and(F.writable,F.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:F.editorTextFocus,primary:an(2089,2084),weight:100},contextMenuOpts:{when:F.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(e,t){return m51(this,void 0,void 0,function*(){if(!t.hasModel())return;let i=e.get(q1),r=t.getModel(),o=t.getSelections().map(a=>a.isEmpty()?new y(a.startLineNumber,1,a.startLineNumber,r.getLineMaxColumn(a.startLineNumber)):a);yield e.get(As).showWhile(i.invokeFunction($r1,t,o,1,F0.None,Se.None),250)})}};He(ZA.ID,ZA,2);He(zA.ID,zA,2);V1(C51);V1(p51);Be.registerCommand("editor.action.format",n=>m51(void 0,void 0,void 0,function*(){let e=n.get(Pe).getFocusedCodeEditor();if(!e||!e.hasModel())return;let t=n.get(Ut);e.getSelection().isEmpty()?yield t.executeCommand("editor.action.formatDocument"):yield t.executeCommand("editor.action.formatSelection")}))});var zie,f51,Wie,D8,CH,WA,UA,rp,g51,jA=k(()=>{Ie();ei();Me();O2();U5();_e();B1();Z0();ce();j2();q2();c1();Et();zie=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},f51=function(n,e){return function(t,i){e(t,i,n)}},Wie=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},D8=class{remove(){var e;(e=this.parent)===null||e===void 0||e.children.delete(this.id)}static findId(e,t){let i;typeof e=="string"?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,t.children.get(i)!==void 0&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let r=i;for(let o=0;t.children.get(r)!==void 0;o++)r=`${i}_${o}`;return r}static empty(e){return e.children.size===0}},CH=class extends D8{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}},WA=class extends D8{constructor(e,t,i,r){super(),this.id=e,this.parent=t,this.label=i,this.order=r,this.children=new Map}},UA=class n extends D8{static create(e,t,i){let r=new zt(i),o=new n(t.uri),s=e.ordered(t),a=s.map((d,c)=>{var u;let h=D8.findId(`provider_${c}`,o),C=new WA(h,o,(u=d.displayName)!==null&&u!==void 0?u:"Unknown Outline Provider",c);return Promise.resolve(d.provideDocumentSymbols(t,r.token)).then(p=>{for(let m of p||[])n._makeOutlineElement(m,C);return C},p=>(Jt(p),C)).then(p=>{D8.empty(p)?p.remove():o._groups.set(h,p)})}),l=e.onDidChange(()=>{let d=e.ordered(t);Si(d,s)||r.cancel()});return Promise.all(a).then(()=>r.token.isCancellationRequested&&!i.isCancellationRequested?n.create(e,t,i):o._compact()).finally(()=>{l.dispose()})}static _makeOutlineElement(e,t){let i=D8.findId(e,t),r=new CH(i,t,e);if(e.children)for(let o of e.children)n._makeOutlineElement(o,r);t.children.set(r.id,r)}constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let e=0;for(let[t,i]of this._groups)i.children.size===0?this._groups.delete(t):e+=1;if(e!==1)this.children=this._groups;else{let t=Ye.first(this._groups.values());for(let[,i]of t.children)i.parent=this,this.children.set(i.id,i)}return this}getTopLevelSymbols(){let e=[];for(let t of this.children.values())t instanceof CH?e.push(t.symbol):e.push(...Ye.map(t.children.values(),i=>i.symbol));return e.sort((t,i)=>y.compareRangesUsingStarts(t.range,i.range))}asListOfDocumentSymbols(){let e=this.getTopLevelSymbols(),t=[];return n._flattenDocumentSymbols(t,e,""),t.sort((i,r)=>K.compare(y.getStartPosition(i.range),y.getStartPosition(r.range))||K.compare(y.getEndPosition(r.range),y.getEndPosition(i.range)))}static _flattenDocumentSymbols(e,t,i){for(let r of t)e.push({kind:r.kind,tags:r.tags,name:r.name,detail:r.detail,containerName:r.containerName||i,range:r.range,selectionRange:r.selectionRange,children:void 0}),r.children&&n._flattenDocumentSymbols(e,r.children,r.name)}},rp=le("IOutlineModelService"),g51=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new i1,this._cache=new _s(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved(r=>{this._cache.delete(r.id)}))}dispose(){this._disposables.dispose()}getOrCreate(e,t){return Wie(this,void 0,void 0,function*(){let i=this._languageFeaturesService.documentSymbolProvider,r=i.ordered(e),o=this._cache.get(e.id);if(!o||o.versionId!==e.getVersionId()||!Si(o.provider,r)){let a=new zt;o={versionId:e.getVersionId(),provider:r,promiseCnt:0,source:a,promise:UA.create(i,e,a.token),model:void 0},this._cache.set(e.id,o);let l=Date.now();o.promise.then(d=>{o.model=d,this._debounceInformation.update(e,Date.now()-l)}).catch(d=>{this._cache.delete(e.id)})}if(o.model)return o.model;o.promiseCnt+=1;let s=t.onCancellationRequested(()=>{--o.promiseCnt===0&&(o.source.cancel(),this._cache.delete(e.id))});try{return yield o.promise}finally{s.dispose()}})}};g51=zie([f51(0,y1),f51(1,eo),f51(2,Wt)],g51);nt(rp,g51,1)});var hD1=kt(L51=>{ei();di();pi();O5();jA();Oi();var Uie=L51&&L51.__awaiter||function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})};Be.registerCommand("_executeDocumentSymbolProvider",function(n,...e){return Uie(this,void 0,void 0,function*(){let[t]=e;St(X1.isUri(t));let i=n.get(rp),o=yield n.get(rr).createModelReference(t);try{return(yield i.getOrCreate(o.object.textEditorModel,Se.None)).getTopLevelSymbols()}finally{o.dispose()}})})});var JU,RD1=k(()=>{Di();JU=class{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let r=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new Z1(r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn),r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn)):new Z1(r.endLineNumber,r.endColumn-this._text.length,r.endLineNumber,r.endColumn)}}});var PD1=k(()=>{});var FD1=kt(AS=>{De();Me();L7();Ke();B1();Di();ui();Wr();U6();T1();RD1();PD1();var Une=AS&&AS.__decorate||function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},jne=AS&&AS.__param||function(n,e){return function(t,i){e(t,i,n)}},ej,z8=ej=class{static get(e){return e.getContribution(ej.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var i;(i=this.currentRequest)===null||i===void 0||i.cancel();let r=this.editor.getSelection(),o=this.editor.getModel();if(!o||!r)return;let s=r;if(s.startLineNumber!==s.endLineNumber)return;let a=new vL(this.editor,5),l=o.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=gi(d=>this.editorWorkerService.navigateValueSet(l,s,t)),this.currentRequest.then(d=>{var c;if(!d||!d.range||!d.value||!a.validate(this.editor))return;let u=y.lift(d.range),h=d.range,C=d.value.length-(s.endColumn-s.startColumn);h={startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.startColumn+d.value.length},C>1&&(s=new Z1(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn+C-1));let p=new JU(u,s,d.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,p),this.editor.pushUndoStop(),this.decorations.set([{range:h,options:ej.DECORATION}]),(c=this.decorationRemover)===null||c===void 0||c.cancel(),this.decorationRemover=qa(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(ae)}).catch(ae)):Promise.resolve(void 0)}};z8.ID="editor.contrib.inPlaceReplaceController";z8.DECORATION=me.register({description:"in-place-replace",className:"valueSetReplacement"});z8=ej=Une([jne(1,X2)],z8);var s01=class extends I1{constructor(){super({id:"editor.action.inPlaceReplace.up",label:f("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:F.writable,kbOpts:{kbExpr:F.editorTextFocus,primary:3159,weight:100}})}run(e,t){let i=z8.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}},a01=class extends I1{constructor(){super({id:"editor.action.inPlaceReplace.down",label:f("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:F.writable,kbOpts:{kbExpr:F.editorTextFocus,primary:3161,weight:100}})}run(e,t){let i=z8.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}};He(z8.ID,z8,4);V1(s01);V1(a01)});var mI1=k(()=>{});var gI1=kt(XS=>{mI1();re();Rr();c1();Ke();En();Yu();zm();Qr();xC();Ic();var Gre=XS&&XS.__decorate||function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},fI1=XS&&XS.__param||function(n,e){return function(t,i){e(t,i,n)}},M31,PH=M31=class extends z{static get(e){return e.getContribution(M31.ID)}constructor(e,t,i){super(),this._editor=e,this._languageService=i,this._widget=null,this._register(this._editor.onDidChangeModel(r=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(r=>this.stop())),this._register(mi.onDidChange(r=>this.stop())),this._register(this._editor.onKeyUp(r=>r.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new Uj(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};PH.ID="editor.contrib.inspectTokens";PH=M31=Gre([fI1(1,e2),fI1(2,xt)],PH);var v31=class extends I1{constructor(){super({id:"editor.action.inspectTokens",label:fF.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let i=PH.get(t);i?.launch()}};function Yre(n){let e="";for(let t=0,i=n.length;t<i;t++){let r=n.charCodeAt(t);switch(r){case 9:e+="\u2192";break;case 32:e+="\xB7";break;default:e+=String.fromCharCode(r)}}return e}function Qre(n,e){let t=mi.get(e);if(t)return t;let i=n.encodeLanguageId(e);return{getInitialState:()=>Fd,tokenize:(r,o,s)=>Zm(e,s),tokenizeEncoded:(r,o,s)=>q9(i,s)}}var Uj=class n extends z{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=Qre(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(i=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return n._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),i=0;for(let l=t.tokens1.length-1;l>=0;l--){let d=t.tokens1[l];if(e.column-1>=d.offset){i=l;break}}let r=0;for(let l=t.tokens2.length>>>1;l>=0;l--)if(e.column-1>=t.tokens2[l<<1]){r=l;break}let o=this._model.getLineContent(e.lineNumber),s="";if(i<t.tokens1.length){let l=t.tokens1[i].offset,d=i+1<t.tokens1.length?t.tokens1[i+1].offset:o.length;s=o.substring(l,d)}$n(this._domNode,g1("h2.tm-token",void 0,Yre(s),g1("span.tm-token-length",void 0,`${s.length} ${s.length===1?"char":"chars"}`))),p1(this._domNode,g1("hr.tokens-inspect-separator",{style:"clear:both"}));let a=(r<<1)+1<t.tokens2.length?this._decodeMetadata(t.tokens2[(r<<1)+1]):null;p1(this._domNode,g1("table.tm-metadata-table",void 0,g1("tbody",void 0,g1("tr",void 0,g1("td.tm-metadata-key",void 0,"language"),g1("td.tm-metadata-value",void 0,`${a?a.languageId:"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"token type"),g1("td.tm-metadata-value",void 0,`${a?this._tokenTypeToString(a.tokenType):"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"font style"),g1("td.tm-metadata-value",void 0,`${a?this._fontStyleToString(a.fontStyle):"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"foreground"),g1("td.tm-metadata-value",void 0,`${a?l1.Format.CSS.formatHex(a.foreground):"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"background"),g1("td.tm-metadata-value",void 0,`${a?l1.Format.CSS.formatHex(a.background):"-?-"}`))))),p1(this._domNode,g1("hr.tokens-inspect-separator")),i<t.tokens1.length&&p1(this._domNode,g1("span.tm-token-type",void 0,t.tokens1[i].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){let t=mi.getColorMap(),i=ar.getLanguageId(e),r=ar.getTokenType(e),o=ar.getFontStyle(e),s=ar.getForeground(e),a=ar.getBackground(e);return{languageId:this._languageService.languageIdCodec.decodeLanguageId(i),tokenType:r,fontStyle:o,foreground:t[s],background:t[a]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 3:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return e&1&&(t+="italic "),e&2&&(t+="bold "),e&4&&(t+="underline "),e&8&&(t+="strikethrough "),t.length===0&&(t="---"),t}_getTokensAtLine(e){let t=this._getStateBeforeLine(e),i=this._tokenizationSupport.tokenize(this._model.getLineContent(e),!0,t),r=this._tokenizationSupport.tokenizeEncoded(this._model.getLineContent(e),!0,t);return{startState:t,tokens1:i.tokens,tokens2:r.tokens,endState:i.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let i=1;i<e;i++)t=this._tokenizationSupport.tokenize(this._model.getLineContent(i),!0,t).endState;return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}};Uj._ID="editor.contrib.inspectTokensWidget";He(PH.ID,PH,4);V1(v31)});var Z31=Dt(Hn()),RI1=Dt(B71());var OI1=Dt(C9()),h5=Dt(Hn());var XV=Dt(q91());var{replace:FO1}="";var BO1=/[&<>'"]/g,ZO1={"&":"&","<":"<",">":">","'":"'",'"':"""},zO1=n=>ZO1[n],qV=n=>FO1.call(n,BO1,zO1);var RK=Dt(G91()),Le=Dt(Hn());var _i=Dt(Hn(),1);function Y91(n){var e,t,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(t=Y91(n[e]))&&(i&&(i+=" "),i+=t);else for(e in n)n[e]&&(i&&(i+=" "),i+=e);return i}function WO1(){for(var n,e,t=0,i="";t<arguments.length;)(n=arguments[t++])&&(e=Y91(n))&&(i&&(i+=" "),i+=e);return i}var Hu=WO1;var NK=Dt(jV(),1),J91=(0,_i.createContext)({}),e61=()=>(0,_i.useContext)(J91),t61=n=>_i.default.createElement(J91.Provider,{...n});function UO1(){let n=new Map;return{on(e,t){return n.has(e)?n.get(e).add(t):n.set(e,new Set([t])),this},off(e,t){return n.has(e)&&n.get(e).delete(t),this},emit(e,t){return n.has(e)&&n.get(e).forEach(i=>{i(t)}),this}}}var xk=UO1(),i61=()=>(0,_i.useRef)(new Map).current,jO1=()=>{},Q91=["resize","contextmenu","click","scroll","blur"],OK={show({event:n,id:e,props:t,position:i}){n.preventDefault&&n.preventDefault(),xk.emit(0).emit(e,{event:n.nativeEvent||n,props:t,position:i})},hideAll(){xk.emit(0)}};function n61(n){return{show(e){OK.show({...n,...e})},hideAll(){OK.hideAll()}}}function $O1(){let n=new Map,e,t,i,r,o=!1;function s(H){r=Array.from(H.values()),e=-1,i=!0}function a(){r[e].node.focus()}let l=()=>e>=0&&r[e].isSubmenu,d=()=>Array.from(r[e].submenuRefTracker.values());function c(){return e===-1?(u(),!1):!0}function u(){e+1<r.length?e++:e+1===r.length&&(e=0),o&&p(),a()}function h(){e===-1||e===0?e=r.length-1:e-1<r.length&&e--,o&&p(),a()}function C(){if(c()&&l()){let H=d(),{node:g,setSubmenuPosition:L}=r[e];return n.set(g,{isRoot:i,focusedIndex:e,parentNode:t||g,items:r}),L(),g.classList.add("contexify_submenu-isOpen"),t=g,H.length>0?(e=0,r=H):o=!0,i=!1,a(),!0}return!1}function p(){if(c()&&!i){let H=n.get(t);t.classList.remove("contexify_submenu-isOpen"),r=H.items,t=H.parentNode,H.isRoot&&(i=!0,n.clear()),o||(e=H.focusedIndex,a())}}function m(H){function g(L){for(let V of L)V.isSubmenu&&V.submenuRefTracker&&g(Array.from(V.submenuRefTracker.values())),V.keyMatcher&&V.keyMatcher(H)}g(r)}return{init:s,moveDown:u,moveUp:h,openSubmenu:C,closeSubmenu:p,matchKeys:m}}function KV(n){return typeof n=="function"}function X91(n){return typeof n=="string"}function r61(n,e){return _i.Children.map(_i.Children.toArray(n).filter(Boolean),t=>(0,_i.cloneElement)(t,e))}function qO1(n){let e={x:n.clientX,y:n.clientY},t=n.changedTouches;return t&&(e.x=t[0].clientX,e.y=t[0].clientY),(!e.x||e.x<0)&&(e.x=0),(!e.y||e.y<0)&&(e.y=0),e}function GV(n,e){return KV(n)?n(e):n}function KO1(n,e){return{...n,...KV(e)?e(n):e}}var o61=({id:n,theme:e,style:t,className:i,children:r,animation:o="fade",preventDefaultOnKeydown:s=!0,disableBoundariesCheck:a=!1,onVisibilityChange:l,...d})=>{let[c,u]=(0,_i.useReducer)(KO1,{x:0,y:0,visible:!1,triggerEvent:{},propsFromTrigger:null,willLeave:!1}),h=(0,_i.useRef)(null),C=i61(),[p]=(0,_i.useState)(()=>$O1()),m=(0,_i.useRef)(),H=(0,_i.useRef)();(0,_i.useEffect)(()=>(xk.on(n,L).on(0,V),()=>{xk.off(n,L).off(0,V)}),[n,o,a]),(0,_i.useEffect)(()=>{c.visible?p.init(C):C.clear()},[c.visible,p,C]);function g(B,G){if(h.current&&!a){let{innerWidth:e1,innerHeight:Q}=window,{offsetWidth:X,offsetHeight:d1}=h.current;B+X>e1&&(B-=B+X-e1),G+d1>Q&&(G-=G+d1-Q)}return{x:B,y:G}}(0,_i.useEffect)(()=>{c.visible&&u(g(c.x,c.y))},[c.visible]),(0,_i.useEffect)(()=>{function B(e1){s&&e1.preventDefault()}function G(e1){switch(e1.key){case"Enter":case" ":p.openSubmenu()||V();break;case"Escape":V();break;case"ArrowUp":B(e1),p.moveUp();break;case"ArrowDown":B(e1),p.moveDown();break;case"ArrowRight":B(e1),p.openSubmenu();break;case"ArrowLeft":B(e1),p.closeSubmenu();break;default:p.matchKeys(e1);break}}if(c.visible){window.addEventListener("keydown",G);for(let e1 of Q91)window.addEventListener(e1,V)}return()=>{window.removeEventListener("keydown",G);for(let e1 of Q91)window.removeEventListener(e1,V)}},[c.visible,p,s]);function L({event:B,props:G,position:e1}){B.stopPropagation();let Q=e1||qO1(B),{x:X,y:d1}=g(Q.x,Q.y);(0,NK.flushSync)(()=>{u({visible:!0,willLeave:!1,x:X,y:d1,triggerEvent:B,propsFromTrigger:G})}),clearTimeout(H.current),!m.current&&KV(l)&&(l(!0),m.current=!0)}function V(B){B!=null&&(B.button===2||B.ctrlKey)&&B.type!=="contextmenu"||(o&&(X91(o)||"exit"in o&&o.exit)?u(G=>({willLeave:G.visible})):u(G=>({visible:G.visible?!1:G.visible})),H.current=setTimeout(()=>{KV(l)&&l(!1),m.current=!1}))}function _(){c.willLeave&&c.visible&&(0,NK.flushSync)(()=>u({visible:!1,willLeave:!1}))}function b(){return X91(o)?Hu({[`contexify_willEnter-${o}`]:M&&!T,[`contexify_willLeave-${o} contexify_willLeave-'disabled'`]:M&&T}):o&&"enter"in o&&"exit"in o?Hu({[`contexify_willEnter-${o.enter}`]:o.enter&&M&&!T,[`contexify_willLeave-${o.exit} contexify_willLeave-'disabled'`]:o.exit&&M&&T}):null}let{visible:M,triggerEvent:A,propsFromTrigger:S,x:I,y:P,willLeave:T}=c,R=Hu("contexify",i,{[`contexify_theme-${e}`]:e},b());return _i.default.createElement(t61,{value:C},M&&_i.default.createElement("div",{...d,className:R,onAnimationEnd:_,style:{...t,left:I,top:P,opacity:1},ref:h,role:"menu"},r61(r,{propsFromTrigger:S,triggerEvent:A})))},qe=({id:n,children:e,className:t,style:i,triggerEvent:r,data:o,propsFromTrigger:s,keyMatcher:a,onClick:l=jO1,disabled:d=!1,hidden:c=!1,closeOnClick:u=!0,handlerEvent:h="onClick",...C})=>{let p=(0,_i.useRef)(),m=e61(),H={id:n,data:o,triggerEvent:r,props:s},g=GV(d,H),L=GV(c,H);function V(A){H.event=A,A.stopPropagation(),g||(u?_():l(H))}function _(){let A=p.current;A.focus(),A.addEventListener("animationend",()=>setTimeout(OK.hideAll),{once:!0}),A.classList.add("contexify_item-feedback"),l(H)}function b(A){A&&!g&&(p.current=A,m.set(A,{node:A,isSubmenu:!1,keyMatcher:!g&&KV(a)&&(S=>{a(S)&&(S.stopPropagation(),S.preventDefault(),H.event=S,_())})}))}function M(A){(A.key==="Enter"||A.key===" ")&&(A.stopPropagation(),H.event=A,_())}return L?null:_i.default.createElement("div",{...C,[h]:V,className:Hu("contexify_item",t,{"contexify_item-disabled":g}),style:i,onKeyDown:M,ref:b,tabIndex:-1,role:"menuitem","aria-disabled":g},_i.default.createElement("div",{className:"contexify_itemContent"},e))},Vu=({triggerEvent:n,data:e,propsFromTrigger:t,hidden:i=!1})=>GV(i,{data:e,triggerEvent:n,props:t})?null:_i.default.createElement("div",{className:"contexify_separator"}),GO1=()=>_i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},_i.default.createElement("polyline",{points:"9 18 15 12 9 6"})),YO1=({className:n,...e})=>_i.default.createElement("div",{className:Hu("contexify_rightSlot",n),...e}),Pa=({arrow:n,children:e,disabled:t=!1,hidden:i=!1,label:r,className:o,triggerEvent:s,propsFromTrigger:a,style:l,...d})=>{let c=e61(),u=i61(),h=(0,_i.useRef)(null),C={triggerEvent:s,props:a},p=GV(t,C),m=GV(i,C);function H(){let V=h.current;if(V){let _="contexify_submenu-bottom",b="contexify_submenu-right";V.classList.remove(_,b);let M=V.getBoundingClientRect();M.right>window.innerWidth&&V.classList.add(b),M.bottom>window.innerHeight&&V.classList.add(_)}}function g(V){V&&!p&&c.set(V,{node:V,isSubmenu:!0,submenuRefTracker:u,setSubmenuPosition:H})}if(m)return null;let L=Hu("contexify_item",o,{"contexify_item-disabled":p});return _i.default.createElement(t61,{value:u},_i.default.createElement("div",{...d,className:L,ref:g,tabIndex:-1,role:"menuitem","aria-haspopup":!0,"aria-disabled":p,onMouseEnter:H,onTouchStart:H},_i.default.createElement("div",{className:"contexify_itemContent",onClick:V=>V.stopPropagation()},r,_i.default.createElement(YO1,null,n||_i.default.createElement(GO1,null))),_i.default.createElement("div",{className:"contexify contexify_submenu",ref:h,style:l},r61(e,{propsFromTrigger:a,triggerEvent:s}))))};var bk=Dt(Hn(),1);function s61(n){var e=bk.default.createContext(null);function t(r){var o=n(r.initialState);return bk.default.createElement(e.Provider,{value:o},r.children)}function i(){var r=bk.default.useContext(e);if(r===null)throw new Error("Component must be wrapped with <Container.Provider>");return r}return{Provider:t,useContainer:i}}function YV(n){return window.getComputedStyle(n).backgroundColor}function a61(n){let e=YV(n);function t(r){if(r=r.replace(/\s+/g,"").toLowerCase(),r.startsWith("rgb")){let o=r.match(/\d+/g).map(Number),s=o[0],a=o[1],l=o[2];return .299*s+.587*a+.114*l}if(r.startsWith("#")){let o=r.slice(1),s=parseInt(o,16),a=s>>16&255,l=s>>8&255,d=s&255;return .299*a+.587*l+.114*d}return 0}return t(e)>128}window.jQuery=RK.default;window.$=RK.default;function Mu(){return document.documentElement.scrollTop||0}function vu(n){document.documentElement.scrollTop=n}function l61(){return window.innerHeight}var QO1={P:1,H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,OL:1,UL:1,PRE:1,BLOCKQUOTE:1,HR:1,TABLE:1,FIGURE:1,DIV:1};function XO1(n){return n in QO1}function QV(n){let e=n.getAttribute("data-source-line");if(!e)return null;let t=parseInt(e,10);return isNaN(t)?null:t-1}var JO1=s61(()=>{let n=(0,Le.useRef)(void 0),e=(0,Le.useRef)("file"),t=(0,Le.useRef)(-1),i=(0,Le.useRef)(0),r=(0,Le.useRef)(0),o=(0,Le.useRef)(null),s=(0,Le.useRef)({}),a=(0,Le.useRef)(null),l=(0,Le.useRef)(!0),d=(0,Le.useRef)([]),c=(0,Le.useRef)([]),u=(0,Le.useRef)(new Map),h=(0,Le.useRef)(-1),C=(0,Le.useRef)(null),p=(0,Le.useRef)(null),m=(0,Le.useRef)(null),H=(0,Le.useRef)(null),g=(0,Le.useRef)((0,XV.SHA256)(JSON.stringify([])).toString()),[L,V]=(0,Le.useState)(!1),[_,b]=(0,Le.useState)(!1),[M,A]=(0,Le.useState)(""),[S,I]=(0,Le.useState)(!1),[P,T]=(0,Le.useState)(!1),[R,B]=(0,Le.useState)(!0),[G,e1]=(0,Le.useState)(1),[Q,X]=(0,Le.useState)(!1),[d1,Y]=(0,Le.useState)(""),[h1,s1]=(0,Le.useState)("light"),t1=(0,Le.useMemo)(()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),[]),[x1,ve]=(0,Le.useState)([]),[Vt,ke]=(0,Le.useState)(!1),[$e,Ci]=(0,Le.useState)(null),[rn,mn]=(0,Le.useState)(""),[fe,qi]=(0,Le.useState)(null),[Dr,jr]=(0,Le.useState)(!1),Rt=(0,Le.useMemo)(()=>document.body.hasAttribute("data-presentation-mode"),[]),gr=(0,Le.useMemo)(()=>document.body.classList.contains("vscode-web-extension"),[]),vo=(0,Le.useMemo)(()=>globalThis.acquireVsCodeApi?globalThis.acquireVsCodeApi():null,[]),Mi=(0,Le.useMemo)(()=>JSON.parse(document.getElementById("crossnote-data")?.getAttribute("data-config")??"{}"),[]),hr=(0,Le.useMemo)(()=>!!Mi.isVSCode,[Mi]),b1=(0,Le.useMemo)(()=>"crossnote-context-menu",[]),{show:f1}=n61({id:b1}),C1=(0,Le.useCallback)((Y1,Q1=[])=>{vo?vo.postMessage({command:Y1,args:Q1}):window.parent.postMessage({command:Y1,args:Q1},"file://")},[vo]),q=(0,Le.useCallback)(()=>{if(Rt)return window.Reveal.toggleOverview();b(Y1=>!Y1),o.current=null},[Rt]),W=(0,Le.useCallback)(Y1=>{Y1?.preventDefault(),Y1?.stopPropagation(),hr?Rt||q():L?V(!1):q()},[q,Rt,hr,L]),o1=(0,Le.useCallback)(()=>{if(o.current)return o.current;if(!i.current||!C.current)return null;let Y1=Array(Math.max(i.current,0)).fill(-1),Q1=[],ze=new Set;Q1.push(0),Y1[0]=0;let Re=C.current.querySelectorAll("[data-source-line]");for(let ft=0;ft<Re.length;ft++){let At=Re[ft];if(!XO1(At.tagName))continue;let oe=QV(At);if(!(!oe||ze.has(oe)))if(ze.add(oe),oe<Q1[Q1.length-1])At.removeAttribute("data-source-line");else{Q1.push(oe);let m1=0;for(;At&&At!==C.current;)m1+=At.offsetTop,At=At.offsetParent;Y1[oe]=Math.round(m1)}}Q1.push(i.current),Y1.push(C.current.scrollHeight);let it=0;for(let ft=0;ft<i.current;ft++){if(Y1[ft]!==-1){it++;continue}let At=Q1[it-1],oe=Q1[it];Y1[ft]=Math.round((Y1[oe]*(ft-At)+Y1[At]*(oe-ft))/(oe-At))}return o.current=Y1,Y1},[]),n1=(0,Le.useCallback)(()=>{let Y1;if(!C.current)return;if(Mu()===0)return Y1=0,C1("revealLine",[n.current,Y1]);let Q1=Mu()+l61()/2,ze=o1();if(!ze)return;let Re=0,it=ze.length-1,ft=0,At=-1,oe;for(;ft<20;){if(Math.abs(Q1-ze[Re])<20){At=Re;break}else if(Math.abs(Q1-ze[it])<20){At=it;break}else oe=Math.floor((Re+it)/2),Q1>ze[oe]?Re=oe:it=oe;ft++}At===-1&&(At=oe),Y1=At,C1("revealLine",[n.current,Y1])},[o1,C1]),w1=(0,Le.useCallback)(()=>{Mi.scrollSync&&(o1(),!(Date.now()<r.current)&&n1())},[o1,Mi.scrollSync,n1]),ee=(0,Le.useCallback)(()=>{e1(Y1=>Y1+.1)},[]),ue=(0,Le.useCallback)(()=>{e1(Y1=>Y1-.1)},[]),Ve=(0,Le.useCallback)(()=>{e1(1)},[]),tt=(0,Le.useCallback)(()=>new Promise(Y1=>{if(!p.current)return Y1();if(Mi.mathRenderingOption==="MathJax"||Mi.usePandocParser){if(!p.current.querySelectorAll(".mathjax-exps, .math.inline, .math.display").length)return Y1();window.MathJax.typesetClear(),window.MathJax.startup.document.state(0),window.MathJax.texReset(),window.MathJax.typesetPromise([p.current]).then(()=>(p.current?.getElementsByClassName("MathJax").length&&(o.current=null),Y1()))}else return Y1()}),[Mi]),Oe=(0,Le.useCallback)(()=>{if(!p.current)return;let Y1=p.current.getElementsByClassName("wavedrom");if(Y1.length){let Q1={};for(let ze=0;ze<Y1.length;ze++){let Re=Y1[ze];Re.id="wavedrom"+ze;let it=(Re.textContent??"").trim();if(it.length){if(it in s.current){let ft=s.current[it];Re.innerHTML=ft,Q1[it]=ft;continue}try{let ft=window.eval(`(${it})`);window.WaveDrom.RenderWaveForm(ze,ft,"wavedrom"),Q1[it]=Re.innerHTML}catch(ft){Re.innerText="Failed to eval WaveDrom code. "+ft}}}s.current=Q1}},[]),$t=(0,Le.useCallback)(()=>new Promise(Y1=>{if(!C.current)return Y1();let Q1=C.current.querySelectorAll(".vega, .vega-lite");function ze(Re,it){Re.innerHTML='<pre class="language-text"><code>'+qV(it.toString())+"</code></pre>"}for(let Re=0;Re<Q1.length;Re++){let it=Q1[Re];try{let ft=JSON.parse((it.textContent??"").trim());window.vegaEmbed(it,ft,{actions:!1}).catch(At=>{ze(it,At)})}catch(ft){ze(it,ft)}}Y1()}),[]),qt=(0,Le.useCallback)(async()=>{if(!C.current)return;let Y1=window.mermaid,Q1=C.current.getElementsByClassName("mermaid"),ze=[];for(let Re=0;Re<Q1.length;Re++){let it=Q1[Re];try{await Y1.parse((it.textContent??"").trim()),ze.push(it)}catch(ft){it.innerHTML=`<pre class="language-text"><code>${qV(ft.toString())}</code></pre>`}}if(ze.length){ze.forEach(async(Re,it)=>{let ft="svg-mermaid-"+Date.now()+"-"+it,At=(Re.textContent??"").trim();try{let{svg:oe}=await Y1.render(ft,At);Re.innerHTML=oe}catch(oe){let m1=document.getElementById("d"+ft);m1&&(m1.style.display="none"),Re.innerHTML=`<pre class="language-text"><code>${qV(oe.toString())}</code></pre>`}});return}else return},[]),Fe=(0,Le.useCallback)(Y1=>{if(!Mi.enableScriptExecution||!Y1)return;let Q1=document.querySelector(`.code-chunk[data-id="${Y1}"]`);if(!(!Q1||Q1.classList.contains("running")))if(Q1.classList.add("running"),Q1.getAttribute("data-cmd")==="javascript"){let Re=Q1.getAttribute("data-code");try{window.eval(`((function(){${Re}$})())`),Q1.classList.remove("running");let it=XV.default.AES.encrypt(Q1.getElementsByClassName("output-div")[0].outerHTML,"crossnote").toString();C1("cacheCodeChunkResult",[n.current,Y1,it])}catch(it){let ft=Q1.getElementsByClassName("output-div")[0];ft.innerHTML=`<pre class="language-text"><code>${qV(it.toString())}</code></pre>`}}else C1("runCodeChunk",[n.current,Y1])},[Mi.enableScriptExecution,C1]),vi=(0,Le.useCallback)(()=>{if(!Mi.enableScriptExecution||!C.current)return;let Y1=C.current.getElementsByClassName("code-chunk");for(let Q1=0;Q1<Y1.length;Q1++)Y1[Q1].classList.add("running");C1("runAllCodeChunks",[n.current])},[Mi.enableScriptExecution,C1]),Ki=(0,Le.useCallback)(()=>{if(!C.current)return;let Y1=C.current.getElementsByClassName("code-chunk");for(let Q1=Y1.length-1;Q1>=0;Q1--){let ze=Y1[Q1],Re=ze.querySelector("[data-source-line]");if(Re&&t.current>=(QV(Re)??0)){let it=ze.getAttribute("data-id");if(it)return Fe(it)}}},[Fe]),no=(0,Le.useCallback)(()=>{if(!C.current)return;let Y1=C.current.getElementsByClassName("code-chunk");if(Y1.length)for(let Q1=0;Q1<Y1.length;Q1++){let ze=Y1[Q1],Re=ze.getAttribute("data-id"),it=ze.getElementsByClassName("run-btn")[0],ft=ze.getElementsByClassName("run-all-btn")[0];it&&it.addEventListener("click",()=>{Fe(Re)}),ft&&ft.addEventListener("click",()=>{vi()})}},[vi,Fe]),Kt=(0,Le.useCallback)(async()=>{if(!(!C.current||!p.current))try{T(!0),await Promise.all([tt(),Oe()]),C.current.innerHTML=p.current.innerHTML,p.current.innerHTML="",Y(C.current.innerHTML),await Promise.all([$t(),qt()]),no(),T(!1)}catch(Y1){console.error(Y1),T(!1)}},[$t,tt,qt,Oe,no]),Pi=(0,Le.useCallback)(Y1=>{for(let Q1=d.current.length-1;Q1>=0;Q1--)if(Y1>=d.current[Q1].line){let{h:ze,v:Re,offset:it}=d.current[Q1];if(it===h.current)return;h.current=it,r.current=Date.now()+200,window.Reveal.slide(ze,Re);break}},[]),y2=(0,Le.useCallback)(Y1=>{if(!C.current)return;let Q1=10,ze=(it=0)=>{a.current&&clearTimeout(a.current),a.current=setTimeout(()=>{if(!C.current)return;if(it<=0){r.current=Date.now()+500,vu(Y1);return}let At=(Y1-Mu())/it*Q1;r.current=Date.now()+500,vu(Mu()+At),Mu()!==Y1&&ze(it-Q1)},Q1)};ze(120)},[]),Ea=(0,Le.useCallback)((Y1,Q1=.372)=>{if(!C.current)return;let ze=o1();!ze||Y1>=ze.length||(Y1+1===i.current?y2(C.current.scrollHeight):y2(Math.max(ze[Y1]-l61()*Q1,0)))},[o1,y2]),ro=(0,Le.useCallback)((Y1,Q1=.372)=>{t.current=Y1,sessionStorage.setItem(`crossnote.cursorLine.${n.current}`,t.current.toString()),r.current=Date.now()+500,Rt?Pi(Y1):Ea(Y1,Q1)},[Rt,Ea,Pi]),On=(0,Le.useCallback)(Y1=>{for(let Q1=0;Q1<Y1.length;Q1++){let ze=Y1[Q1],Re=ze.getAttribute("href");if(!Re)continue;let it=decodeURIComponent(Re);it&&it[0]==="#"?ze.onclick=ft=>{if(ft.preventDefault(),ft.stopPropagation(),!C.current)return;let At=C.current.querySelector(`#${CSS.escape(it.slice(1))}`);if(!At)return;let oe=0,m1=At;for(;m1&&m1!==C.current;)oe+=m1.offsetTop,m1=m1.offsetParent;Mu()>oe?vu(oe-32-At.offsetHeight):vu(oe)}:ze.onclick=ft=>{ft.preventDefault(),ft.stopPropagation(),C1("clickTagA",[{uri:n.current,href:encodeURIComponent(it.replace(/\\/g,"/")),scheme:e.current}])}}},[C1]),tr=(0,Le.useCallback)(()=>{if(!C.current)return;let Y1=C.current.getElementsByClassName("task-list-item-checkbox");for(let Q1=0;Q1<Y1.length;Q1++){let ze=Y1[Q1],Re=ze.parentElement;Re&&Re.tagName!=="LI"&&(Re=Re.parentElement),Re?.tagName==="LI"&&(Re.classList.add("task-list-item"),ze.onclick=it=>{it.preventDefault(),ze.checked?ze.setAttribute("checked",""):ze.removeAttribute("checked");let At=QV(ze);typeof At=="number"&&C1("clickTaskListCheckbox",[n.current,At])})}},[C1]),na=(0,Le.useCallback)(Y1=>{Ci(null);let Q1=Y1.querySelectorAll("[data-source-line]"),ze=new Set,Re=new Map;u.current=new Map,c.current=[];let it=new Set,ft=(At,oe)=>{if(it.add(oe),At.length===0)return;let m1=At[0],se=new Set([oe]);for(let[Ce,Gt]of u.current)m1.contains(Ce)&&Gt.forEach(gn=>{se.add(gn)});At.forEach(Ce=>{if(ze.has(Ce)){let Gt=u.current.get(Ce);Gt&&Gt.forEach(gn=>{se.add(gn)});return}else ze.add(Ce);Ce.addEventListener("mouseover",Gt=>{Gt.stopPropagation(),X(!0),Array.from(document.getElementsByClassName("highlight-line")).forEach(Ro=>{Ro.classList.remove("highlight-line")}),At.forEach(Ro=>{Ro.classList.add("highlight-line")}),Ci(m1)}),Ce.addEventListener("mouseout",Gt=>{Gt.stopPropagation(),At.forEach(gn=>{gn.classList.remove("highlight-line"),gn.classList.remove("highlight-active")}),Ci(null)})}),u.current.set(m1,Array.from(se).sort((Ce,Gt)=>Ce-Gt))};for(let At=Q1.length-1;At>=0;At--){let oe=Q1[At],m1=QV(oe)??0;if(m1>i.current)return;if(oe.tagName!=="A"){if(oe.tagName==="PRE"&&oe.parentElement?.classList.contains("input-div")&&oe.parentElement.parentElement?.classList.contains("code-chunk")){let se=oe.parentElement.parentElement;se&&(ft([se],m1),Re.set(oe,se))}else if(oe.tagName==="IMG"||oe.tagName==="A"){let se=oe.parentElement;se&&(ft([se],m1),Re.set(oe,se))}else ft([oe],m1),Re.set(oe,oe.parentElement?.tagName==="P"?oe.parentElement:oe);if(At==0){let se=[],Ce=Re.get(oe)?.previousElementSibling;for(;Ce;)Ce.tagName==="P"&&Ce.innerHTML===""||se.push(Ce),Ce=Ce.previousElementSibling;ft(se,0)}if(At<Q1.length-1)for(let se=At+1;se<Q1.length;se++){let Ce=Q1[se],Gt=Re.get(oe),gn=Re.get(Ce);if(Gt&&gn&&Gt!==gn&&Gt.parentElement===gn.parentElement){let Ro=[],Fi=Gt.nextElementSibling;for(;Fi&&Fi!==gn;)Fi.tagName==="P"&&Fi.innerHTML===""||Ro.push(Fi),Fi=Fi.nextElementSibling;ft(Ro,m1);break}}}}c.current=Array.from(it).sort((At,oe)=>At-oe)},[]),C5=(0,Le.useCallback)((Y1,Q1,ze)=>{if(!(!C.current||!p.current)){if(Rt)return C1("refreshPreview",[n.current]);{r.current=Date.now()+500,p.current.innerHTML=Y1;let Re=Mu();Kt().then(()=>{C.current&&(o.current=null,On(Array.from(C.current.getElementsByTagName("a"))),tr(),na(C.current),C.current.id=Q1||"",C.current.setAttribute("class",`crossnote markdown-preview ${ze}`),l.current?(l.current=!1,B(!1),ro(t.current),setTimeout(()=>{o.current=null},2e3)):vu(Re))})}}},[On,tr,na,Kt,Rt,C1,ro]),n2=(0,Le.useCallback)((Y1=!1)=>{S&&!Rt&&(C1("showBacklinks",[{uri:n.current,forceRefreshingNotes:Y1,backlinksSha:g.current}]),ke(!0),H.current&&!Mi.alwaysShowBacklinksInPreview&&H.current.scrollIntoView())},[Mi.alwaysShowBacklinksInPreview,Rt,C1,S]),J0=(0,Le.useCallback)(()=>{let Y1=document.getElementsByTagName("section"),Q1=0;for(let ze=0;ze<Y1.length;ze++){let Re=Y1[ze];if(Re.hasAttribute("data-source-line")){let it=QV(Re)??0,ft=parseInt(Re.getAttribute("data-h")??"0",10),At=parseInt(Re.getAttribute("data-v")??"0",10);d.current.push({line:it,h:ft,v:At,offset:Q1}),Q1+=1}}},[]),fn=(0,Le.useCallback)(async()=>{if(!C.current)return;window.initRevealPresentation&&await window.initRevealPresentation();let Y1=window.Reveal.getCurrentSlide();Y1.style.visibility="hidden",J0(),window.Reveal.addEventListener("slidetransitionend",()=>{window.Reveal.layout()}),window.Reveal.addEventListener("slidechanged",Q1=>{if(Date.now()<r.current)return;let{indexh:ze,indexv:Re}=Q1;for(let it of d.current){let{h:ft,v:At,line:oe}=it;ft===ze&&At===Re&&C1("revealLine",[n.current,oe+6])}}),window.Reveal.configure({transition:"none"}),ro(t.current),window.Reveal.configure({transition:"slide"}),window.Reveal.layout(),Y1&&(Y1.style.visibility="visible"),B(!1),no(),On(Array.from(C.current.getElementsByTagName("a"))),tr()},[On,tr,J0,C1,ro,no]),Ir=(0,Le.useCallback)(Y1=>{let Q1=Y1.data;if(!(!Q1||!C.current)){if(Q1.command==="updateHtml"){let{totalLineCount:ze,tocHTML:Re,sourceUri:it,sourceScheme:ft,markdown:At}=Q1;i.current=ze,A(Re),mn(At),n.current=it,e.current=ft,C5(Q1.html,Q1.id,Q1.class)}else if(Q1.command==="changeTextEditorSelection"&&(Mi.scrollSync||Q1.forced)){let ze=parseInt(Q1.line,10),Re=parseFloat(Q1.topRatio);isNaN(Re)&&(Re=.372),t.current!==ze&&ro(ze,Re)}else if(Q1.command!=="startParsingMarkdown"){if(Q1.command==="openImageHelper")V(!0);else if(Q1.command==="runAllCodeChunks")vi();else if(Q1.command==="runCodeChunk")Ki();else if(Q1.command!=="escPressed")if(Q1.command==="previewSyncSource")n1();else if(Q1.command==="copy")document.execCommand("copy");else if(Q1.command==="zommIn")ee();else if(Q1.command==="zoomOut")ue();else if(Q1.command==="resetZoom")Ve();else if(Q1.command==="scrollPreviewToTop")Rt?window.Reveal.slide(0):vu(0);else if(Q1.command==="backlinks"){let{backlinks:ze,hasUpdate:Re,sourceUri:it}=Q1;n.current===it&&Re&&ve(ze),ke(!1)}else(Q1.command==="updatedNote"||Q1.command==="createdNote"||Q1.command==="deletedNote")&&n2()}}},[Mi.scrollSync,Rt,n1,n2,Ve,vi,Ki,ro,C5,ee,ue]),ra=(0,Le.useCallback)(Y1=>{if(C.current){if(Y1.shiftKey&&Y1.ctrlKey&&Y1.which===83)return n1();Y1.metaKey||Y1.ctrlKey?Y1.which===67?document.execCommand("copy"):Y1.which===187&&!hr?ee():Y1.which===189&&!hr?ue():Y1.which===48&&!hr?Ve():Y1.which===38&&(Rt?window.Reveal.slide(0):vu(0)):Y1.which===27&&W(Y1)}},[W,Rt,hr,n1,Ve,ee,ue]),Da=(0,Le.useCallback)(()=>{o.current=null},[]),jH=(0,Le.useCallback)(Y1=>{let Q1=u.current.get(Y1);if(!Q1)return null;let ze=Q1[0],Re=c.current.indexOf(Q1.at(-1)??ze),it=c.current[Re+1]??i.current;return[ze,it]},[]);return(0,Le.useEffect)(()=>{n.current=Mi.sourceUri,t.current=Mi.cursorLine??Number.parseInt(sessionStorage.getItem(`crossnote.cursorLine.${n.current}`)??"0")??0,e1(Mi.zoomLevel??1),sessionStorage.setItem(`crossnote.cursorLine.${n.current}`,t.current.toString())},[Mi]),(0,Le.useEffect)(()=>{_?(document.body.classList.add("show-sidebar-toc"),m.current&&(M.length>0?(m.current.innerHTML=M,On(Array.from(m.current.getElementsByTagName("a")))):m.current.innerHTML='<p style="text-align:center;font-style: italic;">Outline (empty)</p>')):document.body.classList.remove("show-sidebar-toc")},[_,M,On]),(0,Le.useEffect)(()=>{n2()},[n2]),(0,Le.useEffect)(()=>{g.current=(0,XV.SHA256)(JSON.stringify(x1)).toString()},[x1]),(0,Le.useEffect)(()=>{I(!!Mi.alwaysShowBacklinksInPreview)},[Mi.alwaysShowBacklinksInPreview]),(0,Le.useEffect)(()=>(document.addEventListener("keydown",ra),()=>{document.removeEventListener("keydown",ra)}),[ra]),(0,Le.useEffect)(()=>(window.addEventListener("resize",Da),()=>{window.removeEventListener("resize",Da)}),[Da]),(0,Le.useEffect)(()=>(window.addEventListener("message",Ir),()=>{window.removeEventListener("message",Ir)}),[Ir]),(0,Le.useEffect)(()=>{let Y1=C.current;return!Rt&&Y1&&window.addEventListener("scroll",w1),()=>{!Rt&&Y1&&window.removeEventListener("scroll",w1)}},[Rt,w1]),(0,Le.useEffect)(()=>{hr||C1("setZoomLevel",[n.current,G])},[hr,C1,G]),(0,Le.useEffect)(()=>{if(!C.current||!p.current||!n.current)return;if(document.body.hasAttribute("data-html")&&(C.current.innerHTML=document.body.getAttribute("data-html")??"",document.body.removeAttribute("data-html"),Y(C.current.innerHTML)),document.body.hasAttribute("data-markdown")){let Q1=document.body.getAttribute("data-markdown")??"";mn(Q1)}if(Rt)Mi.scrollSync=!0,fn();else{let Q1=window.matchMedia("(prefers-color-scheme: dark)").matches;C1("webviewFinishLoading",[{uri:n.current,systemColorScheme:Q1?"dark":"light"}])}let Y1=document.createElement("base");n.current&&(Y1.href=n.current),document.head.appendChild(Y1)},[Mi,fn,Rt,C1]),(0,Le.useEffect)(()=>{if(C.current){let Y1=a61(document.body);s1(Y1?"light":"dark"),document.body.setAttribute("data-preview-theme",Y1?"light":"dark")}},[Mi.previewTheme,Mi.revealjsTheme,Mi.codeBlockTheme,Mi.globalCss,d1]),(0,Le.useEffect)(()=>{window.setHighlightElement=function(Y1){Y1.classList.add("highlight-line"),Ci(Y1)}},[]),(0,Le.useEffect)(()=>{if(fe)return fe.classList.add("highlight-element-being-edited"),()=>{fe.classList.remove("highlight-element-being-edited")}},[fe]),{backlinks:x1,backlinksElement:H,bindAnchorElementsClickEvent:On,clickSidebarTocButton:q,config:Mi,contextMenuId:b1,getHighlightElementLineRange:jH,hiddenPreviewElement:p,highlightElement:$e,highlightElementBeingEdited:fe,isLoadingBacklinks:Vt,isLoadingPreview:R,isMobile:t1,isMouseOverPreview:Q,isPresentationMode:Rt,isRefreshingPreview:P,isVSCode:hr,isVSCodeWebExtension:gr,markdown:rn,markdownEditorExpanded:Dr,postMessage:C1,previewElement:C,previewSyncSource:n1,refreshBacklinks:n2,setHighlightElementBeingEdited:qi,setIsMouseOverPreview:X,setMarkdownEditorExpanded:jr,setShowBacklinks:I,setShowImageHelper:V,showBacklinks:S,showContextMenu:f1,showImageHelper:L,showSidebarToc:_,sidebarTocElement:m,sidebarTocHtml:M,sourceScheme:e,sourceUri:n,theme:h1,zoomLevel:G}}),qr=JO1;var rm=Dt(Hn(),1);function eR1({title:n,titleId:e,...t},i){return rm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?rm.createElement("title",{id:e},n):null,rm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"}))}var tR1=rm.forwardRef(eR1),JV=tR1;var om=Dt(Hn(),1);function iR1({title:n,titleId:e,...t},i){return om.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?om.createElement("title",{id:e},n):null,om.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}var nR1=om.forwardRef(iR1),PK=nR1;var sm=Dt(Hn(),1);function rR1({title:n,titleId:e,...t},i){return sm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?sm.createElement("title",{id:e},n):null,sm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"}))}var oR1=sm.forwardRef(rR1),FK=oR1;var am=Dt(Hn(),1);function sR1({title:n,titleId:e,...t},i){return am.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?am.createElement("title",{id:e},n):null,am.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"}))}var aR1=am.forwardRef(sR1),BK=aR1;var lm=Dt(Hn(),1);function lR1({title:n,titleId:e,...t},i){return lm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?lm.createElement("title",{id:e},n):null,lm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zM3.75 12h.007v.008H3.75V12zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm-.375 5.25h.007v.008H3.75v-.008zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"}))}var dR1=lm.forwardRef(lR1),ZK=dR1;var Ak="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z";var d61="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z";var Sk="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var c61="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z";var u61="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z";var zK="M23,12L19,8V11H10V13H19V16M1,18V6C1,4.89 1.9,4 3,4H15A2,2 0 0,1 17,6V9H15V6H3V18H15V15H17V18A2,2 0 0,1 15,20H3A2,2 0 0,1 1,18Z",eM="M12,1L8,5H11V14H13V5H16M18,23H6C4.89,23 4,22.1 4,21V9A2,2 0 0,1 6,7H9V9H6V21H18V9H15V7H18A2,2 0 0,1 20,9V21A2,2 0 0,1 18,23Z";var h61="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z";var C61="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z";var wk="M12 2A10 10 0 1 1 2 12A10 10 0 0 1 12 2Z";var yk="M12 20A8 8 0 1 1 20 12A8 8 0 0 1 12 20M12 2A10 10 0 1 0 22 12A10 10 0 0 0 12 2Z";var kk="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z";var Ek="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2C17.5,2 22,6 22,11A6,6 0 0,1 16,17H14.2C13.9,17 13.7,17.2 13.7,17.5C13.7,17.6 13.8,17.7 13.8,17.8C14.2,18.3 14.4,18.9 14.4,19.5C14.5,20.9 13.4,22 12,22M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C12.3,20 12.5,19.8 12.5,19.5C12.5,19.3 12.4,19.2 12.4,19.1C12,18.6 11.8,18.1 11.8,17.5C11.8,16.1 12.9,15 14.3,15H16A4,4 0 0,0 20,11C20,7.1 16.4,4 12,4M6.5,10C7.3,10 8,10.7 8,11.5C8,12.3 7.3,13 6.5,13C5.7,13 5,12.3 5,11.5C5,10.7 5.7,10 6.5,10M9.5,6C10.3,6 11,6.7 11,7.5C11,8.3 10.3,9 9.5,9C8.7,9 8,8.3 8,7.5C8,6.7 8.7,6 9.5,6M14.5,6C15.3,6 16,6.7 16,7.5C16,8.3 15.3,9 14.5,9C13.7,9 13,8.3 13,7.5C13,6.7 13.7,6 14.5,6M17.5,10C18.3,10 19,10.7 19,11.5C19,12.3 18.3,13 17.5,13C16.7,13 16,12.3 16,11.5C16,10.7 16.7,10 17.5,10Z";var Dk="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";var p61="M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z";var m61="M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12M8.8,14L10,12.8V4H14V12.8L15.2,14H8.8Z";var f61="M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z";var g61="M16.59,5.41L15.17,4L12,7.17L8.83,4L7.41,5.41L12,10M7.41,18.59L8.83,20L12,16.83L15.17,20L16.58,18.59L12,14L7.41,18.59Z";var L61="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z";var Ik=Dt(tM()),k61=Dt(C9()),Vn=Dt(Hn());var w61;(()=>{"use strict";var n={470:r=>{function o(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function s(l,d){for(var c,u="",h=0,C=-1,p=0,m=0;m<=l.length;++m){if(m<l.length)c=l.charCodeAt(m);else{if(c===47)break;c=47}if(c===47){if(!(C===m-1||p===1))if(C!==m-1&&p===2){if(u.length<2||h!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var H=u.lastIndexOf("/");if(H!==u.length-1){H===-1?(u="",h=0):h=(u=u.slice(0,H)).length-1-u.lastIndexOf("/"),C=m,p=0;continue}}else if(u.length===2||u.length===1){u="",h=0,C=m,p=0;continue}}d&&(u.length>0?u+="/..":u="..",h=2)}else u.length>0?u+="/"+l.slice(C+1,m):u=l.slice(C+1,m),h=m-C-1;C=m,p=0}else c===46&&p!==-1?++p:p=-1}return u}var a={resolve:function(){for(var l,d="",c=!1,u=arguments.length-1;u>=-1&&!c;u--){var h;u>=0?h=arguments[u]:(l===void 0&&(l=process.cwd()),h=l),o(h),h.length!==0&&(d=h+"/"+d,c=h.charCodeAt(0)===47)}return d=s(d,!c),c?d.length>0?"/"+d:"/":d.length>0?d:"."},normalize:function(l){if(o(l),l.length===0)return".";var d=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=s(l,!d)).length!==0||d||(l="."),l.length>0&&c&&(l+="/"),d?"/"+l:l},isAbsolute:function(l){return o(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,d=0;d<arguments.length;++d){var c=arguments[d];o(c),c.length>0&&(l===void 0?l=c:l+="/"+c)}return l===void 0?".":a.normalize(l)},relative:function(l,d){if(o(l),o(d),l===d||(l=a.resolve(l))===(d=a.resolve(d)))return"";for(var c=1;c<l.length&&l.charCodeAt(c)===47;++c);for(var u=l.length,h=u-c,C=1;C<d.length&&d.charCodeAt(C)===47;++C);for(var p=d.length-C,m=h<p?h:p,H=-1,g=0;g<=m;++g){if(g===m){if(p>m){if(d.charCodeAt(C+g)===47)return d.slice(C+g+1);if(g===0)return d.slice(C+g)}else h>m&&(l.charCodeAt(c+g)===47?H=g:g===0&&(H=0));break}var L=l.charCodeAt(c+g);if(L!==d.charCodeAt(C+g))break;L===47&&(H=g)}var V="";for(g=c+H+1;g<=u;++g)g!==u&&l.charCodeAt(g)!==47||(V.length===0?V+="..":V+="/..");return V.length>0?V+d.slice(C+H):(C+=H,d.charCodeAt(C)===47&&++C,d.slice(C))},_makeLong:function(l){return l},dirname:function(l){if(o(l),l.length===0)return".";for(var d=l.charCodeAt(0),c=d===47,u=-1,h=!0,C=l.length-1;C>=1;--C)if((d=l.charCodeAt(C))===47){if(!h){u=C;break}}else h=!1;return u===-1?c?"/":".":c&&u===1?"//":l.slice(0,u)},basename:function(l,d){if(d!==void 0&&typeof d!="string")throw new TypeError('"ext" argument must be a string');o(l);var c,u=0,h=-1,C=!0;if(d!==void 0&&d.length>0&&d.length<=l.length){if(d.length===l.length&&d===l)return"";var p=d.length-1,m=-1;for(c=l.length-1;c>=0;--c){var H=l.charCodeAt(c);if(H===47){if(!C){u=c+1;break}}else m===-1&&(C=!1,m=c+1),p>=0&&(H===d.charCodeAt(p)?--p==-1&&(h=c):(p=-1,h=m))}return u===h?h=m:h===-1&&(h=l.length),l.slice(u,h)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!C){u=c+1;break}}else h===-1&&(C=!1,h=c+1);return h===-1?"":l.slice(u,h)},extname:function(l){o(l);for(var d=-1,c=0,u=-1,h=!0,C=0,p=l.length-1;p>=0;--p){var m=l.charCodeAt(p);if(m!==47)u===-1&&(h=!1,u=p+1),m===46?d===-1?d=p:C!==1&&(C=1):d!==-1&&(C=-1);else if(!h){c=p+1;break}}return d===-1||u===-1||C===0||C===1&&d===u-1&&d===c+1?"":l.slice(d,u)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(d,c){var u=c.dir||c.root,h=c.base||(c.name||"")+(c.ext||"");return u?u===c.root?u+h:u+"/"+h:h}(0,l)},parse:function(l){o(l);var d={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return d;var c,u=l.charCodeAt(0),h=u===47;h?(d.root="/",c=1):c=0;for(var C=-1,p=0,m=-1,H=!0,g=l.length-1,L=0;g>=c;--g)if((u=l.charCodeAt(g))!==47)m===-1&&(H=!1,m=g+1),u===46?C===-1?C=g:L!==1&&(L=1):C!==-1&&(L=-1);else if(!H){p=g+1;break}return C===-1||m===-1||L===0||L===1&&C===m-1&&C===p+1?m!==-1&&(d.base=d.name=p===0&&h?l.slice(1,m):l.slice(p,m)):(p===0&&h?(d.name=l.slice(1,C),d.base=l.slice(1,m)):(d.name=l.slice(p,C),d.base=l.slice(p,m)),d.ext=l.slice(C,m)),p>0?d.dir=l.slice(0,p-1):h&&(d.dir="/"),d},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,r.exports=a}},e={};function t(r){var o=e[r];if(o!==void 0)return o.exports;var s=e[r]={exports:{}};return n[r](s,s.exports,t),s.exports}t.d=(r,o)=>{for(var s in o)t.o(o,s)&&!t.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:o[s]})},t.o=(r,o)=>Object.prototype.hasOwnProperty.call(r,o),t.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{var r;if(t.r(i),t.d(i,{URI:()=>H,Utils:()=>T}),typeof process=="object")r=process.platform==="win32";else if(typeof navigator=="object"){var o=navigator.userAgent;r=o.indexOf("Windows")>=0}var s,a,l=(s=function(Q,X){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d1,Y){d1.__proto__=Y}||function(d1,Y){for(var h1 in Y)Object.prototype.hasOwnProperty.call(Y,h1)&&(d1[h1]=Y[h1])},s(Q,X)},function(Q,X){if(typeof X!="function"&&X!==null)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function d1(){this.constructor=Q}s(Q,X),Q.prototype=X===null?Object.create(X):(d1.prototype=X.prototype,new d1)}),d=/^\w[\w\d+.-]*$/,c=/^\//,u=/^\/\//;function h(Q,X){if(!Q.scheme&&X)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(Q.authority,'", path: "').concat(Q.path,'", query: "').concat(Q.query,'", fragment: "').concat(Q.fragment,'"}'));if(Q.scheme&&!d.test(Q.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Q.path){if(Q.authority){if(!c.test(Q.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(u.test(Q.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var C="",p="/",m=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,H=function(){function Q(X,d1,Y,h1,s1,t1){t1===void 0&&(t1=!1),typeof X=="object"?(this.scheme=X.scheme||C,this.authority=X.authority||C,this.path=X.path||C,this.query=X.query||C,this.fragment=X.fragment||C):(this.scheme=function(x1,ve){return x1||ve?x1:"file"}(X,t1),this.authority=d1||C,this.path=function(x1,ve){switch(x1){case"https":case"http":case"file":ve?ve[0]!==p&&(ve=p+ve):ve=p}return ve}(this.scheme,Y||C),this.query=h1||C,this.fragment=s1||C,h(this,t1))}return Q.isUri=function(X){return X instanceof Q||!!X&&typeof X.authority=="string"&&typeof X.fragment=="string"&&typeof X.path=="string"&&typeof X.query=="string"&&typeof X.scheme=="string"&&typeof X.fsPath=="string"&&typeof X.with=="function"&&typeof X.toString=="function"},Object.defineProperty(Q.prototype,"fsPath",{get:function(){return M(this,!1)},enumerable:!1,configurable:!0}),Q.prototype.with=function(X){if(!X)return this;var d1=X.scheme,Y=X.authority,h1=X.path,s1=X.query,t1=X.fragment;return d1===void 0?d1=this.scheme:d1===null&&(d1=C),Y===void 0?Y=this.authority:Y===null&&(Y=C),h1===void 0?h1=this.path:h1===null&&(h1=C),s1===void 0?s1=this.query:s1===null&&(s1=C),t1===void 0?t1=this.fragment:t1===null&&(t1=C),d1===this.scheme&&Y===this.authority&&h1===this.path&&s1===this.query&&t1===this.fragment?this:new L(d1,Y,h1,s1,t1)},Q.parse=function(X,d1){d1===void 0&&(d1=!1);var Y=m.exec(X);return Y?new L(Y[2]||C,P(Y[4]||C),P(Y[5]||C),P(Y[7]||C),P(Y[9]||C),d1):new L(C,C,C,C,C)},Q.file=function(X){var d1=C;if(r&&(X=X.replace(/\\/g,p)),X[0]===p&&X[1]===p){var Y=X.indexOf(p,2);Y===-1?(d1=X.substring(2),X=p):(d1=X.substring(2,Y),X=X.substring(Y)||p)}return new L("file",d1,X,C,C)},Q.from=function(X){var d1=new L(X.scheme,X.authority,X.path,X.query,X.fragment);return h(d1,!0),d1},Q.prototype.toString=function(X){return X===void 0&&(X=!1),A(this,X)},Q.prototype.toJSON=function(){return this},Q.revive=function(X){if(X){if(X instanceof Q)return X;var d1=new L(X);return d1._formatted=X.external,d1._fsPath=X._sep===g?X.fsPath:null,d1}return X},Q}(),g=r?1:void 0,L=function(Q){function X(){var d1=Q!==null&&Q.apply(this,arguments)||this;return d1._formatted=null,d1._fsPath=null,d1}return l(X,Q),Object.defineProperty(X.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=M(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),X.prototype.toString=function(d1){return d1===void 0&&(d1=!1),d1?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)},X.prototype.toJSON=function(){var d1={$mid:1};return this._fsPath&&(d1.fsPath=this._fsPath,d1._sep=g),this._formatted&&(d1.external=this._formatted),this.path&&(d1.path=this.path),this.scheme&&(d1.scheme=this.scheme),this.authority&&(d1.authority=this.authority),this.query&&(d1.query=this.query),this.fragment&&(d1.fragment=this.fragment),d1},X}(H),V=((a={})[58]="%3A",a[47]="%2F",a[63]="%3F",a[35]="%23",a[91]="%5B",a[93]="%5D",a[64]="%40",a[33]="%21",a[36]="%24",a[38]="%26",a[39]="%27",a[40]="%28",a[41]="%29",a[42]="%2A",a[43]="%2B",a[44]="%2C",a[59]="%3B",a[61]="%3D",a[32]="%20",a);function _(Q,X,d1){for(var Y=void 0,h1=-1,s1=0;s1<Q.length;s1++){var t1=Q.charCodeAt(s1);if(t1>=97&&t1<=122||t1>=65&&t1<=90||t1>=48&&t1<=57||t1===45||t1===46||t1===95||t1===126||X&&t1===47||d1&&t1===91||d1&&t1===93||d1&&t1===58)h1!==-1&&(Y+=encodeURIComponent(Q.substring(h1,s1)),h1=-1),Y!==void 0&&(Y+=Q.charAt(s1));else{Y===void 0&&(Y=Q.substr(0,s1));var x1=V[t1];x1!==void 0?(h1!==-1&&(Y+=encodeURIComponent(Q.substring(h1,s1)),h1=-1),Y+=x1):h1===-1&&(h1=s1)}}return h1!==-1&&(Y+=encodeURIComponent(Q.substring(h1))),Y!==void 0?Y:Q}function b(Q){for(var X=void 0,d1=0;d1<Q.length;d1++){var Y=Q.charCodeAt(d1);Y===35||Y===63?(X===void 0&&(X=Q.substr(0,d1)),X+=V[Y]):X!==void 0&&(X+=Q[d1])}return X!==void 0?X:Q}function M(Q,X){var d1;return d1=Q.authority&&Q.path.length>1&&Q.scheme==="file"?"//".concat(Q.authority).concat(Q.path):Q.path.charCodeAt(0)===47&&(Q.path.charCodeAt(1)>=65&&Q.path.charCodeAt(1)<=90||Q.path.charCodeAt(1)>=97&&Q.path.charCodeAt(1)<=122)&&Q.path.charCodeAt(2)===58?X?Q.path.substr(1):Q.path[1].toLowerCase()+Q.path.substr(2):Q.path,r&&(d1=d1.replace(/\//g,"\\")),d1}function A(Q,X){var d1=X?b:_,Y="",h1=Q.scheme,s1=Q.authority,t1=Q.path,x1=Q.query,ve=Q.fragment;if(h1&&(Y+=h1,Y+=":"),(s1||h1==="file")&&(Y+=p,Y+=p),s1){var Vt=s1.indexOf("@");if(Vt!==-1){var ke=s1.substr(0,Vt);s1=s1.substr(Vt+1),(Vt=ke.lastIndexOf(":"))===-1?Y+=d1(ke,!1,!1):(Y+=d1(ke.substr(0,Vt),!1,!1),Y+=":",Y+=d1(ke.substr(Vt+1),!1,!0)),Y+="@"}(Vt=(s1=s1.toLowerCase()).lastIndexOf(":"))===-1?Y+=d1(s1,!1,!0):(Y+=d1(s1.substr(0,Vt),!1,!0),Y+=s1.substr(Vt))}if(t1){if(t1.length>=3&&t1.charCodeAt(0)===47&&t1.charCodeAt(2)===58)($e=t1.charCodeAt(1))>=65&&$e<=90&&(t1="/".concat(String.fromCharCode($e+32),":").concat(t1.substr(3)));else if(t1.length>=2&&t1.charCodeAt(1)===58){var $e;($e=t1.charCodeAt(0))>=65&&$e<=90&&(t1="".concat(String.fromCharCode($e+32),":").concat(t1.substr(2)))}Y+=d1(t1,!0,!1)}return x1&&(Y+="?",Y+=d1(x1,!1,!1)),ve&&(Y+="#",Y+=X?ve:_(ve,!1,!1)),Y}function S(Q){try{return decodeURIComponent(Q)}catch{return Q.length>3?Q.substr(0,3)+S(Q.substr(3)):Q}}var I=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function P(Q){return Q.match(I)?Q.replace(I,function(X){return S(X)}):Q}var T,R=t(470),B=function(Q,X,d1){if(d1||arguments.length===2)for(var Y,h1=0,s1=X.length;h1<s1;h1++)!Y&&h1 in X||(Y||(Y=Array.prototype.slice.call(X,0,h1)),Y[h1]=X[h1]);return Q.concat(Y||Array.prototype.slice.call(X))},G=R.posix||R,e1="/";(function(Q){Q.joinPath=function(X){for(var d1=[],Y=1;Y<arguments.length;Y++)d1[Y-1]=arguments[Y];return X.with({path:G.join.apply(G,B([X.path],d1,!1))})},Q.resolvePath=function(X){for(var d1=[],Y=1;Y<arguments.length;Y++)d1[Y-1]=arguments[Y];var h1=X.path,s1=!1;h1[0]!==e1&&(h1=e1+h1,s1=!0);var t1=G.resolve.apply(G,B([h1],d1,!1));return s1&&t1[0]===e1&&!X.authority&&(t1=t1.substring(1)),X.with({path:t1})},Q.dirname=function(X){if(X.path.length===0||X.path===e1)return X;var d1=G.dirname(X.path);return d1.length===1&&d1.charCodeAt(0)===46&&(d1=""),X.with({path:d1})},Q.basename=function(X){return G.basename(X.path)},Q.extname=function(X){return G.extname(X.path)}})(T||(T={}))})(),w61=i})();var{URI:WK,Utils:y61}=w61;function UK(){let{backlinks:n,isLoadingBacklinks:e,backlinksElement:t,refreshBacklinks:i,bindAnchorElementsClickEvent:r,theme:o,config:s,postMessage:a,sourceUri:l}=qr.useContainer(),[d]=(0,Vn.useState)("modifiedAt"),[c]=(0,Vn.useState)("desc"),[u,h]=(0,Vn.useState)([]),C=(0,Vn.useMemo)(()=>u.reduce((p,{referenceHtmls:m})=>p+m.length,0),[u]);return(0,Vn.useEffect)(()=>{!t.current||e||r(Array.from(t.current.getElementsByTagName("a")))},[u,r,t,e]),(0,Vn.useEffect)(()=>{let p=[...n].sort((m,H)=>{let g=m.note,L=H.note;return d==="createdAt"?c==="asc"?new Date(g.config?.createdAt??0).getTime()-new Date(L.config?.createdAt??0).getTime():new Date(L.config?.createdAt??0).getTime()-new Date(g.config?.createdAt??0).getTime():d==="modifiedAt"?c==="asc"?new Date(g.config?.modifiedAt??0).getTime()-new Date(L.config?.modifiedAt??0).getTime():new Date(L.config?.modifiedAt??0).getTime()-new Date(g.config?.modifiedAt??0).getTime():0});h(p)},[n,d,c]),Vn.default.createElement("div",{className:"markdown-preview p-[2em] pb-48 backlinks relative select-none",ref:t},Vn.default.createElement("hr",null),Vn.default.createElement("div",{className:"flex flex-row items-center justify-between mb-4"},e?Vn.default.createElement("strong",null,"Backlinks"):Vn.default.createElement(Vn.default.Fragment,null,Vn.default.createElement("strong",null,Vn.default.createElement("span",{className:"font-light"},C)," ","Backlinks"),Vn.default.createElement("div",{className:(0,k61.default)("flex flex-row items-center bg-transparent"),"data-theme":o},Vn.default.createElement("div",{className:"p-2 cursor-pointer hover:text-primary",title:'Toggle "Always show backlinks in preview"',onClick:()=>{a("toggleAlwaysShowBacklinksInPreview",[l.current,!s.alwaysShowBacklinksInPreview])}},s.alwaysShowBacklinksInPreview?Vn.default.createElement(Ik.default,{className:"text-primary",path:p61,size:1}):Vn.default.createElement(Ik.default,{path:m61,size:1})),Vn.default.createElement("div",{className:"p-2 cursor-pointer hover:text-primary",onClick:()=>i(!0),title:"Refresh backlinks"},Vn.default.createElement(JV,{className:"w-5 h-5"}))))),e?Vn.default.createElement("div",{className:"loading"},"Loading..."):Vn.default.createElement("div",null,u.map(({note:p,referenceHtmls:m,references:H})=>{if(!p.notebookPath||!p.filePath)return;let g=y61.joinPath(WK.from(p.notebookPath),p.filePath);return Vn.default.createElement("div",{className:"backlink",key:`backlink-${p.filePath}`},Vn.default.createElement("a",{className:"note",href:g.toString(),title:p.filePath},p.title),Vn.default.createElement("ul",{className:"list-disc"},m.map((L,V)=>{let _=H[V],b=(_.parentToken?.map??_.token?.map??[])[0];if(!p.notebookPath||!p.filePath)return;let M=WK.from({...g,fragment:typeof b=="number"?`L${b}`:g.fragment}).toString();return Vn.default.createElement("li",{className:"list-none",key:`reference-${p.filePath}-${L}`},Vn.default.createElement("div",{className:"inline-flex"},Vn.default.createElement("a",{href:M,className:"mr-2 mt-1 text-inherit hover:text-primary",title:M},Vn.default.createElement(Ik.default,{path:kk,size:.8})),Vn.default.createElement("div",{dangerouslySetInnerHTML:{__html:L}})))})))})))}var Kr=Dt(tM()),H1=Dt(Hn());function jK(){let{config:n,contextMenuId:e,isVSCode:t,isVSCodeWebExtension:i,highlightElementBeingEdited:r,postMessage:o,previewSyncSource:s,setHighlightElementBeingEdited:a,setMarkdownEditorExpanded:l,setShowImageHelper:d,sourceUri:c,theme:u,isPresentationMode:h}=qr.useContainer(),C=(0,H1.useCallback)(({id:p})=>{switch(p){case"open-in-browser":{o("openInBrowser",[c.current]);break}case"export-html-offline":{o("htmlExport",[c.current,!0]);break}case"export-html-cdn":{o("htmlExport",[c.current,!1]);break}case"export-chrome-pdf":{o("chromeExport",[c.current,"pdf"]);break}case"export-chrome-png":{o("chromeExport",[c.current,"png"]);break}case"export-chrome-jpeg":{o("chromeExport",[c.current,"jpeg"]);break}case"export-prince":{o("princeExport",[c.current]);break}case"export-ebook-epub":{o("eBookExport",[c.current,"epub"]);break}case"export-ebook-mobi":{o("eBookExport",[c.current,"mobi"]);break}case"export-ebook-pdf":{o("eBookExport",[c.current,"pdf"]);break}case"export-ebook-html":{o("eBookExport",[c.current,"html"]);break}case"export-pandoc":{o("pandocExport",[c.current]);break}case"export-markdown":{o("markdownExport",[c.current]);break}case"open-image-helper":{d(!0);break}case"sync-source":{s();break}case"select-preview-theme-atom-dark":case"select-preview-theme-atom-light":case"select-preview-theme-atom-material":case"select-preview-theme-github-dark":case"select-preview-theme-github-light":case"select-preview-theme-gothic":case"select-preview-theme-medium":case"select-preview-theme-monokai":case"select-preview-theme-newsprint":case"select-preview-theme-night":case"select-preview-theme-none":case"select-preview-theme-one-dark":case"select-preview-theme-one-light":case"select-preview-theme-solarized-dark":case"select-preview-theme-solarized-light":case"select-preview-theme-vue":{o("setPreviewTheme",[c.current,`${p.replace("select-preview-theme-","")}.css`]);break}case"select-code-block-theme-auto":case"select-code-block-theme-default":case"select-code-block-theme-atom-dark":case"select-code-block-theme-atom-light":case"select-code-block-theme-atom-material":case"select-code-block-theme-coy":case"select-code-block-theme-darcula":case"select-code-block-theme-dark":case"select-code-block-theme-funky":case"select-code-block-theme-github":case"select-code-block-theme-github-dark":case"select-code-block-theme-hopscotch":case"select-code-block-theme-monokai":case"select-code-block-theme-okaidia":case"select-code-block-theme-one-dark":case"select-code-block-theme-one-light":case"select-code-block-theme-pen-paper-coffee":case"select-code-block-theme-pojoaque":case"select-code-block-theme-solarized-dark":case"select-code-block-theme-solarized-light":case"select-code-block-theme-twilight":case"select-code-block-theme-vue":case"select-code-block-theme-vs":case"select-code-block-theme-xonokai":{o("setCodeBlockTheme",[c.current,`${p.replace("select-code-block-theme-","")}.css`]);break}case"select-revealjs-theme-beige":case"select-revealjs-theme-black":case"select-revealjs-theme-blood":case"select-revealjs-theme-league":case"select-revealjs-theme-moon":case"select-revealjs-theme-night":case"select-revealjs-theme-none":case"select-revealjs-theme-serif":case"select-revealjs-theme-simple":case"select-revealjs-theme-sky":case"select-revealjs-theme-solarized":case"select-revealjs-theme-white":{o("setRevealjsTheme",[c.current,`${p.replace("select-revealjs-theme-","")}.css`]);break}case"open-external-editor":{o("openExternalEditor",[c.current]);break}case"open-documentation":{o("openDocumentation");break}case"open-changelog":{o("openChangelog");break}case"open-issues":{o("openIssues");break}case"open-sponsors":{o("openSponsors");break}default:break}},[o,s,d,c]);return H1.default.createElement("div",{"data-theme":u,className:"select-none"},H1.default.createElement(o61,{id:e,theme:u==="dark"?"dark":void 0},!i&&H1.default.createElement(H1.default.Fragment,null,H1.default.createElement(qe,{id:"open-in-browser",onClick:C},H1.default.createElement(Kr.default,{path:kk,size:.8,className:"mr-2"})," Open in Browser"),H1.default.createElement(Vu,null)),!i&&H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2"}),"HTML")},H1.default.createElement(qe,{id:"export-html-offline",onClick:C},"HTML (offline)"),H1.default.createElement(qe,{id:"export-html-cdn",onClick:C},"HTML (cdn hosted)")),!i&&H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:zK,size:.8,className:"mr-2 invisible"}),"Chrome (Puppeteer)")},H1.default.createElement(qe,{id:"export-chrome-pdf",onClick:C},"PDF"),H1.default.createElement(qe,{id:"export-chrome-png",onClick:C},"PNG"),H1.default.createElement(qe,{id:"export-chrome-jpeg",onClick:C},"JPEG")),!i&&H1.default.createElement(qe,{id:"export-prince",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2 invisible"}),"PDF (Prince)")),!i&&H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:zK,size:.8,className:"mr-2 invisible"}),"eBook")},H1.default.createElement(qe,{id:"export-ebook-epub",onClick:C},"ePub"),H1.default.createElement(qe,{id:"export-ebook-mobi",onClick:C},"Mobi"),H1.default.createElement(qe,{id:"export-ebook-pdf",onClick:C},"PDF"),H1.default.createElement(qe,{id:"export-ebook-html",onClick:C},"HTML")),!i&&H1.default.createElement(qe,{id:"export-pandoc",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2 invisible"}),"Pandoc")),!i&&H1.default.createElement(qe,{id:"export-markdown",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2 invisible"}),"Save as Markdown")),!i&&H1.default.createElement(Vu,null),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Dk,size:.8,className:"mr-2"}),"Edit Markdown")},H1.default.createElement(qe,{id:"open-external-editor",onClick:C},H1.default.createElement("span",null,t?"Open VS Code Editor":"Open External Editor")),!h&&H1.default.createElement(qe,{id:"open-in-preview-editor",onClick:()=>{let p=document.querySelector(".final-line");p&&(r&&r!==p?r.scrollIntoView({behavior:"smooth",inline:"start",block:"center"}):(l(!0),a(p)))}},H1.default.createElement("span",null,"Open In-preview Editor "))),!i&&H1.default.createElement(H1.default.Fragment,null,H1.default.createElement(Vu,null),H1.default.createElement(qe,{id:"open-image-helper",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:h61,size:.8,className:"mr-2"}),"Image Helper")),H1.default.createElement(Vu,null)),H1.default.createElement(qe,{id:"sync-source",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:f61,size:.8,className:"mr-2"}),"Sync Source")),H1.default.createElement(Vu,null),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ek,size:.8,className:"mr-2"}),"Preview Theme")},H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:yk,size:.8,className:"mr-2"}),"Light")},H1.default.createElement(qe,{id:"select-preview-theme-atom-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="atom-light.css"?"text-primary font-bold":""},"atom-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-github-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="github-light.css"?"text-primary font-bold":""},"github-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-gothic",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="gothic.css"?"text-primary font-bold":""},"gothic.css")),H1.default.createElement(qe,{id:"select-preview-theme-medium",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="medium.css"?"text-primary font-bold":""},"medium.css")),H1.default.createElement(qe,{id:"select-preview-theme-newsprint",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="newsprint.css"?"text-primary font-bold":""},"newsprint.css")),H1.default.createElement(qe,{id:"select-preview-theme-one-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="one-light.css"?"text-primary font-bold":""},"one-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-solarized-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="solarized-light.css"?"text-primary font-bold":""},"solarized-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-vue",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="vue.css"?"text-primary font-bold":""},"vue.css"))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:wk,size:.8,className:"mr-2"}),"Dark")},H1.default.createElement(qe,{id:"select-preview-theme-atom-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="atom-dark.css"?"text-primary font-bold":""},"atom-dark.css")),H1.default.createElement(qe,{id:"select-preview-theme-atom-material",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="atom-material.css"?"text-primary font-bold":""},"atom-material.css")),H1.default.createElement(qe,{id:"select-preview-theme-github-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="github-dark.css"?"text-primary font-bold":""},"github-dark.css")),H1.default.createElement(qe,{id:"select-preview-theme-monokai",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="monokai.css"?"text-primary font-bold":""},"monokai.css")),H1.default.createElement(qe,{id:"select-preview-theme-night",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="night.css"?"text-primary font-bold":""},"night.css")),H1.default.createElement(qe,{id:"select-preview-theme-one-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="one-dark.css"?"text-primary font-bold":""},"one-dark.css")),H1.default.createElement(qe,{id:"select-preview-theme-solarized-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="solarized-dark.css"?"text-primary font-bold":""},"solarized-dark.css"))),H1.default.createElement(qe,{id:"select-preview-theme-none",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ak,size:.8,className:"mr-2"}),H1.default.createElement("span",{className:n.previewTheme==="none.css"?"text-primary font-bold":""},"None")))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ek,size:.8,className:"mr-2 invisible"}),"Code Block Theme")},H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:yk,size:.8,className:"mr-2"}),"Light")},H1.default.createElement(qe,{id:"select-code-block-theme-default",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="default.css"?"text-primary font-bold":""},"default.css")),H1.default.createElement(qe,{id:"select-code-block-theme-atom-light",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="atom-light.css"?"text-primary font-bold":""},"atom-light.css")),H1.default.createElement(qe,{id:"select-code-block-theme-coy",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="coy.css"?"text-primary font-bold":""},"coy.css")),H1.default.createElement(qe,{id:"select-code-block-theme-funky",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="funky.css"?"text-primary font-bold":""},"funky.css")),H1.default.createElement(qe,{id:"select-code-block-theme-github",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="github.css"?"text-primary font-bold":""},"github.css")),H1.default.createElement(qe,{id:"select-code-block-theme-one-light",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="one-light.css"?"text-primary font-bold":""},"one-light.css")),H1.default.createElement(qe,{id:"select-code-block-theme-pen-paper-coffee",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="pen-paper-coffee.css"?"text-primary font-bold":""},"pen-paper-coffee.css")),H1.default.createElement(qe,{id:"select-code-block-theme-solarized-light",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="solarized-light.css"?"text-primary font-bold":""},"solarized-light.css")),H1.default.createElement(qe,{id:"select-code-block-theme-vue",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="vue.css"?"text-primary font-bold":""},"vue.css")),H1.default.createElement(qe,{id:"select-code-block-theme-vs",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="vs.css"?"text-primary font-bold":""},"vs.css"))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:wk,size:.8,className:"mr-2"}),"Dark")},H1.default.createElement(qe,{id:"select-code-block-theme-atom-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="atom-dark.css"?"text-primary font-bold":""},"atom-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-atom-material",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="atom-material.css"?"text-primary font-bold":""},"atom-material.css")),H1.default.createElement(qe,{id:"select-code-block-theme-darcula",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="darcula.css"?"text-primary font-bold":""},"default.css")),H1.default.createElement(qe,{id:"select-code-block-theme-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="dark.css"?"text-primary font-bold":""},"dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-github-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="github-dark.css"?"text-primary font-bold":""},"github-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-hopscotch",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="hopscotch.css"?"text-primary font-bold":""},"hopscotch.css")),H1.default.createElement(qe,{id:"select-code-block-theme-monokai",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="monokai.css"?"text-primary font-bold":""},"monokai.css")),H1.default.createElement(qe,{id:"select-code-block-theme-okaidia",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="okaidia.css"?"text-primary font-bold":""},"okaidia.css")),H1.default.createElement(qe,{id:"select-code-block-theme-one-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="one-dark.css"?"text-primary font-bold":""},"one-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-pojoaque",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="pojoaque.css"?"text-primary font-bold":""},"pojoaque.css")),H1.default.createElement(qe,{id:"select-code-block-theme-solarized-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="solarized-dark.css"?"text-primary font-bold":""},"solarized-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-twilight",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="twilight.css"?"text-primary font-bold":""},"twilight.css")),H1.default.createElement(qe,{id:"select-code-block-theme-xonokai",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="xonokai.css"?"text-primary font-bold":""},"xonokai.css"))),H1.default.createElement(qe,{id:"select-code-block-theme-auto",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ak,size:.8,className:"mr-2"}),H1.default.createElement("span",{className:n.codeBlockTheme==="auto.css"?"text-primary font-bold":""},"Auto")))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ek,size:.8,className:"mr-2 invisible"}),"Reveal.js Theme")},H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:yk,size:.8,className:"mr-2"}),"Light")},H1.default.createElement(qe,{id:"select-revealjs-theme-beige",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="beige.css"?"text-primary font-bold":""},"beige.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-serif",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="serif.css"?"text-primary font-bold":""},"serif.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-simple",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="simple.css"?"text-primary font-bold":""},"simple.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-sky",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="sky.css"?"text-primary font-bold":""},"sky.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-solarized",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="solarized.css"?"text-primary font-bold":""},"solarized.css")," "),H1.default.createElement(qe,{id:"select-revealjs-theme-white",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="white.css"?"text-primary font-bold":""},"white.css"))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:wk,size:.8,className:"mr-2"}),"Dark")},H1.default.createElement(qe,{id:"select-revealjs-theme-black",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="black.css"?"text-primary font-bold":""},"black.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-blood",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="blood.css"?"text-primary font-bold":""},"blood.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-league",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="league.css"?"text-primary font-bold":""},"league.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-moon",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="moon.css"?"text-primary font-bold":""},"moon.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-night",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="night.css"?"text-primary font-bold":""},"night.css"))),H1.default.createElement(qe,{id:"select-revealjs-theme-none",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ak,size:.8,className:"mr-2"}),H1.default.createElement("span",{className:n.revealjsTheme==="none.css"?"text-primary font-bold":""},"None")))),H1.default.createElement(Vu,null),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:C61,size:.8,className:"mr-2"}),"About")},H1.default.createElement(qe,{id:"open-documentation",onClick:C},"Documentation"),H1.default.createElement(qe,{id:"open-changelog",onClick:C},"Change Log"),H1.default.createElement(qe,{id:"open-issues",onClick:C},"Feature Requests or Bug Reports"),H1.default.createElement(qe,{id:"open-sponsors",onClick:C},"Sponsor This Project \u{1F60A}"))))}var iM=Dt(tM()),$K=Dt(C9()),Gr=Dt(Hn()),E61=Dt(jV());function qK(){let{highlightElement:n,getHighlightElementLineRange:e,markdown:t,highlightElementBeingEdited:i,setHighlightElementBeingEdited:r}=qr.useContainer(),[o,s]=(0,Gr.useState)(!1),[a,l]=(0,Gr.useState)(void 0),d=(0,Gr.useCallback)(()=>{document.querySelectorAll(".highlight-line").forEach(C=>{C.classList.add("highlight-active")})},[]),c=(0,Gr.useCallback)(()=>{document.querySelectorAll(".highlight-line").forEach(C=>{C.classList.remove("highlight-active")}),l(void 0)},[]),u=(0,Gr.useCallback)(()=>{if(!n)return;let h=e(n);if(!h)return;let[C,p]=h,H=t.split(`
|
|
991
|
+
`]}async provideOnTypeFormattingEdits(n,e,t,i,r){let o=n.uri,s=n.getOffsetAt(e),a=await this._worker(o);if(n.isDisposed())return;let l=await a.getFormattingEditsAfterKeystroke(o.toString(),s,t,DC._convertOptions(i));if(!(!l||n.isDisposed()))return l.map(d=>this._convertTextChanges(n,d))}},fk1=class extends DC{async provideCodeActions(n,e,t,i){let r=n.uri,o=n.getOffsetAt({lineNumber:e.startLineNumber,column:e.startColumn}),s=n.getOffsetAt({lineNumber:e.endLineNumber,column:e.endColumn}),a=DC._convertOptions(n.getOptions()),l=t.markers.filter(h=>h.code).map(h=>h.code).map(Number),d=await this._worker(r);if(n.isDisposed())return;let c=await d.getCodeFixesAtPosition(r.toString(),o,s,l,a);return!c||n.isDisposed()?{actions:[],dispose:()=>{}}:{actions:c.filter(h=>h.changes.filter(C=>C.isNewFile).length===0).map(h=>this._tsCodeFixActionToMonacoCodeAction(n,t,h)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(n,e,t){let i=[];for(let o of t.changes)for(let s of o.textChanges)i.push({resource:n.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(n,s.span),text:s.newText}});return{title:t.description,edit:{edits:i},diagnostics:e.markers,kind:"quickfix"}}},gk1=class extends Bl{constructor(n,e){super(e),this._libFiles=n}async provideRenameEdits(n,e,t,i){let r=n.uri,o=r.toString(),s=n.getOffsetAt(e),a=await this._worker(r);if(n.isDisposed())return;let l=await a.getRenameInfo(o,s,{allowRenameOfImportPath:!1});if(l.canRename===!1)return{edits:[],rejectReason:l.localizedErrorMessage};if(l.fileToRename!==void 0)throw new Error("Renaming files is not supported.");let d=await a.findRenameLocations(o,s,!1,!1,!1);if(!d||n.isDisposed())return;let c=[];for(let u of d){let h=this._libFiles.getOrCreateModel(u.fileName);if(h)c.push({resource:h.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(h,u.textSpan),text:t}});else throw new Error(`Unknown file ${u.fileName}.`)}return{edits:c}}},Lk1=class extends Bl{async provideInlayHints(n,e,t){let i=n.uri,r=i.toString(),o=n.getOffsetAt({lineNumber:e.startLineNumber,column:e.startColumn}),s=n.getOffsetAt({lineNumber:e.endLineNumber,column:e.endColumn}),a=await this._worker(i);return n.isDisposed()?null:{hints:(await a.provideInlayHints(r,o,s)).map(c=>({...c,label:c.text,position:n.getPositionAt(c.position),kind:this._convertHintKind(c.kind)})),dispose:()=>{}}}_convertHintKind(n){switch(n){case"Parameter":return Ge.languages.InlayHintKind.Parameter;case"Type":return Ge.languages.InlayHintKind.Type;default:return Ge.languages.InlayHintKind.Type}}}});function Cz(){return Promise.resolve().then(()=>(vk1(),Mk1))}var Mee,vee,_ee,xee,_k1,bee,Aee,OL,xk1,bk1,Ak1,Sk1,wk1,yk1,See,kk1,hz,Ek1,wee,yee,Go1=k(()=>{Er();Er();Mee=Object.defineProperty,vee=Object.getOwnPropertyDescriptor,_ee=Object.getOwnPropertyNames,xee=Object.prototype.hasOwnProperty,_k1=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of _ee(e))!xee.call(n,r)&&r!==t&&Mee(n,r,{get:()=>e[r],enumerable:!(i=vee(e,r))||i.enumerable});return n},bee=(n,e,t)=>(_k1(n,e,"default"),t&&_k1(t,e,"default")),Aee="5.0.2",OL={};bee(OL,Ii);xk1=(n=>(n[n.None=0]="None",n[n.CommonJS=1]="CommonJS",n[n.AMD=2]="AMD",n[n.UMD=3]="UMD",n[n.System=4]="System",n[n.ES2015=5]="ES2015",n[n.ESNext=99]="ESNext",n))(xk1||{}),bk1=(n=>(n[n.None=0]="None",n[n.Preserve=1]="Preserve",n[n.React=2]="React",n[n.ReactNative=3]="ReactNative",n[n.ReactJSX=4]="ReactJSX",n[n.ReactJSXDev=5]="ReactJSXDev",n))(bk1||{}),Ak1=(n=>(n[n.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",n[n.LineFeed=1]="LineFeed",n))(Ak1||{}),Sk1=(n=>(n[n.ES3=0]="ES3",n[n.ES5=1]="ES5",n[n.ES2015=2]="ES2015",n[n.ES2016=3]="ES2016",n[n.ES2017=4]="ES2017",n[n.ES2018=5]="ES2018",n[n.ES2019=6]="ES2019",n[n.ES2020=7]="ES2020",n[n.ESNext=99]="ESNext",n[n.JSON=100]="JSON",n[n.Latest=99]="Latest",n))(Sk1||{}),wk1=(n=>(n[n.Classic=1]="Classic",n[n.NodeJs=2]="NodeJs",n))(wk1||{}),yk1=class{_onDidChange=new OL.Emitter;_onDidExtraLibsChange=new OL.Emitter;_extraLibs;_removedExtraLibs;_eagerModelSync;_compilerOptions;_diagnosticsOptions;_workerOptions;_onDidExtraLibsChangeTimeout;_inlayHintsOptions;_modeConfiguration;constructor(n,e,t,i,r){this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(n),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this.setModeConfiguration(r),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(n,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===n)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:n,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let r=this._extraLibs[t];r&&r.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(n){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),n&&n.length>0)for(let e of n){let t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content,r=1;this._removedExtraLibs[t]&&(r=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:r}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(n){this._compilerOptions=n||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(n){this._diagnosticsOptions=n||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(n){this._workerOptions=n||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(n){this._inlayHintsOptions=n||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(n){}setEagerModelSync(n){this._eagerModelSync=n}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(n){this._modeConfiguration=n||Object.create(null),this._onDidChange.fire(void 0)}},See=Aee,kk1={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},hz=new yk1({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},kk1),Ek1=new yk1({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},kk1),wee=()=>Cz().then(n=>n.getTypeScriptWorker()),yee=()=>Cz().then(n=>n.getJavaScriptWorker());OL.languages.typescript={ModuleKind:xk1,JsxEmit:bk1,NewLineKind:Ak1,ScriptTarget:Sk1,ModuleResolutionKind:wk1,typescriptVersion:See,typescriptDefaults:hz,javascriptDefaults:Ek1,getTypeScriptWorker:wee,getJavaScriptWorker:yee};OL.languages.onLanguage("typescript",()=>Cz().then(n=>n.setupTypeScript(hz)));OL.languages.onLanguage("javascript",()=>Cz().then(n=>n.setupJavaScript(Ek1)))});var uD1=kt(np=>{Ie();ei();Me();w5();c1();Ke();Un();Uu();B1();ui();U6();Et();Kr1();jr1();T1();Oi();Te();ce();B0();var cD1=np&&np.__decorate||function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},mU=np&&np.__param||function(n,e){return function(t,i){e(t,i,n)}},m51=np&&np.__awaiter||function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},ZA=class{constructor(e,t,i){this._editor=e,this._languageFeaturesService=t,this._workerService=i,this._disposables=new i1,this._sessionDisposables=new i1,this._disposables.add(t.onTypeFormattingEditProvider.onDidChange(this._update,this)),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(r=>{r.hasChanged(55)&&this._update()})),this._update()}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(55)||!this._editor.hasModel())return;let e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let i=new D4;for(let r of t.autoFormatTriggerCharacters)i.add(r.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(r=>{let o=r.charCodeAt(r.length-1);i.has(o)&&this._trigger(String.fromCharCode(o))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;let t=this._editor.getModel(),i=this._editor.getPosition(),r=new zt,o=this._editor.onDidChangeModelContent(s=>{if(s.isFlush){r.cancel(),o.dispose();return}for(let a=0,l=s.changes.length;a<l;a++)if(s.changes[a].range.endLineNumber<=i.lineNumber){r.cancel(),o.dispose();return}});qr1(this._workerService,this._languageFeaturesService,t,i,e,t.getFormattingOptions(),r.token).then(s=>{r.token.isCancellationRequested||yn(s)&&(yC.execute(this._editor,s,!0),OZ(s))}).finally(()=>{o.dispose()})}};ZA.ID="editor.contrib.autoFormat";ZA=cD1([mU(1,y1),mU(2,X2)],ZA);var zA=class{constructor(e,t,i){this.editor=e,this._languageFeaturesService=t,this._instantiationService=i,this._callOnDispose=new i1,this._callOnModel=new i1,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(t.documentRangeFormattingEditProvider.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(54)&&this.editor.hasModel()&&this._languageFeaturesService.documentRangeFormattingEditProvider.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction($r1,this.editor,e,2,F0.None,Se.None).catch(ae))}};zA.ID="editor.contrib.formatOnPaste";zA=cD1([mU(1,y1),mU(2,q1)],zA);var C51=class extends I1{constructor(){super({id:"editor.action.formatDocument",label:f("formatDocument.label","Format Document"),alias:"Format Document",precondition:v1.and(F.notInCompositeEditor,F.writable,F.hasDocumentFormattingProvider),kbOpts:{kbExpr:F.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(e,t){return m51(this,void 0,void 0,function*(){if(t.hasModel()){let i=e.get(q1);yield e.get(As).showWhile(i.invokeFunction(q_1,t,1,F0.None,Se.None),250)}})}},p51=class extends I1{constructor(){super({id:"editor.action.formatSelection",label:f("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:v1.and(F.writable,F.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:F.editorTextFocus,primary:an(2089,2084),weight:100},contextMenuOpts:{when:F.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(e,t){return m51(this,void 0,void 0,function*(){if(!t.hasModel())return;let i=e.get(q1),r=t.getModel(),o=t.getSelections().map(a=>a.isEmpty()?new y(a.startLineNumber,1,a.startLineNumber,r.getLineMaxColumn(a.startLineNumber)):a);yield e.get(As).showWhile(i.invokeFunction($r1,t,o,1,F0.None,Se.None),250)})}};He(ZA.ID,ZA,2);He(zA.ID,zA,2);V1(C51);V1(p51);Be.registerCommand("editor.action.format",n=>m51(void 0,void 0,void 0,function*(){let e=n.get(Pe).getFocusedCodeEditor();if(!e||!e.hasModel())return;let t=n.get(Ut);e.getSelection().isEmpty()?yield t.executeCommand("editor.action.formatDocument"):yield t.executeCommand("editor.action.formatSelection")}))});var zie,f51,Wie,D8,CH,WA,UA,rp,g51,jA=k(()=>{Ie();ei();Me();O2();U5();_e();B1();Z0();ce();j2();q2();c1();Et();zie=function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},f51=function(n,e){return function(t,i){e(t,i,n)}},Wie=function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})},D8=class{remove(){var e;(e=this.parent)===null||e===void 0||e.children.delete(this.id)}static findId(e,t){let i;typeof e=="string"?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,t.children.get(i)!==void 0&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let r=i;for(let o=0;t.children.get(r)!==void 0;o++)r=`${i}_${o}`;return r}static empty(e){return e.children.size===0}},CH=class extends D8{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}},WA=class extends D8{constructor(e,t,i,r){super(),this.id=e,this.parent=t,this.label=i,this.order=r,this.children=new Map}},UA=class n extends D8{static create(e,t,i){let r=new zt(i),o=new n(t.uri),s=e.ordered(t),a=s.map((d,c)=>{var u;let h=D8.findId(`provider_${c}`,o),C=new WA(h,o,(u=d.displayName)!==null&&u!==void 0?u:"Unknown Outline Provider",c);return Promise.resolve(d.provideDocumentSymbols(t,r.token)).then(p=>{for(let m of p||[])n._makeOutlineElement(m,C);return C},p=>(Jt(p),C)).then(p=>{D8.empty(p)?p.remove():o._groups.set(h,p)})}),l=e.onDidChange(()=>{let d=e.ordered(t);Si(d,s)||r.cancel()});return Promise.all(a).then(()=>r.token.isCancellationRequested&&!i.isCancellationRequested?n.create(e,t,i):o._compact()).finally(()=>{l.dispose()})}static _makeOutlineElement(e,t){let i=D8.findId(e,t),r=new CH(i,t,e);if(e.children)for(let o of e.children)n._makeOutlineElement(o,r);t.children.set(r.id,r)}constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}_compact(){let e=0;for(let[t,i]of this._groups)i.children.size===0?this._groups.delete(t):e+=1;if(e!==1)this.children=this._groups;else{let t=Ye.first(this._groups.values());for(let[,i]of t.children)i.parent=this,this.children.set(i.id,i)}return this}getTopLevelSymbols(){let e=[];for(let t of this.children.values())t instanceof CH?e.push(t.symbol):e.push(...Ye.map(t.children.values(),i=>i.symbol));return e.sort((t,i)=>y.compareRangesUsingStarts(t.range,i.range))}asListOfDocumentSymbols(){let e=this.getTopLevelSymbols(),t=[];return n._flattenDocumentSymbols(t,e,""),t.sort((i,r)=>K.compare(y.getStartPosition(i.range),y.getStartPosition(r.range))||K.compare(y.getEndPosition(r.range),y.getEndPosition(i.range)))}static _flattenDocumentSymbols(e,t,i){for(let r of t)e.push({kind:r.kind,tags:r.tags,name:r.name,detail:r.detail,containerName:r.containerName||i,range:r.range,selectionRange:r.selectionRange,children:void 0}),r.children&&n._flattenDocumentSymbols(e,r.children,r.name)}},rp=le("IOutlineModelService"),g51=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new i1,this._cache=new _s(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved(r=>{this._cache.delete(r.id)}))}dispose(){this._disposables.dispose()}getOrCreate(e,t){return Wie(this,void 0,void 0,function*(){let i=this._languageFeaturesService.documentSymbolProvider,r=i.ordered(e),o=this._cache.get(e.id);if(!o||o.versionId!==e.getVersionId()||!Si(o.provider,r)){let a=new zt;o={versionId:e.getVersionId(),provider:r,promiseCnt:0,source:a,promise:UA.create(i,e,a.token),model:void 0},this._cache.set(e.id,o);let l=Date.now();o.promise.then(d=>{o.model=d,this._debounceInformation.update(e,Date.now()-l)}).catch(d=>{this._cache.delete(e.id)})}if(o.model)return o.model;o.promiseCnt+=1;let s=t.onCancellationRequested(()=>{--o.promiseCnt===0&&(o.source.cancel(),this._cache.delete(e.id))});try{return yield o.promise}finally{s.dispose()}})}};g51=zie([f51(0,y1),f51(1,eo),f51(2,Wt)],g51);nt(rp,g51,1)});var hD1=kt(L51=>{ei();di();pi();O5();jA();Oi();var Uie=L51&&L51.__awaiter||function(n,e,t,i){function r(o){return o instanceof t?o:new t(function(s){s(o)})}return new(t||(t=Promise))(function(o,s){function a(c){try{d(i.next(c))}catch(u){s(u)}}function l(c){try{d(i.throw(c))}catch(u){s(u)}}function d(c){c.done?o(c.value):r(c.value).then(a,l)}d((i=i.apply(n,e||[])).next())})};Be.registerCommand("_executeDocumentSymbolProvider",function(n,...e){return Uie(this,void 0,void 0,function*(){let[t]=e;St(X1.isUri(t));let i=n.get(rp),o=yield n.get(rr).createModelReference(t);try{return(yield i.getOrCreate(o.object.textEditorModel,Se.None)).getTopLevelSymbols()}finally{o.dispose()}})})});var JU,RD1=k(()=>{Di();JU=class{constructor(e,t,i){this._editRange=e,this._originalSelection=t,this._text=i}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){let r=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new Z1(r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn),r.endLineNumber,Math.min(this._originalSelection.positionColumn,r.endColumn)):new Z1(r.endLineNumber,r.endColumn-this._text.length,r.endLineNumber,r.endColumn)}}});var PD1=k(()=>{});var FD1=kt(AS=>{De();Me();L7();Ke();B1();Di();ui();Wr();U6();T1();RD1();PD1();var Une=AS&&AS.__decorate||function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},jne=AS&&AS.__param||function(n,e){return function(t,i){e(t,i,n)}},ej,z8=ej=class{static get(e){return e.getContribution(ej.ID)}constructor(e,t){this.editor=e,this.editorWorkerService=t,this.decorations=this.editor.createDecorationsCollection()}dispose(){}run(e,t){var i;(i=this.currentRequest)===null||i===void 0||i.cancel();let r=this.editor.getSelection(),o=this.editor.getModel();if(!o||!r)return;let s=r;if(s.startLineNumber!==s.endLineNumber)return;let a=new vL(this.editor,5),l=o.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=gi(d=>this.editorWorkerService.navigateValueSet(l,s,t)),this.currentRequest.then(d=>{var c;if(!d||!d.range||!d.value||!a.validate(this.editor))return;let u=y.lift(d.range),h=d.range,C=d.value.length-(s.endColumn-s.startColumn);h={startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.startColumn+d.value.length},C>1&&(s=new Z1(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn+C-1));let p=new JU(u,s,d.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,p),this.editor.pushUndoStop(),this.decorations.set([{range:h,options:ej.DECORATION}]),(c=this.decorationRemover)===null||c===void 0||c.cancel(),this.decorationRemover=qa(350),this.decorationRemover.then(()=>this.decorations.clear()).catch(ae)}).catch(ae)):Promise.resolve(void 0)}};z8.ID="editor.contrib.inPlaceReplaceController";z8.DECORATION=me.register({description:"in-place-replace",className:"valueSetReplacement"});z8=ej=Une([jne(1,X2)],z8);var s01=class extends I1{constructor(){super({id:"editor.action.inPlaceReplace.up",label:f("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:F.writable,kbOpts:{kbExpr:F.editorTextFocus,primary:3159,weight:100}})}run(e,t){let i=z8.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}},a01=class extends I1{constructor(){super({id:"editor.action.inPlaceReplace.down",label:f("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:F.writable,kbOpts:{kbExpr:F.editorTextFocus,primary:3161,weight:100}})}run(e,t){let i=z8.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}};He(z8.ID,z8,4);V1(s01);V1(a01)});var mI1=k(()=>{});var gI1=kt(XS=>{mI1();re();Rr();c1();Ke();En();Yu();zm();Qr();xC();Ic();var Gre=XS&&XS.__decorate||function(n,e,t,i){var r=arguments.length,o=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(e,t,o):s(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o},fI1=XS&&XS.__param||function(n,e){return function(t,i){e(t,i,n)}},M31,PH=M31=class extends z{static get(e){return e.getContribution(M31.ID)}constructor(e,t,i){super(),this._editor=e,this._languageService=i,this._widget=null,this._register(this._editor.onDidChangeModel(r=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(r=>this.stop())),this._register(mi.onDidChange(r=>this.stop())),this._register(this._editor.onKeyUp(r=>r.keyCode===9&&this.stop()))}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new Uj(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};PH.ID="editor.contrib.inspectTokens";PH=M31=Gre([fI1(1,e2),fI1(2,xt)],PH);var v31=class extends I1{constructor(){super({id:"editor.action.inspectTokens",label:fF.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let i=PH.get(t);i?.launch()}};function Yre(n){let e="";for(let t=0,i=n.length;t<i;t++){let r=n.charCodeAt(t);switch(r){case 9:e+="\u2192";break;case 32:e+="\xB7";break;default:e+=String.fromCharCode(r)}}return e}function Qre(n,e){let t=mi.get(e);if(t)return t;let i=n.encodeLanguageId(e);return{getInitialState:()=>Fd,tokenize:(r,o,s)=>Zm(e,s),tokenizeEncoded:(r,o,s)=>q9(i,s)}}var Uj=class n extends z{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=Qre(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(i=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return n._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),i=0;for(let l=t.tokens1.length-1;l>=0;l--){let d=t.tokens1[l];if(e.column-1>=d.offset){i=l;break}}let r=0;for(let l=t.tokens2.length>>>1;l>=0;l--)if(e.column-1>=t.tokens2[l<<1]){r=l;break}let o=this._model.getLineContent(e.lineNumber),s="";if(i<t.tokens1.length){let l=t.tokens1[i].offset,d=i+1<t.tokens1.length?t.tokens1[i+1].offset:o.length;s=o.substring(l,d)}$n(this._domNode,g1("h2.tm-token",void 0,Yre(s),g1("span.tm-token-length",void 0,`${s.length} ${s.length===1?"char":"chars"}`))),p1(this._domNode,g1("hr.tokens-inspect-separator",{style:"clear:both"}));let a=(r<<1)+1<t.tokens2.length?this._decodeMetadata(t.tokens2[(r<<1)+1]):null;p1(this._domNode,g1("table.tm-metadata-table",void 0,g1("tbody",void 0,g1("tr",void 0,g1("td.tm-metadata-key",void 0,"language"),g1("td.tm-metadata-value",void 0,`${a?a.languageId:"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"token type"),g1("td.tm-metadata-value",void 0,`${a?this._tokenTypeToString(a.tokenType):"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"font style"),g1("td.tm-metadata-value",void 0,`${a?this._fontStyleToString(a.fontStyle):"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"foreground"),g1("td.tm-metadata-value",void 0,`${a?l1.Format.CSS.formatHex(a.foreground):"-?-"}`)),g1("tr",void 0,g1("td.tm-metadata-key",void 0,"background"),g1("td.tm-metadata-value",void 0,`${a?l1.Format.CSS.formatHex(a.background):"-?-"}`))))),p1(this._domNode,g1("hr.tokens-inspect-separator")),i<t.tokens1.length&&p1(this._domNode,g1("span.tm-token-type",void 0,t.tokens1[i].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){let t=mi.getColorMap(),i=ar.getLanguageId(e),r=ar.getTokenType(e),o=ar.getFontStyle(e),s=ar.getForeground(e),a=ar.getBackground(e);return{languageId:this._languageService.languageIdCodec.decodeLanguageId(i),tokenType:r,fontStyle:o,foreground:t[s],background:t[a]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 3:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return e&1&&(t+="italic "),e&2&&(t+="bold "),e&4&&(t+="underline "),e&8&&(t+="strikethrough "),t.length===0&&(t="---"),t}_getTokensAtLine(e){let t=this._getStateBeforeLine(e),i=this._tokenizationSupport.tokenize(this._model.getLineContent(e),!0,t),r=this._tokenizationSupport.tokenizeEncoded(this._model.getLineContent(e),!0,t);return{startState:t,tokens1:i.tokens,tokens2:r.tokens,endState:i.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let i=1;i<e;i++)t=this._tokenizationSupport.tokenize(this._model.getLineContent(i),!0,t).endState;return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}};Uj._ID="editor.contrib.inspectTokensWidget";He(PH.ID,PH,4);V1(v31)});var Z31=Dt(Hn()),RI1=Dt(B71());var OI1=Dt(C9()),h5=Dt(Hn());var XV=Dt(q91());var{replace:FO1}="";var BO1=/[&<>'"]/g,ZO1={"&":"&","<":"<",">":">","'":"'",'"':"""},zO1=n=>ZO1[n],qV=n=>FO1.call(n,BO1,zO1);var RK=Dt(G91()),Le=Dt(Hn());var _i=Dt(Hn(),1);function Y91(n){var e,t,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(t=Y91(n[e]))&&(i&&(i+=" "),i+=t);else for(e in n)n[e]&&(i&&(i+=" "),i+=e);return i}function WO1(){for(var n,e,t=0,i="";t<arguments.length;)(n=arguments[t++])&&(e=Y91(n))&&(i&&(i+=" "),i+=e);return i}var Hu=WO1;var NK=Dt(jV(),1),J91=(0,_i.createContext)({}),e61=()=>(0,_i.useContext)(J91),t61=n=>_i.default.createElement(J91.Provider,{...n});function UO1(){let n=new Map;return{on(e,t){return n.has(e)?n.get(e).add(t):n.set(e,new Set([t])),this},off(e,t){return n.has(e)&&n.get(e).delete(t),this},emit(e,t){return n.has(e)&&n.get(e).forEach(i=>{i(t)}),this}}}var xk=UO1(),i61=()=>(0,_i.useRef)(new Map).current,jO1=()=>{},Q91=["resize","contextmenu","click","scroll","blur"],OK={show({event:n,id:e,props:t,position:i}){n.preventDefault&&n.preventDefault(),xk.emit(0).emit(e,{event:n.nativeEvent||n,props:t,position:i})},hideAll(){xk.emit(0)}};function n61(n){return{show(e){OK.show({...n,...e})},hideAll(){OK.hideAll()}}}function $O1(){let n=new Map,e,t,i,r,o=!1;function s(H){r=Array.from(H.values()),e=-1,i=!0}function a(){r[e].node.focus()}let l=()=>e>=0&&r[e].isSubmenu,d=()=>Array.from(r[e].submenuRefTracker.values());function c(){return e===-1?(u(),!1):!0}function u(){e+1<r.length?e++:e+1===r.length&&(e=0),o&&p(),a()}function h(){e===-1||e===0?e=r.length-1:e-1<r.length&&e--,o&&p(),a()}function C(){if(c()&&l()){let H=d(),{node:g,setSubmenuPosition:L}=r[e];return n.set(g,{isRoot:i,focusedIndex:e,parentNode:t||g,items:r}),L(),g.classList.add("contexify_submenu-isOpen"),t=g,H.length>0?(e=0,r=H):o=!0,i=!1,a(),!0}return!1}function p(){if(c()&&!i){let H=n.get(t);t.classList.remove("contexify_submenu-isOpen"),r=H.items,t=H.parentNode,H.isRoot&&(i=!0,n.clear()),o||(e=H.focusedIndex,a())}}function m(H){function g(L){for(let V of L)V.isSubmenu&&V.submenuRefTracker&&g(Array.from(V.submenuRefTracker.values())),V.keyMatcher&&V.keyMatcher(H)}g(r)}return{init:s,moveDown:u,moveUp:h,openSubmenu:C,closeSubmenu:p,matchKeys:m}}function KV(n){return typeof n=="function"}function X91(n){return typeof n=="string"}function r61(n,e){return _i.Children.map(_i.Children.toArray(n).filter(Boolean),t=>(0,_i.cloneElement)(t,e))}function qO1(n){let e={x:n.clientX,y:n.clientY},t=n.changedTouches;return t&&(e.x=t[0].clientX,e.y=t[0].clientY),(!e.x||e.x<0)&&(e.x=0),(!e.y||e.y<0)&&(e.y=0),e}function GV(n,e){return KV(n)?n(e):n}function KO1(n,e){return{...n,...KV(e)?e(n):e}}var o61=({id:n,theme:e,style:t,className:i,children:r,animation:o="fade",preventDefaultOnKeydown:s=!0,disableBoundariesCheck:a=!1,onVisibilityChange:l,...d})=>{let[c,u]=(0,_i.useReducer)(KO1,{x:0,y:0,visible:!1,triggerEvent:{},propsFromTrigger:null,willLeave:!1}),h=(0,_i.useRef)(null),C=i61(),[p]=(0,_i.useState)(()=>$O1()),m=(0,_i.useRef)(),H=(0,_i.useRef)();(0,_i.useEffect)(()=>(xk.on(n,L).on(0,V),()=>{xk.off(n,L).off(0,V)}),[n,o,a]),(0,_i.useEffect)(()=>{c.visible?p.init(C):C.clear()},[c.visible,p,C]);function g(B,G){if(h.current&&!a){let{innerWidth:e1,innerHeight:Q}=window,{offsetWidth:X,offsetHeight:d1}=h.current;B+X>e1&&(B-=B+X-e1),G+d1>Q&&(G-=G+d1-Q)}return{x:B,y:G}}(0,_i.useEffect)(()=>{c.visible&&u(g(c.x,c.y))},[c.visible]),(0,_i.useEffect)(()=>{function B(e1){s&&e1.preventDefault()}function G(e1){switch(e1.key){case"Enter":case" ":p.openSubmenu()||V();break;case"Escape":V();break;case"ArrowUp":B(e1),p.moveUp();break;case"ArrowDown":B(e1),p.moveDown();break;case"ArrowRight":B(e1),p.openSubmenu();break;case"ArrowLeft":B(e1),p.closeSubmenu();break;default:p.matchKeys(e1);break}}if(c.visible){window.addEventListener("keydown",G);for(let e1 of Q91)window.addEventListener(e1,V)}return()=>{window.removeEventListener("keydown",G);for(let e1 of Q91)window.removeEventListener(e1,V)}},[c.visible,p,s]);function L({event:B,props:G,position:e1}){B.stopPropagation();let Q=e1||qO1(B),{x:X,y:d1}=g(Q.x,Q.y);(0,NK.flushSync)(()=>{u({visible:!0,willLeave:!1,x:X,y:d1,triggerEvent:B,propsFromTrigger:G})}),clearTimeout(H.current),!m.current&&KV(l)&&(l(!0),m.current=!0)}function V(B){B!=null&&(B.button===2||B.ctrlKey)&&B.type!=="contextmenu"||(o&&(X91(o)||"exit"in o&&o.exit)?u(G=>({willLeave:G.visible})):u(G=>({visible:G.visible?!1:G.visible})),H.current=setTimeout(()=>{KV(l)&&l(!1),m.current=!1}))}function _(){c.willLeave&&c.visible&&(0,NK.flushSync)(()=>u({visible:!1,willLeave:!1}))}function b(){return X91(o)?Hu({[`contexify_willEnter-${o}`]:M&&!T,[`contexify_willLeave-${o} contexify_willLeave-'disabled'`]:M&&T}):o&&"enter"in o&&"exit"in o?Hu({[`contexify_willEnter-${o.enter}`]:o.enter&&M&&!T,[`contexify_willLeave-${o.exit} contexify_willLeave-'disabled'`]:o.exit&&M&&T}):null}let{visible:M,triggerEvent:A,propsFromTrigger:S,x:I,y:P,willLeave:T}=c,R=Hu("contexify",i,{[`contexify_theme-${e}`]:e},b());return _i.default.createElement(t61,{value:C},M&&_i.default.createElement("div",{...d,className:R,onAnimationEnd:_,style:{...t,left:I,top:P,opacity:1},ref:h,role:"menu"},r61(r,{propsFromTrigger:S,triggerEvent:A})))},qe=({id:n,children:e,className:t,style:i,triggerEvent:r,data:o,propsFromTrigger:s,keyMatcher:a,onClick:l=jO1,disabled:d=!1,hidden:c=!1,closeOnClick:u=!0,handlerEvent:h="onClick",...C})=>{let p=(0,_i.useRef)(),m=e61(),H={id:n,data:o,triggerEvent:r,props:s},g=GV(d,H),L=GV(c,H);function V(A){H.event=A,A.stopPropagation(),g||(u?_():l(H))}function _(){let A=p.current;A.focus(),A.addEventListener("animationend",()=>setTimeout(OK.hideAll),{once:!0}),A.classList.add("contexify_item-feedback"),l(H)}function b(A){A&&!g&&(p.current=A,m.set(A,{node:A,isSubmenu:!1,keyMatcher:!g&&KV(a)&&(S=>{a(S)&&(S.stopPropagation(),S.preventDefault(),H.event=S,_())})}))}function M(A){(A.key==="Enter"||A.key===" ")&&(A.stopPropagation(),H.event=A,_())}return L?null:_i.default.createElement("div",{...C,[h]:V,className:Hu("contexify_item",t,{"contexify_item-disabled":g}),style:i,onKeyDown:M,ref:b,tabIndex:-1,role:"menuitem","aria-disabled":g},_i.default.createElement("div",{className:"contexify_itemContent"},e))},Vu=({triggerEvent:n,data:e,propsFromTrigger:t,hidden:i=!1})=>GV(i,{data:e,triggerEvent:n,props:t})?null:_i.default.createElement("div",{className:"contexify_separator"}),GO1=()=>_i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},_i.default.createElement("polyline",{points:"9 18 15 12 9 6"})),YO1=({className:n,...e})=>_i.default.createElement("div",{className:Hu("contexify_rightSlot",n),...e}),Pa=({arrow:n,children:e,disabled:t=!1,hidden:i=!1,label:r,className:o,triggerEvent:s,propsFromTrigger:a,style:l,...d})=>{let c=e61(),u=i61(),h=(0,_i.useRef)(null),C={triggerEvent:s,props:a},p=GV(t,C),m=GV(i,C);function H(){let V=h.current;if(V){let _="contexify_submenu-bottom",b="contexify_submenu-right";V.classList.remove(_,b);let M=V.getBoundingClientRect();M.right>window.innerWidth&&V.classList.add(b),M.bottom>window.innerHeight&&V.classList.add(_)}}function g(V){V&&!p&&c.set(V,{node:V,isSubmenu:!0,submenuRefTracker:u,setSubmenuPosition:H})}if(m)return null;let L=Hu("contexify_item",o,{"contexify_item-disabled":p});return _i.default.createElement(t61,{value:u},_i.default.createElement("div",{...d,className:L,ref:g,tabIndex:-1,role:"menuitem","aria-haspopup":!0,"aria-disabled":p,onMouseEnter:H,onTouchStart:H},_i.default.createElement("div",{className:"contexify_itemContent",onClick:V=>V.stopPropagation()},r,_i.default.createElement(YO1,null,n||_i.default.createElement(GO1,null))),_i.default.createElement("div",{className:"contexify contexify_submenu",ref:h,style:l},r61(e,{propsFromTrigger:a,triggerEvent:s}))))};var bk=Dt(Hn(),1);function s61(n){var e=bk.default.createContext(null);function t(r){var o=n(r.initialState);return bk.default.createElement(e.Provider,{value:o},r.children)}function i(){var r=bk.default.useContext(e);if(r===null)throw new Error("Component must be wrapped with <Container.Provider>");return r}return{Provider:t,useContainer:i}}function YV(n){return window.getComputedStyle(n).backgroundColor}function a61(n){let e=YV(n);function t(r){if(r=r.replace(/\s+/g,"").toLowerCase(),r.startsWith("rgb")){let o=r.match(/\d+/g).map(Number),s=o[0],a=o[1],l=o[2];return .299*s+.587*a+.114*l}if(r.startsWith("#")){let o=r.slice(1),s=parseInt(o,16),a=s>>16&255,l=s>>8&255,d=s&255;return .299*a+.587*l+.114*d}return 0}return t(e)>128}window.jQuery=RK.default;window.$=RK.default;function Mu(){return document.documentElement.scrollTop||0}function vu(n){document.documentElement.scrollTop=n}function l61(){return window.innerHeight}var QO1={P:1,H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,OL:1,UL:1,PRE:1,BLOCKQUOTE:1,HR:1,TABLE:1,FIGURE:1,DIV:1};function XO1(n){return n in QO1}function QV(n){let e=n.getAttribute("data-source-line");if(!e)return null;let t=parseInt(e,10);return isNaN(t)?null:t-1}var JO1=s61(()=>{let n=(0,Le.useRef)(void 0),e=(0,Le.useRef)("file"),t=(0,Le.useRef)(-1),i=(0,Le.useRef)(0),r=(0,Le.useRef)(0),o=(0,Le.useRef)(null),s=(0,Le.useRef)({}),a=(0,Le.useRef)(null),l=(0,Le.useRef)(!0),d=(0,Le.useRef)([]),c=(0,Le.useRef)([]),u=(0,Le.useRef)(new Map),h=(0,Le.useRef)(-1),C=(0,Le.useRef)(null),p=(0,Le.useRef)(null),m=(0,Le.useRef)(null),H=(0,Le.useRef)(null),g=(0,Le.useRef)((0,XV.SHA256)(JSON.stringify([])).toString()),[L,V]=(0,Le.useState)(!1),[_,b]=(0,Le.useState)(!1),[M,A]=(0,Le.useState)(""),[S,I]=(0,Le.useState)(!1),[P,T]=(0,Le.useState)(!1),[R,B]=(0,Le.useState)(!0),[G,e1]=(0,Le.useState)(1),[Q,X]=(0,Le.useState)(!1),[d1,Y]=(0,Le.useState)(""),[h1,s1]=(0,Le.useState)("light"),t1=(0,Le.useMemo)(()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),[]),[x1,ve]=(0,Le.useState)([]),[Vt,ke]=(0,Le.useState)(!1),[$e,Ci]=(0,Le.useState)(null),[rn,mn]=(0,Le.useState)(""),[fe,qi]=(0,Le.useState)(null),[Dr,jr]=(0,Le.useState)(!1),Rt=(0,Le.useMemo)(()=>document.body.hasAttribute("data-presentation-mode"),[]),gr=(0,Le.useMemo)(()=>document.body.classList.contains("vscode-web-extension"),[]),vo=(0,Le.useMemo)(()=>globalThis.acquireVsCodeApi?globalThis.acquireVsCodeApi():null,[]),Mi=(0,Le.useMemo)(()=>JSON.parse(document.getElementById("crossnote-data")?.getAttribute("data-config")??"{}"),[]),hr=(0,Le.useMemo)(()=>!!Mi.isVSCode,[Mi]),b1=(0,Le.useMemo)(()=>"crossnote-context-menu",[]),{show:f1}=n61({id:b1}),C1=(0,Le.useCallback)((Y1,Q1=[])=>{vo?vo.postMessage({command:Y1,args:Q1}):window.parent.postMessage({command:Y1,args:Q1},"file://")},[vo]),q=(0,Le.useCallback)(()=>{if(Rt)return window.Reveal.toggleOverview();b(Y1=>!Y1),o.current=null},[Rt]),W=(0,Le.useCallback)(Y1=>{Y1?.preventDefault(),Y1?.stopPropagation(),hr?Rt||q():L?V(!1):q()},[q,Rt,hr,L]),o1=(0,Le.useCallback)(()=>{if(o.current)return o.current;if(!i.current||!C.current)return null;let Y1=Array(Math.max(i.current,0)).fill(-1),Q1=[],ze=new Set;Q1.push(0),Y1[0]=0;let Re=C.current.querySelectorAll("[data-source-line]");for(let ft=0;ft<Re.length;ft++){let At=Re[ft];if(!XO1(At.tagName))continue;let oe=QV(At);if(!(!oe||ze.has(oe)))if(ze.add(oe),oe<Q1[Q1.length-1])At.removeAttribute("data-source-line");else{Q1.push(oe);let m1=0;for(;At&&At!==C.current;)m1+=At.offsetTop,At=At.offsetParent;Y1[oe]=Math.round(m1)}}Q1.push(i.current),Y1.push(C.current.scrollHeight);let Je=0;for(let ft=0;ft<i.current;ft++){if(Y1[ft]!==-1){Je++;continue}let At=Q1[Je-1],oe=Q1[Je];Y1[ft]=Math.round((Y1[oe]*(ft-At)+Y1[At]*(oe-ft))/(oe-At))}return o.current=Y1,Y1},[]),n1=(0,Le.useCallback)(()=>{let Y1;if(!C.current)return;if(Mu()===0)return Y1=0,C1("revealLine",[n.current,Y1]);let Q1=Mu()+l61()/2,ze=o1();if(!ze)return;let Re=0,Je=ze.length-1,ft=0,At=-1,oe;for(;ft<20;){if(Math.abs(Q1-ze[Re])<20){At=Re;break}else if(Math.abs(Q1-ze[Je])<20){At=Je;break}else oe=Math.floor((Re+Je)/2),Q1>ze[oe]?Re=oe:Je=oe;ft++}At===-1&&(At=oe),Y1=At,C1("revealLine",[n.current,Y1])},[o1,C1]),w1=(0,Le.useCallback)(()=>{Mi.scrollSync&&(o1(),!(Date.now()<r.current)&&n1())},[o1,Mi.scrollSync,n1]),ee=(0,Le.useCallback)(()=>{e1(Y1=>Y1+.1)},[]),ue=(0,Le.useCallback)(()=>{e1(Y1=>Y1-.1)},[]),Ve=(0,Le.useCallback)(()=>{e1(1)},[]),it=(0,Le.useCallback)(()=>new Promise(Y1=>{if(!p.current)return Y1();if(Mi.mathRenderingOption==="MathJax"||Mi.usePandocParser){if(!p.current.querySelectorAll(".mathjax-exps, .math.inline, .math.display").length)return Y1();window.MathJax.typesetClear(),window.MathJax.startup.document.state(0),window.MathJax.texReset(),window.MathJax.typesetPromise([p.current]).then(()=>(p.current?.getElementsByClassName("MathJax").length&&(o.current=null),Y1()))}else return Y1()}),[Mi]),Oe=(0,Le.useCallback)(()=>{if(!p.current)return;let Y1=p.current.getElementsByClassName("wavedrom");if(Y1.length){let Q1={};for(let ze=0;ze<Y1.length;ze++){let Re=Y1[ze];Re.id="wavedrom"+ze;let Je=(Re.textContent??"").trim();if(Je.length){if(Je in s.current){let ft=s.current[Je];Re.innerHTML=ft,Q1[Je]=ft;continue}try{let ft=window.eval(`(${Je})`);window.WaveDrom.RenderWaveForm(ze,ft,"wavedrom"),Q1[Je]=Re.innerHTML}catch(ft){Re.innerText="Failed to eval WaveDrom code. "+ft}}}s.current=Q1}},[]),$t=(0,Le.useCallback)(()=>new Promise(Y1=>{if(!C.current)return Y1();let Q1=C.current.querySelectorAll(".vega, .vega-lite");function ze(Re,Je){Re.innerHTML='<pre class="language-text"><code>'+qV(Je.toString())+"</code></pre>"}for(let Re=0;Re<Q1.length;Re++){let Je=Q1[Re];if(!Je.hasAttribute("data-processed"))try{let ft=JSON.parse((Je.textContent??"").trim());window.vegaEmbed(Je,ft,{actions:!1}).catch(At=>{ze(Je,At)})}catch(ft){ze(Je,ft)}}Y1()}),[]),qt=(0,Le.useCallback)(async()=>{if(!C.current)return;let Y1=window.mermaid,Q1=C.current.getElementsByClassName("mermaid"),ze=[];for(let Re=0;Re<Q1.length;Re++){let Je=Q1[Re];try{await Y1.parse((Je.textContent??"").trim()),ze.push(Je)}catch(ft){Je.innerHTML=`<pre class="language-text"><code>${qV(ft.toString())}</code></pre>`}}if(ze.length){ze.forEach(async(Re,Je)=>{let ft="svg-mermaid-"+Date.now()+"-"+Je,At=(Re.textContent??"").trim();try{let{svg:oe}=await Y1.render(ft,At);Re.innerHTML=oe}catch(oe){let m1=document.getElementById("d"+ft);m1&&(m1.style.display="none"),Re.innerHTML=`<pre class="language-text"><code>${qV(oe.toString())}</code></pre>`}});return}else return},[]),Fe=(0,Le.useCallback)(Y1=>{if(!Mi.enableScriptExecution||!Y1)return;let Q1=document.querySelector(`.code-chunk[data-id="${Y1}"]`);if(!(!Q1||Q1.classList.contains("running")))if(Q1.classList.add("running"),Q1.getAttribute("data-cmd")==="javascript"){let Re=Q1.getAttribute("data-code");try{window.eval(`((function(){${Re}$})())`),Q1.classList.remove("running");let Je=XV.default.AES.encrypt(Q1.getElementsByClassName("output-div")[0].outerHTML,"crossnote").toString();C1("cacheCodeChunkResult",[n.current,Y1,Je])}catch(Je){let ft=Q1.getElementsByClassName("output-div")[0];ft.innerHTML=`<pre class="language-text"><code>${qV(Je.toString())}</code></pre>`}}else C1("runCodeChunk",[n.current,Y1])},[Mi.enableScriptExecution,C1]),vi=(0,Le.useCallback)(()=>{if(!Mi.enableScriptExecution||!C.current)return;let Y1=C.current.getElementsByClassName("code-chunk");for(let Q1=0;Q1<Y1.length;Q1++)Y1[Q1].classList.add("running");C1("runAllCodeChunks",[n.current])},[Mi.enableScriptExecution,C1]),Ki=(0,Le.useCallback)(()=>{if(!C.current)return;let Y1=C.current.getElementsByClassName("code-chunk");for(let Q1=Y1.length-1;Q1>=0;Q1--){let ze=Y1[Q1],Re=ze.querySelector("[data-source-line]");if(Re&&t.current>=(QV(Re)??0)){let Je=ze.getAttribute("data-id");if(Je)return Fe(Je)}}},[Fe]),no=(0,Le.useCallback)(()=>{if(!C.current)return;let Y1=C.current.getElementsByClassName("code-chunk");if(Y1.length)for(let Q1=0;Q1<Y1.length;Q1++){let ze=Y1[Q1],Re=ze.getAttribute("data-id"),Je=ze.getElementsByClassName("run-btn")[0],ft=ze.getElementsByClassName("run-all-btn")[0];Je&&Je.addEventListener("click",()=>{Fe(Re)}),ft&&ft.addEventListener("click",()=>{vi()})}},[vi,Fe]),Kt=(0,Le.useCallback)(async()=>{if(!(!C.current||!p.current))try{T(!0),await Promise.all([it(),Oe()]),C.current.innerHTML=p.current.innerHTML,p.current.innerHTML="",Y(C.current.innerHTML),await Promise.all([$t(),qt()]),no(),T(!1)}catch(Y1){console.error(Y1),T(!1)}},[$t,it,qt,Oe,no]),Pi=(0,Le.useCallback)(Y1=>{for(let Q1=d.current.length-1;Q1>=0;Q1--)if(Y1>=d.current[Q1].line){let{h:ze,v:Re,offset:Je}=d.current[Q1];if(Je===h.current)return;h.current=Je,r.current=Date.now()+200,window.Reveal.slide(ze,Re);break}},[]),y2=(0,Le.useCallback)(Y1=>{if(!C.current)return;let Q1=10,ze=(Je=0)=>{a.current&&clearTimeout(a.current),a.current=setTimeout(()=>{if(!C.current)return;if(Je<=0){r.current=Date.now()+500,vu(Y1);return}let At=(Y1-Mu())/Je*Q1;r.current=Date.now()+500,vu(Mu()+At),Mu()!==Y1&&ze(Je-Q1)},Q1)};ze(120)},[]),Ea=(0,Le.useCallback)((Y1,Q1=.372)=>{if(!C.current)return;let ze=o1();!ze||Y1>=ze.length||(Y1+1===i.current?y2(C.current.scrollHeight):y2(Math.max(ze[Y1]-l61()*Q1,0)))},[o1,y2]),ro=(0,Le.useCallback)((Y1,Q1=.372)=>{t.current=Y1,sessionStorage.setItem(`crossnote.cursorLine.${n.current}`,t.current.toString()),r.current=Date.now()+500,Rt?Pi(Y1):Ea(Y1,Q1)},[Rt,Ea,Pi]),On=(0,Le.useCallback)(Y1=>{for(let Q1=0;Q1<Y1.length;Q1++){let ze=Y1[Q1],Re=ze.getAttribute("href");if(!Re)continue;let Je=decodeURIComponent(Re);Je&&Je[0]==="#"?ze.onclick=ft=>{if(ft.preventDefault(),ft.stopPropagation(),!C.current)return;let At=C.current.querySelector(`#${CSS.escape(Je.slice(1))}`);if(!At)return;let oe=0,m1=At;for(;m1&&m1!==C.current;)oe+=m1.offsetTop,m1=m1.offsetParent;Mu()>oe?vu(oe-32-At.offsetHeight):vu(oe)}:ze.onclick=ft=>{ft.preventDefault(),ft.stopPropagation(),C1("clickTagA",[{uri:n.current,href:encodeURIComponent(Je.replace(/\\/g,"/")),scheme:e.current}])}}},[C1]),tr=(0,Le.useCallback)(()=>{if(!C.current)return;let Y1=C.current.getElementsByClassName("task-list-item-checkbox");for(let Q1=0;Q1<Y1.length;Q1++){let ze=Y1[Q1],Re=ze.parentElement;Re&&Re.tagName!=="LI"&&(Re=Re.parentElement),Re?.tagName==="LI"&&(Re.classList.add("task-list-item"),ze.onclick=Je=>{Je.preventDefault(),ze.checked?ze.setAttribute("checked",""):ze.removeAttribute("checked");let At=QV(ze);typeof At=="number"&&C1("clickTaskListCheckbox",[n.current,At])})}},[C1]),na=(0,Le.useCallback)(Y1=>{Ci(null);let Q1=Y1.querySelectorAll("[data-source-line]"),ze=new Set,Re=new Map;u.current=new Map,c.current=[];let Je=new Set,ft=(At,oe)=>{if(Je.add(oe),At.length===0)return;let m1=At[0],se=new Set([oe]);for(let[Ce,Gt]of u.current)m1.contains(Ce)&&Gt.forEach(gn=>{se.add(gn)});At.forEach(Ce=>{if(ze.has(Ce)){let Gt=u.current.get(Ce);Gt&&Gt.forEach(gn=>{se.add(gn)});return}else ze.add(Ce);Ce.addEventListener("mouseover",Gt=>{Gt.stopPropagation(),X(!0),Array.from(document.getElementsByClassName("highlight-line")).forEach(Ro=>{Ro.classList.remove("highlight-line")}),At.forEach(Ro=>{Ro.classList.add("highlight-line")}),Ci(m1)}),Ce.addEventListener("mouseout",Gt=>{Gt.stopPropagation(),At.forEach(gn=>{gn.classList.remove("highlight-line"),gn.classList.remove("highlight-active")}),Ci(null)})}),u.current.set(m1,Array.from(se).sort((Ce,Gt)=>Ce-Gt))};for(let At=Q1.length-1;At>=0;At--){let oe=Q1[At],m1=QV(oe)??0;if(m1>i.current)return;if(oe.tagName!=="A"){if(oe.tagName==="PRE"&&oe.parentElement?.classList.contains("input-div")&&oe.parentElement.parentElement?.classList.contains("code-chunk")){let se=oe.parentElement.parentElement;se&&(ft([se],m1),Re.set(oe,se))}else if(oe.tagName==="IMG"||oe.tagName==="A"){let se=oe.parentElement;se&&(ft([se],m1),Re.set(oe,se))}else ft([oe],m1),Re.set(oe,oe.parentElement?.tagName==="P"?oe.parentElement:oe);if(At==0){let se=[],Ce=Re.get(oe)?.previousElementSibling;for(;Ce;)Ce.tagName==="P"&&Ce.innerHTML===""||se.push(Ce),Ce=Ce.previousElementSibling;ft(se,0)}if(At<Q1.length-1)for(let se=At+1;se<Q1.length;se++){let Ce=Q1[se],Gt=Re.get(oe),gn=Re.get(Ce);if(Gt&&gn&&Gt!==gn&&Gt.parentElement===gn.parentElement){let Ro=[],Fi=Gt.nextElementSibling;for(;Fi&&Fi!==gn;)Fi.tagName==="P"&&Fi.innerHTML===""||Ro.push(Fi),Fi=Fi.nextElementSibling;ft(Ro,m1);break}}}}c.current=Array.from(Je).sort((At,oe)=>At-oe)},[]),C5=(0,Le.useCallback)((Y1,Q1,ze)=>{if(!(!C.current||!p.current)){if(Rt)return C1("refreshPreview",[n.current]);{r.current=Date.now()+500,p.current.innerHTML=Y1;let Re=Mu();Kt().then(()=>{C.current&&(o.current=null,On(Array.from(C.current.getElementsByTagName("a"))),tr(),na(C.current),C.current.id=Q1||"",C.current.setAttribute("class",`crossnote markdown-preview ${ze}`),l.current?(l.current=!1,B(!1),ro(t.current),setTimeout(()=>{o.current=null},2e3)):vu(Re))})}}},[On,tr,na,Kt,Rt,C1,ro]),n2=(0,Le.useCallback)((Y1=!1)=>{S&&!Rt&&(C1("showBacklinks",[{uri:n.current,forceRefreshingNotes:Y1,backlinksSha:g.current}]),ke(!0),H.current&&!Mi.alwaysShowBacklinksInPreview&&H.current.scrollIntoView())},[Mi.alwaysShowBacklinksInPreview,Rt,C1,S]),J0=(0,Le.useCallback)(()=>{let Y1=document.getElementsByTagName("section"),Q1=0;for(let ze=0;ze<Y1.length;ze++){let Re=Y1[ze];if(Re.hasAttribute("data-source-line")){let Je=QV(Re)??0,ft=parseInt(Re.getAttribute("data-h")??"0",10),At=parseInt(Re.getAttribute("data-v")??"0",10);d.current.push({line:Je,h:ft,v:At,offset:Q1}),Q1+=1}}},[]),fn=(0,Le.useCallback)(async()=>{if(!C.current)return;window.initRevealPresentation&&await window.initRevealPresentation();let Y1=window.Reveal.getCurrentSlide();Y1.style.visibility="hidden",J0(),window.Reveal.addEventListener("slidetransitionend",()=>{window.Reveal.layout()}),window.Reveal.addEventListener("slidechanged",Q1=>{if(Date.now()<r.current)return;let{indexh:ze,indexv:Re}=Q1;for(let Je of d.current){let{h:ft,v:At,line:oe}=Je;ft===ze&&At===Re&&C1("revealLine",[n.current,oe+6])}}),window.Reveal.configure({transition:"none"}),ro(t.current),window.Reveal.configure({transition:"slide"}),window.Reveal.layout(),Y1&&(Y1.style.visibility="visible"),B(!1),no(),On(Array.from(C.current.getElementsByTagName("a"))),tr()},[On,tr,J0,C1,ro,no]),Ir=(0,Le.useCallback)(Y1=>{let Q1=Y1.data;if(!(!Q1||!C.current)){if(Q1.command==="updateHtml"){let{totalLineCount:ze,tocHTML:Re,sourceUri:Je,sourceScheme:ft,markdown:At}=Q1;i.current=ze,A(Re),mn(At),n.current=Je,e.current=ft,C5(Q1.html,Q1.id,Q1.class)}else if(Q1.command==="changeTextEditorSelection"&&(Mi.scrollSync||Q1.forced)){let ze=parseInt(Q1.line,10),Re=parseFloat(Q1.topRatio);isNaN(Re)&&(Re=.372),t.current!==ze&&ro(ze,Re)}else if(Q1.command!=="startParsingMarkdown"){if(Q1.command==="openImageHelper")V(!0);else if(Q1.command==="runAllCodeChunks")vi();else if(Q1.command==="runCodeChunk")Ki();else if(Q1.command!=="escPressed")if(Q1.command==="previewSyncSource")n1();else if(Q1.command==="copy")document.execCommand("copy");else if(Q1.command==="zommIn")ee();else if(Q1.command==="zoomOut")ue();else if(Q1.command==="resetZoom")Ve();else if(Q1.command==="scrollPreviewToTop")Rt?window.Reveal.slide(0):vu(0);else if(Q1.command==="backlinks"){let{backlinks:ze,hasUpdate:Re,sourceUri:Je}=Q1;n.current===Je&&Re&&ve(ze),ke(!1)}else(Q1.command==="updatedNote"||Q1.command==="createdNote"||Q1.command==="deletedNote")&&n2()}}},[Mi.scrollSync,Rt,n1,n2,Ve,vi,Ki,ro,C5,ee,ue]),ra=(0,Le.useCallback)(Y1=>{if(C.current){if(Y1.shiftKey&&Y1.ctrlKey&&Y1.which===83)return n1();Y1.metaKey||Y1.ctrlKey?Y1.which===67?document.execCommand("copy"):Y1.which===187&&!hr?ee():Y1.which===189&&!hr?ue():Y1.which===48&&!hr?Ve():Y1.which===38&&(Rt?window.Reveal.slide(0):vu(0)):Y1.which===27&&W(Y1)}},[W,Rt,hr,n1,Ve,ee,ue]),Da=(0,Le.useCallback)(()=>{o.current=null},[]),jH=(0,Le.useCallback)(Y1=>{let Q1=u.current.get(Y1);if(!Q1)return null;let ze=Q1[0],Re=c.current.indexOf(Q1.at(-1)??ze),Je=c.current[Re+1]??i.current;return[ze,Je]},[]);return(0,Le.useEffect)(()=>{n.current=Mi.sourceUri,t.current=Mi.cursorLine??Number.parseInt(sessionStorage.getItem(`crossnote.cursorLine.${n.current}`)??"0")??0,e1(Mi.zoomLevel??1),sessionStorage.setItem(`crossnote.cursorLine.${n.current}`,t.current.toString())},[Mi]),(0,Le.useEffect)(()=>{_?(document.body.classList.add("show-sidebar-toc"),m.current&&(M.length>0?(m.current.innerHTML=M,On(Array.from(m.current.getElementsByTagName("a")))):m.current.innerHTML='<p style="text-align:center;font-style: italic;">Outline (empty)</p>')):document.body.classList.remove("show-sidebar-toc")},[_,M,On]),(0,Le.useEffect)(()=>{n2()},[n2]),(0,Le.useEffect)(()=>{g.current=(0,XV.SHA256)(JSON.stringify(x1)).toString()},[x1]),(0,Le.useEffect)(()=>{I(!!Mi.alwaysShowBacklinksInPreview)},[Mi.alwaysShowBacklinksInPreview]),(0,Le.useEffect)(()=>(document.addEventListener("keydown",ra),()=>{document.removeEventListener("keydown",ra)}),[ra]),(0,Le.useEffect)(()=>(window.addEventListener("resize",Da),()=>{window.removeEventListener("resize",Da)}),[Da]),(0,Le.useEffect)(()=>(window.addEventListener("message",Ir),()=>{window.removeEventListener("message",Ir)}),[Ir]),(0,Le.useEffect)(()=>{let Y1=C.current;return!Rt&&Y1&&window.addEventListener("scroll",w1),()=>{!Rt&&Y1&&window.removeEventListener("scroll",w1)}},[Rt,w1]),(0,Le.useEffect)(()=>{hr||C1("setZoomLevel",[n.current,G])},[hr,C1,G]),(0,Le.useEffect)(()=>{if(!C.current||!p.current||!n.current)return;if(document.body.hasAttribute("data-html")&&(C.current.innerHTML=document.body.getAttribute("data-html")??"",document.body.removeAttribute("data-html"),Y(C.current.innerHTML)),document.body.hasAttribute("data-markdown")){let Q1=document.body.getAttribute("data-markdown")??"";mn(Q1)}if(Rt)Mi.scrollSync=!0,fn();else{let Q1=window.matchMedia("(prefers-color-scheme: dark)").matches;C1("webviewFinishLoading",[{uri:n.current,systemColorScheme:Q1?"dark":"light"}])}let Y1=document.createElement("base");n.current&&(Y1.href=n.current),document.head.appendChild(Y1)},[Mi,fn,Rt,C1]),(0,Le.useEffect)(()=>{if(C.current){let Y1=a61(document.body);s1(Y1?"light":"dark"),document.body.setAttribute("data-preview-theme",Y1?"light":"dark")}},[Mi.previewTheme,Mi.revealjsTheme,Mi.codeBlockTheme,Mi.globalCss,d1]),(0,Le.useEffect)(()=>{window.setHighlightElement=function(Y1){Y1.classList.add("highlight-line"),Ci(Y1)}},[]),(0,Le.useEffect)(()=>{if(fe)return fe.classList.add("highlight-element-being-edited"),()=>{fe.classList.remove("highlight-element-being-edited")}},[fe]),{backlinks:x1,backlinksElement:H,bindAnchorElementsClickEvent:On,clickSidebarTocButton:q,config:Mi,contextMenuId:b1,getHighlightElementLineRange:jH,hiddenPreviewElement:p,highlightElement:$e,highlightElementBeingEdited:fe,isLoadingBacklinks:Vt,isLoadingPreview:R,isMobile:t1,isMouseOverPreview:Q,isPresentationMode:Rt,isRefreshingPreview:P,isVSCode:hr,isVSCodeWebExtension:gr,markdown:rn,markdownEditorExpanded:Dr,postMessage:C1,previewElement:C,previewSyncSource:n1,refreshBacklinks:n2,setHighlightElementBeingEdited:qi,setIsMouseOverPreview:X,setMarkdownEditorExpanded:jr,setShowBacklinks:I,setShowImageHelper:V,showBacklinks:S,showContextMenu:f1,showImageHelper:L,showSidebarToc:_,sidebarTocElement:m,sidebarTocHtml:M,sourceScheme:e,sourceUri:n,theme:h1,zoomLevel:G}}),qr=JO1;var rm=Dt(Hn(),1);function eR1({title:n,titleId:e,...t},i){return rm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?rm.createElement("title",{id:e},n):null,rm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"}))}var tR1=rm.forwardRef(eR1),JV=tR1;var om=Dt(Hn(),1);function iR1({title:n,titleId:e,...t},i){return om.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?om.createElement("title",{id:e},n):null,om.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}var nR1=om.forwardRef(iR1),PK=nR1;var sm=Dt(Hn(),1);function rR1({title:n,titleId:e,...t},i){return sm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?sm.createElement("title",{id:e},n):null,sm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"}))}var oR1=sm.forwardRef(rR1),FK=oR1;var am=Dt(Hn(),1);function sR1({title:n,titleId:e,...t},i){return am.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?am.createElement("title",{id:e},n):null,am.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"}))}var aR1=am.forwardRef(sR1),BK=aR1;var lm=Dt(Hn(),1);function lR1({title:n,titleId:e,...t},i){return lm.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:i,"aria-labelledby":e},t),n?lm.createElement("title",{id:e},n):null,lm.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zM3.75 12h.007v.008H3.75V12zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm-.375 5.25h.007v.008H3.75v-.008zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"}))}var dR1=lm.forwardRef(lR1),ZK=dR1;var Ak="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z";var d61="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z";var Sk="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var c61="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z";var u61="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z";var zK="M23,12L19,8V11H10V13H19V16M1,18V6C1,4.89 1.9,4 3,4H15A2,2 0 0,1 17,6V9H15V6H3V18H15V15H17V18A2,2 0 0,1 15,20H3A2,2 0 0,1 1,18Z",eM="M12,1L8,5H11V14H13V5H16M18,23H6C4.89,23 4,22.1 4,21V9A2,2 0 0,1 6,7H9V9H6V21H18V9H15V7H18A2,2 0 0,1 20,9V21A2,2 0 0,1 18,23Z";var h61="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z";var C61="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z";var wk="M12 2A10 10 0 1 1 2 12A10 10 0 0 1 12 2Z";var yk="M12 20A8 8 0 1 1 20 12A8 8 0 0 1 12 20M12 2A10 10 0 1 0 22 12A10 10 0 0 0 12 2Z";var kk="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z";var Ek="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2C17.5,2 22,6 22,11A6,6 0 0,1 16,17H14.2C13.9,17 13.7,17.2 13.7,17.5C13.7,17.6 13.8,17.7 13.8,17.8C14.2,18.3 14.4,18.9 14.4,19.5C14.5,20.9 13.4,22 12,22M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C12.3,20 12.5,19.8 12.5,19.5C12.5,19.3 12.4,19.2 12.4,19.1C12,18.6 11.8,18.1 11.8,17.5C11.8,16.1 12.9,15 14.3,15H16A4,4 0 0,0 20,11C20,7.1 16.4,4 12,4M6.5,10C7.3,10 8,10.7 8,11.5C8,12.3 7.3,13 6.5,13C5.7,13 5,12.3 5,11.5C5,10.7 5.7,10 6.5,10M9.5,6C10.3,6 11,6.7 11,7.5C11,8.3 10.3,9 9.5,9C8.7,9 8,8.3 8,7.5C8,6.7 8.7,6 9.5,6M14.5,6C15.3,6 16,6.7 16,7.5C16,8.3 15.3,9 14.5,9C13.7,9 13,8.3 13,7.5C13,6.7 13.7,6 14.5,6M17.5,10C18.3,10 19,10.7 19,11.5C19,12.3 18.3,13 17.5,13C16.7,13 16,12.3 16,11.5C16,10.7 16.7,10 17.5,10Z";var Dk="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";var p61="M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z";var m61="M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12M8.8,14L10,12.8V4H14V12.8L15.2,14H8.8Z";var f61="M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z";var g61="M16.59,5.41L15.17,4L12,7.17L8.83,4L7.41,5.41L12,10M7.41,18.59L8.83,20L12,16.83L15.17,20L16.58,18.59L12,14L7.41,18.59Z";var L61="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z";var Ik=Dt(tM()),k61=Dt(C9()),Vn=Dt(Hn());var w61;(()=>{"use strict";var n={470:r=>{function o(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function s(l,d){for(var c,u="",h=0,C=-1,p=0,m=0;m<=l.length;++m){if(m<l.length)c=l.charCodeAt(m);else{if(c===47)break;c=47}if(c===47){if(!(C===m-1||p===1))if(C!==m-1&&p===2){if(u.length<2||h!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var H=u.lastIndexOf("/");if(H!==u.length-1){H===-1?(u="",h=0):h=(u=u.slice(0,H)).length-1-u.lastIndexOf("/"),C=m,p=0;continue}}else if(u.length===2||u.length===1){u="",h=0,C=m,p=0;continue}}d&&(u.length>0?u+="/..":u="..",h=2)}else u.length>0?u+="/"+l.slice(C+1,m):u=l.slice(C+1,m),h=m-C-1;C=m,p=0}else c===46&&p!==-1?++p:p=-1}return u}var a={resolve:function(){for(var l,d="",c=!1,u=arguments.length-1;u>=-1&&!c;u--){var h;u>=0?h=arguments[u]:(l===void 0&&(l=process.cwd()),h=l),o(h),h.length!==0&&(d=h+"/"+d,c=h.charCodeAt(0)===47)}return d=s(d,!c),c?d.length>0?"/"+d:"/":d.length>0?d:"."},normalize:function(l){if(o(l),l.length===0)return".";var d=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=s(l,!d)).length!==0||d||(l="."),l.length>0&&c&&(l+="/"),d?"/"+l:l},isAbsolute:function(l){return o(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,d=0;d<arguments.length;++d){var c=arguments[d];o(c),c.length>0&&(l===void 0?l=c:l+="/"+c)}return l===void 0?".":a.normalize(l)},relative:function(l,d){if(o(l),o(d),l===d||(l=a.resolve(l))===(d=a.resolve(d)))return"";for(var c=1;c<l.length&&l.charCodeAt(c)===47;++c);for(var u=l.length,h=u-c,C=1;C<d.length&&d.charCodeAt(C)===47;++C);for(var p=d.length-C,m=h<p?h:p,H=-1,g=0;g<=m;++g){if(g===m){if(p>m){if(d.charCodeAt(C+g)===47)return d.slice(C+g+1);if(g===0)return d.slice(C+g)}else h>m&&(l.charCodeAt(c+g)===47?H=g:g===0&&(H=0));break}var L=l.charCodeAt(c+g);if(L!==d.charCodeAt(C+g))break;L===47&&(H=g)}var V="";for(g=c+H+1;g<=u;++g)g!==u&&l.charCodeAt(g)!==47||(V.length===0?V+="..":V+="/..");return V.length>0?V+d.slice(C+H):(C+=H,d.charCodeAt(C)===47&&++C,d.slice(C))},_makeLong:function(l){return l},dirname:function(l){if(o(l),l.length===0)return".";for(var d=l.charCodeAt(0),c=d===47,u=-1,h=!0,C=l.length-1;C>=1;--C)if((d=l.charCodeAt(C))===47){if(!h){u=C;break}}else h=!1;return u===-1?c?"/":".":c&&u===1?"//":l.slice(0,u)},basename:function(l,d){if(d!==void 0&&typeof d!="string")throw new TypeError('"ext" argument must be a string');o(l);var c,u=0,h=-1,C=!0;if(d!==void 0&&d.length>0&&d.length<=l.length){if(d.length===l.length&&d===l)return"";var p=d.length-1,m=-1;for(c=l.length-1;c>=0;--c){var H=l.charCodeAt(c);if(H===47){if(!C){u=c+1;break}}else m===-1&&(C=!1,m=c+1),p>=0&&(H===d.charCodeAt(p)?--p==-1&&(h=c):(p=-1,h=m))}return u===h?h=m:h===-1&&(h=l.length),l.slice(u,h)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!C){u=c+1;break}}else h===-1&&(C=!1,h=c+1);return h===-1?"":l.slice(u,h)},extname:function(l){o(l);for(var d=-1,c=0,u=-1,h=!0,C=0,p=l.length-1;p>=0;--p){var m=l.charCodeAt(p);if(m!==47)u===-1&&(h=!1,u=p+1),m===46?d===-1?d=p:C!==1&&(C=1):d!==-1&&(C=-1);else if(!h){c=p+1;break}}return d===-1||u===-1||C===0||C===1&&d===u-1&&d===c+1?"":l.slice(d,u)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(d,c){var u=c.dir||c.root,h=c.base||(c.name||"")+(c.ext||"");return u?u===c.root?u+h:u+"/"+h:h}(0,l)},parse:function(l){o(l);var d={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return d;var c,u=l.charCodeAt(0),h=u===47;h?(d.root="/",c=1):c=0;for(var C=-1,p=0,m=-1,H=!0,g=l.length-1,L=0;g>=c;--g)if((u=l.charCodeAt(g))!==47)m===-1&&(H=!1,m=g+1),u===46?C===-1?C=g:L!==1&&(L=1):C!==-1&&(L=-1);else if(!H){p=g+1;break}return C===-1||m===-1||L===0||L===1&&C===m-1&&C===p+1?m!==-1&&(d.base=d.name=p===0&&h?l.slice(1,m):l.slice(p,m)):(p===0&&h?(d.name=l.slice(1,C),d.base=l.slice(1,m)):(d.name=l.slice(p,C),d.base=l.slice(p,m)),d.ext=l.slice(C,m)),p>0?d.dir=l.slice(0,p-1):h&&(d.dir="/"),d},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,r.exports=a}},e={};function t(r){var o=e[r];if(o!==void 0)return o.exports;var s=e[r]={exports:{}};return n[r](s,s.exports,t),s.exports}t.d=(r,o)=>{for(var s in o)t.o(o,s)&&!t.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:o[s]})},t.o=(r,o)=>Object.prototype.hasOwnProperty.call(r,o),t.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{var r;if(t.r(i),t.d(i,{URI:()=>H,Utils:()=>T}),typeof process=="object")r=process.platform==="win32";else if(typeof navigator=="object"){var o=navigator.userAgent;r=o.indexOf("Windows")>=0}var s,a,l=(s=function(Q,X){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d1,Y){d1.__proto__=Y}||function(d1,Y){for(var h1 in Y)Object.prototype.hasOwnProperty.call(Y,h1)&&(d1[h1]=Y[h1])},s(Q,X)},function(Q,X){if(typeof X!="function"&&X!==null)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function d1(){this.constructor=Q}s(Q,X),Q.prototype=X===null?Object.create(X):(d1.prototype=X.prototype,new d1)}),d=/^\w[\w\d+.-]*$/,c=/^\//,u=/^\/\//;function h(Q,X){if(!Q.scheme&&X)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(Q.authority,'", path: "').concat(Q.path,'", query: "').concat(Q.query,'", fragment: "').concat(Q.fragment,'"}'));if(Q.scheme&&!d.test(Q.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Q.path){if(Q.authority){if(!c.test(Q.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(u.test(Q.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var C="",p="/",m=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,H=function(){function Q(X,d1,Y,h1,s1,t1){t1===void 0&&(t1=!1),typeof X=="object"?(this.scheme=X.scheme||C,this.authority=X.authority||C,this.path=X.path||C,this.query=X.query||C,this.fragment=X.fragment||C):(this.scheme=function(x1,ve){return x1||ve?x1:"file"}(X,t1),this.authority=d1||C,this.path=function(x1,ve){switch(x1){case"https":case"http":case"file":ve?ve[0]!==p&&(ve=p+ve):ve=p}return ve}(this.scheme,Y||C),this.query=h1||C,this.fragment=s1||C,h(this,t1))}return Q.isUri=function(X){return X instanceof Q||!!X&&typeof X.authority=="string"&&typeof X.fragment=="string"&&typeof X.path=="string"&&typeof X.query=="string"&&typeof X.scheme=="string"&&typeof X.fsPath=="string"&&typeof X.with=="function"&&typeof X.toString=="function"},Object.defineProperty(Q.prototype,"fsPath",{get:function(){return M(this,!1)},enumerable:!1,configurable:!0}),Q.prototype.with=function(X){if(!X)return this;var d1=X.scheme,Y=X.authority,h1=X.path,s1=X.query,t1=X.fragment;return d1===void 0?d1=this.scheme:d1===null&&(d1=C),Y===void 0?Y=this.authority:Y===null&&(Y=C),h1===void 0?h1=this.path:h1===null&&(h1=C),s1===void 0?s1=this.query:s1===null&&(s1=C),t1===void 0?t1=this.fragment:t1===null&&(t1=C),d1===this.scheme&&Y===this.authority&&h1===this.path&&s1===this.query&&t1===this.fragment?this:new L(d1,Y,h1,s1,t1)},Q.parse=function(X,d1){d1===void 0&&(d1=!1);var Y=m.exec(X);return Y?new L(Y[2]||C,P(Y[4]||C),P(Y[5]||C),P(Y[7]||C),P(Y[9]||C),d1):new L(C,C,C,C,C)},Q.file=function(X){var d1=C;if(r&&(X=X.replace(/\\/g,p)),X[0]===p&&X[1]===p){var Y=X.indexOf(p,2);Y===-1?(d1=X.substring(2),X=p):(d1=X.substring(2,Y),X=X.substring(Y)||p)}return new L("file",d1,X,C,C)},Q.from=function(X){var d1=new L(X.scheme,X.authority,X.path,X.query,X.fragment);return h(d1,!0),d1},Q.prototype.toString=function(X){return X===void 0&&(X=!1),A(this,X)},Q.prototype.toJSON=function(){return this},Q.revive=function(X){if(X){if(X instanceof Q)return X;var d1=new L(X);return d1._formatted=X.external,d1._fsPath=X._sep===g?X.fsPath:null,d1}return X},Q}(),g=r?1:void 0,L=function(Q){function X(){var d1=Q!==null&&Q.apply(this,arguments)||this;return d1._formatted=null,d1._fsPath=null,d1}return l(X,Q),Object.defineProperty(X.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=M(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),X.prototype.toString=function(d1){return d1===void 0&&(d1=!1),d1?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)},X.prototype.toJSON=function(){var d1={$mid:1};return this._fsPath&&(d1.fsPath=this._fsPath,d1._sep=g),this._formatted&&(d1.external=this._formatted),this.path&&(d1.path=this.path),this.scheme&&(d1.scheme=this.scheme),this.authority&&(d1.authority=this.authority),this.query&&(d1.query=this.query),this.fragment&&(d1.fragment=this.fragment),d1},X}(H),V=((a={})[58]="%3A",a[47]="%2F",a[63]="%3F",a[35]="%23",a[91]="%5B",a[93]="%5D",a[64]="%40",a[33]="%21",a[36]="%24",a[38]="%26",a[39]="%27",a[40]="%28",a[41]="%29",a[42]="%2A",a[43]="%2B",a[44]="%2C",a[59]="%3B",a[61]="%3D",a[32]="%20",a);function _(Q,X,d1){for(var Y=void 0,h1=-1,s1=0;s1<Q.length;s1++){var t1=Q.charCodeAt(s1);if(t1>=97&&t1<=122||t1>=65&&t1<=90||t1>=48&&t1<=57||t1===45||t1===46||t1===95||t1===126||X&&t1===47||d1&&t1===91||d1&&t1===93||d1&&t1===58)h1!==-1&&(Y+=encodeURIComponent(Q.substring(h1,s1)),h1=-1),Y!==void 0&&(Y+=Q.charAt(s1));else{Y===void 0&&(Y=Q.substr(0,s1));var x1=V[t1];x1!==void 0?(h1!==-1&&(Y+=encodeURIComponent(Q.substring(h1,s1)),h1=-1),Y+=x1):h1===-1&&(h1=s1)}}return h1!==-1&&(Y+=encodeURIComponent(Q.substring(h1))),Y!==void 0?Y:Q}function b(Q){for(var X=void 0,d1=0;d1<Q.length;d1++){var Y=Q.charCodeAt(d1);Y===35||Y===63?(X===void 0&&(X=Q.substr(0,d1)),X+=V[Y]):X!==void 0&&(X+=Q[d1])}return X!==void 0?X:Q}function M(Q,X){var d1;return d1=Q.authority&&Q.path.length>1&&Q.scheme==="file"?"//".concat(Q.authority).concat(Q.path):Q.path.charCodeAt(0)===47&&(Q.path.charCodeAt(1)>=65&&Q.path.charCodeAt(1)<=90||Q.path.charCodeAt(1)>=97&&Q.path.charCodeAt(1)<=122)&&Q.path.charCodeAt(2)===58?X?Q.path.substr(1):Q.path[1].toLowerCase()+Q.path.substr(2):Q.path,r&&(d1=d1.replace(/\//g,"\\")),d1}function A(Q,X){var d1=X?b:_,Y="",h1=Q.scheme,s1=Q.authority,t1=Q.path,x1=Q.query,ve=Q.fragment;if(h1&&(Y+=h1,Y+=":"),(s1||h1==="file")&&(Y+=p,Y+=p),s1){var Vt=s1.indexOf("@");if(Vt!==-1){var ke=s1.substr(0,Vt);s1=s1.substr(Vt+1),(Vt=ke.lastIndexOf(":"))===-1?Y+=d1(ke,!1,!1):(Y+=d1(ke.substr(0,Vt),!1,!1),Y+=":",Y+=d1(ke.substr(Vt+1),!1,!0)),Y+="@"}(Vt=(s1=s1.toLowerCase()).lastIndexOf(":"))===-1?Y+=d1(s1,!1,!0):(Y+=d1(s1.substr(0,Vt),!1,!0),Y+=s1.substr(Vt))}if(t1){if(t1.length>=3&&t1.charCodeAt(0)===47&&t1.charCodeAt(2)===58)($e=t1.charCodeAt(1))>=65&&$e<=90&&(t1="/".concat(String.fromCharCode($e+32),":").concat(t1.substr(3)));else if(t1.length>=2&&t1.charCodeAt(1)===58){var $e;($e=t1.charCodeAt(0))>=65&&$e<=90&&(t1="".concat(String.fromCharCode($e+32),":").concat(t1.substr(2)))}Y+=d1(t1,!0,!1)}return x1&&(Y+="?",Y+=d1(x1,!1,!1)),ve&&(Y+="#",Y+=X?ve:_(ve,!1,!1)),Y}function S(Q){try{return decodeURIComponent(Q)}catch{return Q.length>3?Q.substr(0,3)+S(Q.substr(3)):Q}}var I=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function P(Q){return Q.match(I)?Q.replace(I,function(X){return S(X)}):Q}var T,R=t(470),B=function(Q,X,d1){if(d1||arguments.length===2)for(var Y,h1=0,s1=X.length;h1<s1;h1++)!Y&&h1 in X||(Y||(Y=Array.prototype.slice.call(X,0,h1)),Y[h1]=X[h1]);return Q.concat(Y||Array.prototype.slice.call(X))},G=R.posix||R,e1="/";(function(Q){Q.joinPath=function(X){for(var d1=[],Y=1;Y<arguments.length;Y++)d1[Y-1]=arguments[Y];return X.with({path:G.join.apply(G,B([X.path],d1,!1))})},Q.resolvePath=function(X){for(var d1=[],Y=1;Y<arguments.length;Y++)d1[Y-1]=arguments[Y];var h1=X.path,s1=!1;h1[0]!==e1&&(h1=e1+h1,s1=!0);var t1=G.resolve.apply(G,B([h1],d1,!1));return s1&&t1[0]===e1&&!X.authority&&(t1=t1.substring(1)),X.with({path:t1})},Q.dirname=function(X){if(X.path.length===0||X.path===e1)return X;var d1=G.dirname(X.path);return d1.length===1&&d1.charCodeAt(0)===46&&(d1=""),X.with({path:d1})},Q.basename=function(X){return G.basename(X.path)},Q.extname=function(X){return G.extname(X.path)}})(T||(T={}))})(),w61=i})();var{URI:WK,Utils:y61}=w61;function UK(){let{backlinks:n,isLoadingBacklinks:e,backlinksElement:t,refreshBacklinks:i,bindAnchorElementsClickEvent:r,theme:o,config:s,postMessage:a,sourceUri:l}=qr.useContainer(),[d]=(0,Vn.useState)("modifiedAt"),[c]=(0,Vn.useState)("desc"),[u,h]=(0,Vn.useState)([]),C=(0,Vn.useMemo)(()=>u.reduce((p,{referenceHtmls:m})=>p+m.length,0),[u]);return(0,Vn.useEffect)(()=>{!t.current||e||r(Array.from(t.current.getElementsByTagName("a")))},[u,r,t,e]),(0,Vn.useEffect)(()=>{let p=[...n].sort((m,H)=>{let g=m.note,L=H.note;return d==="createdAt"?c==="asc"?new Date(g.config?.createdAt??0).getTime()-new Date(L.config?.createdAt??0).getTime():new Date(L.config?.createdAt??0).getTime()-new Date(g.config?.createdAt??0).getTime():d==="modifiedAt"?c==="asc"?new Date(g.config?.modifiedAt??0).getTime()-new Date(L.config?.modifiedAt??0).getTime():new Date(L.config?.modifiedAt??0).getTime()-new Date(g.config?.modifiedAt??0).getTime():0});h(p)},[n,d,c]),Vn.default.createElement("div",{className:"markdown-preview p-[2em] pb-48 backlinks relative select-none",ref:t},Vn.default.createElement("hr",null),Vn.default.createElement("div",{className:"flex flex-row items-center justify-between mb-4"},e?Vn.default.createElement("strong",null,"Backlinks"):Vn.default.createElement(Vn.default.Fragment,null,Vn.default.createElement("strong",null,Vn.default.createElement("span",{className:"font-light"},C)," ","Backlinks"),Vn.default.createElement("div",{className:(0,k61.default)("flex flex-row items-center bg-transparent"),"data-theme":o},Vn.default.createElement("div",{className:"p-2 cursor-pointer hover:text-primary",title:'Toggle "Always show backlinks in preview"',onClick:()=>{a("toggleAlwaysShowBacklinksInPreview",[l.current,!s.alwaysShowBacklinksInPreview])}},s.alwaysShowBacklinksInPreview?Vn.default.createElement(Ik.default,{className:"text-primary",path:p61,size:1}):Vn.default.createElement(Ik.default,{path:m61,size:1})),Vn.default.createElement("div",{className:"p-2 cursor-pointer hover:text-primary",onClick:()=>i(!0),title:"Refresh backlinks"},Vn.default.createElement(JV,{className:"w-5 h-5"}))))),e?Vn.default.createElement("div",{className:"loading"},"Loading..."):Vn.default.createElement("div",null,u.map(({note:p,referenceHtmls:m,references:H})=>{if(!p.notebookPath||!p.filePath)return;let g=y61.joinPath(WK.from(p.notebookPath),p.filePath);return Vn.default.createElement("div",{className:"backlink",key:`backlink-${p.filePath}`},Vn.default.createElement("a",{className:"note",href:g.toString(),title:p.filePath},p.title),Vn.default.createElement("ul",{className:"list-disc"},m.map((L,V)=>{let _=H[V],b=(_.parentToken?.map??_.token?.map??[])[0];if(!p.notebookPath||!p.filePath)return;let M=WK.from({...g,fragment:typeof b=="number"?`L${b}`:g.fragment}).toString();return Vn.default.createElement("li",{className:"list-none",key:`reference-${p.filePath}-${L}`},Vn.default.createElement("div",{className:"inline-flex"},Vn.default.createElement("a",{href:M,className:"mr-2 mt-1 text-inherit hover:text-primary",title:M},Vn.default.createElement(Ik.default,{path:kk,size:.8})),Vn.default.createElement("div",{dangerouslySetInnerHTML:{__html:L}})))})))})))}var Kr=Dt(tM()),H1=Dt(Hn());function jK(){let{config:n,contextMenuId:e,isVSCode:t,isVSCodeWebExtension:i,highlightElementBeingEdited:r,postMessage:o,previewSyncSource:s,setHighlightElementBeingEdited:a,setMarkdownEditorExpanded:l,setShowImageHelper:d,sourceUri:c,theme:u,isPresentationMode:h}=qr.useContainer(),C=(0,H1.useCallback)(({id:p})=>{switch(p){case"open-in-browser":{o("openInBrowser",[c.current]);break}case"export-html-offline":{o("htmlExport",[c.current,!0]);break}case"export-html-cdn":{o("htmlExport",[c.current,!1]);break}case"export-chrome-pdf":{o("chromeExport",[c.current,"pdf"]);break}case"export-chrome-png":{o("chromeExport",[c.current,"png"]);break}case"export-chrome-jpeg":{o("chromeExport",[c.current,"jpeg"]);break}case"export-prince":{o("princeExport",[c.current]);break}case"export-ebook-epub":{o("eBookExport",[c.current,"epub"]);break}case"export-ebook-mobi":{o("eBookExport",[c.current,"mobi"]);break}case"export-ebook-pdf":{o("eBookExport",[c.current,"pdf"]);break}case"export-ebook-html":{o("eBookExport",[c.current,"html"]);break}case"export-pandoc":{o("pandocExport",[c.current]);break}case"export-markdown":{o("markdownExport",[c.current]);break}case"open-image-helper":{d(!0);break}case"sync-source":{s();break}case"select-preview-theme-atom-dark":case"select-preview-theme-atom-light":case"select-preview-theme-atom-material":case"select-preview-theme-github-dark":case"select-preview-theme-github-light":case"select-preview-theme-gothic":case"select-preview-theme-medium":case"select-preview-theme-monokai":case"select-preview-theme-newsprint":case"select-preview-theme-night":case"select-preview-theme-none":case"select-preview-theme-one-dark":case"select-preview-theme-one-light":case"select-preview-theme-solarized-dark":case"select-preview-theme-solarized-light":case"select-preview-theme-vue":{o("setPreviewTheme",[c.current,`${p.replace("select-preview-theme-","")}.css`]);break}case"select-code-block-theme-auto":case"select-code-block-theme-default":case"select-code-block-theme-atom-dark":case"select-code-block-theme-atom-light":case"select-code-block-theme-atom-material":case"select-code-block-theme-coy":case"select-code-block-theme-darcula":case"select-code-block-theme-dark":case"select-code-block-theme-funky":case"select-code-block-theme-github":case"select-code-block-theme-github-dark":case"select-code-block-theme-hopscotch":case"select-code-block-theme-monokai":case"select-code-block-theme-okaidia":case"select-code-block-theme-one-dark":case"select-code-block-theme-one-light":case"select-code-block-theme-pen-paper-coffee":case"select-code-block-theme-pojoaque":case"select-code-block-theme-solarized-dark":case"select-code-block-theme-solarized-light":case"select-code-block-theme-twilight":case"select-code-block-theme-vue":case"select-code-block-theme-vs":case"select-code-block-theme-xonokai":{o("setCodeBlockTheme",[c.current,`${p.replace("select-code-block-theme-","")}.css`]);break}case"select-revealjs-theme-beige":case"select-revealjs-theme-black":case"select-revealjs-theme-blood":case"select-revealjs-theme-league":case"select-revealjs-theme-moon":case"select-revealjs-theme-night":case"select-revealjs-theme-none":case"select-revealjs-theme-serif":case"select-revealjs-theme-simple":case"select-revealjs-theme-sky":case"select-revealjs-theme-solarized":case"select-revealjs-theme-white":{o("setRevealjsTheme",[c.current,`${p.replace("select-revealjs-theme-","")}.css`]);break}case"open-external-editor":{o("openExternalEditor",[c.current]);break}case"open-documentation":{o("openDocumentation");break}case"open-changelog":{o("openChangelog");break}case"open-issues":{o("openIssues");break}case"open-sponsors":{o("openSponsors");break}default:break}},[o,s,d,c]);return H1.default.createElement("div",{"data-theme":u,className:"select-none"},H1.default.createElement(o61,{id:e,theme:u==="dark"?"dark":void 0},!i&&H1.default.createElement(H1.default.Fragment,null,H1.default.createElement(qe,{id:"open-in-browser",onClick:C},H1.default.createElement(Kr.default,{path:kk,size:.8,className:"mr-2"})," Open in Browser"),H1.default.createElement(Vu,null)),!i&&H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2"}),"HTML")},H1.default.createElement(qe,{id:"export-html-offline",onClick:C},"HTML (offline)"),H1.default.createElement(qe,{id:"export-html-cdn",onClick:C},"HTML (cdn hosted)")),!i&&H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:zK,size:.8,className:"mr-2 invisible"}),"Chrome (Puppeteer)")},H1.default.createElement(qe,{id:"export-chrome-pdf",onClick:C},"PDF"),H1.default.createElement(qe,{id:"export-chrome-png",onClick:C},"PNG"),H1.default.createElement(qe,{id:"export-chrome-jpeg",onClick:C},"JPEG")),!i&&H1.default.createElement(qe,{id:"export-prince",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2 invisible"}),"PDF (Prince)")),!i&&H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:zK,size:.8,className:"mr-2 invisible"}),"eBook")},H1.default.createElement(qe,{id:"export-ebook-epub",onClick:C},"ePub"),H1.default.createElement(qe,{id:"export-ebook-mobi",onClick:C},"Mobi"),H1.default.createElement(qe,{id:"export-ebook-pdf",onClick:C},"PDF"),H1.default.createElement(qe,{id:"export-ebook-html",onClick:C},"HTML")),!i&&H1.default.createElement(qe,{id:"export-pandoc",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2 invisible"}),"Pandoc")),!i&&H1.default.createElement(qe,{id:"export-markdown",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:eM,size:.8,className:"mr-2 invisible"}),"Save as Markdown")),!i&&H1.default.createElement(Vu,null),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Dk,size:.8,className:"mr-2"}),"Edit Markdown")},H1.default.createElement(qe,{id:"open-external-editor",onClick:C},H1.default.createElement("span",null,t?"Open VS Code Editor":"Open External Editor")),!h&&H1.default.createElement(qe,{id:"open-in-preview-editor",onClick:()=>{let p=document.querySelector(".final-line");p&&(r&&r!==p?r.scrollIntoView({behavior:"smooth",inline:"start",block:"center"}):(l(!0),a(p)))}},H1.default.createElement("span",null,"Open In-preview Editor "))),!i&&H1.default.createElement(H1.default.Fragment,null,H1.default.createElement(Vu,null),H1.default.createElement(qe,{id:"open-image-helper",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:h61,size:.8,className:"mr-2"}),"Image Helper")),H1.default.createElement(Vu,null)),H1.default.createElement(qe,{id:"sync-source",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:f61,size:.8,className:"mr-2"}),"Sync Source")),H1.default.createElement(Vu,null),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ek,size:.8,className:"mr-2"}),"Preview Theme")},H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:yk,size:.8,className:"mr-2"}),"Light")},H1.default.createElement(qe,{id:"select-preview-theme-atom-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="atom-light.css"?"text-primary font-bold":""},"atom-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-github-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="github-light.css"?"text-primary font-bold":""},"github-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-gothic",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="gothic.css"?"text-primary font-bold":""},"gothic.css")),H1.default.createElement(qe,{id:"select-preview-theme-medium",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="medium.css"?"text-primary font-bold":""},"medium.css")),H1.default.createElement(qe,{id:"select-preview-theme-newsprint",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="newsprint.css"?"text-primary font-bold":""},"newsprint.css")),H1.default.createElement(qe,{id:"select-preview-theme-one-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="one-light.css"?"text-primary font-bold":""},"one-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-solarized-light",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="solarized-light.css"?"text-primary font-bold":""},"solarized-light.css")),H1.default.createElement(qe,{id:"select-preview-theme-vue",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="vue.css"?"text-primary font-bold":""},"vue.css"))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:wk,size:.8,className:"mr-2"}),"Dark")},H1.default.createElement(qe,{id:"select-preview-theme-atom-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="atom-dark.css"?"text-primary font-bold":""},"atom-dark.css")),H1.default.createElement(qe,{id:"select-preview-theme-atom-material",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="atom-material.css"?"text-primary font-bold":""},"atom-material.css")),H1.default.createElement(qe,{id:"select-preview-theme-github-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="github-dark.css"?"text-primary font-bold":""},"github-dark.css")),H1.default.createElement(qe,{id:"select-preview-theme-monokai",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="monokai.css"?"text-primary font-bold":""},"monokai.css")),H1.default.createElement(qe,{id:"select-preview-theme-night",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="night.css"?"text-primary font-bold":""},"night.css")),H1.default.createElement(qe,{id:"select-preview-theme-one-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="one-dark.css"?"text-primary font-bold":""},"one-dark.css")),H1.default.createElement(qe,{id:"select-preview-theme-solarized-dark",onClick:C},H1.default.createElement("span",{className:n.previewTheme==="solarized-dark.css"?"text-primary font-bold":""},"solarized-dark.css"))),H1.default.createElement(qe,{id:"select-preview-theme-none",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ak,size:.8,className:"mr-2"}),H1.default.createElement("span",{className:n.previewTheme==="none.css"?"text-primary font-bold":""},"None")))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ek,size:.8,className:"mr-2 invisible"}),"Code Block Theme")},H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:yk,size:.8,className:"mr-2"}),"Light")},H1.default.createElement(qe,{id:"select-code-block-theme-default",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="default.css"?"text-primary font-bold":""},"default.css")),H1.default.createElement(qe,{id:"select-code-block-theme-atom-light",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="atom-light.css"?"text-primary font-bold":""},"atom-light.css")),H1.default.createElement(qe,{id:"select-code-block-theme-coy",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="coy.css"?"text-primary font-bold":""},"coy.css")),H1.default.createElement(qe,{id:"select-code-block-theme-funky",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="funky.css"?"text-primary font-bold":""},"funky.css")),H1.default.createElement(qe,{id:"select-code-block-theme-github",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="github.css"?"text-primary font-bold":""},"github.css")),H1.default.createElement(qe,{id:"select-code-block-theme-one-light",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="one-light.css"?"text-primary font-bold":""},"one-light.css")),H1.default.createElement(qe,{id:"select-code-block-theme-pen-paper-coffee",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="pen-paper-coffee.css"?"text-primary font-bold":""},"pen-paper-coffee.css")),H1.default.createElement(qe,{id:"select-code-block-theme-solarized-light",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="solarized-light.css"?"text-primary font-bold":""},"solarized-light.css")),H1.default.createElement(qe,{id:"select-code-block-theme-vue",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="vue.css"?"text-primary font-bold":""},"vue.css")),H1.default.createElement(qe,{id:"select-code-block-theme-vs",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="vs.css"?"text-primary font-bold":""},"vs.css"))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:wk,size:.8,className:"mr-2"}),"Dark")},H1.default.createElement(qe,{id:"select-code-block-theme-atom-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="atom-dark.css"?"text-primary font-bold":""},"atom-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-atom-material",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="atom-material.css"?"text-primary font-bold":""},"atom-material.css")),H1.default.createElement(qe,{id:"select-code-block-theme-darcula",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="darcula.css"?"text-primary font-bold":""},"default.css")),H1.default.createElement(qe,{id:"select-code-block-theme-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="dark.css"?"text-primary font-bold":""},"dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-github-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="github-dark.css"?"text-primary font-bold":""},"github-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-hopscotch",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="hopscotch.css"?"text-primary font-bold":""},"hopscotch.css")),H1.default.createElement(qe,{id:"select-code-block-theme-monokai",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="monokai.css"?"text-primary font-bold":""},"monokai.css")),H1.default.createElement(qe,{id:"select-code-block-theme-okaidia",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="okaidia.css"?"text-primary font-bold":""},"okaidia.css")),H1.default.createElement(qe,{id:"select-code-block-theme-one-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="one-dark.css"?"text-primary font-bold":""},"one-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-pojoaque",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="pojoaque.css"?"text-primary font-bold":""},"pojoaque.css")),H1.default.createElement(qe,{id:"select-code-block-theme-solarized-dark",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="solarized-dark.css"?"text-primary font-bold":""},"solarized-dark.css")),H1.default.createElement(qe,{id:"select-code-block-theme-twilight",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="twilight.css"?"text-primary font-bold":""},"twilight.css")),H1.default.createElement(qe,{id:"select-code-block-theme-xonokai",onClick:C},H1.default.createElement("span",{className:n.codeBlockTheme==="xonokai.css"?"text-primary font-bold":""},"xonokai.css"))),H1.default.createElement(qe,{id:"select-code-block-theme-auto",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ak,size:.8,className:"mr-2"}),H1.default.createElement("span",{className:n.codeBlockTheme==="auto.css"?"text-primary font-bold":""},"Auto")))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ek,size:.8,className:"mr-2 invisible"}),"Reveal.js Theme")},H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:yk,size:.8,className:"mr-2"}),"Light")},H1.default.createElement(qe,{id:"select-revealjs-theme-beige",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="beige.css"?"text-primary font-bold":""},"beige.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-serif",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="serif.css"?"text-primary font-bold":""},"serif.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-simple",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="simple.css"?"text-primary font-bold":""},"simple.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-sky",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="sky.css"?"text-primary font-bold":""},"sky.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-solarized",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="solarized.css"?"text-primary font-bold":""},"solarized.css")," "),H1.default.createElement(qe,{id:"select-revealjs-theme-white",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="white.css"?"text-primary font-bold":""},"white.css"))),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:wk,size:.8,className:"mr-2"}),"Dark")},H1.default.createElement(qe,{id:"select-revealjs-theme-black",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="black.css"?"text-primary font-bold":""},"black.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-blood",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="blood.css"?"text-primary font-bold":""},"blood.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-league",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="league.css"?"text-primary font-bold":""},"league.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-moon",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="moon.css"?"text-primary font-bold":""},"moon.css")),H1.default.createElement(qe,{id:"select-revealjs-theme-night",onClick:C},H1.default.createElement("span",{className:n.revealjsTheme==="night.css"?"text-primary font-bold":""},"night.css"))),H1.default.createElement(qe,{id:"select-revealjs-theme-none",onClick:C},H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:Ak,size:.8,className:"mr-2"}),H1.default.createElement("span",{className:n.revealjsTheme==="none.css"?"text-primary font-bold":""},"None")))),H1.default.createElement(Vu,null),H1.default.createElement(Pa,{label:H1.default.createElement("span",{className:"inline-flex flex-row items-center"},H1.default.createElement(Kr.default,{path:C61,size:.8,className:"mr-2"}),"About")},H1.default.createElement(qe,{id:"open-documentation",onClick:C},"Documentation"),H1.default.createElement(qe,{id:"open-changelog",onClick:C},"Change Log"),H1.default.createElement(qe,{id:"open-issues",onClick:C},"Feature Requests or Bug Reports"),H1.default.createElement(qe,{id:"open-sponsors",onClick:C},"Sponsor This Project \u{1F60A}"))))}var iM=Dt(tM()),$K=Dt(C9()),Gr=Dt(Hn()),E61=Dt(jV());function qK(){let{highlightElement:n,getHighlightElementLineRange:e,markdown:t,highlightElementBeingEdited:i,setHighlightElementBeingEdited:r}=qr.useContainer(),[o,s]=(0,Gr.useState)(!1),[a,l]=(0,Gr.useState)(void 0),d=(0,Gr.useCallback)(()=>{document.querySelectorAll(".highlight-line").forEach(C=>{C.classList.add("highlight-active")})},[]),c=(0,Gr.useCallback)(()=>{document.querySelectorAll(".highlight-line").forEach(C=>{C.classList.remove("highlight-active")}),l(void 0)},[]),u=(0,Gr.useCallback)(()=>{if(!n)return;let h=e(n);if(!h)return;let[C,p]=h,H=t.split(`
|
|
992
992
|
`).slice(C,p),g=document.createElement("textarea");g.value=H.join(`
|
|
993
993
|
`).replace(/\n$/,"").replace(/^\n/,""),document.body.appendChild(g),g.select(),document.execCommand("copy"),document.body.removeChild(g),l("Markdown copied!"),setTimeout(()=>{l(void 0)},1e3)},[n,e,t]);return(0,Gr.useEffect)(()=>{if(n&&o)return document.body.classList.add("floating-action-open"),()=>{document.body.classList.remove("floating-action-open")}},[o,n]),!n||i?null:(0,E61.createPortal)(Gr.default.createElement("div",{className:(0,$K.default)("absolute top-0 right-0 select-none floating-action flex flex-col items-end z-[60]"),onMouseOver:d,onMouseOut:c},Gr.default.createElement("div",{className:"flex flex-row items-center"},o&&Gr.default.createElement(Gr.default.Fragment,null,Gr.default.createElement("div",{className:(0,$K.default)("ml-1 flex",a?"tooltip tooltip-open":""),"data-tip":a},Gr.default.createElement("button",{className:"btn btn-primary btn-circle btn-xs",title:"Copy the part of markdown",onClick:u},Gr.default.createElement(iM.default,{path:c61,size:.6}))),Gr.default.createElement("div",{className:"ml-1 flex"},Gr.default.createElement("button",{className:"btn btn-primary btn-circle btn-xs",title:"Edit the part of markdown",onClick:()=>r(n)},Gr.default.createElement(iM.default,{path:Dk,size:.6})))),Gr.default.createElement("div",{className:"ml-1 flex"},Gr.default.createElement("button",{className:"btn btn-primary btn-circle btn-xs",onClick:()=>s(!o)},o?Gr.default.createElement(iM.default,{path:Sk,size:.6}):Gr.default.createElement(iM.default,{path:u61,size:.6}))))),n)}var nM=Dt(C9()),c0=Dt(Hn()),N61=Dt(T61());function GK(){let{showContextMenu:n,setShowBacklinks:e,isPresentationMode:t,isMouseOverPreview:i,isMobile:r,showBacklinks:o,theme:s,markdown:a}=qr.useContainer(),[l,d]=(0,c0.useState)(void 0);return(0,c0.useEffect)(()=>{let c=(0,N61.default)(a);d(c)},[a]),c0.default.createElement("div",{className:(0,nM.default)("footer fixed bottom-0 w-full z-50 pr-2 bg-transparent select-none h-7",t?"hidden":""),"data-theme":s},c0.default.createElement("div",{className:"w-full flex flex-row justify-between items-center backdrop-blur-xl",style:{backgroundColor:YV(document.body)}},l&&c0.default.createElement("div",{className:(0,nM.default)("p-1 ml-2 text-xs")},l.text),c0.default.createElement("div",{className:(0,nM.default)("flex flex-row justify-end items-center",r||i?"":"invisible")},c0.default.createElement("div",{className:(0,nM.default)("p-1 cursor-pointer hover:text-primary w-5 h-5",o?"text-primary font-bold":""),title:"Toggle backlinks",onClick:()=>{e(c=>!c)}},c0.default.createElement(BK,{className:"w-5 h-5"})),c0.default.createElement("div",{className:"p-1 cursor-pointer hover:text-primary w-5 h-5",title:"Open menu",onClick:c=>{n({event:c})}},c0.default.createElement(PK,{className:"w-5 h-5"})))))}var Zt=Dt(Hn());function YK(){let{postMessage:n,config:e,showImageHelper:t,setShowImageHelper:i,sourceUri:r,theme:o}=qr.useContainer(),s=(0,Zt.useRef)(null),a=(0,Zt.useRef)(null),l=(0,Zt.useRef)(null),d=(0,Zt.useRef)(null),[c,u]=(0,Zt.useState)(e.imageUploader??"imgur"),h=(0,Zt.useCallback)(m=>{if(a.current)if(m.key==="Enter"){let H=a.current.value.trim();return H.indexOf(" ")>=0&&(H=`<${H}>`),H.length&&(i(!1),n("insertImageUrl",[r.current,H])),!1}else return!0},[i,n,r]),C=(0,Zt.useCallback)(m=>{m.preventDefault(),m.stopPropagation();let H=m.dataTransfer.files;for(let g=0;g<H.length;g++){let L=H[g];L&&L.path&&n("pasteImageFile",[r.current,L.path])}i(!1)},[i,n,r]),p=(0,Zt.useCallback)(m=>{m.preventDefault(),m.stopPropagation();let H=m.dataTransfer.files;for(let g=0;g<H.length;g++){let L=H[g];L&&L.path&&n("uploadImageFile",[r.current,L.path,c])}i(!1)},[i,n,c,r]);return(0,Zt.useEffect)(()=>{t?s.current?.showModal():s.current?.close()},[s,t]),Zt.default.createElement("dialog",{className:"modal select-none",onClose:()=>{i(!1)},ref:s,"data-theme":o},Zt.default.createElement("div",{className:"modal-box"},Zt.default.createElement("div",null,Zt.default.createElement("div",{className:"mt-3 text-center sm:mt-5"},Zt.default.createElement("h3",{className:"text-base font-semibold leading-6"},"Image helper"),Zt.default.createElement("div",{className:"mt-2 text-left"},Zt.default.createElement("div",null,Zt.default.createElement("label",{htmlFor:"link",className:"block text-sm font-medium leading-6 "},"Link"),Zt.default.createElement("div",{className:"mt-2"},Zt.default.createElement("input",{type:"text",placeholder:"Enter image URL here, then press 'Enter' to insert.",onKeyDown:h,className:"block w-full rounded-md border-0 px-1.5 py-1.5 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6",ref:a}))),Zt.default.createElement("div",{className:"relative my-4"},Zt.default.createElement("div",{className:"divider"},"OR")),Zt.default.createElement("div",{className:""},Zt.default.createElement("label",{className:"text-sm"},"Copy image to"," ",e.imageFolderPath&&e.imageFolderPath[0]==="/"?"workspace":"relative"," ",Zt.default.createElement("code",null,e.imageFolderPath)," folder."),Zt.default.createElement("div",{className:"bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-800 p-4 rounded-md mt-2 cursor-pointer",onDrop:C,onDrag:C,onClick:()=>{l.current?.click()}},Zt.default.createElement("div",{className:"text-sm"},"Click me to browse image file"),Zt.default.createElement("input",{type:"file",className:"hidden",multiple:!0,ref:l,onChange:m=>{let H=m.target.files??[];for(let g=0;g<H.length;g++){let L=H[g];L&&L.path&&n("pasteImageFile",[r.current,L.path])}m.target.value=""}}))),Zt.default.createElement("div",{className:"relative my-4"},Zt.default.createElement("div",{className:"divider"},"OR")),Zt.default.createElement("div",{className:""},Zt.default.createElement("label",{className:"text-sm"},"Upload"),Zt.default.createElement("div",{className:"bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-800 p-4 rounded-md mt-2 cursor-pointer",onDrop:p,onDrag:p,onClick:()=>{d.current?.click()}},Zt.default.createElement("div",{className:"text-sm"},"Click me to browse image file"),Zt.default.createElement("input",{type:"file",multiple:!0,ref:d,className:"hidden",onChange:m=>{let H=m.target.files??[];for(let g=0;g<H.length;g++){let L=H[g];L&&L.path&&n("uploadImageFile",[r.current,L.path,c])}m.target.value=""}})),Zt.default.createElement("div",{className:"mt-2 text-sm"},Zt.default.createElement("span",null,"use"),Zt.default.createElement("select",{value:c,onChange:m=>{u(m.target.value),n("setImageUploader",[m.target.value])},className:"select select-bordered select-sm mx-2"},Zt.default.createElement("option",{value:"imgur"},"imgur"),Zt.default.createElement("option",{value:"sm.ms"},"sm.ms"),Zt.default.createElement("option",{value:"qiniu"},"qiniu")),Zt.default.createElement("span",null," to upload images"))),Zt.default.createElement("div",{className:"text-sm mt-4"},Zt.default.createElement("a",{href:"#"},"Show history")))))),Zt.default.createElement("form",{method:"dialog",className:"modal-backdrop"},Zt.default.createElement("button",null,"close")))}var n3=Dt(Hn());function QK(){let{theme:n}=qr.useContainer(),[e,t]=(0,n3.useState)(5);return(0,n3.useEffect)(()=>{e>0&&setTimeout(()=>{t(e-1)},1e3)},[e]),n3.default.createElement("div",{className:"markdown-preview fixed top-0 left-0 w-full h-full z-50 select-none",style:{backgroundColor:getComputedStyle(document.body).backgroundColor},"data-theme":n},n3.default.createElement("div",{className:"fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"},n3.default.createElement("div",{className:"flex flex-col items-center"},n3.default.createElement("span",{className:"loading loading-bars loading-md"}),e===0&&n3.default.createElement("span",{className:"mt-2 text-center"},"Something is wrong.",n3.default.createElement("br",null)," Please close and open the preview again."))))}var cw=Dt(tM());function mR1(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function O61(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,i)}return t}function XK(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?O61(Object(t),!0).forEach(function(i){mR1(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):O61(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function fR1(n,e){if(n==null)return{};var t={},i=Object.keys(n),r,o;for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&(t[r]=n[r]);return t}function P61(n,e){if(n==null)return{};var t=fR1(n,e),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(r=0;r<o.length;r++)i=o[r],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}function F61(n,e){return gR1(n)||LR1(n,e)||HR1(n,e)||VR1()}function gR1(n){if(Array.isArray(n))return n}function LR1(n,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(n)))){var t=[],i=!0,r=!1,o=void 0;try{for(var s=n[Symbol.iterator](),a;!(i=(a=s.next()).done)&&(t.push(a.value),!(e&&t.length===e));i=!0);}catch(l){r=!0,o=l}finally{try{!i&&s.return!=null&&s.return()}finally{if(r)throw o}}return t}}function HR1(n,e){if(n){if(typeof n=="string")return R61(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return R61(n,e)}}function R61(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=n[t];return i}function VR1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
994
994
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MR1(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function B61(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,i)}return t}function Z61(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?B61(Object(t),!0).forEach(function(i){MR1(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):B61(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function vR1(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return function(i){return e.reduceRight(function(r,o){return o(r)},i)}}function rM(n){return function e(){for(var t=this,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return r.length>=n.length?n.apply(this,r):function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return e.apply(t,[].concat(r,a))}}}function Nk(n){return{}.toString.call(n).includes("Object")}function _R1(n){return!Object.keys(n).length}function oM(n){return typeof n=="function"}function xR1(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function bR1(n,e){return Nk(e)||m9("changeType"),Object.keys(e).some(function(t){return!xR1(n,t)})&&m9("changeField"),e}function AR1(n){oM(n)||m9("selectorType")}function SR1(n){oM(n)||Nk(n)||m9("handlerType"),Nk(n)&&Object.values(n).some(function(e){return!oM(e)})&&m9("handlersType")}function wR1(n){n||m9("initialIsRequired"),Nk(n)||m9("initialType"),_R1(n)&&m9("initialContent")}function yR1(n,e){throw new Error(n[e]||n.default)}var kR1={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},m9=rM(yR1)(kR1),Tk={changes:bR1,selector:AR1,handler:SR1,initial:wR1};function ER1(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Tk.initial(n),Tk.handler(e);var t={current:n},i=rM(TR1)(t,e),r=rM(IR1)(t),o=rM(Tk.changes)(n),s=rM(DR1)(t);function a(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(c){return c};return Tk.selector(d),d(t.current)}function l(d){vR1(i,r,o,s)(d)}return[a,l]}function DR1(n,e){return oM(e)?e(n.current):e}function IR1(n,e){return n.current=Z61(Z61({},n.current),e),e}function TR1(n,e,t){return oM(e)?e(n.current):Object.keys(t).forEach(function(i){var r;return(r=e[i])===null||r===void 0?void 0:r.call(e,n.current[i])}),t}var NR1={create:ER1},z61=NR1;var OR1={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.36.1/min/vs"}},W61=OR1;function RR1(n){return function e(){for(var t=this,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return r.length>=n.length?n.apply(this,r):function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return e.apply(t,[].concat(r,a))}}}var U61=RR1;function PR1(n){return{}.toString.call(n).includes("Object")}var j61=PR1;function FR1(n){return n||$61("configIsRequired"),j61(n)||$61("configType"),n.urls?(BR1(),{paths:{vs:n.urls.monacoBase}}):n}function BR1(){console.warn(q61.deprecation)}function ZR1(n,e){throw new Error(n[e]||n.default)}var q61={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|