Files
HomeAssistantVS/custom_components/cafe/www/assets/main-CCZArAkW.js
T

594 lines
3.4 MiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var CCn=Object.defineProperty;var ICn=(n,i,s)=>i in n?CCn(n,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[i]=s;var Zf=(n,i,s)=>ICn(n,typeof i!="symbol"?i+"":i,s);function RCn(n,i){for(var s=0;s<i.length;s++){const c=i[s];if(typeof c!="string"&&!Array.isArray(c)){for(const d in c)if(d!=="default"&&!(d in n)){const g=Object.getOwnPropertyDescriptor(c,d);g&&Object.defineProperty(n,d,g.get?g:{enumerable:!0,get:()=>c[d]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const g of d)if(g.type==="childList")for(const b of g.addedNodes)b.tagName==="LINK"&&b.rel==="modulepreload"&&c(b)}).observe(document,{childList:!0,subtree:!0});function s(d){const g={};return d.integrity&&(g.integrity=d.integrity),d.referrerPolicy&&(g.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?g.credentials="include":d.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function c(d){if(d.ep)return;d.ep=!0;const g=s(d);fetch(d.href,g)}})();var I5=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function TR(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var aBt={exports:{}},Rse={},cBt={exports:{}},Os={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var mz=Symbol.for("react.element"),OCn=Symbol.for("react.portal"),DCn=Symbol.for("react.fragment"),LCn=Symbol.for("react.strict_mode"),MCn=Symbol.for("react.profiler"),PCn=Symbol.for("react.provider"),jCn=Symbol.for("react.context"),FCn=Symbol.for("react.forward_ref"),$Cn=Symbol.for("react.suspense"),BCn=Symbol.for("react.memo"),UCn=Symbol.for("react.lazy"),t5t=Symbol.iterator;function HCn(n){return n===null||typeof n!="object"?null:(n=t5t&&n[t5t]||n["@@iterator"],typeof n=="function"?n:null)}var uBt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lBt=Object.assign,dBt={};function LM(n,i,s){this.props=n,this.context=i,this.refs=dBt,this.updater=s||uBt}LM.prototype.isReactComponent={};LM.prototype.setState=function(n,i){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,i,"setState")};LM.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function fBt(){}fBt.prototype=LM.prototype;function ILe(n,i,s){this.props=n,this.context=i,this.refs=dBt,this.updater=s||uBt}var RLe=ILe.prototype=new fBt;RLe.constructor=ILe;lBt(RLe,LM.prototype);RLe.isPureReactComponent=!0;var n5t=Array.isArray,hBt=Object.prototype.hasOwnProperty,OLe={current:null},pBt={key:!0,ref:!0,__self:!0,__source:!0};function gBt(n,i,s){var c,d={},g=null,b=null;if(i!=null)for(c in i.ref!==void 0&&(b=i.ref),i.key!==void 0&&(g=""+i.key),i)hBt.call(i,c)&&!pBt.hasOwnProperty(c)&&(d[c]=i[c]);var w=arguments.length-2;if(w===1)d.children=s;else if(1<w){for(var E=Array(w),S=0;S<w;S++)E[S]=arguments[S+2];d.children=E}if(n&&n.defaultProps)for(c in w=n.defaultProps,w)d[c]===void 0&&(d[c]=w[c]);return{$$typeof:mz,type:n,key:g,ref:b,props:d,_owner:OLe.current}}function zCn(n,i){return{$$typeof:mz,type:n.type,key:i,ref:n.ref,props:n.props,_owner:n._owner}}function DLe(n){return typeof n=="object"&&n!==null&&n.$$typeof===mz}function GCn(n){var i={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(s){return i[s]})}var r5t=/\/+/g;function uCe(n,i){return typeof n=="object"&&n!==null&&n.key!=null?GCn(""+n.key):i.toString(36)}function Hie(n,i,s,c,d){var g=typeof n;(g==="undefined"||g==="boolean")&&(n=null);var b=!1;if(n===null)b=!0;else switch(g){case"string":case"number":b=!0;break;case"object":switch(n.$$typeof){case mz:case OCn:b=!0}}if(b)return b=n,d=d(b),n=c===""?"."+uCe(b,0):c,n5t(d)?(s="",n!=null&&(s=n.replace(r5t,"$&/")+"/"),Hie(d,i,s,"",function(S){return S})):d!=null&&(DLe(d)&&(d=zCn(d,s+(!d.key||b&&b.key===d.key?"":(""+d.key).replace(r5t,"$&/")+"/")+n)),i.push(d)),1;if(b=0,c=c===""?".":c+":",n5t(n))for(var w=0;w<n.length;w++){g=n[w];var E=c+uCe(g,w);b+=Hie(g,i,s,E,d)}else if(E=HCn(n),typeof E=="function")for(n=E.call(n),w=0;!(g=n.next()).done;)g=g.value,E=c+uCe(g,w++),b+=Hie(g,i,s,E,d);else if(g==="object")throw i=String(n),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.");return b}function Jre(n,i,s){if(n==null)return n;var c=[],d=0;return Hie(n,c,"","",function(g){return i.call(s,g,d++)}),c}function qCn(n){if(n._status===-1){var i=n._result;i=i(),i.then(function(s){(n._status===0||n._status===-1)&&(n._status=1,n._result=s)},function(s){(n._status===0||n._status===-1)&&(n._status=2,n._result=s)}),n._status===-1&&(n._status=0,n._result=i)}if(n._status===1)return n._result.default;throw n._result}var qg={current:null},zie={transition:null},VCn={ReactCurrentDispatcher:qg,ReactCurrentBatchConfig:zie,ReactCurrentOwner:OLe};function bBt(){throw Error("act(...) is not supported in production builds of React.")}Os.Children={map:Jre,forEach:function(n,i,s){Jre(n,function(){i.apply(this,arguments)},s)},count:function(n){var i=0;return Jre(n,function(){i++}),i},toArray:function(n){return Jre(n,function(i){return i})||[]},only:function(n){if(!DLe(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Os.Component=LM;Os.Fragment=DCn;Os.Profiler=MCn;Os.PureComponent=ILe;Os.StrictMode=LCn;Os.Suspense=$Cn;Os.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=VCn;Os.act=bBt;Os.cloneElement=function(n,i,s){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var c=lBt({},n.props),d=n.key,g=n.ref,b=n._owner;if(i!=null){if(i.ref!==void 0&&(g=i.ref,b=OLe.current),i.key!==void 0&&(d=""+i.key),n.type&&n.type.defaultProps)var w=n.type.defaultProps;for(E in i)hBt.call(i,E)&&!pBt.hasOwnProperty(E)&&(c[E]=i[E]===void 0&&w!==void 0?w[E]:i[E])}var E=arguments.length-2;if(E===1)c.children=s;else if(1<E){w=Array(E);for(var S=0;S<E;S++)w[S]=arguments[S+2];c.children=w}return{$$typeof:mz,type:n.type,key:d,ref:g,props:c,_owner:b}};Os.createContext=function(n){return n={$$typeof:jCn,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:PCn,_context:n},n.Consumer=n};Os.createElement=gBt;Os.createFactory=function(n){var i=gBt.bind(null,n);return i.type=n,i};Os.createRef=function(){return{current:null}};Os.forwardRef=function(n){return{$$typeof:FCn,render:n}};Os.isValidElement=DLe;Os.lazy=function(n){return{$$typeof:UCn,_payload:{_status:-1,_result:n},_init:qCn}};Os.memo=function(n,i){return{$$typeof:BCn,type:n,compare:i===void 0?null:i}};Os.startTransition=function(n){var i=zie.transition;zie.transition={};try{n()}finally{zie.transition=i}};Os.unstable_act=bBt;Os.useCallback=function(n,i){return qg.current.useCallback(n,i)};Os.useContext=function(n){return qg.current.useContext(n)};Os.useDebugValue=function(){};Os.useDeferredValue=function(n){return qg.current.useDeferredValue(n)};Os.useEffect=function(n,i){return qg.current.useEffect(n,i)};Os.useId=function(){return qg.current.useId()};Os.useImperativeHandle=function(n,i,s){return qg.current.useImperativeHandle(n,i,s)};Os.useInsertionEffect=function(n,i){return qg.current.useInsertionEffect(n,i)};Os.useLayoutEffect=function(n,i){return qg.current.useLayoutEffect(n,i)};Os.useMemo=function(n,i){return qg.current.useMemo(n,i)};Os.useReducer=function(n,i,s){return qg.current.useReducer(n,i,s)};Os.useRef=function(n){return qg.current.useRef(n)};Os.useState=function(n){return qg.current.useState(n)};Os.useSyncExternalStore=function(n,i,s){return qg.current.useSyncExternalStore(n,i,s)};Os.useTransition=function(){return qg.current.useTransition()};Os.version="18.3.1";cBt.exports=Os;var H=cBt.exports;const Hn=TR(H),LLe=RCn({__proto__:null,default:Hn},[H]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var WCn=H,KCn=Symbol.for("react.element"),YCn=Symbol.for("react.fragment"),JCn=Object.prototype.hasOwnProperty,XCn=WCn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ZCn={key:!0,ref:!0,__self:!0,__source:!0};function mBt(n,i,s){var c,d={},g=null,b=null;s!==void 0&&(g=""+s),i.key!==void 0&&(g=""+i.key),i.ref!==void 0&&(b=i.ref);for(c in i)JCn.call(i,c)&&!ZCn.hasOwnProperty(c)&&(d[c]=i[c]);if(n&&n.defaultProps)for(c in i=n.defaultProps,i)d[c]===void 0&&(d[c]=i[c]);return{$$typeof:KCn,type:n,key:g,ref:b,props:d,_owner:XCn.current}}Rse.Fragment=YCn;Rse.jsx=mBt;Rse.jsxs=mBt;aBt.exports=Rse;var I=aBt.exports,goe={},wBt={exports:{}},Gm={},yBt={exports:{}},vBt={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(n){function i(Ae,xe){var We=Ae.length;Ae.push(xe);e:for(;0<We;){var ut=We-1>>>1,Be=Ae[ut];if(0<d(Be,xe))Ae[ut]=xe,Ae[We]=Be,We=ut;else break e}}function s(Ae){return Ae.length===0?null:Ae[0]}function c(Ae){if(Ae.length===0)return null;var xe=Ae[0],We=Ae.pop();if(We!==xe){Ae[0]=We;e:for(var ut=0,Be=Ae.length,bt=Be>>>1;ut<bt;){var Nt=2*(ut+1)-1,pt=Ae[Nt],Kt=Nt+1,Et=Ae[Kt];if(0>d(pt,We))Kt<Be&&0>d(Et,pt)?(Ae[ut]=Et,Ae[Kt]=We,ut=Kt):(Ae[ut]=pt,Ae[Nt]=We,ut=Nt);else if(Kt<Be&&0>d(Et,We))Ae[ut]=Et,Ae[Kt]=We,ut=Kt;else break e}}return xe}function d(Ae,xe){var We=Ae.sortIndex-xe.sortIndex;return We!==0?We:Ae.id-xe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var g=performance;n.unstable_now=function(){return g.now()}}else{var b=Date,w=b.now();n.unstable_now=function(){return b.now()-w}}var E=[],S=[],_=1,A=null,C=3,O=!1,L=!1,D=!1,B=typeof setTimeout=="function"?setTimeout:null,$=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(Ae){for(var xe=s(S);xe!==null;){if(xe.callback===null)c(S);else if(xe.startTime<=Ae)c(S),xe.sortIndex=xe.expirationTime,i(E,xe);else break;xe=s(S)}}function z(Ae){if(D=!1,j(Ae),!L)if(s(E)!==null)L=!0,Se(ee);else{var xe=s(S);xe!==null&&Re(z,xe.startTime-Ae)}}function ee(Ae,xe){L=!1,D&&(D=!1,$(ae),ae=-1),O=!0;var We=C;try{for(j(xe),A=s(E);A!==null&&(!(A.expirationTime>xe)||Ae&&!ue());){var ut=A.callback;if(typeof ut=="function"){A.callback=null,C=A.priorityLevel;var Be=ut(A.expirationTime<=xe);xe=n.unstable_now(),typeof Be=="function"?A.callback=Be:A===s(E)&&c(E),j(xe)}else c(E);A=s(E)}if(A!==null)var bt=!0;else{var Nt=s(S);Nt!==null&&Re(z,Nt.startTime-xe),bt=!1}return bt}finally{A=null,C=We,O=!1}}var ne=!1,Q=null,ae=-1,he=5,pe=-1;function ue(){return!(n.unstable_now()-pe<he)}function fe(){if(Q!==null){var Ae=n.unstable_now();pe=Ae;var xe=!0;try{xe=Q(!0,Ae)}finally{xe?K():(ne=!1,Q=null)}}else ne=!1}var K;if(typeof P=="function")K=function(){P(fe)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,De=ge.port2;ge.port1.onmessage=fe,K=function(){De.postMessage(null)}}else K=function(){B(fe,0)};function Se(Ae){Q=Ae,ne||(ne=!0,K())}function Re(Ae,xe){ae=B(function(){Ae(n.unstable_now())},xe)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Ae){Ae.callback=null},n.unstable_continueExecution=function(){L||O||(L=!0,Se(ee))},n.unstable_forceFrameRate=function(Ae){0>Ae||125<Ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Ae?Math.floor(1e3/Ae):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_getFirstCallbackNode=function(){return s(E)},n.unstable_next=function(Ae){switch(C){case 1:case 2:case 3:var xe=3;break;default:xe=C}var We=C;C=xe;try{return Ae()}finally{C=We}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Ae,xe){switch(Ae){case 1:case 2:case 3:case 4:case 5:break;default:Ae=3}var We=C;C=Ae;try{return xe()}finally{C=We}},n.unstable_scheduleCallback=function(Ae,xe,We){var ut=n.unstable_now();switch(typeof We=="object"&&We!==null?(We=We.delay,We=typeof We=="number"&&0<We?ut+We:ut):We=ut,Ae){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=We+Be,Ae={id:_++,callback:xe,priorityLevel:Ae,startTime:We,expirationTime:Be,sortIndex:-1},We>ut?(Ae.sortIndex=We,i(S,Ae),s(E)===null&&Ae===s(S)&&(D?($(ae),ae=-1):D=!0,Re(z,We-ut))):(Ae.sortIndex=Be,i(E,Ae),L||O||(L=!0,Se(ee))),Ae},n.unstable_shouldYield=ue,n.unstable_wrapCallback=function(Ae){var xe=C;return function(){var We=C;C=xe;try{return Ae.apply(this,arguments)}finally{C=We}}}})(vBt);yBt.exports=vBt;var QCn=yBt.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var eIn=H,Hm=QCn;function or(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var EBt=new Set,kH={};function AR(n,i){fM(n,i),fM(n+"Capture",i)}function fM(n,i){for(kH[n]=i,n=0;n<i.length;n++)EBt.add(i[n])}var gA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f6e=Object.prototype.hasOwnProperty,tIn=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i5t={},o5t={};function nIn(n){return f6e.call(o5t,n)?!0:f6e.call(i5t,n)?!1:tIn.test(n)?o5t[n]=!0:(i5t[n]=!0,!1)}function rIn(n,i,s,c){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return c?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function iIn(n,i,s,c){if(i===null||typeof i>"u"||rIn(n,i,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function Vg(n,i,s,c,d,g,b){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=c,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=n,this.type=i,this.sanitizeURL=g,this.removeEmptyString=b}var Uh={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Uh[n]=new Vg(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var i=n[0];Uh[i]=new Vg(i,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Uh[n]=new Vg(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Uh[n]=new Vg(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Uh[n]=new Vg(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Uh[n]=new Vg(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Uh[n]=new Vg(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Uh[n]=new Vg(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Uh[n]=new Vg(n,5,!1,n.toLowerCase(),null,!1,!1)});var MLe=/[\-:]([a-z])/g;function PLe(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var i=n.replace(MLe,PLe);Uh[i]=new Vg(i,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var i=n.replace(MLe,PLe);Uh[i]=new Vg(i,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var i=n.replace(MLe,PLe);Uh[i]=new Vg(i,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Uh[n]=new Vg(n,1,!1,n.toLowerCase(),null,!1,!1)});Uh.xlinkHref=new Vg("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Uh[n]=new Vg(n,1,!1,n.toLowerCase(),null,!0,!0)});function jLe(n,i,s,c){var d=Uh.hasOwnProperty(i)?Uh[i]:null;(d!==null?d.type!==0:c||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(iIn(i,s,d,c)&&(s=null),c||d===null?nIn(i)&&(s===null?n.removeAttribute(i):n.setAttribute(i,""+s)):d.mustUseProperty?n[d.propertyName]=s===null?d.type===3?!1:"":s:(i=d.attributeName,c=d.attributeNamespace,s===null?n.removeAttribute(i):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,c?n.setAttributeNS(c,i,s):n.setAttribute(i,s))))}var AA=eIn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xre=Symbol.for("react.element"),R5=Symbol.for("react.portal"),O5=Symbol.for("react.fragment"),FLe=Symbol.for("react.strict_mode"),h6e=Symbol.for("react.profiler"),SBt=Symbol.for("react.provider"),TBt=Symbol.for("react.context"),$Le=Symbol.for("react.forward_ref"),p6e=Symbol.for("react.suspense"),g6e=Symbol.for("react.suspense_list"),BLe=Symbol.for("react.memo"),Pk=Symbol.for("react.lazy"),ABt=Symbol.for("react.offscreen"),s5t=Symbol.iterator;function IU(n){return n===null||typeof n!="object"?null:(n=s5t&&n[s5t]||n["@@iterator"],typeof n=="function"?n:null)}var fl=Object.assign,lCe;function WU(n){if(lCe===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);lCe=i&&i[1]||""}return`
`+lCe+n}var dCe=!1;function fCe(n,i){if(!n||dCe)return"";dCe=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(S){var c=S}Reflect.construct(n,[],i)}else{try{i.call()}catch(S){c=S}n.call(i.prototype)}else{try{throw Error()}catch(S){c=S}n()}}catch(S){if(S&&c&&typeof S.stack=="string"){for(var d=S.stack.split(`
`),g=c.stack.split(`
`),b=d.length-1,w=g.length-1;1<=b&&0<=w&&d[b]!==g[w];)w--;for(;1<=b&&0<=w;b--,w--)if(d[b]!==g[w]){if(b!==1||w!==1)do if(b--,w--,0>w||d[b]!==g[w]){var E=`
`+d[b].replace(" at new "," at ");return n.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",n.displayName)),E}while(1<=b&&0<=w);break}}}finally{dCe=!1,Error.prepareStackTrace=s}return(n=n?n.displayName||n.name:"")?WU(n):""}function oIn(n){switch(n.tag){case 5:return WU(n.type);case 16:return WU("Lazy");case 13:return WU("Suspense");case 19:return WU("SuspenseList");case 0:case 2:case 15:return n=fCe(n.type,!1),n;case 11:return n=fCe(n.type.render,!1),n;case 1:return n=fCe(n.type,!0),n;default:return""}}function b6e(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 O5:return"Fragment";case R5:return"Portal";case h6e:return"Profiler";case FLe:return"StrictMode";case p6e:return"Suspense";case g6e:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case TBt:return(n.displayName||"Context")+".Consumer";case SBt:return(n._context.displayName||"Context")+".Provider";case $Le:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case BLe:return i=n.displayName||null,i!==null?i:b6e(n.type)||"Memo";case Pk:i=n._payload,n=n._init;try{return b6e(n(i))}catch{}}return null}function sIn(n){var i=n.type;switch(n.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=i.render,n=n.displayName||n.name||"",i.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return b6e(i);case 8:return i===FLe?"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 i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function nN(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function _Bt(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function aIn(n){var i=_Bt(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),c=""+n[i];if(!n.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,g=s.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return d.call(this)},set:function(b){c=""+b,g.call(this,b)}}),Object.defineProperty(n,i,{enumerable:s.enumerable}),{getValue:function(){return c},setValue:function(b){c=""+b},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function Zre(n){n._valueTracker||(n._valueTracker=aIn(n))}function xBt(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var s=i.getValue(),c="";return n&&(c=_Bt(n)?n.checked?"true":"false":n.value),n=c,n!==s?(i.setValue(n),!0):!1}function boe(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 m6e(n,i){var s=i.checked;return fl({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??n._wrapperState.initialChecked})}function a5t(n,i){var s=i.defaultValue==null?"":i.defaultValue,c=i.checked!=null?i.checked:i.defaultChecked;s=nN(i.value!=null?i.value:s),n._wrapperState={initialChecked:c,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function kBt(n,i){i=i.checked,i!=null&&jLe(n,"checked",i,!1)}function w6e(n,i){kBt(n,i);var s=nN(i.value),c=i.type;if(s!=null)c==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(c==="submit"||c==="reset"){n.removeAttribute("value");return}i.hasOwnProperty("value")?y6e(n,i.type,s):i.hasOwnProperty("defaultValue")&&y6e(n,i.type,nN(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(n.defaultChecked=!!i.defaultChecked)}function c5t(n,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var c=i.type;if(!(c!=="submit"&&c!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+n._wrapperState.initialValue,s||i===n.value||(n.value=i),n.defaultValue=i}s=n.name,s!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,s!==""&&(n.name=s)}function y6e(n,i,s){(i!=="number"||boe(n.ownerDocument)!==n)&&(s==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+s&&(n.defaultValue=""+s))}var KU=Array.isArray;function J5(n,i,s,c){if(n=n.options,i){i={};for(var d=0;d<s.length;d++)i["$"+s[d]]=!0;for(s=0;s<n.length;s++)d=i.hasOwnProperty("$"+n[s].value),n[s].selected!==d&&(n[s].selected=d),d&&c&&(n[s].defaultSelected=!0)}else{for(s=""+nN(s),i=null,d=0;d<n.length;d++){if(n[d].value===s){n[d].selected=!0,c&&(n[d].defaultSelected=!0);return}i!==null||n[d].disabled||(i=n[d])}i!==null&&(i.selected=!0)}}function v6e(n,i){if(i.dangerouslySetInnerHTML!=null)throw Error(or(91));return fl({},i,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function u5t(n,i){var s=i.value;if(s==null){if(s=i.children,i=i.defaultValue,s!=null){if(i!=null)throw Error(or(92));if(KU(s)){if(1<s.length)throw Error(or(93));s=s[0]}i=s}i==null&&(i=""),s=i}n._wrapperState={initialValue:nN(s)}}function NBt(n,i){var s=nN(i.value),c=nN(i.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),i.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),c!=null&&(n.defaultValue=""+c)}function l5t(n){var i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function CBt(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 E6e(n,i){return n==null||n==="http://www.w3.org/1999/xhtml"?CBt(i):n==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Qre,IBt=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,c,d){MSApp.execUnsafeLocalFunction(function(){return n(i,s,c,d)})}:n}(function(n,i){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=i;else{for(Qre=Qre||document.createElement("div"),Qre.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Qre.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;i.firstChild;)n.appendChild(i.firstChild)}});function NH(n,i){if(i){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=i;return}}n.textContent=i}var cH={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},cIn=["Webkit","ms","Moz","O"];Object.keys(cH).forEach(function(n){cIn.forEach(function(i){i=i+n.charAt(0).toUpperCase()+n.substring(1),cH[i]=cH[n]})});function RBt(n,i,s){return i==null||typeof i=="boolean"||i===""?"":s||typeof i!="number"||i===0||cH.hasOwnProperty(n)&&cH[n]?(""+i).trim():i+"px"}function OBt(n,i){n=n.style;for(var s in i)if(i.hasOwnProperty(s)){var c=s.indexOf("--")===0,d=RBt(s,i[s],c);s==="float"&&(s="cssFloat"),c?n.setProperty(s,d):n[s]=d}}var uIn=fl({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 S6e(n,i){if(i){if(uIn[n]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(or(137,n));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(or(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(or(61))}if(i.style!=null&&typeof i.style!="object")throw Error(or(62))}}function T6e(n,i){if(n.indexOf("-")===-1)return typeof i.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 A6e=null;function ULe(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var _6e=null,X5=null,Z5=null;function d5t(n){if(n=vz(n)){if(typeof _6e!="function")throw Error(or(280));var i=n.stateNode;i&&(i=Pse(i),_6e(n.stateNode,n.type,i))}}function DBt(n){X5?Z5?Z5.push(n):Z5=[n]:X5=n}function LBt(){if(X5){var n=X5,i=Z5;if(Z5=X5=null,d5t(n),i)for(n=0;n<i.length;n++)d5t(i[n])}}function MBt(n,i){return n(i)}function PBt(){}var hCe=!1;function jBt(n,i,s){if(hCe)return n(i,s);hCe=!0;try{return MBt(n,i,s)}finally{hCe=!1,(X5!==null||Z5!==null)&&(PBt(),LBt())}}function CH(n,i){var s=n.stateNode;if(s===null)return null;var c=Pse(s);if(c===null)return null;s=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(or(231,i,typeof s));return s}var x6e=!1;if(gA)try{var RU={};Object.defineProperty(RU,"passive",{get:function(){x6e=!0}}),window.addEventListener("test",RU,RU),window.removeEventListener("test",RU,RU)}catch{x6e=!1}function lIn(n,i,s,c,d,g,b,w,E){var S=Array.prototype.slice.call(arguments,3);try{i.apply(s,S)}catch(_){this.onError(_)}}var uH=!1,moe=null,woe=!1,k6e=null,dIn={onError:function(n){uH=!0,moe=n}};function fIn(n,i,s,c,d,g,b,w,E){uH=!1,moe=null,lIn.apply(dIn,arguments)}function hIn(n,i,s,c,d,g,b,w,E){if(fIn.apply(this,arguments),uH){if(uH){var S=moe;uH=!1,moe=null}else throw Error(or(198));woe||(woe=!0,k6e=S)}}function _R(n){var i=n,s=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,i.flags&4098&&(s=i.return),n=i.return;while(n)}return i.tag===3?s:null}function FBt(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function f5t(n){if(_R(n)!==n)throw Error(or(188))}function pIn(n){var i=n.alternate;if(!i){if(i=_R(n),i===null)throw Error(or(188));return i!==n?null:n}for(var s=n,c=i;;){var d=s.return;if(d===null)break;var g=d.alternate;if(g===null){if(c=d.return,c!==null){s=c;continue}break}if(d.child===g.child){for(g=d.child;g;){if(g===s)return f5t(d),n;if(g===c)return f5t(d),i;g=g.sibling}throw Error(or(188))}if(s.return!==c.return)s=d,c=g;else{for(var b=!1,w=d.child;w;){if(w===s){b=!0,s=d,c=g;break}if(w===c){b=!0,c=d,s=g;break}w=w.sibling}if(!b){for(w=g.child;w;){if(w===s){b=!0,s=g,c=d;break}if(w===c){b=!0,c=g,s=d;break}w=w.sibling}if(!b)throw Error(or(189))}}if(s.alternate!==c)throw Error(or(190))}if(s.tag!==3)throw Error(or(188));return s.stateNode.current===s?n:i}function $Bt(n){return n=pIn(n),n!==null?BBt(n):null}function BBt(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var i=BBt(n);if(i!==null)return i;n=n.sibling}return null}var UBt=Hm.unstable_scheduleCallback,h5t=Hm.unstable_cancelCallback,gIn=Hm.unstable_shouldYield,bIn=Hm.unstable_requestPaint,pd=Hm.unstable_now,mIn=Hm.unstable_getCurrentPriorityLevel,HLe=Hm.unstable_ImmediatePriority,HBt=Hm.unstable_UserBlockingPriority,yoe=Hm.unstable_NormalPriority,wIn=Hm.unstable_LowPriority,zBt=Hm.unstable_IdlePriority,Ose=null,P2=null;function yIn(n){if(P2&&typeof P2.onCommitFiberRoot=="function")try{P2.onCommitFiberRoot(Ose,n,void 0,(n.current.flags&128)===128)}catch{}}var Mv=Math.clz32?Math.clz32:SIn,vIn=Math.log,EIn=Math.LN2;function SIn(n){return n>>>=0,n===0?32:31-(vIn(n)/EIn|0)|0}var eie=64,tie=4194304;function YU(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 voe(n,i){var s=n.pendingLanes;if(s===0)return 0;var c=0,d=n.suspendedLanes,g=n.pingedLanes,b=s&268435455;if(b!==0){var w=b&~d;w!==0?c=YU(w):(g&=b,g!==0&&(c=YU(g)))}else b=s&~d,b!==0?c=YU(b):g!==0&&(c=YU(g));if(c===0)return 0;if(i!==0&&i!==c&&!(i&d)&&(d=c&-c,g=i&-i,d>=g||d===16&&(g&4194240)!==0))return i;if(c&4&&(c|=s&16),i=n.entangledLanes,i!==0)for(n=n.entanglements,i&=c;0<i;)s=31-Mv(i),d=1<<s,c|=n[s],i&=~d;return c}function TIn(n,i){switch(n){case 1:case 2:case 4:return i+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 i+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 AIn(n,i){for(var s=n.suspendedLanes,c=n.pingedLanes,d=n.expirationTimes,g=n.pendingLanes;0<g;){var b=31-Mv(g),w=1<<b,E=d[b];E===-1?(!(w&s)||w&c)&&(d[b]=TIn(w,i)):E<=i&&(n.expiredLanes|=w),g&=~w}}function N6e(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function GBt(){var n=eie;return eie<<=1,!(eie&4194240)&&(eie=64),n}function pCe(n){for(var i=[],s=0;31>s;s++)i.push(n);return i}function wz(n,i,s){n.pendingLanes|=i,i!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,i=31-Mv(i),n[i]=s}function _In(n,i){var s=n.pendingLanes&~i;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=i,n.mutableReadLanes&=i,n.entangledLanes&=i,i=n.entanglements;var c=n.eventTimes;for(n=n.expirationTimes;0<s;){var d=31-Mv(s),g=1<<d;i[d]=0,c[d]=-1,n[d]=-1,s&=~g}}function zLe(n,i){var s=n.entangledLanes|=i;for(n=n.entanglements;s;){var c=31-Mv(s),d=1<<c;d&i|n[c]&i&&(n[c]|=i),s&=~d}}var uc=0;function qBt(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var VBt,GLe,WBt,KBt,YBt,C6e=!1,nie=[],Vk=null,Wk=null,Kk=null,IH=new Map,RH=new Map,Fk=[],xIn="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 p5t(n,i){switch(n){case"focusin":case"focusout":Vk=null;break;case"dragenter":case"dragleave":Wk=null;break;case"mouseover":case"mouseout":Kk=null;break;case"pointerover":case"pointerout":IH.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":RH.delete(i.pointerId)}}function OU(n,i,s,c,d,g){return n===null||n.nativeEvent!==g?(n={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:g,targetContainers:[d]},i!==null&&(i=vz(i),i!==null&&GLe(i)),n):(n.eventSystemFlags|=c,i=n.targetContainers,d!==null&&i.indexOf(d)===-1&&i.push(d),n)}function kIn(n,i,s,c,d){switch(i){case"focusin":return Vk=OU(Vk,n,i,s,c,d),!0;case"dragenter":return Wk=OU(Wk,n,i,s,c,d),!0;case"mouseover":return Kk=OU(Kk,n,i,s,c,d),!0;case"pointerover":var g=d.pointerId;return IH.set(g,OU(IH.get(g)||null,n,i,s,c,d)),!0;case"gotpointercapture":return g=d.pointerId,RH.set(g,OU(RH.get(g)||null,n,i,s,c,d)),!0}return!1}function JBt(n){var i=Y4(n.target);if(i!==null){var s=_R(i);if(s!==null){if(i=s.tag,i===13){if(i=FBt(s),i!==null){n.blockedOn=i,YBt(n.priority,function(){WBt(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Gie(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var s=I6e(n.domEventName,n.eventSystemFlags,i[0],n.nativeEvent);if(s===null){s=n.nativeEvent;var c=new s.constructor(s.type,s);A6e=c,s.target.dispatchEvent(c),A6e=null}else return i=vz(s),i!==null&&GLe(i),n.blockedOn=s,!1;i.shift()}return!0}function g5t(n,i,s){Gie(n)&&s.delete(i)}function NIn(){C6e=!1,Vk!==null&&Gie(Vk)&&(Vk=null),Wk!==null&&Gie(Wk)&&(Wk=null),Kk!==null&&Gie(Kk)&&(Kk=null),IH.forEach(g5t),RH.forEach(g5t)}function DU(n,i){n.blockedOn===i&&(n.blockedOn=null,C6e||(C6e=!0,Hm.unstable_scheduleCallback(Hm.unstable_NormalPriority,NIn)))}function OH(n){function i(d){return DU(d,n)}if(0<nie.length){DU(nie[0],n);for(var s=1;s<nie.length;s++){var c=nie[s];c.blockedOn===n&&(c.blockedOn=null)}}for(Vk!==null&&DU(Vk,n),Wk!==null&&DU(Wk,n),Kk!==null&&DU(Kk,n),IH.forEach(i),RH.forEach(i),s=0;s<Fk.length;s++)c=Fk[s],c.blockedOn===n&&(c.blockedOn=null);for(;0<Fk.length&&(s=Fk[0],s.blockedOn===null);)JBt(s),s.blockedOn===null&&Fk.shift()}var Q5=AA.ReactCurrentBatchConfig,Eoe=!0;function CIn(n,i,s,c){var d=uc,g=Q5.transition;Q5.transition=null;try{uc=1,qLe(n,i,s,c)}finally{uc=d,Q5.transition=g}}function IIn(n,i,s,c){var d=uc,g=Q5.transition;Q5.transition=null;try{uc=4,qLe(n,i,s,c)}finally{uc=d,Q5.transition=g}}function qLe(n,i,s,c){if(Eoe){var d=I6e(n,i,s,c);if(d===null)ACe(n,i,c,Soe,s),p5t(n,c);else if(kIn(d,n,i,s,c))c.stopPropagation();else if(p5t(n,c),i&4&&-1<xIn.indexOf(n)){for(;d!==null;){var g=vz(d);if(g!==null&&VBt(g),g=I6e(n,i,s,c),g===null&&ACe(n,i,c,Soe,s),g===d)break;d=g}d!==null&&c.stopPropagation()}else ACe(n,i,c,null,s)}}var Soe=null;function I6e(n,i,s,c){if(Soe=null,n=ULe(c),n=Y4(n),n!==null)if(i=_R(n),i===null)n=null;else if(s=i.tag,s===13){if(n=FBt(i),n!==null)return n;n=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null);return Soe=n,null}function XBt(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(mIn()){case HLe:return 1;case HBt:return 4;case yoe:case wIn:return 16;case zBt:return 536870912;default:return 16}default:return 16}}var zk=null,VLe=null,qie=null;function ZBt(){if(qie)return qie;var n,i=VLe,s=i.length,c,d="value"in zk?zk.value:zk.textContent,g=d.length;for(n=0;n<s&&i[n]===d[n];n++);var b=s-n;for(c=1;c<=b&&i[s-c]===d[g-c];c++);return qie=d.slice(n,1<c?1-c:void 0)}function Vie(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function rie(){return!0}function b5t(){return!1}function qm(n){function i(s,c,d,g,b){this._reactName=s,this._targetInst=d,this.type=c,this.nativeEvent=g,this.target=b,this.currentTarget=null;for(var w in n)n.hasOwnProperty(w)&&(s=n[w],this[w]=s?s(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?rie:b5t,this.isPropagationStopped=b5t,this}return fl(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=rie)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=rie)},persist:function(){},isPersistent:rie}),i}var MM={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},WLe=qm(MM),yz=fl({},MM,{view:0,detail:0}),RIn=qm(yz),gCe,bCe,LU,Dse=fl({},yz,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:KLe,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!==LU&&(LU&&n.type==="mousemove"?(gCe=n.screenX-LU.screenX,bCe=n.screenY-LU.screenY):bCe=gCe=0,LU=n),gCe)},movementY:function(n){return"movementY"in n?n.movementY:bCe}}),m5t=qm(Dse),OIn=fl({},Dse,{dataTransfer:0}),DIn=qm(OIn),LIn=fl({},yz,{relatedTarget:0}),mCe=qm(LIn),MIn=fl({},MM,{animationName:0,elapsedTime:0,pseudoElement:0}),PIn=qm(MIn),jIn=fl({},MM,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),FIn=qm(jIn),$In=fl({},MM,{data:0}),w5t=qm($In),BIn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},UIn={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"},HIn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zIn(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=HIn[n])?!!i[n]:!1}function KLe(){return zIn}var GIn=fl({},yz,{key:function(n){if(n.key){var i=BIn[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=Vie(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?UIn[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:KLe,charCode:function(n){return n.type==="keypress"?Vie(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Vie(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),qIn=qm(GIn),VIn=fl({},Dse,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),y5t=qm(VIn),WIn=fl({},yz,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:KLe}),KIn=qm(WIn),YIn=fl({},MM,{propertyName:0,elapsedTime:0,pseudoElement:0}),JIn=qm(YIn),XIn=fl({},Dse,{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}),ZIn=qm(XIn),QIn=[9,13,27,32],YLe=gA&&"CompositionEvent"in window,lH=null;gA&&"documentMode"in document&&(lH=document.documentMode);var e4n=gA&&"TextEvent"in window&&!lH,QBt=gA&&(!YLe||lH&&8<lH&&11>=lH),v5t=" ",E5t=!1;function eUt(n,i){switch(n){case"keyup":return QIn.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tUt(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var D5=!1;function t4n(n,i){switch(n){case"compositionend":return tUt(i);case"keypress":return i.which!==32?null:(E5t=!0,v5t);case"textInput":return n=i.data,n===v5t&&E5t?null:n;default:return null}}function n4n(n,i){if(D5)return n==="compositionend"||!YLe&&eUt(n,i)?(n=ZBt(),qie=VLe=zk=null,D5=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return QBt&&i.locale!=="ko"?null:i.data;default:return null}}var r4n={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 S5t(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!r4n[n.type]:i==="textarea"}function nUt(n,i,s,c){DBt(c),i=Toe(i,"onChange"),0<i.length&&(s=new WLe("onChange","change",null,s,c),n.push({event:s,listeners:i}))}var dH=null,DH=null;function i4n(n){hUt(n,0)}function Lse(n){var i=P5(n);if(xBt(i))return n}function o4n(n,i){if(n==="change")return i}var rUt=!1;if(gA){var wCe;if(gA){var yCe="oninput"in document;if(!yCe){var T5t=document.createElement("div");T5t.setAttribute("oninput","return;"),yCe=typeof T5t.oninput=="function"}wCe=yCe}else wCe=!1;rUt=wCe&&(!document.documentMode||9<document.documentMode)}function A5t(){dH&&(dH.detachEvent("onpropertychange",iUt),DH=dH=null)}function iUt(n){if(n.propertyName==="value"&&Lse(DH)){var i=[];nUt(i,DH,n,ULe(n)),jBt(i4n,i)}}function s4n(n,i,s){n==="focusin"?(A5t(),dH=i,DH=s,dH.attachEvent("onpropertychange",iUt)):n==="focusout"&&A5t()}function a4n(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Lse(DH)}function c4n(n,i){if(n==="click")return Lse(i)}function u4n(n,i){if(n==="input"||n==="change")return Lse(i)}function l4n(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var jv=typeof Object.is=="function"?Object.is:l4n;function LH(n,i){if(jv(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var s=Object.keys(n),c=Object.keys(i);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var d=s[c];if(!f6e.call(i,d)||!jv(n[d],i[d]))return!1}return!0}function _5t(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function x5t(n,i){var s=_5t(n);n=0;for(var c;s;){if(s.nodeType===3){if(c=n+s.textContent.length,n<=i&&c>=i)return{node:s,offset:i-n};n=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=_5t(s)}}function oUt(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?oUt(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function sUt(){for(var n=window,i=boe();i instanceof n.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)n=i.contentWindow;else break;i=boe(n.document)}return i}function JLe(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}function d4n(n){var i=sUt(),s=n.focusedElem,c=n.selectionRange;if(i!==s&&s&&s.ownerDocument&&oUt(s.ownerDocument.documentElement,s)){if(c!==null&&JLe(s)){if(i=c.start,n=c.end,n===void 0&&(n=i),"selectionStart"in s)s.selectionStart=i,s.selectionEnd=Math.min(n,s.value.length);else if(n=(i=s.ownerDocument||document)&&i.defaultView||window,n.getSelection){n=n.getSelection();var d=s.textContent.length,g=Math.min(c.start,d);c=c.end===void 0?g:Math.min(c.end,d),!n.extend&&g>c&&(d=c,c=g,g=d),d=x5t(s,g);var b=x5t(s,c);d&&b&&(n.rangeCount!==1||n.anchorNode!==d.node||n.anchorOffset!==d.offset||n.focusNode!==b.node||n.focusOffset!==b.offset)&&(i=i.createRange(),i.setStart(d.node,d.offset),n.removeAllRanges(),g>c?(n.addRange(i),n.extend(b.node,b.offset)):(i.setEnd(b.node,b.offset),n.addRange(i)))}}for(i=[],n=s;n=n.parentNode;)n.nodeType===1&&i.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<i.length;s++)n=i[s],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var f4n=gA&&"documentMode"in document&&11>=document.documentMode,L5=null,R6e=null,fH=null,O6e=!1;function k5t(n,i,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;O6e||L5==null||L5!==boe(c)||(c=L5,"selectionStart"in c&&JLe(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),fH&&LH(fH,c)||(fH=c,c=Toe(R6e,"onSelect"),0<c.length&&(i=new WLe("onSelect","select",null,i,s),n.push({event:i,listeners:c}),i.target=L5)))}function iie(n,i){var s={};return s[n.toLowerCase()]=i.toLowerCase(),s["Webkit"+n]="webkit"+i,s["Moz"+n]="moz"+i,s}var M5={animationend:iie("Animation","AnimationEnd"),animationiteration:iie("Animation","AnimationIteration"),animationstart:iie("Animation","AnimationStart"),transitionend:iie("Transition","TransitionEnd")},vCe={},aUt={};gA&&(aUt=document.createElement("div").style,"AnimationEvent"in window||(delete M5.animationend.animation,delete M5.animationiteration.animation,delete M5.animationstart.animation),"TransitionEvent"in window||delete M5.transitionend.transition);function Mse(n){if(vCe[n])return vCe[n];if(!M5[n])return n;var i=M5[n],s;for(s in i)if(i.hasOwnProperty(s)&&s in aUt)return vCe[n]=i[s];return n}var cUt=Mse("animationend"),uUt=Mse("animationiteration"),lUt=Mse("animationstart"),dUt=Mse("transitionend"),fUt=new Map,N5t="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 mN(n,i){fUt.set(n,i),AR(i,[n])}for(var ECe=0;ECe<N5t.length;ECe++){var SCe=N5t[ECe],h4n=SCe.toLowerCase(),p4n=SCe[0].toUpperCase()+SCe.slice(1);mN(h4n,"on"+p4n)}mN(cUt,"onAnimationEnd");mN(uUt,"onAnimationIteration");mN(lUt,"onAnimationStart");mN("dblclick","onDoubleClick");mN("focusin","onFocus");mN("focusout","onBlur");mN(dUt,"onTransitionEnd");fM("onMouseEnter",["mouseout","mouseover"]);fM("onMouseLeave",["mouseout","mouseover"]);fM("onPointerEnter",["pointerout","pointerover"]);fM("onPointerLeave",["pointerout","pointerover"]);AR("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));AR("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));AR("onBeforeInput",["compositionend","keypress","textInput","paste"]);AR("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));AR("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));AR("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var JU="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(" "),g4n=new Set("cancel close invalid load scroll toggle".split(" ").concat(JU));function C5t(n,i,s){var c=n.type||"unknown-event";n.currentTarget=s,hIn(c,i,void 0,n),n.currentTarget=null}function hUt(n,i){i=(i&4)!==0;for(var s=0;s<n.length;s++){var c=n[s],d=c.event;c=c.listeners;e:{var g=void 0;if(i)for(var b=c.length-1;0<=b;b--){var w=c[b],E=w.instance,S=w.currentTarget;if(w=w.listener,E!==g&&d.isPropagationStopped())break e;C5t(d,w,S),g=E}else for(b=0;b<c.length;b++){if(w=c[b],E=w.instance,S=w.currentTarget,w=w.listener,E!==g&&d.isPropagationStopped())break e;C5t(d,w,S),g=E}}}if(woe)throw n=k6e,woe=!1,k6e=null,n}function lu(n,i){var s=i[j6e];s===void 0&&(s=i[j6e]=new Set);var c=n+"__bubble";s.has(c)||(pUt(i,n,2,!1),s.add(c))}function TCe(n,i,s){var c=0;i&&(c|=4),pUt(s,n,c,i)}var oie="_reactListening"+Math.random().toString(36).slice(2);function MH(n){if(!n[oie]){n[oie]=!0,EBt.forEach(function(s){s!=="selectionchange"&&(g4n.has(s)||TCe(s,!1,n),TCe(s,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[oie]||(i[oie]=!0,TCe("selectionchange",!1,i))}}function pUt(n,i,s,c){switch(XBt(i)){case 1:var d=CIn;break;case 4:d=IIn;break;default:d=qLe}s=d.bind(null,i,s,n),d=void 0,!x6e||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(d=!0),c?d!==void 0?n.addEventListener(i,s,{capture:!0,passive:d}):n.addEventListener(i,s,!0):d!==void 0?n.addEventListener(i,s,{passive:d}):n.addEventListener(i,s,!1)}function ACe(n,i,s,c,d){var g=c;if(!(i&1)&&!(i&2)&&c!==null)e:for(;;){if(c===null)return;var b=c.tag;if(b===3||b===4){var w=c.stateNode.containerInfo;if(w===d||w.nodeType===8&&w.parentNode===d)break;if(b===4)for(b=c.return;b!==null;){var E=b.tag;if((E===3||E===4)&&(E=b.stateNode.containerInfo,E===d||E.nodeType===8&&E.parentNode===d))return;b=b.return}for(;w!==null;){if(b=Y4(w),b===null)return;if(E=b.tag,E===5||E===6){c=g=b;continue e}w=w.parentNode}}c=c.return}jBt(function(){var S=g,_=ULe(s),A=[];e:{var C=fUt.get(n);if(C!==void 0){var O=WLe,L=n;switch(n){case"keypress":if(Vie(s)===0)break e;case"keydown":case"keyup":O=qIn;break;case"focusin":L="focus",O=mCe;break;case"focusout":L="blur",O=mCe;break;case"beforeblur":case"afterblur":O=mCe;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=m5t;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=DIn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=KIn;break;case cUt:case uUt:case lUt:O=PIn;break;case dUt:O=JIn;break;case"scroll":O=RIn;break;case"wheel":O=ZIn;break;case"copy":case"cut":case"paste":O=FIn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=y5t}var D=(i&4)!==0,B=!D&&n==="scroll",$=D?C!==null?C+"Capture":null:C;D=[];for(var P=S,j;P!==null;){j=P;var z=j.stateNode;if(j.tag===5&&z!==null&&(j=z,$!==null&&(z=CH(P,$),z!=null&&D.push(PH(P,z,j)))),B)break;P=P.return}0<D.length&&(C=new O(C,L,null,s,_),A.push({event:C,listeners:D}))}}if(!(i&7)){e:{if(C=n==="mouseover"||n==="pointerover",O=n==="mouseout"||n==="pointerout",C&&s!==A6e&&(L=s.relatedTarget||s.fromElement)&&(Y4(L)||L[bA]))break e;if((O||C)&&(C=_.window===_?_:(C=_.ownerDocument)?C.defaultView||C.parentWindow:window,O?(L=s.relatedTarget||s.toElement,O=S,L=L?Y4(L):null,L!==null&&(B=_R(L),L!==B||L.tag!==5&&L.tag!==6)&&(L=null)):(O=null,L=S),O!==L)){if(D=m5t,z="onMouseLeave",$="onMouseEnter",P="mouse",(n==="pointerout"||n==="pointerover")&&(D=y5t,z="onPointerLeave",$="onPointerEnter",P="pointer"),B=O==null?C:P5(O),j=L==null?C:P5(L),C=new D(z,P+"leave",O,s,_),C.target=B,C.relatedTarget=j,z=null,Y4(_)===S&&(D=new D($,P+"enter",L,s,_),D.target=j,D.relatedTarget=B,z=D),B=z,O&&L)t:{for(D=O,$=L,P=0,j=D;j;j=g5(j))P++;for(j=0,z=$;z;z=g5(z))j++;for(;0<P-j;)D=g5(D),P--;for(;0<j-P;)$=g5($),j--;for(;P--;){if(D===$||$!==null&&D===$.alternate)break t;D=g5(D),$=g5($)}D=null}else D=null;O!==null&&I5t(A,C,O,D,!1),L!==null&&B!==null&&I5t(A,B,L,D,!0)}}e:{if(C=S?P5(S):window,O=C.nodeName&&C.nodeName.toLowerCase(),O==="select"||O==="input"&&C.type==="file")var ee=o4n;else if(S5t(C))if(rUt)ee=u4n;else{ee=a4n;var ne=s4n}else(O=C.nodeName)&&O.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(ee=c4n);if(ee&&(ee=ee(n,S))){nUt(A,ee,s,_);break e}ne&&ne(n,C,S),n==="focusout"&&(ne=C._wrapperState)&&ne.controlled&&C.type==="number"&&y6e(C,"number",C.value)}switch(ne=S?P5(S):window,n){case"focusin":(S5t(ne)||ne.contentEditable==="true")&&(L5=ne,R6e=S,fH=null);break;case"focusout":fH=R6e=L5=null;break;case"mousedown":O6e=!0;break;case"contextmenu":case"mouseup":case"dragend":O6e=!1,k5t(A,s,_);break;case"selectionchange":if(f4n)break;case"keydown":case"keyup":k5t(A,s,_)}var Q;if(YLe)e:{switch(n){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else D5?eUt(n,s)&&(ae="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(ae="onCompositionStart");ae&&(QBt&&s.locale!=="ko"&&(D5||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&D5&&(Q=ZBt()):(zk=_,VLe="value"in zk?zk.value:zk.textContent,D5=!0)),ne=Toe(S,ae),0<ne.length&&(ae=new w5t(ae,n,null,s,_),A.push({event:ae,listeners:ne}),Q?ae.data=Q:(Q=tUt(s),Q!==null&&(ae.data=Q)))),(Q=e4n?t4n(n,s):n4n(n,s))&&(S=Toe(S,"onBeforeInput"),0<S.length&&(_=new w5t("onBeforeInput","beforeinput",null,s,_),A.push({event:_,listeners:S}),_.data=Q))}hUt(A,i)})}function PH(n,i,s){return{instance:n,listener:i,currentTarget:s}}function Toe(n,i){for(var s=i+"Capture",c=[];n!==null;){var d=n,g=d.stateNode;d.tag===5&&g!==null&&(d=g,g=CH(n,s),g!=null&&c.unshift(PH(n,g,d)),g=CH(n,i),g!=null&&c.push(PH(n,g,d))),n=n.return}return c}function g5(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function I5t(n,i,s,c,d){for(var g=i._reactName,b=[];s!==null&&s!==c;){var w=s,E=w.alternate,S=w.stateNode;if(E!==null&&E===c)break;w.tag===5&&S!==null&&(w=S,d?(E=CH(s,g),E!=null&&b.unshift(PH(s,E,w))):d||(E=CH(s,g),E!=null&&b.push(PH(s,E,w)))),s=s.return}b.length!==0&&n.push({event:i,listeners:b})}var b4n=/\r\n?/g,m4n=/\u0000|\uFFFD/g;function R5t(n){return(typeof n=="string"?n:""+n).replace(b4n,`
`).replace(m4n,"")}function sie(n,i,s){if(i=R5t(i),R5t(n)!==i&&s)throw Error(or(425))}function Aoe(){}var D6e=null,L6e=null;function M6e(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var P6e=typeof setTimeout=="function"?setTimeout:void 0,w4n=typeof clearTimeout=="function"?clearTimeout:void 0,O5t=typeof Promise=="function"?Promise:void 0,y4n=typeof queueMicrotask=="function"?queueMicrotask:typeof O5t<"u"?function(n){return O5t.resolve(null).then(n).catch(v4n)}:P6e;function v4n(n){setTimeout(function(){throw n})}function _Ce(n,i){var s=i,c=0;do{var d=s.nextSibling;if(n.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(c===0){n.removeChild(d),OH(i);return}c--}else s!=="$"&&s!=="$?"&&s!=="$!"||c++;s=d}while(s);OH(i)}function Yk(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return n}function D5t(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return n;i--}else s==="/$"&&i++}n=n.previousSibling}return null}var PM=Math.random().toString(36).slice(2),R2="__reactFiber$"+PM,jH="__reactProps$"+PM,bA="__reactContainer$"+PM,j6e="__reactEvents$"+PM,E4n="__reactListeners$"+PM,S4n="__reactHandles$"+PM;function Y4(n){var i=n[R2];if(i)return i;for(var s=n.parentNode;s;){if(i=s[bA]||s[R2]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(n=D5t(n);n!==null;){if(s=n[R2])return s;n=D5t(n)}return i}n=s,s=n.parentNode}return null}function vz(n){return n=n[R2]||n[bA],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function P5(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(or(33))}function Pse(n){return n[jH]||null}var F6e=[],j5=-1;function wN(n){return{current:n}}function du(n){0>j5||(n.current=F6e[j5],F6e[j5]=null,j5--)}function Wc(n,i){j5++,F6e[j5]=n.current,n.current=i}var rN={},Bp=wN(rN),lb=wN(!1),oR=rN;function hM(n,i){var s=n.type.contextTypes;if(!s)return rN;var c=n.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===i)return c.__reactInternalMemoizedMaskedChildContext;var d={},g;for(g in s)d[g]=i[g];return c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=i,n.__reactInternalMemoizedMaskedChildContext=d),d}function db(n){return n=n.childContextTypes,n!=null}function _oe(){du(lb),du(Bp)}function L5t(n,i,s){if(Bp.current!==rN)throw Error(or(168));Wc(Bp,i),Wc(lb,s)}function gUt(n,i,s){var c=n.stateNode;if(i=i.childContextTypes,typeof c.getChildContext!="function")return s;c=c.getChildContext();for(var d in c)if(!(d in i))throw Error(or(108,sIn(n)||"Unknown",d));return fl({},s,c)}function xoe(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||rN,oR=Bp.current,Wc(Bp,n),Wc(lb,lb.current),!0}function M5t(n,i,s){var c=n.stateNode;if(!c)throw Error(or(169));s?(n=gUt(n,i,oR),c.__reactInternalMemoizedMergedChildContext=n,du(lb),du(Bp),Wc(Bp,n)):du(lb),Wc(lb,s)}var oA=null,jse=!1,xCe=!1;function bUt(n){oA===null?oA=[n]:oA.push(n)}function T4n(n){jse=!0,bUt(n)}function yN(){if(!xCe&&oA!==null){xCe=!0;var n=0,i=uc;try{var s=oA;for(uc=1;n<s.length;n++){var c=s[n];do c=c(!0);while(c!==null)}oA=null,jse=!1}catch(d){throw oA!==null&&(oA=oA.slice(n+1)),UBt(HLe,yN),d}finally{uc=i,xCe=!1}}return null}var F5=[],$5=0,koe=null,Noe=0,mw=[],ww=0,sR=null,cA=1,uA="";function q4(n,i){F5[$5++]=Noe,F5[$5++]=koe,koe=n,Noe=i}function mUt(n,i,s){mw[ww++]=cA,mw[ww++]=uA,mw[ww++]=sR,sR=n;var c=cA;n=uA;var d=32-Mv(c)-1;c&=~(1<<d),s+=1;var g=32-Mv(i)+d;if(30<g){var b=d-d%5;g=(c&(1<<b)-1).toString(32),c>>=b,d-=b,cA=1<<32-Mv(i)+d|s<<d|c,uA=g+n}else cA=1<<g|s<<d|c,uA=n}function XLe(n){n.return!==null&&(q4(n,1),mUt(n,1,0))}function ZLe(n){for(;n===koe;)koe=F5[--$5],F5[$5]=null,Noe=F5[--$5],F5[$5]=null;for(;n===sR;)sR=mw[--ww],mw[ww]=null,uA=mw[--ww],mw[ww]=null,cA=mw[--ww],mw[ww]=null}var Bm=null,Fm=null,Du=!1,Rv=null;function wUt(n,i){var s=vw(5,null,null,0);s.elementType="DELETED",s.stateNode=i,s.return=n,i=n.deletions,i===null?(n.deletions=[s],n.flags|=16):i.push(s)}function P5t(n,i){switch(n.tag){case 5:var s=n.type;return i=i.nodeType!==1||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(n.stateNode=i,Bm=n,Fm=Yk(i.firstChild),!0):!1;case 6:return i=n.pendingProps===""||i.nodeType!==3?null:i,i!==null?(n.stateNode=i,Bm=n,Fm=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(s=sR!==null?{id:cA,overflow:uA}:null,n.memoizedState={dehydrated:i,treeContext:s,retryLane:1073741824},s=vw(18,null,null,0),s.stateNode=i,s.return=n,n.child=s,Bm=n,Fm=null,!0):!1;default:return!1}}function $6e(n){return(n.mode&1)!==0&&(n.flags&128)===0}function B6e(n){if(Du){var i=Fm;if(i){var s=i;if(!P5t(n,i)){if($6e(n))throw Error(or(418));i=Yk(s.nextSibling);var c=Bm;i&&P5t(n,i)?wUt(c,s):(n.flags=n.flags&-4097|2,Du=!1,Bm=n)}}else{if($6e(n))throw Error(or(418));n.flags=n.flags&-4097|2,Du=!1,Bm=n}}}function j5t(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Bm=n}function aie(n){if(n!==Bm)return!1;if(!Du)return j5t(n),Du=!0,!1;var i;if((i=n.tag!==3)&&!(i=n.tag!==5)&&(i=n.type,i=i!=="head"&&i!=="body"&&!M6e(n.type,n.memoizedProps)),i&&(i=Fm)){if($6e(n))throw yUt(),Error(or(418));for(;i;)wUt(n,i),i=Yk(i.nextSibling)}if(j5t(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(or(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"){if(i===0){Fm=Yk(n.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++}n=n.nextSibling}Fm=null}}else Fm=Bm?Yk(n.stateNode.nextSibling):null;return!0}function yUt(){for(var n=Fm;n;)n=Yk(n.nextSibling)}function pM(){Fm=Bm=null,Du=!1}function QLe(n){Rv===null?Rv=[n]:Rv.push(n)}var A4n=AA.ReactCurrentBatchConfig;function MU(n,i,s){if(n=s.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(or(309));var c=s.stateNode}if(!c)throw Error(or(147,n));var d=c,g=""+n;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(b){var w=d.refs;b===null?delete w[g]:w[g]=b},i._stringRef=g,i)}if(typeof n!="string")throw Error(or(284));if(!s._owner)throw Error(or(290,n))}return n}function cie(n,i){throw n=Object.prototype.toString.call(i),Error(or(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n))}function F5t(n){var i=n._init;return i(n._payload)}function vUt(n){function i($,P){if(n){var j=$.deletions;j===null?($.deletions=[P],$.flags|=16):j.push(P)}}function s($,P){if(!n)return null;for(;P!==null;)i($,P),P=P.sibling;return null}function c($,P){for($=new Map;P!==null;)P.key!==null?$.set(P.key,P):$.set(P.index,P),P=P.sibling;return $}function d($,P){return $=Qk($,P),$.index=0,$.sibling=null,$}function g($,P,j){return $.index=j,n?(j=$.alternate,j!==null?(j=j.index,j<P?($.flags|=2,P):j):($.flags|=2,P)):($.flags|=1048576,P)}function b($){return n&&$.alternate===null&&($.flags|=2),$}function w($,P,j,z){return P===null||P.tag!==6?(P=DCe(j,$.mode,z),P.return=$,P):(P=d(P,j),P.return=$,P)}function E($,P,j,z){var ee=j.type;return ee===O5?_($,P,j.props.children,z,j.key):P!==null&&(P.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Pk&&F5t(ee)===P.type)?(z=d(P,j.props),z.ref=MU($,P,j),z.return=$,z):(z=Qie(j.type,j.key,j.props,null,$.mode,z),z.ref=MU($,P,j),z.return=$,z)}function S($,P,j,z){return P===null||P.tag!==4||P.stateNode.containerInfo!==j.containerInfo||P.stateNode.implementation!==j.implementation?(P=LCe(j,$.mode,z),P.return=$,P):(P=d(P,j.children||[]),P.return=$,P)}function _($,P,j,z,ee){return P===null||P.tag!==7?(P=eR(j,$.mode,z,ee),P.return=$,P):(P=d(P,j),P.return=$,P)}function A($,P,j){if(typeof P=="string"&&P!==""||typeof P=="number")return P=DCe(""+P,$.mode,j),P.return=$,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case Xre:return j=Qie(P.type,P.key,P.props,null,$.mode,j),j.ref=MU($,null,P),j.return=$,j;case R5:return P=LCe(P,$.mode,j),P.return=$,P;case Pk:var z=P._init;return A($,z(P._payload),j)}if(KU(P)||IU(P))return P=eR(P,$.mode,j,null),P.return=$,P;cie($,P)}return null}function C($,P,j,z){var ee=P!==null?P.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return ee!==null?null:w($,P,""+j,z);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Xre:return j.key===ee?E($,P,j,z):null;case R5:return j.key===ee?S($,P,j,z):null;case Pk:return ee=j._init,C($,P,ee(j._payload),z)}if(KU(j)||IU(j))return ee!==null?null:_($,P,j,z,null);cie($,j)}return null}function O($,P,j,z,ee){if(typeof z=="string"&&z!==""||typeof z=="number")return $=$.get(j)||null,w(P,$,""+z,ee);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Xre:return $=$.get(z.key===null?j:z.key)||null,E(P,$,z,ee);case R5:return $=$.get(z.key===null?j:z.key)||null,S(P,$,z,ee);case Pk:var ne=z._init;return O($,P,j,ne(z._payload),ee)}if(KU(z)||IU(z))return $=$.get(j)||null,_(P,$,z,ee,null);cie(P,z)}return null}function L($,P,j,z){for(var ee=null,ne=null,Q=P,ae=P=0,he=null;Q!==null&&ae<j.length;ae++){Q.index>ae?(he=Q,Q=null):he=Q.sibling;var pe=C($,Q,j[ae],z);if(pe===null){Q===null&&(Q=he);break}n&&Q&&pe.alternate===null&&i($,Q),P=g(pe,P,ae),ne===null?ee=pe:ne.sibling=pe,ne=pe,Q=he}if(ae===j.length)return s($,Q),Du&&q4($,ae),ee;if(Q===null){for(;ae<j.length;ae++)Q=A($,j[ae],z),Q!==null&&(P=g(Q,P,ae),ne===null?ee=Q:ne.sibling=Q,ne=Q);return Du&&q4($,ae),ee}for(Q=c($,Q);ae<j.length;ae++)he=O(Q,$,ae,j[ae],z),he!==null&&(n&&he.alternate!==null&&Q.delete(he.key===null?ae:he.key),P=g(he,P,ae),ne===null?ee=he:ne.sibling=he,ne=he);return n&&Q.forEach(function(ue){return i($,ue)}),Du&&q4($,ae),ee}function D($,P,j,z){var ee=IU(j);if(typeof ee!="function")throw Error(or(150));if(j=ee.call(j),j==null)throw Error(or(151));for(var ne=ee=null,Q=P,ae=P=0,he=null,pe=j.next();Q!==null&&!pe.done;ae++,pe=j.next()){Q.index>ae?(he=Q,Q=null):he=Q.sibling;var ue=C($,Q,pe.value,z);if(ue===null){Q===null&&(Q=he);break}n&&Q&&ue.alternate===null&&i($,Q),P=g(ue,P,ae),ne===null?ee=ue:ne.sibling=ue,ne=ue,Q=he}if(pe.done)return s($,Q),Du&&q4($,ae),ee;if(Q===null){for(;!pe.done;ae++,pe=j.next())pe=A($,pe.value,z),pe!==null&&(P=g(pe,P,ae),ne===null?ee=pe:ne.sibling=pe,ne=pe);return Du&&q4($,ae),ee}for(Q=c($,Q);!pe.done;ae++,pe=j.next())pe=O(Q,$,ae,pe.value,z),pe!==null&&(n&&pe.alternate!==null&&Q.delete(pe.key===null?ae:pe.key),P=g(pe,P,ae),ne===null?ee=pe:ne.sibling=pe,ne=pe);return n&&Q.forEach(function(fe){return i($,fe)}),Du&&q4($,ae),ee}function B($,P,j,z){if(typeof j=="object"&&j!==null&&j.type===O5&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case Xre:e:{for(var ee=j.key,ne=P;ne!==null;){if(ne.key===ee){if(ee=j.type,ee===O5){if(ne.tag===7){s($,ne.sibling),P=d(ne,j.props.children),P.return=$,$=P;break e}}else if(ne.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Pk&&F5t(ee)===ne.type){s($,ne.sibling),P=d(ne,j.props),P.ref=MU($,ne,j),P.return=$,$=P;break e}s($,ne);break}else i($,ne);ne=ne.sibling}j.type===O5?(P=eR(j.props.children,$.mode,z,j.key),P.return=$,$=P):(z=Qie(j.type,j.key,j.props,null,$.mode,z),z.ref=MU($,P,j),z.return=$,$=z)}return b($);case R5:e:{for(ne=j.key;P!==null;){if(P.key===ne)if(P.tag===4&&P.stateNode.containerInfo===j.containerInfo&&P.stateNode.implementation===j.implementation){s($,P.sibling),P=d(P,j.children||[]),P.return=$,$=P;break e}else{s($,P);break}else i($,P);P=P.sibling}P=LCe(j,$.mode,z),P.return=$,$=P}return b($);case Pk:return ne=j._init,B($,P,ne(j._payload),z)}if(KU(j))return L($,P,j,z);if(IU(j))return D($,P,j,z);cie($,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,P!==null&&P.tag===6?(s($,P.sibling),P=d(P,j),P.return=$,$=P):(s($,P),P=DCe(j,$.mode,z),P.return=$,$=P),b($)):s($,P)}return B}var gM=vUt(!0),EUt=vUt(!1),Coe=wN(null),Ioe=null,B5=null,e5e=null;function t5e(){e5e=B5=Ioe=null}function n5e(n){var i=Coe.current;du(Coe),n._currentValue=i}function U6e(n,i,s){for(;n!==null;){var c=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),n===s)break;n=n.return}}function eM(n,i){Ioe=n,e5e=B5=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&i&&(ab=!0),n.firstContext=null)}function _w(n){var i=n._currentValue;if(e5e!==n)if(n={context:n,memoizedValue:i,next:null},B5===null){if(Ioe===null)throw Error(or(308));B5=n,Ioe.dependencies={lanes:0,firstContext:n}}else B5=B5.next=n;return i}var J4=null;function r5e(n){J4===null?J4=[n]:J4.push(n)}function SUt(n,i,s,c){var d=i.interleaved;return d===null?(s.next=s,r5e(i)):(s.next=d.next,d.next=s),i.interleaved=s,mA(n,c)}function mA(n,i){n.lanes|=i;var s=n.alternate;for(s!==null&&(s.lanes|=i),s=n,n=n.return;n!==null;)n.childLanes|=i,s=n.alternate,s!==null&&(s.childLanes|=i),s=n,n=n.return;return s.tag===3?s.stateNode:null}var jk=!1;function i5e(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function TUt(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function hA(n,i){return{eventTime:n,lane:i,tag:0,payload:null,callback:null,next:null}}function Jk(n,i,s){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,ga&2){var d=c.pending;return d===null?i.next=i:(i.next=d.next,d.next=i),c.pending=i,mA(n,s)}return d=c.interleaved,d===null?(i.next=i,r5e(c)):(i.next=d.next,d.next=i),c.interleaved=i,mA(n,s)}function Wie(n,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var c=i.lanes;c&=n.pendingLanes,s|=c,i.lanes=s,zLe(n,s)}}function $5t(n,i){var s=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var d=null,g=null;if(s=s.firstBaseUpdate,s!==null){do{var b={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};g===null?d=g=b:g=g.next=b,s=s.next}while(s!==null);g===null?d=g=i:g=g.next=i}else d=g=i;s={baseState:c.baseState,firstBaseUpdate:d,lastBaseUpdate:g,shared:c.shared,effects:c.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=i:n.next=i,s.lastBaseUpdate=i}function Roe(n,i,s,c){var d=n.updateQueue;jk=!1;var g=d.firstBaseUpdate,b=d.lastBaseUpdate,w=d.shared.pending;if(w!==null){d.shared.pending=null;var E=w,S=E.next;E.next=null,b===null?g=S:b.next=S,b=E;var _=n.alternate;_!==null&&(_=_.updateQueue,w=_.lastBaseUpdate,w!==b&&(w===null?_.firstBaseUpdate=S:w.next=S,_.lastBaseUpdate=E))}if(g!==null){var A=d.baseState;b=0,_=S=E=null,w=g;do{var C=w.lane,O=w.eventTime;if((c&C)===C){_!==null&&(_=_.next={eventTime:O,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var L=n,D=w;switch(C=i,O=s,D.tag){case 1:if(L=D.payload,typeof L=="function"){A=L.call(O,A,C);break e}A=L;break e;case 3:L.flags=L.flags&-65537|128;case 0:if(L=D.payload,C=typeof L=="function"?L.call(O,A,C):L,C==null)break e;A=fl({},A,C);break e;case 2:jk=!0}}w.callback!==null&&w.lane!==0&&(n.flags|=64,C=d.effects,C===null?d.effects=[w]:C.push(w))}else O={eventTime:O,lane:C,tag:w.tag,payload:w.payload,callback:w.callback,next:null},_===null?(S=_=O,E=A):_=_.next=O,b|=C;if(w=w.next,w===null){if(w=d.shared.pending,w===null)break;C=w,w=C.next,C.next=null,d.lastBaseUpdate=C,d.shared.pending=null}}while(!0);if(_===null&&(E=A),d.baseState=E,d.firstBaseUpdate=S,d.lastBaseUpdate=_,i=d.shared.interleaved,i!==null){d=i;do b|=d.lane,d=d.next;while(d!==i)}else g===null&&(d.shared.lanes=0);cR|=b,n.lanes=b,n.memoizedState=A}}function B5t(n,i,s){if(n=i.effects,i.effects=null,n!==null)for(i=0;i<n.length;i++){var c=n[i],d=c.callback;if(d!==null){if(c.callback=null,c=s,typeof d!="function")throw Error(or(191,d));d.call(c)}}}var Ez={},j2=wN(Ez),FH=wN(Ez),$H=wN(Ez);function X4(n){if(n===Ez)throw Error(or(174));return n}function o5e(n,i){switch(Wc($H,i),Wc(FH,n),Wc(j2,Ez),n=i.nodeType,n){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:E6e(null,"");break;default:n=n===8?i.parentNode:i,i=n.namespaceURI||null,n=n.tagName,i=E6e(i,n)}du(j2),Wc(j2,i)}function bM(){du(j2),du(FH),du($H)}function AUt(n){X4($H.current);var i=X4(j2.current),s=E6e(i,n.type);i!==s&&(Wc(FH,n),Wc(j2,s))}function s5e(n){FH.current===n&&(du(j2),du(FH))}var ul=wN(0);function Ooe(n){for(var i=n;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var kCe=[];function a5e(){for(var n=0;n<kCe.length;n++)kCe[n]._workInProgressVersionPrimary=null;kCe.length=0}var Kie=AA.ReactCurrentDispatcher,NCe=AA.ReactCurrentBatchConfig,aR=0,dl=null,wf=null,th=null,Doe=!1,hH=!1,BH=0,_4n=0;function Pp(){throw Error(or(321))}function c5e(n,i){if(i===null)return!1;for(var s=0;s<i.length&&s<n.length;s++)if(!jv(n[s],i[s]))return!1;return!0}function u5e(n,i,s,c,d,g){if(aR=g,dl=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Kie.current=n===null||n.memoizedState===null?C4n:I4n,n=s(c,d),hH){g=0;do{if(hH=!1,BH=0,25<=g)throw Error(or(301));g+=1,th=wf=null,i.updateQueue=null,Kie.current=R4n,n=s(c,d)}while(hH)}if(Kie.current=Loe,i=wf!==null&&wf.next!==null,aR=0,th=wf=dl=null,Doe=!1,i)throw Error(or(300));return n}function l5e(){var n=BH!==0;return BH=0,n}function k2(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return th===null?dl.memoizedState=th=n:th=th.next=n,th}function xw(){if(wf===null){var n=dl.alternate;n=n!==null?n.memoizedState:null}else n=wf.next;var i=th===null?dl.memoizedState:th.next;if(i!==null)th=i,wf=n;else{if(n===null)throw Error(or(310));wf=n,n={memoizedState:wf.memoizedState,baseState:wf.baseState,baseQueue:wf.baseQueue,queue:wf.queue,next:null},th===null?dl.memoizedState=th=n:th=th.next=n}return th}function UH(n,i){return typeof i=="function"?i(n):i}function CCe(n){var i=xw(),s=i.queue;if(s===null)throw Error(or(311));s.lastRenderedReducer=n;var c=wf,d=c.baseQueue,g=s.pending;if(g!==null){if(d!==null){var b=d.next;d.next=g.next,g.next=b}c.baseQueue=d=g,s.pending=null}if(d!==null){g=d.next,c=c.baseState;var w=b=null,E=null,S=g;do{var _=S.lane;if((aR&_)===_)E!==null&&(E=E.next={lane:0,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),c=S.hasEagerState?S.eagerState:n(c,S.action);else{var A={lane:_,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null};E===null?(w=E=A,b=c):E=E.next=A,dl.lanes|=_,cR|=_}S=S.next}while(S!==null&&S!==g);E===null?b=c:E.next=w,jv(c,i.memoizedState)||(ab=!0),i.memoizedState=c,i.baseState=b,i.baseQueue=E,s.lastRenderedState=c}if(n=s.interleaved,n!==null){d=n;do g=d.lane,dl.lanes|=g,cR|=g,d=d.next;while(d!==n)}else d===null&&(s.lanes=0);return[i.memoizedState,s.dispatch]}function ICe(n){var i=xw(),s=i.queue;if(s===null)throw Error(or(311));s.lastRenderedReducer=n;var c=s.dispatch,d=s.pending,g=i.memoizedState;if(d!==null){s.pending=null;var b=d=d.next;do g=n(g,b.action),b=b.next;while(b!==d);jv(g,i.memoizedState)||(ab=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),s.lastRenderedState=g}return[g,c]}function _Ut(){}function xUt(n,i){var s=dl,c=xw(),d=i(),g=!jv(c.memoizedState,d);if(g&&(c.memoizedState=d,ab=!0),c=c.queue,d5e(CUt.bind(null,s,c,n),[n]),c.getSnapshot!==i||g||th!==null&&th.memoizedState.tag&1){if(s.flags|=2048,HH(9,NUt.bind(null,s,c,d,i),void 0,null),rh===null)throw Error(or(349));aR&30||kUt(s,i,d)}return d}function kUt(n,i,s){n.flags|=16384,n={getSnapshot:i,value:s},i=dl.updateQueue,i===null?(i={lastEffect:null,stores:null},dl.updateQueue=i,i.stores=[n]):(s=i.stores,s===null?i.stores=[n]:s.push(n))}function NUt(n,i,s,c){i.value=s,i.getSnapshot=c,IUt(i)&&RUt(n)}function CUt(n,i,s){return s(function(){IUt(i)&&RUt(n)})}function IUt(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!jv(n,s)}catch{return!0}}function RUt(n){var i=mA(n,1);i!==null&&Pv(i,n,1,-1)}function U5t(n){var i=k2();return typeof n=="function"&&(n=n()),i.memoizedState=i.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:UH,lastRenderedState:n},i.queue=n,n=n.dispatch=N4n.bind(null,dl,n),[i.memoizedState,n]}function HH(n,i,s,c){return n={tag:n,create:i,destroy:s,deps:c,next:null},i=dl.updateQueue,i===null?(i={lastEffect:null,stores:null},dl.updateQueue=i,i.lastEffect=n.next=n):(s=i.lastEffect,s===null?i.lastEffect=n.next=n:(c=s.next,s.next=n,n.next=c,i.lastEffect=n)),n}function OUt(){return xw().memoizedState}function Yie(n,i,s,c){var d=k2();dl.flags|=n,d.memoizedState=HH(1|i,s,void 0,c===void 0?null:c)}function Fse(n,i,s,c){var d=xw();c=c===void 0?null:c;var g=void 0;if(wf!==null){var b=wf.memoizedState;if(g=b.destroy,c!==null&&c5e(c,b.deps)){d.memoizedState=HH(i,s,g,c);return}}dl.flags|=n,d.memoizedState=HH(1|i,s,g,c)}function H5t(n,i){return Yie(8390656,8,n,i)}function d5e(n,i){return Fse(2048,8,n,i)}function DUt(n,i){return Fse(4,2,n,i)}function LUt(n,i){return Fse(4,4,n,i)}function MUt(n,i){if(typeof i=="function")return n=n(),i(n),function(){i(null)};if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function PUt(n,i,s){return s=s!=null?s.concat([n]):null,Fse(4,4,MUt.bind(null,i,n),s)}function f5e(){}function jUt(n,i){var s=xw();i=i===void 0?null:i;var c=s.memoizedState;return c!==null&&i!==null&&c5e(i,c[1])?c[0]:(s.memoizedState=[n,i],n)}function FUt(n,i){var s=xw();i=i===void 0?null:i;var c=s.memoizedState;return c!==null&&i!==null&&c5e(i,c[1])?c[0]:(n=n(),s.memoizedState=[n,i],n)}function $Ut(n,i,s){return aR&21?(jv(s,i)||(s=GBt(),dl.lanes|=s,cR|=s,n.baseState=!0),i):(n.baseState&&(n.baseState=!1,ab=!0),n.memoizedState=s)}function x4n(n,i){var s=uc;uc=s!==0&&4>s?s:4,n(!0);var c=NCe.transition;NCe.transition={};try{n(!1),i()}finally{uc=s,NCe.transition=c}}function BUt(){return xw().memoizedState}function k4n(n,i,s){var c=Zk(n);if(s={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null},UUt(n))HUt(i,s);else if(s=SUt(n,i,s,c),s!==null){var d=Hg();Pv(s,n,c,d),zUt(s,i,c)}}function N4n(n,i,s){var c=Zk(n),d={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(UUt(n))HUt(i,d);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var b=i.lastRenderedState,w=g(b,s);if(d.hasEagerState=!0,d.eagerState=w,jv(w,b)){var E=i.interleaved;E===null?(d.next=d,r5e(i)):(d.next=E.next,E.next=d),i.interleaved=d;return}}catch{}finally{}s=SUt(n,i,d,c),s!==null&&(d=Hg(),Pv(s,n,c,d),zUt(s,i,c))}}function UUt(n){var i=n.alternate;return n===dl||i!==null&&i===dl}function HUt(n,i){hH=Doe=!0;var s=n.pending;s===null?i.next=i:(i.next=s.next,s.next=i),n.pending=i}function zUt(n,i,s){if(s&4194240){var c=i.lanes;c&=n.pendingLanes,s|=c,i.lanes=s,zLe(n,s)}}var Loe={readContext:_w,useCallback:Pp,useContext:Pp,useEffect:Pp,useImperativeHandle:Pp,useInsertionEffect:Pp,useLayoutEffect:Pp,useMemo:Pp,useReducer:Pp,useRef:Pp,useState:Pp,useDebugValue:Pp,useDeferredValue:Pp,useTransition:Pp,useMutableSource:Pp,useSyncExternalStore:Pp,useId:Pp,unstable_isNewReconciler:!1},C4n={readContext:_w,useCallback:function(n,i){return k2().memoizedState=[n,i===void 0?null:i],n},useContext:_w,useEffect:H5t,useImperativeHandle:function(n,i,s){return s=s!=null?s.concat([n]):null,Yie(4194308,4,MUt.bind(null,i,n),s)},useLayoutEffect:function(n,i){return Yie(4194308,4,n,i)},useInsertionEffect:function(n,i){return Yie(4,2,n,i)},useMemo:function(n,i){var s=k2();return i=i===void 0?null:i,n=n(),s.memoizedState=[n,i],n},useReducer:function(n,i,s){var c=k2();return i=s!==void 0?s(i):i,c.memoizedState=c.baseState=i,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:i},c.queue=n,n=n.dispatch=k4n.bind(null,dl,n),[c.memoizedState,n]},useRef:function(n){var i=k2();return n={current:n},i.memoizedState=n},useState:U5t,useDebugValue:f5e,useDeferredValue:function(n){return k2().memoizedState=n},useTransition:function(){var n=U5t(!1),i=n[0];return n=x4n.bind(null,n[1]),k2().memoizedState=n,[i,n]},useMutableSource:function(){},useSyncExternalStore:function(n,i,s){var c=dl,d=k2();if(Du){if(s===void 0)throw Error(or(407));s=s()}else{if(s=i(),rh===null)throw Error(or(349));aR&30||kUt(c,i,s)}d.memoizedState=s;var g={value:s,getSnapshot:i};return d.queue=g,H5t(CUt.bind(null,c,g,n),[n]),c.flags|=2048,HH(9,NUt.bind(null,c,g,s,i),void 0,null),s},useId:function(){var n=k2(),i=rh.identifierPrefix;if(Du){var s=uA,c=cA;s=(c&~(1<<32-Mv(c)-1)).toString(32)+s,i=":"+i+"R"+s,s=BH++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=_4n++,i=":"+i+"r"+s.toString(32)+":";return n.memoizedState=i},unstable_isNewReconciler:!1},I4n={readContext:_w,useCallback:jUt,useContext:_w,useEffect:d5e,useImperativeHandle:PUt,useInsertionEffect:DUt,useLayoutEffect:LUt,useMemo:FUt,useReducer:CCe,useRef:OUt,useState:function(){return CCe(UH)},useDebugValue:f5e,useDeferredValue:function(n){var i=xw();return $Ut(i,wf.memoizedState,n)},useTransition:function(){var n=CCe(UH)[0],i=xw().memoizedState;return[n,i]},useMutableSource:_Ut,useSyncExternalStore:xUt,useId:BUt,unstable_isNewReconciler:!1},R4n={readContext:_w,useCallback:jUt,useContext:_w,useEffect:d5e,useImperativeHandle:PUt,useInsertionEffect:DUt,useLayoutEffect:LUt,useMemo:FUt,useReducer:ICe,useRef:OUt,useState:function(){return ICe(UH)},useDebugValue:f5e,useDeferredValue:function(n){var i=xw();return wf===null?i.memoizedState=n:$Ut(i,wf.memoizedState,n)},useTransition:function(){var n=ICe(UH)[0],i=xw().memoizedState;return[n,i]},useMutableSource:_Ut,useSyncExternalStore:xUt,useId:BUt,unstable_isNewReconciler:!1};function Nv(n,i){if(n&&n.defaultProps){i=fl({},i),n=n.defaultProps;for(var s in n)i[s]===void 0&&(i[s]=n[s]);return i}return i}function H6e(n,i,s,c){i=n.memoizedState,s=s(c,i),s=s==null?i:fl({},i,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var $se={isMounted:function(n){return(n=n._reactInternals)?_R(n)===n:!1},enqueueSetState:function(n,i,s){n=n._reactInternals;var c=Hg(),d=Zk(n),g=hA(c,d);g.payload=i,s!=null&&(g.callback=s),i=Jk(n,g,d),i!==null&&(Pv(i,n,d,c),Wie(i,n,d))},enqueueReplaceState:function(n,i,s){n=n._reactInternals;var c=Hg(),d=Zk(n),g=hA(c,d);g.tag=1,g.payload=i,s!=null&&(g.callback=s),i=Jk(n,g,d),i!==null&&(Pv(i,n,d,c),Wie(i,n,d))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var s=Hg(),c=Zk(n),d=hA(s,c);d.tag=2,i!=null&&(d.callback=i),i=Jk(n,d,c),i!==null&&(Pv(i,n,c,s),Wie(i,n,c))}};function z5t(n,i,s,c,d,g,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,b):i.prototype&&i.prototype.isPureReactComponent?!LH(s,c)||!LH(d,g):!0}function GUt(n,i,s){var c=!1,d=rN,g=i.contextType;return typeof g=="object"&&g!==null?g=_w(g):(d=db(i)?oR:Bp.current,c=i.contextTypes,g=(c=c!=null)?hM(n,d):rN),i=new i(s,g),n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=$se,n.stateNode=i,i._reactInternals=n,c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=d,n.__reactInternalMemoizedMaskedChildContext=g),i}function G5t(n,i,s,c){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,c),i.state!==n&&$se.enqueueReplaceState(i,i.state,null)}function z6e(n,i,s,c){var d=n.stateNode;d.props=s,d.state=n.memoizedState,d.refs={},i5e(n);var g=i.contextType;typeof g=="object"&&g!==null?d.context=_w(g):(g=db(i)?oR:Bp.current,d.context=hM(n,g)),d.state=n.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(H6e(n,i,g,s),d.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(i=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),i!==d.state&&$se.enqueueReplaceState(d,d.state,null),Roe(n,s,d,c),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308)}function mM(n,i){try{var s="",c=i;do s+=oIn(c),c=c.return;while(c);var d=s}catch(g){d=`
Error generating stack: `+g.message+`
`+g.stack}return{value:n,source:i,stack:d,digest:null}}function RCe(n,i,s){return{value:n,source:null,stack:s??null,digest:i??null}}function G6e(n,i){try{console.error(i.value)}catch(s){setTimeout(function(){throw s})}}var O4n=typeof WeakMap=="function"?WeakMap:Map;function qUt(n,i,s){s=hA(-1,s),s.tag=3,s.payload={element:null};var c=i.value;return s.callback=function(){Poe||(Poe=!0,eDe=c),G6e(n,i)},s}function VUt(n,i,s){s=hA(-1,s),s.tag=3;var c=n.type.getDerivedStateFromError;if(typeof c=="function"){var d=i.value;s.payload=function(){return c(d)},s.callback=function(){G6e(n,i)}}var g=n.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(s.callback=function(){G6e(n,i),typeof c!="function"&&(Xk===null?Xk=new Set([this]):Xk.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})}),s}function q5t(n,i,s){var c=n.pingCache;if(c===null){c=n.pingCache=new O4n;var d=new Set;c.set(i,d)}else d=c.get(i),d===void 0&&(d=new Set,c.set(i,d));d.has(s)||(d.add(s),n=V4n.bind(null,n,i,s),i.then(n,n))}function V5t(n){do{var i;if((i=n.tag===13)&&(i=n.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return n;n=n.return}while(n!==null);return null}function W5t(n,i,s,c,d){return n.mode&1?(n.flags|=65536,n.lanes=d,n):(n===i?n.flags|=65536:(n.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(i=hA(-1,1),i.tag=2,Jk(s,i,1))),s.lanes|=1),n)}var D4n=AA.ReactCurrentOwner,ab=!1;function Bg(n,i,s,c){i.child=n===null?EUt(i,null,s,c):gM(i,n.child,s,c)}function K5t(n,i,s,c,d){s=s.render;var g=i.ref;return eM(i,d),c=u5e(n,i,s,c,g,d),s=l5e(),n!==null&&!ab?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,wA(n,i,d)):(Du&&s&&XLe(i),i.flags|=1,Bg(n,i,c,d),i.child)}function Y5t(n,i,s,c,d){if(n===null){var g=s.type;return typeof g=="function"&&!v5e(g)&&g.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(i.tag=15,i.type=g,WUt(n,i,g,c,d)):(n=Qie(s.type,null,c,i,i.mode,d),n.ref=i.ref,n.return=i,i.child=n)}if(g=n.child,!(n.lanes&d)){var b=g.memoizedProps;if(s=s.compare,s=s!==null?s:LH,s(b,c)&&n.ref===i.ref)return wA(n,i,d)}return i.flags|=1,n=Qk(g,c),n.ref=i.ref,n.return=i,i.child=n}function WUt(n,i,s,c,d){if(n!==null){var g=n.memoizedProps;if(LH(g,c)&&n.ref===i.ref)if(ab=!1,i.pendingProps=c=g,(n.lanes&d)!==0)n.flags&131072&&(ab=!0);else return i.lanes=n.lanes,wA(n,i,d)}return q6e(n,i,s,c,d)}function KUt(n,i,s){var c=i.pendingProps,d=c.children,g=n!==null?n.memoizedState:null;if(c.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Wc(H5,Lm),Lm|=s;else{if(!(s&1073741824))return n=g!==null?g.baseLanes|s:s,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:n,cachePool:null,transitions:null},i.updateQueue=null,Wc(H5,Lm),Lm|=n,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=g!==null?g.baseLanes:s,Wc(H5,Lm),Lm|=c}else g!==null?(c=g.baseLanes|s,i.memoizedState=null):c=s,Wc(H5,Lm),Lm|=c;return Bg(n,i,d,s),i.child}function YUt(n,i){var s=i.ref;(n===null&&s!==null||n!==null&&n.ref!==s)&&(i.flags|=512,i.flags|=2097152)}function q6e(n,i,s,c,d){var g=db(s)?oR:Bp.current;return g=hM(i,g),eM(i,d),s=u5e(n,i,s,c,g,d),c=l5e(),n!==null&&!ab?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~d,wA(n,i,d)):(Du&&c&&XLe(i),i.flags|=1,Bg(n,i,s,d),i.child)}function J5t(n,i,s,c,d){if(db(s)){var g=!0;xoe(i)}else g=!1;if(eM(i,d),i.stateNode===null)Jie(n,i),GUt(i,s,c),z6e(i,s,c,d),c=!0;else if(n===null){var b=i.stateNode,w=i.memoizedProps;b.props=w;var E=b.context,S=s.contextType;typeof S=="object"&&S!==null?S=_w(S):(S=db(s)?oR:Bp.current,S=hM(i,S));var _=s.getDerivedStateFromProps,A=typeof _=="function"||typeof b.getSnapshotBeforeUpdate=="function";A||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==c||E!==S)&&G5t(i,b,c,S),jk=!1;var C=i.memoizedState;b.state=C,Roe(i,c,b,d),E=i.memoizedState,w!==c||C!==E||lb.current||jk?(typeof _=="function"&&(H6e(i,s,_,c),E=i.memoizedState),(w=jk||z5t(i,s,w,c,C,E,S))?(A||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=E),b.props=c,b.state=E,b.context=S,c=w):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{b=i.stateNode,TUt(n,i),w=i.memoizedProps,S=i.type===i.elementType?w:Nv(i.type,w),b.props=S,A=i.pendingProps,C=b.context,E=s.contextType,typeof E=="object"&&E!==null?E=_w(E):(E=db(s)?oR:Bp.current,E=hM(i,E));var O=s.getDerivedStateFromProps;(_=typeof O=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==A||C!==E)&&G5t(i,b,c,E),jk=!1,C=i.memoizedState,b.state=C,Roe(i,c,b,d);var L=i.memoizedState;w!==A||C!==L||lb.current||jk?(typeof O=="function"&&(H6e(i,s,O,c),L=i.memoizedState),(S=jk||z5t(i,s,S,c,C,L,E)||!1)?(_||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(c,L,E),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(c,L,E)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=L),b.props=c,b.state=L,b.context=E,c=S):(typeof b.componentDidUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&C===n.memoizedState||(i.flags|=1024),c=!1)}return V6e(n,i,s,c,g,d)}function V6e(n,i,s,c,d,g){YUt(n,i);var b=(i.flags&128)!==0;if(!c&&!b)return d&&M5t(i,s,!1),wA(n,i,g);c=i.stateNode,D4n.current=i;var w=b&&typeof s.getDerivedStateFromError!="function"?null:c.render();return i.flags|=1,n!==null&&b?(i.child=gM(i,n.child,null,g),i.child=gM(i,null,w,g)):Bg(n,i,w,g),i.memoizedState=c.state,d&&M5t(i,s,!0),i.child}function JUt(n){var i=n.stateNode;i.pendingContext?L5t(n,i.pendingContext,i.pendingContext!==i.context):i.context&&L5t(n,i.context,!1),o5e(n,i.containerInfo)}function X5t(n,i,s,c,d){return pM(),QLe(d),i.flags|=256,Bg(n,i,s,c),i.child}var W6e={dehydrated:null,treeContext:null,retryLane:0};function K6e(n){return{baseLanes:n,cachePool:null,transitions:null}}function XUt(n,i,s){var c=i.pendingProps,d=ul.current,g=!1,b=(i.flags&128)!==0,w;if((w=b)||(w=n!==null&&n.memoizedState===null?!1:(d&2)!==0),w?(g=!0,i.flags&=-129):(n===null||n.memoizedState!==null)&&(d|=1),Wc(ul,d&1),n===null)return B6e(i),n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(i.mode&1?n.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(b=c.children,n=c.fallback,g?(c=i.mode,g=i.child,b={mode:"hidden",children:b},!(c&1)&&g!==null?(g.childLanes=0,g.pendingProps=b):g=Hse(b,c,0,null),n=eR(n,c,s,null),g.return=i,n.return=i,g.sibling=n,i.child=g,i.child.memoizedState=K6e(s),i.memoizedState=W6e,n):h5e(i,b));if(d=n.memoizedState,d!==null&&(w=d.dehydrated,w!==null))return L4n(n,i,b,c,w,d,s);if(g){g=c.fallback,b=i.mode,d=n.child,w=d.sibling;var E={mode:"hidden",children:c.children};return!(b&1)&&i.child!==d?(c=i.child,c.childLanes=0,c.pendingProps=E,i.deletions=null):(c=Qk(d,E),c.subtreeFlags=d.subtreeFlags&14680064),w!==null?g=Qk(w,g):(g=eR(g,b,s,null),g.flags|=2),g.return=i,c.return=i,c.sibling=g,i.child=c,c=g,g=i.child,b=n.child.memoizedState,b=b===null?K6e(s):{baseLanes:b.baseLanes|s,cachePool:null,transitions:b.transitions},g.memoizedState=b,g.childLanes=n.childLanes&~s,i.memoizedState=W6e,c}return g=n.child,n=g.sibling,c=Qk(g,{mode:"visible",children:c.children}),!(i.mode&1)&&(c.lanes=s),c.return=i,c.sibling=null,n!==null&&(s=i.deletions,s===null?(i.deletions=[n],i.flags|=16):s.push(n)),i.child=c,i.memoizedState=null,c}function h5e(n,i){return i=Hse({mode:"visible",children:i},n.mode,0,null),i.return=n,n.child=i}function uie(n,i,s,c){return c!==null&&QLe(c),gM(i,n.child,null,s),n=h5e(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function L4n(n,i,s,c,d,g,b){if(s)return i.flags&256?(i.flags&=-257,c=RCe(Error(or(422))),uie(n,i,b,c)):i.memoizedState!==null?(i.child=n.child,i.flags|=128,null):(g=c.fallback,d=i.mode,c=Hse({mode:"visible",children:c.children},d,0,null),g=eR(g,d,b,null),g.flags|=2,c.return=i,g.return=i,c.sibling=g,i.child=c,i.mode&1&&gM(i,n.child,null,b),i.child.memoizedState=K6e(b),i.memoizedState=W6e,g);if(!(i.mode&1))return uie(n,i,b,null);if(d.data==="$!"){if(c=d.nextSibling&&d.nextSibling.dataset,c)var w=c.dgst;return c=w,g=Error(or(419)),c=RCe(g,c,void 0),uie(n,i,b,c)}if(w=(b&n.childLanes)!==0,ab||w){if(c=rh,c!==null){switch(b&-b){case 4:d=2;break;case 16:d=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:d=32;break;case 536870912:d=268435456;break;default:d=0}d=d&(c.suspendedLanes|b)?0:d,d!==0&&d!==g.retryLane&&(g.retryLane=d,mA(n,d),Pv(c,n,d,-1))}return y5e(),c=RCe(Error(or(421))),uie(n,i,b,c)}return d.data==="$?"?(i.flags|=128,i.child=n.child,i=W4n.bind(null,n),d._reactRetry=i,null):(n=g.treeContext,Fm=Yk(d.nextSibling),Bm=i,Du=!0,Rv=null,n!==null&&(mw[ww++]=cA,mw[ww++]=uA,mw[ww++]=sR,cA=n.id,uA=n.overflow,sR=i),i=h5e(i,c.children),i.flags|=4096,i)}function Z5t(n,i,s){n.lanes|=i;var c=n.alternate;c!==null&&(c.lanes|=i),U6e(n.return,i,s)}function OCe(n,i,s,c,d){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:d}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=s,g.tailMode=d)}function ZUt(n,i,s){var c=i.pendingProps,d=c.revealOrder,g=c.tail;if(Bg(n,i,c.children,s),c=ul.current,c&2)c=c&1|2,i.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Z5t(n,s,i);else if(n.tag===19)Z5t(n,s,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}c&=1}if(Wc(ul,c),!(i.mode&1))i.memoizedState=null;else switch(d){case"forwards":for(s=i.child,d=null;s!==null;)n=s.alternate,n!==null&&Ooe(n)===null&&(d=s),s=s.sibling;s=d,s===null?(d=i.child,i.child=null):(d=s.sibling,s.sibling=null),OCe(i,!1,d,s,g);break;case"backwards":for(s=null,d=i.child,i.child=null;d!==null;){if(n=d.alternate,n!==null&&Ooe(n)===null){i.child=d;break}n=d.sibling,d.sibling=s,s=d,d=n}OCe(i,!0,s,null,g);break;case"together":OCe(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Jie(n,i){!(i.mode&1)&&n!==null&&(n.alternate=null,i.alternate=null,i.flags|=2)}function wA(n,i,s){if(n!==null&&(i.dependencies=n.dependencies),cR|=i.lanes,!(s&i.childLanes))return null;if(n!==null&&i.child!==n.child)throw Error(or(153));if(i.child!==null){for(n=i.child,s=Qk(n,n.pendingProps),i.child=s,s.return=i;n.sibling!==null;)n=n.sibling,s=s.sibling=Qk(n,n.pendingProps),s.return=i;s.sibling=null}return i.child}function M4n(n,i,s){switch(i.tag){case 3:JUt(i),pM();break;case 5:AUt(i);break;case 1:db(i.type)&&xoe(i);break;case 4:o5e(i,i.stateNode.containerInfo);break;case 10:var c=i.type._context,d=i.memoizedProps.value;Wc(Coe,c._currentValue),c._currentValue=d;break;case 13:if(c=i.memoizedState,c!==null)return c.dehydrated!==null?(Wc(ul,ul.current&1),i.flags|=128,null):s&i.child.childLanes?XUt(n,i,s):(Wc(ul,ul.current&1),n=wA(n,i,s),n!==null?n.sibling:null);Wc(ul,ul.current&1);break;case 19:if(c=(s&i.childLanes)!==0,n.flags&128){if(c)return ZUt(n,i,s);i.flags|=128}if(d=i.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Wc(ul,ul.current),c)break;return null;case 22:case 23:return i.lanes=0,KUt(n,i,s)}return wA(n,i,s)}var QUt,Y6e,eHt,tHt;QUt=function(n,i){for(var s=i.child;s!==null;){if(s.tag===5||s.tag===6)n.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return;s=s.return}s.sibling.return=s.return,s=s.sibling}};Y6e=function(){};eHt=function(n,i,s,c){var d=n.memoizedProps;if(d!==c){n=i.stateNode,X4(j2.current);var g=null;switch(s){case"input":d=m6e(n,d),c=m6e(n,c),g=[];break;case"select":d=fl({},d,{value:void 0}),c=fl({},c,{value:void 0}),g=[];break;case"textarea":d=v6e(n,d),c=v6e(n,c),g=[];break;default:typeof d.onClick!="function"&&typeof c.onClick=="function"&&(n.onclick=Aoe)}S6e(s,c);var b;s=null;for(S in d)if(!c.hasOwnProperty(S)&&d.hasOwnProperty(S)&&d[S]!=null)if(S==="style"){var w=d[S];for(b in w)w.hasOwnProperty(b)&&(s||(s={}),s[b]="")}else S!=="dangerouslySetInnerHTML"&&S!=="children"&&S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(kH.hasOwnProperty(S)?g||(g=[]):(g=g||[]).push(S,null));for(S in c){var E=c[S];if(w=d!=null?d[S]:void 0,c.hasOwnProperty(S)&&E!==w&&(E!=null||w!=null))if(S==="style")if(w){for(b in w)!w.hasOwnProperty(b)||E&&E.hasOwnProperty(b)||(s||(s={}),s[b]="");for(b in E)E.hasOwnProperty(b)&&w[b]!==E[b]&&(s||(s={}),s[b]=E[b])}else s||(g||(g=[]),g.push(S,s)),s=E;else S==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,w=w?w.__html:void 0,E!=null&&w!==E&&(g=g||[]).push(S,E)):S==="children"?typeof E!="string"&&typeof E!="number"||(g=g||[]).push(S,""+E):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&(kH.hasOwnProperty(S)?(E!=null&&S==="onScroll"&&lu("scroll",n),g||w===E||(g=[])):(g=g||[]).push(S,E))}s&&(g=g||[]).push("style",s);var S=g;(i.updateQueue=S)&&(i.flags|=4)}};tHt=function(n,i,s,c){s!==c&&(i.flags|=4)};function PU(n,i){if(!Du)switch(n.tailMode){case"hidden":i=n.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function jp(n){var i=n.alternate!==null&&n.alternate.child===n.child,s=0,c=0;if(i)for(var d=n.child;d!==null;)s|=d.lanes|d.childLanes,c|=d.subtreeFlags&14680064,c|=d.flags&14680064,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)s|=d.lanes|d.childLanes,c|=d.subtreeFlags,c|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=c,n.childLanes=s,i}function P4n(n,i,s){var c=i.pendingProps;switch(ZLe(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jp(i),null;case 1:return db(i.type)&&_oe(),jp(i),null;case 3:return c=i.stateNode,bM(),du(lb),du(Bp),a5e(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&(aie(i)?i.flags|=4:n===null||n.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Rv!==null&&(rDe(Rv),Rv=null))),Y6e(n,i),jp(i),null;case 5:s5e(i);var d=X4($H.current);if(s=i.type,n!==null&&i.stateNode!=null)eHt(n,i,s,c,d),n.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!c){if(i.stateNode===null)throw Error(or(166));return jp(i),null}if(n=X4(j2.current),aie(i)){c=i.stateNode,s=i.type;var g=i.memoizedProps;switch(c[R2]=i,c[jH]=g,n=(i.mode&1)!==0,s){case"dialog":lu("cancel",c),lu("close",c);break;case"iframe":case"object":case"embed":lu("load",c);break;case"video":case"audio":for(d=0;d<JU.length;d++)lu(JU[d],c);break;case"source":lu("error",c);break;case"img":case"image":case"link":lu("error",c),lu("load",c);break;case"details":lu("toggle",c);break;case"input":a5t(c,g),lu("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!g.multiple},lu("invalid",c);break;case"textarea":u5t(c,g),lu("invalid",c)}S6e(s,g),d=null;for(var b in g)if(g.hasOwnProperty(b)){var w=g[b];b==="children"?typeof w=="string"?c.textContent!==w&&(g.suppressHydrationWarning!==!0&&sie(c.textContent,w,n),d=["children",w]):typeof w=="number"&&c.textContent!==""+w&&(g.suppressHydrationWarning!==!0&&sie(c.textContent,w,n),d=["children",""+w]):kH.hasOwnProperty(b)&&w!=null&&b==="onScroll"&&lu("scroll",c)}switch(s){case"input":Zre(c),c5t(c,g,!0);break;case"textarea":Zre(c),l5t(c);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(c.onclick=Aoe)}c=d,i.updateQueue=c,c!==null&&(i.flags|=4)}else{b=d.nodeType===9?d:d.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=CBt(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=b.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof c.is=="string"?n=b.createElement(s,{is:c.is}):(n=b.createElement(s),s==="select"&&(b=n,c.multiple?b.multiple=!0:c.size&&(b.size=c.size))):n=b.createElementNS(n,s),n[R2]=i,n[jH]=c,QUt(n,i,!1,!1),i.stateNode=n;e:{switch(b=T6e(s,c),s){case"dialog":lu("cancel",n),lu("close",n),d=c;break;case"iframe":case"object":case"embed":lu("load",n),d=c;break;case"video":case"audio":for(d=0;d<JU.length;d++)lu(JU[d],n);d=c;break;case"source":lu("error",n),d=c;break;case"img":case"image":case"link":lu("error",n),lu("load",n),d=c;break;case"details":lu("toggle",n),d=c;break;case"input":a5t(n,c),d=m6e(n,c),lu("invalid",n);break;case"option":d=c;break;case"select":n._wrapperState={wasMultiple:!!c.multiple},d=fl({},c,{value:void 0}),lu("invalid",n);break;case"textarea":u5t(n,c),d=v6e(n,c),lu("invalid",n);break;default:d=c}S6e(s,d),w=d;for(g in w)if(w.hasOwnProperty(g)){var E=w[g];g==="style"?OBt(n,E):g==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&IBt(n,E)):g==="children"?typeof E=="string"?(s!=="textarea"||E!=="")&&NH(n,E):typeof E=="number"&&NH(n,""+E):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(kH.hasOwnProperty(g)?E!=null&&g==="onScroll"&&lu("scroll",n):E!=null&&jLe(n,g,E,b))}switch(s){case"input":Zre(n),c5t(n,c,!1);break;case"textarea":Zre(n),l5t(n);break;case"option":c.value!=null&&n.setAttribute("value",""+nN(c.value));break;case"select":n.multiple=!!c.multiple,g=c.value,g!=null?J5(n,!!c.multiple,g,!1):c.defaultValue!=null&&J5(n,!!c.multiple,c.defaultValue,!0);break;default:typeof d.onClick=="function"&&(n.onclick=Aoe)}switch(s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return jp(i),null;case 6:if(n&&i.stateNode!=null)tHt(n,i,n.memoizedProps,c);else{if(typeof c!="string"&&i.stateNode===null)throw Error(or(166));if(s=X4($H.current),X4(j2.current),aie(i)){if(c=i.stateNode,s=i.memoizedProps,c[R2]=i,(g=c.nodeValue!==s)&&(n=Bm,n!==null))switch(n.tag){case 3:sie(c.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&sie(c.nodeValue,s,(n.mode&1)!==0)}g&&(i.flags|=4)}else c=(s.nodeType===9?s:s.ownerDocument).createTextNode(c),c[R2]=i,i.stateNode=c}return jp(i),null;case 13:if(du(ul),c=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Du&&Fm!==null&&i.mode&1&&!(i.flags&128))yUt(),pM(),i.flags|=98560,g=!1;else if(g=aie(i),c!==null&&c.dehydrated!==null){if(n===null){if(!g)throw Error(or(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(or(317));g[R2]=i}else pM(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;jp(i),g=!1}else Rv!==null&&(rDe(Rv),Rv=null),g=!0;if(!g)return i.flags&65536?i:null}return i.flags&128?(i.lanes=s,i):(c=c!==null,c!==(n!==null&&n.memoizedState!==null)&&c&&(i.child.flags|=8192,i.mode&1&&(n===null||ul.current&1?Sf===0&&(Sf=3):y5e())),i.updateQueue!==null&&(i.flags|=4),jp(i),null);case 4:return bM(),Y6e(n,i),n===null&&MH(i.stateNode.containerInfo),jp(i),null;case 10:return n5e(i.type._context),jp(i),null;case 17:return db(i.type)&&_oe(),jp(i),null;case 19:if(du(ul),g=i.memoizedState,g===null)return jp(i),null;if(c=(i.flags&128)!==0,b=g.rendering,b===null)if(c)PU(g,!1);else{if(Sf!==0||n!==null&&n.flags&128)for(n=i.child;n!==null;){if(b=Ooe(n),b!==null){for(i.flags|=128,PU(g,!1),c=b.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),i.subtreeFlags=0,c=s,s=i.child;s!==null;)g=s,n=c,g.flags&=14680066,b=g.alternate,b===null?(g.childLanes=0,g.lanes=n,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=b.childLanes,g.lanes=b.lanes,g.child=b.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=b.memoizedProps,g.memoizedState=b.memoizedState,g.updateQueue=b.updateQueue,g.type=b.type,n=b.dependencies,g.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),s=s.sibling;return Wc(ul,ul.current&1|2),i.child}n=n.sibling}g.tail!==null&&pd()>wM&&(i.flags|=128,c=!0,PU(g,!1),i.lanes=4194304)}else{if(!c)if(n=Ooe(b),n!==null){if(i.flags|=128,c=!0,s=n.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),PU(g,!0),g.tail===null&&g.tailMode==="hidden"&&!b.alternate&&!Du)return jp(i),null}else 2*pd()-g.renderingStartTime>wM&&s!==1073741824&&(i.flags|=128,c=!0,PU(g,!1),i.lanes=4194304);g.isBackwards?(b.sibling=i.child,i.child=b):(s=g.last,s!==null?s.sibling=b:i.child=b,g.last=b)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=pd(),i.sibling=null,s=ul.current,Wc(ul,c?s&1|2:s&1),i):(jp(i),null);case 22:case 23:return w5e(),c=i.memoizedState!==null,n!==null&&n.memoizedState!==null!==c&&(i.flags|=8192),c&&i.mode&1?Lm&1073741824&&(jp(i),i.subtreeFlags&6&&(i.flags|=8192)):jp(i),null;case 24:return null;case 25:return null}throw Error(or(156,i.tag))}function j4n(n,i){switch(ZLe(i),i.tag){case 1:return db(i.type)&&_oe(),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return bM(),du(lb),du(Bp),a5e(),n=i.flags,n&65536&&!(n&128)?(i.flags=n&-65537|128,i):null;case 5:return s5e(i),null;case 13:if(du(ul),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(or(340));pM()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return du(ul),null;case 4:return bM(),null;case 10:return n5e(i.type._context),null;case 22:case 23:return w5e(),null;case 24:return null;default:return null}}var lie=!1,Fp=!1,F4n=typeof WeakSet=="function"?WeakSet:Set,Vr=null;function U5(n,i){var s=n.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(c){jl(n,i,c)}else s.current=null}function J6e(n,i,s){try{s()}catch(c){jl(n,i,c)}}var Q5t=!1;function $4n(n,i){if(D6e=Eoe,n=sUt(),JLe(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var d=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{s.nodeType,g.nodeType}catch{s=null;break e}var b=0,w=-1,E=-1,S=0,_=0,A=n,C=null;t:for(;;){for(var O;A!==s||d!==0&&A.nodeType!==3||(w=b+d),A!==g||c!==0&&A.nodeType!==3||(E=b+c),A.nodeType===3&&(b+=A.nodeValue.length),(O=A.firstChild)!==null;)C=A,A=O;for(;;){if(A===n)break t;if(C===s&&++S===d&&(w=b),C===g&&++_===c&&(E=b),(O=A.nextSibling)!==null)break;A=C,C=A.parentNode}A=O}s=w===-1||E===-1?null:{start:w,end:E}}else s=null}s=s||{start:0,end:0}}else s=null;for(L6e={focusedElem:n,selectionRange:s},Eoe=!1,Vr=i;Vr!==null;)if(i=Vr,n=i.child,(i.subtreeFlags&1028)!==0&&n!==null)n.return=i,Vr=n;else for(;Vr!==null;){i=Vr;try{var L=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(L!==null){var D=L.memoizedProps,B=L.memoizedState,$=i.stateNode,P=$.getSnapshotBeforeUpdate(i.elementType===i.type?D:Nv(i.type,D),B);$.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var j=i.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(or(163))}}catch(z){jl(i,i.return,z)}if(n=i.sibling,n!==null){n.return=i.return,Vr=n;break}Vr=i.return}return L=Q5t,Q5t=!1,L}function pH(n,i,s){var c=i.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var d=c=c.next;do{if((d.tag&n)===n){var g=d.destroy;d.destroy=void 0,g!==void 0&&J6e(i,s,g)}d=d.next}while(d!==c)}}function Bse(n,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&n)===n){var c=s.create;s.destroy=c()}s=s.next}while(s!==i)}}function X6e(n){var i=n.ref;if(i!==null){var s=n.stateNode;switch(n.tag){case 5:n=s;break;default:n=s}typeof i=="function"?i(n):i.current=n}}function nHt(n){var i=n.alternate;i!==null&&(n.alternate=null,nHt(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&(delete i[R2],delete i[jH],delete i[j6e],delete i[E4n],delete i[S4n])),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 rHt(n){return n.tag===5||n.tag===3||n.tag===4}function eMt(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||rHt(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 Z6e(n,i,s){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(n,i):s.insertBefore(n,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(n,s)):(i=s,i.appendChild(n)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Aoe));else if(c!==4&&(n=n.child,n!==null))for(Z6e(n,i,s),n=n.sibling;n!==null;)Z6e(n,i,s),n=n.sibling}function Q6e(n,i,s){var c=n.tag;if(c===5||c===6)n=n.stateNode,i?s.insertBefore(n,i):s.appendChild(n);else if(c!==4&&(n=n.child,n!==null))for(Q6e(n,i,s),n=n.sibling;n!==null;)Q6e(n,i,s),n=n.sibling}var Ph=null,Cv=!1;function Nk(n,i,s){for(s=s.child;s!==null;)iHt(n,i,s),s=s.sibling}function iHt(n,i,s){if(P2&&typeof P2.onCommitFiberUnmount=="function")try{P2.onCommitFiberUnmount(Ose,s)}catch{}switch(s.tag){case 5:Fp||U5(s,i);case 6:var c=Ph,d=Cv;Ph=null,Nk(n,i,s),Ph=c,Cv=d,Ph!==null&&(Cv?(n=Ph,s=s.stateNode,n.nodeType===8?n.parentNode.removeChild(s):n.removeChild(s)):Ph.removeChild(s.stateNode));break;case 18:Ph!==null&&(Cv?(n=Ph,s=s.stateNode,n.nodeType===8?_Ce(n.parentNode,s):n.nodeType===1&&_Ce(n,s),OH(n)):_Ce(Ph,s.stateNode));break;case 4:c=Ph,d=Cv,Ph=s.stateNode.containerInfo,Cv=!0,Nk(n,i,s),Ph=c,Cv=d;break;case 0:case 11:case 14:case 15:if(!Fp&&(c=s.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){d=c=c.next;do{var g=d,b=g.destroy;g=g.tag,b!==void 0&&(g&2||g&4)&&J6e(s,i,b),d=d.next}while(d!==c)}Nk(n,i,s);break;case 1:if(!Fp&&(U5(s,i),c=s.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=s.memoizedProps,c.state=s.memoizedState,c.componentWillUnmount()}catch(w){jl(s,i,w)}Nk(n,i,s);break;case 21:Nk(n,i,s);break;case 22:s.mode&1?(Fp=(c=Fp)||s.memoizedState!==null,Nk(n,i,s),Fp=c):Nk(n,i,s);break;default:Nk(n,i,s)}}function tMt(n){var i=n.updateQueue;if(i!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new F4n),i.forEach(function(c){var d=K4n.bind(null,n,c);s.has(c)||(s.add(c),c.then(d,d))})}}function xv(n,i){var s=i.deletions;if(s!==null)for(var c=0;c<s.length;c++){var d=s[c];try{var g=n,b=i,w=b;e:for(;w!==null;){switch(w.tag){case 5:Ph=w.stateNode,Cv=!1;break e;case 3:Ph=w.stateNode.containerInfo,Cv=!0;break e;case 4:Ph=w.stateNode.containerInfo,Cv=!0;break e}w=w.return}if(Ph===null)throw Error(or(160));iHt(g,b,d),Ph=null,Cv=!1;var E=d.alternate;E!==null&&(E.return=null),d.return=null}catch(S){jl(d,i,S)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)oHt(i,n),i=i.sibling}function oHt(n,i){var s=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(xv(i,n),_2(n),c&4){try{pH(3,n,n.return),Bse(3,n)}catch(D){jl(n,n.return,D)}try{pH(5,n,n.return)}catch(D){jl(n,n.return,D)}}break;case 1:xv(i,n),_2(n),c&512&&s!==null&&U5(s,s.return);break;case 5:if(xv(i,n),_2(n),c&512&&s!==null&&U5(s,s.return),n.flags&32){var d=n.stateNode;try{NH(d,"")}catch(D){jl(n,n.return,D)}}if(c&4&&(d=n.stateNode,d!=null)){var g=n.memoizedProps,b=s!==null?s.memoizedProps:g,w=n.type,E=n.updateQueue;if(n.updateQueue=null,E!==null)try{w==="input"&&g.type==="radio"&&g.name!=null&&kBt(d,g),T6e(w,b);var S=T6e(w,g);for(b=0;b<E.length;b+=2){var _=E[b],A=E[b+1];_==="style"?OBt(d,A):_==="dangerouslySetInnerHTML"?IBt(d,A):_==="children"?NH(d,A):jLe(d,_,A,S)}switch(w){case"input":w6e(d,g);break;case"textarea":NBt(d,g);break;case"select":var C=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!g.multiple;var O=g.value;O!=null?J5(d,!!g.multiple,O,!1):C!==!!g.multiple&&(g.defaultValue!=null?J5(d,!!g.multiple,g.defaultValue,!0):J5(d,!!g.multiple,g.multiple?[]:"",!1))}d[jH]=g}catch(D){jl(n,n.return,D)}}break;case 6:if(xv(i,n),_2(n),c&4){if(n.stateNode===null)throw Error(or(162));d=n.stateNode,g=n.memoizedProps;try{d.nodeValue=g}catch(D){jl(n,n.return,D)}}break;case 3:if(xv(i,n),_2(n),c&4&&s!==null&&s.memoizedState.isDehydrated)try{OH(i.containerInfo)}catch(D){jl(n,n.return,D)}break;case 4:xv(i,n),_2(n);break;case 13:xv(i,n),_2(n),d=n.child,d.flags&8192&&(g=d.memoizedState!==null,d.stateNode.isHidden=g,!g||d.alternate!==null&&d.alternate.memoizedState!==null||(b5e=pd())),c&4&&tMt(n);break;case 22:if(_=s!==null&&s.memoizedState!==null,n.mode&1?(Fp=(S=Fp)||_,xv(i,n),Fp=S):xv(i,n),_2(n),c&8192){if(S=n.memoizedState!==null,(n.stateNode.isHidden=S)&&!_&&n.mode&1)for(Vr=n,_=n.child;_!==null;){for(A=Vr=_;Vr!==null;){switch(C=Vr,O=C.child,C.tag){case 0:case 11:case 14:case 15:pH(4,C,C.return);break;case 1:U5(C,C.return);var L=C.stateNode;if(typeof L.componentWillUnmount=="function"){c=C,s=C.return;try{i=c,L.props=i.memoizedProps,L.state=i.memoizedState,L.componentWillUnmount()}catch(D){jl(c,s,D)}}break;case 5:U5(C,C.return);break;case 22:if(C.memoizedState!==null){rMt(A);continue}}O!==null?(O.return=C,Vr=O):rMt(A)}_=_.sibling}e:for(_=null,A=n;;){if(A.tag===5){if(_===null){_=A;try{d=A.stateNode,S?(g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(w=A.stateNode,E=A.memoizedProps.style,b=E!=null&&E.hasOwnProperty("display")?E.display:null,w.style.display=RBt("display",b))}catch(D){jl(n,n.return,D)}}}else if(A.tag===6){if(_===null)try{A.stateNode.nodeValue=S?"":A.memoizedProps}catch(D){jl(n,n.return,D)}}else if((A.tag!==22&&A.tag!==23||A.memoizedState===null||A===n)&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===n)break e;for(;A.sibling===null;){if(A.return===null||A.return===n)break e;_===A&&(_=null),A=A.return}_===A&&(_=null),A.sibling.return=A.return,A=A.sibling}}break;case 19:xv(i,n),_2(n),c&4&&tMt(n);break;case 21:break;default:xv(i,n),_2(n)}}function _2(n){var i=n.flags;if(i&2){try{e:{for(var s=n.return;s!==null;){if(rHt(s)){var c=s;break e}s=s.return}throw Error(or(160))}switch(c.tag){case 5:var d=c.stateNode;c.flags&32&&(NH(d,""),c.flags&=-33);var g=eMt(n);Q6e(n,g,d);break;case 3:case 4:var b=c.stateNode.containerInfo,w=eMt(n);Z6e(n,w,b);break;default:throw Error(or(161))}}catch(E){jl(n,n.return,E)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function B4n(n,i,s){Vr=n,sHt(n)}function sHt(n,i,s){for(var c=(n.mode&1)!==0;Vr!==null;){var d=Vr,g=d.child;if(d.tag===22&&c){var b=d.memoizedState!==null||lie;if(!b){var w=d.alternate,E=w!==null&&w.memoizedState!==null||Fp;w=lie;var S=Fp;if(lie=b,(Fp=E)&&!S)for(Vr=d;Vr!==null;)b=Vr,E=b.child,b.tag===22&&b.memoizedState!==null?iMt(d):E!==null?(E.return=b,Vr=E):iMt(d);for(;g!==null;)Vr=g,sHt(g),g=g.sibling;Vr=d,lie=w,Fp=S}nMt(n)}else d.subtreeFlags&8772&&g!==null?(g.return=d,Vr=g):nMt(n)}}function nMt(n){for(;Vr!==null;){var i=Vr;if(i.flags&8772){var s=i.alternate;try{if(i.flags&8772)switch(i.tag){case 0:case 11:case 15:Fp||Bse(5,i);break;case 1:var c=i.stateNode;if(i.flags&4&&!Fp)if(s===null)c.componentDidMount();else{var d=i.elementType===i.type?s.memoizedProps:Nv(i.type,s.memoizedProps);c.componentDidUpdate(d,s.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&B5t(i,g,c);break;case 3:var b=i.updateQueue;if(b!==null){if(s=null,i.child!==null)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}B5t(i,b,s)}break;case 5:var w=i.stateNode;if(s===null&&i.flags&4){s=w;var E=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&s.focus();break;case"img":E.src&&(s.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var S=i.alternate;if(S!==null){var _=S.memoizedState;if(_!==null){var A=_.dehydrated;A!==null&&OH(A)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(or(163))}Fp||i.flags&512&&X6e(i)}catch(C){jl(i,i.return,C)}}if(i===n){Vr=null;break}if(s=i.sibling,s!==null){s.return=i.return,Vr=s;break}Vr=i.return}}function rMt(n){for(;Vr!==null;){var i=Vr;if(i===n){Vr=null;break}var s=i.sibling;if(s!==null){s.return=i.return,Vr=s;break}Vr=i.return}}function iMt(n){for(;Vr!==null;){var i=Vr;try{switch(i.tag){case 0:case 11:case 15:var s=i.return;try{Bse(4,i)}catch(E){jl(i,s,E)}break;case 1:var c=i.stateNode;if(typeof c.componentDidMount=="function"){var d=i.return;try{c.componentDidMount()}catch(E){jl(i,d,E)}}var g=i.return;try{X6e(i)}catch(E){jl(i,g,E)}break;case 5:var b=i.return;try{X6e(i)}catch(E){jl(i,b,E)}}}catch(E){jl(i,i.return,E)}if(i===n){Vr=null;break}var w=i.sibling;if(w!==null){w.return=i.return,Vr=w;break}Vr=i.return}}var U4n=Math.ceil,Moe=AA.ReactCurrentDispatcher,p5e=AA.ReactCurrentOwner,Ew=AA.ReactCurrentBatchConfig,ga=0,rh=null,Fd=null,Fh=0,Lm=0,H5=wN(0),Sf=0,zH=null,cR=0,Use=0,g5e=0,gH=null,ib=null,b5e=0,wM=1/0,iA=null,Poe=!1,eDe=null,Xk=null,die=!1,Gk=null,joe=0,bH=0,tDe=null,Xie=-1,Zie=0;function Hg(){return ga&6?pd():Xie!==-1?Xie:Xie=pd()}function Zk(n){return n.mode&1?ga&2&&Fh!==0?Fh&-Fh:A4n.transition!==null?(Zie===0&&(Zie=GBt()),Zie):(n=uc,n!==0||(n=window.event,n=n===void 0?16:XBt(n.type)),n):1}function Pv(n,i,s,c){if(50<bH)throw bH=0,tDe=null,Error(or(185));wz(n,s,c),(!(ga&2)||n!==rh)&&(n===rh&&(!(ga&2)&&(Use|=s),Sf===4&&$k(n,Fh)),fb(n,c),s===1&&ga===0&&!(i.mode&1)&&(wM=pd()+500,jse&&yN()))}function fb(n,i){var s=n.callbackNode;AIn(n,i);var c=voe(n,n===rh?Fh:0);if(c===0)s!==null&&h5t(s),n.callbackNode=null,n.callbackPriority=0;else if(i=c&-c,n.callbackPriority!==i){if(s!=null&&h5t(s),i===1)n.tag===0?T4n(oMt.bind(null,n)):bUt(oMt.bind(null,n)),y4n(function(){!(ga&6)&&yN()}),s=null;else{switch(qBt(c)){case 1:s=HLe;break;case 4:s=HBt;break;case 16:s=yoe;break;case 536870912:s=zBt;break;default:s=yoe}s=pHt(s,aHt.bind(null,n))}n.callbackPriority=i,n.callbackNode=s}}function aHt(n,i){if(Xie=-1,Zie=0,ga&6)throw Error(or(327));var s=n.callbackNode;if(tM()&&n.callbackNode!==s)return null;var c=voe(n,n===rh?Fh:0);if(c===0)return null;if(c&30||c&n.expiredLanes||i)i=Foe(n,c);else{i=c;var d=ga;ga|=2;var g=uHt();(rh!==n||Fh!==i)&&(iA=null,wM=pd()+500,Q4(n,i));do try{G4n();break}catch(w){cHt(n,w)}while(!0);t5e(),Moe.current=g,ga=d,Fd!==null?i=0:(rh=null,Fh=0,i=Sf)}if(i!==0){if(i===2&&(d=N6e(n),d!==0&&(c=d,i=nDe(n,d))),i===1)throw s=zH,Q4(n,0),$k(n,c),fb(n,pd()),s;if(i===6)$k(n,c);else{if(d=n.current.alternate,!(c&30)&&!H4n(d)&&(i=Foe(n,c),i===2&&(g=N6e(n),g!==0&&(c=g,i=nDe(n,g))),i===1))throw s=zH,Q4(n,0),$k(n,c),fb(n,pd()),s;switch(n.finishedWork=d,n.finishedLanes=c,i){case 0:case 1:throw Error(or(345));case 2:V4(n,ib,iA);break;case 3:if($k(n,c),(c&130023424)===c&&(i=b5e+500-pd(),10<i)){if(voe(n,0)!==0)break;if(d=n.suspendedLanes,(d&c)!==c){Hg(),n.pingedLanes|=n.suspendedLanes&d;break}n.timeoutHandle=P6e(V4.bind(null,n,ib,iA),i);break}V4(n,ib,iA);break;case 4:if($k(n,c),(c&4194240)===c)break;for(i=n.eventTimes,d=-1;0<c;){var b=31-Mv(c);g=1<<b,b=i[b],b>d&&(d=b),c&=~g}if(c=d,c=pd()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*U4n(c/1960))-c,10<c){n.timeoutHandle=P6e(V4.bind(null,n,ib,iA),c);break}V4(n,ib,iA);break;case 5:V4(n,ib,iA);break;default:throw Error(or(329))}}}return fb(n,pd()),n.callbackNode===s?aHt.bind(null,n):null}function nDe(n,i){var s=gH;return n.current.memoizedState.isDehydrated&&(Q4(n,i).flags|=256),n=Foe(n,i),n!==2&&(i=ib,ib=s,i!==null&&rDe(i)),n}function rDe(n){ib===null?ib=n:ib.push.apply(ib,n)}function H4n(n){for(var i=n;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var c=0;c<s.length;c++){var d=s[c],g=d.getSnapshot;d=d.value;try{if(!jv(g(),d))return!1}catch{return!1}}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function $k(n,i){for(i&=~g5e,i&=~Use,n.suspendedLanes|=i,n.pingedLanes&=~i,n=n.expirationTimes;0<i;){var s=31-Mv(i),c=1<<s;n[s]=-1,i&=~c}}function oMt(n){if(ga&6)throw Error(or(327));tM();var i=voe(n,0);if(!(i&1))return fb(n,pd()),null;var s=Foe(n,i);if(n.tag!==0&&s===2){var c=N6e(n);c!==0&&(i=c,s=nDe(n,c))}if(s===1)throw s=zH,Q4(n,0),$k(n,i),fb(n,pd()),s;if(s===6)throw Error(or(345));return n.finishedWork=n.current.alternate,n.finishedLanes=i,V4(n,ib,iA),fb(n,pd()),null}function m5e(n,i){var s=ga;ga|=1;try{return n(i)}finally{ga=s,ga===0&&(wM=pd()+500,jse&&yN())}}function uR(n){Gk!==null&&Gk.tag===0&&!(ga&6)&&tM();var i=ga;ga|=1;var s=Ew.transition,c=uc;try{if(Ew.transition=null,uc=1,n)return n()}finally{uc=c,Ew.transition=s,ga=i,!(ga&6)&&yN()}}function w5e(){Lm=H5.current,du(H5)}function Q4(n,i){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,w4n(s)),Fd!==null)for(s=Fd.return;s!==null;){var c=s;switch(ZLe(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&_oe();break;case 3:bM(),du(lb),du(Bp),a5e();break;case 5:s5e(c);break;case 4:bM();break;case 13:du(ul);break;case 19:du(ul);break;case 10:n5e(c.type._context);break;case 22:case 23:w5e()}s=s.return}if(rh=n,Fd=n=Qk(n.current,null),Fh=Lm=i,Sf=0,zH=null,g5e=Use=cR=0,ib=gH=null,J4!==null){for(i=0;i<J4.length;i++)if(s=J4[i],c=s.interleaved,c!==null){s.interleaved=null;var d=c.next,g=s.pending;if(g!==null){var b=g.next;g.next=d,c.next=b}s.pending=c}J4=null}return n}function cHt(n,i){do{var s=Fd;try{if(t5e(),Kie.current=Loe,Doe){for(var c=dl.memoizedState;c!==null;){var d=c.queue;d!==null&&(d.pending=null),c=c.next}Doe=!1}if(aR=0,th=wf=dl=null,hH=!1,BH=0,p5e.current=null,s===null||s.return===null){Sf=1,zH=i,Fd=null;break}e:{var g=n,b=s.return,w=s,E=i;if(i=Fh,w.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var S=E,_=w,A=_.tag;if(!(_.mode&1)&&(A===0||A===11||A===15)){var C=_.alternate;C?(_.updateQueue=C.updateQueue,_.memoizedState=C.memoizedState,_.lanes=C.lanes):(_.updateQueue=null,_.memoizedState=null)}var O=V5t(b);if(O!==null){O.flags&=-257,W5t(O,b,w,g,i),O.mode&1&&q5t(g,S,i),i=O,E=S;var L=i.updateQueue;if(L===null){var D=new Set;D.add(E),i.updateQueue=D}else L.add(E);break e}else{if(!(i&1)){q5t(g,S,i),y5e();break e}E=Error(or(426))}}else if(Du&&w.mode&1){var B=V5t(b);if(B!==null){!(B.flags&65536)&&(B.flags|=256),W5t(B,b,w,g,i),QLe(mM(E,w));break e}}g=E=mM(E,w),Sf!==4&&(Sf=2),gH===null?gH=[g]:gH.push(g),g=b;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var $=qUt(g,E,i);$5t(g,$);break e;case 1:w=E;var P=g.type,j=g.stateNode;if(!(g.flags&128)&&(typeof P.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(Xk===null||!Xk.has(j)))){g.flags|=65536,i&=-i,g.lanes|=i;var z=VUt(g,w,i);$5t(g,z);break e}}g=g.return}while(g!==null)}dHt(s)}catch(ee){i=ee,Fd===s&&s!==null&&(Fd=s=s.return);continue}break}while(!0)}function uHt(){var n=Moe.current;return Moe.current=Loe,n===null?Loe:n}function y5e(){(Sf===0||Sf===3||Sf===2)&&(Sf=4),rh===null||!(cR&268435455)&&!(Use&268435455)||$k(rh,Fh)}function Foe(n,i){var s=ga;ga|=2;var c=uHt();(rh!==n||Fh!==i)&&(iA=null,Q4(n,i));do try{z4n();break}catch(d){cHt(n,d)}while(!0);if(t5e(),ga=s,Moe.current=c,Fd!==null)throw Error(or(261));return rh=null,Fh=0,Sf}function z4n(){for(;Fd!==null;)lHt(Fd)}function G4n(){for(;Fd!==null&&!gIn();)lHt(Fd)}function lHt(n){var i=hHt(n.alternate,n,Lm);n.memoizedProps=n.pendingProps,i===null?dHt(n):Fd=i,p5e.current=null}function dHt(n){var i=n;do{var s=i.alternate;if(n=i.return,i.flags&32768){if(s=j4n(s,i),s!==null){s.flags&=32767,Fd=s;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{Sf=6,Fd=null;return}}else if(s=P4n(s,i,Lm),s!==null){Fd=s;return}if(i=i.sibling,i!==null){Fd=i;return}Fd=i=n}while(i!==null);Sf===0&&(Sf=5)}function V4(n,i,s){var c=uc,d=Ew.transition;try{Ew.transition=null,uc=1,q4n(n,i,s,c)}finally{Ew.transition=d,uc=c}return null}function q4n(n,i,s,c){do tM();while(Gk!==null);if(ga&6)throw Error(or(327));s=n.finishedWork;var d=n.finishedLanes;if(s===null)return null;if(n.finishedWork=null,n.finishedLanes=0,s===n.current)throw Error(or(177));n.callbackNode=null,n.callbackPriority=0;var g=s.lanes|s.childLanes;if(_In(n,g),n===rh&&(Fd=rh=null,Fh=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||die||(die=!0,pHt(yoe,function(){return tM(),null})),g=(s.flags&15990)!==0,s.subtreeFlags&15990||g){g=Ew.transition,Ew.transition=null;var b=uc;uc=1;var w=ga;ga|=4,p5e.current=null,$4n(n,s),oHt(s,n),d4n(L6e),Eoe=!!D6e,L6e=D6e=null,n.current=s,B4n(s),bIn(),ga=w,uc=b,Ew.transition=g}else n.current=s;if(die&&(die=!1,Gk=n,joe=d),g=n.pendingLanes,g===0&&(Xk=null),yIn(s.stateNode),fb(n,pd()),i!==null)for(c=n.onRecoverableError,s=0;s<i.length;s++)d=i[s],c(d.value,{componentStack:d.stack,digest:d.digest});if(Poe)throw Poe=!1,n=eDe,eDe=null,n;return joe&1&&n.tag!==0&&tM(),g=n.pendingLanes,g&1?n===tDe?bH++:(bH=0,tDe=n):bH=0,yN(),null}function tM(){if(Gk!==null){var n=qBt(joe),i=Ew.transition,s=uc;try{if(Ew.transition=null,uc=16>n?16:n,Gk===null)var c=!1;else{if(n=Gk,Gk=null,joe=0,ga&6)throw Error(or(331));var d=ga;for(ga|=4,Vr=n.current;Vr!==null;){var g=Vr,b=g.child;if(Vr.flags&16){var w=g.deletions;if(w!==null){for(var E=0;E<w.length;E++){var S=w[E];for(Vr=S;Vr!==null;){var _=Vr;switch(_.tag){case 0:case 11:case 15:pH(8,_,g)}var A=_.child;if(A!==null)A.return=_,Vr=A;else for(;Vr!==null;){_=Vr;var C=_.sibling,O=_.return;if(nHt(_),_===S){Vr=null;break}if(C!==null){C.return=O,Vr=C;break}Vr=O}}}var L=g.alternate;if(L!==null){var D=L.child;if(D!==null){L.child=null;do{var B=D.sibling;D.sibling=null,D=B}while(D!==null)}}Vr=g}}if(g.subtreeFlags&2064&&b!==null)b.return=g,Vr=b;else e:for(;Vr!==null;){if(g=Vr,g.flags&2048)switch(g.tag){case 0:case 11:case 15:pH(9,g,g.return)}var $=g.sibling;if($!==null){$.return=g.return,Vr=$;break e}Vr=g.return}}var P=n.current;for(Vr=P;Vr!==null;){b=Vr;var j=b.child;if(b.subtreeFlags&2064&&j!==null)j.return=b,Vr=j;else e:for(b=P;Vr!==null;){if(w=Vr,w.flags&2048)try{switch(w.tag){case 0:case 11:case 15:Bse(9,w)}}catch(ee){jl(w,w.return,ee)}if(w===b){Vr=null;break e}var z=w.sibling;if(z!==null){z.return=w.return,Vr=z;break e}Vr=w.return}}if(ga=d,yN(),P2&&typeof P2.onPostCommitFiberRoot=="function")try{P2.onPostCommitFiberRoot(Ose,n)}catch{}c=!0}return c}finally{uc=s,Ew.transition=i}}return!1}function sMt(n,i,s){i=mM(s,i),i=qUt(n,i,1),n=Jk(n,i,1),i=Hg(),n!==null&&(wz(n,1,i),fb(n,i))}function jl(n,i,s){if(n.tag===3)sMt(n,n,s);else for(;i!==null;){if(i.tag===3){sMt(i,n,s);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Xk===null||!Xk.has(c))){n=mM(s,n),n=VUt(i,n,1),i=Jk(i,n,1),n=Hg(),i!==null&&(wz(i,1,n),fb(i,n));break}}i=i.return}}function V4n(n,i,s){var c=n.pingCache;c!==null&&c.delete(i),i=Hg(),n.pingedLanes|=n.suspendedLanes&s,rh===n&&(Fh&s)===s&&(Sf===4||Sf===3&&(Fh&130023424)===Fh&&500>pd()-b5e?Q4(n,0):g5e|=s),fb(n,i)}function fHt(n,i){i===0&&(n.mode&1?(i=tie,tie<<=1,!(tie&130023424)&&(tie=4194304)):i=1);var s=Hg();n=mA(n,i),n!==null&&(wz(n,i,s),fb(n,s))}function W4n(n){var i=n.memoizedState,s=0;i!==null&&(s=i.retryLane),fHt(n,s)}function K4n(n,i){var s=0;switch(n.tag){case 13:var c=n.stateNode,d=n.memoizedState;d!==null&&(s=d.retryLane);break;case 19:c=n.stateNode;break;default:throw Error(or(314))}c!==null&&c.delete(i),fHt(n,s)}var hHt;hHt=function(n,i,s){if(n!==null)if(n.memoizedProps!==i.pendingProps||lb.current)ab=!0;else{if(!(n.lanes&s)&&!(i.flags&128))return ab=!1,M4n(n,i,s);ab=!!(n.flags&131072)}else ab=!1,Du&&i.flags&1048576&&mUt(i,Noe,i.index);switch(i.lanes=0,i.tag){case 2:var c=i.type;Jie(n,i),n=i.pendingProps;var d=hM(i,Bp.current);eM(i,s),d=u5e(null,i,c,n,d,s);var g=l5e();return i.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,db(c)?(g=!0,xoe(i)):g=!1,i.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,i5e(i),d.updater=$se,i.stateNode=d,d._reactInternals=i,z6e(i,c,n,s),i=V6e(null,i,c,!0,g,s)):(i.tag=0,Du&&g&&XLe(i),Bg(null,i,d,s),i=i.child),i;case 16:c=i.elementType;e:{switch(Jie(n,i),n=i.pendingProps,d=c._init,c=d(c._payload),i.type=c,d=i.tag=J4n(c),n=Nv(c,n),d){case 0:i=q6e(null,i,c,n,s);break e;case 1:i=J5t(null,i,c,n,s);break e;case 11:i=K5t(null,i,c,n,s);break e;case 14:i=Y5t(null,i,c,Nv(c.type,n),s);break e}throw Error(or(306,c,""))}return i;case 0:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:Nv(c,d),q6e(n,i,c,d,s);case 1:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:Nv(c,d),J5t(n,i,c,d,s);case 3:e:{if(JUt(i),n===null)throw Error(or(387));c=i.pendingProps,g=i.memoizedState,d=g.element,TUt(n,i),Roe(i,c,null,s);var b=i.memoizedState;if(c=b.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){d=mM(Error(or(423)),i),i=X5t(n,i,c,s,d);break e}else if(c!==d){d=mM(Error(or(424)),i),i=X5t(n,i,c,s,d);break e}else for(Fm=Yk(i.stateNode.containerInfo.firstChild),Bm=i,Du=!0,Rv=null,s=EUt(i,null,c,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(pM(),c===d){i=wA(n,i,s);break e}Bg(n,i,c,s)}i=i.child}return i;case 5:return AUt(i),n===null&&B6e(i),c=i.type,d=i.pendingProps,g=n!==null?n.memoizedProps:null,b=d.children,M6e(c,d)?b=null:g!==null&&M6e(c,g)&&(i.flags|=32),YUt(n,i),Bg(n,i,b,s),i.child;case 6:return n===null&&B6e(i),null;case 13:return XUt(n,i,s);case 4:return o5e(i,i.stateNode.containerInfo),c=i.pendingProps,n===null?i.child=gM(i,null,c,s):Bg(n,i,c,s),i.child;case 11:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:Nv(c,d),K5t(n,i,c,d,s);case 7:return Bg(n,i,i.pendingProps,s),i.child;case 8:return Bg(n,i,i.pendingProps.children,s),i.child;case 12:return Bg(n,i,i.pendingProps.children,s),i.child;case 10:e:{if(c=i.type._context,d=i.pendingProps,g=i.memoizedProps,b=d.value,Wc(Coe,c._currentValue),c._currentValue=b,g!==null)if(jv(g.value,b)){if(g.children===d.children&&!lb.current){i=wA(n,i,s);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var w=g.dependencies;if(w!==null){b=g.child;for(var E=w.firstContext;E!==null;){if(E.context===c){if(g.tag===1){E=hA(-1,s&-s),E.tag=2;var S=g.updateQueue;if(S!==null){S=S.shared;var _=S.pending;_===null?E.next=E:(E.next=_.next,_.next=E),S.pending=E}}g.lanes|=s,E=g.alternate,E!==null&&(E.lanes|=s),U6e(g.return,s,i),w.lanes|=s;break}E=E.next}}else if(g.tag===10)b=g.type===i.type?null:g.child;else if(g.tag===18){if(b=g.return,b===null)throw Error(or(341));b.lanes|=s,w=b.alternate,w!==null&&(w.lanes|=s),U6e(b,s,i),b=g.sibling}else b=g.child;if(b!==null)b.return=g;else for(b=g;b!==null;){if(b===i){b=null;break}if(g=b.sibling,g!==null){g.return=b.return,b=g;break}b=b.return}g=b}Bg(n,i,d.children,s),i=i.child}return i;case 9:return d=i.type,c=i.pendingProps.children,eM(i,s),d=_w(d),c=c(d),i.flags|=1,Bg(n,i,c,s),i.child;case 14:return c=i.type,d=Nv(c,i.pendingProps),d=Nv(c.type,d),Y5t(n,i,c,d,s);case 15:return WUt(n,i,i.type,i.pendingProps,s);case 17:return c=i.type,d=i.pendingProps,d=i.elementType===c?d:Nv(c,d),Jie(n,i),i.tag=1,db(c)?(n=!0,xoe(i)):n=!1,eM(i,s),GUt(i,c,d),z6e(i,c,d,s),V6e(null,i,c,!0,n,s);case 19:return ZUt(n,i,s);case 22:return KUt(n,i,s)}throw Error(or(156,i.tag))};function pHt(n,i){return UBt(n,i)}function Y4n(n,i,s,c){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vw(n,i,s,c){return new Y4n(n,i,s,c)}function v5e(n){return n=n.prototype,!(!n||!n.isReactComponent)}function J4n(n){if(typeof n=="function")return v5e(n)?1:0;if(n!=null){if(n=n.$$typeof,n===$Le)return 11;if(n===BLe)return 14}return 2}function Qk(n,i){var s=n.alternate;return s===null?(s=vw(n.tag,i,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=i,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&14680064,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,i=n.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s}function Qie(n,i,s,c,d,g){var b=2;if(c=n,typeof n=="function")v5e(n)&&(b=1);else if(typeof n=="string")b=5;else e:switch(n){case O5:return eR(s.children,d,g,i);case FLe:b=8,d|=8;break;case h6e:return n=vw(12,s,i,d|2),n.elementType=h6e,n.lanes=g,n;case p6e:return n=vw(13,s,i,d),n.elementType=p6e,n.lanes=g,n;case g6e:return n=vw(19,s,i,d),n.elementType=g6e,n.lanes=g,n;case ABt:return Hse(s,d,g,i);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case SBt:b=10;break e;case TBt:b=9;break e;case $Le:b=11;break e;case BLe:b=14;break e;case Pk:b=16,c=null;break e}throw Error(or(130,n==null?n:typeof n,""))}return i=vw(b,s,i,d),i.elementType=n,i.type=c,i.lanes=g,i}function eR(n,i,s,c){return n=vw(7,n,c,i),n.lanes=s,n}function Hse(n,i,s,c){return n=vw(22,n,c,i),n.elementType=ABt,n.lanes=s,n.stateNode={isHidden:!1},n}function DCe(n,i,s){return n=vw(6,n,null,i),n.lanes=s,n}function LCe(n,i,s){return i=vw(4,n.children!==null?n.children:[],n.key,i),i.lanes=s,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}function X4n(n,i,s,c,d){this.tag=i,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=pCe(0),this.expirationTimes=pCe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pCe(0),this.identifierPrefix=c,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function E5e(n,i,s,c,d,g,b,w,E){return n=new X4n(n,i,s,w,E),i===1?(i=1,g===!0&&(i|=8)):i=0,g=vw(3,null,null,i),n.current=g,g.stateNode=n,g.memoizedState={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},i5e(g),n}function Z4n(n,i,s){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R5,key:c==null?null:""+c,children:n,containerInfo:i,implementation:s}}function gHt(n){if(!n)return rN;n=n._reactInternals;e:{if(_R(n)!==n||n.tag!==1)throw Error(or(170));var i=n;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(db(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(or(171))}if(n.tag===1){var s=n.type;if(db(s))return gUt(n,s,i)}return i}function bHt(n,i,s,c,d,g,b,w,E){return n=E5e(s,c,!0,n,d,g,b,w,E),n.context=gHt(null),s=n.current,c=Hg(),d=Zk(s),g=hA(c,d),g.callback=i??null,Jk(s,g,d),n.current.lanes=d,wz(n,d,c),fb(n,c),n}function zse(n,i,s,c){var d=i.current,g=Hg(),b=Zk(d);return s=gHt(s),i.context===null?i.context=s:i.pendingContext=s,i=hA(g,b),i.payload={element:n},c=c===void 0?null:c,c!==null&&(i.callback=c),n=Jk(d,i,b),n!==null&&(Pv(n,d,b,g),Wie(n,d,b)),b}function $oe(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 aMt(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<i?s:i}}function S5e(n,i){aMt(n,i),(n=n.alternate)&&aMt(n,i)}function Q4n(){return null}var mHt=typeof reportError=="function"?reportError:function(n){console.error(n)};function T5e(n){this._internalRoot=n}Gse.prototype.render=T5e.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(or(409));zse(n,i,null,null)};Gse.prototype.unmount=T5e.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;uR(function(){zse(null,n,null,null)}),i[bA]=null}};function Gse(n){this._internalRoot=n}Gse.prototype.unstable_scheduleHydration=function(n){if(n){var i=KBt();n={blockedOn:null,target:n,priority:i};for(var s=0;s<Fk.length&&i!==0&&i<Fk[s].priority;s++);Fk.splice(s,0,n),s===0&&JBt(n)}};function A5e(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function qse(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function cMt(){}function eRn(n,i,s,c,d){if(d){if(typeof c=="function"){var g=c;c=function(){var S=$oe(b);g.call(S)}}var b=bHt(i,c,n,0,null,!1,!1,"",cMt);return n._reactRootContainer=b,n[bA]=b.current,MH(n.nodeType===8?n.parentNode:n),uR(),b}for(;d=n.lastChild;)n.removeChild(d);if(typeof c=="function"){var w=c;c=function(){var S=$oe(E);w.call(S)}}var E=E5e(n,0,!1,null,null,!1,!1,"",cMt);return n._reactRootContainer=E,n[bA]=E.current,MH(n.nodeType===8?n.parentNode:n),uR(function(){zse(i,E,s,c)}),E}function Vse(n,i,s,c,d){var g=s._reactRootContainer;if(g){var b=g;if(typeof d=="function"){var w=d;d=function(){var E=$oe(b);w.call(E)}}zse(i,b,n,d)}else b=eRn(s,i,n,d,c);return $oe(b)}VBt=function(n){switch(n.tag){case 3:var i=n.stateNode;if(i.current.memoizedState.isDehydrated){var s=YU(i.pendingLanes);s!==0&&(zLe(i,s|1),fb(i,pd()),!(ga&6)&&(wM=pd()+500,yN()))}break;case 13:uR(function(){var c=mA(n,1);if(c!==null){var d=Hg();Pv(c,n,1,d)}}),S5e(n,1)}};GLe=function(n){if(n.tag===13){var i=mA(n,134217728);if(i!==null){var s=Hg();Pv(i,n,134217728,s)}S5e(n,134217728)}};WBt=function(n){if(n.tag===13){var i=Zk(n),s=mA(n,i);if(s!==null){var c=Hg();Pv(s,n,i,c)}S5e(n,i)}};KBt=function(){return uc};YBt=function(n,i){var s=uc;try{return uc=n,i()}finally{uc=s}};_6e=function(n,i,s){switch(i){case"input":if(w6e(n,s),i=s.name,s.type==="radio"&&i!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<s.length;i++){var c=s[i];if(c!==n&&c.form===n.form){var d=Pse(c);if(!d)throw Error(or(90));xBt(c),w6e(c,d)}}}break;case"textarea":NBt(n,s);break;case"select":i=s.value,i!=null&&J5(n,!!s.multiple,i,!1)}};MBt=m5e;PBt=uR;var tRn={usingClientEntryPoint:!1,Events:[vz,P5,Pse,DBt,LBt,m5e]},jU={findFiberByHostInstance:Y4,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nRn={bundleType:jU.bundleType,version:jU.version,rendererPackageName:jU.rendererPackageName,rendererConfig:jU.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:AA.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=$Bt(n),n===null?null:n.stateNode},findFiberByHostInstance:jU.findFiberByHostInstance||Q4n,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fie=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fie.isDisabled&&fie.supportsFiber)try{Ose=fie.inject(nRn),P2=fie}catch{}}Gm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tRn;Gm.createPortal=function(n,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!A5e(i))throw Error(or(200));return Z4n(n,i,null,s)};Gm.createRoot=function(n,i){if(!A5e(n))throw Error(or(299));var s=!1,c="",d=mHt;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onRecoverableError!==void 0&&(d=i.onRecoverableError)),i=E5e(n,1,!1,null,null,s,!1,c,d),n[bA]=i.current,MH(n.nodeType===8?n.parentNode:n),new T5e(i)};Gm.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(or(188)):(n=Object.keys(n).join(","),Error(or(268,n)));return n=$Bt(i),n=n===null?null:n.stateNode,n};Gm.flushSync=function(n){return uR(n)};Gm.hydrate=function(n,i,s){if(!qse(i))throw Error(or(200));return Vse(null,n,i,!0,s)};Gm.hydrateRoot=function(n,i,s){if(!A5e(n))throw Error(or(405));var c=s!=null&&s.hydratedSources||null,d=!1,g="",b=mHt;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onRecoverableError!==void 0&&(b=s.onRecoverableError)),i=bHt(i,null,n,1,s??null,d,!1,g,b),n[bA]=i.current,MH(n),c)for(n=0;n<c.length;n++)s=c[n],d=s._getVersion,d=d(s._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,d]:i.mutableSourceEagerHydrationData.push(s,d);return new Gse(i)};Gm.render=function(n,i,s){if(!qse(i))throw Error(or(200));return Vse(null,n,i,!1,s)};Gm.unmountComponentAtNode=function(n){if(!qse(n))throw Error(or(40));return n._reactRootContainer?(uR(function(){Vse(null,null,n,!1,function(){n._reactRootContainer=null,n[bA]=null})}),!0):!1};Gm.unstable_batchedUpdates=m5e;Gm.unstable_renderSubtreeIntoContainer=function(n,i,s,c){if(!qse(s))throw Error(or(200));if(n==null||n._reactInternals===void 0)throw Error(or(38));return Vse(n,i,s,!1,c)};Gm.version="18.3.1-next-f1338f8080-20240426";function wHt(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wHt)}catch(n){console.error(n)}}wHt(),wBt.exports=Gm;var xR=wBt.exports;const yHt=TR(xR);var uMt=xR;goe.createRoot=uMt.createRoot,goe.hydrateRoot=uMt.hydrateRoot;const Eo=n=>typeof n=="string",FU=()=>{let n,i;const s=new Promise((c,d)=>{n=c,i=d});return s.resolve=n,s.reject=i,s},lMt=n=>n==null?"":""+n,rRn=(n,i,s)=>{n.forEach(c=>{i[c]&&(s[c]=i[c])})},iRn=/###/g,dMt=n=>n&&n.indexOf("###")>-1?n.replace(iRn,"."):n,fMt=n=>!n||Eo(n),mH=(n,i,s)=>{const c=Eo(i)?i.split("."):i;let d=0;for(;d<c.length-1;){if(fMt(n))return{};const g=dMt(c[d]);!n[g]&&s&&(n[g]=new s),Object.prototype.hasOwnProperty.call(n,g)?n=n[g]:n={},++d}return fMt(n)?{}:{obj:n,k:dMt(c[d])}},hMt=(n,i,s)=>{const{obj:c,k:d}=mH(n,i,Object);if(c!==void 0||i.length===1){c[d]=s;return}let g=i[i.length-1],b=i.slice(0,i.length-1),w=mH(n,b,Object);for(;w.obj===void 0&&b.length;)g=`${b[b.length-1]}.${g}`,b=b.slice(0,b.length-1),w=mH(n,b,Object),w!=null&&w.obj&&typeof w.obj[`${w.k}.${g}`]<"u"&&(w.obj=void 0);w.obj[`${w.k}.${g}`]=s},oRn=(n,i,s,c)=>{const{obj:d,k:g}=mH(n,i,Object);d[g]=d[g]||[],d[g].push(s)},Boe=(n,i)=>{const{obj:s,k:c}=mH(n,i);if(s&&Object.prototype.hasOwnProperty.call(s,c))return s[c]},sRn=(n,i,s)=>{const c=Boe(n,s);return c!==void 0?c:Boe(i,s)},vHt=(n,i,s)=>{for(const c in i)c!=="__proto__"&&c!=="constructor"&&(c in n?Eo(n[c])||n[c]instanceof String||Eo(i[c])||i[c]instanceof String?s&&(n[c]=i[c]):vHt(n[c],i[c],s):n[c]=i[c]);return n},b5=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var aRn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const cRn=n=>Eo(n)?n.replace(/[&<>"'\/]/g,i=>aRn[i]):n;class uRn{constructor(i){this.capacity=i,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(i){const s=this.regExpMap.get(i);if(s!==void 0)return s;const c=new RegExp(i);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(i,c),this.regExpQueue.push(i),c}}const lRn=[" ",",","?","!",";"],dRn=new uRn(20),fRn=(n,i,s)=>{i=i||"",s=s||"";const c=lRn.filter(b=>i.indexOf(b)<0&&s.indexOf(b)<0);if(c.length===0)return!0;const d=dRn.getRegExp(`(${c.map(b=>b==="?"?"\\?":b).join("|")})`);let g=!d.test(n);if(!g){const b=n.indexOf(s);b>0&&!d.test(n.substring(0,b))&&(g=!0)}return g},iDe=(n,i,s=".")=>{if(!n)return;if(n[i])return Object.prototype.hasOwnProperty.call(n,i)?n[i]:void 0;const c=i.split(s);let d=n;for(let g=0;g<c.length;){if(!d||typeof d!="object")return;let b,w="";for(let E=g;E<c.length;++E)if(E!==g&&(w+=s),w+=c[E],b=d[w],b!==void 0){if(["string","number","boolean"].indexOf(typeof b)>-1&&E<c.length-1)continue;g+=E-g+1;break}d=b}return d},GH=n=>n==null?void 0:n.replace("_","-"),hRn={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,i){var s,c;(c=(s=console==null?void 0:console[n])==null?void 0:s.apply)==null||c.call(s,console,i)}};let pRn=class oDe{constructor(i,s={}){this.init(i,s)}init(i,s={}){this.prefix=s.prefix||"i18next:",this.logger=i||hRn,this.options=s,this.debug=s.debug}log(...i){return this.forward(i,"log","",!0)}warn(...i){return this.forward(i,"warn","",!0)}error(...i){return this.forward(i,"error","")}deprecate(...i){return this.forward(i,"warn","WARNING DEPRECATED: ",!0)}forward(i,s,c,d){return d&&!this.debug?null:(Eo(i[0])&&(i[0]=`${c}${this.prefix} ${i[0]}`),this.logger[s](i))}create(i){return new oDe(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new oDe(this.logger,i)}};var D2=new pRn;class Wse{constructor(){this.observers={}}on(i,s){return i.split(" ").forEach(c=>{this.observers[c]||(this.observers[c]=new Map);const d=this.observers[c].get(s)||0;this.observers[c].set(s,d+1)}),this}off(i,s){if(this.observers[i]){if(!s){delete this.observers[i];return}this.observers[i].delete(s)}}emit(i,...s){this.observers[i]&&Array.from(this.observers[i].entries()).forEach(([d,g])=>{for(let b=0;b<g;b++)d(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([d,g])=>{for(let b=0;b<g;b++)d.apply(d,[i,...s])})}}class pMt extends Wse{constructor(i,s={ns:["translation"],defaultNS:"translation"}){super(),this.data=i||{},this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}removeNamespaces(i){const s=this.options.ns.indexOf(i);s>-1&&this.options.ns.splice(s,1)}getResource(i,s,c,d={}){var S,_;const g=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator,b=d.ignoreJSONStructure!==void 0?d.ignoreJSONStructure:this.options.ignoreJSONStructure;let w;i.indexOf(".")>-1?w=i.split("."):(w=[i,s],c&&(Array.isArray(c)?w.push(...c):Eo(c)&&g?w.push(...c.split(g)):w.push(c)));const E=Boe(this.data,w);return!E&&!s&&!c&&i.indexOf(".")>-1&&(i=w[0],s=w[1],c=w.slice(2).join(".")),E||!b||!Eo(c)?E:iDe((_=(S=this.data)==null?void 0:S[i])==null?void 0:_[s],c,g)}addResource(i,s,c,d,g={silent:!1}){const b=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let w=[i,s];c&&(w=w.concat(b?c.split(b):c)),i.indexOf(".")>-1&&(w=i.split("."),d=s,s=w[1]),this.addNamespaces(s),hMt(this.data,w,d),g.silent||this.emit("added",i,s,c,d)}addResources(i,s,c,d={silent:!1}){for(const g in c)(Eo(c[g])||Array.isArray(c[g]))&&this.addResource(i,s,g,c[g],{silent:!0});d.silent||this.emit("added",i,s,c)}addResourceBundle(i,s,c,d,g,b={silent:!1,skipCopy:!1}){let w=[i,s];i.indexOf(".")>-1&&(w=i.split("."),d=c,c=s,s=w[1]),this.addNamespaces(s);let E=Boe(this.data,w)||{};b.skipCopy||(c=JSON.parse(JSON.stringify(c))),d?vHt(E,c,g):E={...E,...c},hMt(this.data,w,E),b.silent||this.emit("added",i,s,c)}removeResourceBundle(i,s){this.hasResourceBundle(i,s)&&delete this.data[i][s],this.removeNamespaces(s),this.emit("removed",i,s)}hasResourceBundle(i,s){return this.getResource(i,s)!==void 0}getResourceBundle(i,s){return s||(s=this.options.defaultNS),this.getResource(i,s)}getDataByLanguage(i){return this.data[i]}hasLanguageSomeTranslations(i){const s=this.getDataByLanguage(i);return!!(s&&Object.keys(s)||[]).find(d=>s[d]&&Object.keys(s[d]).length>0)}toJSON(){return this.data}}var EHt={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,i,s,c,d){return n.forEach(g=>{var b;i=((b=this.processors[g])==null?void 0:b.process(i,s,c,d))??i}),i}};const SHt=Symbol("i18next/PATH_KEY");function gRn(){const n=[],i=Object.create(null);let s;return i.get=(c,d)=>{var g;return(g=s==null?void 0:s.revoke)==null||g.call(s),d===SHt?n:(n.push(d),s=Proxy.revocable(c,i),s.proxy)},Proxy.revocable(Object.create(null),i).proxy}function sDe(n,i){const{[SHt]:s}=n(gRn());return s.join((i==null?void 0:i.keySeparator)??".")}const gMt={},MCe=n=>!Eo(n)&&typeof n!="boolean"&&typeof n!="number";class Uoe extends Wse{constructor(i,s={}){super(),rRn(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=D2.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i,s={interpolation:{}}){const c={...s};if(i==null)return!1;const d=this.resolve(i,c);if((d==null?void 0:d.res)===void 0)return!1;const g=MCe(d.res);return!(c.returnObjects===!1&&g)}extractFromKey(i,s){let c=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;c===void 0&&(c=":");const d=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let g=s.ns||this.options.defaultNS||[];const b=c&&i.indexOf(c)>-1,w=!this.options.userDefinedKeySeparator&&!s.keySeparator&&!this.options.userDefinedNsSeparator&&!s.nsSeparator&&!fRn(i,c,d);if(b&&!w){const E=i.match(this.interpolator.nestingRegexp);if(E&&E.length>0)return{key:i,namespaces:Eo(g)?[g]:g};const S=i.split(c);(c!==d||c===d&&this.options.ns.indexOf(S[0])>-1)&&(g=S.shift()),i=S.join(d)}return{key:i,namespaces:Eo(g)?[g]:g}}translate(i,s,c){let d=typeof s=="object"?{...s}:s;if(typeof d!="object"&&this.options.overloadTranslationOptionHandler&&(d=this.options.overloadTranslationOptionHandler(arguments)),typeof d=="object"&&(d={...d}),d||(d={}),i==null)return"";typeof i=="function"&&(i=sDe(i,{...this.options,...d})),Array.isArray(i)||(i=[String(i)]);const g=d.returnDetails!==void 0?d.returnDetails:this.options.returnDetails,b=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator,{key:w,namespaces:E}=this.extractFromKey(i[i.length-1],d),S=E[E.length-1];let _=d.nsSeparator!==void 0?d.nsSeparator:this.options.nsSeparator;_===void 0&&(_=":");const A=d.lng||this.language,C=d.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((A==null?void 0:A.toLowerCase())==="cimode")return C?g?{res:`${S}${_}${w}`,usedKey:w,exactUsedKey:w,usedLng:A,usedNS:S,usedParams:this.getUsedParamsDetails(d)}:`${S}${_}${w}`:g?{res:w,usedKey:w,exactUsedKey:w,usedLng:A,usedNS:S,usedParams:this.getUsedParamsDetails(d)}:w;const O=this.resolve(i,d);let L=O==null?void 0:O.res;const D=(O==null?void 0:O.usedKey)||w,B=(O==null?void 0:O.exactUsedKey)||w,$=["[object Number]","[object Function]","[object RegExp]"],P=d.joinArrays!==void 0?d.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject,z=d.count!==void 0&&!Eo(d.count),ee=Uoe.hasDefaultValue(d),ne=z?this.pluralResolver.getSuffix(A,d.count,d):"",Q=d.ordinal&&z?this.pluralResolver.getSuffix(A,d.count,{ordinal:!1}):"",ae=z&&!d.ordinal&&d.count===0,he=ae&&d[`defaultValue${this.options.pluralSeparator}zero`]||d[`defaultValue${ne}`]||d[`defaultValue${Q}`]||d.defaultValue;let pe=L;j&&!L&&ee&&(pe=he);const ue=MCe(pe),fe=Object.prototype.toString.apply(pe);if(j&&pe&&ue&&$.indexOf(fe)<0&&!(Eo(P)&&Array.isArray(pe))){if(!d.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const K=this.options.returnedObjectHandler?this.options.returnedObjectHandler(D,pe,{...d,ns:E}):`key '${w} (${this.language})' returned an object instead of string.`;return g?(O.res=K,O.usedParams=this.getUsedParamsDetails(d),O):K}if(b){const K=Array.isArray(pe),ge=K?[]:{},De=K?B:D;for(const Se in pe)if(Object.prototype.hasOwnProperty.call(pe,Se)){const Re=`${De}${b}${Se}`;ee&&!L?ge[Se]=this.translate(Re,{...d,defaultValue:MCe(he)?he[Se]:void 0,joinArrays:!1,ns:E}):ge[Se]=this.translate(Re,{...d,joinArrays:!1,ns:E}),ge[Se]===Re&&(ge[Se]=pe[Se])}L=ge}}else if(j&&Eo(P)&&Array.isArray(L))L=L.join(P),L&&(L=this.extendTranslation(L,i,d,c));else{let K=!1,ge=!1;!this.isValidLookup(L)&&ee&&(K=!0,L=he),this.isValidLookup(L)||(ge=!0,L=w);const Se=(d.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ge?void 0:L,Re=ee&&he!==L&&this.options.updateMissing;if(ge||K||Re){if(this.logger.log(Re?"updateKey":"missingKey",A,S,w,Re?he:L),b){const ut=this.resolve(w,{...d,keySeparator:!1});ut&&ut.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Ae=[];const xe=this.languageUtils.getFallbackCodes(this.options.fallbackLng,d.lng||this.language);if(this.options.saveMissingTo==="fallback"&&xe&&xe[0])for(let ut=0;ut<xe.length;ut++)Ae.push(xe[ut]);else this.options.saveMissingTo==="all"?Ae=this.languageUtils.toResolveHierarchy(d.lng||this.language):Ae.push(d.lng||this.language);const We=(ut,Be,bt)=>{var pt;const Nt=ee&&bt!==L?bt:Se;this.options.missingKeyHandler?this.options.missingKeyHandler(ut,S,Be,Nt,Re,d):(pt=this.backendConnector)!=null&&pt.saveMissing&&this.backendConnector.saveMissing(ut,S,Be,Nt,Re,d),this.emit("missingKey",ut,S,Be,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&z?Ae.forEach(ut=>{const Be=this.pluralResolver.getSuffixes(ut,d);ae&&d[`defaultValue${this.options.pluralSeparator}zero`]&&Be.indexOf(`${this.options.pluralSeparator}zero`)<0&&Be.push(`${this.options.pluralSeparator}zero`),Be.forEach(bt=>{We([ut],w+bt,d[`defaultValue${bt}`]||he)})}):We(Ae,w,he))}L=this.extendTranslation(L,i,d,O,c),ge&&L===w&&this.options.appendNamespaceToMissingKey&&(L=`${S}${_}${w}`),(ge||K)&&this.options.parseMissingKeyHandler&&(L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${S}${_}${w}`:w,K?L:void 0,d))}return g?(O.res=L,O.usedParams=this.getUsedParamsDetails(d),O):L}extendTranslation(i,s,c,d,g){var E,S;if((E=this.i18nFormat)!=null&&E.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...c},c.lng||this.language||d.usedLng,d.usedNS,d.usedKey,{resolved:d});else if(!c.skipInterpolation){c.interpolation&&this.interpolator.init({...c,interpolation:{...this.options.interpolation,...c.interpolation}});const _=Eo(i)&&(((S=c==null?void 0:c.interpolation)==null?void 0:S.skipOnVariables)!==void 0?c.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let A;if(_){const O=i.match(this.interpolator.nestingRegexp);A=O&&O.length}let C=c.replace&&!Eo(c.replace)?c.replace:c;if(this.options.interpolation.defaultVariables&&(C={...this.options.interpolation.defaultVariables,...C}),i=this.interpolator.interpolate(i,C,c.lng||this.language||d.usedLng,c),_){const O=i.match(this.interpolator.nestingRegexp),L=O&&O.length;A<L&&(c.nest=!1)}!c.lng&&d&&d.res&&(c.lng=this.language||d.usedLng),c.nest!==!1&&(i=this.interpolator.nest(i,(...O)=>(g==null?void 0:g[0])===O[0]&&!c.context?(this.logger.warn(`It seems you are nesting recursively key: ${O[0]} in key: ${s[0]}`),null):this.translate(...O,s),c)),c.interpolation&&this.interpolator.reset()}const b=c.postProcess||this.options.postProcess,w=Eo(b)?[b]:b;return i!=null&&(w!=null&&w.length)&&c.applyPostProcessor!==!1&&(i=EHt.handle(w,i,s,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...d,usedParams:this.getUsedParamsDetails(c)},...c}:c,this)),i}resolve(i,s={}){let c,d,g,b,w;return Eo(i)&&(i=[i]),i.forEach(E=>{if(this.isValidLookup(c))return;const S=this.extractFromKey(E,s),_=S.key;d=_;let A=S.namespaces;this.options.fallbackNS&&(A=A.concat(this.options.fallbackNS));const C=s.count!==void 0&&!Eo(s.count),O=C&&!s.ordinal&&s.count===0,L=s.context!==void 0&&(Eo(s.context)||typeof s.context=="number")&&s.context!=="",D=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);A.forEach(B=>{var $,P;this.isValidLookup(c)||(w=B,!gMt[`${D[0]}-${B}`]&&(($=this.utils)!=null&&$.hasLoadedNamespace)&&!((P=this.utils)!=null&&P.hasLoadedNamespace(w))&&(gMt[`${D[0]}-${B}`]=!0,this.logger.warn(`key "${d}" for languages "${D.join(", ")}" won't get resolved as namespace "${w}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),D.forEach(j=>{var ne;if(this.isValidLookup(c))return;b=j;const z=[_];if((ne=this.i18nFormat)!=null&&ne.addLookupKeys)this.i18nFormat.addLookupKeys(z,_,j,B,s);else{let Q;C&&(Q=this.pluralResolver.getSuffix(j,s.count,s));const ae=`${this.options.pluralSeparator}zero`,he=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(C&&(s.ordinal&&Q.indexOf(he)===0&&z.push(_+Q.replace(he,this.options.pluralSeparator)),z.push(_+Q),O&&z.push(_+ae)),L){const pe=`${_}${this.options.contextSeparator||"_"}${s.context}`;z.push(pe),C&&(s.ordinal&&Q.indexOf(he)===0&&z.push(pe+Q.replace(he,this.options.pluralSeparator)),z.push(pe+Q),O&&z.push(pe+ae))}}let ee;for(;ee=z.pop();)this.isValidLookup(c)||(g=ee,c=this.getResource(j,B,ee,s))}))})}),{res:c,usedKey:d,exactUsedKey:g,usedLng:b,usedNS:w}}isValidLookup(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}getResource(i,s,c,d={}){var g;return(g=this.i18nFormat)!=null&&g.getResource?this.i18nFormat.getResource(i,s,c,d):this.resourceStore.getResource(i,s,c,d)}getUsedParamsDetails(i={}){const s=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],c=i.replace&&!Eo(i.replace);let d=c?i.replace:i;if(c&&typeof i.count<"u"&&(d.count=i.count),this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),!c){d={...d};for(const g of s)delete d[g]}return d}static hasDefaultValue(i){const s="defaultValue";for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)&&s===c.substring(0,s.length)&&i[c]!==void 0)return!0;return!1}}class bMt{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=D2.create("languageUtils")}getScriptPartFromCode(i){if(i=GH(i),!i||i.indexOf("-")<0)return null;const s=i.split("-");return s.length===2||(s.pop(),s[s.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(s.join("-"))}getLanguagePartFromCode(i){if(i=GH(i),!i||i.indexOf("-")<0)return i;const s=i.split("-");return this.formatLanguageCode(s[0])}formatLanguageCode(i){if(Eo(i)&&i.indexOf("-")>-1){let s;try{s=Intl.getCanonicalLocales(i)[0]}catch{}return s&&this.options.lowerCaseLng&&(s=s.toLowerCase()),s||(this.options.lowerCaseLng?i.toLowerCase():i)}return this.options.cleanCode||this.options.lowerCaseLng?i.toLowerCase():i}isSupportedCode(i){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(i=this.getLanguagePartFromCode(i)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(i)>-1}getBestMatchFromCodes(i){if(!i)return null;let s;return i.forEach(c=>{if(s)return;const d=this.formatLanguageCode(c);(!this.options.supportedLngs||this.isSupportedCode(d))&&(s=d)}),!s&&this.options.supportedLngs&&i.forEach(c=>{if(s)return;const d=this.getScriptPartFromCode(c);if(this.isSupportedCode(d))return s=d;const g=this.getLanguagePartFromCode(c);if(this.isSupportedCode(g))return s=g;s=this.options.supportedLngs.find(b=>{if(b===g)return b;if(!(b.indexOf("-")<0&&g.indexOf("-")<0)&&(b.indexOf("-")>0&&g.indexOf("-")<0&&b.substring(0,b.indexOf("-"))===g||b.indexOf(g)===0&&g.length>1))return b})}),s||(s=this.getFallbackCodes(this.options.fallbackLng)[0]),s}getFallbackCodes(i,s){if(!i)return[];if(typeof i=="function"&&(i=i(s)),Eo(i)&&(i=[i]),Array.isArray(i))return i;if(!s)return i.default||[];let c=i[s];return c||(c=i[this.getScriptPartFromCode(s)]),c||(c=i[this.formatLanguageCode(s)]),c||(c=i[this.getLanguagePartFromCode(s)]),c||(c=i.default),c||[]}toResolveHierarchy(i,s){const c=this.getFallbackCodes((s===!1?[]:s)||this.options.fallbackLng||[],i),d=[],g=b=>{b&&(this.isSupportedCode(b)?d.push(b):this.logger.warn(`rejecting language code not found in supportedLngs: ${b}`))};return Eo(i)&&(i.indexOf("-")>-1||i.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&g(this.formatLanguageCode(i)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&g(this.getScriptPartFromCode(i)),this.options.load!=="currentOnly"&&g(this.getLanguagePartFromCode(i))):Eo(i)&&g(this.formatLanguageCode(i)),c.forEach(b=>{d.indexOf(b)<0&&g(this.formatLanguageCode(b))}),d}}const mMt={zero:0,one:1,two:2,few:3,many:4,other:5},wMt={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class bRn{constructor(i,s={}){this.languageUtils=i,this.options=s,this.logger=D2.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(i,s={}){const c=GH(i==="dev"?"en":i),d=s.ordinal?"ordinal":"cardinal",g=JSON.stringify({cleanedCode:c,type:d});if(g in this.pluralRulesCache)return this.pluralRulesCache[g];let b;try{b=new Intl.PluralRules(c,{type:d})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),wMt;if(!i.match(/-|_/))return wMt;const E=this.languageUtils.getLanguagePartFromCode(i);b=this.getRule(E,s)}return this.pluralRulesCache[g]=b,b}needsPlural(i,s={}){let c=this.getRule(i,s);return c||(c=this.getRule("dev",s)),(c==null?void 0:c.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(i,s,c={}){return this.getSuffixes(i,c).map(d=>`${s}${d}`)}getSuffixes(i,s={}){let c=this.getRule(i,s);return c||(c=this.getRule("dev",s)),c?c.resolvedOptions().pluralCategories.sort((d,g)=>mMt[d]-mMt[g]).map(d=>`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${d}`):[]}getSuffix(i,s,c={}){const d=this.getRule(i,c);return d?`${this.options.prepend}${c.ordinal?`ordinal${this.options.prepend}`:""}${d.select(s)}`:(this.logger.warn(`no plural rule found for: ${i}`),this.getSuffix("dev",s,c))}}const yMt=(n,i,s,c=".",d=!0)=>{let g=sRn(n,i,s);return!g&&d&&Eo(s)&&(g=iDe(n,s,c),g===void 0&&(g=iDe(i,s,c))),g},PCe=n=>n.replace(/\$/g,"$$$$");class vMt{constructor(i={}){var s;this.logger=D2.create("interpolator"),this.options=i,this.format=((s=i==null?void 0:i.interpolation)==null?void 0:s.format)||(c=>c),this.init(i)}init(i={}){i.interpolation||(i.interpolation={escapeValue:!0});const{escape:s,escapeValue:c,useRawValueToEscape:d,prefix:g,prefixEscaped:b,suffix:w,suffixEscaped:E,formatSeparator:S,unescapeSuffix:_,unescapePrefix:A,nestingPrefix:C,nestingPrefixEscaped:O,nestingSuffix:L,nestingSuffixEscaped:D,nestingOptionsSeparator:B,maxReplaces:$,alwaysFormat:P}=i.interpolation;this.escape=s!==void 0?s:cRn,this.escapeValue=c!==void 0?c:!0,this.useRawValueToEscape=d!==void 0?d:!1,this.prefix=g?b5(g):b||"{{",this.suffix=w?b5(w):E||"}}",this.formatSeparator=S||",",this.unescapePrefix=_?"":A||"-",this.unescapeSuffix=this.unescapePrefix?"":_||"",this.nestingPrefix=C?b5(C):O||b5("$t("),this.nestingSuffix=L?b5(L):D||b5(")"),this.nestingOptionsSeparator=B||",",this.maxReplaces=$||1e3,this.alwaysFormat=P!==void 0?P:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const i=(s,c)=>(s==null?void 0:s.source)===c?(s.lastIndex=0,s):new RegExp(c,"g");this.regexp=i(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=i(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=i(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(i,s,c,d){var O;let g,b,w;const E=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},S=L=>{if(L.indexOf(this.formatSeparator)<0){const P=yMt(s,E,L,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(P,void 0,c,{...d,...s,interpolationkey:L}):P}const D=L.split(this.formatSeparator),B=D.shift().trim(),$=D.join(this.formatSeparator).trim();return this.format(yMt(s,E,B,this.options.keySeparator,this.options.ignoreJSONStructure),$,c,{...d,...s,interpolationkey:B})};this.resetRegExp();const _=(d==null?void 0:d.missingInterpolationHandler)||this.options.missingInterpolationHandler,A=((O=d==null?void 0:d.interpolation)==null?void 0:O.skipOnVariables)!==void 0?d.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:L=>PCe(L)},{regex:this.regexp,safeValue:L=>this.escapeValue?PCe(this.escape(L)):PCe(L)}].forEach(L=>{for(w=0;g=L.regex.exec(i);){const D=g[1].trim();if(b=S(D),b===void 0)if(typeof _=="function"){const $=_(i,g,d);b=Eo($)?$:""}else if(d&&Object.prototype.hasOwnProperty.call(d,D))b="";else if(A){b=g[0];continue}else this.logger.warn(`missed to pass in variable ${D} for interpolating ${i}`),b="";else!Eo(b)&&!this.useRawValueToEscape&&(b=lMt(b));const B=L.safeValue(b);if(i=i.replace(g[0],B),A?(L.regex.lastIndex+=b.length,L.regex.lastIndex-=g[0].length):L.regex.lastIndex=0,w++,w>=this.maxReplaces)break}}),i}nest(i,s,c={}){let d,g,b;const w=(E,S)=>{const _=this.nestingOptionsSeparator;if(E.indexOf(_)<0)return E;const A=E.split(new RegExp(`${_}[ ]*{`));let C=`{${A[1]}`;E=A[0],C=this.interpolate(C,b);const O=C.match(/'/g),L=C.match(/"/g);(((O==null?void 0:O.length)??0)%2===0&&!L||L.length%2!==0)&&(C=C.replace(/'/g,'"'));try{b=JSON.parse(C),S&&(b={...S,...b})}catch(D){return this.logger.warn(`failed parsing options string in nesting for key ${E}`,D),`${E}${_}${C}`}return b.defaultValue&&b.defaultValue.indexOf(this.prefix)>-1&&delete b.defaultValue,E};for(;d=this.nestingRegexp.exec(i);){let E=[];b={...c},b=b.replace&&!Eo(b.replace)?b.replace:b,b.applyPostProcessor=!1,delete b.defaultValue;const S=/{.*}/.test(d[1])?d[1].lastIndexOf("}")+1:d[1].indexOf(this.formatSeparator);if(S!==-1&&(E=d[1].slice(S).split(this.formatSeparator).map(_=>_.trim()).filter(Boolean),d[1]=d[1].slice(0,S)),g=s(w.call(this,d[1].trim(),b),b),g&&d[0]===i&&!Eo(g))return g;Eo(g)||(g=lMt(g)),g||(this.logger.warn(`missed to resolve ${d[1]} for nesting ${i}`),g=""),E.length&&(g=E.reduce((_,A)=>this.format(_,A,c.lng,{...c,interpolationkey:d[1].trim()}),g.trim())),i=i.replace(d[0],g),this.regexp.lastIndex=0}return i}}const mRn=n=>{let i=n.toLowerCase().trim();const s={};if(n.indexOf("(")>-1){const c=n.split("(");i=c[0].toLowerCase().trim();const d=c[1].substring(0,c[1].length-1);i==="currency"&&d.indexOf(":")<0?s.currency||(s.currency=d.trim()):i==="relativetime"&&d.indexOf(":")<0?s.range||(s.range=d.trim()):d.split(";").forEach(b=>{if(b){const[w,...E]=b.split(":"),S=E.join(":").trim().replace(/^'+|'+$/g,""),_=w.trim();s[_]||(s[_]=S),S==="false"&&(s[_]=!1),S==="true"&&(s[_]=!0),isNaN(S)||(s[_]=parseInt(S,10))}})}return{formatName:i,formatOptions:s}},EMt=n=>{const i={};return(s,c,d)=>{let g=d;d&&d.interpolationkey&&d.formatParams&&d.formatParams[d.interpolationkey]&&d[d.interpolationkey]&&(g={...g,[d.interpolationkey]:void 0});const b=c+JSON.stringify(g);let w=i[b];return w||(w=n(GH(c),d),i[b]=w),w(s)}},wRn=n=>(i,s,c)=>n(GH(s),c)(i);class yRn{constructor(i={}){this.logger=D2.create("formatter"),this.options=i,this.init(i)}init(i,s={interpolation:{}}){this.formatSeparator=s.interpolation.formatSeparator||",";const c=s.cacheInBuiltFormats?EMt:wRn;this.formats={number:c((d,g)=>{const b=new Intl.NumberFormat(d,{...g});return w=>b.format(w)}),currency:c((d,g)=>{const b=new Intl.NumberFormat(d,{...g,style:"currency"});return w=>b.format(w)}),datetime:c((d,g)=>{const b=new Intl.DateTimeFormat(d,{...g});return w=>b.format(w)}),relativetime:c((d,g)=>{const b=new Intl.RelativeTimeFormat(d,{...g});return w=>b.format(w,g.range||"day")}),list:c((d,g)=>{const b=new Intl.ListFormat(d,{...g});return w=>b.format(w)})}}add(i,s){this.formats[i.toLowerCase().trim()]=s}addCached(i,s){this.formats[i.toLowerCase().trim()]=EMt(s)}format(i,s,c,d={}){const g=s.split(this.formatSeparator);if(g.length>1&&g[0].indexOf("(")>1&&g[0].indexOf(")")<0&&g.find(w=>w.indexOf(")")>-1)){const w=g.findIndex(E=>E.indexOf(")")>-1);g[0]=[g[0],...g.splice(1,w)].join(this.formatSeparator)}return g.reduce((w,E)=>{var A;const{formatName:S,formatOptions:_}=mRn(E);if(this.formats[S]){let C=w;try{const O=((A=d==null?void 0:d.formatParams)==null?void 0:A[d.interpolationkey])||{},L=O.locale||O.lng||d.locale||d.lng||c;C=this.formats[S](w,L,{..._,...d,...O})}catch(O){this.logger.warn(O)}return C}else this.logger.warn(`there was no format function for ${S}`);return w},i)}}const vRn=(n,i)=>{n.pending[i]!==void 0&&(delete n.pending[i],n.pendingCount--)};class ERn extends Wse{constructor(i,s,c,d={}){var g,b;super(),this.backend=i,this.store=s,this.services=c,this.languageUtils=c.languageUtils,this.options=d,this.logger=D2.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=d.maxParallelReads||10,this.readingCalls=0,this.maxRetries=d.maxRetries>=0?d.maxRetries:5,this.retryTimeout=d.retryTimeout>=1?d.retryTimeout:350,this.state={},this.queue=[],(b=(g=this.backend)==null?void 0:g.init)==null||b.call(g,c,d.backend,d)}queueLoad(i,s,c,d){const g={},b={},w={},E={};return i.forEach(S=>{let _=!0;s.forEach(A=>{const C=`${S}|${A}`;!c.reload&&this.store.hasResourceBundle(S,A)?this.state[C]=2:this.state[C]<0||(this.state[C]===1?b[C]===void 0&&(b[C]=!0):(this.state[C]=1,_=!1,b[C]===void 0&&(b[C]=!0),g[C]===void 0&&(g[C]=!0),E[A]===void 0&&(E[A]=!0)))}),_||(w[S]=!0)}),(Object.keys(g).length||Object.keys(b).length)&&this.queue.push({pending:b,pendingCount:Object.keys(b).length,loaded:{},errors:[],callback:d}),{toLoad:Object.keys(g),pending:Object.keys(b),toLoadLanguages:Object.keys(w),toLoadNamespaces:Object.keys(E)}}loaded(i,s,c){const d=i.split("|"),g=d[0],b=d[1];s&&this.emit("failedLoading",g,b,s),!s&&c&&this.store.addResourceBundle(g,b,c,void 0,void 0,{skipCopy:!0}),this.state[i]=s?-1:2,s&&c&&(this.state[i]=0);const w={};this.queue.forEach(E=>{oRn(E.loaded,[g],b),vRn(E,i),s&&E.errors.push(s),E.pendingCount===0&&!E.done&&(Object.keys(E.loaded).forEach(S=>{w[S]||(w[S]={});const _=E.loaded[S];_.length&&_.forEach(A=>{w[S][A]===void 0&&(w[S][A]=!0)})}),E.done=!0,E.errors.length?E.callback(E.errors):E.callback())}),this.emit("loaded",w),this.queue=this.queue.filter(E=>!E.done)}read(i,s,c,d=0,g=this.retryTimeout,b){if(!i.length)return b(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:s,fcName:c,tried:d,wait:g,callback:b});return}this.readingCalls++;const w=(S,_)=>{if(this.readingCalls--,this.waitingReads.length>0){const A=this.waitingReads.shift();this.read(A.lng,A.ns,A.fcName,A.tried,A.wait,A.callback)}if(S&&_&&d<this.maxRetries){setTimeout(()=>{this.read.call(this,i,s,c,d+1,g*2,b)},g);return}b(S,_)},E=this.backend[c].bind(this.backend);if(E.length===2){try{const S=E(i,s);S&&typeof S.then=="function"?S.then(_=>w(null,_)).catch(w):w(null,S)}catch(S){w(S)}return}return E(i,s,w)}prepareLoading(i,s,c={},d){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),d&&d();Eo(i)&&(i=this.languageUtils.toResolveHierarchy(i)),Eo(s)&&(s=[s]);const g=this.queueLoad(i,s,c,d);if(!g.toLoad.length)return g.pending.length||d(),null;g.toLoad.forEach(b=>{this.loadOne(b)})}load(i,s,c){this.prepareLoading(i,s,{},c)}reload(i,s,c){this.prepareLoading(i,s,{reload:!0},c)}loadOne(i,s=""){const c=i.split("|"),d=c[0],g=c[1];this.read(d,g,"read",void 0,void 0,(b,w)=>{b&&this.logger.warn(`${s}loading namespace ${g} for language ${d} failed`,b),!b&&w&&this.logger.log(`${s}loaded namespace ${g} for language ${d}`,w),this.loaded(i,b,w)})}saveMissing(i,s,c,d,g,b={},w=()=>{}){var E,S,_,A,C;if((S=(E=this.services)==null?void 0:E.utils)!=null&&S.hasLoadedNamespace&&!((A=(_=this.services)==null?void 0:_.utils)!=null&&A.hasLoadedNamespace(s))){this.logger.warn(`did not save key "${c}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(c==null||c==="")){if((C=this.backend)!=null&&C.create){const O={...b,isUpdate:g},L=this.backend.create.bind(this.backend);if(L.length<6)try{let D;L.length===5?D=L(i,s,c,d,O):D=L(i,s,c,d),D&&typeof D.then=="function"?D.then(B=>w(null,B)).catch(w):w(null,D)}catch(D){w(D)}else L(i,s,c,d,w,O)}!i||!i[0]||this.store.addResource(i[0],s,c,d)}}}const jCe=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let i={};if(typeof n[1]=="object"&&(i=n[1]),Eo(n[1])&&(i.defaultValue=n[1]),Eo(n[2])&&(i.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const s=n[3]||n[2];Object.keys(s).forEach(c=>{i[c]=s[c]})}return i},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),SMt=n=>{var i,s;return Eo(n.ns)&&(n.ns=[n.ns]),Eo(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),Eo(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((s=(i=n.supportedLngs)==null?void 0:i.indexOf)==null?void 0:s.call(i,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},hie=()=>{},SRn=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(s=>{typeof n[s]=="function"&&(n[s]=n[s].bind(n))})};class wH extends Wse{constructor(i={},s){if(super(),this.options=SMt(i),this.services={},this.logger=D2,this.modules={external:[]},SRn(this),s&&!this.isInitialized&&!i.isClone){if(!this.options.initAsync)return this.init(i,s),this;setTimeout(()=>{this.init(i,s)},0)}}init(i={},s){this.isInitializing=!0,typeof i=="function"&&(s=i,i={}),i.defaultNS==null&&i.ns&&(Eo(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const c=jCe();this.options={...c,...this.options,...SMt(i)},this.options.interpolation={...c.interpolation,...this.options.interpolation},i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=c.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const d=S=>S?typeof S=="function"?new S:S:null;if(!this.options.isClone){this.modules.logger?D2.init(d(this.modules.logger),this.options):D2.init(null,this.options);let S;this.modules.formatter?S=this.modules.formatter:S=yRn;const _=new bMt(this.options);this.store=new pMt(this.options.resources,this.options);const A=this.services;A.logger=D2,A.resourceStore=this.store,A.languageUtils=_,A.pluralResolver=new bRn(_,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==c.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),S&&(!this.options.interpolation.format||this.options.interpolation.format===c.interpolation.format)&&(A.formatter=d(S),A.formatter.init&&A.formatter.init(A,this.options),this.options.interpolation.format=A.formatter.format.bind(A.formatter)),A.interpolator=new vMt(this.options),A.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},A.backendConnector=new ERn(d(this.modules.backend),A.resourceStore,A,this.options),A.backendConnector.on("*",(O,...L)=>{this.emit(O,...L)}),this.modules.languageDetector&&(A.languageDetector=d(this.modules.languageDetector),A.languageDetector.init&&A.languageDetector.init(A,this.options.detection,this.options)),this.modules.i18nFormat&&(A.i18nFormat=d(this.modules.i18nFormat),A.i18nFormat.init&&A.i18nFormat.init(this)),this.translator=new Uoe(this.services,this.options),this.translator.on("*",(O,...L)=>{this.emit(O,...L)}),this.modules.external.forEach(O=>{O.init&&O.init(this)})}if(this.format=this.options.interpolation.format,s||(s=hie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const S=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);S.length>0&&S[0]!=="dev"&&(this.options.lng=S[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(S=>{this[S]=(..._)=>this.store[S](..._)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(S=>{this[S]=(..._)=>(this.store[S](..._),this)});const w=FU(),E=()=>{const S=(_,A)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(A),s(_,A)};if(this.languages&&!this.isInitialized)return S(null,this.t.bind(this));this.changeLanguage(this.options.lng,S)};return this.options.resources||!this.options.initAsync?E():setTimeout(E,0),w}loadResources(i,s=hie){var g,b;let c=s;const d=Eo(i)?i:this.language;if(typeof i=="function"&&(c=i),!this.options.resources||this.options.partialBundledLanguages){if((d==null?void 0:d.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return c();const w=[],E=S=>{if(!S||S==="cimode")return;this.services.languageUtils.toResolveHierarchy(S).forEach(A=>{A!=="cimode"&&w.indexOf(A)<0&&w.push(A)})};d?E(d):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(_=>E(_)),(b=(g=this.options.preload)==null?void 0:g.forEach)==null||b.call(g,S=>E(S)),this.services.backendConnector.load(w,this.options.ns,S=>{!S&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),c(S)})}else c(null)}reloadResources(i,s,c){const d=FU();return typeof i=="function"&&(c=i,i=void 0),typeof s=="function"&&(c=s,s=void 0),i||(i=this.languages),s||(s=this.options.ns),c||(c=hie),this.services.backendConnector.reload(i,s,g=>{d.resolve(),c(g)}),d}use(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&EHt.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}setResolvedLanguage(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1)){for(let s=0;s<this.languages.length;s++){const c=this.languages[s];if(!(["cimode","dev"].indexOf(c)>-1)&&this.store.hasLanguageSomeTranslations(c)){this.resolvedLanguage=c;break}}!this.resolvedLanguage&&this.languages.indexOf(i)<0&&this.store.hasLanguageSomeTranslations(i)&&(this.resolvedLanguage=i,this.languages.unshift(i))}}changeLanguage(i,s){this.isLanguageChangingTo=i;const c=FU();this.emit("languageChanging",i);const d=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},g=(w,E)=>{E?this.isLanguageChangingTo===i&&(d(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,c.resolve((...S)=>this.t(...S)),s&&s(w,(...S)=>this.t(...S))},b=w=>{var _,A;!i&&!w&&this.services.languageDetector&&(w=[]);const E=Eo(w)?w:w&&w[0],S=this.store.hasLanguageSomeTranslations(E)?E:this.services.languageUtils.getBestMatchFromCodes(Eo(w)?[w]:w);S&&(this.language||d(S),this.translator.language||this.translator.changeLanguage(S),(A=(_=this.services.languageDetector)==null?void 0:_.cacheUserLanguage)==null||A.call(_,S)),this.loadResources(S,C=>{g(C,S)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?b(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(b):this.services.languageDetector.detect(b):b(i),c}getFixedT(i,s,c){const d=(g,b,...w)=>{let E;typeof b!="object"?E=this.options.overloadTranslationOptionHandler([g,b].concat(w)):E={...b},E.lng=E.lng||d.lng,E.lngs=E.lngs||d.lngs,E.ns=E.ns||d.ns,E.keyPrefix!==""&&(E.keyPrefix=E.keyPrefix||c||d.keyPrefix);const S=this.options.keySeparator||".";let _;return E.keyPrefix&&Array.isArray(g)?_=g.map(A=>(typeof A=="function"&&(A=sDe(A,{...this.options,...b})),`${E.keyPrefix}${S}${A}`)):(typeof g=="function"&&(g=sDe(g,{...this.options,...b})),_=E.keyPrefix?`${E.keyPrefix}${S}${g}`:g),this.t(_,E)};return Eo(i)?d.lng=i:d.lngs=i,d.ns=s,d.keyPrefix=c,d}t(...i){var s;return(s=this.translator)==null?void 0:s.translate(...i)}exists(...i){var s;return(s=this.translator)==null?void 0:s.exists(...i)}setDefaultNamespace(i){this.options.defaultNS=i}hasLoadedNamespace(i,s={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const c=s.lng||this.resolvedLanguage||this.languages[0],d=this.options?this.options.fallbackLng:!1,g=this.languages[this.languages.length-1];if(c.toLowerCase()==="cimode")return!0;const b=(w,E)=>{const S=this.services.backendConnector.state[`${w}|${E}`];return S===-1||S===0||S===2};if(s.precheck){const w=s.precheck(this,b);if(w!==void 0)return w}return!!(this.hasResourceBundle(c,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||b(c,i)&&(!d||b(g,i)))}loadNamespaces(i,s){const c=FU();return this.options.ns?(Eo(i)&&(i=[i]),i.forEach(d=>{this.options.ns.indexOf(d)<0&&this.options.ns.push(d)}),this.loadResources(d=>{c.resolve(),s&&s(d)}),c):(s&&s(),Promise.resolve())}loadLanguages(i,s){const c=FU();Eo(i)&&(i=[i]);const d=this.options.preload||[],g=i.filter(b=>d.indexOf(b)<0&&this.services.languageUtils.isSupportedCode(b));return g.length?(this.options.preload=d.concat(g),this.loadResources(b=>{c.resolve(),s&&s(b)}),c):(s&&s(),Promise.resolve())}dir(i){var d,g;if(i||(i=this.resolvedLanguage||(((d=this.languages)==null?void 0:d.length)>0?this.languages[0]:this.language)),!i)return"rtl";try{const b=new Intl.Locale(i);if(b&&b.getTextInfo){const w=b.getTextInfo();if(w&&w.direction)return w.direction}}catch{}const s=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],c=((g=this.services)==null?void 0:g.languageUtils)||new bMt(jCe());return i.toLowerCase().indexOf("-latn")>1?"ltr":s.indexOf(c.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(i={},s){const c=new wH(i,s);return c.createInstance=wH.createInstance,c}cloneInstance(i={},s=hie){const c=i.forkResourceStore;c&&delete i.forkResourceStore;const d={...this.options,...i,isClone:!0},g=new wH(d);if((i.debug!==void 0||i.prefix!==void 0)&&(g.logger=g.logger.clone(i)),["store","services","language"].forEach(w=>{g[w]=this[w]}),g.services={...this.services},g.services.utils={hasLoadedNamespace:g.hasLoadedNamespace.bind(g)},c){const w=Object.keys(this.store.data).reduce((E,S)=>(E[S]={...this.store.data[S]},E[S]=Object.keys(E[S]).reduce((_,A)=>(_[A]={...E[S][A]},_),E[S]),E),{});g.store=new pMt(w,d),g.services.resourceStore=g.store}if(i.interpolation){const E={...jCe().interpolation,...this.options.interpolation,...i.interpolation},S={...d,interpolation:E};g.services.interpolator=new vMt(S)}return g.translator=new Uoe(g.services,d),g.translator.on("*",(w,...E)=>{g.emit(w,...E)}),g.init(d,s),g.translator.options=d,g.translator.backendConnector.services.utils={hasLoadedNamespace:g.hasLoadedNamespace.bind(g)},g}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Hh=wH.createInstance();Hh.createInstance;Hh.dir;Hh.init;Hh.loadResources;Hh.reloadResources;Hh.use;Hh.changeLanguage;Hh.getFixedT;const eoe=Hh.t;Hh.exists;Hh.setDefaultNamespace;Hh.hasLoadedNamespace;Hh.loadNamespaces;Hh.loadLanguages;const TRn=(n,i,s,c)=>{var g,b,w,E;const d=[s,{code:i,...c||{}}];if((b=(g=n==null?void 0:n.services)==null?void 0:g.logger)!=null&&b.forward)return n.services.logger.forward(d,"warn","react-i18next::",!0);lR(d[0])&&(d[0]=`react-i18next:: ${d[0]}`),(E=(w=n==null?void 0:n.services)==null?void 0:w.logger)!=null&&E.warn?n.services.logger.warn(...d):console!=null&&console.warn&&console.warn(...d)},TMt={},THt=(n,i,s,c)=>{lR(s)&&TMt[s]||(lR(s)&&(TMt[s]=new Date),TRn(n,i,s,c))},AHt=(n,i)=>()=>{if(n.isInitialized)i();else{const s=()=>{setTimeout(()=>{n.off("initialized",s)},0),i()};n.on("initialized",s)}},aDe=(n,i,s)=>{n.loadNamespaces(i,AHt(n,s))},AMt=(n,i,s,c)=>{if(lR(s)&&(s=[s]),n.options.preload&&n.options.preload.indexOf(i)>-1)return aDe(n,s,c);s.forEach(d=>{n.options.ns.indexOf(d)<0&&n.options.ns.push(d)}),n.loadLanguages(i,AHt(n,c))},ARn=(n,i,s={})=>!i.languages||!i.languages.length?(THt(i,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:i.languages}),!0):i.hasLoadedNamespace(n,{lng:s.lng,precheck:(c,d)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&c.services.backendConnector.backend&&c.isLanguageChangingTo&&!d(c.isLanguageChangingTo,n))return!1}}),lR=n=>typeof n=="string",_Rn=n=>typeof n=="object"&&n!==null,xRn=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,kRn={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},NRn=n=>kRn[n],CRn=n=>n.replace(xRn,NRn);let cDe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:CRn,transDefaultProps:void 0};const IRn=(n={})=>{cDe={...cDe,...n}},RRn=()=>cDe;let _Ht;const ORn=n=>{_Ht=n},DRn=()=>_Ht,LRn={type:"3rdParty",init(n){IRn(n.options.react),ORn(n)}},xHt=H.createContext();class MRn{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var kHt={exports:{}},NHt={};/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var yM=H;function PRn(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var jRn=typeof Object.is=="function"?Object.is:PRn,FRn=yM.useState,$Rn=yM.useEffect,BRn=yM.useLayoutEffect,URn=yM.useDebugValue;function HRn(n,i){var s=i(),c=FRn({inst:{value:s,getSnapshot:i}}),d=c[0].inst,g=c[1];return BRn(function(){d.value=s,d.getSnapshot=i,FCe(d)&&g({inst:d})},[n,s,i]),$Rn(function(){return FCe(d)&&g({inst:d}),n(function(){FCe(d)&&g({inst:d})})},[n]),URn(s),s}function FCe(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!jRn(n,s)}catch{return!0}}function zRn(n,i){return i()}var GRn=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?zRn:HRn;NHt.useSyncExternalStore=yM.useSyncExternalStore!==void 0?yM.useSyncExternalStore:GRn;kHt.exports=NHt;var CHt=kHt.exports;const qRn=(n,i)=>lR(i)?i:_Rn(i)&&lR(i.defaultValue)?i.defaultValue:Array.isArray(n)?n[n.length-1]:n,VRn={t:qRn,ready:!1},WRn=()=>()=>{},jo=(n,i={})=>{var he,pe,ue;const{i18n:s}=i,{i18n:c,defaultNS:d}=H.useContext(xHt)||{},g=s||c||DRn();g&&!g.reportNamespaces&&(g.reportNamespaces=new MRn),g||THt(g,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const b=H.useMemo(()=>{var fe;return{...RRn(),...(fe=g==null?void 0:g.options)==null?void 0:fe.react,...i}},[g,i]),{useSuspense:w,keyPrefix:E}=b,S=n||d||((he=g==null?void 0:g.options)==null?void 0:he.defaultNS),_=lR(S)?[S]:S||["translation"],A=H.useMemo(()=>_,_);(ue=(pe=g==null?void 0:g.reportNamespaces)==null?void 0:pe.addUsedNamespaces)==null||ue.call(pe,A);const C=H.useRef(0),O=H.useCallback(fe=>{if(!g)return WRn;const{bindI18n:K,bindI18nStore:ge}=b,De=()=>{C.current+=1,fe()};return K&&g.on(K,De),ge&&g.store.on(ge,De),()=>{K&&K.split(" ").forEach(Se=>g.off(Se,De)),ge&&ge.split(" ").forEach(Se=>g.store.off(Se,De))}},[g,b]),L=H.useRef(),D=H.useCallback(()=>{if(!g)return VRn;const fe=!!(g.isInitialized||g.initializedStoreOnce)&&A.every(Ae=>ARn(Ae,g,b)),K=i.lng||g.language,ge=C.current,De=L.current;if(De&&De.ready===fe&&De.lng===K&&De.keyPrefix===E&&De.revision===ge)return De;const Re={t:g.getFixedT(K,b.nsMode==="fallback"?A:A[0],E),ready:fe,lng:K,keyPrefix:E,revision:ge};return L.current=Re,Re},[g,A,E,b,i.lng]),[B,$]=H.useState(0),{t:P,ready:j}=CHt.useSyncExternalStore(O,D,D);H.useEffect(()=>{if(g&&!j&&!w){const fe=()=>$(K=>K+1);i.lng?AMt(g,i.lng,A,fe):aDe(g,A,fe)}},[g,i.lng,A,j,w,B]);const z=g||{},ee=H.useRef(null),ne=H.useRef(),Q=fe=>{const K=Object.getOwnPropertyDescriptors(fe);K.__original&&delete K.__original;const ge=Object.create(Object.getPrototypeOf(fe),K);if(!Object.prototype.hasOwnProperty.call(ge,"__original"))try{Object.defineProperty(ge,"__original",{value:fe,writable:!1,enumerable:!1,configurable:!1})}catch{}return ge},ae=H.useMemo(()=>{const fe=z,K=fe==null?void 0:fe.language;let ge=fe;fe&&(ee.current&&ee.current.__original===fe?ne.current!==K?(ge=Q(fe),ee.current=ge,ne.current=K):ge=ee.current:(ge=Q(fe),ee.current=ge,ne.current=K));const De=[P,ge,j];return De.t=P,De.i18n=ge,De.ready=j,De},[P,z,j,z.resolvedLanguage,z.language,z.languages]);if(g&&w&&!j)throw new Promise(fe=>{const K=()=>fe();i.lng?AMt(g,i.lng,A,K):aDe(g,A,K)});return ae};function _Mt({i18n:n,defaultNS:i,children:s}){const c=H.useMemo(()=>({i18n:n,defaultNS:i}),[n,i]);return H.createElement(xHt.Provider,{value:c},s)}function Bd(n){if(typeof n=="string"||typeof n=="number")return""+n;let i="";if(Array.isArray(n))for(let s=0,c;s<n.length;s++)(c=Bd(n[s]))!==""&&(i+=(i&&" ")+c);else for(let s in n)n[s]&&(i+=(i&&" ")+s);return i}var KRn={value:()=>{}};function Kse(){for(var n=0,i=arguments.length,s={},c;n<i;++n){if(!(c=arguments[n]+"")||c in s||/[\s.]/.test(c))throw new Error("illegal type: "+c);s[c]=[]}return new toe(s)}function toe(n){this._=n}function YRn(n,i){return n.trim().split(/^|\s+/).map(function(s){var c="",d=s.indexOf(".");if(d>=0&&(c=s.slice(d+1),s=s.slice(0,d)),s&&!i.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:c}})}toe.prototype=Kse.prototype={constructor:toe,on:function(n,i){var s=this._,c=YRn(n+"",s),d,g=-1,b=c.length;if(arguments.length<2){for(;++g<b;)if((d=(n=c[g]).type)&&(d=JRn(s[d],n.name)))return d;return}if(i!=null&&typeof i!="function")throw new Error("invalid callback: "+i);for(;++g<b;)if(d=(n=c[g]).type)s[d]=xMt(s[d],n.name,i);else if(i==null)for(d in s)s[d]=xMt(s[d],n.name,null);return this},copy:function(){var n={},i=this._;for(var s in i)n[s]=i[s].slice();return new toe(n)},call:function(n,i){if((d=arguments.length-2)>0)for(var s=new Array(d),c=0,d,g;c<d;++c)s[c]=arguments[c+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(g=this._[n],c=0,d=g.length;c<d;++c)g[c].value.apply(i,s)},apply:function(n,i,s){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var c=this._[n],d=0,g=c.length;d<g;++d)c[d].value.apply(i,s)}};function JRn(n,i){for(var s=0,c=n.length,d;s<c;++s)if((d=n[s]).name===i)return d.value}function xMt(n,i,s){for(var c=0,d=n.length;c<d;++c)if(n[c].name===i){n[c]=KRn,n=n.slice(0,c).concat(n.slice(c+1));break}return s!=null&&n.push({name:i,value:s}),n}var uDe="http://www.w3.org/1999/xhtml";const kMt={svg:"http://www.w3.org/2000/svg",xhtml:uDe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Yse(n){var i=n+="",s=i.indexOf(":");return s>=0&&(i=n.slice(0,s))!=="xmlns"&&(n=n.slice(s+1)),kMt.hasOwnProperty(i)?{space:kMt[i],local:n}:n}function XRn(n){return function(){var i=this.ownerDocument,s=this.namespaceURI;return s===uDe&&i.documentElement.namespaceURI===uDe?i.createElement(n):i.createElementNS(s,n)}}function ZRn(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function IHt(n){var i=Yse(n);return(i.local?ZRn:XRn)(i)}function QRn(){}function _5e(n){return n==null?QRn:function(){return this.querySelector(n)}}function eOn(n){typeof n!="function"&&(n=_5e(n));for(var i=this._groups,s=i.length,c=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=c[d]=new Array(b),E,S,_=0;_<b;++_)(E=g[_])&&(S=n.call(E,E.__data__,_,g))&&("__data__"in E&&(S.__data__=E.__data__),w[_]=S);return new zm(c,this._parents)}function tOn(n){return n==null?[]:Array.isArray(n)?n:Array.from(n)}function nOn(){return[]}function RHt(n){return n==null?nOn:function(){return this.querySelectorAll(n)}}function rOn(n){return function(){return tOn(n.apply(this,arguments))}}function iOn(n){typeof n=="function"?n=rOn(n):n=RHt(n);for(var i=this._groups,s=i.length,c=[],d=[],g=0;g<s;++g)for(var b=i[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&(c.push(n.call(E,E.__data__,S,b)),d.push(E));return new zm(c,d)}function OHt(n){return function(){return this.matches(n)}}function DHt(n){return function(i){return i.matches(n)}}var oOn=Array.prototype.find;function sOn(n){return function(){return oOn.call(this.children,n)}}function aOn(){return this.firstElementChild}function cOn(n){return this.select(n==null?aOn:sOn(typeof n=="function"?n:DHt(n)))}var uOn=Array.prototype.filter;function lOn(){return Array.from(this.children)}function dOn(n){return function(){return uOn.call(this.children,n)}}function fOn(n){return this.selectAll(n==null?lOn:dOn(typeof n=="function"?n:DHt(n)))}function hOn(n){typeof n!="function"&&(n=OHt(n));for(var i=this._groups,s=i.length,c=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=c[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new zm(c,this._parents)}function LHt(n){return new Array(n.length)}function pOn(){return new zm(this._enter||this._groups.map(LHt),this._parents)}function Hoe(n,i){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=i}Hoe.prototype={constructor:Hoe,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,i){return this._parent.insertBefore(n,i)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};function gOn(n){return function(){return n}}function bOn(n,i,s,c,d,g){for(var b=0,w,E=i.length,S=g.length;b<S;++b)(w=i[b])?(w.__data__=g[b],c[b]=w):s[b]=new Hoe(n,g[b]);for(;b<E;++b)(w=i[b])&&(d[b]=w)}function mOn(n,i,s,c,d,g,b){var w,E,S=new Map,_=i.length,A=g.length,C=new Array(_),O;for(w=0;w<_;++w)(E=i[w])&&(C[w]=O=b.call(E,E.__data__,w,i)+"",S.has(O)?d[w]=E:S.set(O,E));for(w=0;w<A;++w)O=b.call(n,g[w],w,g)+"",(E=S.get(O))?(c[w]=E,E.__data__=g[w],S.delete(O)):s[w]=new Hoe(n,g[w]);for(w=0;w<_;++w)(E=i[w])&&S.get(C[w])===E&&(d[w]=E)}function wOn(n){return n.__data__}function yOn(n,i){if(!arguments.length)return Array.from(this,wOn);var s=i?mOn:bOn,c=this._parents,d=this._groups;typeof n!="function"&&(n=gOn(n));for(var g=d.length,b=new Array(g),w=new Array(g),E=new Array(g),S=0;S<g;++S){var _=c[S],A=d[S],C=A.length,O=vOn(n.call(_,_&&_.__data__,S,c)),L=O.length,D=w[S]=new Array(L),B=b[S]=new Array(L),$=E[S]=new Array(C);s(_,A,D,B,$,O,i);for(var P=0,j=0,z,ee;P<L;++P)if(z=D[P]){for(P>=j&&(j=P+1);!(ee=B[j])&&++j<L;);z._next=ee||null}}return b=new zm(b,c),b._enter=w,b._exit=E,b}function vOn(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}function EOn(){return new zm(this._exit||this._groups.map(LHt),this._parents)}function SOn(n,i,s){var c=this.enter(),d=this,g=this.exit();return typeof n=="function"?(c=n(c),c&&(c=c.selection())):c=c.append(n+""),i!=null&&(d=i(d),d&&(d=d.selection())),s==null?g.remove():s(g),c&&d?c.merge(d).order():d}function TOn(n){for(var i=n.selection?n.selection():n,s=this._groups,c=i._groups,d=s.length,g=c.length,b=Math.min(d,g),w=new Array(d),E=0;E<b;++E)for(var S=s[E],_=c[E],A=S.length,C=w[E]=new Array(A),O,L=0;L<A;++L)(O=S[L]||_[L])&&(C[L]=O);for(;E<d;++E)w[E]=s[E];return new zm(w,this._parents)}function AOn(){for(var n=this._groups,i=-1,s=n.length;++i<s;)for(var c=n[i],d=c.length-1,g=c[d],b;--d>=0;)(b=c[d])&&(g&&b.compareDocumentPosition(g)^4&&g.parentNode.insertBefore(b,g),g=b);return this}function _On(n){n||(n=xOn);function i(A,C){return A&&C?n(A.__data__,C.__data__):!A-!C}for(var s=this._groups,c=s.length,d=new Array(c),g=0;g<c;++g){for(var b=s[g],w=b.length,E=d[g]=new Array(w),S,_=0;_<w;++_)(S=b[_])&&(E[_]=S);E.sort(i)}return new zm(d,this._parents).order()}function xOn(n,i){return n<i?-1:n>i?1:n>=i?0:NaN}function kOn(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function NOn(){return Array.from(this)}function COn(){for(var n=this._groups,i=0,s=n.length;i<s;++i)for(var c=n[i],d=0,g=c.length;d<g;++d){var b=c[d];if(b)return b}return null}function IOn(){let n=0;for(const i of this)++n;return n}function ROn(){return!this.node()}function OOn(n){for(var i=this._groups,s=0,c=i.length;s<c;++s)for(var d=i[s],g=0,b=d.length,w;g<b;++g)(w=d[g])&&n.call(w,w.__data__,g,d);return this}function DOn(n){return function(){this.removeAttribute(n)}}function LOn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function MOn(n,i){return function(){this.setAttribute(n,i)}}function POn(n,i){return function(){this.setAttributeNS(n.space,n.local,i)}}function jOn(n,i){return function(){var s=i.apply(this,arguments);s==null?this.removeAttribute(n):this.setAttribute(n,s)}}function FOn(n,i){return function(){var s=i.apply(this,arguments);s==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,s)}}function $On(n,i){var s=Yse(n);if(arguments.length<2){var c=this.node();return s.local?c.getAttributeNS(s.space,s.local):c.getAttribute(s)}return this.each((i==null?s.local?LOn:DOn:typeof i=="function"?s.local?FOn:jOn:s.local?POn:MOn)(s,i))}function MHt(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function BOn(n){return function(){this.style.removeProperty(n)}}function UOn(n,i,s){return function(){this.style.setProperty(n,i,s)}}function HOn(n,i,s){return function(){var c=i.apply(this,arguments);c==null?this.style.removeProperty(n):this.style.setProperty(n,c,s)}}function zOn(n,i,s){return arguments.length>1?this.each((i==null?BOn:typeof i=="function"?HOn:UOn)(n,i,s??"")):vM(this.node(),n)}function vM(n,i){return n.style.getPropertyValue(i)||MHt(n).getComputedStyle(n,null).getPropertyValue(i)}function GOn(n){return function(){delete this[n]}}function qOn(n,i){return function(){this[n]=i}}function VOn(n,i){return function(){var s=i.apply(this,arguments);s==null?delete this[n]:this[n]=s}}function WOn(n,i){return arguments.length>1?this.each((i==null?GOn:typeof i=="function"?VOn:qOn)(n,i)):this.node()[n]}function PHt(n){return n.trim().split(/^|\s+/)}function x5e(n){return n.classList||new jHt(n)}function jHt(n){this._node=n,this._names=PHt(n.getAttribute("class")||"")}jHt.prototype={add:function(n){var i=this._names.indexOf(n);i<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var i=this._names.indexOf(n);i>=0&&(this._names.splice(i,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function FHt(n,i){for(var s=x5e(n),c=-1,d=i.length;++c<d;)s.add(i[c])}function $Ht(n,i){for(var s=x5e(n),c=-1,d=i.length;++c<d;)s.remove(i[c])}function KOn(n){return function(){FHt(this,n)}}function YOn(n){return function(){$Ht(this,n)}}function JOn(n,i){return function(){(i.apply(this,arguments)?FHt:$Ht)(this,n)}}function XOn(n,i){var s=PHt(n+"");if(arguments.length<2){for(var c=x5e(this.node()),d=-1,g=s.length;++d<g;)if(!c.contains(s[d]))return!1;return!0}return this.each((typeof i=="function"?JOn:i?KOn:YOn)(s,i))}function ZOn(){this.textContent=""}function QOn(n){return function(){this.textContent=n}}function e6n(n){return function(){var i=n.apply(this,arguments);this.textContent=i??""}}function t6n(n){return arguments.length?this.each(n==null?ZOn:(typeof n=="function"?e6n:QOn)(n)):this.node().textContent}function n6n(){this.innerHTML=""}function r6n(n){return function(){this.innerHTML=n}}function i6n(n){return function(){var i=n.apply(this,arguments);this.innerHTML=i??""}}function o6n(n){return arguments.length?this.each(n==null?n6n:(typeof n=="function"?i6n:r6n)(n)):this.node().innerHTML}function s6n(){this.nextSibling&&this.parentNode.appendChild(this)}function a6n(){return this.each(s6n)}function c6n(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function u6n(){return this.each(c6n)}function l6n(n){var i=typeof n=="function"?n:IHt(n);return this.select(function(){return this.appendChild(i.apply(this,arguments))})}function d6n(){return null}function f6n(n,i){var s=typeof n=="function"?n:IHt(n),c=i==null?d6n:typeof i=="function"?i:_5e(i);return this.select(function(){return this.insertBefore(s.apply(this,arguments),c.apply(this,arguments)||null)})}function h6n(){var n=this.parentNode;n&&n.removeChild(this)}function p6n(){return this.each(h6n)}function g6n(){var n=this.cloneNode(!1),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function b6n(){var n=this.cloneNode(!0),i=this.parentNode;return i?i.insertBefore(n,this.nextSibling):n}function m6n(n){return this.select(n?b6n:g6n)}function w6n(n){return arguments.length?this.property("__data__",n):this.node().__data__}function y6n(n){return function(i){n.call(this,i,this.__data__)}}function v6n(n){return n.trim().split(/^|\s+/).map(function(i){var s="",c=i.indexOf(".");return c>=0&&(s=i.slice(c+1),i=i.slice(0,c)),{type:i,name:s}})}function E6n(n){return function(){var i=this.__on;if(i){for(var s=0,c=-1,d=i.length,g;s<d;++s)g=i[s],(!n.type||g.type===n.type)&&g.name===n.name?this.removeEventListener(g.type,g.listener,g.options):i[++c]=g;++c?i.length=c:delete this.__on}}}function S6n(n,i,s){return function(){var c=this.__on,d,g=y6n(i);if(c){for(var b=0,w=c.length;b<w;++b)if((d=c[b]).type===n.type&&d.name===n.name){this.removeEventListener(d.type,d.listener,d.options),this.addEventListener(d.type,d.listener=g,d.options=s),d.value=i;return}}this.addEventListener(n.type,g,s),d={type:n.type,name:n.name,value:i,listener:g,options:s},c?c.push(d):this.__on=[d]}}function T6n(n,i,s){var c=v6n(n+""),d,g=c.length,b;if(arguments.length<2){var w=this.node().__on;if(w){for(var E=0,S=w.length,_;E<S;++E)for(d=0,_=w[E];d<g;++d)if((b=c[d]).type===_.type&&b.name===_.name)return _.value}return}for(w=i?S6n:E6n,d=0;d<g;++d)this.each(w(c[d],i,s));return this}function BHt(n,i,s){var c=MHt(n),d=c.CustomEvent;typeof d=="function"?d=new d(i,s):(d=c.document.createEvent("Event"),s?(d.initEvent(i,s.bubbles,s.cancelable),d.detail=s.detail):d.initEvent(i,!1,!1)),n.dispatchEvent(d)}function A6n(n,i){return function(){return BHt(this,n,i)}}function _6n(n,i){return function(){return BHt(this,n,i.apply(this,arguments))}}function x6n(n,i){return this.each((typeof i=="function"?_6n:A6n)(n,i))}function*k6n(){for(var n=this._groups,i=0,s=n.length;i<s;++i)for(var c=n[i],d=0,g=c.length,b;d<g;++d)(b=c[d])&&(yield b)}var UHt=[null];function zm(n,i){this._groups=n,this._parents=i}function Sz(){return new zm([[document.documentElement]],UHt)}function N6n(){return this}zm.prototype=Sz.prototype={constructor:zm,select:eOn,selectAll:iOn,selectChild:cOn,selectChildren:fOn,filter:hOn,data:yOn,enter:pOn,exit:EOn,join:SOn,merge:TOn,selection:N6n,order:AOn,sort:_On,call:kOn,nodes:NOn,node:COn,size:IOn,empty:ROn,each:OOn,attr:$On,style:zOn,property:WOn,classed:XOn,text:t6n,html:o6n,raise:a6n,lower:u6n,append:l6n,insert:f6n,remove:p6n,clone:m6n,datum:w6n,on:T6n,dispatch:x6n,[Symbol.iterator]:k6n};function jm(n){return typeof n=="string"?new zm([[document.querySelector(n)]],[document.documentElement]):new zm([[n]],UHt)}function C6n(n){let i;for(;i=n.sourceEvent;)n=i;return n}function Iv(n,i){if(n=C6n(n),i===void 0&&(i=n.currentTarget),i){var s=i.ownerSVGElement||i;if(s.createSVGPoint){var c=s.createSVGPoint();return c.x=n.clientX,c.y=n.clientY,c=c.matrixTransform(i.getScreenCTM().inverse()),[c.x,c.y]}if(i.getBoundingClientRect){var d=i.getBoundingClientRect();return[n.clientX-d.left-i.clientLeft,n.clientY-d.top-i.clientTop]}}return[n.pageX,n.pageY]}const I6n={passive:!1},qH={capture:!0,passive:!1};function $Ce(n){n.stopImmediatePropagation()}function nM(n){n.preventDefault(),n.stopImmediatePropagation()}function HHt(n){var i=n.document.documentElement,s=jm(n).on("dragstart.drag",nM,qH);"onselectstart"in i?s.on("selectstart.drag",nM,qH):(i.__noselect=i.style.MozUserSelect,i.style.MozUserSelect="none")}function zHt(n,i){var s=n.document.documentElement,c=jm(n).on("dragstart.drag",null);i&&(c.on("click.drag",nM,qH),setTimeout(function(){c.on("click.drag",null)},0)),"onselectstart"in s?c.on("selectstart.drag",null):(s.style.MozUserSelect=s.__noselect,delete s.__noselect)}const pie=n=>()=>n;function lDe(n,{sourceEvent:i,subject:s,target:c,identifier:d,active:g,x:b,y:w,dx:E,dy:S,dispatch:_}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:i,enumerable:!0,configurable:!0},subject:{value:s,enumerable:!0,configurable:!0},target:{value:c,enumerable:!0,configurable:!0},identifier:{value:d,enumerable:!0,configurable:!0},active:{value:g,enumerable:!0,configurable:!0},x:{value:b,enumerable:!0,configurable:!0},y:{value:w,enumerable:!0,configurable:!0},dx:{value:E,enumerable:!0,configurable:!0},dy:{value:S,enumerable:!0,configurable:!0},_:{value:_}})}lDe.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function R6n(n){return!n.ctrlKey&&!n.button}function O6n(){return this.parentNode}function D6n(n,i){return i??{x:n.x,y:n.y}}function L6n(){return navigator.maxTouchPoints||"ontouchstart"in this}function GHt(){var n=R6n,i=O6n,s=D6n,c=L6n,d={},g=Kse("start","drag","end"),b=0,w,E,S,_,A=0;function C(z){z.on("mousedown.drag",O).filter(c).on("touchstart.drag",B).on("touchmove.drag",$,I6n).on("touchend.drag touchcancel.drag",P).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function O(z,ee){if(!(_||!n.call(this,z,ee))){var ne=j(this,i.call(this,z,ee),z,ee,"mouse");ne&&(jm(z.view).on("mousemove.drag",L,qH).on("mouseup.drag",D,qH),HHt(z.view),$Ce(z),S=!1,w=z.clientX,E=z.clientY,ne("start",z))}}function L(z){if(nM(z),!S){var ee=z.clientX-w,ne=z.clientY-E;S=ee*ee+ne*ne>A}d.mouse("drag",z)}function D(z){jm(z.view).on("mousemove.drag mouseup.drag",null),zHt(z.view,S),nM(z),d.mouse("end",z)}function B(z,ee){if(n.call(this,z,ee)){var ne=z.changedTouches,Q=i.call(this,z,ee),ae=ne.length,he,pe;for(he=0;he<ae;++he)(pe=j(this,Q,z,ee,ne[he].identifier,ne[he]))&&($Ce(z),pe("start",z,ne[he]))}}function $(z){var ee=z.changedTouches,ne=ee.length,Q,ae;for(Q=0;Q<ne;++Q)(ae=d[ee[Q].identifier])&&(nM(z),ae("drag",z,ee[Q]))}function P(z){var ee=z.changedTouches,ne=ee.length,Q,ae;for(_&&clearTimeout(_),_=setTimeout(function(){_=null},500),Q=0;Q<ne;++Q)(ae=d[ee[Q].identifier])&&($Ce(z),ae("end",z,ee[Q]))}function j(z,ee,ne,Q,ae,he){var pe=g.copy(),ue=Iv(he||ne,ee),fe,K,ge;if((ge=s.call(z,new lDe("beforestart",{sourceEvent:ne,target:C,identifier:ae,active:b,x:ue[0],y:ue[1],dx:0,dy:0,dispatch:pe}),Q))!=null)return fe=ge.x-ue[0]||0,K=ge.y-ue[1]||0,function De(Se,Re,Ae){var xe=ue,We;switch(Se){case"start":d[ae]=De,We=b++;break;case"end":delete d[ae],--b;case"drag":ue=Iv(Ae||Re,ee),We=b;break}pe.call(Se,z,new lDe(Se,{sourceEvent:Re,subject:ge,target:C,identifier:ae,active:We,x:ue[0]+fe,y:ue[1]+K,dx:ue[0]-xe[0],dy:ue[1]-xe[1],dispatch:pe}),Q)}}return C.filter=function(z){return arguments.length?(n=typeof z=="function"?z:pie(!!z),C):n},C.container=function(z){return arguments.length?(i=typeof z=="function"?z:pie(z),C):i},C.subject=function(z){return arguments.length?(s=typeof z=="function"?z:pie(z),C):s},C.touchable=function(z){return arguments.length?(c=typeof z=="function"?z:pie(!!z),C):c},C.on=function(){var z=g.on.apply(g,arguments);return z===g?C:z},C.clickDistance=function(z){return arguments.length?(A=(z=+z)*z,C):Math.sqrt(A)},C}function k5e(n,i,s){n.prototype=i.prototype=s,s.constructor=n}function qHt(n,i){var s=Object.create(n.prototype);for(var c in i)s[c]=i[c];return s}function Tz(){}var VH=.7,zoe=1/VH,rM="\\s*([+-]?\\d+)\\s*",WH="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",F2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",M6n=/^#([0-9a-f]{3,8})$/,P6n=new RegExp(`^rgb\\(${rM},${rM},${rM}\\)$`),j6n=new RegExp(`^rgb\\(${F2},${F2},${F2}\\)$`),F6n=new RegExp(`^rgba\\(${rM},${rM},${rM},${WH}\\)$`),$6n=new RegExp(`^rgba\\(${F2},${F2},${F2},${WH}\\)$`),B6n=new RegExp(`^hsl\\(${WH},${F2},${F2}\\)$`),U6n=new RegExp(`^hsla\\(${WH},${F2},${F2},${WH}\\)$`),NMt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};k5e(Tz,dR,{copy(n){return Object.assign(new this.constructor,this,n)},displayable(){return this.rgb().displayable()},hex:CMt,formatHex:CMt,formatHex8:H6n,formatHsl:z6n,formatRgb:IMt,toString:IMt});function CMt(){return this.rgb().formatHex()}function H6n(){return this.rgb().formatHex8()}function z6n(){return VHt(this).formatHsl()}function IMt(){return this.rgb().formatRgb()}function dR(n){var i,s;return n=(n+"").trim().toLowerCase(),(i=M6n.exec(n))?(s=i[1].length,i=parseInt(i[1],16),s===6?RMt(i):s===3?new cb(i>>8&15|i>>4&240,i>>4&15|i&240,(i&15)<<4|i&15,1):s===8?gie(i>>24&255,i>>16&255,i>>8&255,(i&255)/255):s===4?gie(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|i&240,((i&15)<<4|i&15)/255):null):(i=P6n.exec(n))?new cb(i[1],i[2],i[3],1):(i=j6n.exec(n))?new cb(i[1]*255/100,i[2]*255/100,i[3]*255/100,1):(i=F6n.exec(n))?gie(i[1],i[2],i[3],i[4]):(i=$6n.exec(n))?gie(i[1]*255/100,i[2]*255/100,i[3]*255/100,i[4]):(i=B6n.exec(n))?LMt(i[1],i[2]/100,i[3]/100,1):(i=U6n.exec(n))?LMt(i[1],i[2]/100,i[3]/100,i[4]):NMt.hasOwnProperty(n)?RMt(NMt[n]):n==="transparent"?new cb(NaN,NaN,NaN,0):null}function RMt(n){return new cb(n>>16&255,n>>8&255,n&255,1)}function gie(n,i,s,c){return c<=0&&(n=i=s=NaN),new cb(n,i,s,c)}function G6n(n){return n instanceof Tz||(n=dR(n)),n?(n=n.rgb(),new cb(n.r,n.g,n.b,n.opacity)):new cb}function dDe(n,i,s,c){return arguments.length===1?G6n(n):new cb(n,i,s,c??1)}function cb(n,i,s,c){this.r=+n,this.g=+i,this.b=+s,this.opacity=+c}k5e(cb,dDe,qHt(Tz,{brighter(n){return n=n==null?zoe:Math.pow(zoe,n),new cb(this.r*n,this.g*n,this.b*n,this.opacity)},darker(n){return n=n==null?VH:Math.pow(VH,n),new cb(this.r*n,this.g*n,this.b*n,this.opacity)},rgb(){return this},clamp(){return new cb(tR(this.r),tR(this.g),tR(this.b),Goe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:OMt,formatHex:OMt,formatHex8:q6n,formatRgb:DMt,toString:DMt}));function OMt(){return`#${Z4(this.r)}${Z4(this.g)}${Z4(this.b)}`}function q6n(){return`#${Z4(this.r)}${Z4(this.g)}${Z4(this.b)}${Z4((isNaN(this.opacity)?1:this.opacity)*255)}`}function DMt(){const n=Goe(this.opacity);return`${n===1?"rgb(":"rgba("}${tR(this.r)}, ${tR(this.g)}, ${tR(this.b)}${n===1?")":`, ${n})`}`}function Goe(n){return isNaN(n)?1:Math.max(0,Math.min(1,n))}function tR(n){return Math.max(0,Math.min(255,Math.round(n)||0))}function Z4(n){return n=tR(n),(n<16?"0":"")+n.toString(16)}function LMt(n,i,s,c){return c<=0?n=i=s=NaN:s<=0||s>=1?n=i=NaN:i<=0&&(n=NaN),new Ov(n,i,s,c)}function VHt(n){if(n instanceof Ov)return new Ov(n.h,n.s,n.l,n.opacity);if(n instanceof Tz||(n=dR(n)),!n)return new Ov;if(n instanceof Ov)return n;n=n.rgb();var i=n.r/255,s=n.g/255,c=n.b/255,d=Math.min(i,s,c),g=Math.max(i,s,c),b=NaN,w=g-d,E=(g+d)/2;return w?(i===g?b=(s-c)/w+(s<c)*6:s===g?b=(c-i)/w+2:b=(i-s)/w+4,w/=E<.5?g+d:2-g-d,b*=60):w=E>0&&E<1?0:b,new Ov(b,w,E,n.opacity)}function V6n(n,i,s,c){return arguments.length===1?VHt(n):new Ov(n,i,s,c??1)}function Ov(n,i,s,c){this.h=+n,this.s=+i,this.l=+s,this.opacity=+c}k5e(Ov,V6n,qHt(Tz,{brighter(n){return n=n==null?zoe:Math.pow(zoe,n),new Ov(this.h,this.s,this.l*n,this.opacity)},darker(n){return n=n==null?VH:Math.pow(VH,n),new Ov(this.h,this.s,this.l*n,this.opacity)},rgb(){var n=this.h%360+(this.h<0)*360,i=isNaN(n)||isNaN(this.s)?0:this.s,s=this.l,c=s+(s<.5?s:1-s)*i,d=2*s-c;return new cb(BCe(n>=240?n-240:n+120,d,c),BCe(n,d,c),BCe(n<120?n+240:n-120,d,c),this.opacity)},clamp(){return new Ov(MMt(this.h),bie(this.s),bie(this.l),Goe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const n=Goe(this.opacity);return`${n===1?"hsl(":"hsla("}${MMt(this.h)}, ${bie(this.s)*100}%, ${bie(this.l)*100}%${n===1?")":`, ${n})`}`}}));function MMt(n){return n=(n||0)%360,n<0?n+360:n}function bie(n){return Math.max(0,Math.min(1,n||0))}function BCe(n,i,s){return(n<60?i+(s-i)*n/60:n<180?s:n<240?i+(s-i)*(240-n)/60:i)*255}const N5e=n=>()=>n;function W6n(n,i){return function(s){return n+s*i}}function K6n(n,i,s){return n=Math.pow(n,s),i=Math.pow(i,s)-n,s=1/s,function(c){return Math.pow(n+c*i,s)}}function Y6n(n){return(n=+n)==1?WHt:function(i,s){return s-i?K6n(i,s,n):N5e(isNaN(i)?s:i)}}function WHt(n,i){var s=i-n;return s?W6n(n,s):N5e(isNaN(n)?i:n)}const qoe=function n(i){var s=Y6n(i);function c(d,g){var b=s((d=dDe(d)).r,(g=dDe(g)).r),w=s(d.g,g.g),E=s(d.b,g.b),S=WHt(d.opacity,g.opacity);return function(_){return d.r=b(_),d.g=w(_),d.b=E(_),d.opacity=S(_),d+""}}return c.gamma=n,c}(1);function J6n(n,i){i||(i=[]);var s=n?Math.min(i.length,n.length):0,c=i.slice(),d;return function(g){for(d=0;d<s;++d)c[d]=n[d]*(1-g)+i[d]*g;return c}}function X6n(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function Z6n(n,i){var s=i?i.length:0,c=n?Math.min(s,n.length):0,d=new Array(c),g=new Array(s),b;for(b=0;b<c;++b)d[b]=yH(n[b],i[b]);for(;b<s;++b)g[b]=i[b];return function(w){for(b=0;b<c;++b)g[b]=d[b](w);return g}}function Q6n(n,i){var s=new Date;return n=+n,i=+i,function(c){return s.setTime(n*(1-c)+i*c),s}}function C2(n,i){return n=+n,i=+i,function(s){return n*(1-s)+i*s}}function eDn(n,i){var s={},c={},d;(n===null||typeof n!="object")&&(n={}),(i===null||typeof i!="object")&&(i={});for(d in i)d in n?s[d]=yH(n[d],i[d]):c[d]=i[d];return function(g){for(d in s)c[d]=s[d](g);return c}}var fDe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,UCe=new RegExp(fDe.source,"g");function tDn(n){return function(){return n}}function nDn(n){return function(i){return n(i)+""}}function KHt(n,i){var s=fDe.lastIndex=UCe.lastIndex=0,c,d,g,b=-1,w=[],E=[];for(n=n+"",i=i+"";(c=fDe.exec(n))&&(d=UCe.exec(i));)(g=d.index)>s&&(g=i.slice(s,g),w[b]?w[b]+=g:w[++b]=g),(c=c[0])===(d=d[0])?w[b]?w[b]+=d:w[++b]=d:(w[++b]=null,E.push({i:b,x:C2(c,d)})),s=UCe.lastIndex;return s<i.length&&(g=i.slice(s),w[b]?w[b]+=g:w[++b]=g),w.length<2?E[0]?nDn(E[0].x):tDn(i):(i=E.length,function(S){for(var _=0,A;_<i;++_)w[(A=E[_]).i]=A.x(S);return w.join("")})}function yH(n,i){var s=typeof i,c;return i==null||s==="boolean"?N5e(i):(s==="number"?C2:s==="string"?(c=dR(i))?(i=c,qoe):KHt:i instanceof dR?qoe:i instanceof Date?Q6n:X6n(i)?J6n:Array.isArray(i)?Z6n:typeof i.valueOf!="function"&&typeof i.toString!="function"||isNaN(i)?eDn:C2)(n,i)}var PMt=180/Math.PI,hDe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function YHt(n,i,s,c,d,g){var b,w,E;return(b=Math.sqrt(n*n+i*i))&&(n/=b,i/=b),(E=n*s+i*c)&&(s-=n*E,c-=i*E),(w=Math.sqrt(s*s+c*c))&&(s/=w,c/=w,E/=w),n*c<i*s&&(n=-n,i=-i,E=-E,b=-b),{translateX:d,translateY:g,rotate:Math.atan2(i,n)*PMt,skewX:Math.atan(E)*PMt,scaleX:b,scaleY:w}}var mie;function rDn(n){const i=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(n+"");return i.isIdentity?hDe:YHt(i.a,i.b,i.c,i.d,i.e,i.f)}function iDn(n){return n==null||(mie||(mie=document.createElementNS("http://www.w3.org/2000/svg","g")),mie.setAttribute("transform",n),!(n=mie.transform.baseVal.consolidate()))?hDe:(n=n.matrix,YHt(n.a,n.b,n.c,n.d,n.e,n.f))}function JHt(n,i,s,c){function d(S){return S.length?S.pop()+" ":""}function g(S,_,A,C,O,L){if(S!==A||_!==C){var D=O.push("translate(",null,i,null,s);L.push({i:D-4,x:C2(S,A)},{i:D-2,x:C2(_,C)})}else(A||C)&&O.push("translate("+A+i+C+s)}function b(S,_,A,C){S!==_?(S-_>180?_+=360:_-S>180&&(S+=360),C.push({i:A.push(d(A)+"rotate(",null,c)-2,x:C2(S,_)})):_&&A.push(d(A)+"rotate("+_+c)}function w(S,_,A,C){S!==_?C.push({i:A.push(d(A)+"skewX(",null,c)-2,x:C2(S,_)}):_&&A.push(d(A)+"skewX("+_+c)}function E(S,_,A,C,O,L){if(S!==A||_!==C){var D=O.push(d(O)+"scale(",null,",",null,")");L.push({i:D-4,x:C2(S,A)},{i:D-2,x:C2(_,C)})}else(A!==1||C!==1)&&O.push(d(O)+"scale("+A+","+C+")")}return function(S,_){var A=[],C=[];return S=n(S),_=n(_),g(S.translateX,S.translateY,_.translateX,_.translateY,A,C),b(S.rotate,_.rotate,A,C),w(S.skewX,_.skewX,A,C),E(S.scaleX,S.scaleY,_.scaleX,_.scaleY,A,C),S=_=null,function(O){for(var L=-1,D=C.length,B;++L<D;)A[(B=C[L]).i]=B.x(O);return A.join("")}}}var oDn=JHt(rDn,"px, ","px)","deg)"),sDn=JHt(iDn,", ",")",")"),aDn=1e-12;function jMt(n){return((n=Math.exp(n))+1/n)/2}function cDn(n){return((n=Math.exp(n))-1/n)/2}function uDn(n){return((n=Math.exp(2*n))-1)/(n+1)}const noe=function n(i,s,c){function d(g,b){var w=g[0],E=g[1],S=g[2],_=b[0],A=b[1],C=b[2],O=_-w,L=A-E,D=O*O+L*L,B,$;if(D<aDn)$=Math.log(C/S)/i,B=function(Q){return[w+Q*O,E+Q*L,S*Math.exp(i*Q*$)]};else{var P=Math.sqrt(D),j=(C*C-S*S+c*D)/(2*S*s*P),z=(C*C-S*S-c*D)/(2*C*s*P),ee=Math.log(Math.sqrt(j*j+1)-j),ne=Math.log(Math.sqrt(z*z+1)-z);$=(ne-ee)/i,B=function(Q){var ae=Q*$,he=jMt(ee),pe=S/(s*P)*(he*uDn(i*ae+ee)-cDn(ee));return[w+pe*O,E+pe*L,S*he/jMt(i*ae+ee)]}}return B.duration=$*1e3*i/Math.SQRT2,B}return d.rho=function(g){var b=Math.max(.001,+g),w=b*b,E=w*w;return n(b,w,E)},d}(Math.SQRT2,2,4);var EM=0,XU=0,$U=0,XHt=1e3,Voe,ZU,Woe=0,fR=0,Jse=0,KH=typeof performance=="object"&&performance.now?performance:Date,ZHt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function C5e(){return fR||(ZHt(lDn),fR=KH.now()+Jse)}function lDn(){fR=0}function Koe(){this._call=this._time=this._next=null}Koe.prototype=QHt.prototype={constructor:Koe,restart:function(n,i,s){if(typeof n!="function")throw new TypeError("callback is not a function");s=(s==null?C5e():+s)+(i==null?0:+i),!this._next&&ZU!==this&&(ZU?ZU._next=this:Voe=this,ZU=this),this._call=n,this._time=s,pDe()},stop:function(){this._call&&(this._call=null,this._time=1/0,pDe())}};function QHt(n,i,s){var c=new Koe;return c.restart(n,i,s),c}function dDn(){C5e(),++EM;for(var n=Voe,i;n;)(i=fR-n._time)>=0&&n._call.call(void 0,i),n=n._next;--EM}function FMt(){fR=(Woe=KH.now())+Jse,EM=XU=0;try{dDn()}finally{EM=0,hDn(),fR=0}}function fDn(){var n=KH.now(),i=n-Woe;i>XHt&&(Jse-=i,Woe=n)}function hDn(){for(var n,i=Voe,s,c=1/0;i;)i._call?(c>i._time&&(c=i._time),n=i,i=i._next):(s=i._next,i._next=null,i=n?n._next=s:Voe=s);ZU=n,pDe(c)}function pDe(n){if(!EM){XU&&(XU=clearTimeout(XU));var i=n-fR;i>24?(n<1/0&&(XU=setTimeout(FMt,n-KH.now()-Jse)),$U&&($U=clearInterval($U))):($U||(Woe=KH.now(),$U=setInterval(fDn,XHt)),EM=1,ZHt(FMt))}}function $Mt(n,i,s){var c=new Koe;return i=i==null?0:+i,c.restart(d=>{c.stop(),n(d+i)},i,s),c}var pDn=Kse("start","end","cancel","interrupt"),gDn=[],ezt=0,BMt=1,gDe=2,roe=3,UMt=4,bDe=5,ioe=6;function Xse(n,i,s,c,d,g){var b=n.__transition;if(!b)n.__transition={};else if(s in b)return;bDn(n,s,{name:i,index:c,group:d,on:pDn,tween:gDn,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:ezt})}function I5e(n,i){var s=Uv(n,i);if(s.state>ezt)throw new Error("too late; already scheduled");return s}function W2(n,i){var s=Uv(n,i);if(s.state>roe)throw new Error("too late; already running");return s}function Uv(n,i){var s=n.__transition;if(!s||!(s=s[i]))throw new Error("transition not found");return s}function bDn(n,i,s){var c=n.__transition,d;c[i]=s,s.timer=QHt(g,0,s.time);function g(S){s.state=BMt,s.timer.restart(b,s.delay,s.time),s.delay<=S&&b(S-s.delay)}function b(S){var _,A,C,O;if(s.state!==BMt)return E();for(_ in c)if(O=c[_],O.name===s.name){if(O.state===roe)return $Mt(b);O.state===UMt?(O.state=ioe,O.timer.stop(),O.on.call("interrupt",n,n.__data__,O.index,O.group),delete c[_]):+_<i&&(O.state=ioe,O.timer.stop(),O.on.call("cancel",n,n.__data__,O.index,O.group),delete c[_])}if($Mt(function(){s.state===roe&&(s.state=UMt,s.timer.restart(w,s.delay,s.time),w(S))}),s.state=gDe,s.on.call("start",n,n.__data__,s.index,s.group),s.state===gDe){for(s.state=roe,d=new Array(C=s.tween.length),_=0,A=-1;_<C;++_)(O=s.tween[_].value.call(n,n.__data__,s.index,s.group))&&(d[++A]=O);d.length=A+1}}function w(S){for(var _=S<s.duration?s.ease.call(null,S/s.duration):(s.timer.restart(E),s.state=bDe,1),A=-1,C=d.length;++A<C;)d[A].call(n,_);s.state===bDe&&(s.on.call("end",n,n.__data__,s.index,s.group),E())}function E(){s.state=ioe,s.timer.stop(),delete c[i];for(var S in c)return;delete n.__transition}}function ooe(n,i){var s=n.__transition,c,d,g=!0,b;if(s){i=i==null?null:i+"";for(b in s){if((c=s[b]).name!==i){g=!1;continue}d=c.state>gDe&&c.state<bDe,c.state=ioe,c.timer.stop(),c.on.call(d?"interrupt":"cancel",n,n.__data__,c.index,c.group),delete s[b]}g&&delete n.__transition}}function mDn(n){return this.each(function(){ooe(this,n)})}function wDn(n,i){var s,c;return function(){var d=W2(this,n),g=d.tween;if(g!==s){c=s=g;for(var b=0,w=c.length;b<w;++b)if(c[b].name===i){c=c.slice(),c.splice(b,1);break}}d.tween=c}}function yDn(n,i,s){var c,d;if(typeof s!="function")throw new Error;return function(){var g=W2(this,n),b=g.tween;if(b!==c){d=(c=b).slice();for(var w={name:i,value:s},E=0,S=d.length;E<S;++E)if(d[E].name===i){d[E]=w;break}E===S&&d.push(w)}g.tween=d}}function vDn(n,i){var s=this._id;if(n+="",arguments.length<2){for(var c=Uv(this.node(),s).tween,d=0,g=c.length,b;d<g;++d)if((b=c[d]).name===n)return b.value;return null}return this.each((i==null?wDn:yDn)(s,n,i))}function R5e(n,i,s){var c=n._id;return n.each(function(){var d=W2(this,c);(d.value||(d.value={}))[i]=s.apply(this,arguments)}),function(d){return Uv(d,c).value[i]}}function tzt(n,i){var s;return(typeof i=="number"?C2:i instanceof dR?qoe:(s=dR(i))?(i=s,qoe):KHt)(n,i)}function EDn(n){return function(){this.removeAttribute(n)}}function SDn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function TDn(n,i,s){var c,d=s+"",g;return function(){var b=this.getAttribute(n);return b===d?null:b===c?g:g=i(c=b,s)}}function ADn(n,i,s){var c,d=s+"",g;return function(){var b=this.getAttributeNS(n.space,n.local);return b===d?null:b===c?g:g=i(c=b,s)}}function _Dn(n,i,s){var c,d,g;return function(){var b,w=s(this),E;return w==null?void this.removeAttribute(n):(b=this.getAttribute(n),E=w+"",b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w)))}}function xDn(n,i,s){var c,d,g;return function(){var b,w=s(this),E;return w==null?void this.removeAttributeNS(n.space,n.local):(b=this.getAttributeNS(n.space,n.local),E=w+"",b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w)))}}function kDn(n,i){var s=Yse(n),c=s==="transform"?sDn:tzt;return this.attrTween(n,typeof i=="function"?(s.local?xDn:_Dn)(s,c,R5e(this,"attr."+n,i)):i==null?(s.local?SDn:EDn)(s):(s.local?ADn:TDn)(s,c,i))}function NDn(n,i){return function(s){this.setAttribute(n,i.call(this,s))}}function CDn(n,i){return function(s){this.setAttributeNS(n.space,n.local,i.call(this,s))}}function IDn(n,i){var s,c;function d(){var g=i.apply(this,arguments);return g!==c&&(s=(c=g)&&CDn(n,g)),s}return d._value=i,d}function RDn(n,i){var s,c;function d(){var g=i.apply(this,arguments);return g!==c&&(s=(c=g)&&NDn(n,g)),s}return d._value=i,d}function ODn(n,i){var s="attr."+n;if(arguments.length<2)return(s=this.tween(s))&&s._value;if(i==null)return this.tween(s,null);if(typeof i!="function")throw new Error;var c=Yse(n);return this.tween(s,(c.local?IDn:RDn)(c,i))}function DDn(n,i){return function(){I5e(this,n).delay=+i.apply(this,arguments)}}function LDn(n,i){return i=+i,function(){I5e(this,n).delay=i}}function MDn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?DDn:LDn)(i,n)):Uv(this.node(),i).delay}function PDn(n,i){return function(){W2(this,n).duration=+i.apply(this,arguments)}}function jDn(n,i){return i=+i,function(){W2(this,n).duration=i}}function FDn(n){var i=this._id;return arguments.length?this.each((typeof n=="function"?PDn:jDn)(i,n)):Uv(this.node(),i).duration}function $Dn(n,i){if(typeof i!="function")throw new Error;return function(){W2(this,n).ease=i}}function BDn(n){var i=this._id;return arguments.length?this.each($Dn(i,n)):Uv(this.node(),i).ease}function UDn(n,i){return function(){var s=i.apply(this,arguments);if(typeof s!="function")throw new Error;W2(this,n).ease=s}}function HDn(n){if(typeof n!="function")throw new Error;return this.each(UDn(this._id,n))}function zDn(n){typeof n!="function"&&(n=OHt(n));for(var i=this._groups,s=i.length,c=new Array(s),d=0;d<s;++d)for(var g=i[d],b=g.length,w=c[d]=[],E,S=0;S<b;++S)(E=g[S])&&n.call(E,E.__data__,S,g)&&w.push(E);return new yA(c,this._parents,this._name,this._id)}function GDn(n){if(n._id!==this._id)throw new Error;for(var i=this._groups,s=n._groups,c=i.length,d=s.length,g=Math.min(c,d),b=new Array(c),w=0;w<g;++w)for(var E=i[w],S=s[w],_=E.length,A=b[w]=new Array(_),C,O=0;O<_;++O)(C=E[O]||S[O])&&(A[O]=C);for(;w<c;++w)b[w]=i[w];return new yA(b,this._parents,this._name,this._id)}function qDn(n){return(n+"").trim().split(/^|\s+/).every(function(i){var s=i.indexOf(".");return s>=0&&(i=i.slice(0,s)),!i||i==="start"})}function VDn(n,i,s){var c,d,g=qDn(i)?I5e:W2;return function(){var b=g(this,n),w=b.on;w!==c&&(d=(c=w).copy()).on(i,s),b.on=d}}function WDn(n,i){var s=this._id;return arguments.length<2?Uv(this.node(),s).on.on(n):this.each(VDn(s,n,i))}function KDn(n){return function(){var i=this.parentNode;for(var s in this.__transition)if(+s!==n)return;i&&i.removeChild(this)}}function YDn(){return this.on("end.remove",KDn(this._id))}function JDn(n){var i=this._name,s=this._id;typeof n!="function"&&(n=_5e(n));for(var c=this._groups,d=c.length,g=new Array(d),b=0;b<d;++b)for(var w=c[b],E=w.length,S=g[b]=new Array(E),_,A,C=0;C<E;++C)(_=w[C])&&(A=n.call(_,_.__data__,C,w))&&("__data__"in _&&(A.__data__=_.__data__),S[C]=A,Xse(S[C],i,s,C,S,Uv(_,s)));return new yA(g,this._parents,i,s)}function XDn(n){var i=this._name,s=this._id;typeof n!="function"&&(n=RHt(n));for(var c=this._groups,d=c.length,g=[],b=[],w=0;w<d;++w)for(var E=c[w],S=E.length,_,A=0;A<S;++A)if(_=E[A]){for(var C=n.call(_,_.__data__,A,E),O,L=Uv(_,s),D=0,B=C.length;D<B;++D)(O=C[D])&&Xse(O,i,s,D,C,L);g.push(C),b.push(_)}return new yA(g,b,i,s)}var ZDn=Sz.prototype.constructor;function QDn(){return new ZDn(this._groups,this._parents)}function eLn(n,i){var s,c,d;return function(){var g=vM(this,n),b=(this.style.removeProperty(n),vM(this,n));return g===b?null:g===s&&b===c?d:d=i(s=g,c=b)}}function nzt(n){return function(){this.style.removeProperty(n)}}function tLn(n,i,s){var c,d=s+"",g;return function(){var b=vM(this,n);return b===d?null:b===c?g:g=i(c=b,s)}}function nLn(n,i,s){var c,d,g;return function(){var b=vM(this,n),w=s(this),E=w+"";return w==null&&(E=w=(this.style.removeProperty(n),vM(this,n))),b===E?null:b===c&&E===d?g:(d=E,g=i(c=b,w))}}function rLn(n,i){var s,c,d,g="style."+i,b="end."+g,w;return function(){var E=W2(this,n),S=E.on,_=E.value[g]==null?w||(w=nzt(i)):void 0;(S!==s||d!==_)&&(c=(s=S).copy()).on(b,d=_),E.on=c}}function iLn(n,i,s){var c=(n+="")=="transform"?oDn:tzt;return i==null?this.styleTween(n,eLn(n,c)).on("end.style."+n,nzt(n)):typeof i=="function"?this.styleTween(n,nLn(n,c,R5e(this,"style."+n,i))).each(rLn(this._id,n)):this.styleTween(n,tLn(n,c,i),s).on("end.style."+n,null)}function oLn(n,i,s){return function(c){this.style.setProperty(n,i.call(this,c),s)}}function sLn(n,i,s){var c,d;function g(){var b=i.apply(this,arguments);return b!==d&&(c=(d=b)&&oLn(n,b,s)),c}return g._value=i,g}function aLn(n,i,s){var c="style."+(n+="");if(arguments.length<2)return(c=this.tween(c))&&c._value;if(i==null)return this.tween(c,null);if(typeof i!="function")throw new Error;return this.tween(c,sLn(n,i,s??""))}function cLn(n){return function(){this.textContent=n}}function uLn(n){return function(){var i=n(this);this.textContent=i??""}}function lLn(n){return this.tween("text",typeof n=="function"?uLn(R5e(this,"text",n)):cLn(n==null?"":n+""))}function dLn(n){return function(i){this.textContent=n.call(this,i)}}function fLn(n){var i,s;function c(){var d=n.apply(this,arguments);return d!==s&&(i=(s=d)&&dLn(d)),i}return c._value=n,c}function hLn(n){var i="text";if(arguments.length<1)return(i=this.tween(i))&&i._value;if(n==null)return this.tween(i,null);if(typeof n!="function")throw new Error;return this.tween(i,fLn(n))}function pLn(){for(var n=this._name,i=this._id,s=rzt(),c=this._groups,d=c.length,g=0;g<d;++g)for(var b=c[g],w=b.length,E,S=0;S<w;++S)if(E=b[S]){var _=Uv(E,i);Xse(E,n,s,S,b,{time:_.time+_.delay+_.duration,delay:0,duration:_.duration,ease:_.ease})}return new yA(c,this._parents,n,s)}function gLn(){var n,i,s=this,c=s._id,d=s.size();return new Promise(function(g,b){var w={value:b},E={value:function(){--d===0&&g()}};s.each(function(){var S=W2(this,c),_=S.on;_!==n&&(i=(n=_).copy(),i._.cancel.push(w),i._.interrupt.push(w),i._.end.push(E)),S.on=i}),d===0&&g()})}var bLn=0;function yA(n,i,s,c){this._groups=n,this._parents=i,this._name=s,this._id=c}function rzt(){return++bLn}var nA=Sz.prototype;yA.prototype={constructor:yA,select:JDn,selectAll:XDn,selectChild:nA.selectChild,selectChildren:nA.selectChildren,filter:zDn,merge:GDn,selection:QDn,transition:pLn,call:nA.call,nodes:nA.nodes,node:nA.node,size:nA.size,empty:nA.empty,each:nA.each,on:WDn,attr:kDn,attrTween:ODn,style:iLn,styleTween:aLn,text:lLn,textTween:hLn,remove:YDn,tween:vDn,delay:MDn,duration:FDn,ease:BDn,easeVarying:HDn,end:gLn,[Symbol.iterator]:nA[Symbol.iterator]};function mLn(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var wLn={time:null,delay:0,duration:250,ease:mLn};function yLn(n,i){for(var s;!(s=n.__transition)||!(s=s[i]);)if(!(n=n.parentNode))throw new Error(`transition ${i} not found`);return s}function vLn(n){var i,s;n instanceof yA?(i=n._id,n=n._name):(i=rzt(),(s=wLn).time=C5e(),n=n==null?null:n+"");for(var c=this._groups,d=c.length,g=0;g<d;++g)for(var b=c[g],w=b.length,E,S=0;S<w;++S)(E=b[S])&&Xse(E,n,i,S,b,s||yLn(E,i));return new yA(c,this._parents,n,i)}Sz.prototype.interrupt=mDn;Sz.prototype.transition=vLn;const wie=n=>()=>n;function ELn(n,{sourceEvent:i,target:s,transform:c,dispatch:d}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:i,enumerable:!0,configurable:!0},target:{value:s,enumerable:!0,configurable:!0},transform:{value:c,enumerable:!0,configurable:!0},_:{value:d}})}function lA(n,i,s){this.k=n,this.x=i,this.y=s}lA.prototype={constructor:lA,scale:function(n){return n===1?this:new lA(this.k*n,this.x,this.y)},translate:function(n,i){return n===0&i===0?this:new lA(this.k,this.x+this.k*n,this.y+this.k*i)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Zse=new lA(1,0,0);izt.prototype=lA.prototype;function izt(n){for(;!n.__zoom;)if(!(n=n.parentNode))return Zse;return n.__zoom}function HCe(n){n.stopImmediatePropagation()}function BU(n){n.preventDefault(),n.stopImmediatePropagation()}function SLn(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function TLn(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]):[[0,0],[n.clientWidth,n.clientHeight]]}function HMt(){return this.__zoom||Zse}function ALn(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function _Ln(){return navigator.maxTouchPoints||"ontouchstart"in this}function xLn(n,i,s){var c=n.invertX(i[0][0])-s[0][0],d=n.invertX(i[1][0])-s[1][0],g=n.invertY(i[0][1])-s[0][1],b=n.invertY(i[1][1])-s[1][1];return n.translate(d>c?(c+d)/2:Math.min(0,c)||Math.max(0,d),b>g?(g+b)/2:Math.min(0,g)||Math.max(0,b))}function ozt(){var n=SLn,i=TLn,s=xLn,c=ALn,d=_Ln,g=[0,1/0],b=[[-1/0,-1/0],[1/0,1/0]],w=250,E=noe,S=Kse("start","zoom","end"),_,A,C,O=500,L=150,D=0,B=10;function $(ge){ge.property("__zoom",HMt).on("wheel.zoom",ae,{passive:!1}).on("mousedown.zoom",he).on("dblclick.zoom",pe).filter(d).on("touchstart.zoom",ue).on("touchmove.zoom",fe).on("touchend.zoom touchcancel.zoom",K).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}$.transform=function(ge,De,Se,Re){var Ae=ge.selection?ge.selection():ge;Ae.property("__zoom",HMt),ge!==Ae?ee(ge,De,Se,Re):Ae.interrupt().each(function(){ne(this,arguments).event(Re).start().zoom(null,typeof De=="function"?De.apply(this,arguments):De).end()})},$.scaleBy=function(ge,De,Se,Re){$.scaleTo(ge,function(){var Ae=this.__zoom.k,xe=typeof De=="function"?De.apply(this,arguments):De;return Ae*xe},Se,Re)},$.scaleTo=function(ge,De,Se,Re){$.transform(ge,function(){var Ae=i.apply(this,arguments),xe=this.__zoom,We=Se==null?z(Ae):typeof Se=="function"?Se.apply(this,arguments):Se,ut=xe.invert(We),Be=typeof De=="function"?De.apply(this,arguments):De;return s(j(P(xe,Be),We,ut),Ae,b)},Se,Re)},$.translateBy=function(ge,De,Se,Re){$.transform(ge,function(){return s(this.__zoom.translate(typeof De=="function"?De.apply(this,arguments):De,typeof Se=="function"?Se.apply(this,arguments):Se),i.apply(this,arguments),b)},null,Re)},$.translateTo=function(ge,De,Se,Re,Ae){$.transform(ge,function(){var xe=i.apply(this,arguments),We=this.__zoom,ut=Re==null?z(xe):typeof Re=="function"?Re.apply(this,arguments):Re;return s(Zse.translate(ut[0],ut[1]).scale(We.k).translate(typeof De=="function"?-De.apply(this,arguments):-De,typeof Se=="function"?-Se.apply(this,arguments):-Se),xe,b)},Re,Ae)};function P(ge,De){return De=Math.max(g[0],Math.min(g[1],De)),De===ge.k?ge:new lA(De,ge.x,ge.y)}function j(ge,De,Se){var Re=De[0]-Se[0]*ge.k,Ae=De[1]-Se[1]*ge.k;return Re===ge.x&&Ae===ge.y?ge:new lA(ge.k,Re,Ae)}function z(ge){return[(+ge[0][0]+ +ge[1][0])/2,(+ge[0][1]+ +ge[1][1])/2]}function ee(ge,De,Se,Re){ge.on("start.zoom",function(){ne(this,arguments).event(Re).start()}).on("interrupt.zoom end.zoom",function(){ne(this,arguments).event(Re).end()}).tween("zoom",function(){var Ae=this,xe=arguments,We=ne(Ae,xe).event(Re),ut=i.apply(Ae,xe),Be=Se==null?z(ut):typeof Se=="function"?Se.apply(Ae,xe):Se,bt=Math.max(ut[1][0]-ut[0][0],ut[1][1]-ut[0][1]),Nt=Ae.__zoom,pt=typeof De=="function"?De.apply(Ae,xe):De,Kt=E(Nt.invert(Be).concat(bt/Nt.k),pt.invert(Be).concat(bt/pt.k));return function(Et){if(Et===1)Et=pt;else{var Dt=Kt(Et),Yt=bt/Dt[2];Et=new lA(Yt,Be[0]-Dt[0]*Yt,Be[1]-Dt[1]*Yt)}We.zoom(null,Et)}})}function ne(ge,De,Se){return!Se&&ge.__zooming||new Q(ge,De)}function Q(ge,De){this.that=ge,this.args=De,this.active=0,this.sourceEvent=null,this.extent=i.apply(ge,De),this.taps=0}Q.prototype={event:function(ge){return ge&&(this.sourceEvent=ge),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(ge,De){return this.mouse&&ge!=="mouse"&&(this.mouse[1]=De.invert(this.mouse[0])),this.touch0&&ge!=="touch"&&(this.touch0[1]=De.invert(this.touch0[0])),this.touch1&&ge!=="touch"&&(this.touch1[1]=De.invert(this.touch1[0])),this.that.__zoom=De,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(ge){var De=jm(this.that).datum();S.call(ge,this.that,new ELn(ge,{sourceEvent:this.sourceEvent,target:$,transform:this.that.__zoom,dispatch:S}),De)}};function ae(ge,...De){if(!n.apply(this,arguments))return;var Se=ne(this,De).event(ge),Re=this.__zoom,Ae=Math.max(g[0],Math.min(g[1],Re.k*Math.pow(2,c.apply(this,arguments)))),xe=Iv(ge);if(Se.wheel)(Se.mouse[0][0]!==xe[0]||Se.mouse[0][1]!==xe[1])&&(Se.mouse[1]=Re.invert(Se.mouse[0]=xe)),clearTimeout(Se.wheel);else{if(Re.k===Ae)return;Se.mouse=[xe,Re.invert(xe)],ooe(this),Se.start()}BU(ge),Se.wheel=setTimeout(We,L),Se.zoom("mouse",s(j(P(Re,Ae),Se.mouse[0],Se.mouse[1]),Se.extent,b));function We(){Se.wheel=null,Se.end()}}function he(ge,...De){if(C||!n.apply(this,arguments))return;var Se=ge.currentTarget,Re=ne(this,De,!0).event(ge),Ae=jm(ge.view).on("mousemove.zoom",Be,!0).on("mouseup.zoom",bt,!0),xe=Iv(ge,Se),We=ge.clientX,ut=ge.clientY;HHt(ge.view),HCe(ge),Re.mouse=[xe,this.__zoom.invert(xe)],ooe(this),Re.start();function Be(Nt){if(BU(Nt),!Re.moved){var pt=Nt.clientX-We,Kt=Nt.clientY-ut;Re.moved=pt*pt+Kt*Kt>D}Re.event(Nt).zoom("mouse",s(j(Re.that.__zoom,Re.mouse[0]=Iv(Nt,Se),Re.mouse[1]),Re.extent,b))}function bt(Nt){Ae.on("mousemove.zoom mouseup.zoom",null),zHt(Nt.view,Re.moved),BU(Nt),Re.event(Nt).end()}}function pe(ge,...De){if(n.apply(this,arguments)){var Se=this.__zoom,Re=Iv(ge.changedTouches?ge.changedTouches[0]:ge,this),Ae=Se.invert(Re),xe=Se.k*(ge.shiftKey?.5:2),We=s(j(P(Se,xe),Re,Ae),i.apply(this,De),b);BU(ge),w>0?jm(this).transition().duration(w).call(ee,We,Re,ge):jm(this).call($.transform,We,Re,ge)}}function ue(ge,...De){if(n.apply(this,arguments)){var Se=ge.touches,Re=Se.length,Ae=ne(this,De,ge.changedTouches.length===Re).event(ge),xe,We,ut,Be;for(HCe(ge),We=0;We<Re;++We)ut=Se[We],Be=Iv(ut,this),Be=[Be,this.__zoom.invert(Be),ut.identifier],Ae.touch0?!Ae.touch1&&Ae.touch0[2]!==Be[2]&&(Ae.touch1=Be,Ae.taps=0):(Ae.touch0=Be,xe=!0,Ae.taps=1+!!_);_&&(_=clearTimeout(_)),xe&&(Ae.taps<2&&(A=Be[0],_=setTimeout(function(){_=null},O)),ooe(this),Ae.start())}}function fe(ge,...De){if(this.__zooming){var Se=ne(this,De).event(ge),Re=ge.changedTouches,Ae=Re.length,xe,We,ut,Be;for(BU(ge),xe=0;xe<Ae;++xe)We=Re[xe],ut=Iv(We,this),Se.touch0&&Se.touch0[2]===We.identifier?Se.touch0[0]=ut:Se.touch1&&Se.touch1[2]===We.identifier&&(Se.touch1[0]=ut);if(We=Se.that.__zoom,Se.touch1){var bt=Se.touch0[0],Nt=Se.touch0[1],pt=Se.touch1[0],Kt=Se.touch1[1],Et=(Et=pt[0]-bt[0])*Et+(Et=pt[1]-bt[1])*Et,Dt=(Dt=Kt[0]-Nt[0])*Dt+(Dt=Kt[1]-Nt[1])*Dt;We=P(We,Math.sqrt(Et/Dt)),ut=[(bt[0]+pt[0])/2,(bt[1]+pt[1])/2],Be=[(Nt[0]+Kt[0])/2,(Nt[1]+Kt[1])/2]}else if(Se.touch0)ut=Se.touch0[0],Be=Se.touch0[1];else return;Se.zoom("touch",s(j(We,ut,Be),Se.extent,b))}}function K(ge,...De){if(this.__zooming){var Se=ne(this,De).event(ge),Re=ge.changedTouches,Ae=Re.length,xe,We;for(HCe(ge),C&&clearTimeout(C),C=setTimeout(function(){C=null},O),xe=0;xe<Ae;++xe)We=Re[xe],Se.touch0&&Se.touch0[2]===We.identifier?delete Se.touch0:Se.touch1&&Se.touch1[2]===We.identifier&&delete Se.touch1;if(Se.touch1&&!Se.touch0&&(Se.touch0=Se.touch1,delete Se.touch1),Se.touch0)Se.touch0[1]=this.__zoom.invert(Se.touch0[0]);else if(Se.end(),Se.taps===2&&(We=Iv(We,this),Math.hypot(A[0]-We[0],A[1]-We[1])<B)){var ut=jm(this).on("dblclick.zoom");ut&&ut.apply(this,arguments)}}}return $.wheelDelta=function(ge){return arguments.length?(c=typeof ge=="function"?ge:wie(+ge),$):c},$.filter=function(ge){return arguments.length?(n=typeof ge=="function"?ge:wie(!!ge),$):n},$.touchable=function(ge){return arguments.length?(d=typeof ge=="function"?ge:wie(!!ge),$):d},$.extent=function(ge){return arguments.length?(i=typeof ge=="function"?ge:wie([[+ge[0][0],+ge[0][1]],[+ge[1][0],+ge[1][1]]]),$):i},$.scaleExtent=function(ge){return arguments.length?(g[0]=+ge[0],g[1]=+ge[1],$):[g[0],g[1]]},$.translateExtent=function(ge){return arguments.length?(b[0][0]=+ge[0][0],b[1][0]=+ge[1][0],b[0][1]=+ge[0][1],b[1][1]=+ge[1][1],$):[[b[0][0],b[0][1]],[b[1][0],b[1][1]]]},$.constrain=function(ge){return arguments.length?(s=ge,$):s},$.duration=function(ge){return arguments.length?(w=+ge,$):w},$.interpolate=function(ge){return arguments.length?(E=ge,$):E},$.on=function(){var ge=S.on.apply(S,arguments);return ge===S?$:ge},$.clickDistance=function(ge){return arguments.length?(D=(ge=+ge)*ge,$):Math.sqrt(D)},$.tapDistance=function(ge){return arguments.length?(B=+ge,$):B},$}const z2={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:n=>`Node type "${n}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:n=>`The old edge with id=${n} does not exist.`,error009:n=>`Marker type "${n}" doesn't exist.`,error008:(n,{id:i,sourceHandle:s,targetHandle:c})=>`Couldn't create edge for ${n} handle id: "${n==="source"?s:c}", edge id: ${i}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:n=>`Edge type "${n}" not found. Using fallback type "default".`,error012:n=>`Node with id "${n}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(n="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${n}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},YH=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],szt=["Enter"," ","Escape"],azt={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:n,x:i,y:s})=>`Moved selected node ${n}. New position, x: ${i}, y: ${s}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var SM;(function(n){n.Strict="strict",n.Loose="loose"})(SM||(SM={}));var nR;(function(n){n.Free="free",n.Vertical="vertical",n.Horizontal="horizontal"})(nR||(nR={}));var JH;(function(n){n.Partial="partial",n.Full="full"})(JH||(JH={}));const czt={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Bk;(function(n){n.Bezier="default",n.Straight="straight",n.Step="step",n.SmoothStep="smoothstep",n.SimpleBezier="simplebezier"})(Bk||(Bk={}));var sA;(function(n){n.Arrow="arrow",n.ArrowClosed="arrowclosed"})(sA||(sA={}));var qr;(function(n){n.Left="left",n.Top="top",n.Right="right",n.Bottom="bottom"})(qr||(qr={}));const zMt={[qr.Left]:qr.Right,[qr.Right]:qr.Left,[qr.Top]:qr.Bottom,[qr.Bottom]:qr.Top};function uzt(n){return n===null?null:n?"valid":"invalid"}const lzt=n=>"id"in n&&"source"in n&&"target"in n,kLn=n=>"id"in n&&"position"in n&&!("source"in n)&&!("target"in n),O5e=n=>"id"in n&&"internals"in n&&!("source"in n)&&!("target"in n),Az=(n,i=[0,0])=>{const{width:s,height:c}=_A(n),d=n.origin??i,g=s*d[0],b=c*d[1];return{x:n.position.x-g,y:n.position.y-b}},NLn=(n,i={nodeOrigin:[0,0]})=>{if(n.length===0)return{x:0,y:0,width:0,height:0};const s=n.reduce((c,d)=>{const g=typeof d=="string";let b=!i.nodeLookup&&!g?d:void 0;i.nodeLookup&&(b=g?i.nodeLookup.get(d):O5e(d)?d:i.nodeLookup.get(d.id));const w=b?Yoe(b,i.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Qse(c,w)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return eae(s)},_z=(n,i={})=>{let s={x:1/0,y:1/0,x2:-1/0,y2:-1/0},c=!1;return n.forEach(d=>{(i.filter===void 0||i.filter(d))&&(s=Qse(s,Yoe(d)),c=!0)}),c?eae(s):{x:0,y:0,width:0,height:0}},D5e=(n,i,[s,c,d]=[0,0,1],g=!1,b=!1)=>{const w={...kz(i,[s,c,d]),width:i.width/d,height:i.height/d},E=[];for(const S of n.values()){const{measured:_,selectable:A=!0,hidden:C=!1}=S;if(b&&!A||C)continue;const O=_.width??S.width??S.initialWidth??null,L=_.height??S.height??S.initialHeight??null,D=XH(w,AM(S)),B=(O??0)*(L??0),$=g&&D>0;(!S.internals.handleBounds||$||D>=B||S.dragging)&&E.push(S)}return E},CLn=(n,i)=>{const s=new Set;return n.forEach(c=>{s.add(c.id)}),i.filter(c=>s.has(c.source)||s.has(c.target))};function ILn(n,i){const s=new Map,c=i!=null&&i.nodes?new Set(i.nodes.map(d=>d.id)):null;return n.forEach(d=>{d.measured.width&&d.measured.height&&((i==null?void 0:i.includeHiddenNodes)||!d.hidden)&&(!c||c.has(d.id))&&s.set(d.id,d)}),s}async function RLn({nodes:n,width:i,height:s,panZoom:c,minZoom:d,maxZoom:g},b){if(n.size===0)return Promise.resolve(!0);const w=ILn(n,b),E=_z(w),S=L5e(E,i,s,(b==null?void 0:b.minZoom)??d,(b==null?void 0:b.maxZoom)??g,(b==null?void 0:b.padding)??.1);return await c.setViewport(S,{duration:b==null?void 0:b.duration,ease:b==null?void 0:b.ease,interpolate:b==null?void 0:b.interpolate}),Promise.resolve(!0)}function dzt({nodeId:n,nextPosition:i,nodeLookup:s,nodeOrigin:c=[0,0],nodeExtent:d,onError:g}){const b=s.get(n),w=b.parentId?s.get(b.parentId):void 0,{x:E,y:S}=w?w.internals.positionAbsolute:{x:0,y:0},_=b.origin??c;let A=b.extent||d;if(b.extent==="parent"&&!b.expandParent)if(!w)g==null||g("005",z2.error005());else{const O=w.measured.width,L=w.measured.height;O&&L&&(A=[[E,S],[E+O,S+L]])}else w&&_M(b.extent)&&(A=[[b.extent[0][0]+E,b.extent[0][1]+S],[b.extent[1][0]+E,b.extent[1][1]+S]]);const C=_M(A)?hR(i,A,b.measured):i;return(b.measured.width===void 0||b.measured.height===void 0)&&(g==null||g("015",z2.error015())),{position:{x:C.x-E+(b.measured.width??0)*_[0],y:C.y-S+(b.measured.height??0)*_[1]},positionAbsolute:C}}async function OLn({nodesToRemove:n=[],edgesToRemove:i=[],nodes:s,edges:c,onBeforeDelete:d}){const g=new Set(n.map(C=>C.id)),b=[];for(const C of s){if(C.deletable===!1)continue;const O=g.has(C.id),L=!O&&C.parentId&&b.find(D=>D.id===C.parentId);(O||L)&&b.push(C)}const w=new Set(i.map(C=>C.id)),E=c.filter(C=>C.deletable!==!1),_=CLn(b,E);for(const C of E)w.has(C.id)&&!_.find(L=>L.id===C.id)&&_.push(C);if(!d)return{edges:_,nodes:b};const A=await d({nodes:b,edges:_});return typeof A=="boolean"?A?{edges:_,nodes:b}:{edges:[],nodes:[]}:A}const TM=(n,i=0,s=1)=>Math.min(Math.max(n,i),s),hR=(n={x:0,y:0},i,s)=>({x:TM(n.x,i[0][0],i[1][0]-((s==null?void 0:s.width)??0)),y:TM(n.y,i[0][1],i[1][1]-((s==null?void 0:s.height)??0))});function fzt(n,i,s){const{width:c,height:d}=_A(s),{x:g,y:b}=s.internals.positionAbsolute;return hR(n,[[g,b],[g+c,b+d]],i)}const GMt=(n,i,s)=>n<i?TM(Math.abs(n-i),1,i)/i:n>s?-TM(Math.abs(n-s),1,i)/i:0,hzt=(n,i,s=15,c=40)=>{const d=GMt(n.x,c,i.width-c)*s,g=GMt(n.y,c,i.height-c)*s;return[d,g]},Qse=(n,i)=>({x:Math.min(n.x,i.x),y:Math.min(n.y,i.y),x2:Math.max(n.x2,i.x2),y2:Math.max(n.y2,i.y2)}),mDe=({x:n,y:i,width:s,height:c})=>({x:n,y:i,x2:n+s,y2:i+c}),eae=({x:n,y:i,x2:s,y2:c})=>({x:n,y:i,width:s-n,height:c-i}),AM=(n,i=[0,0])=>{var d,g;const{x:s,y:c}=O5e(n)?n.internals.positionAbsolute:Az(n,i);return{x:s,y:c,width:((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0,height:((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0}},Yoe=(n,i=[0,0])=>{var d,g;const{x:s,y:c}=O5e(n)?n.internals.positionAbsolute:Az(n,i);return{x:s,y:c,x2:s+(((d=n.measured)==null?void 0:d.width)??n.width??n.initialWidth??0),y2:c+(((g=n.measured)==null?void 0:g.height)??n.height??n.initialHeight??0)}},pzt=(n,i)=>eae(Qse(mDe(n),mDe(i))),XH=(n,i)=>{const s=Math.max(0,Math.min(n.x+n.width,i.x+i.width)-Math.max(n.x,i.x)),c=Math.max(0,Math.min(n.y+n.height,i.y+i.height)-Math.max(n.y,i.y));return Math.ceil(s*c)},qMt=n=>Dv(n.width)&&Dv(n.height)&&Dv(n.x)&&Dv(n.y),Dv=n=>!isNaN(n)&&isFinite(n),DLn=(n,i)=>{},xz=(n,i=[1,1])=>({x:i[0]*Math.round(n.x/i[0]),y:i[1]*Math.round(n.y/i[1])}),kz=({x:n,y:i},[s,c,d],g=!1,b=[1,1])=>{const w={x:(n-s)/d,y:(i-c)/d};return g?xz(w,b):w},Joe=({x:n,y:i},[s,c,d])=>({x:n*d+s,y:i*d+c});function m5(n,i){if(typeof n=="number")return Math.floor((i-i/(1+n))*.5);if(typeof n=="string"&&n.endsWith("px")){const s=parseFloat(n);if(!Number.isNaN(s))return Math.floor(s)}if(typeof n=="string"&&n.endsWith("%")){const s=parseFloat(n);if(!Number.isNaN(s))return Math.floor(i*s*.01)}return console.error(`[React Flow] The padding value "${n}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function LLn(n,i,s){if(typeof n=="string"||typeof n=="number"){const c=m5(n,s),d=m5(n,i);return{top:c,right:d,bottom:c,left:d,x:d*2,y:c*2}}if(typeof n=="object"){const c=m5(n.top??n.y??0,s),d=m5(n.bottom??n.y??0,s),g=m5(n.left??n.x??0,i),b=m5(n.right??n.x??0,i);return{top:c,right:b,bottom:d,left:g,x:g+b,y:c+d}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function MLn(n,i,s,c,d,g){const{x:b,y:w}=Joe(n,[i,s,c]),{x:E,y:S}=Joe({x:n.x+n.width,y:n.y+n.height},[i,s,c]),_=d-E,A=g-S;return{left:Math.floor(b),top:Math.floor(w),right:Math.floor(_),bottom:Math.floor(A)}}const L5e=(n,i,s,c,d,g)=>{const b=LLn(g,i,s),w=(i-b.x)/n.width,E=(s-b.y)/n.height,S=Math.min(w,E),_=TM(S,c,d),A=n.x+n.width/2,C=n.y+n.height/2,O=i/2-A*_,L=s/2-C*_,D=MLn(n,O,L,_,i,s),B={left:Math.min(D.left-b.left,0),top:Math.min(D.top-b.top,0),right:Math.min(D.right-b.right,0),bottom:Math.min(D.bottom-b.bottom,0)};return{x:O-B.left+B.right,y:L-B.top+B.bottom,zoom:_}},ZH=()=>{var n;return typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)==null?void 0:n.indexOf("Mac"))>=0};function _M(n){return n!=null&&n!=="parent"}function _A(n){var i,s;return{width:((i=n.measured)==null?void 0:i.width)??n.width??n.initialWidth??0,height:((s=n.measured)==null?void 0:s.height)??n.height??n.initialHeight??0}}function gzt(n){var i,s;return(((i=n.measured)==null?void 0:i.width)??n.width??n.initialWidth)!==void 0&&(((s=n.measured)==null?void 0:s.height)??n.height??n.initialHeight)!==void 0}function bzt(n,i={width:0,height:0},s,c,d){const g={...n},b=c.get(s);if(b){const w=b.origin||d;g.x+=b.internals.positionAbsolute.x-(i.width??0)*w[0],g.y+=b.internals.positionAbsolute.y-(i.height??0)*w[1]}return g}function VMt(n,i){if(n.size!==i.size)return!1;for(const s of n)if(!i.has(s))return!1;return!0}function PLn(){let n,i;return{promise:new Promise((c,d)=>{n=c,i=d}),resolve:n,reject:i}}function jLn(n){return{...azt,...n||{}}}function vH(n,{snapGrid:i=[0,0],snapToGrid:s=!1,transform:c,containerBounds:d}){const{x:g,y:b}=Lv(n),w=kz({x:g-((d==null?void 0:d.left)??0),y:b-((d==null?void 0:d.top)??0)},c),{x:E,y:S}=s?xz(w,i):w;return{xSnapped:E,ySnapped:S,...w}}const M5e=n=>({width:n.offsetWidth,height:n.offsetHeight}),mzt=n=>{var i;return((i=n==null?void 0:n.getRootNode)==null?void 0:i.call(n))||(window==null?void 0:window.document)},FLn=["INPUT","SELECT","TEXTAREA"];function wzt(n){var c,d;const i=((d=(c=n.composedPath)==null?void 0:c.call(n))==null?void 0:d[0])||n.target;return(i==null?void 0:i.nodeType)!==1?!1:FLn.includes(i.nodeName)||i.hasAttribute("contenteditable")||!!i.closest(".nokey")}const yzt=n=>"clientX"in n,Lv=(n,i)=>{var g,b;const s=yzt(n),c=s?n.clientX:(g=n.touches)==null?void 0:g[0].clientX,d=s?n.clientY:(b=n.touches)==null?void 0:b[0].clientY;return{x:c-((i==null?void 0:i.left)??0),y:d-((i==null?void 0:i.top)??0)}},WMt=(n,i,s,c,d)=>{const g=i.querySelectorAll(`.${n}`);return!g||!g.length?null:Array.from(g).map(b=>{const w=b.getBoundingClientRect();return{id:b.getAttribute("data-handleid"),type:n,nodeId:d,position:b.getAttribute("data-handlepos"),x:(w.left-s.left)/c,y:(w.top-s.top)/c,...M5e(b)}})};function vzt({sourceX:n,sourceY:i,targetX:s,targetY:c,sourceControlX:d,sourceControlY:g,targetControlX:b,targetControlY:w}){const E=n*.125+d*.375+b*.375+s*.125,S=i*.125+g*.375+w*.375+c*.125,_=Math.abs(E-n),A=Math.abs(S-i);return[E,S,_,A]}function yie(n,i){return n>=0?.5*n:i*25*Math.sqrt(-n)}function KMt({pos:n,x1:i,y1:s,x2:c,y2:d,c:g}){switch(n){case qr.Left:return[i-yie(i-c,g),s];case qr.Right:return[i+yie(c-i,g),s];case qr.Top:return[i,s-yie(s-d,g)];case qr.Bottom:return[i,s+yie(d-s,g)]}}function Ezt({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:c,targetY:d,targetPosition:g=qr.Top,curvature:b=.25}){const[w,E]=KMt({pos:s,x1:n,y1:i,x2:c,y2:d,c:b}),[S,_]=KMt({pos:g,x1:c,y1:d,x2:n,y2:i,c:b}),[A,C,O,L]=vzt({sourceX:n,sourceY:i,targetX:c,targetY:d,sourceControlX:w,sourceControlY:E,targetControlX:S,targetControlY:_});return[`M${n},${i} C${w},${E} ${S},${_} ${c},${d}`,A,C,O,L]}function Szt({sourceX:n,sourceY:i,targetX:s,targetY:c}){const d=Math.abs(s-n)/2,g=s<n?s+d:s-d,b=Math.abs(c-i)/2,w=c<i?c+b:c-b;return[g,w,d,b]}function $Ln({sourceNode:n,targetNode:i,selected:s=!1,zIndex:c=0,elevateOnSelect:d=!1,zIndexMode:g="basic"}){if(g==="manual")return c;const b=d&&s?c+1e3:c,w=Math.max(n.parentId||d&&n.selected?n.internals.z:0,i.parentId||d&&i.selected?i.internals.z:0);return b+w}function BLn({sourceNode:n,targetNode:i,width:s,height:c,transform:d}){const g=Qse(Yoe(n),Yoe(i));g.x===g.x2&&(g.x2+=1),g.y===g.y2&&(g.y2+=1);const b={x:-d[0]/d[2],y:-d[1]/d[2],width:s/d[2],height:c/d[2]};return XH(b,eae(g))>0}const ULn=({source:n,sourceHandle:i,target:s,targetHandle:c})=>`xy-edge__${n}${i||""}-${s}${c||""}`,HLn=(n,i)=>i.some(s=>s.source===n.source&&s.target===n.target&&(s.sourceHandle===n.sourceHandle||!s.sourceHandle&&!n.sourceHandle)&&(s.targetHandle===n.targetHandle||!s.targetHandle&&!n.targetHandle)),Tzt=(n,i,s={})=>{if(!n.source||!n.target)return i;const c=s.getEdgeId||ULn;let d;return lzt(n)?d={...n}:d={...n,id:c(n)},HLn(d,i)?i:(d.sourceHandle===null&&delete d.sourceHandle,d.targetHandle===null&&delete d.targetHandle,i.concat(d))};function Azt({sourceX:n,sourceY:i,targetX:s,targetY:c}){const[d,g,b,w]=Szt({sourceX:n,sourceY:i,targetX:s,targetY:c});return[`M ${n},${i}L ${s},${c}`,d,g,b,w]}const YMt={[qr.Left]:{x:-1,y:0},[qr.Right]:{x:1,y:0},[qr.Top]:{x:0,y:-1},[qr.Bottom]:{x:0,y:1}},zLn=({source:n,sourcePosition:i=qr.Bottom,target:s})=>i===qr.Left||i===qr.Right?n.x<s.x?{x:1,y:0}:{x:-1,y:0}:n.y<s.y?{x:0,y:1}:{x:0,y:-1},JMt=(n,i)=>Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2));function GLn({source:n,sourcePosition:i=qr.Bottom,target:s,targetPosition:c=qr.Top,center:d,offset:g,stepPosition:b}){const w=YMt[i],E=YMt[c],S={x:n.x+w.x*g,y:n.y+w.y*g},_={x:s.x+E.x*g,y:s.y+E.y*g},A=zLn({source:S,sourcePosition:i,target:_}),C=A.x!==0?"x":"y",O=A[C];let L=[],D,B;const $={x:0,y:0},P={x:0,y:0},[,,j,z]=Szt({sourceX:n.x,sourceY:n.y,targetX:s.x,targetY:s.y});if(w[C]*E[C]===-1){C==="x"?(D=d.x??S.x+(_.x-S.x)*b,B=d.y??(S.y+_.y)/2):(D=d.x??(S.x+_.x)/2,B=d.y??S.y+(_.y-S.y)*b);const ne=[{x:D,y:S.y},{x:D,y:_.y}],Q=[{x:S.x,y:B},{x:_.x,y:B}];w[C]===O?L=C==="x"?ne:Q:L=C==="x"?Q:ne}else{const ne=[{x:S.x,y:_.y}],Q=[{x:_.x,y:S.y}];if(C==="x"?L=w.x===O?Q:ne:L=w.y===O?ne:Q,i===c){const fe=Math.abs(n[C]-s[C]);if(fe<=g){const K=Math.min(g-1,g-fe);w[C]===O?$[C]=(S[C]>n[C]?-1:1)*K:P[C]=(_[C]>s[C]?-1:1)*K}}if(i!==c){const fe=C==="x"?"y":"x",K=w[C]===E[fe],ge=S[fe]>_[fe],De=S[fe]<_[fe];(w[C]===1&&(!K&&ge||K&&De)||w[C]!==1&&(!K&&De||K&&ge))&&(L=C==="x"?ne:Q)}const ae={x:S.x+$.x,y:S.y+$.y},he={x:_.x+P.x,y:_.y+P.y},pe=Math.max(Math.abs(ae.x-L[0].x),Math.abs(he.x-L[0].x)),ue=Math.max(Math.abs(ae.y-L[0].y),Math.abs(he.y-L[0].y));pe>=ue?(D=(ae.x+he.x)/2,B=L[0].y):(D=L[0].x,B=(ae.y+he.y)/2)}return[[n,{x:S.x+$.x,y:S.y+$.y},...L,{x:_.x+P.x,y:_.y+P.y},s],D,B,j,z]}function qLn(n,i,s,c){const d=Math.min(JMt(n,i)/2,JMt(i,s)/2,c),{x:g,y:b}=i;if(n.x===g&&g===s.x||n.y===b&&b===s.y)return`L${g} ${b}`;if(n.y===b){const S=n.x<s.x?-1:1,_=n.y<s.y?1:-1;return`L ${g+d*S},${b}Q ${g},${b} ${g},${b+d*_}`}const w=n.x<s.x?1:-1,E=n.y<s.y?-1:1;return`L ${g},${b+d*E}Q ${g},${b} ${g+d*w},${b}`}function Xoe({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:c,targetY:d,targetPosition:g=qr.Top,borderRadius:b=5,centerX:w,centerY:E,offset:S=20,stepPosition:_=.5}){const[A,C,O,L,D]=GLn({source:{x:n,y:i},sourcePosition:s,target:{x:c,y:d},targetPosition:g,center:{x:w,y:E},offset:S,stepPosition:_});return[A.reduce(($,P,j)=>{let z="";return j>0&&j<A.length-1?z=qLn(A[j-1],P,A[j+1],b):z=`${j===0?"M":"L"}${P.x} ${P.y}`,$+=z,$},""),C,O,L,D]}function XMt(n){var i;return n&&!!(n.internals.handleBounds||(i=n.handles)!=null&&i.length)&&!!(n.measured.width||n.width||n.initialWidth)}function VLn(n){var A;const{sourceNode:i,targetNode:s}=n;if(!XMt(i)||!XMt(s))return null;const c=i.internals.handleBounds||ZMt(i.handles),d=s.internals.handleBounds||ZMt(s.handles),g=QMt((c==null?void 0:c.source)??[],n.sourceHandle),b=QMt(n.connectionMode===SM.Strict?(d==null?void 0:d.target)??[]:((d==null?void 0:d.target)??[]).concat((d==null?void 0:d.source)??[]),n.targetHandle);if(!g||!b)return(A=n.onError)==null||A.call(n,"008",z2.error008(g?"target":"source",{id:n.id,sourceHandle:n.sourceHandle,targetHandle:n.targetHandle})),null;const w=(g==null?void 0:g.position)||qr.Bottom,E=(b==null?void 0:b.position)||qr.Top,S=pR(i,g,w),_=pR(s,b,E);return{sourceX:S.x,sourceY:S.y,targetX:_.x,targetY:_.y,sourcePosition:w,targetPosition:E}}function ZMt(n){if(!n)return null;const i=[],s=[];for(const c of n)c.width=c.width??1,c.height=c.height??1,c.type==="source"?i.push(c):c.type==="target"&&s.push(c);return{source:i,target:s}}function pR(n,i,s=qr.Left,c=!1){const d=((i==null?void 0:i.x)??0)+n.internals.positionAbsolute.x,g=((i==null?void 0:i.y)??0)+n.internals.positionAbsolute.y,{width:b,height:w}=i??_A(n);if(c)return{x:d+b/2,y:g+w/2};switch((i==null?void 0:i.position)??s){case qr.Top:return{x:d+b/2,y:g};case qr.Right:return{x:d+b,y:g+w/2};case qr.Bottom:return{x:d+b/2,y:g+w};case qr.Left:return{x:d,y:g+w/2}}}function QMt(n,i){return n&&(i?n.find(s=>s.id===i):n[0])||null}function wDe(n,i){return n?typeof n=="string"?n:`${i?`${i}__`:""}${Object.keys(n).sort().map(c=>`${c}=${n[c]}`).join("&")}`:""}function WLn(n,{id:i,defaultColor:s,defaultMarkerStart:c,defaultMarkerEnd:d}){const g=new Set;return n.reduce((b,w)=>([w.markerStart||c,w.markerEnd||d].forEach(E=>{if(E&&typeof E=="object"){const S=wDe(E,i);g.has(S)||(b.push({id:S,color:E.color||s,...E}),g.add(S))}}),b),[]).sort((b,w)=>b.id.localeCompare(w.id))}const _zt=1e3,KLn=10,P5e={nodeOrigin:[0,0],nodeExtent:YH,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},YLn={...P5e,checkEquality:!0};function j5e(n,i){const s={...n};for(const c in i)i[c]!==void 0&&(s[c]=i[c]);return s}function JLn(n,i,s){const c=j5e(P5e,s);for(const d of n.values())if(d.parentId)$5e(d,n,i,c);else{const g=Az(d,c.nodeOrigin),b=_M(d.extent)?d.extent:c.nodeExtent,w=hR(g,b,_A(d));d.internals.positionAbsolute=w}}function XLn(n,i){if(!n.handles)return n.measured?i==null?void 0:i.internals.handleBounds:void 0;const s=[],c=[];for(const d of n.handles){const g={id:d.id,width:d.width??1,height:d.height??1,nodeId:n.id,x:d.x,y:d.y,position:d.position,type:d.type};d.type==="source"?s.push(g):d.type==="target"&&c.push(g)}return{source:s,target:c}}function F5e(n){return n==="manual"}function yDe(n,i,s,c={}){var S,_;const d=j5e(YLn,c),g={i:0},b=new Map(i),w=d!=null&&d.elevateNodesOnSelect&&!F5e(d.zIndexMode)?_zt:0;let E=n.length>0;i.clear(),s.clear();for(const A of n){let C=b.get(A.id);if(d.checkEquality&&A===(C==null?void 0:C.internals.userNode))i.set(A.id,C);else{const O=Az(A,d.nodeOrigin),L=_M(A.extent)?A.extent:d.nodeExtent,D=hR(O,L,_A(A));C={...d.defaults,...A,measured:{width:(S=A.measured)==null?void 0:S.width,height:(_=A.measured)==null?void 0:_.height},internals:{positionAbsolute:D,handleBounds:XLn(A,C),z:xzt(A,w,d.zIndexMode),userNode:A}},i.set(A.id,C)}(C.measured===void 0||C.measured.width===void 0||C.measured.height===void 0)&&!C.hidden&&(E=!1),A.parentId&&$5e(C,i,s,c,g)}return E}function ZLn(n,i){if(!n.parentId)return;const s=i.get(n.parentId);s?s.set(n.id,n):i.set(n.parentId,new Map([[n.id,n]]))}function $5e(n,i,s,c,d){const{elevateNodesOnSelect:g,nodeOrigin:b,nodeExtent:w,zIndexMode:E}=j5e(P5e,c),S=n.parentId,_=i.get(S);if(!_){console.warn(`Parent node ${S} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}ZLn(n,s),d&&!_.parentId&&_.internals.rootParentIndex===void 0&&E==="auto"&&(_.internals.rootParentIndex=++d.i,_.internals.z=_.internals.z+d.i*KLn),d&&_.internals.rootParentIndex!==void 0&&(d.i=_.internals.rootParentIndex);const A=g&&!F5e(E)?_zt:0,{x:C,y:O,z:L}=QLn(n,_,b,w,A,E),{positionAbsolute:D}=n.internals,B=C!==D.x||O!==D.y;(B||L!==n.internals.z)&&i.set(n.id,{...n,internals:{...n.internals,positionAbsolute:B?{x:C,y:O}:D,z:L}})}function xzt(n,i,s){const c=Dv(n.zIndex)?n.zIndex:0;return F5e(s)?c:c+(n.selected?i:0)}function QLn(n,i,s,c,d,g){const{x:b,y:w}=i.internals.positionAbsolute,E=_A(n),S=Az(n,s),_=_M(n.extent)?hR(S,n.extent,E):S;let A=hR({x:b+_.x,y:w+_.y},c,E);n.extent==="parent"&&(A=fzt(A,E,i));const C=xzt(n,d,g),O=i.internals.z??0;return{x:A.x,y:A.y,z:O>=C?O+1:C}}function B5e(n,i,s,c=[0,0]){var b;const d=[],g=new Map;for(const w of n){const E=i.get(w.parentId);if(!E)continue;const S=((b=g.get(w.parentId))==null?void 0:b.expandedRect)??AM(E),_=pzt(S,w.rect);g.set(w.parentId,{expandedRect:_,parent:E})}return g.size>0&&g.forEach(({expandedRect:w,parent:E},S)=>{var j;const _=E.internals.positionAbsolute,A=_A(E),C=E.origin??c,O=w.x<_.x?Math.round(Math.abs(_.x-w.x)):0,L=w.y<_.y?Math.round(Math.abs(_.y-w.y)):0,D=Math.max(A.width,Math.round(w.width)),B=Math.max(A.height,Math.round(w.height)),$=(D-A.width)*C[0],P=(B-A.height)*C[1];(O>0||L>0||$||P)&&(d.push({id:S,type:"position",position:{x:E.position.x-O+$,y:E.position.y-L+P}}),(j=s.get(S))==null||j.forEach(z=>{n.some(ee=>ee.id===z.id)||d.push({id:z.id,type:"position",position:{x:z.position.x+O,y:z.position.y+L}})})),(A.width<w.width||A.height<w.height||O||L)&&d.push({id:S,type:"dimensions",setAttributes:!0,dimensions:{width:D+(O?C[0]*O-$:0),height:B+(L?C[1]*L-P:0)}})}),d}function e5n(n,i,s,c,d,g,b){const w=c==null?void 0:c.querySelector(".xyflow__viewport");let E=!1;if(!w)return{changes:[],updatedInternals:E};const S=[],_=window.getComputedStyle(w),{m22:A}=new window.DOMMatrixReadOnly(_.transform),C=[];for(const O of n.values()){const L=i.get(O.id);if(!L)continue;if(L.hidden){i.set(L.id,{...L,internals:{...L.internals,handleBounds:void 0}}),E=!0;continue}const D=M5e(O.nodeElement),B=L.measured.width!==D.width||L.measured.height!==D.height;if(!!(D.width&&D.height&&(B||!L.internals.handleBounds||O.force))){const P=O.nodeElement.getBoundingClientRect(),j=_M(L.extent)?L.extent:g;let{positionAbsolute:z}=L.internals;L.parentId&&L.extent==="parent"?z=fzt(z,D,i.get(L.parentId)):j&&(z=hR(z,j,D));const ee={...L,measured:D,internals:{...L.internals,positionAbsolute:z,handleBounds:{source:WMt("source",O.nodeElement,P,A,L.id),target:WMt("target",O.nodeElement,P,A,L.id)}}};i.set(L.id,ee),L.parentId&&$5e(ee,i,s,{nodeOrigin:d,zIndexMode:b}),E=!0,B&&(S.push({id:L.id,type:"dimensions",dimensions:D}),L.expandParent&&L.parentId&&C.push({id:L.id,parentId:L.parentId,rect:AM(ee,d)}))}}if(C.length>0){const O=B5e(C,i,s,d);S.push(...O)}return{changes:S,updatedInternals:E}}async function t5n({delta:n,panZoom:i,transform:s,translateExtent:c,width:d,height:g}){if(!i||!n.x&&!n.y)return Promise.resolve(!1);const b=await i.setViewportConstrained({x:s[0]+n.x,y:s[1]+n.y,zoom:s[2]},[[0,0],[d,g]],c),w=!!b&&(b.x!==s[0]||b.y!==s[1]||b.k!==s[2]);return Promise.resolve(w)}function e9t(n,i,s,c,d,g){let b=d;const w=c.get(b)||new Map;c.set(b,w.set(s,i)),b=`${d}-${n}`;const E=c.get(b)||new Map;if(c.set(b,E.set(s,i)),g){b=`${d}-${n}-${g}`;const S=c.get(b)||new Map;c.set(b,S.set(s,i))}}function kzt(n,i,s){n.clear(),i.clear();for(const c of s){const{source:d,target:g,sourceHandle:b=null,targetHandle:w=null}=c,E={edgeId:c.id,source:d,target:g,sourceHandle:b,targetHandle:w},S=`${d}-${b}--${g}-${w}`,_=`${g}-${w}--${d}-${b}`;e9t("source",E,_,n,d,b),e9t("target",E,S,n,g,w),i.set(c.id,c)}}function Nzt(n,i){if(!n.parentId)return!1;const s=i.get(n.parentId);return s?s.selected?!0:Nzt(s,i):!1}function t9t(n,i,s){var d;let c=n;do{if((d=c==null?void 0:c.matches)!=null&&d.call(c,i))return!0;if(c===s)return!1;c=c==null?void 0:c.parentElement}while(c);return!1}function n5n(n,i,s,c){const d=new Map;for(const[g,b]of n)if((b.selected||b.id===c)&&(!b.parentId||!Nzt(b,n))&&(b.draggable||i&&typeof b.draggable>"u")){const w=n.get(g);w&&d.set(g,{id:g,position:w.position||{x:0,y:0},distance:{x:s.x-w.internals.positionAbsolute.x,y:s.y-w.internals.positionAbsolute.y},extent:w.extent,parentId:w.parentId,origin:w.origin,expandParent:w.expandParent,internals:{positionAbsolute:w.internals.positionAbsolute||{x:0,y:0}},measured:{width:w.measured.width??0,height:w.measured.height??0}})}return d}function zCe({nodeId:n,dragItems:i,nodeLookup:s,dragging:c=!0}){var b,w,E;const d=[];for(const[S,_]of i){const A=(b=s.get(S))==null?void 0:b.internals.userNode;A&&d.push({...A,position:_.position,dragging:c})}if(!n)return[d[0],d];const g=(w=s.get(n))==null?void 0:w.internals.userNode;return[g?{...g,position:((E=i.get(n))==null?void 0:E.position)||g.position,dragging:c}:d[0],d]}function r5n({dragItems:n,snapGrid:i,x:s,y:c}){const d=n.values().next().value;if(!d)return null;const g={x:s-d.distance.x,y:c-d.distance.y},b=xz(g,i);return{x:b.x-g.x,y:b.y-g.y}}function i5n({onNodeMouseDown:n,getStoreItems:i,onDragStart:s,onDrag:c,onDragStop:d}){let g={x:null,y:null},b=0,w=new Map,E=!1,S={x:0,y:0},_=null,A=!1,C=null,O=!1,L=!1,D=null;function B({noDragClassName:P,handleSelector:j,domNode:z,isSelectable:ee,nodeId:ne,nodeClickDistance:Q=0}){C=jm(z);function ae({x:fe,y:K}){const{nodeLookup:ge,nodeExtent:De,snapGrid:Se,snapToGrid:Re,nodeOrigin:Ae,onNodeDrag:xe,onSelectionDrag:We,onError:ut,updateNodePositions:Be}=i();g={x:fe,y:K};let bt=!1;const Nt=w.size>1,pt=Nt&&De?mDe(_z(w)):null,Kt=Nt&&Re?r5n({dragItems:w,snapGrid:Se,x:fe,y:K}):null;for(const[Et,Dt]of w){if(!ge.has(Et))continue;let Yt={x:fe-Dt.distance.x,y:K-Dt.distance.y};Re&&(Yt=Kt?{x:Math.round(Yt.x+Kt.x),y:Math.round(Yt.y+Kt.y)}:xz(Yt,Se));let Ln=null;if(Nt&&De&&!Dt.extent&&pt){const{positionAbsolute:Er}=Dt.internals,Ui=Er.x-pt.x+De[0][0],Qr=Er.x+Dt.measured.width-pt.x2+De[1][0],Hi=Er.y-pt.y+De[0][1],ai=Er.y+Dt.measured.height-pt.y2+De[1][1];Ln=[[Ui,Hi],[Qr,ai]]}const{position:Zn,positionAbsolute:Yn}=dzt({nodeId:Et,nextPosition:Yt,nodeLookup:ge,nodeExtent:Ln||De,nodeOrigin:Ae,onError:ut});bt=bt||Dt.position.x!==Zn.x||Dt.position.y!==Zn.y,Dt.position=Zn,Dt.internals.positionAbsolute=Yn}if(L=L||bt,!!bt&&(Be(w,!0),D&&(c||xe||!ne&&We))){const[Et,Dt]=zCe({nodeId:ne,dragItems:w,nodeLookup:ge});c==null||c(D,w,Et,Dt),xe==null||xe(D,Et,Dt),ne||We==null||We(D,Dt)}}async function he(){if(!_)return;const{transform:fe,panBy:K,autoPanSpeed:ge,autoPanOnNodeDrag:De}=i();if(!De){E=!1,cancelAnimationFrame(b);return}const[Se,Re]=hzt(S,_,ge);(Se!==0||Re!==0)&&(g.x=(g.x??0)-Se/fe[2],g.y=(g.y??0)-Re/fe[2],await K({x:Se,y:Re})&&ae(g)),b=requestAnimationFrame(he)}function pe(fe){var Nt;const{nodeLookup:K,multiSelectionActive:ge,nodesDraggable:De,transform:Se,snapGrid:Re,snapToGrid:Ae,selectNodesOnDrag:xe,onNodeDragStart:We,onSelectionDragStart:ut,unselectNodesAndEdges:Be}=i();A=!0,(!xe||!ee)&&!ge&&ne&&((Nt=K.get(ne))!=null&&Nt.selected||Be()),ee&&xe&&ne&&(n==null||n(ne));const bt=vH(fe.sourceEvent,{transform:Se,snapGrid:Re,snapToGrid:Ae,containerBounds:_});if(g=bt,w=n5n(K,De,bt,ne),w.size>0&&(s||We||!ne&&ut)){const[pt,Kt]=zCe({nodeId:ne,dragItems:w,nodeLookup:K});s==null||s(fe.sourceEvent,w,pt,Kt),We==null||We(fe.sourceEvent,pt,Kt),ne||ut==null||ut(fe.sourceEvent,Kt)}}const ue=GHt().clickDistance(Q).on("start",fe=>{const{domNode:K,nodeDragThreshold:ge,transform:De,snapGrid:Se,snapToGrid:Re}=i();_=(K==null?void 0:K.getBoundingClientRect())||null,O=!1,L=!1,D=fe.sourceEvent,ge===0&&pe(fe),g=vH(fe.sourceEvent,{transform:De,snapGrid:Se,snapToGrid:Re,containerBounds:_}),S=Lv(fe.sourceEvent,_)}).on("drag",fe=>{const{autoPanOnNodeDrag:K,transform:ge,snapGrid:De,snapToGrid:Se,nodeDragThreshold:Re,nodeLookup:Ae}=i(),xe=vH(fe.sourceEvent,{transform:ge,snapGrid:De,snapToGrid:Se,containerBounds:_});if(D=fe.sourceEvent,(fe.sourceEvent.type==="touchmove"&&fe.sourceEvent.touches.length>1||ne&&!Ae.has(ne))&&(O=!0),!O){if(!E&&K&&A&&(E=!0,he()),!A){const We=Lv(fe.sourceEvent,_),ut=We.x-S.x,Be=We.y-S.y;Math.sqrt(ut*ut+Be*Be)>Re&&pe(fe)}(g.x!==xe.xSnapped||g.y!==xe.ySnapped)&&w&&A&&(S=Lv(fe.sourceEvent,_),ae(xe))}}).on("end",fe=>{if(!(!A||O)&&(E=!1,A=!1,cancelAnimationFrame(b),w.size>0)){const{nodeLookup:K,updateNodePositions:ge,onNodeDragStop:De,onSelectionDragStop:Se}=i();if(L&&(ge(w,!1),L=!1),d||De||!ne&&Se){const[Re,Ae]=zCe({nodeId:ne,dragItems:w,nodeLookup:K,dragging:!1});d==null||d(fe.sourceEvent,w,Re,Ae),De==null||De(fe.sourceEvent,Re,Ae),ne||Se==null||Se(fe.sourceEvent,Ae)}}}).filter(fe=>{const K=fe.target;return!fe.button&&(!P||!t9t(K,`.${P}`,z))&&(!j||t9t(K,j,z))});C.call(ue)}function $(){C==null||C.on(".drag",null)}return{update:B,destroy:$}}function o5n(n,i,s){const c=[],d={x:n.x-s,y:n.y-s,width:s*2,height:s*2};for(const g of i.values())XH(d,AM(g))>0&&c.push(g);return c}const s5n=250;function a5n(n,i,s,c){var w,E;let d=[],g=1/0;const b=o5n(n,s,i+s5n);for(const S of b){const _=[...((w=S.internals.handleBounds)==null?void 0:w.source)??[],...((E=S.internals.handleBounds)==null?void 0:E.target)??[]];for(const A of _){if(c.nodeId===A.nodeId&&c.type===A.type&&c.id===A.id)continue;const{x:C,y:O}=pR(S,A,A.position,!0),L=Math.sqrt(Math.pow(C-n.x,2)+Math.pow(O-n.y,2));L>i||(L<g?(d=[{...A,x:C,y:O}],g=L):L===g&&d.push({...A,x:C,y:O}))}}if(!d.length)return null;if(d.length>1){const S=c.type==="source"?"target":"source";return d.find(_=>_.type===S)??d[0]}return d[0]}function Czt(n,i,s,c,d,g=!1){var S,_,A;const b=c.get(n);if(!b)return null;const w=d==="strict"?(S=b.internals.handleBounds)==null?void 0:S[i]:[...((_=b.internals.handleBounds)==null?void 0:_.source)??[],...((A=b.internals.handleBounds)==null?void 0:A.target)??[]],E=(s?w==null?void 0:w.find(C=>C.id===s):w==null?void 0:w[0])??null;return E&&g?{...E,...pR(b,E,E.position,!0)}:E}function Izt(n,i){return n||(i!=null&&i.classList.contains("target")?"target":i!=null&&i.classList.contains("source")?"source":null)}function c5n(n,i){let s=null;return i?s=!0:n&&!i&&(s=!1),s}const Rzt=()=>!0;function u5n(n,{connectionMode:i,connectionRadius:s,handleId:c,nodeId:d,edgeUpdaterType:g,isTarget:b,domNode:w,nodeLookup:E,lib:S,autoPanOnConnect:_,flowId:A,panBy:C,cancelConnection:O,onConnectStart:L,onConnect:D,onConnectEnd:B,isValidConnection:$=Rzt,onReconnectEnd:P,updateConnection:j,getTransform:z,getFromHandle:ee,autoPanSpeed:ne,dragThreshold:Q=1,handleDomNode:ae}){const he=mzt(n.target);let pe=0,ue;const{x:fe,y:K}=Lv(n),ge=Izt(g,ae),De=w==null?void 0:w.getBoundingClientRect();let Se=!1;if(!De||!ge)return;const Re=Czt(d,ge,c,E,i);if(!Re)return;let Ae=Lv(n,De),xe=!1,We=null,ut=!1,Be=null;function bt(){if(!_||!De)return;const[Zn,Yn]=hzt(Ae,De,ne);C({x:Zn,y:Yn}),pe=requestAnimationFrame(bt)}const Nt={...Re,nodeId:d,type:ge,position:Re.position},pt=E.get(d);let Et={inProgress:!0,isValid:null,from:pR(pt,Nt,qr.Left,!0),fromHandle:Nt,fromPosition:Nt.position,fromNode:pt,to:Ae,toHandle:null,toPosition:zMt[Nt.position],toNode:null,pointer:Ae};function Dt(){Se=!0,j(Et),L==null||L(n,{nodeId:d,handleId:c,handleType:ge})}Q===0&&Dt();function Yt(Zn){if(!Se){const{x:ai,y:ju}=Lv(Zn),Xs=ai-fe,ls=ju-K;if(!(Xs*Xs+ls*ls>Q*Q))return;Dt()}if(!ee()||!Nt){Ln(Zn);return}const Yn=z();Ae=Lv(Zn,De),ue=a5n(kz(Ae,Yn,!1,[1,1]),s,E,Nt),xe||(bt(),xe=!0);const Er=Ozt(Zn,{handle:ue,connectionMode:i,fromNodeId:d,fromHandleId:c,fromType:b?"target":"source",isValidConnection:$,doc:he,lib:S,flowId:A,nodeLookup:E});Be=Er.handleDomNode,We=Er.connection,ut=c5n(!!ue,Er.isValid);const Ui=E.get(d),Qr=Ui?pR(Ui,Nt,qr.Left,!0):Et.from,Hi={...Et,from:Qr,isValid:ut,to:Er.toHandle&&ut?Joe({x:Er.toHandle.x,y:Er.toHandle.y},Yn):Ae,toHandle:Er.toHandle,toPosition:ut&&Er.toHandle?Er.toHandle.position:zMt[Nt.position],toNode:Er.toHandle?E.get(Er.toHandle.nodeId):null,pointer:Ae};j(Hi),Et=Hi}function Ln(Zn){if(!("touches"in Zn&&Zn.touches.length>0)){if(Se){(ue||Be)&&We&&ut&&(D==null||D(We));const{inProgress:Yn,...Er}=Et,Ui={...Er,toPosition:Et.toHandle?Et.toPosition:null};B==null||B(Zn,Ui),g&&(P==null||P(Zn,Ui))}O(),cancelAnimationFrame(pe),xe=!1,ut=!1,We=null,Be=null,he.removeEventListener("mousemove",Yt),he.removeEventListener("mouseup",Ln),he.removeEventListener("touchmove",Yt),he.removeEventListener("touchend",Ln)}}he.addEventListener("mousemove",Yt),he.addEventListener("mouseup",Ln),he.addEventListener("touchmove",Yt),he.addEventListener("touchend",Ln)}function Ozt(n,{handle:i,connectionMode:s,fromNodeId:c,fromHandleId:d,fromType:g,doc:b,lib:w,flowId:E,isValidConnection:S=Rzt,nodeLookup:_}){const A=g==="target",C=i?b.querySelector(`.${w}-flow__handle[data-id="${E}-${i==null?void 0:i.nodeId}-${i==null?void 0:i.id}-${i==null?void 0:i.type}"]`):null,{x:O,y:L}=Lv(n),D=b.elementFromPoint(O,L),B=D!=null&&D.classList.contains(`${w}-flow__handle`)?D:C,$={handleDomNode:B,isValid:!1,connection:null,toHandle:null};if(B){const P=Izt(void 0,B),j=B.getAttribute("data-nodeid"),z=B.getAttribute("data-handleid"),ee=B.classList.contains("connectable"),ne=B.classList.contains("connectableend");if(!j||!P)return $;const Q={source:A?j:c,sourceHandle:A?z:d,target:A?c:j,targetHandle:A?d:z};$.connection=Q;const he=ee&&ne&&(s===SM.Strict?A&&P==="source"||!A&&P==="target":j!==c||z!==d);$.isValid=he&&S(Q),$.toHandle=Czt(j,P,z,_,s,!0)}return $}const vDe={onPointerDown:u5n,isValid:Ozt};function l5n({domNode:n,panZoom:i,getTransform:s,getViewScale:c}){const d=jm(n);function g({translateExtent:w,width:E,height:S,zoomStep:_=1,pannable:A=!0,zoomable:C=!0,inversePan:O=!1}){const L=j=>{if(j.sourceEvent.type!=="wheel"||!i)return;const z=s(),ee=j.sourceEvent.ctrlKey&&ZH()?10:1,ne=-j.sourceEvent.deltaY*(j.sourceEvent.deltaMode===1?.05:j.sourceEvent.deltaMode?1:.002)*_,Q=z[2]*Math.pow(2,ne*ee);i.scaleTo(Q)};let D=[0,0];const B=j=>{(j.sourceEvent.type==="mousedown"||j.sourceEvent.type==="touchstart")&&(D=[j.sourceEvent.clientX??j.sourceEvent.touches[0].clientX,j.sourceEvent.clientY??j.sourceEvent.touches[0].clientY])},$=j=>{const z=s();if(j.sourceEvent.type!=="mousemove"&&j.sourceEvent.type!=="touchmove"||!i)return;const ee=[j.sourceEvent.clientX??j.sourceEvent.touches[0].clientX,j.sourceEvent.clientY??j.sourceEvent.touches[0].clientY],ne=[ee[0]-D[0],ee[1]-D[1]];D=ee;const Q=c()*Math.max(z[2],Math.log(z[2]))*(O?-1:1),ae={x:z[0]-ne[0]*Q,y:z[1]-ne[1]*Q},he=[[0,0],[E,S]];i.setViewportConstrained({x:ae.x,y:ae.y,zoom:z[2]},he,w)},P=ozt().on("start",B).on("zoom",A?$:null).on("zoom.wheel",C?L:null);d.call(P,{})}function b(){d.on("zoom",null)}return{update:g,destroy:b,pointer:Iv}}const tae=n=>({x:n.x,y:n.y,zoom:n.k}),GCe=({x:n,y:i,zoom:s})=>Zse.translate(n,i).scale(s),z5=(n,i)=>n.target.closest(`.${i}`),Dzt=(n,i)=>i===2&&Array.isArray(n)&&n.includes(2),d5n=n=>((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2,qCe=(n,i=0,s=d5n,c=()=>{})=>{const d=typeof i=="number"&&i>0;return d||c(),d?n.transition().duration(i).ease(s).on("end",c):n},Lzt=n=>{const i=n.ctrlKey&&ZH()?10:1;return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*i};function f5n({zoomPanValues:n,noWheelClassName:i,d3Selection:s,d3Zoom:c,panOnScrollMode:d,panOnScrollSpeed:g,zoomOnPinch:b,onPanZoomStart:w,onPanZoom:E,onPanZoomEnd:S}){return _=>{if(z5(_,i))return _.ctrlKey&&_.preventDefault(),!1;_.preventDefault(),_.stopImmediatePropagation();const A=s.property("__zoom").k||1;if(_.ctrlKey&&b){const B=Iv(_),$=Lzt(_),P=A*Math.pow(2,$);c.scaleTo(s,P,B,_);return}const C=_.deltaMode===1?20:1;let O=d===nR.Vertical?0:_.deltaX*C,L=d===nR.Horizontal?0:_.deltaY*C;!ZH()&&_.shiftKey&&d!==nR.Vertical&&(O=_.deltaY*C,L=0),c.translateBy(s,-(O/A)*g,-(L/A)*g,{internal:!0});const D=tae(s.property("__zoom"));clearTimeout(n.panScrollTimeout),n.isPanScrolling?(E==null||E(_,D),n.panScrollTimeout=setTimeout(()=>{S==null||S(_,D),n.isPanScrolling=!1},150)):(n.isPanScrolling=!0,w==null||w(_,D))}}function h5n({noWheelClassName:n,preventScrolling:i,d3ZoomHandler:s}){return function(c,d){const g=c.type==="wheel",b=!i&&g&&!c.ctrlKey,w=z5(c,n);if(c.ctrlKey&&g&&w&&c.preventDefault(),b||w)return null;c.preventDefault(),s.call(this,c,d)}}function p5n({zoomPanValues:n,onDraggingChange:i,onPanZoomStart:s}){return c=>{var g,b,w;if((g=c.sourceEvent)!=null&&g.internal)return;const d=tae(c.transform);n.mouseButton=((b=c.sourceEvent)==null?void 0:b.button)||0,n.isZoomingOrPanning=!0,n.prevViewport=d,((w=c.sourceEvent)==null?void 0:w.type)==="mousedown"&&i(!0),s&&(s==null||s(c.sourceEvent,d))}}function g5n({zoomPanValues:n,panOnDrag:i,onPaneContextMenu:s,onTransformChange:c,onPanZoom:d}){return g=>{var b,w;n.usedRightMouseButton=!!(s&&Dzt(i,n.mouseButton??0)),(b=g.sourceEvent)!=null&&b.sync||c([g.transform.x,g.transform.y,g.transform.k]),d&&!((w=g.sourceEvent)!=null&&w.internal)&&(d==null||d(g.sourceEvent,tae(g.transform)))}}function b5n({zoomPanValues:n,panOnDrag:i,panOnScroll:s,onDraggingChange:c,onPanZoomEnd:d,onPaneContextMenu:g}){return b=>{var w;if(!((w=b.sourceEvent)!=null&&w.internal)&&(n.isZoomingOrPanning=!1,g&&Dzt(i,n.mouseButton??0)&&!n.usedRightMouseButton&&b.sourceEvent&&g(b.sourceEvent),n.usedRightMouseButton=!1,c(!1),d)){const E=tae(b.transform);n.prevViewport=E,clearTimeout(n.timerId),n.timerId=setTimeout(()=>{d==null||d(b.sourceEvent,E)},s?150:0)}}}function m5n({zoomActivationKeyPressed:n,zoomOnScroll:i,zoomOnPinch:s,panOnDrag:c,panOnScroll:d,zoomOnDoubleClick:g,userSelectionActive:b,noWheelClassName:w,noPanClassName:E,lib:S,connectionInProgress:_}){return A=>{var B;const C=n||i,O=s&&A.ctrlKey,L=A.type==="wheel";if(A.button===1&&A.type==="mousedown"&&(z5(A,`${S}-flow__node`)||z5(A,`${S}-flow__edge`)))return!0;if(!c&&!C&&!d&&!g&&!s||b||_&&!L||z5(A,w)&&L||z5(A,E)&&(!L||d&&L&&!n)||!s&&A.ctrlKey&&L)return!1;if(!s&&A.type==="touchstart"&&((B=A.touches)==null?void 0:B.length)>1)return A.preventDefault(),!1;if(!C&&!d&&!O&&L||!c&&(A.type==="mousedown"||A.type==="touchstart")||Array.isArray(c)&&!c.includes(A.button)&&A.type==="mousedown")return!1;const D=Array.isArray(c)&&c.includes(A.button)||!A.button||A.button<=1;return(!A.ctrlKey||L)&&D}}function w5n({domNode:n,minZoom:i,maxZoom:s,translateExtent:c,viewport:d,onPanZoom:g,onPanZoomStart:b,onPanZoomEnd:w,onDraggingChange:E}){const S={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},_=n.getBoundingClientRect(),A=ozt().scaleExtent([i,s]).translateExtent(c),C=jm(n).call(A);P({x:d.x,y:d.y,zoom:TM(d.zoom,i,s)},[[0,0],[_.width,_.height]],c);const O=C.on("wheel.zoom"),L=C.on("dblclick.zoom");A.wheelDelta(Lzt);function D(ue,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?yH:noe).transform(qCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),ue)}):Promise.resolve(!1)}function B({noWheelClassName:ue,noPanClassName:fe,onPaneContextMenu:K,userSelectionActive:ge,panOnScroll:De,panOnDrag:Se,panOnScrollMode:Re,panOnScrollSpeed:Ae,preventScrolling:xe,zoomOnPinch:We,zoomOnScroll:ut,zoomOnDoubleClick:Be,zoomActivationKeyPressed:bt,lib:Nt,onTransformChange:pt,connectionInProgress:Kt,paneClickDistance:Et,selectionOnDrag:Dt}){ge&&!S.isZoomingOrPanning&&$();const Yt=De&&!bt&&!ge;A.clickDistance(Dt?1/0:!Dv(Et)||Et<0?0:Et);const Ln=Yt?f5n({zoomPanValues:S,noWheelClassName:ue,d3Selection:C,d3Zoom:A,panOnScrollMode:Re,panOnScrollSpeed:Ae,zoomOnPinch:We,onPanZoomStart:b,onPanZoom:g,onPanZoomEnd:w}):h5n({noWheelClassName:ue,preventScrolling:xe,d3ZoomHandler:O});if(C.on("wheel.zoom",Ln,{passive:!1}),!ge){const Yn=p5n({zoomPanValues:S,onDraggingChange:E,onPanZoomStart:b});A.on("start",Yn);const Er=g5n({zoomPanValues:S,panOnDrag:Se,onPaneContextMenu:!!K,onPanZoom:g,onTransformChange:pt});A.on("zoom",Er);const Ui=b5n({zoomPanValues:S,panOnDrag:Se,panOnScroll:De,onPaneContextMenu:K,onPanZoomEnd:w,onDraggingChange:E});A.on("end",Ui)}const Zn=m5n({zoomActivationKeyPressed:bt,panOnDrag:Se,zoomOnScroll:ut,panOnScroll:De,zoomOnDoubleClick:Be,zoomOnPinch:We,userSelectionActive:ge,noPanClassName:fe,noWheelClassName:ue,lib:Nt,connectionInProgress:Kt});A.filter(Zn),Be?C.on("dblclick.zoom",L):C.on("dblclick.zoom",null)}function $(){A.on("zoom",null)}async function P(ue,fe,K){const ge=GCe(ue),De=A==null?void 0:A.constrain()(ge,fe,K);return De&&await D(De),new Promise(Se=>Se(De))}async function j(ue,fe){const K=GCe(ue);return await D(K,fe),new Promise(ge=>ge(K))}function z(ue){if(C){const fe=GCe(ue),K=C.property("__zoom");(K.k!==ue.zoom||K.x!==ue.x||K.y!==ue.y)&&(A==null||A.transform(C,fe,null,{sync:!0}))}}function ee(){const ue=C?izt(C.node()):{x:0,y:0,k:1};return{x:ue.x,y:ue.y,zoom:ue.k}}function ne(ue,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?yH:noe).scaleTo(qCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),ue)}):Promise.resolve(!1)}function Q(ue,fe){return C?new Promise(K=>{A==null||A.interpolate((fe==null?void 0:fe.interpolate)==="linear"?yH:noe).scaleBy(qCe(C,fe==null?void 0:fe.duration,fe==null?void 0:fe.ease,()=>K(!0)),ue)}):Promise.resolve(!1)}function ae(ue){A==null||A.scaleExtent(ue)}function he(ue){A==null||A.translateExtent(ue)}function pe(ue){const fe=!Dv(ue)||ue<0?0:ue;A==null||A.clickDistance(fe)}return{update:B,destroy:$,setViewport:j,setViewportConstrained:P,getViewport:ee,scaleTo:ne,scaleBy:Q,setScaleExtent:ae,setTranslateExtent:he,syncViewport:z,setClickDistance:pe}}var xM;(function(n){n.Line="line",n.Handle="handle"})(xM||(xM={}));function y5n({width:n,prevWidth:i,height:s,prevHeight:c,affectsX:d,affectsY:g}){const b=n-i,w=s-c,E=[b>0?1:b<0?-1:0,w>0?1:w<0?-1:0];return b&&d&&(E[0]=E[0]*-1),w&&g&&(E[1]=E[1]*-1),E}function n9t(n){const i=n.includes("right")||n.includes("left"),s=n.includes("bottom")||n.includes("top"),c=n.includes("left"),d=n.includes("top");return{isHorizontal:i,isVertical:s,affectsX:c,affectsY:d}}function Ck(n,i){return Math.max(0,i-n)}function Ik(n,i){return Math.max(0,n-i)}function vie(n,i,s){return Math.max(0,i-n,n-s)}function r9t(n,i){return n?!i:i}function v5n(n,i,s,c,d,g,b,w){let{affectsX:E,affectsY:S}=i;const{isHorizontal:_,isVertical:A}=i,C=_&&A,{xSnapped:O,ySnapped:L}=s,{minWidth:D,maxWidth:B,minHeight:$,maxHeight:P}=c,{x:j,y:z,width:ee,height:ne,aspectRatio:Q}=n;let ae=Math.floor(_?O-n.pointerX:0),he=Math.floor(A?L-n.pointerY:0);const pe=ee+(E?-ae:ae),ue=ne+(S?-he:he),fe=-g[0]*ee,K=-g[1]*ne;let ge=vie(pe,D,B),De=vie(ue,$,P);if(b){let Ae=0,xe=0;E&&ae<0?Ae=Ck(j+ae+fe,b[0][0]):!E&&ae>0&&(Ae=Ik(j+pe+fe,b[1][0])),S&&he<0?xe=Ck(z+he+K,b[0][1]):!S&&he>0&&(xe=Ik(z+ue+K,b[1][1])),ge=Math.max(ge,Ae),De=Math.max(De,xe)}if(w){let Ae=0,xe=0;E&&ae>0?Ae=Ik(j+ae,w[0][0]):!E&&ae<0&&(Ae=Ck(j+pe,w[1][0])),S&&he>0?xe=Ik(z+he,w[0][1]):!S&&he<0&&(xe=Ck(z+ue,w[1][1])),ge=Math.max(ge,Ae),De=Math.max(De,xe)}if(d){if(_){const Ae=vie(pe/Q,$,P)*Q;if(ge=Math.max(ge,Ae),b){let xe=0;!E&&!S||E&&!S&&C?xe=Ik(z+K+pe/Q,b[1][1])*Q:xe=Ck(z+K+(E?ae:-ae)/Q,b[0][1])*Q,ge=Math.max(ge,xe)}if(w){let xe=0;!E&&!S||E&&!S&&C?xe=Ck(z+pe/Q,w[1][1])*Q:xe=Ik(z+(E?ae:-ae)/Q,w[0][1])*Q,ge=Math.max(ge,xe)}}if(A){const Ae=vie(ue*Q,D,B)/Q;if(De=Math.max(De,Ae),b){let xe=0;!E&&!S||S&&!E&&C?xe=Ik(j+ue*Q+fe,b[1][0])/Q:xe=Ck(j+(S?he:-he)*Q+fe,b[0][0])/Q,De=Math.max(De,xe)}if(w){let xe=0;!E&&!S||S&&!E&&C?xe=Ck(j+ue*Q,w[1][0])/Q:xe=Ik(j+(S?he:-he)*Q,w[0][0])/Q,De=Math.max(De,xe)}}}he=he+(he<0?De:-De),ae=ae+(ae<0?ge:-ge),d&&(C?pe>ue*Q?he=(r9t(E,S)?-ae:ae)/Q:ae=(r9t(E,S)?-he:he)*Q:_?(he=ae/Q,S=E):(ae=he*Q,E=S));const Se=E?j+ae:j,Re=S?z+he:z;return{width:ee+(E?-ae:ae),height:ne+(S?-he:he),x:g[0]*ae*(E?-1:1)+Se,y:g[1]*he*(S?-1:1)+Re}}const Mzt={width:0,height:0,x:0,y:0},E5n={...Mzt,pointerX:0,pointerY:0,aspectRatio:1};function S5n(n){return[[0,0],[n.measured.width,n.measured.height]]}function T5n(n,i,s){const c=i.position.x+n.position.x,d=i.position.y+n.position.y,g=n.measured.width??0,b=n.measured.height??0,w=s[0]*g,E=s[1]*b;return[[c-w,d-E],[c+g-w,d+b-E]]}function A5n({domNode:n,nodeId:i,getStoreItems:s,onChange:c,onEnd:d}){const g=jm(n);let b={controlDirection:n9t("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function w({controlPosition:S,boundaries:_,keepAspectRatio:A,resizeDirection:C,onResizeStart:O,onResize:L,onResizeEnd:D,shouldResize:B}){let $={...Mzt},P={...E5n};b={boundaries:_,resizeDirection:C,keepAspectRatio:A,controlDirection:n9t(S)};let j,z=null,ee=[],ne,Q,ae,he=!1;const pe=GHt().on("start",ue=>{const{nodeLookup:fe,transform:K,snapGrid:ge,snapToGrid:De,nodeOrigin:Se,paneDomNode:Re}=s();if(j=fe.get(i),!j)return;z=(Re==null?void 0:Re.getBoundingClientRect())??null;const{xSnapped:Ae,ySnapped:xe}=vH(ue.sourceEvent,{transform:K,snapGrid:ge,snapToGrid:De,containerBounds:z});$={width:j.measured.width??0,height:j.measured.height??0,x:j.position.x??0,y:j.position.y??0},P={...$,pointerX:Ae,pointerY:xe,aspectRatio:$.width/$.height},ne=void 0,j.parentId&&(j.extent==="parent"||j.expandParent)&&(ne=fe.get(j.parentId),Q=ne&&j.extent==="parent"?S5n(ne):void 0),ee=[],ae=void 0;for(const[We,ut]of fe)if(ut.parentId===i&&(ee.push({id:We,position:{...ut.position},extent:ut.extent}),ut.extent==="parent"||ut.expandParent)){const Be=T5n(ut,j,ut.origin??Se);ae?ae=[[Math.min(Be[0][0],ae[0][0]),Math.min(Be[0][1],ae[0][1])],[Math.max(Be[1][0],ae[1][0]),Math.max(Be[1][1],ae[1][1])]]:ae=Be}O==null||O(ue,{...$})}).on("drag",ue=>{const{transform:fe,snapGrid:K,snapToGrid:ge,nodeOrigin:De}=s(),Se=vH(ue.sourceEvent,{transform:fe,snapGrid:K,snapToGrid:ge,containerBounds:z}),Re=[];if(!j)return;const{x:Ae,y:xe,width:We,height:ut}=$,Be={},bt=j.origin??De,{width:Nt,height:pt,x:Kt,y:Et}=v5n(P,b.controlDirection,Se,b.boundaries,b.keepAspectRatio,bt,Q,ae),Dt=Nt!==We,Yt=pt!==ut,Ln=Kt!==Ae&&Dt,Zn=Et!==xe&&Yt;if(!Ln&&!Zn&&!Dt&&!Yt)return;if((Ln||Zn||bt[0]===1||bt[1]===1)&&(Be.x=Ln?Kt:$.x,Be.y=Zn?Et:$.y,$.x=Be.x,$.y=Be.y,ee.length>0)){const Qr=Kt-Ae,Hi=Et-xe;for(const ai of ee)ai.position={x:ai.position.x-Qr+bt[0]*(Nt-We),y:ai.position.y-Hi+bt[1]*(pt-ut)},Re.push(ai)}if((Dt||Yt)&&(Be.width=Dt&&(!b.resizeDirection||b.resizeDirection==="horizontal")?Nt:$.width,Be.height=Yt&&(!b.resizeDirection||b.resizeDirection==="vertical")?pt:$.height,$.width=Be.width,$.height=Be.height),ne&&j.expandParent){const Qr=bt[0]*(Be.width??0);Be.x&&Be.x<Qr&&($.x=Qr,P.x=P.x-(Be.x-Qr));const Hi=bt[1]*(Be.height??0);Be.y&&Be.y<Hi&&($.y=Hi,P.y=P.y-(Be.y-Hi))}const Yn=y5n({width:$.width,prevWidth:We,height:$.height,prevHeight:ut,affectsX:b.controlDirection.affectsX,affectsY:b.controlDirection.affectsY}),Er={...$,direction:Yn};(B==null?void 0:B(ue,Er))!==!1&&(he=!0,L==null||L(ue,Er),c(Be,Re))}).on("end",ue=>{he&&(D==null||D(ue,{...$}),d==null||d({...$}),he=!1)});g.call(pe)}function E(){g.on(".drag",null)}return{update:w,destroy:E}}var Pzt={exports:{}},jzt={};/**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var nae=H,_5n=CHt;function x5n(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var k5n=typeof Object.is=="function"?Object.is:x5n,N5n=_5n.useSyncExternalStore,C5n=nae.useRef,I5n=nae.useEffect,R5n=nae.useMemo,O5n=nae.useDebugValue;jzt.useSyncExternalStoreWithSelector=function(n,i,s,c,d){var g=C5n(null);if(g.current===null){var b={hasValue:!1,value:null};g.current=b}else b=g.current;g=R5n(function(){function E(O){if(!S){if(S=!0,_=O,O=c(O),d!==void 0&&b.hasValue){var L=b.value;if(d(L,O))return A=L}return A=O}if(L=A,k5n(_,O))return L;var D=c(O);return d!==void 0&&d(L,D)?(_=O,L):(_=O,A=D)}var S=!1,_,A,C=s===void 0?null:s;return[function(){return E(i())},C===null?void 0:function(){return E(C())}]},[i,s,c,d]);var w=N5n(n,g[0],g[1]);return I5n(function(){b.hasValue=!0,b.value=w},[w]),O5n(w),w};Pzt.exports=jzt;var D5n=Pzt.exports;const L5n=TR(D5n),M5n={},i9t=n=>{let i;const s=new Set,c=(_,A)=>{const C=typeof _=="function"?_(i):_;if(!Object.is(C,i)){const O=i;i=A??(typeof C!="object"||C===null)?C:Object.assign({},i,C),s.forEach(L=>L(i,O))}},d=()=>i,E={setState:c,getState:d,getInitialState:()=>S,subscribe:_=>(s.add(_),()=>s.delete(_)),destroy:()=>{(M5n?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),s.clear()}},S=i=n(c,d,E);return E},P5n=n=>n?i9t(n):i9t,{useDebugValue:j5n}=Hn,{useSyncExternalStoreWithSelector:F5n}=L5n,$5n=n=>n;function Fzt(n,i=$5n,s){const c=F5n(n.subscribe,n.getState,n.getServerState||n.getInitialState,i,s);return j5n(c),c}const o9t=(n,i)=>{const s=P5n(n),c=(d,g=i)=>Fzt(s,d,g);return Object.assign(c,s),c},B5n=(n,i)=>n?o9t(n,i):o9t;function Lu(n,i){if(Object.is(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;if(n instanceof Map&&i instanceof Map){if(n.size!==i.size)return!1;for(const[c,d]of n)if(!Object.is(d,i.get(c)))return!1;return!0}if(n instanceof Set&&i instanceof Set){if(n.size!==i.size)return!1;for(const c of n)if(!i.has(c))return!1;return!0}const s=Object.keys(n);if(s.length!==Object.keys(i).length)return!1;for(const c of s)if(!Object.prototype.hasOwnProperty.call(i,c)||!Object.is(n[c],i[c]))return!1;return!0}const rae=H.createContext(null),U5n=rae.Provider,$zt=z2.error001();function Js(n,i){const s=H.useContext(rae);if(s===null)throw new Error($zt);return Fzt(s,n,i)}function Mu(){const n=H.useContext(rae);if(n===null)throw new Error($zt);return H.useMemo(()=>({getState:n.getState,setState:n.setState,subscribe:n.subscribe}),[n])}const s9t={display:"none"},H5n={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},Bzt="react-flow__node-desc",Uzt="react-flow__edge-desc",z5n="react-flow__aria-live",G5n=n=>n.ariaLiveMessage,q5n=n=>n.ariaLabelConfig;function V5n({rfId:n}){const i=Js(G5n);return I.jsx("div",{id:`${z5n}-${n}`,"aria-live":"assertive","aria-atomic":"true",style:H5n,children:i})}function W5n({rfId:n,disableKeyboardA11y:i}){const s=Js(q5n);return I.jsxs(I.Fragment,{children:[I.jsx("div",{id:`${Bzt}-${n}`,style:s9t,children:i?s["node.a11yDescription.default"]:s["node.a11yDescription.keyboardDisabled"]}),I.jsx("div",{id:`${Uzt}-${n}`,style:s9t,children:s["edge.a11yDescription.default"]}),!i&&I.jsx(V5n,{rfId:n})]})}const gR=H.forwardRef(({position:n="top-left",children:i,className:s,style:c,...d},g)=>{const b=`${n}`.split("-");return I.jsx("div",{className:Bd(["react-flow__panel",s,...b]),style:c,ref:g,...d,children:i})});gR.displayName="Panel";function K5n({proOptions:n,position:i="bottom-right"}){return n!=null&&n.hideAttribution?null:I.jsx(gR,{position:i,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:I.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const Y5n=n=>{const i=[],s=[];for(const[,c]of n.nodeLookup)c.selected&&i.push(c.internals.userNode);for(const[,c]of n.edgeLookup)c.selected&&s.push(c);return{selectedNodes:i,selectedEdges:s}},Eie=n=>n.id;function J5n(n,i){return Lu(n.selectedNodes.map(Eie),i.selectedNodes.map(Eie))&&Lu(n.selectedEdges.map(Eie),i.selectedEdges.map(Eie))}function X5n({onSelectionChange:n}){const i=Mu(),{selectedNodes:s,selectedEdges:c}=Js(Y5n,J5n);return H.useEffect(()=>{const d={nodes:s,edges:c};n==null||n(d),i.getState().onSelectionChangeHandlers.forEach(g=>g(d))},[s,c,n]),null}const Z5n=n=>!!n.onSelectionChangeHandlers;function Q5n({onSelectionChange:n}){const i=Js(Z5n);return n||i?I.jsx(X5n,{onSelectionChange:n}):null}const Hzt=[0,0],eMn={x:0,y:0,zoom:1},tMn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],a9t=[...tMn,"rfId"],nMn=n=>({setNodes:n.setNodes,setEdges:n.setEdges,setMinZoom:n.setMinZoom,setMaxZoom:n.setMaxZoom,setTranslateExtent:n.setTranslateExtent,setNodeExtent:n.setNodeExtent,reset:n.reset,setDefaultNodesAndEdges:n.setDefaultNodesAndEdges}),c9t={translateExtent:YH,nodeOrigin:Hzt,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function rMn(n){const{setNodes:i,setEdges:s,setMinZoom:c,setMaxZoom:d,setTranslateExtent:g,setNodeExtent:b,reset:w,setDefaultNodesAndEdges:E}=Js(nMn,Lu),S=Mu();H.useEffect(()=>(E(n.defaultNodes,n.defaultEdges),()=>{_.current=c9t,w()}),[]);const _=H.useRef(c9t);return H.useEffect(()=>{for(const A of a9t){const C=n[A],O=_.current[A];C!==O&&(typeof n[A]>"u"||(A==="nodes"?i(C):A==="edges"?s(C):A==="minZoom"?c(C):A==="maxZoom"?d(C):A==="translateExtent"?g(C):A==="nodeExtent"?b(C):A==="ariaLabelConfig"?S.setState({ariaLabelConfig:jLn(C)}):A==="fitView"?S.setState({fitViewQueued:C}):A==="fitViewOptions"?S.setState({fitViewOptions:C}):S.setState({[A]:C})))}_.current=n},a9t.map(A=>n[A])),null}function u9t(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function iMn(n){var c;const[i,s]=H.useState(n==="system"?null:n);return H.useEffect(()=>{if(n!=="system"){s(n);return}const d=u9t(),g=()=>s(d!=null&&d.matches?"dark":"light");return g(),d==null||d.addEventListener("change",g),()=>{d==null||d.removeEventListener("change",g)}},[n]),i!==null?i:(c=u9t())!=null&&c.matches?"dark":"light"}const l9t=typeof document<"u"?document:null;function QH(n=null,i={target:l9t,actInsideInputWithModifier:!0}){const[s,c]=H.useState(!1),d=H.useRef(!1),g=H.useRef(new Set([])),[b,w]=H.useMemo(()=>{if(n!==null){const S=(Array.isArray(n)?n:[n]).filter(A=>typeof A=="string").map(A=>A.replace("+",`
`).replace(`
`,`
+`).split(`
`)),_=S.reduce((A,C)=>A.concat(...C),[]);return[S,_]}return[[],[]]},[n]);return H.useEffect(()=>{const E=(i==null?void 0:i.target)??l9t,S=(i==null?void 0:i.actInsideInputWithModifier)??!0;if(n!==null){const _=O=>{var B,$;if(d.current=O.ctrlKey||O.metaKey||O.shiftKey||O.altKey,(!d.current||d.current&&!S)&&wzt(O))return!1;const D=f9t(O.code,w);if(g.current.add(O[D]),d9t(b,g.current,!1)){const P=(($=(B=O.composedPath)==null?void 0:B.call(O))==null?void 0:$[0])||O.target,j=(P==null?void 0:P.nodeName)==="BUTTON"||(P==null?void 0:P.nodeName)==="A";i.preventDefault!==!1&&(d.current||!j)&&O.preventDefault(),c(!0)}},A=O=>{const L=f9t(O.code,w);d9t(b,g.current,!0)?(c(!1),g.current.clear()):g.current.delete(O[L]),O.key==="Meta"&&g.current.clear(),d.current=!1},C=()=>{g.current.clear(),c(!1)};return E==null||E.addEventListener("keydown",_),E==null||E.addEventListener("keyup",A),window.addEventListener("blur",C),window.addEventListener("contextmenu",C),()=>{E==null||E.removeEventListener("keydown",_),E==null||E.removeEventListener("keyup",A),window.removeEventListener("blur",C),window.removeEventListener("contextmenu",C)}}},[n,c]),s}function d9t(n,i,s){return n.filter(c=>s||c.length===i.size).some(c=>c.every(d=>i.has(d)))}function f9t(n,i){return i.includes(n)?"code":"key"}const oMn=()=>{const n=Mu();return H.useMemo(()=>({zoomIn:i=>{const{panZoom:s}=n.getState();return s?s.scaleBy(1.2,{duration:i==null?void 0:i.duration}):Promise.resolve(!1)},zoomOut:i=>{const{panZoom:s}=n.getState();return s?s.scaleBy(1/1.2,{duration:i==null?void 0:i.duration}):Promise.resolve(!1)},zoomTo:(i,s)=>{const{panZoom:c}=n.getState();return c?c.scaleTo(i,{duration:s==null?void 0:s.duration}):Promise.resolve(!1)},getZoom:()=>n.getState().transform[2],setViewport:async(i,s)=>{const{transform:[c,d,g],panZoom:b}=n.getState();return b?(await b.setViewport({x:i.x??c,y:i.y??d,zoom:i.zoom??g},s),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[i,s,c]=n.getState().transform;return{x:i,y:s,zoom:c}},setCenter:async(i,s,c)=>n.getState().setCenter(i,s,c),fitBounds:async(i,s)=>{const{width:c,height:d,minZoom:g,maxZoom:b,panZoom:w}=n.getState(),E=L5e(i,c,d,g,b,(s==null?void 0:s.padding)??.1);return w?(await w.setViewport(E,{duration:s==null?void 0:s.duration,ease:s==null?void 0:s.ease,interpolate:s==null?void 0:s.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(i,s={})=>{const{transform:c,snapGrid:d,snapToGrid:g,domNode:b}=n.getState();if(!b)return i;const{x:w,y:E}=b.getBoundingClientRect(),S={x:i.x-w,y:i.y-E},_=s.snapGrid??d,A=s.snapToGrid??g;return kz(S,c,A,_)},flowToScreenPosition:i=>{const{transform:s,domNode:c}=n.getState();if(!c)return i;const{x:d,y:g}=c.getBoundingClientRect(),b=Joe(i,s);return{x:b.x+d,y:b.y+g}}}),[])};function zzt(n,i){const s=[],c=new Map,d=[];for(const g of n)if(g.type==="add"){d.push(g);continue}else if(g.type==="remove"||g.type==="replace")c.set(g.id,[g]);else{const b=c.get(g.id);b?b.push(g):c.set(g.id,[g])}for(const g of i){const b=c.get(g.id);if(!b){s.push(g);continue}if(b[0].type==="remove")continue;if(b[0].type==="replace"){s.push({...b[0].item});continue}const w={...g};for(const E of b)sMn(E,w);s.push(w)}return d.length&&d.forEach(g=>{g.index!==void 0?s.splice(g.index,0,{...g.item}):s.push({...g.item})}),s}function sMn(n,i){switch(n.type){case"select":{i.selected=n.selected;break}case"position":{typeof n.position<"u"&&(i.position=n.position),typeof n.dragging<"u"&&(i.dragging=n.dragging);break}case"dimensions":{typeof n.dimensions<"u"&&(i.measured={...n.dimensions},n.setAttributes&&((n.setAttributes===!0||n.setAttributes==="width")&&(i.width=n.dimensions.width),(n.setAttributes===!0||n.setAttributes==="height")&&(i.height=n.dimensions.height))),typeof n.resizing=="boolean"&&(i.resizing=n.resizing);break}}}function Gzt(n,i){return zzt(n,i)}function qzt(n,i){return zzt(n,i)}function W4(n,i){return{id:n,type:"select",selected:i}}function G5(n,i=new Set,s=!1){const c=[];for(const[d,g]of n){const b=i.has(d);!(g.selected===void 0&&!b)&&g.selected!==b&&(s&&(g.selected=b),c.push(W4(g.id,b)))}return c}function h9t({items:n=[],lookup:i}){var d;const s=[],c=new Map(n.map(g=>[g.id,g]));for(const[g,b]of n.entries()){const w=i.get(b.id),E=((d=w==null?void 0:w.internals)==null?void 0:d.userNode)??w;E!==void 0&&E!==b&&s.push({id:b.id,item:b,type:"replace"}),E===void 0&&s.push({item:b,type:"add",index:g})}for(const[g]of i)c.get(g)===void 0&&s.push({id:g,type:"remove"});return s}function p9t(n){return{id:n.id,type:"remove"}}const g9t=n=>kLn(n),aMn=n=>lzt(n);function Vzt(n){return H.forwardRef(n)}const cMn=typeof window<"u"?H.useLayoutEffect:H.useEffect;function b9t(n){const[i,s]=H.useState(BigInt(0)),[c]=H.useState(()=>uMn(()=>s(d=>d+BigInt(1))));return cMn(()=>{const d=c.get();d.length&&(n(d),c.reset())},[i]),c}function uMn(n){let i=[];return{get:()=>i,reset:()=>{i=[]},push:s=>{i.push(s),n()}}}const Wzt=H.createContext(null);function lMn({children:n}){const i=Mu(),s=H.useCallback(w=>{const{nodes:E=[],setNodes:S,hasDefaultNodes:_,onNodesChange:A,nodeLookup:C,fitViewQueued:O,onNodesChangeMiddlewareMap:L}=i.getState();let D=E;for(const $ of w)D=typeof $=="function"?$(D):$;let B=h9t({items:D,lookup:C});for(const $ of L.values())B=$(B);_&&S(D),B.length>0?A==null||A(B):O&&window.requestAnimationFrame(()=>{const{fitViewQueued:$,nodes:P,setNodes:j}=i.getState();$&&j(P)})},[]),c=b9t(s),d=H.useCallback(w=>{const{edges:E=[],setEdges:S,hasDefaultEdges:_,onEdgesChange:A,edgeLookup:C}=i.getState();let O=E;for(const L of w)O=typeof L=="function"?L(O):L;_?S(O):A&&A(h9t({items:O,lookup:C}))},[]),g=b9t(d),b=H.useMemo(()=>({nodeQueue:c,edgeQueue:g}),[]);return I.jsx(Wzt.Provider,{value:b,children:n})}function dMn(){const n=H.useContext(Wzt);if(!n)throw new Error("useBatchContext must be used within a BatchProvider");return n}const fMn=n=>!!n.panZoom;function kR(){const n=oMn(),i=Mu(),s=dMn(),c=Js(fMn),d=H.useMemo(()=>{const g=A=>i.getState().nodeLookup.get(A),b=A=>{s.nodeQueue.push(A)},w=A=>{s.edgeQueue.push(A)},E=A=>{var $,P;const{nodeLookup:C,nodeOrigin:O}=i.getState(),L=g9t(A)?A:C.get(A.id),D=L.parentId?bzt(L.position,L.measured,L.parentId,C,O):L.position,B={...L,position:D,width:(($=L.measured)==null?void 0:$.width)??L.width,height:((P=L.measured)==null?void 0:P.height)??L.height};return AM(B)},S=(A,C,O={replace:!1})=>{b(L=>L.map(D=>{if(D.id===A){const B=typeof C=="function"?C(D):C;return O.replace&&g9t(B)?B:{...D,...B}}return D}))},_=(A,C,O={replace:!1})=>{w(L=>L.map(D=>{if(D.id===A){const B=typeof C=="function"?C(D):C;return O.replace&&aMn(B)?B:{...D,...B}}return D}))};return{getNodes:()=>i.getState().nodes.map(A=>({...A})),getNode:A=>{var C;return(C=g(A))==null?void 0:C.internals.userNode},getInternalNode:g,getEdges:()=>{const{edges:A=[]}=i.getState();return A.map(C=>({...C}))},getEdge:A=>i.getState().edgeLookup.get(A),setNodes:b,setEdges:w,addNodes:A=>{const C=Array.isArray(A)?A:[A];s.nodeQueue.push(O=>[...O,...C])},addEdges:A=>{const C=Array.isArray(A)?A:[A];s.edgeQueue.push(O=>[...O,...C])},toObject:()=>{const{nodes:A=[],edges:C=[],transform:O}=i.getState(),[L,D,B]=O;return{nodes:A.map($=>({...$})),edges:C.map($=>({...$})),viewport:{x:L,y:D,zoom:B}}},deleteElements:async({nodes:A=[],edges:C=[]})=>{const{nodes:O,edges:L,onNodesDelete:D,onEdgesDelete:B,triggerNodeChanges:$,triggerEdgeChanges:P,onDelete:j,onBeforeDelete:z}=i.getState(),{nodes:ee,edges:ne}=await OLn({nodesToRemove:A,edgesToRemove:C,nodes:O,edges:L,onBeforeDelete:z}),Q=ne.length>0,ae=ee.length>0;if(Q){const he=ne.map(p9t);B==null||B(ne),P(he)}if(ae){const he=ee.map(p9t);D==null||D(ee),$(he)}return(ae||Q)&&(j==null||j({nodes:ee,edges:ne})),{deletedNodes:ee,deletedEdges:ne}},getIntersectingNodes:(A,C=!0,O)=>{const L=qMt(A),D=L?A:E(A),B=O!==void 0;return D?(O||i.getState().nodes).filter($=>{const P=i.getState().nodeLookup.get($.id);if(P&&!L&&($.id===A.id||!P.internals.positionAbsolute))return!1;const j=AM(B?$:P),z=XH(j,D);return C&&z>0||z>=j.width*j.height||z>=D.width*D.height}):[]},isNodeIntersecting:(A,C,O=!0)=>{const D=qMt(A)?A:E(A);if(!D)return!1;const B=XH(D,C);return O&&B>0||B>=C.width*C.height||B>=D.width*D.height},updateNode:S,updateNodeData:(A,C,O={replace:!1})=>{S(A,L=>{const D=typeof C=="function"?C(L):C;return O.replace?{...L,data:D}:{...L,data:{...L.data,...D}}},O)},updateEdge:_,updateEdgeData:(A,C,O={replace:!1})=>{_(A,L=>{const D=typeof C=="function"?C(L):C;return O.replace?{...L,data:D}:{...L,data:{...L.data,...D}}},O)},getNodesBounds:A=>{const{nodeLookup:C,nodeOrigin:O}=i.getState();return NLn(A,{nodeLookup:C,nodeOrigin:O})},getHandleConnections:({type:A,id:C,nodeId:O})=>{var L;return Array.from(((L=i.getState().connectionLookup.get(`${O}-${A}${C?`-${C}`:""}`))==null?void 0:L.values())??[])},getNodeConnections:({type:A,handleId:C,nodeId:O})=>{var L;return Array.from(((L=i.getState().connectionLookup.get(`${O}${A?C?`-${A}-${C}`:`-${A}`:""}`))==null?void 0:L.values())??[])},fitView:async A=>{const C=i.getState().fitViewResolver??PLn();return i.setState({fitViewQueued:!0,fitViewOptions:A,fitViewResolver:C}),s.nodeQueue.push(O=>[...O]),C.promise}}},[]);return H.useMemo(()=>({...d,...n,viewportInitialized:c}),[c])}const m9t=n=>n.selected,hMn=typeof window<"u"?window:void 0;function pMn({deleteKeyCode:n,multiSelectionKeyCode:i}){const s=Mu(),{deleteElements:c}=kR(),d=QH(n,{actInsideInputWithModifier:!1}),g=QH(i,{target:hMn});H.useEffect(()=>{if(d){const{edges:b,nodes:w}=s.getState();c({nodes:w.filter(m9t),edges:b.filter(m9t)}),s.setState({nodesSelectionActive:!1})}},[d]),H.useEffect(()=>{s.setState({multiSelectionActive:g})},[g])}function gMn(n){const i=Mu();H.useEffect(()=>{const s=()=>{var d,g,b,w;if(!n.current||!(((g=(d=n.current).checkVisibility)==null?void 0:g.call(d))??!0))return!1;const c=M5e(n.current);(c.height===0||c.width===0)&&((w=(b=i.getState()).onError)==null||w.call(b,"004",z2.error004())),i.setState({width:c.width||500,height:c.height||500})};if(n.current){s(),window.addEventListener("resize",s);const c=new ResizeObserver(()=>s());return c.observe(n.current),()=>{window.removeEventListener("resize",s),c&&n.current&&c.unobserve(n.current)}}},[])}const iae={position:"absolute",width:"100%",height:"100%",top:0,left:0},bMn=n=>({userSelectionActive:n.userSelectionActive,lib:n.lib,connectionInProgress:n.connection.inProgress});function mMn({onPaneContextMenu:n,zoomOnScroll:i=!0,zoomOnPinch:s=!0,panOnScroll:c=!1,panOnScrollSpeed:d=.5,panOnScrollMode:g=nR.Free,zoomOnDoubleClick:b=!0,panOnDrag:w=!0,defaultViewport:E,translateExtent:S,minZoom:_,maxZoom:A,zoomActivationKeyCode:C,preventScrolling:O=!0,children:L,noWheelClassName:D,noPanClassName:B,onViewportChange:$,isControlledViewport:P,paneClickDistance:j,selectionOnDrag:z}){const ee=Mu(),ne=H.useRef(null),{userSelectionActive:Q,lib:ae,connectionInProgress:he}=Js(bMn,Lu),pe=QH(C),ue=H.useRef();gMn(ne);const fe=H.useCallback(K=>{$==null||$({x:K[0],y:K[1],zoom:K[2]}),P||ee.setState({transform:K})},[$,P]);return H.useEffect(()=>{if(ne.current){ue.current=w5n({domNode:ne.current,minZoom:_,maxZoom:A,translateExtent:S,viewport:E,onDraggingChange:Se=>ee.setState({paneDragging:Se}),onPanZoomStart:(Se,Re)=>{const{onViewportChangeStart:Ae,onMoveStart:xe}=ee.getState();xe==null||xe(Se,Re),Ae==null||Ae(Re)},onPanZoom:(Se,Re)=>{const{onViewportChange:Ae,onMove:xe}=ee.getState();xe==null||xe(Se,Re),Ae==null||Ae(Re)},onPanZoomEnd:(Se,Re)=>{const{onViewportChangeEnd:Ae,onMoveEnd:xe}=ee.getState();xe==null||xe(Se,Re),Ae==null||Ae(Re)}});const{x:K,y:ge,zoom:De}=ue.current.getViewport();return ee.setState({panZoom:ue.current,transform:[K,ge,De],domNode:ne.current.closest(".react-flow")}),()=>{var Se;(Se=ue.current)==null||Se.destroy()}}},[]),H.useEffect(()=>{var K;(K=ue.current)==null||K.update({onPaneContextMenu:n,zoomOnScroll:i,zoomOnPinch:s,panOnScroll:c,panOnScrollSpeed:d,panOnScrollMode:g,zoomOnDoubleClick:b,panOnDrag:w,zoomActivationKeyPressed:pe,preventScrolling:O,noPanClassName:B,userSelectionActive:Q,noWheelClassName:D,lib:ae,onTransformChange:fe,connectionInProgress:he,selectionOnDrag:z,paneClickDistance:j})},[n,i,s,c,d,g,b,w,pe,O,B,Q,D,ae,fe,he,z,j]),I.jsx("div",{className:"react-flow__renderer",ref:ne,style:iae,children:L})}const wMn=n=>({userSelectionActive:n.userSelectionActive,userSelectionRect:n.userSelectionRect});function yMn(){const{userSelectionActive:n,userSelectionRect:i}=Js(wMn,Lu);return n&&i?I.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:i.width,height:i.height,transform:`translate(${i.x}px, ${i.y}px)`}}):null}const VCe=(n,i)=>s=>{s.target===i.current&&(n==null||n(s))},vMn=n=>({userSelectionActive:n.userSelectionActive,elementsSelectable:n.elementsSelectable,connectionInProgress:n.connection.inProgress,dragging:n.paneDragging});function EMn({isSelecting:n,selectionKeyPressed:i,selectionMode:s=JH.Full,panOnDrag:c,paneClickDistance:d,selectionOnDrag:g,onSelectionStart:b,onSelectionEnd:w,onPaneClick:E,onPaneContextMenu:S,onPaneScroll:_,onPaneMouseEnter:A,onPaneMouseMove:C,onPaneMouseLeave:O,children:L}){const D=Mu(),{userSelectionActive:B,elementsSelectable:$,dragging:P,connectionInProgress:j}=Js(vMn,Lu),z=$&&(n||B),ee=H.useRef(null),ne=H.useRef(),Q=H.useRef(new Set),ae=H.useRef(new Set),he=H.useRef(!1),pe=Ae=>{if(he.current||j){he.current=!1;return}E==null||E(Ae),D.getState().resetSelectedElements(),D.setState({nodesSelectionActive:!1})},ue=Ae=>{if(Array.isArray(c)&&(c!=null&&c.includes(2))){Ae.preventDefault();return}S==null||S(Ae)},fe=_?Ae=>_(Ae):void 0,K=Ae=>{he.current&&(Ae.stopPropagation(),he.current=!1)},ge=Ae=>{var pt,Kt;const{domNode:xe}=D.getState();if(ne.current=xe==null?void 0:xe.getBoundingClientRect(),!ne.current)return;const We=Ae.target===ee.current;if(!We&&!!Ae.target.closest(".nokey")||!n||!(g&&We||i)||Ae.button!==0||!Ae.isPrimary)return;(Kt=(pt=Ae.target)==null?void 0:pt.setPointerCapture)==null||Kt.call(pt,Ae.pointerId),he.current=!1;const{x:bt,y:Nt}=Lv(Ae.nativeEvent,ne.current);D.setState({userSelectionRect:{width:0,height:0,startX:bt,startY:Nt,x:bt,y:Nt}}),We||(Ae.stopPropagation(),Ae.preventDefault())},De=Ae=>{const{userSelectionRect:xe,transform:We,nodeLookup:ut,edgeLookup:Be,connectionLookup:bt,triggerNodeChanges:Nt,triggerEdgeChanges:pt,defaultEdgeOptions:Kt,resetSelectedElements:Et}=D.getState();if(!ne.current||!xe)return;const{x:Dt,y:Yt}=Lv(Ae.nativeEvent,ne.current),{startX:Ln,startY:Zn}=xe;if(!he.current){const Hi=i?0:d;if(Math.hypot(Dt-Ln,Yt-Zn)<=Hi)return;Et(),b==null||b(Ae)}he.current=!0;const Yn={startX:Ln,startY:Zn,x:Dt<Ln?Dt:Ln,y:Yt<Zn?Yt:Zn,width:Math.abs(Dt-Ln),height:Math.abs(Yt-Zn)},Er=Q.current,Ui=ae.current;Q.current=new Set(D5e(ut,Yn,We,s===JH.Partial,!0).map(Hi=>Hi.id)),ae.current=new Set;const Qr=(Kt==null?void 0:Kt.selectable)??!0;for(const Hi of Q.current){const ai=bt.get(Hi);if(ai)for(const{edgeId:ju}of ai.values()){const Xs=Be.get(ju);Xs&&(Xs.selectable??Qr)&&ae.current.add(ju)}}if(!VMt(Er,Q.current)){const Hi=G5(ut,Q.current,!0);Nt(Hi)}if(!VMt(Ui,ae.current)){const Hi=G5(Be,ae.current);pt(Hi)}D.setState({userSelectionRect:Yn,userSelectionActive:!0,nodesSelectionActive:!1})},Se=Ae=>{var xe,We;Ae.button===0&&((We=(xe=Ae.target)==null?void 0:xe.releasePointerCapture)==null||We.call(xe,Ae.pointerId),!B&&Ae.target===ee.current&&D.getState().userSelectionRect&&(pe==null||pe(Ae)),D.setState({userSelectionActive:!1,userSelectionRect:null}),he.current&&(w==null||w(Ae),D.setState({nodesSelectionActive:Q.current.size>0})))},Re=c===!0||Array.isArray(c)&&c.includes(0);return I.jsxs("div",{className:Bd(["react-flow__pane",{draggable:Re,dragging:P,selection:n}]),onClick:z?void 0:VCe(pe,ee),onContextMenu:VCe(ue,ee),onWheel:VCe(fe,ee),onPointerEnter:z?void 0:A,onPointerMove:z?De:C,onPointerUp:z?Se:void 0,onPointerDownCapture:z?ge:void 0,onClickCapture:z?K:void 0,onPointerLeave:O,ref:ee,style:iae,children:[L,I.jsx(yMn,{})]})}function EDe({id:n,store:i,unselect:s=!1,nodeRef:c}){const{addSelectedNodes:d,unselectNodesAndEdges:g,multiSelectionActive:b,nodeLookup:w,onError:E}=i.getState(),S=w.get(n);if(!S){E==null||E("012",z2.error012(n));return}i.setState({nodesSelectionActive:!1}),S.selected?(s||S.selected&&b)&&(g({nodes:[S],edges:[]}),requestAnimationFrame(()=>{var _;return(_=c==null?void 0:c.current)==null?void 0:_.blur()})):d([n])}function Kzt({nodeRef:n,disabled:i=!1,noDragClassName:s,handleSelector:c,nodeId:d,isSelectable:g,nodeClickDistance:b}){const w=Mu(),[E,S]=H.useState(!1),_=H.useRef();return H.useEffect(()=>{_.current=i5n({getStoreItems:()=>w.getState(),onNodeMouseDown:A=>{EDe({id:A,store:w,nodeRef:n})},onDragStart:()=>{S(!0)},onDragStop:()=>{S(!1)}})},[]),H.useEffect(()=>{var A,C;if(i)(A=_.current)==null||A.destroy();else if(n.current)return(C=_.current)==null||C.update({noDragClassName:s,handleSelector:c,domNode:n.current,isSelectable:g,nodeId:d,nodeClickDistance:b}),()=>{var O;(O=_.current)==null||O.destroy()}},[s,c,i,g,n,d]),E}const SMn=n=>i=>i.selected&&(i.draggable||n&&typeof i.draggable>"u");function Yzt(){const n=Mu();return H.useCallback(s=>{const{nodeExtent:c,snapToGrid:d,snapGrid:g,nodesDraggable:b,onError:w,updateNodePositions:E,nodeLookup:S,nodeOrigin:_}=n.getState(),A=new Map,C=SMn(b),O=d?g[0]:5,L=d?g[1]:5,D=s.direction.x*O*s.factor,B=s.direction.y*L*s.factor;for(const[,$]of S){if(!C($))continue;let P={x:$.internals.positionAbsolute.x+D,y:$.internals.positionAbsolute.y+B};d&&(P=xz(P,g));const{position:j,positionAbsolute:z}=dzt({nodeId:$.id,nextPosition:P,nodeLookup:S,nodeExtent:c,nodeOrigin:_,onError:w});$.position=j,$.internals.positionAbsolute=z,A.set($.id,$)}E(A)},[])}const U5e=H.createContext(null),TMn=U5e.Provider;U5e.Consumer;const Jzt=()=>H.useContext(U5e),AMn=n=>({connectOnClick:n.connectOnClick,noPanClassName:n.noPanClassName,rfId:n.rfId}),_Mn=(n,i,s)=>c=>{const{connectionClickStartHandle:d,connectionMode:g,connection:b}=c,{fromHandle:w,toHandle:E,isValid:S}=b,_=(E==null?void 0:E.nodeId)===n&&(E==null?void 0:E.id)===i&&(E==null?void 0:E.type)===s;return{connectingFrom:(w==null?void 0:w.nodeId)===n&&(w==null?void 0:w.id)===i&&(w==null?void 0:w.type)===s,connectingTo:_,clickConnecting:(d==null?void 0:d.nodeId)===n&&(d==null?void 0:d.id)===i&&(d==null?void 0:d.type)===s,isPossibleEndHandle:g===SM.Strict?(w==null?void 0:w.type)!==s:n!==(w==null?void 0:w.nodeId)||i!==(w==null?void 0:w.id),connectionInProcess:!!w,clickConnectionInProcess:!!d,valid:_&&S}};function xMn({type:n="source",position:i=qr.Top,isValidConnection:s,isConnectable:c=!0,isConnectableStart:d=!0,isConnectableEnd:g=!0,id:b,onConnect:w,children:E,className:S,onMouseDown:_,onTouchStart:A,...C},O){var De,Se;const L=b||null,D=n==="target",B=Mu(),$=Jzt(),{connectOnClick:P,noPanClassName:j,rfId:z}=Js(AMn,Lu),{connectingFrom:ee,connectingTo:ne,clickConnecting:Q,isPossibleEndHandle:ae,connectionInProcess:he,clickConnectionInProcess:pe,valid:ue}=Js(_Mn($,L,n),Lu);$||(Se=(De=B.getState()).onError)==null||Se.call(De,"010",z2.error010());const fe=Re=>{const{defaultEdgeOptions:Ae,onConnect:xe,hasDefaultEdges:We}=B.getState(),ut={...Ae,...Re};if(We){const{edges:Be,setEdges:bt}=B.getState();bt(Tzt(ut,Be))}xe==null||xe(ut),w==null||w(ut)},K=Re=>{if(!$)return;const Ae=yzt(Re.nativeEvent);if(d&&(Ae&&Re.button===0||!Ae)){const xe=B.getState();vDe.onPointerDown(Re.nativeEvent,{handleDomNode:Re.currentTarget,autoPanOnConnect:xe.autoPanOnConnect,connectionMode:xe.connectionMode,connectionRadius:xe.connectionRadius,domNode:xe.domNode,nodeLookup:xe.nodeLookup,lib:xe.lib,isTarget:D,handleId:L,nodeId:$,flowId:xe.rfId,panBy:xe.panBy,cancelConnection:xe.cancelConnection,onConnectStart:xe.onConnectStart,onConnectEnd:xe.onConnectEnd,updateConnection:xe.updateConnection,onConnect:fe,isValidConnection:s||xe.isValidConnection,getTransform:()=>B.getState().transform,getFromHandle:()=>B.getState().connection.fromHandle,autoPanSpeed:xe.autoPanSpeed,dragThreshold:xe.connectionDragThreshold})}Ae?_==null||_(Re):A==null||A(Re)},ge=Re=>{const{onClickConnectStart:Ae,onClickConnectEnd:xe,connectionClickStartHandle:We,connectionMode:ut,isValidConnection:Be,lib:bt,rfId:Nt,nodeLookup:pt,connection:Kt}=B.getState();if(!$||!We&&!d)return;if(!We){Ae==null||Ae(Re.nativeEvent,{nodeId:$,handleId:L,handleType:n}),B.setState({connectionClickStartHandle:{nodeId:$,type:n,id:L}});return}const Et=mzt(Re.target),Dt=s||Be,{connection:Yt,isValid:Ln}=vDe.isValid(Re.nativeEvent,{handle:{nodeId:$,id:L,type:n},connectionMode:ut,fromNodeId:We.nodeId,fromHandleId:We.id||null,fromType:We.type,isValidConnection:Dt,flowId:Nt,doc:Et,lib:bt,nodeLookup:pt});Ln&&Yt&&fe(Yt);const Zn=structuredClone(Kt);delete Zn.inProgress,Zn.toPosition=Zn.toHandle?Zn.toHandle.position:null,xe==null||xe(Re,Zn),B.setState({connectionClickStartHandle:null})};return I.jsx("div",{"data-handleid":L,"data-nodeid":$,"data-handlepos":i,"data-id":`${z}-${$}-${L}-${n}`,className:Bd(["react-flow__handle",`react-flow__handle-${i}`,"nodrag",j,S,{source:!D,target:D,connectable:c,connectablestart:d,connectableend:g,clickconnecting:Q,connectingfrom:ee,connectingto:ne,valid:ue,connectionindicator:c&&(!he||ae)&&(he||pe?g:d)}]),onMouseDown:K,onTouchStart:K,onClick:P?ge:void 0,ref:O,...C,children:E})}const $h=H.memo(Vzt(xMn));function kMn({data:n,isConnectable:i,sourcePosition:s=qr.Bottom}){return I.jsxs(I.Fragment,{children:[n==null?void 0:n.label,I.jsx($h,{type:"source",position:s,isConnectable:i})]})}function NMn({data:n,isConnectable:i,targetPosition:s=qr.Top,sourcePosition:c=qr.Bottom}){return I.jsxs(I.Fragment,{children:[I.jsx($h,{type:"target",position:s,isConnectable:i}),n==null?void 0:n.label,I.jsx($h,{type:"source",position:c,isConnectable:i})]})}function CMn(){return null}function IMn({data:n,isConnectable:i,targetPosition:s=qr.Top}){return I.jsxs(I.Fragment,{children:[I.jsx($h,{type:"target",position:s,isConnectable:i}),n==null?void 0:n.label]})}const Zoe={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},w9t={input:kMn,default:NMn,output:IMn,group:CMn};function RMn(n){var i,s,c,d;return n.internals.handleBounds===void 0?{width:n.width??n.initialWidth??((i=n.style)==null?void 0:i.width),height:n.height??n.initialHeight??((s=n.style)==null?void 0:s.height)}:{width:n.width??((c=n.style)==null?void 0:c.width),height:n.height??((d=n.style)==null?void 0:d.height)}}const OMn=n=>{const{width:i,height:s,x:c,y:d}=_z(n.nodeLookup,{filter:g=>!!g.selected});return{width:Dv(i)?i:null,height:Dv(s)?s:null,userSelectionActive:n.userSelectionActive,transformString:`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]}) translate(${c}px,${d}px)`}};function DMn({onSelectionContextMenu:n,noPanClassName:i,disableKeyboardA11y:s}){const c=Mu(),{width:d,height:g,transformString:b,userSelectionActive:w}=Js(OMn,Lu),E=Yzt(),S=H.useRef(null);if(H.useEffect(()=>{var C;s||(C=S.current)==null||C.focus({preventScroll:!0})},[s]),Kzt({nodeRef:S}),w||!d||!g)return null;const _=n?C=>{const O=c.getState().nodes.filter(L=>L.selected);n(C,O)}:void 0,A=C=>{Object.prototype.hasOwnProperty.call(Zoe,C.key)&&(C.preventDefault(),E({direction:Zoe[C.key],factor:C.shiftKey?4:1}))};return I.jsx("div",{className:Bd(["react-flow__nodesselection","react-flow__container",i]),style:{transform:b},children:I.jsx("div",{ref:S,className:"react-flow__nodesselection-rect",onContextMenu:_,tabIndex:s?void 0:-1,onKeyDown:s?void 0:A,style:{width:d,height:g}})})}const y9t=typeof window<"u"?window:void 0,LMn=n=>({nodesSelectionActive:n.nodesSelectionActive,userSelectionActive:n.userSelectionActive});function Xzt({children:n,onPaneClick:i,onPaneMouseEnter:s,onPaneMouseMove:c,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,paneClickDistance:w,deleteKeyCode:E,selectionKeyCode:S,selectionOnDrag:_,selectionMode:A,onSelectionStart:C,onSelectionEnd:O,multiSelectionKeyCode:L,panActivationKeyCode:D,zoomActivationKeyCode:B,elementsSelectable:$,zoomOnScroll:P,zoomOnPinch:j,panOnScroll:z,panOnScrollSpeed:ee,panOnScrollMode:ne,zoomOnDoubleClick:Q,panOnDrag:ae,defaultViewport:he,translateExtent:pe,minZoom:ue,maxZoom:fe,preventScrolling:K,onSelectionContextMenu:ge,noWheelClassName:De,noPanClassName:Se,disableKeyboardA11y:Re,onViewportChange:Ae,isControlledViewport:xe}){const{nodesSelectionActive:We,userSelectionActive:ut}=Js(LMn,Lu),Be=QH(S,{target:y9t}),bt=QH(D,{target:y9t}),Nt=bt||ae,pt=bt||z,Kt=_&&Nt!==!0,Et=Be||ut||Kt;return pMn({deleteKeyCode:E,multiSelectionKeyCode:L}),I.jsx(mMn,{onPaneContextMenu:g,elementsSelectable:$,zoomOnScroll:P,zoomOnPinch:j,panOnScroll:pt,panOnScrollSpeed:ee,panOnScrollMode:ne,zoomOnDoubleClick:Q,panOnDrag:!Be&&Nt,defaultViewport:he,translateExtent:pe,minZoom:ue,maxZoom:fe,zoomActivationKeyCode:B,preventScrolling:K,noWheelClassName:De,noPanClassName:Se,onViewportChange:Ae,isControlledViewport:xe,paneClickDistance:w,selectionOnDrag:Kt,children:I.jsxs(EMn,{onSelectionStart:C,onSelectionEnd:O,onPaneClick:i,onPaneMouseEnter:s,onPaneMouseMove:c,onPaneMouseLeave:d,onPaneContextMenu:g,onPaneScroll:b,panOnDrag:Nt,isSelecting:!!Et,selectionMode:A,selectionKeyPressed:Be,paneClickDistance:w,selectionOnDrag:Kt,children:[n,We&&I.jsx(DMn,{onSelectionContextMenu:ge,noPanClassName:Se,disableKeyboardA11y:Re})]})})}Xzt.displayName="FlowRenderer";const MMn=H.memo(Xzt),PMn=n=>i=>n?D5e(i.nodeLookup,{x:0,y:0,width:i.width,height:i.height},i.transform,!0).map(s=>s.id):Array.from(i.nodeLookup.keys());function jMn(n){return Js(H.useCallback(PMn(n),[n]),Lu)}const FMn=n=>n.updateNodeInternals;function $Mn(){const n=Js(FMn),[i]=H.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(s=>{const c=new Map;s.forEach(d=>{const g=d.target.getAttribute("data-id");c.set(g,{id:g,nodeElement:d.target,force:!0})}),n(c)}));return H.useEffect(()=>()=>{i==null||i.disconnect()},[i]),i}function BMn({node:n,nodeType:i,hasDimensions:s,resizeObserver:c}){const d=Mu(),g=H.useRef(null),b=H.useRef(null),w=H.useRef(n.sourcePosition),E=H.useRef(n.targetPosition),S=H.useRef(i),_=s&&!!n.internals.handleBounds;return H.useEffect(()=>{g.current&&!n.hidden&&(!_||b.current!==g.current)&&(b.current&&(c==null||c.unobserve(b.current)),c==null||c.observe(g.current),b.current=g.current)},[_,n.hidden]),H.useEffect(()=>()=>{b.current&&(c==null||c.unobserve(b.current),b.current=null)},[]),H.useEffect(()=>{if(g.current){const A=S.current!==i,C=w.current!==n.sourcePosition,O=E.current!==n.targetPosition;(A||C||O)&&(S.current=i,w.current=n.sourcePosition,E.current=n.targetPosition,d.getState().updateNodeInternals(new Map([[n.id,{id:n.id,nodeElement:g.current,force:!0}]])))}},[n.id,i,n.sourcePosition,n.targetPosition]),g}function UMn({id:n,onClick:i,onMouseEnter:s,onMouseMove:c,onMouseLeave:d,onContextMenu:g,onDoubleClick:b,nodesDraggable:w,elementsSelectable:E,nodesConnectable:S,nodesFocusable:_,resizeObserver:A,noDragClassName:C,noPanClassName:O,disableKeyboardA11y:L,rfId:D,nodeTypes:B,nodeClickDistance:$,onError:P}){const{node:j,internals:z,isParent:ee}=Js(Dt=>{const Yt=Dt.nodeLookup.get(n),Ln=Dt.parentLookup.has(n);return{node:Yt,internals:Yt.internals,isParent:Ln}},Lu);let ne=j.type||"default",Q=(B==null?void 0:B[ne])||w9t[ne];Q===void 0&&(P==null||P("003",z2.error003(ne)),ne="default",Q=(B==null?void 0:B.default)||w9t.default);const ae=!!(j.draggable||w&&typeof j.draggable>"u"),he=!!(j.selectable||E&&typeof j.selectable>"u"),pe=!!(j.connectable||S&&typeof j.connectable>"u"),ue=!!(j.focusable||_&&typeof j.focusable>"u"),fe=Mu(),K=gzt(j),ge=BMn({node:j,nodeType:ne,hasDimensions:K,resizeObserver:A}),De=Kzt({nodeRef:ge,disabled:j.hidden||!ae,noDragClassName:C,handleSelector:j.dragHandle,nodeId:n,isSelectable:he,nodeClickDistance:$}),Se=Yzt();if(j.hidden)return null;const Re=_A(j),Ae=RMn(j),xe=he||ae||i||s||c||d,We=s?Dt=>s(Dt,{...z.userNode}):void 0,ut=c?Dt=>c(Dt,{...z.userNode}):void 0,Be=d?Dt=>d(Dt,{...z.userNode}):void 0,bt=g?Dt=>g(Dt,{...z.userNode}):void 0,Nt=b?Dt=>b(Dt,{...z.userNode}):void 0,pt=Dt=>{const{selectNodesOnDrag:Yt,nodeDragThreshold:Ln}=fe.getState();he&&(!Yt||!ae||Ln>0)&&EDe({id:n,store:fe,nodeRef:ge}),i&&i(Dt,{...z.userNode})},Kt=Dt=>{if(!(wzt(Dt.nativeEvent)||L)){if(szt.includes(Dt.key)&&he){const Yt=Dt.key==="Escape";EDe({id:n,store:fe,unselect:Yt,nodeRef:ge})}else if(ae&&j.selected&&Object.prototype.hasOwnProperty.call(Zoe,Dt.key)){Dt.preventDefault();const{ariaLabelConfig:Yt}=fe.getState();fe.setState({ariaLiveMessage:Yt["node.a11yDescription.ariaLiveMessage"]({direction:Dt.key.replace("Arrow","").toLowerCase(),x:~~z.positionAbsolute.x,y:~~z.positionAbsolute.y})}),Se({direction:Zoe[Dt.key],factor:Dt.shiftKey?4:1})}}},Et=()=>{var Ui;if(L||!((Ui=ge.current)!=null&&Ui.matches(":focus-visible")))return;const{transform:Dt,width:Yt,height:Ln,autoPanOnNodeFocus:Zn,setCenter:Yn}=fe.getState();if(!Zn)return;D5e(new Map([[n,j]]),{x:0,y:0,width:Yt,height:Ln},Dt,!0).length>0||Yn(j.position.x+Re.width/2,j.position.y+Re.height/2,{zoom:Dt[2]})};return I.jsx("div",{className:Bd(["react-flow__node",`react-flow__node-${ne}`,{[O]:ae},j.className,{selected:j.selected,selectable:he,parent:ee,draggable:ae,dragging:De}]),ref:ge,style:{zIndex:z.z,transform:`translate(${z.positionAbsolute.x}px,${z.positionAbsolute.y}px)`,pointerEvents:xe?"all":"none",visibility:K?"visible":"hidden",...j.style,...Ae},"data-id":n,"data-testid":`rf__node-${n}`,onMouseEnter:We,onMouseMove:ut,onMouseLeave:Be,onContextMenu:bt,onClick:pt,onDoubleClick:Nt,onKeyDown:ue?Kt:void 0,tabIndex:ue?0:void 0,onFocus:ue?Et:void 0,role:j.ariaRole??(ue?"group":void 0),"aria-roledescription":"node","aria-describedby":L?void 0:`${Bzt}-${D}`,"aria-label":j.ariaLabel,...j.domAttributes,children:I.jsx(TMn,{value:n,children:I.jsx(Q,{id:n,data:j.data,type:ne,positionAbsoluteX:z.positionAbsolute.x,positionAbsoluteY:z.positionAbsolute.y,selected:j.selected??!1,selectable:he,draggable:ae,deletable:j.deletable??!0,isConnectable:pe,sourcePosition:j.sourcePosition,targetPosition:j.targetPosition,dragging:De,dragHandle:j.dragHandle,zIndex:z.z,parentId:j.parentId,...Re})})})}var HMn=H.memo(UMn);const zMn=n=>({nodesDraggable:n.nodesDraggable,nodesConnectable:n.nodesConnectable,nodesFocusable:n.nodesFocusable,elementsSelectable:n.elementsSelectable,onError:n.onError});function Zzt(n){const{nodesDraggable:i,nodesConnectable:s,nodesFocusable:c,elementsSelectable:d,onError:g}=Js(zMn,Lu),b=jMn(n.onlyRenderVisibleElements),w=$Mn();return I.jsx("div",{className:"react-flow__nodes",style:iae,children:b.map(E=>I.jsx(HMn,{id:E,nodeTypes:n.nodeTypes,nodeExtent:n.nodeExtent,onClick:n.onNodeClick,onMouseEnter:n.onNodeMouseEnter,onMouseMove:n.onNodeMouseMove,onMouseLeave:n.onNodeMouseLeave,onContextMenu:n.onNodeContextMenu,onDoubleClick:n.onNodeDoubleClick,noDragClassName:n.noDragClassName,noPanClassName:n.noPanClassName,rfId:n.rfId,disableKeyboardA11y:n.disableKeyboardA11y,resizeObserver:w,nodesDraggable:i,nodesConnectable:s,nodesFocusable:c,elementsSelectable:d,nodeClickDistance:n.nodeClickDistance,onError:g},E))})}Zzt.displayName="NodeRenderer";const GMn=H.memo(Zzt);function qMn(n){return Js(H.useCallback(s=>{if(!n)return s.edges.map(d=>d.id);const c=[];if(s.width&&s.height)for(const d of s.edges){const g=s.nodeLookup.get(d.source),b=s.nodeLookup.get(d.target);g&&b&&BLn({sourceNode:g,targetNode:b,width:s.width,height:s.height,transform:s.transform})&&c.push(d.id)}return c},[n]),Lu)}const VMn=({color:n="none",strokeWidth:i=1})=>{const s={strokeWidth:i,...n&&{stroke:n}};return I.jsx("polyline",{className:"arrow",style:s,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},WMn=({color:n="none",strokeWidth:i=1})=>{const s={strokeWidth:i,...n&&{stroke:n,fill:n}};return I.jsx("polyline",{className:"arrowclosed",style:s,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},v9t={[sA.Arrow]:VMn,[sA.ArrowClosed]:WMn};function KMn(n){const i=Mu();return H.useMemo(()=>{var d,g;return Object.prototype.hasOwnProperty.call(v9t,n)?v9t[n]:((g=(d=i.getState()).onError)==null||g.call(d,"009",z2.error009(n)),null)},[n])}const YMn=({id:n,type:i,color:s,width:c=12.5,height:d=12.5,markerUnits:g="strokeWidth",strokeWidth:b,orient:w="auto-start-reverse"})=>{const E=KMn(i);return E?I.jsx("marker",{className:"react-flow__arrowhead",id:n,markerWidth:`${c}`,markerHeight:`${d}`,viewBox:"-10 -10 20 20",markerUnits:g,orient:w,refX:"0",refY:"0",children:I.jsx(E,{color:s,strokeWidth:b})}):null},Qzt=({defaultColor:n,rfId:i})=>{const s=Js(g=>g.edges),c=Js(g=>g.defaultEdgeOptions),d=H.useMemo(()=>WLn(s,{id:i,defaultColor:n,defaultMarkerStart:c==null?void 0:c.markerStart,defaultMarkerEnd:c==null?void 0:c.markerEnd}),[s,c,i,n]);return d.length?I.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:I.jsx("defs",{children:d.map(g=>I.jsx(YMn,{id:g.id,type:g.type,color:g.color,width:g.width,height:g.height,markerUnits:g.markerUnits,strokeWidth:g.strokeWidth,orient:g.orient},g.id))})}):null};Qzt.displayName="MarkerDefinitions";var JMn=H.memo(Qzt);function eGt({x:n,y:i,label:s,labelStyle:c,labelShowBg:d=!0,labelBgStyle:g,labelBgPadding:b=[2,4],labelBgBorderRadius:w=2,children:E,className:S,..._}){const[A,C]=H.useState({x:1,y:0,width:0,height:0}),O=Bd(["react-flow__edge-textwrapper",S]),L=H.useRef(null);return H.useEffect(()=>{if(L.current){const D=L.current.getBBox();C({x:D.x,y:D.y,width:D.width,height:D.height})}},[s]),s?I.jsxs("g",{transform:`translate(${n-A.width/2} ${i-A.height/2})`,className:O,visibility:A.width?"visible":"hidden",..._,children:[d&&I.jsx("rect",{width:A.width+2*b[0],x:-b[0],y:-b[1],height:A.height+2*b[1],className:"react-flow__edge-textbg",style:g,rx:w,ry:w}),I.jsx("text",{className:"react-flow__edge-text",y:A.height/2,dy:"0.3em",ref:L,style:c,children:s}),E]}):null}eGt.displayName="EdgeText";const XMn=H.memo(eGt);function Nz({path:n,labelX:i,labelY:s,label:c,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E,interactionWidth:S=20,..._}){return I.jsxs(I.Fragment,{children:[I.jsx("path",{..._,d:n,fill:"none",className:Bd(["react-flow__edge-path",_.className])}),S?I.jsx("path",{d:n,fill:"none",strokeOpacity:0,strokeWidth:S,className:"react-flow__edge-interaction"}):null,c&&Dv(i)&&Dv(s)?I.jsx(XMn,{x:i,y:s,label:c,labelStyle:d,labelShowBg:g,labelBgStyle:b,labelBgPadding:w,labelBgBorderRadius:E}):null]})}function E9t({pos:n,x1:i,y1:s,x2:c,y2:d}){return n===qr.Left||n===qr.Right?[.5*(i+c),s]:[i,.5*(s+d)]}function tGt({sourceX:n,sourceY:i,sourcePosition:s=qr.Bottom,targetX:c,targetY:d,targetPosition:g=qr.Top}){const[b,w]=E9t({pos:s,x1:n,y1:i,x2:c,y2:d}),[E,S]=E9t({pos:g,x1:c,y1:d,x2:n,y2:i}),[_,A,C,O]=vzt({sourceX:n,sourceY:i,targetX:c,targetY:d,sourceControlX:b,sourceControlY:w,targetControlX:E,targetControlY:S});return[`M${n},${i} C${b},${w} ${E},${S} ${c},${d}`,_,A,C,O]}function nGt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,sourcePosition:b,targetPosition:w,label:E,labelStyle:S,labelShowBg:_,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:O,style:L,markerEnd:D,markerStart:B,interactionWidth:$})=>{const[P,j,z]=tGt({sourceX:s,sourceY:c,sourcePosition:b,targetX:d,targetY:g,targetPosition:w}),ee=n.isInternal?void 0:i;return I.jsx(Nz,{id:ee,path:P,labelX:j,labelY:z,label:E,labelStyle:S,labelShowBg:_,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:O,style:L,markerEnd:D,markerStart:B,interactionWidth:$})})}const ZMn=nGt({isInternal:!1}),rGt=nGt({isInternal:!0});ZMn.displayName="SimpleBezierEdge";rGt.displayName="SimpleBezierEdgeInternal";function iGt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:_,labelBgBorderRadius:A,style:C,sourcePosition:O=qr.Bottom,targetPosition:L=qr.Top,markerEnd:D,markerStart:B,pathOptions:$,interactionWidth:P})=>{const[j,z,ee]=Xoe({sourceX:s,sourceY:c,sourcePosition:O,targetX:d,targetY:g,targetPosition:L,borderRadius:$==null?void 0:$.borderRadius,offset:$==null?void 0:$.offset,stepPosition:$==null?void 0:$.stepPosition}),ne=n.isInternal?void 0:i;return I.jsx(Nz,{id:ne,path:j,labelX:z,labelY:ee,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:_,labelBgBorderRadius:A,style:C,markerEnd:D,markerStart:B,interactionWidth:P})})}const oGt=iGt({isInternal:!1}),sGt=iGt({isInternal:!0});oGt.displayName="SmoothStepEdge";sGt.displayName="SmoothStepEdgeInternal";function aGt(n){return H.memo(({id:i,...s})=>{var d;const c=n.isInternal?void 0:i;return I.jsx(oGt,{...s,id:c,pathOptions:H.useMemo(()=>{var g;return{borderRadius:0,offset:(g=s.pathOptions)==null?void 0:g.offset}},[(d=s.pathOptions)==null?void 0:d.offset])})})}const QMn=aGt({isInternal:!1}),cGt=aGt({isInternal:!0});QMn.displayName="StepEdge";cGt.displayName="StepEdgeInternal";function uGt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:_,labelBgBorderRadius:A,style:C,markerEnd:O,markerStart:L,interactionWidth:D})=>{const[B,$,P]=Azt({sourceX:s,sourceY:c,targetX:d,targetY:g}),j=n.isInternal?void 0:i;return I.jsx(Nz,{id:j,path:B,labelX:$,labelY:P,label:b,labelStyle:w,labelShowBg:E,labelBgStyle:S,labelBgPadding:_,labelBgBorderRadius:A,style:C,markerEnd:O,markerStart:L,interactionWidth:D})})}const e9n=uGt({isInternal:!1}),lGt=uGt({isInternal:!0});e9n.displayName="StraightEdge";lGt.displayName="StraightEdgeInternal";function dGt(n){return H.memo(({id:i,sourceX:s,sourceY:c,targetX:d,targetY:g,sourcePosition:b=qr.Bottom,targetPosition:w=qr.Top,label:E,labelStyle:S,labelShowBg:_,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:O,style:L,markerEnd:D,markerStart:B,pathOptions:$,interactionWidth:P})=>{const[j,z,ee]=Ezt({sourceX:s,sourceY:c,sourcePosition:b,targetX:d,targetY:g,targetPosition:w,curvature:$==null?void 0:$.curvature}),ne=n.isInternal?void 0:i;return I.jsx(Nz,{id:ne,path:j,labelX:z,labelY:ee,label:E,labelStyle:S,labelShowBg:_,labelBgStyle:A,labelBgPadding:C,labelBgBorderRadius:O,style:L,markerEnd:D,markerStart:B,interactionWidth:P})})}const t9n=dGt({isInternal:!1}),fGt=dGt({isInternal:!0});t9n.displayName="BezierEdge";fGt.displayName="BezierEdgeInternal";const S9t={default:fGt,straight:lGt,step:cGt,smoothstep:sGt,simplebezier:rGt},T9t={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},n9n=(n,i,s)=>s===qr.Left?n-i:s===qr.Right?n+i:n,r9n=(n,i,s)=>s===qr.Top?n-i:s===qr.Bottom?n+i:n,A9t="react-flow__edgeupdater";function _9t({position:n,centerX:i,centerY:s,radius:c=10,onMouseDown:d,onMouseEnter:g,onMouseOut:b,type:w}){return I.jsx("circle",{onMouseDown:d,onMouseEnter:g,onMouseOut:b,className:Bd([A9t,`${A9t}-${w}`]),cx:n9n(i,c,n),cy:r9n(s,c,n),r:c,stroke:"transparent",fill:"transparent"})}function i9n({isReconnectable:n,reconnectRadius:i,edge:s,sourceX:c,sourceY:d,targetX:g,targetY:b,sourcePosition:w,targetPosition:E,onReconnect:S,onReconnectStart:_,onReconnectEnd:A,setReconnecting:C,setUpdateHover:O}){const L=Mu(),D=(z,ee)=>{if(z.button!==0)return;const{autoPanOnConnect:ne,domNode:Q,isValidConnection:ae,connectionMode:he,connectionRadius:pe,lib:ue,onConnectStart:fe,onConnectEnd:K,cancelConnection:ge,nodeLookup:De,rfId:Se,panBy:Re,updateConnection:Ae}=L.getState(),xe=ee.type==="target",We=(bt,Nt)=>{C(!1),A==null||A(bt,s,ee.type,Nt)},ut=bt=>S==null?void 0:S(s,bt),Be=(bt,Nt)=>{C(!0),_==null||_(z,s,ee.type),fe==null||fe(bt,Nt)};vDe.onPointerDown(z.nativeEvent,{autoPanOnConnect:ne,connectionMode:he,connectionRadius:pe,domNode:Q,handleId:ee.id,nodeId:ee.nodeId,nodeLookup:De,isTarget:xe,edgeUpdaterType:ee.type,lib:ue,flowId:Se,cancelConnection:ge,panBy:Re,isValidConnection:ae,onConnect:ut,onConnectStart:Be,onConnectEnd:K,onReconnectEnd:We,updateConnection:Ae,getTransform:()=>L.getState().transform,getFromHandle:()=>L.getState().connection.fromHandle,dragThreshold:L.getState().connectionDragThreshold,handleDomNode:z.currentTarget})},B=z=>D(z,{nodeId:s.target,id:s.targetHandle??null,type:"target"}),$=z=>D(z,{nodeId:s.source,id:s.sourceHandle??null,type:"source"}),P=()=>O(!0),j=()=>O(!1);return I.jsxs(I.Fragment,{children:[(n===!0||n==="source")&&I.jsx(_9t,{position:w,centerX:c,centerY:d,radius:i,onMouseDown:B,onMouseEnter:P,onMouseOut:j,type:"source"}),(n===!0||n==="target")&&I.jsx(_9t,{position:E,centerX:g,centerY:b,radius:i,onMouseDown:$,onMouseEnter:P,onMouseOut:j,type:"target"})]})}function o9n({id:n,edgesFocusable:i,edgesReconnectable:s,elementsSelectable:c,onClick:d,onDoubleClick:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,reconnectRadius:_,onReconnect:A,onReconnectStart:C,onReconnectEnd:O,rfId:L,edgeTypes:D,noPanClassName:B,onError:$,disableKeyboardA11y:P}){let j=Js(Yn=>Yn.edgeLookup.get(n));const z=Js(Yn=>Yn.defaultEdgeOptions);j=z?{...z,...j}:j;let ee=j.type||"default",ne=(D==null?void 0:D[ee])||S9t[ee];ne===void 0&&($==null||$("011",z2.error011(ee)),ee="default",ne=(D==null?void 0:D.default)||S9t.default);const Q=!!(j.focusable||i&&typeof j.focusable>"u"),ae=typeof A<"u"&&(j.reconnectable||s&&typeof j.reconnectable>"u"),he=!!(j.selectable||c&&typeof j.selectable>"u"),pe=H.useRef(null),[ue,fe]=H.useState(!1),[K,ge]=H.useState(!1),De=Mu(),{zIndex:Se,sourceX:Re,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:ut,targetPosition:Be}=Js(H.useCallback(Yn=>{const Er=Yn.nodeLookup.get(j.source),Ui=Yn.nodeLookup.get(j.target);if(!Er||!Ui)return{zIndex:j.zIndex,...T9t};const Qr=VLn({id:n,sourceNode:Er,targetNode:Ui,sourceHandle:j.sourceHandle||null,targetHandle:j.targetHandle||null,connectionMode:Yn.connectionMode,onError:$});return{zIndex:$Ln({selected:j.selected,zIndex:j.zIndex,sourceNode:Er,targetNode:Ui,elevateOnSelect:Yn.elevateEdgesOnSelect,zIndexMode:Yn.zIndexMode}),...Qr||T9t}},[j.source,j.target,j.sourceHandle,j.targetHandle,j.selected,j.zIndex]),Lu),bt=H.useMemo(()=>j.markerStart?`url('#${wDe(j.markerStart,L)}')`:void 0,[j.markerStart,L]),Nt=H.useMemo(()=>j.markerEnd?`url('#${wDe(j.markerEnd,L)}')`:void 0,[j.markerEnd,L]);if(j.hidden||Re===null||Ae===null||xe===null||We===null)return null;const pt=Yn=>{var Hi;const{addSelectedEdges:Er,unselectNodesAndEdges:Ui,multiSelectionActive:Qr}=De.getState();he&&(De.setState({nodesSelectionActive:!1}),j.selected&&Qr?(Ui({nodes:[],edges:[j]}),(Hi=pe.current)==null||Hi.blur()):Er([n])),d&&d(Yn,j)},Kt=g?Yn=>{g(Yn,{...j})}:void 0,Et=b?Yn=>{b(Yn,{...j})}:void 0,Dt=w?Yn=>{w(Yn,{...j})}:void 0,Yt=E?Yn=>{E(Yn,{...j})}:void 0,Ln=S?Yn=>{S(Yn,{...j})}:void 0,Zn=Yn=>{var Er;if(!P&&szt.includes(Yn.key)&&he){const{unselectNodesAndEdges:Ui,addSelectedEdges:Qr}=De.getState();Yn.key==="Escape"?((Er=pe.current)==null||Er.blur(),Ui({edges:[j]})):Qr([n])}};return I.jsx("svg",{style:{zIndex:Se},children:I.jsxs("g",{className:Bd(["react-flow__edge",`react-flow__edge-${ee}`,j.className,B,{selected:j.selected,animated:j.animated,inactive:!he&&!d,updating:ue,selectable:he}]),onClick:pt,onDoubleClick:Kt,onContextMenu:Et,onMouseEnter:Dt,onMouseMove:Yt,onMouseLeave:Ln,onKeyDown:Q?Zn:void 0,tabIndex:Q?0:void 0,role:j.ariaRole??(Q?"group":"img"),"aria-roledescription":"edge","data-id":n,"data-testid":`rf__edge-${n}`,"aria-label":j.ariaLabel===null?void 0:j.ariaLabel||`Edge from ${j.source} to ${j.target}`,"aria-describedby":Q?`${Uzt}-${L}`:void 0,ref:pe,...j.domAttributes,children:[!K&&I.jsx(ne,{id:n,source:j.source,target:j.target,type:j.type,selected:j.selected,animated:j.animated,selectable:he,deletable:j.deletable??!0,label:j.label,labelStyle:j.labelStyle,labelShowBg:j.labelShowBg,labelBgStyle:j.labelBgStyle,labelBgPadding:j.labelBgPadding,labelBgBorderRadius:j.labelBgBorderRadius,sourceX:Re,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:ut,targetPosition:Be,data:j.data,style:j.style,sourceHandleId:j.sourceHandle,targetHandleId:j.targetHandle,markerStart:bt,markerEnd:Nt,pathOptions:"pathOptions"in j?j.pathOptions:void 0,interactionWidth:j.interactionWidth}),ae&&I.jsx(i9n,{edge:j,isReconnectable:ae,reconnectRadius:_,onReconnect:A,onReconnectStart:C,onReconnectEnd:O,sourceX:Re,sourceY:Ae,targetX:xe,targetY:We,sourcePosition:ut,targetPosition:Be,setUpdateHover:fe,setReconnecting:ge})]})})}var s9n=H.memo(o9n);const a9n=n=>({edgesFocusable:n.edgesFocusable,edgesReconnectable:n.edgesReconnectable,elementsSelectable:n.elementsSelectable,connectionMode:n.connectionMode,onError:n.onError});function hGt({defaultMarkerColor:n,onlyRenderVisibleElements:i,rfId:s,edgeTypes:c,noPanClassName:d,onReconnect:g,onEdgeContextMenu:b,onEdgeMouseEnter:w,onEdgeMouseMove:E,onEdgeMouseLeave:S,onEdgeClick:_,reconnectRadius:A,onEdgeDoubleClick:C,onReconnectStart:O,onReconnectEnd:L,disableKeyboardA11y:D}){const{edgesFocusable:B,edgesReconnectable:$,elementsSelectable:P,onError:j}=Js(a9n,Lu),z=qMn(i);return I.jsxs("div",{className:"react-flow__edges",children:[I.jsx(JMn,{defaultColor:n,rfId:s}),z.map(ee=>I.jsx(s9n,{id:ee,edgesFocusable:B,edgesReconnectable:$,elementsSelectable:P,noPanClassName:d,onReconnect:g,onContextMenu:b,onMouseEnter:w,onMouseMove:E,onMouseLeave:S,onClick:_,reconnectRadius:A,onDoubleClick:C,onReconnectStart:O,onReconnectEnd:L,rfId:s,onError:j,edgeTypes:c,disableKeyboardA11y:D},ee))]})}hGt.displayName="EdgeRenderer";const c9n=H.memo(hGt),u9n=n=>`translate(${n.transform[0]}px,${n.transform[1]}px) scale(${n.transform[2]})`;function l9n({children:n}){const i=Js(u9n);return I.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:i},children:n})}function d9n(n){const i=kR(),s=H.useRef(!1);H.useEffect(()=>{!s.current&&i.viewportInitialized&&n&&(setTimeout(()=>n(i),1),s.current=!0)},[n,i.viewportInitialized])}const f9n=n=>{var i;return(i=n.panZoom)==null?void 0:i.syncViewport};function h9n(n){const i=Js(f9n),s=Mu();return H.useEffect(()=>{n&&(i==null||i(n),s.setState({transform:[n.x,n.y,n.zoom]}))},[n,i]),null}function p9n(n){return n.connection.inProgress?{...n.connection,to:kz(n.connection.to,n.transform)}:{...n.connection}}function g9n(n){return p9n}function b9n(n){const i=g9n();return Js(i,Lu)}const m9n=n=>({nodesConnectable:n.nodesConnectable,isValid:n.connection.isValid,inProgress:n.connection.inProgress,width:n.width,height:n.height});function w9n({containerStyle:n,style:i,type:s,component:c}){const{nodesConnectable:d,width:g,height:b,isValid:w,inProgress:E}=Js(m9n,Lu);return!(g&&d&&E)?null:I.jsx("svg",{style:n,width:g,height:b,className:"react-flow__connectionline react-flow__container",children:I.jsx("g",{className:Bd(["react-flow__connection",uzt(w)]),children:I.jsx(pGt,{style:i,type:s,CustomComponent:c,isValid:w})})})}const pGt=({style:n,type:i=Bk.Bezier,CustomComponent:s,isValid:c})=>{const{inProgress:d,from:g,fromNode:b,fromHandle:w,fromPosition:E,to:S,toNode:_,toHandle:A,toPosition:C,pointer:O}=b9n();if(!d)return;if(s)return I.jsx(s,{connectionLineType:i,connectionLineStyle:n,fromNode:b,fromHandle:w,fromX:g.x,fromY:g.y,toX:S.x,toY:S.y,fromPosition:E,toPosition:C,connectionStatus:uzt(c),toNode:_,toHandle:A,pointer:O});let L="";const D={sourceX:g.x,sourceY:g.y,sourcePosition:E,targetX:S.x,targetY:S.y,targetPosition:C};switch(i){case Bk.Bezier:[L]=Ezt(D);break;case Bk.SimpleBezier:[L]=tGt(D);break;case Bk.Step:[L]=Xoe({...D,borderRadius:0});break;case Bk.SmoothStep:[L]=Xoe(D);break;default:[L]=Azt(D)}return I.jsx("path",{d:L,fill:"none",className:"react-flow__connection-path",style:n})};pGt.displayName="ConnectionLine";const y9n={};function x9t(n=y9n){H.useRef(n),Mu(),H.useEffect(()=>{},[n])}function v9n(){Mu(),H.useRef(!1),H.useEffect(()=>{},[])}function gGt({nodeTypes:n,edgeTypes:i,onInit:s,onNodeClick:c,onEdgeClick:d,onNodeDoubleClick:g,onEdgeDoubleClick:b,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:_,onSelectionContextMenu:A,onSelectionStart:C,onSelectionEnd:O,connectionLineType:L,connectionLineStyle:D,connectionLineComponent:B,connectionLineContainerStyle:$,selectionKeyCode:P,selectionOnDrag:j,selectionMode:z,multiSelectionKeyCode:ee,panActivationKeyCode:ne,zoomActivationKeyCode:Q,deleteKeyCode:ae,onlyRenderVisibleElements:he,elementsSelectable:pe,defaultViewport:ue,translateExtent:fe,minZoom:K,maxZoom:ge,preventScrolling:De,defaultMarkerColor:Se,zoomOnScroll:Re,zoomOnPinch:Ae,panOnScroll:xe,panOnScrollSpeed:We,panOnScrollMode:ut,zoomOnDoubleClick:Be,panOnDrag:bt,onPaneClick:Nt,onPaneMouseEnter:pt,onPaneMouseMove:Kt,onPaneMouseLeave:Et,onPaneScroll:Dt,onPaneContextMenu:Yt,paneClickDistance:Ln,nodeClickDistance:Zn,onEdgeContextMenu:Yn,onEdgeMouseEnter:Er,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,onReconnect:ai,onReconnectStart:ju,onReconnectEnd:Xs,noDragClassName:ls,noWheelClassName:es,noPanClassName:Ca,disableKeyboardA11y:Ci,nodeExtent:mb,rfId:Jg,viewport:Wh,onViewportChange:wb}){return x9t(n),x9t(i),v9n(),d9n(s),h9n(Wh),I.jsx(MMn,{onPaneClick:Nt,onPaneMouseEnter:pt,onPaneMouseMove:Kt,onPaneMouseLeave:Et,onPaneContextMenu:Yt,onPaneScroll:Dt,paneClickDistance:Ln,deleteKeyCode:ae,selectionKeyCode:P,selectionOnDrag:j,selectionMode:z,onSelectionStart:C,onSelectionEnd:O,multiSelectionKeyCode:ee,panActivationKeyCode:ne,zoomActivationKeyCode:Q,elementsSelectable:pe,zoomOnScroll:Re,zoomOnPinch:Ae,zoomOnDoubleClick:Be,panOnScroll:xe,panOnScrollSpeed:We,panOnScrollMode:ut,panOnDrag:bt,defaultViewport:ue,translateExtent:fe,minZoom:K,maxZoom:ge,onSelectionContextMenu:A,preventScrolling:De,noDragClassName:ls,noWheelClassName:es,noPanClassName:Ca,disableKeyboardA11y:Ci,onViewportChange:wb,isControlledViewport:!!Wh,children:I.jsxs(l9n,{children:[I.jsx(c9n,{edgeTypes:i,onEdgeClick:d,onEdgeDoubleClick:b,onReconnect:ai,onReconnectStart:ju,onReconnectEnd:Xs,onlyRenderVisibleElements:he,onEdgeContextMenu:Yn,onEdgeMouseEnter:Er,onEdgeMouseMove:Ui,onEdgeMouseLeave:Qr,reconnectRadius:Hi,defaultMarkerColor:Se,noPanClassName:Ca,disableKeyboardA11y:Ci,rfId:Jg}),I.jsx(w9n,{style:D,type:L,component:B,containerStyle:$}),I.jsx("div",{className:"react-flow__edgelabel-renderer"}),I.jsx(GMn,{nodeTypes:n,onNodeClick:c,onNodeDoubleClick:g,onNodeMouseEnter:w,onNodeMouseMove:E,onNodeMouseLeave:S,onNodeContextMenu:_,nodeClickDistance:Zn,onlyRenderVisibleElements:he,noPanClassName:Ca,noDragClassName:ls,disableKeyboardA11y:Ci,nodeExtent:mb,rfId:Jg}),I.jsx("div",{className:"react-flow__viewport-portal"})]})})}gGt.displayName="GraphView";const E9n=H.memo(gGt),k9t=({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E=.5,maxZoom:S=2,nodeOrigin:_,nodeExtent:A,zIndexMode:C="basic"}={})=>{const O=new Map,L=new Map,D=new Map,B=new Map,$=c??i??[],P=s??n??[],j=_??[0,0],z=A??YH;kzt(D,B,$);const ee=yDe(P,O,L,{nodeOrigin:j,nodeExtent:z,zIndexMode:C});let ne=[0,0,1];if(b&&d&&g){const Q=_z(O,{filter:ue=>!!((ue.width||ue.initialWidth)&&(ue.height||ue.initialHeight))}),{x:ae,y:he,zoom:pe}=L5e(Q,d,g,E,S,(w==null?void 0:w.padding)??.1);ne=[ae,he,pe]}return{rfId:"1",width:d??0,height:g??0,transform:ne,nodes:P,nodesInitialized:ee,nodeLookup:O,parentLookup:L,edges:$,edgeLookup:B,connectionLookup:D,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:s!==void 0,hasDefaultEdges:c!==void 0,panZoom:null,minZoom:E,maxZoom:S,translateExtent:YH,nodeExtent:z,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:SM.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:j,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:b??!1,fitViewOptions:w,fitViewResolver:null,connection:{...czt},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:DLn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:azt,zIndexMode:C,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},S9n=({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:_,nodeExtent:A,zIndexMode:C})=>B5n((O,L)=>{async function D(){const{nodeLookup:B,panZoom:$,fitViewOptions:P,fitViewResolver:j,width:z,height:ee,minZoom:ne,maxZoom:Q}=L();$&&(await RLn({nodes:B,width:z,height:ee,panZoom:$,minZoom:ne,maxZoom:Q},P),j==null||j.resolve(!0),O({fitViewResolver:null}))}return{...k9t({nodes:n,edges:i,width:d,height:g,fitView:b,fitViewOptions:w,minZoom:E,maxZoom:S,nodeOrigin:_,nodeExtent:A,defaultNodes:s,defaultEdges:c,zIndexMode:C}),setNodes:B=>{const{nodeLookup:$,parentLookup:P,nodeOrigin:j,elevateNodesOnSelect:z,fitViewQueued:ee,zIndexMode:ne}=L(),Q=yDe(B,$,P,{nodeOrigin:j,nodeExtent:A,elevateNodesOnSelect:z,checkEquality:!0,zIndexMode:ne});ee&&Q?(D(),O({nodes:B,nodesInitialized:Q,fitViewQueued:!1,fitViewOptions:void 0})):O({nodes:B,nodesInitialized:Q})},setEdges:B=>{const{connectionLookup:$,edgeLookup:P}=L();kzt($,P,B),O({edges:B})},setDefaultNodesAndEdges:(B,$)=>{if(B){const{setNodes:P}=L();P(B),O({hasDefaultNodes:!0})}if($){const{setEdges:P}=L();P($),O({hasDefaultEdges:!0})}},updateNodeInternals:B=>{const{triggerNodeChanges:$,nodeLookup:P,parentLookup:j,domNode:z,nodeOrigin:ee,nodeExtent:ne,debug:Q,fitViewQueued:ae,zIndexMode:he}=L(),{changes:pe,updatedInternals:ue}=e5n(B,P,j,z,ee,ne,he);ue&&(JLn(P,j,{nodeOrigin:ee,nodeExtent:ne,zIndexMode:he}),ae?(D(),O({fitViewQueued:!1,fitViewOptions:void 0})):O({}),(pe==null?void 0:pe.length)>0&&(Q&&console.log("React Flow: trigger node changes",pe),$==null||$(pe)))},updateNodePositions:(B,$=!1)=>{const P=[];let j=[];const{nodeLookup:z,triggerNodeChanges:ee,connection:ne,updateConnection:Q,onNodesChangeMiddlewareMap:ae}=L();for(const[he,pe]of B){const ue=z.get(he),fe=!!(ue!=null&&ue.expandParent&&(ue!=null&&ue.parentId)&&(pe!=null&&pe.position)),K={id:he,type:"position",position:fe?{x:Math.max(0,pe.position.x),y:Math.max(0,pe.position.y)}:pe.position,dragging:$};if(ue&&ne.inProgress&&ne.fromNode.id===ue.id){const ge=pR(ue,ne.fromHandle,qr.Left,!0);Q({...ne,from:ge})}fe&&ue.parentId&&P.push({id:he,parentId:ue.parentId,rect:{...pe.internals.positionAbsolute,width:pe.measured.width??0,height:pe.measured.height??0}}),j.push(K)}if(P.length>0){const{parentLookup:he,nodeOrigin:pe}=L(),ue=B5e(P,z,he,pe);j.push(...ue)}for(const he of ae.values())j=he(j);ee(j)},triggerNodeChanges:B=>{const{onNodesChange:$,setNodes:P,nodes:j,hasDefaultNodes:z,debug:ee}=L();if(B!=null&&B.length){if(z){const ne=Gzt(B,j);P(ne)}ee&&console.log("React Flow: trigger node changes",B),$==null||$(B)}},triggerEdgeChanges:B=>{const{onEdgesChange:$,setEdges:P,edges:j,hasDefaultEdges:z,debug:ee}=L();if(B!=null&&B.length){if(z){const ne=qzt(B,j);P(ne)}ee&&console.log("React Flow: trigger edge changes",B),$==null||$(B)}},addSelectedNodes:B=>{const{multiSelectionActive:$,edgeLookup:P,nodeLookup:j,triggerNodeChanges:z,triggerEdgeChanges:ee}=L();if($){const ne=B.map(Q=>W4(Q,!0));z(ne);return}z(G5(j,new Set([...B]),!0)),ee(G5(P))},addSelectedEdges:B=>{const{multiSelectionActive:$,edgeLookup:P,nodeLookup:j,triggerNodeChanges:z,triggerEdgeChanges:ee}=L();if($){const ne=B.map(Q=>W4(Q,!0));ee(ne);return}ee(G5(P,new Set([...B]))),z(G5(j,new Set,!0))},unselectNodesAndEdges:({nodes:B,edges:$}={})=>{const{edges:P,nodes:j,nodeLookup:z,triggerNodeChanges:ee,triggerEdgeChanges:ne}=L(),Q=B||j,ae=$||P,he=Q.map(ue=>{const fe=z.get(ue.id);return fe&&(fe.selected=!1),W4(ue.id,!1)}),pe=ae.map(ue=>W4(ue.id,!1));ee(he),ne(pe)},setMinZoom:B=>{const{panZoom:$,maxZoom:P}=L();$==null||$.setScaleExtent([B,P]),O({minZoom:B})},setMaxZoom:B=>{const{panZoom:$,minZoom:P}=L();$==null||$.setScaleExtent([P,B]),O({maxZoom:B})},setTranslateExtent:B=>{var $;($=L().panZoom)==null||$.setTranslateExtent(B),O({translateExtent:B})},resetSelectedElements:()=>{const{edges:B,nodes:$,triggerNodeChanges:P,triggerEdgeChanges:j,elementsSelectable:z}=L();if(!z)return;const ee=$.reduce((Q,ae)=>ae.selected?[...Q,W4(ae.id,!1)]:Q,[]),ne=B.reduce((Q,ae)=>ae.selected?[...Q,W4(ae.id,!1)]:Q,[]);P(ee),j(ne)},setNodeExtent:B=>{const{nodes:$,nodeLookup:P,parentLookup:j,nodeOrigin:z,elevateNodesOnSelect:ee,nodeExtent:ne,zIndexMode:Q}=L();B[0][0]===ne[0][0]&&B[0][1]===ne[0][1]&&B[1][0]===ne[1][0]&&B[1][1]===ne[1][1]||(yDe($,P,j,{nodeOrigin:z,nodeExtent:B,elevateNodesOnSelect:ee,checkEquality:!1,zIndexMode:Q}),O({nodeExtent:B}))},panBy:B=>{const{transform:$,width:P,height:j,panZoom:z,translateExtent:ee}=L();return t5n({delta:B,panZoom:z,transform:$,translateExtent:ee,width:P,height:j})},setCenter:async(B,$,P)=>{const{width:j,height:z,maxZoom:ee,panZoom:ne}=L();if(!ne)return Promise.resolve(!1);const Q=typeof(P==null?void 0:P.zoom)<"u"?P.zoom:ee;return await ne.setViewport({x:j/2-B*Q,y:z/2-$*Q,zoom:Q},{duration:P==null?void 0:P.duration,ease:P==null?void 0:P.ease,interpolate:P==null?void 0:P.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{O({connection:{...czt}})},updateConnection:B=>{O({connection:B})},reset:()=>O({...k9t()})}},Object.is);function bGt({initialNodes:n,initialEdges:i,defaultNodes:s,defaultEdges:c,initialWidth:d,initialHeight:g,initialMinZoom:b,initialMaxZoom:w,initialFitViewOptions:E,fitView:S,nodeOrigin:_,nodeExtent:A,zIndexMode:C,children:O}){const[L]=H.useState(()=>S9n({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,width:d,height:g,fitView:S,minZoom:b,maxZoom:w,fitViewOptions:E,nodeOrigin:_,nodeExtent:A,zIndexMode:C}));return I.jsx(U5n,{value:L,children:I.jsx(lMn,{children:O})})}function T9n({children:n,nodes:i,edges:s,defaultNodes:c,defaultEdges:d,width:g,height:b,fitView:w,fitViewOptions:E,minZoom:S,maxZoom:_,nodeOrigin:A,nodeExtent:C,zIndexMode:O}){return H.useContext(rae)?I.jsx(I.Fragment,{children:n}):I.jsx(bGt,{initialNodes:i,initialEdges:s,defaultNodes:c,defaultEdges:d,initialWidth:g,initialHeight:b,fitView:w,initialFitViewOptions:E,initialMinZoom:S,initialMaxZoom:_,nodeOrigin:A,nodeExtent:C,zIndexMode:O,children:n})}const A9n={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function _9n({nodes:n,edges:i,defaultNodes:s,defaultEdges:c,className:d,nodeTypes:g,edgeTypes:b,onNodeClick:w,onEdgeClick:E,onInit:S,onMove:_,onMoveStart:A,onMoveEnd:C,onConnect:O,onConnectStart:L,onConnectEnd:D,onClickConnectStart:B,onClickConnectEnd:$,onNodeMouseEnter:P,onNodeMouseMove:j,onNodeMouseLeave:z,onNodeContextMenu:ee,onNodeDoubleClick:ne,onNodeDragStart:Q,onNodeDrag:ae,onNodeDragStop:he,onNodesDelete:pe,onEdgesDelete:ue,onDelete:fe,onSelectionChange:K,onSelectionDragStart:ge,onSelectionDrag:De,onSelectionDragStop:Se,onSelectionContextMenu:Re,onSelectionStart:Ae,onSelectionEnd:xe,onBeforeDelete:We,connectionMode:ut,connectionLineType:Be=Bk.Bezier,connectionLineStyle:bt,connectionLineComponent:Nt,connectionLineContainerStyle:pt,deleteKeyCode:Kt="Backspace",selectionKeyCode:Et="Shift",selectionOnDrag:Dt=!1,selectionMode:Yt=JH.Full,panActivationKeyCode:Ln="Space",multiSelectionKeyCode:Zn=ZH()?"Meta":"Control",zoomActivationKeyCode:Yn=ZH()?"Meta":"Control",snapToGrid:Er,snapGrid:Ui,onlyRenderVisibleElements:Qr=!1,selectNodesOnDrag:Hi,nodesDraggable:ai,autoPanOnNodeFocus:ju,nodesConnectable:Xs,nodesFocusable:ls,nodeOrigin:es=Hzt,edgesFocusable:Ca,edgesReconnectable:Ci,elementsSelectable:mb=!0,defaultViewport:Jg=eMn,minZoom:Wh=.5,maxZoom:wb=2,translateExtent:Wp=YH,preventScrolling:Lw=!0,nodeExtent:Kh,defaultMarkerColor:X2="#b1b1b7",zoomOnScroll:Xg=!0,zoomOnPinch:Kp=!0,panOnScroll:Zg=!1,panOnScrollSpeed:CN=.5,panOnScrollMode:IN=nR.Free,zoomOnDoubleClick:GR=!0,panOnDrag:kA=!0,onPaneClick:yb,onPaneMouseEnter:qR,onPaneMouseMove:VR,onPaneMouseLeave:RN,onPaneScroll:ON,onPaneContextMenu:go,paneClickDistance:Fu=1,nodeClickDistance:Fl=0,children:Af,onReconnect:Z2,onReconnectStart:pl,onReconnectEnd:sh,onEdgeContextMenu:Vm,onEdgeDoubleClick:ah,onEdgeMouseEnter:Yh,onEdgeMouseMove:Q2,onEdgeMouseLeave:Wm,reconnectRadius:r9=10,onNodesChange:i9,onEdgesChange:iG,noDragClassName:oG="nodrag",noWheelClassName:sG="nowheel",noPanClassName:o9="nopan",fitView:s9,fitViewOptions:a9,connectOnClick:aG,attributionPosition:cG,proOptions:uG,defaultEdgeOptions:lG,elevateNodesOnSelect:WR=!0,elevateEdgesOnSelect:dG=!1,disableKeyboardA11y:c9=!1,autoPanOnConnect:fG,autoPanOnNodeDrag:hG,autoPanSpeed:pG,connectionRadius:gG,isValidConnection:bG,onError:mG,style:wG,id:u9,nodeDragThreshold:yG,connectionDragThreshold:l9,viewport:d9,onViewportChange:vG,width:EG,height:SG,colorMode:TG="light",debug:AG,onScroll:DN,ariaLabelConfig:_G,zIndexMode:f9="basic",...xG},kG){const KR=u9||"1",NG=iMn(TG),CG=H.useCallback(h9=>{h9.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),DN==null||DN(h9)},[DN]);return I.jsx("div",{"data-testid":"rf__wrapper",...xG,onScroll:CG,style:{...wG,...A9n},ref:kG,className:Bd(["react-flow",d,NG]),id:u9,role:"application",children:I.jsxs(T9n,{nodes:n,edges:i,width:EG,height:SG,fitView:s9,fitViewOptions:a9,minZoom:Wh,maxZoom:wb,nodeOrigin:es,nodeExtent:Kh,zIndexMode:f9,children:[I.jsx(E9n,{onInit:S,onNodeClick:w,onEdgeClick:E,onNodeMouseEnter:P,onNodeMouseMove:j,onNodeMouseLeave:z,onNodeContextMenu:ee,onNodeDoubleClick:ne,nodeTypes:g,edgeTypes:b,connectionLineType:Be,connectionLineStyle:bt,connectionLineComponent:Nt,connectionLineContainerStyle:pt,selectionKeyCode:Et,selectionOnDrag:Dt,selectionMode:Yt,deleteKeyCode:Kt,multiSelectionKeyCode:Zn,panActivationKeyCode:Ln,zoomActivationKeyCode:Yn,onlyRenderVisibleElements:Qr,defaultViewport:Jg,translateExtent:Wp,minZoom:Wh,maxZoom:wb,preventScrolling:Lw,zoomOnScroll:Xg,zoomOnPinch:Kp,zoomOnDoubleClick:GR,panOnScroll:Zg,panOnScrollSpeed:CN,panOnScrollMode:IN,panOnDrag:kA,onPaneClick:yb,onPaneMouseEnter:qR,onPaneMouseMove:VR,onPaneMouseLeave:RN,onPaneScroll:ON,onPaneContextMenu:go,paneClickDistance:Fu,nodeClickDistance:Fl,onSelectionContextMenu:Re,onSelectionStart:Ae,onSelectionEnd:xe,onReconnect:Z2,onReconnectStart:pl,onReconnectEnd:sh,onEdgeContextMenu:Vm,onEdgeDoubleClick:ah,onEdgeMouseEnter:Yh,onEdgeMouseMove:Q2,onEdgeMouseLeave:Wm,reconnectRadius:r9,defaultMarkerColor:X2,noDragClassName:oG,noWheelClassName:sG,noPanClassName:o9,rfId:KR,disableKeyboardA11y:c9,nodeExtent:Kh,viewport:d9,onViewportChange:vG}),I.jsx(rMn,{nodes:n,edges:i,defaultNodes:s,defaultEdges:c,onConnect:O,onConnectStart:L,onConnectEnd:D,onClickConnectStart:B,onClickConnectEnd:$,nodesDraggable:ai,autoPanOnNodeFocus:ju,nodesConnectable:Xs,nodesFocusable:ls,edgesFocusable:Ca,edgesReconnectable:Ci,elementsSelectable:mb,elevateNodesOnSelect:WR,elevateEdgesOnSelect:dG,minZoom:Wh,maxZoom:wb,nodeExtent:Kh,onNodesChange:i9,onEdgesChange:iG,snapToGrid:Er,snapGrid:Ui,connectionMode:ut,translateExtent:Wp,connectOnClick:aG,defaultEdgeOptions:lG,fitView:s9,fitViewOptions:a9,onNodesDelete:pe,onEdgesDelete:ue,onDelete:fe,onNodeDragStart:Q,onNodeDrag:ae,onNodeDragStop:he,onSelectionDrag:De,onSelectionDragStart:ge,onSelectionDragStop:Se,onMove:_,onMoveStart:A,onMoveEnd:C,noPanClassName:o9,nodeOrigin:es,rfId:KR,autoPanOnConnect:fG,autoPanOnNodeDrag:hG,autoPanSpeed:pG,onError:mG,connectionRadius:gG,isValidConnection:bG,selectNodesOnDrag:Hi,nodeDragThreshold:yG,connectionDragThreshold:l9,onBeforeDelete:We,debug:AG,ariaLabelConfig:_G,zIndexMode:f9}),I.jsx(Q5n,{onSelectionChange:K}),Af,I.jsx(K5n,{proOptions:uG,position:cG}),I.jsx(W5n,{rfId:KR,disableKeyboardA11y:c9})]})})}var x9n=Vzt(_9n);const k9n=n=>{var i;return(i=n.domNode)==null?void 0:i.querySelector(".react-flow__edgelabel-renderer")};function N9t({children:n}){const i=Js(k9n);return i?xR.createPortal(n,i):null}function N9n({dimensions:n,lineWidth:i,variant:s,className:c}){return I.jsx("path",{strokeWidth:i,d:`M${n[0]/2} 0 V${n[1]} M0 ${n[1]/2} H${n[0]}`,className:Bd(["react-flow__background-pattern",s,c])})}function C9n({radius:n,className:i}){return I.jsx("circle",{cx:n,cy:n,r:n,className:Bd(["react-flow__background-pattern","dots",i])})}var pA;(function(n){n.Lines="lines",n.Dots="dots",n.Cross="cross"})(pA||(pA={}));const I9n={[pA.Dots]:1,[pA.Lines]:1,[pA.Cross]:6},R9n=n=>({transform:n.transform,patternId:`pattern-${n.rfId}`});function mGt({id:n,variant:i=pA.Dots,gap:s=20,size:c,lineWidth:d=1,offset:g=0,color:b,bgColor:w,style:E,className:S,patternClassName:_}){const A=H.useRef(null),{transform:C,patternId:O}=Js(R9n,Lu),L=c||I9n[i],D=i===pA.Dots,B=i===pA.Cross,$=Array.isArray(s)?s:[s,s],P=[$[0]*C[2]||1,$[1]*C[2]||1],j=L*C[2],z=Array.isArray(g)?g:[g,g],ee=B?[j,j]:P,ne=[z[0]*C[2]||1+ee[0]/2,z[1]*C[2]||1+ee[1]/2],Q=`${O}${n||""}`;return I.jsxs("svg",{className:Bd(["react-flow__background",S]),style:{...E,...iae,"--xy-background-color-props":w,"--xy-background-pattern-color-props":b},ref:A,"data-testid":"rf__background",children:[I.jsx("pattern",{id:Q,x:C[0]%P[0],y:C[1]%P[1],width:P[0],height:P[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${ne[0]},-${ne[1]})`,children:D?I.jsx(C9n,{radius:j/2,className:_}):I.jsx(N9n,{dimensions:ee,lineWidth:d,variant:i,className:_})}),I.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${Q})`})]})}mGt.displayName="Background";const O9n=H.memo(mGt);function D9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:I.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function L9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:I.jsx("path",{d:"M0 0h32v4.2H0z"})})}function M9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:I.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function P9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:I.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function j9n(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:I.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function Sie({children:n,className:i,...s}){return I.jsx("button",{type:"button",className:Bd(["react-flow__controls-button",i]),...s,children:n})}const F9n=n=>({isInteractive:n.nodesDraggable||n.nodesConnectable||n.elementsSelectable,minZoomReached:n.transform[2]<=n.minZoom,maxZoomReached:n.transform[2]>=n.maxZoom,ariaLabelConfig:n.ariaLabelConfig});function wGt({style:n,showZoom:i=!0,showFitView:s=!0,showInteractive:c=!0,fitViewOptions:d,onZoomIn:g,onZoomOut:b,onFitView:w,onInteractiveChange:E,className:S,children:_,position:A="bottom-left",orientation:C="vertical","aria-label":O}){const L=Mu(),{isInteractive:D,minZoomReached:B,maxZoomReached:$,ariaLabelConfig:P}=Js(F9n,Lu),{zoomIn:j,zoomOut:z,fitView:ee}=kR(),ne=()=>{j(),g==null||g()},Q=()=>{z(),b==null||b()},ae=()=>{ee(d),w==null||w()},he=()=>{L.setState({nodesDraggable:!D,nodesConnectable:!D,elementsSelectable:!D}),E==null||E(!D)},pe=C==="horizontal"?"horizontal":"vertical";return I.jsxs(gR,{className:Bd(["react-flow__controls",pe,S]),position:A,style:n,"data-testid":"rf__controls","aria-label":O??P["controls.ariaLabel"],children:[i&&I.jsxs(I.Fragment,{children:[I.jsx(Sie,{onClick:ne,className:"react-flow__controls-zoomin",title:P["controls.zoomIn.ariaLabel"],"aria-label":P["controls.zoomIn.ariaLabel"],disabled:$,children:I.jsx(D9n,{})}),I.jsx(Sie,{onClick:Q,className:"react-flow__controls-zoomout",title:P["controls.zoomOut.ariaLabel"],"aria-label":P["controls.zoomOut.ariaLabel"],disabled:B,children:I.jsx(L9n,{})})]}),s&&I.jsx(Sie,{className:"react-flow__controls-fitview",onClick:ae,title:P["controls.fitView.ariaLabel"],"aria-label":P["controls.fitView.ariaLabel"],children:I.jsx(M9n,{})}),c&&I.jsx(Sie,{className:"react-flow__controls-interactive",onClick:he,title:P["controls.interactive.ariaLabel"],"aria-label":P["controls.interactive.ariaLabel"],children:D?I.jsx(j9n,{}):I.jsx(P9n,{})}),_]})}wGt.displayName="Controls";const $9n=H.memo(wGt);function B9n({id:n,x:i,y:s,width:c,height:d,style:g,color:b,strokeColor:w,strokeWidth:E,className:S,borderRadius:_,shapeRendering:A,selected:C,onClick:O}){const{background:L,backgroundColor:D}=g||{},B=b||L||D;return I.jsx("rect",{className:Bd(["react-flow__minimap-node",{selected:C},S]),x:i,y:s,rx:_,ry:_,width:c,height:d,style:{fill:B,stroke:w,strokeWidth:E},shapeRendering:A,onClick:O?$=>O($,n):void 0})}const U9n=H.memo(B9n),H9n=n=>n.nodes.map(i=>i.id),WCe=n=>n instanceof Function?n:()=>n;function z9n({nodeStrokeColor:n,nodeColor:i,nodeClassName:s="",nodeBorderRadius:c=5,nodeStrokeWidth:d,nodeComponent:g=U9n,onClick:b}){const w=Js(H9n,Lu),E=WCe(i),S=WCe(n),_=WCe(s),A=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return I.jsx(I.Fragment,{children:w.map(C=>I.jsx(q9n,{id:C,nodeColorFunc:E,nodeStrokeColorFunc:S,nodeClassNameFunc:_,nodeBorderRadius:c,nodeStrokeWidth:d,NodeComponent:g,onClick:b,shapeRendering:A},C))})}function G9n({id:n,nodeColorFunc:i,nodeStrokeColorFunc:s,nodeClassNameFunc:c,nodeBorderRadius:d,nodeStrokeWidth:g,shapeRendering:b,NodeComponent:w,onClick:E}){const{node:S,x:_,y:A,width:C,height:O}=Js(L=>{const{internals:D}=L.nodeLookup.get(n),B=D.userNode,{x:$,y:P}=D.positionAbsolute,{width:j,height:z}=_A(B);return{node:B,x:$,y:P,width:j,height:z}},Lu);return!S||S.hidden||!gzt(S)?null:I.jsx(w,{x:_,y:A,width:C,height:O,style:S.style,selected:!!S.selected,className:c(S),color:i(S),borderRadius:d,strokeColor:s(S),strokeWidth:g,shapeRendering:b,onClick:E,id:S.id})}const q9n=H.memo(G9n);var V9n=H.memo(z9n);const W9n=200,K9n=150,Y9n=n=>!n.hidden,J9n=n=>{const i={x:-n.transform[0]/n.transform[2],y:-n.transform[1]/n.transform[2],width:n.width/n.transform[2],height:n.height/n.transform[2]};return{viewBB:i,boundingRect:n.nodeLookup.size>0?pzt(_z(n.nodeLookup,{filter:Y9n}),i):i,rfId:n.rfId,panZoom:n.panZoom,translateExtent:n.translateExtent,flowWidth:n.width,flowHeight:n.height,ariaLabelConfig:n.ariaLabelConfig}},X9n="react-flow__minimap-desc";function yGt({style:n,className:i,nodeStrokeColor:s,nodeColor:c,nodeClassName:d="",nodeBorderRadius:g=5,nodeStrokeWidth:b,nodeComponent:w,bgColor:E,maskColor:S,maskStrokeColor:_,maskStrokeWidth:A,position:C="bottom-right",onClick:O,onNodeClick:L,pannable:D=!1,zoomable:B=!1,ariaLabel:$,inversePan:P,zoomStep:j=1,offsetScale:z=5}){const ee=Mu(),ne=H.useRef(null),{boundingRect:Q,viewBB:ae,rfId:he,panZoom:pe,translateExtent:ue,flowWidth:fe,flowHeight:K,ariaLabelConfig:ge}=Js(J9n,Lu),De=(n==null?void 0:n.width)??W9n,Se=(n==null?void 0:n.height)??K9n,Re=Q.width/De,Ae=Q.height/Se,xe=Math.max(Re,Ae),We=xe*De,ut=xe*Se,Be=z*xe,bt=Q.x-(We-Q.width)/2-Be,Nt=Q.y-(ut-Q.height)/2-Be,pt=We+Be*2,Kt=ut+Be*2,Et=`${X9n}-${he}`,Dt=H.useRef(0),Yt=H.useRef();Dt.current=xe,H.useEffect(()=>{if(ne.current&&pe)return Yt.current=l5n({domNode:ne.current,panZoom:pe,getTransform:()=>ee.getState().transform,getViewScale:()=>Dt.current}),()=>{var Er;(Er=Yt.current)==null||Er.destroy()}},[pe]),H.useEffect(()=>{var Er;(Er=Yt.current)==null||Er.update({translateExtent:ue,width:fe,height:K,inversePan:P,pannable:D,zoomStep:j,zoomable:B})},[D,B,P,j,ue,fe,K]);const Ln=O?Er=>{var Hi;const[Ui,Qr]=((Hi=Yt.current)==null?void 0:Hi.pointer(Er))||[0,0];O(Er,{x:Ui,y:Qr})}:void 0,Zn=L?H.useCallback((Er,Ui)=>{const Qr=ee.getState().nodeLookup.get(Ui).internals.userNode;L(Er,Qr)},[]):void 0,Yn=$??ge["minimap.ariaLabel"];return I.jsx(gR,{position:C,style:{...n,"--xy-minimap-background-color-props":typeof E=="string"?E:void 0,"--xy-minimap-mask-background-color-props":typeof S=="string"?S:void 0,"--xy-minimap-mask-stroke-color-props":typeof _=="string"?_:void 0,"--xy-minimap-mask-stroke-width-props":typeof A=="number"?A*xe:void 0,"--xy-minimap-node-background-color-props":typeof c=="string"?c:void 0,"--xy-minimap-node-stroke-color-props":typeof s=="string"?s:void 0,"--xy-minimap-node-stroke-width-props":typeof b=="number"?b:void 0},className:Bd(["react-flow__minimap",i]),"data-testid":"rf__minimap",children:I.jsxs("svg",{width:De,height:Se,viewBox:`${bt} ${Nt} ${pt} ${Kt}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Et,ref:ne,onClick:Ln,children:[Yn&&I.jsx("title",{id:Et,children:Yn}),I.jsx(V9n,{onClick:Zn,nodeColor:c,nodeStrokeColor:s,nodeBorderRadius:g,nodeClassName:d,nodeStrokeWidth:b,nodeComponent:w}),I.jsx("path",{className:"react-flow__minimap-mask",d:`M${bt-Be},${Nt-Be}h${pt+Be*2}v${Kt+Be*2}h${-pt-Be*2}z
M${ae.x},${ae.y}h${ae.width}v${ae.height}h${-ae.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}yGt.displayName="MiniMap";const Z9n=H.memo(yGt),Q9n=n=>i=>n?`${Math.max(1/i.transform[2],1)}`:void 0,e8n={[xM.Line]:"right",[xM.Handle]:"bottom-right"};function t8n({nodeId:n,position:i,variant:s=xM.Handle,className:c,style:d=void 0,children:g,color:b,minWidth:w=10,minHeight:E=10,maxWidth:S=Number.MAX_VALUE,maxHeight:_=Number.MAX_VALUE,keepAspectRatio:A=!1,resizeDirection:C,autoScale:O=!0,shouldResize:L,onResizeStart:D,onResize:B,onResizeEnd:$}){const P=Jzt(),j=typeof n=="string"?n:P,z=Mu(),ee=H.useRef(null),ne=s===xM.Handle,Q=Js(H.useCallback(Q9n(ne&&O),[ne,O]),Lu),ae=H.useRef(null),he=i??e8n[s];H.useEffect(()=>{if(!(!ee.current||!j))return ae.current||(ae.current=A5n({domNode:ee.current,nodeId:j,getStoreItems:()=>{const{nodeLookup:ue,transform:fe,snapGrid:K,snapToGrid:ge,nodeOrigin:De,domNode:Se}=z.getState();return{nodeLookup:ue,transform:fe,snapGrid:K,snapToGrid:ge,nodeOrigin:De,paneDomNode:Se}},onChange:(ue,fe)=>{const{triggerNodeChanges:K,nodeLookup:ge,parentLookup:De,nodeOrigin:Se}=z.getState(),Re=[],Ae={x:ue.x,y:ue.y},xe=ge.get(j);if(xe&&xe.expandParent&&xe.parentId){const We=xe.origin??Se,ut=ue.width??xe.measured.width??0,Be=ue.height??xe.measured.height??0,bt={id:xe.id,parentId:xe.parentId,rect:{width:ut,height:Be,...bzt({x:ue.x??xe.position.x,y:ue.y??xe.position.y},{width:ut,height:Be},xe.parentId,ge,We)}},Nt=B5e([bt],ge,De,Se);Re.push(...Nt),Ae.x=ue.x?Math.max(We[0]*ut,ue.x):void 0,Ae.y=ue.y?Math.max(We[1]*Be,ue.y):void 0}if(Ae.x!==void 0&&Ae.y!==void 0){const We={id:j,type:"position",position:{...Ae}};Re.push(We)}if(ue.width!==void 0&&ue.height!==void 0){const ut={id:j,type:"dimensions",resizing:!0,setAttributes:C?C==="horizontal"?"width":"height":!0,dimensions:{width:ue.width,height:ue.height}};Re.push(ut)}for(const We of fe){const ut={...We,type:"position"};Re.push(ut)}K(Re)},onEnd:({width:ue,height:fe})=>{const K={id:j,type:"dimensions",resizing:!1,dimensions:{width:ue,height:fe}};z.getState().triggerNodeChanges([K])}})),ae.current.update({controlPosition:he,boundaries:{minWidth:w,minHeight:E,maxWidth:S,maxHeight:_},keepAspectRatio:A,resizeDirection:C,onResizeStart:D,onResize:B,onResizeEnd:$,shouldResize:L}),()=>{var ue;(ue=ae.current)==null||ue.destroy()}},[he,w,E,S,_,A,D,B,$,L]);const pe=he.split("-");return I.jsx("div",{className:Bd(["react-flow__resize-control","nodrag",...pe,s,c]),ref:ee,style:{...d,scale:Q,...b&&{[ne?"backgroundColor":"borderColor"]:b}},children:g})}H.memo(t8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vGt=(...n)=>n.filter((i,s,c)=>!!i&&i.trim()!==""&&c.indexOf(i)===s).join(" ").trim();/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const n8n=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r8n=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,c)=>c?c.toUpperCase():s.toLowerCase());/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const C9t=n=>{const i=r8n(n);return i.charAt(0).toUpperCase()+i.slice(1)};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var i8n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o8n=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const s8n=H.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:c,className:d="",children:g,iconNode:b,...w},E)=>H.createElement("svg",{ref:E,...i8n,width:i,height:i,stroke:n,strokeWidth:c?Number(s)*24/Number(i):s,className:vGt("lucide",d),...!g&&!o8n(w)&&{"aria-hidden":"true"},...w},[...b.map(([S,_])=>H.createElement(S,_)),...Array.isArray(g)?g:[g]]));/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const hi=(n,i)=>{const s=H.forwardRef(({className:c,...d},g)=>H.createElement(s8n,{ref:g,iconNode:i,className:vGt(`lucide-${n8n(C9t(n))}`,`lucide-${n}`,c),...d}));return s.displayName=C9t(n),s};/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const a8n=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]],c8n=hi("align-end-horizontal",a8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const u8n=[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]],l8n=hi("align-end-vertical",u8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d8n=[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]],f8n=hi("align-start-horizontal",d8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const h8n=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],p8n=hi("align-start-vertical",h8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const g8n=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],b8n=hi("arrow-down",g8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m8n=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],w8n=hi("arrow-left",m8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const y8n=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],v8n=hi("arrow-up-down",y8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const E8n=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],S8n=hi("arrow-up",E8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],iN=hi("ban",T8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const A8n=[["path",{d:"m16 22-1-4",key:"1ow2iv"}],["path",{d:"M19 14a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2h-3a1 1 0 0 1-1-1V4a2 2 0 0 0-4 0v5a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a1 1 0 0 0 1 1",key:"11gii7"}],["path",{d:"M19 14H5l-1.973 6.767A1 1 0 0 0 4 22h16a1 1 0 0 0 .973-1.233z",key:"bju7h4"}],["path",{d:"m8 22 1-4",key:"s3unb"}]],_8n=hi("brush-cleaning",A8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x8n=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],oN=hi("check",x8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k8n=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],oae=hi("chevron-down",k8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N8n=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],C8n=hi("chevron-right",N8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I8n=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],R8n=hi("chevron-up",I8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const O8n=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],EGt=hi("chevrons-up-down",O8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],kw=hi("circle-alert",D8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L8n=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],SGt=hi("circle-check-big",L8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M8n=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],P8n=hi("circle-play",M8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const j8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],F8n=hi("circle",j8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $8n=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],B8n=hi("clipboard",$8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U8n=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],H5e=hi("clock",U8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H8n=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],z8n=hi("copy-plus",H8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G8n=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],z5e=hi("copy",G8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q8n=[["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z",key:"1ey20j"}],["path",{d:"M8 12h8",key:"1wcyev"}]],TGt=hi("diamond-plus",q8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const V8n=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],I9t=hi("download",V8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W8n=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],K8n=hi("external-link",W8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],J8n=hi("file-code",Y8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],Z8n=hi("file-down",X8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q8n=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],ePn=hi("file-up",Q8n);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tPn=[["path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2",key:"1nmvlm"}],["circle",{cx:"14",cy:"15",r:"1",key:"1gm4qj"}]],nPn=hi("folder-open-dot",tPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const rPn=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],G5e=hi("git-branch",rPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iPn=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],oPn=hi("history",iPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sPn=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],AGt=hi("hourglass",sPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const aPn=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],cPn=hi("layers",aPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uPn=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ez=hi("loader-circle",uPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const lPn=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],dPn=hi("menu",lPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fPn=[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]],hPn=hi("mouse-pointer-click",fPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const pPn=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],gPn=hi("octagon-x",pPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const bPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],mPn=hi("panel-left-close",bPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],yPn=hi("panel-left-open",wPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],EPn=hi("panel-right-close",vPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const SPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}]],TPn=hi("panel-right-open",SPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const APn=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Cz=hi("play",APn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _Pn=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],sae=hi("plus",_Pn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xPn=[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]],kPn=hi("redo-2",xPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const NPn=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],_Gt=hi("rotate-ccw",NPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const CPn=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],xGt=hi("save",CPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IPn=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],RPn=hi("scissors",IPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OPn=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],kGt=hi("search",OPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DPn=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],LPn=hi("settings",DPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MPn=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],NGt=hi("square",MPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PPn=[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]],R9t=hi("toggle-left",PPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jPn=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],jM=hi("trash-2",jPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const FPn=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],O9t=hi("triangle-alert",FPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $Pn=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],BPn=hi("undo-2",$Pn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const UPn=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],HPn=hi("unplug",UPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zPn=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],GPn=hi("upload",zPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qPn=[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]],CGt=hi("variable",qPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const VPn=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],IGt=hi("wifi",VPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const WPn=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],aae=hi("x",WPn);/**
* @license lucide-react v0.577.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const KPn=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],RGt=hi("zap",KPn),YPn=H.createContext(null),KCe={didCatch:!1,error:null};let JPn=class extends H.Component{constructor(i){super(i),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=KCe}static getDerivedStateFromError(i){return{didCatch:!0,error:i}}resetErrorBoundary(...i){var c,d;const{error:s}=this.state;s!==null&&((d=(c=this.props).onReset)==null||d.call(c,{args:i,reason:"imperative-api"}),this.setState(KCe))}componentDidCatch(i,s){var c,d;(d=(c=this.props).onError)==null||d.call(c,i,s)}componentDidUpdate(i,s){var g,b;const{didCatch:c}=this.state,{resetKeys:d}=this.props;c&&s.error!==null&&XPn(i.resetKeys,d)&&((b=(g=this.props).onReset)==null||b.call(g,{next:d,prev:i.resetKeys,reason:"keys"}),this.setState(KCe))}render(){const{children:i,fallbackRender:s,FallbackComponent:c,fallback:d}=this.props,{didCatch:g,error:b}=this.state;let w=i;if(g){const E={error:b,resetErrorBoundary:this.resetErrorBoundary};if(typeof s=="function")w=s(E);else if(c)w=H.createElement(c,E);else if(d!==void 0)w=d;else throw b}return H.createElement(YPn.Provider,{value:{didCatch:g,error:b,resetErrorBoundary:this.resetErrorBoundary}},w)}};function XPn(n=[],i=[]){return n.length!==i.length||n.some((s,c)=>!Object.is(s,i[c]))}function ZPn(n){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",i.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}const QPn=n=>{switch(n){case"success":return njn;case"info":return ijn;case"warning":return rjn;case"error":return ojn;default:return null}},ejn=Array(12).fill(0),tjn=({visible:n,className:i})=>Hn.createElement("div",{className:["sonner-loading-wrapper",i].filter(Boolean).join(" "),"data-visible":n},Hn.createElement("div",{className:"sonner-spinner"},ejn.map((s,c)=>Hn.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),njn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),rjn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ijn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ojn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Hn.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),sjn=Hn.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Hn.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Hn.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),ajn=()=>{const[n,i]=Hn.useState(document.hidden);return Hn.useEffect(()=>{const s=()=>{i(document.hidden)};return document.addEventListener("visibilitychange",s),()=>window.removeEventListener("visibilitychange",s)},[]),n};let SDe=1;class cjn{constructor(){this.subscribe=i=>(this.subscribers.push(i),()=>{const s=this.subscribers.indexOf(i);this.subscribers.splice(s,1)}),this.publish=i=>{this.subscribers.forEach(s=>s(i))},this.addToast=i=>{this.publish(i),this.toasts=[...this.toasts,i]},this.create=i=>{var s;const{message:c,...d}=i,g=typeof(i==null?void 0:i.id)=="number"||((s=i.id)==null?void 0:s.length)>0?i.id:SDe++,b=this.toasts.find(E=>E.id===g),w=i.dismissible===void 0?!0:i.dismissible;return this.dismissedToasts.has(g)&&this.dismissedToasts.delete(g),b?this.toasts=this.toasts.map(E=>E.id===g?(this.publish({...E,...i,id:g,title:c}),{...E,...i,id:g,dismissible:w,title:c}):E):this.addToast({title:c,...d,dismissible:w,id:g}),g},this.dismiss=i=>(i?(this.dismissedToasts.add(i),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:i,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(c=>c({id:s.id,dismiss:!0}))}),i),this.message=(i,s)=>this.create({...s,message:i}),this.error=(i,s)=>this.create({...s,message:i,type:"error"}),this.success=(i,s)=>this.create({...s,type:"success",message:i}),this.info=(i,s)=>this.create({...s,type:"info",message:i}),this.warning=(i,s)=>this.create({...s,type:"warning",message:i}),this.loading=(i,s)=>this.create({...s,type:"loading",message:i}),this.promise=(i,s)=>{if(!s)return;let c;s.loading!==void 0&&(c=this.create({...s,promise:i,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const d=Promise.resolve(i instanceof Function?i():i);let g=c!==void 0,b;const w=d.then(async S=>{if(b=["resolve",S],Hn.isValidElement(S))g=!1,this.create({id:c,type:"default",message:S});else if(ljn(S)&&!S.ok){g=!1;const A=typeof s.error=="function"?await s.error(`HTTP error! status: ${S.status}`):s.error,C=typeof s.description=="function"?await s.description(`HTTP error! status: ${S.status}`):s.description,L=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:c,type:"error",description:C,...L})}else if(S instanceof Error){g=!1;const A=typeof s.error=="function"?await s.error(S):s.error,C=typeof s.description=="function"?await s.description(S):s.description,L=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:c,type:"error",description:C,...L})}else if(s.success!==void 0){g=!1;const A=typeof s.success=="function"?await s.success(S):s.success,C=typeof s.description=="function"?await s.description(S):s.description,L=typeof A=="object"&&!Hn.isValidElement(A)?A:{message:A};this.create({id:c,type:"success",description:C,...L})}}).catch(async S=>{if(b=["reject",S],s.error!==void 0){g=!1;const _=typeof s.error=="function"?await s.error(S):s.error,A=typeof s.description=="function"?await s.description(S):s.description,O=typeof _=="object"&&!Hn.isValidElement(_)?_:{message:_};this.create({id:c,type:"error",description:A,...O})}}).finally(()=>{g&&(this.dismiss(c),c=void 0),s.finally==null||s.finally.call(s)}),E=()=>new Promise((S,_)=>w.then(()=>b[0]==="reject"?_(b[1]):S(b[1])).catch(_));return typeof c!="string"&&typeof c!="number"?{unwrap:E}:Object.assign(c,{unwrap:E})},this.custom=(i,s)=>{const c=(s==null?void 0:s.id)||SDe++;return this.create({jsx:i(c),id:c,...s}),c},this.getActiveToasts=()=>this.toasts.filter(i=>!this.dismissedToasts.has(i.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const rb=new cjn,ujn=(n,i)=>{const s=(i==null?void 0:i.id)||SDe++;return rb.addToast({title:n,...i,id:s}),s},ljn=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",djn=ujn,fjn=()=>rb.toasts,hjn=()=>rb.getActiveToasts(),bw=Object.assign(djn,{success:rb.success,info:rb.info,warning:rb.warning,error:rb.error,custom:rb.custom,message:rb.message,promise:rb.promise,dismiss:rb.dismiss,loading:rb.loading},{getHistory:fjn,getToasts:hjn});ZPn("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Tie(n){return n.label!==void 0}const pjn=3,gjn="24px",bjn="16px",D9t=4e3,mjn=356,wjn=14,yjn=45,vjn=200;function x2(...n){return n.filter(Boolean).join(" ")}function Ejn(n){const[i,s]=n.split("-"),c=[];return i&&c.push(i),s&&c.push(s),c}const Sjn=n=>{var i,s,c,d,g,b,w,E,S;const{invert:_,toast:A,unstyled:C,interacting:O,setHeights:L,visibleToasts:D,heights:B,index:$,toasts:P,expanded:j,removeToast:z,defaultRichColors:ee,closeButton:ne,style:Q,cancelButtonStyle:ae,actionButtonStyle:he,className:pe="",descriptionClassName:ue="",duration:fe,position:K,gap:ge,expandByDefault:De,classNames:Se,icons:Re,closeButtonAriaLabel:Ae="Close toast"}=n,[xe,We]=Hn.useState(null),[ut,Be]=Hn.useState(null),[bt,Nt]=Hn.useState(!1),[pt,Kt]=Hn.useState(!1),[Et,Dt]=Hn.useState(!1),[Yt,Ln]=Hn.useState(!1),[Zn,Yn]=Hn.useState(!1),[Er,Ui]=Hn.useState(0),[Qr,Hi]=Hn.useState(0),ai=Hn.useRef(A.duration||fe||D9t),ju=Hn.useRef(null),Xs=Hn.useRef(null),ls=$===0,es=$+1<=D,Ca=A.type,Ci=A.dismissible!==!1,mb=A.className||"",Jg=A.descriptionClassName||"",Wh=Hn.useMemo(()=>B.findIndex(go=>go.toastId===A.id)||0,[B,A.id]),wb=Hn.useMemo(()=>{var go;return(go=A.closeButton)!=null?go:ne},[A.closeButton,ne]),Wp=Hn.useMemo(()=>A.duration||fe||D9t,[A.duration,fe]),Lw=Hn.useRef(0),Kh=Hn.useRef(0),X2=Hn.useRef(0),Xg=Hn.useRef(null),[Kp,Zg]=K.split("-"),CN=Hn.useMemo(()=>B.reduce((go,Fu,Fl)=>Fl>=Wh?go:go+Fu.height,0),[B,Wh]),IN=ajn(),GR=A.invert||_,kA=Ca==="loading";Kh.current=Hn.useMemo(()=>Wh*ge+CN,[Wh,CN]),Hn.useEffect(()=>{ai.current=Wp},[Wp]),Hn.useEffect(()=>{Nt(!0)},[]),Hn.useEffect(()=>{const go=Xs.current;if(go){const Fu=go.getBoundingClientRect().height;return Hi(Fu),L(Fl=>[{toastId:A.id,height:Fu,position:A.position},...Fl]),()=>L(Fl=>Fl.filter(Af=>Af.toastId!==A.id))}},[L,A.id]),Hn.useLayoutEffect(()=>{if(!bt)return;const go=Xs.current,Fu=go.style.height;go.style.height="auto";const Fl=go.getBoundingClientRect().height;go.style.height=Fu,Hi(Fl),L(Af=>Af.find(pl=>pl.toastId===A.id)?Af.map(pl=>pl.toastId===A.id?{...pl,height:Fl}:pl):[{toastId:A.id,height:Fl,position:A.position},...Af])},[bt,A.title,A.description,L,A.id,A.jsx,A.action,A.cancel]);const yb=Hn.useCallback(()=>{Kt(!0),Ui(Kh.current),L(go=>go.filter(Fu=>Fu.toastId!==A.id)),setTimeout(()=>{z(A)},vjn)},[A,z,L,Kh]);Hn.useEffect(()=>{if(A.promise&&Ca==="loading"||A.duration===1/0||A.type==="loading")return;let go;return j||O||IN?(()=>{if(X2.current<Lw.current){const Af=new Date().getTime()-Lw.current;ai.current=ai.current-Af}X2.current=new Date().getTime()})():(()=>{ai.current!==1/0&&(Lw.current=new Date().getTime(),go=setTimeout(()=>{A.onAutoClose==null||A.onAutoClose.call(A,A),yb()},ai.current))})(),()=>clearTimeout(go)},[j,O,A,Ca,IN,yb]),Hn.useEffect(()=>{A.delete&&(yb(),A.onDismiss==null||A.onDismiss.call(A,A))},[yb,A.delete]);function qR(){var go;if(Re!=null&&Re.loading){var Fu;return Hn.createElement("div",{className:x2(Se==null?void 0:Se.loader,A==null||(Fu=A.classNames)==null?void 0:Fu.loader,"sonner-loader"),"data-visible":Ca==="loading"},Re.loading)}return Hn.createElement(tjn,{className:x2(Se==null?void 0:Se.loader,A==null||(go=A.classNames)==null?void 0:go.loader),visible:Ca==="loading"})}const VR=A.icon||(Re==null?void 0:Re[Ca])||QPn(Ca);var RN,ON;return Hn.createElement("li",{tabIndex:0,ref:Xs,className:x2(pe,mb,Se==null?void 0:Se.toast,A==null||(i=A.classNames)==null?void 0:i.toast,Se==null?void 0:Se.default,Se==null?void 0:Se[Ca],A==null||(s=A.classNames)==null?void 0:s[Ca]),"data-sonner-toast":"","data-rich-colors":(RN=A.richColors)!=null?RN:ee,"data-styled":!(A.jsx||A.unstyled||C),"data-mounted":bt,"data-promise":!!A.promise,"data-swiped":Zn,"data-removed":pt,"data-visible":es,"data-y-position":Kp,"data-x-position":Zg,"data-index":$,"data-front":ls,"data-swiping":Et,"data-dismissible":Ci,"data-type":Ca,"data-invert":GR,"data-swipe-out":Yt,"data-swipe-direction":ut,"data-expanded":!!(j||De&&bt),"data-testid":A.testId,style:{"--index":$,"--toasts-before":$,"--z-index":P.length-$,"--offset":`${pt?Er:Kh.current}px`,"--initial-height":De?"auto":`${Qr}px`,...Q,...A.style},onDragEnd:()=>{Dt(!1),We(null),Xg.current=null},onPointerDown:go=>{go.button!==2&&(kA||!Ci||(ju.current=new Date,Ui(Kh.current),go.target.setPointerCapture(go.pointerId),go.target.tagName!=="BUTTON"&&(Dt(!0),Xg.current={x:go.clientX,y:go.clientY})))},onPointerUp:()=>{var go,Fu,Fl;if(Yt||!Ci)return;Xg.current=null;const Af=Number(((go=Xs.current)==null?void 0:go.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Z2=Number(((Fu=Xs.current)==null?void 0:Fu.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),pl=new Date().getTime()-((Fl=ju.current)==null?void 0:Fl.getTime()),sh=xe==="x"?Af:Z2,Vm=Math.abs(sh)/pl;if(Math.abs(sh)>=yjn||Vm>.11){Ui(Kh.current),A.onDismiss==null||A.onDismiss.call(A,A),Be(xe==="x"?Af>0?"right":"left":Z2>0?"down":"up"),yb(),Ln(!0);return}else{var ah,Yh;(ah=Xs.current)==null||ah.style.setProperty("--swipe-amount-x","0px"),(Yh=Xs.current)==null||Yh.style.setProperty("--swipe-amount-y","0px")}Yn(!1),Dt(!1),We(null)},onPointerMove:go=>{var Fu,Fl,Af;if(!Xg.current||!Ci||((Fu=window.getSelection())==null?void 0:Fu.toString().length)>0)return;const pl=go.clientY-Xg.current.y,sh=go.clientX-Xg.current.x;var Vm;const ah=(Vm=n.swipeDirections)!=null?Vm:Ejn(K);!xe&&(Math.abs(sh)>1||Math.abs(pl)>1)&&We(Math.abs(sh)>Math.abs(pl)?"x":"y");let Yh={x:0,y:0};const Q2=Wm=>1/(1.5+Math.abs(Wm)/20);if(xe==="y"){if(ah.includes("top")||ah.includes("bottom"))if(ah.includes("top")&&pl<0||ah.includes("bottom")&&pl>0)Yh.y=pl;else{const Wm=pl*Q2(pl);Yh.y=Math.abs(Wm)<Math.abs(pl)?Wm:pl}}else if(xe==="x"&&(ah.includes("left")||ah.includes("right")))if(ah.includes("left")&&sh<0||ah.includes("right")&&sh>0)Yh.x=sh;else{const Wm=sh*Q2(sh);Yh.x=Math.abs(Wm)<Math.abs(sh)?Wm:sh}(Math.abs(Yh.x)>0||Math.abs(Yh.y)>0)&&Yn(!0),(Fl=Xs.current)==null||Fl.style.setProperty("--swipe-amount-x",`${Yh.x}px`),(Af=Xs.current)==null||Af.style.setProperty("--swipe-amount-y",`${Yh.y}px`)}},wb&&!A.jsx&&Ca!=="loading"?Hn.createElement("button",{"aria-label":Ae,"data-disabled":kA,"data-close-button":!0,onClick:kA||!Ci?()=>{}:()=>{yb(),A.onDismiss==null||A.onDismiss.call(A,A)},className:x2(Se==null?void 0:Se.closeButton,A==null||(c=A.classNames)==null?void 0:c.closeButton)},(ON=Re==null?void 0:Re.close)!=null?ON:sjn):null,(Ca||A.icon||A.promise)&&A.icon!==null&&((Re==null?void 0:Re[Ca])!==null||A.icon)?Hn.createElement("div",{"data-icon":"",className:x2(Se==null?void 0:Se.icon,A==null||(d=A.classNames)==null?void 0:d.icon)},A.promise||A.type==="loading"&&!A.icon?A.icon||qR():null,A.type!=="loading"?VR:null):null,Hn.createElement("div",{"data-content":"",className:x2(Se==null?void 0:Se.content,A==null||(g=A.classNames)==null?void 0:g.content)},Hn.createElement("div",{"data-title":"",className:x2(Se==null?void 0:Se.title,A==null||(b=A.classNames)==null?void 0:b.title)},A.jsx?A.jsx:typeof A.title=="function"?A.title():A.title),A.description?Hn.createElement("div",{"data-description":"",className:x2(ue,Jg,Se==null?void 0:Se.description,A==null||(w=A.classNames)==null?void 0:w.description)},typeof A.description=="function"?A.description():A.description):null),Hn.isValidElement(A.cancel)?A.cancel:A.cancel&&Tie(A.cancel)?Hn.createElement("button",{"data-button":!0,"data-cancel":!0,style:A.cancelButtonStyle||ae,onClick:go=>{Tie(A.cancel)&&Ci&&(A.cancel.onClick==null||A.cancel.onClick.call(A.cancel,go),yb())},className:x2(Se==null?void 0:Se.cancelButton,A==null||(E=A.classNames)==null?void 0:E.cancelButton)},A.cancel.label):null,Hn.isValidElement(A.action)?A.action:A.action&&Tie(A.action)?Hn.createElement("button",{"data-button":!0,"data-action":!0,style:A.actionButtonStyle||he,onClick:go=>{Tie(A.action)&&(A.action.onClick==null||A.action.onClick.call(A.action,go),!go.defaultPrevented&&yb())},className:x2(Se==null?void 0:Se.actionButton,A==null||(S=A.classNames)==null?void 0:S.actionButton)},A.action.label):null)};function L9t(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function Tjn(n,i){const s={};return[n,i].forEach((c,d)=>{const g=d===1,b=g?"--mobile-offset":"--offset",w=g?bjn:gjn;function E(S){["top","right","bottom","left"].forEach(_=>{s[`${b}-${_}`]=typeof S=="number"?`${S}px`:S})}typeof c=="number"||typeof c=="string"?E(c):typeof c=="object"?["top","right","bottom","left"].forEach(S=>{c[S]===void 0?s[`${b}-${S}`]=w:s[`${b}-${S}`]=typeof c[S]=="number"?`${c[S]}px`:c[S]}):E(w)}),s}const Ajn=Hn.forwardRef(function(i,s){const{id:c,invert:d,position:g="bottom-right",hotkey:b=["altKey","KeyT"],expand:w,closeButton:E,className:S,offset:_,mobileOffset:A,theme:C="light",richColors:O,duration:L,style:D,visibleToasts:B=pjn,toastOptions:$,dir:P=L9t(),gap:j=wjn,icons:z,containerAriaLabel:ee="Notifications"}=i,[ne,Q]=Hn.useState([]),ae=Hn.useMemo(()=>c?ne.filter(bt=>bt.toasterId===c):ne.filter(bt=>!bt.toasterId),[ne,c]),he=Hn.useMemo(()=>Array.from(new Set([g].concat(ae.filter(bt=>bt.position).map(bt=>bt.position)))),[ae,g]),[pe,ue]=Hn.useState([]),[fe,K]=Hn.useState(!1),[ge,De]=Hn.useState(!1),[Se,Re]=Hn.useState(C!=="system"?C:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Ae=Hn.useRef(null),xe=b.join("+").replace(/Key/g,"").replace(/Digit/g,""),We=Hn.useRef(null),ut=Hn.useRef(!1),Be=Hn.useCallback(bt=>{Q(Nt=>{var pt;return(pt=Nt.find(Kt=>Kt.id===bt.id))!=null&&pt.delete||rb.dismiss(bt.id),Nt.filter(({id:Kt})=>Kt!==bt.id)})},[]);return Hn.useEffect(()=>rb.subscribe(bt=>{if(bt.dismiss){requestAnimationFrame(()=>{Q(Nt=>Nt.map(pt=>pt.id===bt.id?{...pt,delete:!0}:pt))});return}setTimeout(()=>{yHt.flushSync(()=>{Q(Nt=>{const pt=Nt.findIndex(Kt=>Kt.id===bt.id);return pt!==-1?[...Nt.slice(0,pt),{...Nt[pt],...bt},...Nt.slice(pt+1)]:[bt,...Nt]})})})}),[ne]),Hn.useEffect(()=>{if(C!=="system"){Re(C);return}if(C==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Re("dark"):Re("light")),typeof window>"u")return;const bt=window.matchMedia("(prefers-color-scheme: dark)");try{bt.addEventListener("change",({matches:Nt})=>{Re(Nt?"dark":"light")})}catch{bt.addListener(({matches:pt})=>{try{Re(pt?"dark":"light")}catch(Kt){console.error(Kt)}})}},[C]),Hn.useEffect(()=>{ne.length<=1&&K(!1)},[ne]),Hn.useEffect(()=>{const bt=Nt=>{var pt;if(b.every(Dt=>Nt[Dt]||Nt.code===Dt)){var Et;K(!0),(Et=Ae.current)==null||Et.focus()}Nt.code==="Escape"&&(document.activeElement===Ae.current||(pt=Ae.current)!=null&&pt.contains(document.activeElement))&&K(!1)};return document.addEventListener("keydown",bt),()=>document.removeEventListener("keydown",bt)},[b]),Hn.useEffect(()=>{if(Ae.current)return()=>{We.current&&(We.current.focus({preventScroll:!0}),We.current=null,ut.current=!1)}},[Ae.current]),Hn.createElement("section",{ref:s,"aria-label":`${ee} ${xe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},he.map((bt,Nt)=>{var pt;const[Kt,Et]=bt.split("-");return ae.length?Hn.createElement("ol",{key:bt,dir:P==="auto"?L9t():P,tabIndex:-1,ref:Ae,className:S,"data-sonner-toaster":!0,"data-sonner-theme":Se,"data-y-position":Kt,"data-x-position":Et,style:{"--front-toast-height":`${((pt=pe[0])==null?void 0:pt.height)||0}px`,"--width":`${mjn}px`,"--gap":`${j}px`,...D,...Tjn(_,A)},onBlur:Dt=>{ut.current&&!Dt.currentTarget.contains(Dt.relatedTarget)&&(ut.current=!1,We.current&&(We.current.focus({preventScroll:!0}),We.current=null))},onFocus:Dt=>{Dt.target instanceof HTMLElement&&Dt.target.dataset.dismissible==="false"||ut.current||(ut.current=!0,We.current=Dt.relatedTarget)},onMouseEnter:()=>K(!0),onMouseMove:()=>K(!0),onMouseLeave:()=>{ge||K(!1)},onDragEnd:()=>K(!1),onPointerDown:Dt=>{Dt.target instanceof HTMLElement&&Dt.target.dataset.dismissible==="false"||De(!0)},onPointerUp:()=>De(!1)},ae.filter(Dt=>!Dt.position&&Nt===0||Dt.position===bt).map((Dt,Yt)=>{var Ln,Zn;return Hn.createElement(Sjn,{key:Dt.id,icons:z,index:Yt,toast:Dt,defaultRichColors:O,duration:(Ln=$==null?void 0:$.duration)!=null?Ln:L,className:$==null?void 0:$.className,descriptionClassName:$==null?void 0:$.descriptionClassName,invert:d,visibleToasts:B,closeButton:(Zn=$==null?void 0:$.closeButton)!=null?Zn:E,interacting:ge,position:bt,style:$==null?void 0:$.style,unstyled:$==null?void 0:$.unstyled,classNames:$==null?void 0:$.classNames,cancelButtonStyle:$==null?void 0:$.cancelButtonStyle,actionButtonStyle:$==null?void 0:$.actionButtonStyle,closeButtonAriaLabel:$==null?void 0:$.closeButtonAriaLabel,removeToast:Be,toasts:ae.filter(Yn=>Yn.position==Dt.position),heights:pe.filter(Yn=>Yn.position==Dt.position),setHeights:ue,expandByDefault:w,gap:j,expanded:fe,swipeDirections:i.swipeDirections})})):null}))});var M9t=1,_jn=.9,xjn=.8,kjn=.17,YCe=.1,JCe=.999,Njn=.9999,Cjn=.99,Ijn=/[\\\/_+.#"@\[\(\{&]/,Rjn=/[\\\/_+.#"@\[\(\{&]/g,Ojn=/[\s-]/,OGt=/[\s-]/g;function TDe(n,i,s,c,d,g,b){if(g===i.length)return d===n.length?M9t:Cjn;var w=`${d},${g}`;if(b[w]!==void 0)return b[w];for(var E=c.charAt(g),S=s.indexOf(E,d),_=0,A,C,O,L;S>=0;)A=TDe(n,i,s,c,S+1,g+1,b),A>_&&(S===d?A*=M9t:Ijn.test(n.charAt(S-1))?(A*=xjn,O=n.slice(d,S-1).match(Rjn),O&&d>0&&(A*=Math.pow(JCe,O.length))):Ojn.test(n.charAt(S-1))?(A*=_jn,L=n.slice(d,S-1).match(OGt),L&&d>0&&(A*=Math.pow(JCe,L.length))):(A*=kjn,d>0&&(A*=Math.pow(JCe,S-d))),n.charAt(S)!==i.charAt(g)&&(A*=Njn)),(A<YCe&&s.charAt(S-1)===c.charAt(g+1)||c.charAt(g+1)===c.charAt(g)&&s.charAt(S-1)!==c.charAt(g))&&(C=TDe(n,i,s,c,S+1,g+2,b),C*YCe>A&&(A=C*YCe)),A>_&&(_=A),S=s.indexOf(E,S+1);return b[w]=_,_}function P9t(n){return n.toLowerCase().replace(OGt," ")}function Djn(n,i,s){return n=s&&s.length>0?`${n+" "+s.join(" ")}`:n,TDe(n,i,P9t(n),P9t(i),0,0,{})}function Dr(n,i,{checkForDefaultPrevented:s=!0}={}){return function(d){if(n==null||n(d),s===!1||!d.defaultPrevented)return i==null?void 0:i(d)}}function j9t(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function zg(...n){return i=>{let s=!1;const c=n.map(d=>{const g=j9t(d,i);return!s&&typeof g=="function"&&(s=!0),g});if(s)return()=>{for(let d=0;d<c.length;d++){const g=c[d];typeof g=="function"?g():j9t(n[d],null)}}}}function ps(...n){return H.useCallback(zg(...n),n)}function Ljn(n,i){const s=H.createContext(i),c=g=>{const{children:b,...w}=g,E=H.useMemo(()=>w,Object.values(w));return I.jsx(s.Provider,{value:E,children:b})};c.displayName=n+"Provider";function d(g){const b=H.useContext(s);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${n}\``)}return[c,d]}function Nw(n,i=[]){let s=[];function c(g,b){const w=H.createContext(b),E=s.length;s=[...s,b];const S=A=>{var $;const{scope:C,children:O,...L}=A,D=(($=C==null?void 0:C[n])==null?void 0:$[E])||w,B=H.useMemo(()=>L,Object.values(L));return I.jsx(D.Provider,{value:B,children:O})};S.displayName=g+"Provider";function _(A,C){var D;const O=((D=C==null?void 0:C[n])==null?void 0:D[E])||w,L=H.useContext(O);if(L)return L;if(b!==void 0)return b;throw new Error(`\`${A}\` must be used within \`${g}\``)}return[S,_]}const d=()=>{const g=s.map(b=>H.createContext(b));return function(w){const E=(w==null?void 0:w[n])||g;return H.useMemo(()=>({[`__scope${n}`]:{...w,[n]:E}}),[w,E])}};return d.scopeName=n,[c,Mjn(d,...i)]}function Mjn(...n){const i=n[0];if(n.length===1)return i;const s=()=>{const c=n.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(g){const b=c.reduce((w,{useScope:E,scopeName:S})=>{const A=E(g)[`__scope${S}`];return{...w,...A}},{});return H.useMemo(()=>({[`__scope${i.scopeName}`]:b}),[b])}};return s.scopeName=i.scopeName,s}var Up=globalThis!=null&&globalThis.document?H.useLayoutEffect:()=>{},Pjn=LLe[" useId ".trim().toString()]||(()=>{}),jjn=0;function Bh(n){const[i,s]=H.useState(Pjn());return Up(()=>{s(c=>c??String(jjn++))},[n]),i?`radix-${i}`:""}var Fjn=LLe[" useInsertionEffect ".trim().toString()]||Up;function G2({prop:n,defaultProp:i,onChange:s=()=>{},caller:c}){const[d,g,b]=$jn({defaultProp:i,onChange:s}),w=n!==void 0,E=w?n:d;{const _=H.useRef(n!==void 0);H.useEffect(()=>{const A=_.current;A!==w&&console.warn(`${c} is changing from ${A?"controlled":"uncontrolled"} to ${w?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),_.current=w},[w,c])}const S=H.useCallback(_=>{var A;if(w){const C=Bjn(_)?_(n):_;C!==n&&((A=b.current)==null||A.call(b,C))}else g(_)},[w,n,g,b]);return[E,S]}function $jn({defaultProp:n,onChange:i}){const[s,c]=H.useState(n),d=H.useRef(s),g=H.useRef(i);return Fjn(()=>{g.current=i},[i]),H.useEffect(()=>{var b;d.current!==s&&((b=g.current)==null||b.call(g,s),d.current=s)},[s,d]),[s,c,g]}function Bjn(n){return typeof n=="function"}function Ujn(n){const i=Hjn(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(Gjn);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function Hjn(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Vjn(d),w=qjn(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var zjn=Symbol("radix.slottable");function Gjn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===zjn}function qjn(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Vjn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var Wjn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],no=Wjn.reduce((n,i)=>{const s=Ujn(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{});function DGt(n,i){n&&xR.flushSync(()=>n.dispatchEvent(i))}function q2(n){const i=H.useRef(n);return H.useEffect(()=>{i.current=n}),H.useMemo(()=>(...s)=>{var c;return(c=i.current)==null?void 0:c.call(i,...s)},[])}function Kjn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n);H.useEffect(()=>{const c=d=>{d.key==="Escape"&&s(d)};return i.addEventListener("keydown",c,{capture:!0}),()=>i.removeEventListener("keydown",c,{capture:!0})},[s,i])}var Yjn="DismissableLayer",ADe="dismissableLayer.update",Jjn="dismissableLayer.pointerDownOutside",Xjn="dismissableLayer.focusOutside",F9t,LGt=H.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Iz=H.forwardRef((n,i)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:g,onInteractOutside:b,onDismiss:w,...E}=n,S=H.useContext(LGt),[_,A]=H.useState(null),C=(_==null?void 0:_.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,O]=H.useState({}),L=ps(i,Q=>A(Q)),D=Array.from(S.layers),[B]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),$=D.indexOf(B),P=_?D.indexOf(_):-1,j=S.layersWithOutsidePointerEventsDisabled.size>0,z=P>=$,ee=eFn(Q=>{const ae=Q.target,he=[...S.branches].some(pe=>pe.contains(ae));!z||he||(d==null||d(Q),b==null||b(Q),Q.defaultPrevented||w==null||w())},C),ne=tFn(Q=>{const ae=Q.target;[...S.branches].some(pe=>pe.contains(ae))||(g==null||g(Q),b==null||b(Q),Q.defaultPrevented||w==null||w())},C);return Kjn(Q=>{P===S.layers.size-1&&(c==null||c(Q),!Q.defaultPrevented&&w&&(Q.preventDefault(),w()))},C),H.useEffect(()=>{if(_)return s&&(S.layersWithOutsidePointerEventsDisabled.size===0&&(F9t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(_)),S.layers.add(_),$9t(),()=>{s&&S.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=F9t)}},[_,C,s,S]),H.useEffect(()=>()=>{_&&(S.layers.delete(_),S.layersWithOutsidePointerEventsDisabled.delete(_),$9t())},[_,S]),H.useEffect(()=>{const Q=()=>O({});return document.addEventListener(ADe,Q),()=>document.removeEventListener(ADe,Q)},[]),I.jsx(no.div,{...E,ref:L,style:{pointerEvents:j?z?"auto":"none":void 0,...n.style},onFocusCapture:Dr(n.onFocusCapture,ne.onFocusCapture),onBlurCapture:Dr(n.onBlurCapture,ne.onBlurCapture),onPointerDownCapture:Dr(n.onPointerDownCapture,ee.onPointerDownCapture)})});Iz.displayName=Yjn;var Zjn="DismissableLayerBranch",Qjn=H.forwardRef((n,i)=>{const s=H.useContext(LGt),c=H.useRef(null),d=ps(i,c);return H.useEffect(()=>{const g=c.current;if(g)return s.branches.add(g),()=>{s.branches.delete(g)}},[s.branches]),I.jsx(no.div,{...n,ref:d})});Qjn.displayName=Zjn;function eFn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n),c=H.useRef(!1),d=H.useRef(()=>{});return H.useEffect(()=>{const g=w=>{if(w.target&&!c.current){let E=function(){MGt(Jjn,s,S,{discrete:!0})};const S={originalEvent:w};w.pointerType==="touch"?(i.removeEventListener("click",d.current),d.current=E,i.addEventListener("click",d.current,{once:!0})):E()}else i.removeEventListener("click",d.current);c.current=!1},b=window.setTimeout(()=>{i.addEventListener("pointerdown",g)},0);return()=>{window.clearTimeout(b),i.removeEventListener("pointerdown",g),i.removeEventListener("click",d.current)}},[i,s]),{onPointerDownCapture:()=>c.current=!0}}function tFn(n,i=globalThis==null?void 0:globalThis.document){const s=q2(n),c=H.useRef(!1);return H.useEffect(()=>{const d=g=>{g.target&&!c.current&&MGt(Xjn,s,{originalEvent:g},{discrete:!1})};return i.addEventListener("focusin",d),()=>i.removeEventListener("focusin",d)},[i,s]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function $9t(){const n=new CustomEvent(ADe);document.dispatchEvent(n)}function MGt(n,i,s,{discrete:c}){const d=s.originalEvent.target,g=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:s});i&&d.addEventListener(n,i,{once:!0}),c?DGt(d,g):d.dispatchEvent(g)}var XCe="focusScope.autoFocusOnMount",ZCe="focusScope.autoFocusOnUnmount",B9t={bubbles:!1,cancelable:!0},nFn="FocusScope",Rz=H.forwardRef((n,i)=>{const{loop:s=!1,trapped:c=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...b}=n,[w,E]=H.useState(null),S=q2(d),_=q2(g),A=H.useRef(null),C=ps(i,D=>E(D)),O=H.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;H.useEffect(()=>{if(c){let D=function(j){if(O.paused||!w)return;const z=j.target;w.contains(z)?A.current=z:Dk(A.current,{select:!0})},B=function(j){if(O.paused||!w)return;const z=j.relatedTarget;z!==null&&(w.contains(z)||Dk(A.current,{select:!0}))},$=function(j){if(document.activeElement===document.body)for(const ee of j)ee.removedNodes.length>0&&Dk(w)};document.addEventListener("focusin",D),document.addEventListener("focusout",B);const P=new MutationObserver($);return w&&P.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",D),document.removeEventListener("focusout",B),P.disconnect()}}},[c,w,O.paused]),H.useEffect(()=>{if(w){H9t.add(O);const D=document.activeElement;if(!w.contains(D)){const $=new CustomEvent(XCe,B9t);w.addEventListener(XCe,S),w.dispatchEvent($),$.defaultPrevented||(rFn(cFn(PGt(w)),{select:!0}),document.activeElement===D&&Dk(w))}return()=>{w.removeEventListener(XCe,S),setTimeout(()=>{const $=new CustomEvent(ZCe,B9t);w.addEventListener(ZCe,_),w.dispatchEvent($),$.defaultPrevented||Dk(D??document.body,{select:!0}),w.removeEventListener(ZCe,_),H9t.remove(O)},0)}}},[w,S,_,O]);const L=H.useCallback(D=>{if(!s&&!c||O.paused)return;const B=D.key==="Tab"&&!D.altKey&&!D.ctrlKey&&!D.metaKey,$=document.activeElement;if(B&&$){const P=D.currentTarget,[j,z]=iFn(P);j&&z?!D.shiftKey&&$===z?(D.preventDefault(),s&&Dk(j,{select:!0})):D.shiftKey&&$===j&&(D.preventDefault(),s&&Dk(z,{select:!0})):$===P&&D.preventDefault()}},[s,c,O.paused]);return I.jsx(no.div,{tabIndex:-1,...b,ref:C,onKeyDown:L})});Rz.displayName=nFn;function rFn(n,{select:i=!1}={}){const s=document.activeElement;for(const c of n)if(Dk(c,{select:i}),document.activeElement!==s)return}function iFn(n){const i=PGt(n),s=U9t(i,n),c=U9t(i.reverse(),n);return[s,c]}function PGt(n){const i=[],s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const d=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||d?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)i.push(s.currentNode);return i}function U9t(n,i){for(const s of n)if(!oFn(s,{upTo:i}))return s}function oFn(n,{upTo:i}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(i!==void 0&&n===i)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function sFn(n){return n instanceof HTMLInputElement&&"select"in n}function Dk(n,{select:i=!1}={}){if(n&&n.focus){const s=document.activeElement;n.focus({preventScroll:!0}),n!==s&&sFn(n)&&i&&n.select()}}var H9t=aFn();function aFn(){let n=[];return{add(i){const s=n[0];i!==s&&(s==null||s.pause()),n=z9t(n,i),n.unshift(i)},remove(i){var s;n=z9t(n,i),(s=n[0])==null||s.resume()}}}function z9t(n,i){const s=[...n],c=s.indexOf(i);return c!==-1&&s.splice(c,1),s}function cFn(n){return n.filter(i=>i.tagName!=="A")}var uFn="Portal",Oz=H.forwardRef((n,i)=>{var w;const{container:s,...c}=n,[d,g]=H.useState(!1);Up(()=>g(!0),[]);const b=s||d&&((w=globalThis==null?void 0:globalThis.document)==null?void 0:w.body);return b?yHt.createPortal(I.jsx(no.div,{...c,ref:i}),b):null});Oz.displayName=uFn;function lFn(n,i){return H.useReducer((s,c)=>i[s][c]??s,n)}var Cw=n=>{const{present:i,children:s}=n,c=dFn(i),d=typeof s=="function"?s({present:c.isPresent}):H.Children.only(s),g=ps(c.ref,fFn(d));return typeof s=="function"||c.isPresent?H.cloneElement(d,{ref:g}):null};Cw.displayName="Presence";function dFn(n){const[i,s]=H.useState(),c=H.useRef(null),d=H.useRef(n),g=H.useRef("none"),b=n?"mounted":"unmounted",[w,E]=lFn(b,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const S=Aie(c.current);g.current=w==="mounted"?S:"none"},[w]),Up(()=>{const S=c.current,_=d.current;if(_!==n){const C=g.current,O=Aie(S);n?E("MOUNT"):O==="none"||(S==null?void 0:S.display)==="none"?E("UNMOUNT"):E(_&&C!==O?"ANIMATION_OUT":"UNMOUNT"),d.current=n}},[n,E]),Up(()=>{if(i){let S;const _=i.ownerDocument.defaultView??window,A=O=>{const D=Aie(c.current).includes(CSS.escape(O.animationName));if(O.target===i&&D&&(E("ANIMATION_END"),!d.current)){const B=i.style.animationFillMode;i.style.animationFillMode="forwards",S=_.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=B)})}},C=O=>{O.target===i&&(g.current=Aie(c.current))};return i.addEventListener("animationstart",C),i.addEventListener("animationcancel",A),i.addEventListener("animationend",A),()=>{_.clearTimeout(S),i.removeEventListener("animationstart",C),i.removeEventListener("animationcancel",A),i.removeEventListener("animationend",A)}}else E("ANIMATION_END")},[i,E]),{isPresent:["mounted","unmountSuspended"].includes(w),ref:H.useCallback(S=>{c.current=S?getComputedStyle(S):null,s(S)},[])}}function Aie(n){return(n==null?void 0:n.animationName)||"none"}function fFn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var QCe=0;function cae(){H.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??G9t()),document.body.insertAdjacentElement("beforeend",n[1]??G9t()),QCe++,()=>{QCe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),QCe--}},[])}function G9t(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var O2=function(){return O2=Object.assign||function(i){for(var s,c=1,d=arguments.length;c<d;c++){s=arguments[c];for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(i[g]=s[g])}return i},O2.apply(this,arguments)};function jGt(n,i){var s={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&i.indexOf(c)<0&&(s[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,c=Object.getOwnPropertySymbols(n);d<c.length;d++)i.indexOf(c[d])<0&&Object.prototype.propertyIsEnumerable.call(n,c[d])&&(s[c[d]]=n[c[d]]);return s}function hFn(n,i,s){if(s||arguments.length===2)for(var c=0,d=i.length,g;c<d;c++)(g||!(c in i))&&(g||(g=Array.prototype.slice.call(i,0,c)),g[c]=i[c]);return n.concat(g||Array.prototype.slice.call(i))}var soe="right-scroll-bar-position",aoe="width-before-scroll-bar",pFn="with-scroll-bars-hidden",gFn="--removed-body-scroll-bar-size";function eIe(n,i){return typeof n=="function"?n(i):n&&(n.current=i),n}function bFn(n,i){var s=H.useState(function(){return{value:n,callback:i,facade:{get current(){return s.value},set current(c){var d=s.value;d!==c&&(s.value=c,s.callback(c,d))}}}})[0];return s.callback=i,s.facade}var mFn=typeof window<"u"?H.useLayoutEffect:H.useEffect,q9t=new WeakMap;function wFn(n,i){var s=bFn(null,function(c){return n.forEach(function(d){return eIe(d,c)})});return mFn(function(){var c=q9t.get(s);if(c){var d=new Set(c),g=new Set(n),b=s.current;d.forEach(function(w){g.has(w)||eIe(w,null)}),g.forEach(function(w){d.has(w)||eIe(w,b)})}q9t.set(s,n)},[n]),s}function yFn(n){return n}function vFn(n,i){i===void 0&&(i=yFn);var s=[],c=!1,d={read:function(){if(c)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:n},useMedium:function(g){var b=i(g,c);return s.push(b),function(){s=s.filter(function(w){return w!==b})}},assignSyncMedium:function(g){for(c=!0;s.length;){var b=s;s=[],b.forEach(g)}s={push:function(w){return g(w)},filter:function(){return s}}},assignMedium:function(g){c=!0;var b=[];if(s.length){var w=s;s=[],w.forEach(g),b=s}var E=function(){var _=b;b=[],_.forEach(g)},S=function(){return Promise.resolve().then(E)};S(),s={push:function(_){b.push(_),S()},filter:function(_){return b=b.filter(_),s}}}};return d}function EFn(n){n===void 0&&(n={});var i=vFn(null);return i.options=O2({async:!0,ssr:!1},n),i}var FGt=function(n){var i=n.sideCar,s=jGt(n,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var c=i.read();if(!c)throw new Error("Sidecar medium not found");return H.createElement(c,O2({},s))};FGt.isSideCarExport=!0;function SFn(n,i){return n.useMedium(i),FGt}var $Gt=EFn(),tIe=function(){},uae=H.forwardRef(function(n,i){var s=H.useRef(null),c=H.useState({onScrollCapture:tIe,onWheelCapture:tIe,onTouchMoveCapture:tIe}),d=c[0],g=c[1],b=n.forwardProps,w=n.children,E=n.className,S=n.removeScrollBar,_=n.enabled,A=n.shards,C=n.sideCar,O=n.noRelative,L=n.noIsolation,D=n.inert,B=n.allowPinchZoom,$=n.as,P=$===void 0?"div":$,j=n.gapMode,z=jGt(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),ee=C,ne=wFn([s,i]),Q=O2(O2({},z),d);return H.createElement(H.Fragment,null,_&&H.createElement(ee,{sideCar:$Gt,removeScrollBar:S,shards:A,noRelative:O,noIsolation:L,inert:D,setCallbacks:g,allowPinchZoom:!!B,lockRef:s,gapMode:j}),b?H.cloneElement(H.Children.only(w),O2(O2({},Q),{ref:ne})):H.createElement(P,O2({},Q,{className:E,ref:ne}),w))});uae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};uae.classNames={fullWidth:aoe,zeroRight:soe};var TFn=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function AFn(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var i=TFn();return i&&n.setAttribute("nonce",i),n}function _Fn(n,i){n.styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i))}function xFn(n){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(n)}var kFn=function(){var n=0,i=null;return{add:function(s){n==0&&(i=AFn())&&(_Fn(i,s),xFn(i)),n++},remove:function(){n--,!n&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},NFn=function(){var n=kFn();return function(i,s){H.useEffect(function(){return n.add(i),function(){n.remove()}},[i&&s])}},BGt=function(){var n=NFn(),i=function(s){var c=s.styles,d=s.dynamic;return n(c,d),null};return i},CFn={left:0,top:0,right:0,gap:0},nIe=function(n){return parseInt(n||"",10)||0},IFn=function(n){var i=window.getComputedStyle(document.body),s=i[n==="padding"?"paddingLeft":"marginLeft"],c=i[n==="padding"?"paddingTop":"marginTop"],d=i[n==="padding"?"paddingRight":"marginRight"];return[nIe(s),nIe(c),nIe(d)]},RFn=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return CFn;var i=IFn(n),s=document.documentElement.clientWidth,c=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,c-s+i[2]-i[0])}},OFn=BGt(),iM="data-scroll-locked",DFn=function(n,i,s,c){var d=n.left,g=n.top,b=n.right,w=n.gap;return s===void 0&&(s="margin"),`
.`.concat(pFn,` {
overflow: hidden `).concat(c,`;
padding-right: `).concat(w,"px ").concat(c,`;
}
body[`).concat(iM,`] {
overflow: hidden `).concat(c,`;
overscroll-behavior: contain;
`).concat([i&&"position: relative ".concat(c,";"),s==="margin"&&`
padding-left: `.concat(d,`px;
padding-top: `).concat(g,`px;
padding-right: `).concat(b,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(w,"px ").concat(c,`;
`),s==="padding"&&"padding-right: ".concat(w,"px ").concat(c,";")].filter(Boolean).join(""),`
}
.`).concat(soe,` {
right: `).concat(w,"px ").concat(c,`;
}
.`).concat(aoe,` {
margin-right: `).concat(w,"px ").concat(c,`;
}
.`).concat(soe," .").concat(soe,` {
right: 0 `).concat(c,`;
}
.`).concat(aoe," .").concat(aoe,` {
margin-right: 0 `).concat(c,`;
}
body[`).concat(iM,`] {
`).concat(gFn,": ").concat(w,`px;
}
`)},V9t=function(){var n=parseInt(document.body.getAttribute(iM)||"0",10);return isFinite(n)?n:0},LFn=function(){H.useEffect(function(){return document.body.setAttribute(iM,(V9t()+1).toString()),function(){var n=V9t()-1;n<=0?document.body.removeAttribute(iM):document.body.setAttribute(iM,n.toString())}},[])},MFn=function(n){var i=n.noRelative,s=n.noImportant,c=n.gapMode,d=c===void 0?"margin":c;LFn();var g=H.useMemo(function(){return RFn(d)},[d]);return H.createElement(OFn,{styles:DFn(g,!i,d,s?"":"!important")})},_De=!1;if(typeof window<"u")try{var _ie=Object.defineProperty({},"passive",{get:function(){return _De=!0,!0}});window.addEventListener("test",_ie,_ie),window.removeEventListener("test",_ie,_ie)}catch{_De=!1}var w5=_De?{passive:!1}:!1,PFn=function(n){return n.tagName==="TEXTAREA"},UGt=function(n,i){if(!(n instanceof Element))return!1;var s=window.getComputedStyle(n);return s[i]!=="hidden"&&!(s.overflowY===s.overflowX&&!PFn(n)&&s[i]==="visible")},jFn=function(n){return UGt(n,"overflowY")},FFn=function(n){return UGt(n,"overflowX")},W9t=function(n,i){var s=i.ownerDocument,c=i;do{typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&(c=c.host);var d=HGt(n,c);if(d){var g=zGt(n,c),b=g[1],w=g[2];if(b>w)return!0}c=c.parentNode}while(c&&c!==s.body);return!1},$Fn=function(n){var i=n.scrollTop,s=n.scrollHeight,c=n.clientHeight;return[i,s,c]},BFn=function(n){var i=n.scrollLeft,s=n.scrollWidth,c=n.clientWidth;return[i,s,c]},HGt=function(n,i){return n==="v"?jFn(i):FFn(i)},zGt=function(n,i){return n==="v"?$Fn(i):BFn(i)},UFn=function(n,i){return n==="h"&&i==="rtl"?-1:1},HFn=function(n,i,s,c,d){var g=UFn(n,window.getComputedStyle(i).direction),b=g*c,w=s.target,E=i.contains(w),S=!1,_=b>0,A=0,C=0;do{if(!w)break;var O=zGt(n,w),L=O[0],D=O[1],B=O[2],$=D-B-g*L;(L||$)&&HGt(n,w)&&(A+=$,C+=L);var P=w.parentNode;w=P&&P.nodeType===Node.DOCUMENT_FRAGMENT_NODE?P.host:P}while(!E&&w!==document.body||E&&(i.contains(w)||i===w));return(_&&Math.abs(A)<1||!_&&Math.abs(C)<1)&&(S=!0),S},xie=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},K9t=function(n){return[n.deltaX,n.deltaY]},Y9t=function(n){return n&&"current"in n?n.current:n},zFn=function(n,i){return n[0]===i[0]&&n[1]===i[1]},GFn=function(n){return`
.block-interactivity-`.concat(n,` {pointer-events: none;}
.allow-interactivity-`).concat(n,` {pointer-events: all;}
`)},qFn=0,y5=[];function VFn(n){var i=H.useRef([]),s=H.useRef([0,0]),c=H.useRef(),d=H.useState(qFn++)[0],g=H.useState(BGt)[0],b=H.useRef(n);H.useEffect(function(){b.current=n},[n]),H.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(d));var D=hFn([n.lockRef.current],(n.shards||[]).map(Y9t),!0).filter(Boolean);return D.forEach(function(B){return B.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),D.forEach(function(B){return B.classList.remove("allow-interactivity-".concat(d))})}}},[n.inert,n.lockRef.current,n.shards]);var w=H.useCallback(function(D,B){if("touches"in D&&D.touches.length===2||D.type==="wheel"&&D.ctrlKey)return!b.current.allowPinchZoom;var $=xie(D),P=s.current,j="deltaX"in D?D.deltaX:P[0]-$[0],z="deltaY"in D?D.deltaY:P[1]-$[1],ee,ne=D.target,Q=Math.abs(j)>Math.abs(z)?"h":"v";if("touches"in D&&Q==="h"&&ne.type==="range")return!1;var ae=window.getSelection(),he=ae&&ae.anchorNode,pe=he?he===ne||he.contains(ne):!1;if(pe)return!1;var ue=W9t(Q,ne);if(!ue)return!0;if(ue?ee=Q:(ee=Q==="v"?"h":"v",ue=W9t(Q,ne)),!ue)return!1;if(!c.current&&"changedTouches"in D&&(j||z)&&(c.current=ee),!ee)return!0;var fe=c.current||ee;return HFn(fe,B,D,fe==="h"?j:z)},[]),E=H.useCallback(function(D){var B=D;if(!(!y5.length||y5[y5.length-1]!==g)){var $="deltaY"in B?K9t(B):xie(B),P=i.current.filter(function(ee){return ee.name===B.type&&(ee.target===B.target||B.target===ee.shadowParent)&&zFn(ee.delta,$)})[0];if(P&&P.should){B.cancelable&&B.preventDefault();return}if(!P){var j=(b.current.shards||[]).map(Y9t).filter(Boolean).filter(function(ee){return ee.contains(B.target)}),z=j.length>0?w(B,j[0]):!b.current.noIsolation;z&&B.cancelable&&B.preventDefault()}}},[]),S=H.useCallback(function(D,B,$,P){var j={name:D,delta:B,target:$,should:P,shadowParent:WFn($)};i.current.push(j),setTimeout(function(){i.current=i.current.filter(function(z){return z!==j})},1)},[]),_=H.useCallback(function(D){s.current=xie(D),c.current=void 0},[]),A=H.useCallback(function(D){S(D.type,K9t(D),D.target,w(D,n.lockRef.current))},[]),C=H.useCallback(function(D){S(D.type,xie(D),D.target,w(D,n.lockRef.current))},[]);H.useEffect(function(){return y5.push(g),n.setCallbacks({onScrollCapture:A,onWheelCapture:A,onTouchMoveCapture:C}),document.addEventListener("wheel",E,w5),document.addEventListener("touchmove",E,w5),document.addEventListener("touchstart",_,w5),function(){y5=y5.filter(function(D){return D!==g}),document.removeEventListener("wheel",E,w5),document.removeEventListener("touchmove",E,w5),document.removeEventListener("touchstart",_,w5)}},[]);var O=n.removeScrollBar,L=n.inert;return H.createElement(H.Fragment,null,L?H.createElement(g,{styles:GFn(d)}):null,O?H.createElement(MFn,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function WFn(n){for(var i=null;n!==null;)n instanceof ShadowRoot&&(i=n.host,n=n.host),n=n.parentNode;return i}const KFn=SFn($Gt,VFn);var Dz=H.forwardRef(function(n,i){return H.createElement(uae,O2({},n,{ref:i,sideCar:KFn}))});Dz.classNames=uae.classNames;var YFn=function(n){if(typeof document>"u")return null;var i=Array.isArray(n)?n[0]:n;return i.ownerDocument.body},v5=new WeakMap,kie=new WeakMap,Nie={},rIe=0,GGt=function(n){return n&&(n.host||GGt(n.parentNode))},JFn=function(n,i){return i.map(function(s){if(n.contains(s))return s;var c=GGt(s);return c&&n.contains(c)?c:(console.error("aria-hidden",s,"in not contained inside",n,". Doing nothing"),null)}).filter(function(s){return!!s})},XFn=function(n,i,s,c){var d=JFn(i,Array.isArray(n)?n:[n]);Nie[s]||(Nie[s]=new WeakMap);var g=Nie[s],b=[],w=new Set,E=new Set(d),S=function(A){!A||w.has(A)||(w.add(A),S(A.parentNode))};d.forEach(S);var _=function(A){!A||E.has(A)||Array.prototype.forEach.call(A.children,function(C){if(w.has(C))_(C);else try{var O=C.getAttribute(c),L=O!==null&&O!=="false",D=(v5.get(C)||0)+1,B=(g.get(C)||0)+1;v5.set(C,D),g.set(C,B),b.push(C),D===1&&L&&kie.set(C,!0),B===1&&C.setAttribute(s,"true"),L||C.setAttribute(c,"true")}catch($){console.error("aria-hidden: cannot operate on ",C,$)}})};return _(i),w.clear(),rIe++,function(){b.forEach(function(A){var C=v5.get(A)-1,O=g.get(A)-1;v5.set(A,C),g.set(A,O),C||(kie.has(A)||A.removeAttribute(c),kie.delete(A)),O||A.removeAttribute(s)}),rIe--,rIe||(v5=new WeakMap,v5=new WeakMap,kie=new WeakMap,Nie={})}},lae=function(n,i,s){s===void 0&&(s="data-aria-hidden");var c=Array.from(Array.isArray(n)?n:[n]),d=YFn(n);return d?(c.push.apply(c,Array.from(d.querySelectorAll("[aria-live], script"))),XFn(c,d,s,"aria-hidden")):function(){return null}};function ZFn(n){const i=QFn(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(t7n);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function QFn(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=r7n(d),w=n7n(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var e7n=Symbol("radix.slottable");function t7n(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===e7n}function n7n(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function r7n(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var dae="Dialog",[qGt]=Nw(dae),[i7n,Hv]=qGt(dae),VGt=n=>{const{__scopeDialog:i,children:s,open:c,defaultOpen:d,onOpenChange:g,modal:b=!0}=n,w=H.useRef(null),E=H.useRef(null),[S,_]=G2({prop:c,defaultProp:d??!1,onChange:g,caller:dae});return I.jsx(i7n,{scope:i,triggerRef:w,contentRef:E,contentId:Bh(),titleId:Bh(),descriptionId:Bh(),open:S,onOpenChange:_,onOpenToggle:H.useCallback(()=>_(A=>!A),[_]),modal:b,children:s})};VGt.displayName=dae;var WGt="DialogTrigger",o7n=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Hv(WGt,s),g=ps(i,d.triggerRef);return I.jsx(no.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":W5e(d.open),...c,ref:g,onClick:Dr(n.onClick,d.onOpenToggle)})});o7n.displayName=WGt;var q5e="DialogPortal",[s7n,KGt]=qGt(q5e,{forceMount:void 0}),YGt=n=>{const{__scopeDialog:i,forceMount:s,children:c,container:d}=n,g=Hv(q5e,i);return I.jsx(s7n,{scope:i,forceMount:s,children:H.Children.map(c,b=>I.jsx(Cw,{present:s||g.open,children:I.jsx(Oz,{asChild:!0,container:d,children:b})}))})};YGt.displayName=q5e;var Qoe="DialogOverlay",JGt=H.forwardRef((n,i)=>{const s=KGt(Qoe,n.__scopeDialog),{forceMount:c=s.forceMount,...d}=n,g=Hv(Qoe,n.__scopeDialog);return g.modal?I.jsx(Cw,{present:c||g.open,children:I.jsx(c7n,{...d,ref:i})}):null});JGt.displayName=Qoe;var a7n=ZFn("DialogOverlay.RemoveScroll"),c7n=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Hv(Qoe,s);return I.jsx(Dz,{as:a7n,allowPinchZoom:!0,shards:[d.contentRef],children:I.jsx(no.div,{"data-state":W5e(d.open),...c,ref:i,style:{pointerEvents:"auto",...c.style}})})}),bR="DialogContent",XGt=H.forwardRef((n,i)=>{const s=KGt(bR,n.__scopeDialog),{forceMount:c=s.forceMount,...d}=n,g=Hv(bR,n.__scopeDialog);return I.jsx(Cw,{present:c||g.open,children:g.modal?I.jsx(u7n,{...d,ref:i}):I.jsx(l7n,{...d,ref:i})})});XGt.displayName=bR;var u7n=H.forwardRef((n,i)=>{const s=Hv(bR,n.__scopeDialog),c=H.useRef(null),d=ps(i,s.contentRef,c);return H.useEffect(()=>{const g=c.current;if(g)return lae(g)},[]),I.jsx(ZGt,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dr(n.onCloseAutoFocus,g=>{var b;g.preventDefault(),(b=s.triggerRef.current)==null||b.focus()}),onPointerDownOutside:Dr(n.onPointerDownOutside,g=>{const b=g.detail.originalEvent,w=b.button===0&&b.ctrlKey===!0;(b.button===2||w)&&g.preventDefault()}),onFocusOutside:Dr(n.onFocusOutside,g=>g.preventDefault())})}),l7n=H.forwardRef((n,i)=>{const s=Hv(bR,n.__scopeDialog),c=H.useRef(!1),d=H.useRef(!1);return I.jsx(ZGt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(c.current||(w=s.triggerRef.current)==null||w.focus(),g.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(c.current=!0,g.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const b=g.target;((S=s.triggerRef.current)==null?void 0:S.contains(b))&&g.preventDefault(),g.detail.originalEvent.type==="focusin"&&d.current&&g.preventDefault()}})}),ZGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:g,...b}=n,w=Hv(bR,s),E=H.useRef(null),S=ps(i,E);return cae(),I.jsxs(I.Fragment,{children:[I.jsx(Rz,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:g,children:I.jsx(Iz,{role:"dialog",id:w.contentId,"aria-describedby":w.descriptionId,"aria-labelledby":w.titleId,"data-state":W5e(w.open),...b,ref:S,onDismiss:()=>w.onOpenChange(!1)})}),I.jsxs(I.Fragment,{children:[I.jsx(d7n,{titleId:w.titleId}),I.jsx(h7n,{contentRef:E,descriptionId:w.descriptionId})]})]})}),V5e="DialogTitle",QGt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Hv(V5e,s);return I.jsx(no.h2,{id:d.titleId,...c,ref:i})});QGt.displayName=V5e;var eqt="DialogDescription",tqt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Hv(eqt,s);return I.jsx(no.p,{id:d.descriptionId,...c,ref:i})});tqt.displayName=eqt;var nqt="DialogClose",rqt=H.forwardRef((n,i)=>{const{__scopeDialog:s,...c}=n,d=Hv(nqt,s);return I.jsx(no.button,{type:"button",...c,ref:i,onClick:Dr(n.onClick,()=>d.onOpenChange(!1))})});rqt.displayName=nqt;function W5e(n){return n?"open":"closed"}var iqt="DialogTitleWarning",[O1r,oqt]=Ljn(iqt,{contentName:bR,titleName:V5e,docsSlug:"dialog"}),d7n=({titleId:n})=>{const i=oqt(iqt),s=`\`${i.contentName}\` requires a \`${i.titleName}\` for the component to be accessible for screen reader users.
If you want to hide the \`${i.titleName}\`, you can wrap it with our VisuallyHidden component.
For more information, see https://radix-ui.com/primitives/docs/components/${i.docsSlug}`;return H.useEffect(()=>{n&&(document.getElementById(n)||console.error(s))},[s,n]),null},f7n="DialogDescriptionWarning",h7n=({contentRef:n,descriptionId:i})=>{const c=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${oqt(f7n).contentName}}.`;return H.useEffect(()=>{var g;const d=(g=n.current)==null?void 0:g.getAttribute("aria-describedby");i&&d&&(document.getElementById(i)||console.warn(c))},[c,n,i]),null},sqt=VGt,aqt=YGt,K5e=JGt,Y5e=XGt,cqt=QGt,uqt=tqt,p7n=rqt,g7n=Symbol.for("react.lazy"),ese=LLe[" use ".trim().toString()];function b7n(n){return typeof n=="object"&&n!==null&&"then"in n}function lqt(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===g7n&&"_payload"in n&&b7n(n._payload)}function fae(n){const i=w7n(n),s=H.forwardRef((c,d)=>{let{children:g,...b}=c;lqt(g)&&typeof ese=="function"&&(g=ese(g._payload));const w=H.Children.toArray(g),E=w.find(v7n);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}var m7n=fae("Slot");function w7n(n){const i=H.forwardRef((s,c)=>{let{children:d,...g}=s;if(lqt(d)&&typeof ese=="function"&&(d=ese(d._payload)),H.isValidElement(d)){const b=S7n(d),w=E7n(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var y7n=Symbol("radix.slottable");function v7n(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===y7n}function E7n(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function S7n(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var T7n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vN=T7n.reduce((n,i)=>{const s=fae(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),UU='[cmdk-group=""]',iIe='[cmdk-group-items=""]',A7n='[cmdk-group-heading=""]',dqt='[cmdk-item=""]',J9t=`${dqt}:not([aria-disabled="true"])`,xDe="cmdk-item-select",A5="data-value",_7n=(n,i,s)=>Djn(n,i,s),fqt=H.createContext(void 0),Lz=()=>H.useContext(fqt),hqt=H.createContext(void 0),J5e=()=>H.useContext(hqt),pqt=H.createContext(void 0),gqt=H.forwardRef((n,i)=>{let s=_5(()=>{var Be,bt;return{search:"",value:(bt=(Be=n.value)!=null?Be:n.defaultValue)!=null?bt:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),c=_5(()=>new Set),d=_5(()=>new Map),g=_5(()=>new Map),b=_5(()=>new Set),w=bqt(n),{label:E,children:S,value:_,onValueChange:A,filter:C,shouldFilter:O,loop:L,disablePointerSelection:D=!1,vimBindings:B=!0,...$}=n,P=Bh(),j=Bh(),z=Bh(),ee=H.useRef(null),ne=P7n();mR(()=>{if(_!==void 0){let Be=_.trim();s.current.value=Be,Q.emit()}},[_]),mR(()=>{ne(6,K)},[]);let Q=H.useMemo(()=>({subscribe:Be=>(b.current.add(Be),()=>b.current.delete(Be)),snapshot:()=>s.current,setState:(Be,bt,Nt)=>{var pt,Kt,Et,Dt;if(!Object.is(s.current[Be],bt)){if(s.current[Be]=bt,Be==="search")fe(),pe(),ne(1,ue);else if(Be==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let Yt=document.getElementById(z);Yt?Yt.focus():(pt=document.getElementById(P))==null||pt.focus()}if(ne(7,()=>{var Yt;s.current.selectedItemId=(Yt=ge())==null?void 0:Yt.id,Q.emit()}),Nt||ne(5,K),((Kt=w.current)==null?void 0:Kt.value)!==void 0){let Yt=bt??"";(Dt=(Et=w.current).onValueChange)==null||Dt.call(Et,Yt);return}}Q.emit()}},emit:()=>{b.current.forEach(Be=>Be())}}),[]),ae=H.useMemo(()=>({value:(Be,bt,Nt)=>{var pt;bt!==((pt=g.current.get(Be))==null?void 0:pt.value)&&(g.current.set(Be,{value:bt,keywords:Nt}),s.current.filtered.items.set(Be,he(bt,Nt)),ne(2,()=>{pe(),Q.emit()}))},item:(Be,bt)=>(c.current.add(Be),bt&&(d.current.has(bt)?d.current.get(bt).add(Be):d.current.set(bt,new Set([Be]))),ne(3,()=>{fe(),pe(),s.current.value||ue(),Q.emit()}),()=>{g.current.delete(Be),c.current.delete(Be),s.current.filtered.items.delete(Be);let Nt=ge();ne(4,()=>{fe(),(Nt==null?void 0:Nt.getAttribute("id"))===Be&&ue(),Q.emit()})}),group:Be=>(d.current.has(Be)||d.current.set(Be,new Set),()=>{g.current.delete(Be),d.current.delete(Be)}),filter:()=>w.current.shouldFilter,label:E||n["aria-label"],getDisablePointerSelection:()=>w.current.disablePointerSelection,listId:P,inputId:z,labelId:j,listInnerRef:ee}),[]);function he(Be,bt){var Nt,pt;let Kt=(pt=(Nt=w.current)==null?void 0:Nt.filter)!=null?pt:_7n;return Be?Kt(Be,s.current.search,bt):0}function pe(){if(!s.current.search||w.current.shouldFilter===!1)return;let Be=s.current.filtered.items,bt=[];s.current.filtered.groups.forEach(pt=>{let Kt=d.current.get(pt),Et=0;Kt.forEach(Dt=>{let Yt=Be.get(Dt);Et=Math.max(Yt,Et)}),bt.push([pt,Et])});let Nt=ee.current;De().sort((pt,Kt)=>{var Et,Dt;let Yt=pt.getAttribute("id"),Ln=Kt.getAttribute("id");return((Et=Be.get(Ln))!=null?Et:0)-((Dt=Be.get(Yt))!=null?Dt:0)}).forEach(pt=>{let Kt=pt.closest(iIe);Kt?Kt.appendChild(pt.parentElement===Kt?pt:pt.closest(`${iIe} > *`)):Nt.appendChild(pt.parentElement===Nt?pt:pt.closest(`${iIe} > *`))}),bt.sort((pt,Kt)=>Kt[1]-pt[1]).forEach(pt=>{var Kt;let Et=(Kt=ee.current)==null?void 0:Kt.querySelector(`${UU}[${A5}="${encodeURIComponent(pt[0])}"]`);Et==null||Et.parentElement.appendChild(Et)})}function ue(){let Be=De().find(Nt=>Nt.getAttribute("aria-disabled")!=="true"),bt=Be==null?void 0:Be.getAttribute(A5);Q.setState("value",bt||void 0)}function fe(){var Be,bt,Nt,pt;if(!s.current.search||w.current.shouldFilter===!1){s.current.filtered.count=c.current.size;return}s.current.filtered.groups=new Set;let Kt=0;for(let Et of c.current){let Dt=(bt=(Be=g.current.get(Et))==null?void 0:Be.value)!=null?bt:"",Yt=(pt=(Nt=g.current.get(Et))==null?void 0:Nt.keywords)!=null?pt:[],Ln=he(Dt,Yt);s.current.filtered.items.set(Et,Ln),Ln>0&&Kt++}for(let[Et,Dt]of d.current)for(let Yt of Dt)if(s.current.filtered.items.get(Yt)>0){s.current.filtered.groups.add(Et);break}s.current.filtered.count=Kt}function K(){var Be,bt,Nt;let pt=ge();pt&&(((Be=pt.parentElement)==null?void 0:Be.firstChild)===pt&&((Nt=(bt=pt.closest(UU))==null?void 0:bt.querySelector(A7n))==null||Nt.scrollIntoView({block:"nearest"})),pt.scrollIntoView({block:"nearest"}))}function ge(){var Be;return(Be=ee.current)==null?void 0:Be.querySelector(`${dqt}[aria-selected="true"]`)}function De(){var Be;return Array.from(((Be=ee.current)==null?void 0:Be.querySelectorAll(J9t))||[])}function Se(Be){let bt=De()[Be];bt&&Q.setState("value",bt.getAttribute(A5))}function Re(Be){var bt;let Nt=ge(),pt=De(),Kt=pt.findIndex(Dt=>Dt===Nt),Et=pt[Kt+Be];(bt=w.current)!=null&&bt.loop&&(Et=Kt+Be<0?pt[pt.length-1]:Kt+Be===pt.length?pt[0]:pt[Kt+Be]),Et&&Q.setState("value",Et.getAttribute(A5))}function Ae(Be){let bt=ge(),Nt=bt==null?void 0:bt.closest(UU),pt;for(;Nt&&!pt;)Nt=Be>0?L7n(Nt,UU):M7n(Nt,UU),pt=Nt==null?void 0:Nt.querySelector(J9t);pt?Q.setState("value",pt.getAttribute(A5)):Re(Be)}let xe=()=>Se(De().length-1),We=Be=>{Be.preventDefault(),Be.metaKey?xe():Be.altKey?Ae(1):Re(1)},ut=Be=>{Be.preventDefault(),Be.metaKey?Se(0):Be.altKey?Ae(-1):Re(-1)};return H.createElement(vN.div,{ref:i,tabIndex:-1,...$,"cmdk-root":"",onKeyDown:Be=>{var bt;(bt=$.onKeyDown)==null||bt.call($,Be);let Nt=Be.nativeEvent.isComposing||Be.keyCode===229;if(!(Be.defaultPrevented||Nt))switch(Be.key){case"n":case"j":{B&&Be.ctrlKey&&We(Be);break}case"ArrowDown":{We(Be);break}case"p":case"k":{B&&Be.ctrlKey&&ut(Be);break}case"ArrowUp":{ut(Be);break}case"Home":{Be.preventDefault(),Se(0);break}case"End":{Be.preventDefault(),xe();break}case"Enter":{Be.preventDefault();let pt=ge();if(pt){let Kt=new Event(xDe);pt.dispatchEvent(Kt)}}}}},H.createElement("label",{"cmdk-label":"",htmlFor:ae.inputId,id:ae.labelId,style:F7n},E),hae(n,Be=>H.createElement(hqt.Provider,{value:Q},H.createElement(fqt.Provider,{value:ae},Be))))}),x7n=H.forwardRef((n,i)=>{var s,c;let d=Bh(),g=H.useRef(null),b=H.useContext(pqt),w=Lz(),E=bqt(n),S=(c=(s=E.current)==null?void 0:s.forceMount)!=null?c:b==null?void 0:b.forceMount;mR(()=>{if(!S)return w.item(d,b==null?void 0:b.id)},[S]);let _=mqt(d,g,[n.value,n.children,g],n.keywords),A=J5e(),C=sN(ne=>ne.value&&ne.value===_.current),O=sN(ne=>S||w.filter()===!1?!0:ne.search?ne.filtered.items.get(d)>0:!0);H.useEffect(()=>{let ne=g.current;if(!(!ne||n.disabled))return ne.addEventListener(xDe,L),()=>ne.removeEventListener(xDe,L)},[O,n.onSelect,n.disabled]);function L(){var ne,Q;D(),(Q=(ne=E.current).onSelect)==null||Q.call(ne,_.current)}function D(){A.setState("value",_.current,!0)}if(!O)return null;let{disabled:B,value:$,onSelect:P,forceMount:j,keywords:z,...ee}=n;return H.createElement(vN.div,{ref:zg(g,i),...ee,id:d,"cmdk-item":"",role:"option","aria-disabled":!!B,"aria-selected":!!C,"data-disabled":!!B,"data-selected":!!C,onPointerMove:B||w.getDisablePointerSelection()?void 0:D,onClick:B?void 0:L},n.children)}),k7n=H.forwardRef((n,i)=>{let{heading:s,children:c,forceMount:d,...g}=n,b=Bh(),w=H.useRef(null),E=H.useRef(null),S=Bh(),_=Lz(),A=sN(O=>d||_.filter()===!1?!0:O.search?O.filtered.groups.has(b):!0);mR(()=>_.group(b),[]),mqt(b,w,[n.value,n.heading,E]);let C=H.useMemo(()=>({id:b,forceMount:d}),[d]);return H.createElement(vN.div,{ref:zg(w,i),...g,"cmdk-group":"",role:"presentation",hidden:A?void 0:!0},s&&H.createElement("div",{ref:E,"cmdk-group-heading":"","aria-hidden":!0,id:S},s),hae(n,O=>H.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":s?S:void 0},H.createElement(pqt.Provider,{value:C},O))))}),N7n=H.forwardRef((n,i)=>{let{alwaysRender:s,...c}=n,d=H.useRef(null),g=sN(b=>!b.search);return!s&&!g?null:H.createElement(vN.div,{ref:zg(d,i),...c,"cmdk-separator":"",role:"separator"})}),C7n=H.forwardRef((n,i)=>{let{onValueChange:s,...c}=n,d=n.value!=null,g=J5e(),b=sN(S=>S.search),w=sN(S=>S.selectedItemId),E=Lz();return H.useEffect(()=>{n.value!=null&&g.setState("search",n.value)},[n.value]),H.createElement(vN.input,{ref:i,...c,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":E.listId,"aria-labelledby":E.labelId,"aria-activedescendant":w,id:E.inputId,type:"text",value:d?n.value:b,onChange:S=>{d||g.setState("search",S.target.value),s==null||s(S.target.value)}})}),I7n=H.forwardRef((n,i)=>{let{children:s,label:c="Suggestions",...d}=n,g=H.useRef(null),b=H.useRef(null),w=sN(S=>S.selectedItemId),E=Lz();return H.useEffect(()=>{if(b.current&&g.current){let S=b.current,_=g.current,A,C=new ResizeObserver(()=>{A=requestAnimationFrame(()=>{let O=S.offsetHeight;_.style.setProperty("--cmdk-list-height",O.toFixed(1)+"px")})});return C.observe(S),()=>{cancelAnimationFrame(A),C.unobserve(S)}}},[]),H.createElement(vN.div,{ref:zg(g,i),...d,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":w,"aria-label":c,id:E.listId},hae(n,S=>H.createElement("div",{ref:zg(b,E.listInnerRef),"cmdk-list-sizer":""},S)))}),R7n=H.forwardRef((n,i)=>{let{open:s,onOpenChange:c,overlayClassName:d,contentClassName:g,container:b,...w}=n;return H.createElement(sqt,{open:s,onOpenChange:c},H.createElement(aqt,{container:b},H.createElement(K5e,{"cmdk-overlay":"",className:d}),H.createElement(Y5e,{"aria-label":n.label,"cmdk-dialog":"",className:g},H.createElement(gqt,{ref:i,...w}))))}),O7n=H.forwardRef((n,i)=>sN(s=>s.filtered.count===0)?H.createElement(vN.div,{ref:i,...n,"cmdk-empty":"",role:"presentation"}):null),D7n=H.forwardRef((n,i)=>{let{progress:s,children:c,label:d="Loading...",...g}=n;return H.createElement(vN.div,{ref:i,...g,"cmdk-loading":"",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":d},hae(n,b=>H.createElement("div",{"aria-hidden":!0},b)))}),hb=Object.assign(gqt,{List:I7n,Item:x7n,Input:C7n,Group:k7n,Separator:N7n,Dialog:R7n,Empty:O7n,Loading:D7n});function L7n(n,i){let s=n.nextElementSibling;for(;s;){if(s.matches(i))return s;s=s.nextElementSibling}}function M7n(n,i){let s=n.previousElementSibling;for(;s;){if(s.matches(i))return s;s=s.previousElementSibling}}function bqt(n){let i=H.useRef(n);return mR(()=>{i.current=n}),i}var mR=typeof window>"u"?H.useEffect:H.useLayoutEffect;function _5(n){let i=H.useRef();return i.current===void 0&&(i.current=n()),i}function sN(n){let i=J5e(),s=()=>n(i.snapshot());return H.useSyncExternalStore(i.subscribe,s,s)}function mqt(n,i,s,c=[]){let d=H.useRef(),g=Lz();return mR(()=>{var b;let w=(()=>{var S;for(let _ of s){if(typeof _=="string")return _.trim();if(typeof _=="object"&&"current"in _)return _.current?(S=_.current.textContent)==null?void 0:S.trim():d.current}})(),E=c.map(S=>S.trim());g.value(n,w,E),(b=i.current)==null||b.setAttribute(A5,w),d.current=w}),d}var P7n=()=>{let[n,i]=H.useState(),s=_5(()=>new Map);return mR(()=>{s.current.forEach(c=>c()),s.current=new Map},[n]),(c,d)=>{s.current.set(c,d),i({})}};function j7n(n){let i=n.type;return typeof i=="function"?i(n.props):"render"in i?i.render(n.props):n}function hae({asChild:n,children:i},s){return n&&H.isValidElement(i)?H.cloneElement(j7n(i),{ref:i.ref},s(i.props.children)):s(i)}var F7n={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function wqt(n){var i,s,c="";if(typeof n=="string"||typeof n=="number")c+=n;else if(typeof n=="object")if(Array.isArray(n)){var d=n.length;for(i=0;i<d;i++)n[i]&&(s=wqt(n[i]))&&(c&&(c+=" "),c+=s)}else for(s in n)n[s]&&(c&&(c+=" "),c+=s);return c}function yqt(){for(var n,i,s=0,c="",d=arguments.length;s<d;s++)(n=arguments[s])&&(i=wqt(n))&&(c&&(c+=" "),c+=i);return c}const X5e="-",$7n=n=>{const i=U7n(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:c}=n;return{getClassGroupId:b=>{const w=b.split(X5e);return w[0]===""&&w.length!==1&&w.shift(),vqt(w,i)||B7n(b)},getConflictingClassGroupIds:(b,w)=>{const E=s[b]||[];return w&&c[b]?[...E,...c[b]]:E}}},vqt=(n,i)=>{var b;if(n.length===0)return i.classGroupId;const s=n[0],c=i.nextPart.get(s),d=c?vqt(n.slice(1),c):void 0;if(d)return d;if(i.validators.length===0)return;const g=n.join(X5e);return(b=i.validators.find(({validator:w})=>w(g)))==null?void 0:b.classGroupId},X9t=/^\[(.+)\]$/,B7n=n=>{if(X9t.test(n)){const i=X9t.exec(n)[1],s=i==null?void 0:i.substring(0,i.indexOf(":"));if(s)return"arbitrary.."+s}},U7n=n=>{const{theme:i,prefix:s}=n,c={nextPart:new Map,validators:[]};return z7n(Object.entries(n.classGroups),s).forEach(([g,b])=>{kDe(b,c,g,i)}),c},kDe=(n,i,s,c)=>{n.forEach(d=>{if(typeof d=="string"){const g=d===""?i:Z9t(i,d);g.classGroupId=s;return}if(typeof d=="function"){if(H7n(d)){kDe(d(c),i,s,c);return}i.validators.push({validator:d,classGroupId:s});return}Object.entries(d).forEach(([g,b])=>{kDe(b,Z9t(i,g),s,c)})})},Z9t=(n,i)=>{let s=n;return i.split(X5e).forEach(c=>{s.nextPart.has(c)||s.nextPart.set(c,{nextPart:new Map,validators:[]}),s=s.nextPart.get(c)}),s},H7n=n=>n.isThemeGetter,z7n=(n,i)=>i?n.map(([s,c])=>{const d=c.map(g=>typeof g=="string"?i+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(([b,w])=>[i+b,w])):g);return[s,d]}):n,G7n=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,s=new Map,c=new Map;const d=(g,b)=>{s.set(g,b),i++,i>n&&(i=0,c=s,s=new Map)};return{get(g){let b=s.get(g);if(b!==void 0)return b;if((b=c.get(g))!==void 0)return d(g,b),b},set(g,b){s.has(g)?s.set(g,b):d(g,b)}}},Eqt="!",q7n=n=>{const{separator:i,experimentalParseClassName:s}=n,c=i.length===1,d=i[0],g=i.length,b=w=>{const E=[];let S=0,_=0,A;for(let B=0;B<w.length;B++){let $=w[B];if(S===0){if($===d&&(c||w.slice(B,B+g)===i)){E.push(w.slice(_,B)),_=B+g;continue}if($==="/"){A=B;continue}}$==="["?S++:$==="]"&&S--}const C=E.length===0?w:w.substring(_),O=C.startsWith(Eqt),L=O?C.substring(1):C,D=A&&A>_?A-_:void 0;return{modifiers:E,hasImportantModifier:O,baseClassName:L,maybePostfixModifierPosition:D}};return s?w=>s({className:w,parseClassName:b}):b},V7n=n=>{if(n.length<=1)return n;const i=[];let s=[];return n.forEach(c=>{c[0]==="["?(i.push(...s.sort(),c),s=[]):s.push(c)}),i.push(...s.sort()),i},W7n=n=>({cache:G7n(n.cacheSize),parseClassName:q7n(n),...$7n(n)}),K7n=/\s+/,Y7n=(n,i)=>{const{parseClassName:s,getClassGroupId:c,getConflictingClassGroupIds:d}=i,g=[],b=n.trim().split(K7n);let w="";for(let E=b.length-1;E>=0;E-=1){const S=b[E],{modifiers:_,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:O}=s(S);let L=!!O,D=c(L?C.substring(0,O):C);if(!D){if(!L){w=S+(w.length>0?" "+w:w);continue}if(D=c(C),!D){w=S+(w.length>0?" "+w:w);continue}L=!1}const B=V7n(_).join(":"),$=A?B+Eqt:B,P=$+D;if(g.includes(P))continue;g.push(P);const j=d(D,L);for(let z=0;z<j.length;++z){const ee=j[z];g.push($+ee)}w=S+(w.length>0?" "+w:w)}return w};function J7n(){let n=0,i,s,c="";for(;n<arguments.length;)(i=arguments[n++])&&(s=Sqt(i))&&(c&&(c+=" "),c+=s);return c}const Sqt=n=>{if(typeof n=="string")return n;let i,s="";for(let c=0;c<n.length;c++)n[c]&&(i=Sqt(n[c]))&&(s&&(s+=" "),s+=i);return s};function X7n(n,...i){let s,c,d,g=b;function b(E){const S=i.reduce((_,A)=>A(_),n());return s=W7n(S),c=s.cache.get,d=s.cache.set,g=w,w(E)}function w(E){const S=c(E);if(S)return S;const _=Y7n(E,s);return d(E,_),_}return function(){return g(J7n.apply(null,arguments))}}const uu=n=>{const i=s=>s[n]||[];return i.isThemeGetter=!0,i},Tqt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Z7n=/^\d+\/\d+$/,Q7n=new Set(["px","full","screen"]),e$n=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,t$n=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,n$n=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,r$n=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,i$n=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rA=n=>oM(n)||Q7n.has(n)||Z7n.test(n),Rk=n=>FM(n,"length",f$n),oM=n=>!!n&&!Number.isNaN(Number(n)),oIe=n=>FM(n,"number",oM),HU=n=>!!n&&Number.isInteger(Number(n)),o$n=n=>n.endsWith("%")&&oM(n.slice(0,-1)),Zo=n=>Tqt.test(n),Ok=n=>e$n.test(n),s$n=new Set(["length","size","percentage"]),a$n=n=>FM(n,s$n,Aqt),c$n=n=>FM(n,"position",Aqt),u$n=new Set(["image","url"]),l$n=n=>FM(n,u$n,p$n),d$n=n=>FM(n,"",h$n),zU=()=>!0,FM=(n,i,s)=>{const c=Tqt.exec(n);return c?c[1]?typeof i=="string"?c[1]===i:i.has(c[1]):s(c[2]):!1},f$n=n=>t$n.test(n)&&!n$n.test(n),Aqt=()=>!1,h$n=n=>r$n.test(n),p$n=n=>i$n.test(n),g$n=()=>{const n=uu("colors"),i=uu("spacing"),s=uu("blur"),c=uu("brightness"),d=uu("borderColor"),g=uu("borderRadius"),b=uu("borderSpacing"),w=uu("borderWidth"),E=uu("contrast"),S=uu("grayscale"),_=uu("hueRotate"),A=uu("invert"),C=uu("gap"),O=uu("gradientColorStops"),L=uu("gradientColorStopPositions"),D=uu("inset"),B=uu("margin"),$=uu("opacity"),P=uu("padding"),j=uu("saturate"),z=uu("scale"),ee=uu("sepia"),ne=uu("skew"),Q=uu("space"),ae=uu("translate"),he=()=>["auto","contain","none"],pe=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",Zo,i],fe=()=>[Zo,i],K=()=>["",rA,Rk],ge=()=>["auto",oM,Zo],De=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Se=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ae=()=>["start","end","center","between","around","evenly","stretch"],xe=()=>["","0",Zo],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ut=()=>[oM,Zo];return{cacheSize:500,separator:":",theme:{colors:[zU],spacing:[rA,Rk],blur:["none","",Ok,Zo],brightness:ut(),borderColor:[n],borderRadius:["none","","full",Ok,Zo],borderSpacing:fe(),borderWidth:K(),contrast:ut(),grayscale:xe(),hueRotate:ut(),invert:xe(),gap:fe(),gradientColorStops:[n],gradientColorStopPositions:[o$n,Rk],inset:ue(),margin:ue(),opacity:ut(),padding:fe(),saturate:ut(),scale:ut(),sepia:xe(),skew:ut(),space:fe(),translate:fe()},classGroups:{aspect:[{aspect:["auto","square","video",Zo]}],container:["container"],columns:[{columns:[Ok]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...De(),Zo]}],overflow:[{overflow:pe()}],"overflow-x":[{"overflow-x":pe()}],"overflow-y":[{"overflow-y":pe()}],overscroll:[{overscroll:he()}],"overscroll-x":[{"overscroll-x":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[D]}],"inset-x":[{"inset-x":[D]}],"inset-y":[{"inset-y":[D]}],start:[{start:[D]}],end:[{end:[D]}],top:[{top:[D]}],right:[{right:[D]}],bottom:[{bottom:[D]}],left:[{left:[D]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",HU,Zo]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Zo]}],grow:[{grow:xe()}],shrink:[{shrink:xe()}],order:[{order:["first","last","none",HU,Zo]}],"grid-cols":[{"grid-cols":[zU]}],"col-start-end":[{col:["auto",{span:["full",HU,Zo]},Zo]}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":[zU]}],"row-start-end":[{row:["auto",{span:[HU,Zo]},Zo]}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Zo]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Zo]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Ae()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ae(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ae(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[B]}],mx:[{mx:[B]}],my:[{my:[B]}],ms:[{ms:[B]}],me:[{me:[B]}],mt:[{mt:[B]}],mr:[{mr:[B]}],mb:[{mb:[B]}],ml:[{ml:[B]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Zo,i]}],"min-w":[{"min-w":[Zo,i,"min","max","fit"]}],"max-w":[{"max-w":[Zo,i,"none","full","min","max","fit","prose",{screen:[Ok]},Ok]}],h:[{h:[Zo,i,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Zo,i,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Zo,i,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Zo,i,"auto","min","max","fit"]}],"font-size":[{text:["base",Ok,Rk]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oIe]}],"font-family":[{font:[zU]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Zo]}],"line-clamp":[{"line-clamp":["none",oM,oIe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rA,Zo]}],"list-image":[{"list-image":["none",Zo]}],"list-style-type":[{list:["none","disc","decimal",Zo]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[$]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rA,Rk]}],"underline-offset":[{"underline-offset":["auto",rA,Zo]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:fe()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Zo]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Zo]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[$]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...De(),c$n]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",a$n]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},l$n]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[L]}],"gradient-via-pos":[{via:[L]}],"gradient-to-pos":[{to:[L]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[w]}],"border-w-x":[{"border-x":[w]}],"border-w-y":[{"border-y":[w]}],"border-w-s":[{"border-s":[w]}],"border-w-e":[{"border-e":[w]}],"border-w-t":[{"border-t":[w]}],"border-w-r":[{"border-r":[w]}],"border-w-b":[{"border-b":[w]}],"border-w-l":[{"border-l":[w]}],"border-opacity":[{"border-opacity":[$]}],"border-style":[{border:[...Se(),"hidden"]}],"divide-x":[{"divide-x":[w]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[w]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[$]}],"divide-style":[{divide:Se()}],"border-color":[{border:[d]}],"border-color-x":[{"border-x":[d]}],"border-color-y":[{"border-y":[d]}],"border-color-s":[{"border-s":[d]}],"border-color-e":[{"border-e":[d]}],"border-color-t":[{"border-t":[d]}],"border-color-r":[{"border-r":[d]}],"border-color-b":[{"border-b":[d]}],"border-color-l":[{"border-l":[d]}],"divide-color":[{divide:[d]}],"outline-style":[{outline:["",...Se()]}],"outline-offset":[{"outline-offset":[rA,Zo]}],"outline-w":[{outline:[rA,Rk]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[$]}],"ring-offset-w":[{"ring-offset":[rA,Rk]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Ok,d$n]}],"shadow-color":[{shadow:[zU]}],opacity:[{opacity:[$]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[s]}],brightness:[{brightness:[c]}],contrast:[{contrast:[E]}],"drop-shadow":[{"drop-shadow":["","none",Ok,Zo]}],grayscale:[{grayscale:[S]}],"hue-rotate":[{"hue-rotate":[_]}],invert:[{invert:[A]}],saturate:[{saturate:[j]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[s]}],"backdrop-brightness":[{"backdrop-brightness":[c]}],"backdrop-contrast":[{"backdrop-contrast":[E]}],"backdrop-grayscale":[{"backdrop-grayscale":[S]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_]}],"backdrop-invert":[{"backdrop-invert":[A]}],"backdrop-opacity":[{"backdrop-opacity":[$]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[b]}],"border-spacing-x":[{"border-spacing-x":[b]}],"border-spacing-y":[{"border-spacing-y":[b]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Zo]}],duration:[{duration:ut()}],ease:[{ease:["linear","in","out","in-out",Zo]}],delay:[{delay:ut()}],animate:[{animate:["none","spin","ping","pulse","bounce",Zo]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[HU,Zo]}],"translate-x":[{"translate-x":[ae]}],"translate-y":[{"translate-y":[ae]}],"skew-x":[{"skew-x":[ne]}],"skew-y":[{"skew-y":[ne]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Zo]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Zo]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":fe()}],"scroll-mx":[{"scroll-mx":fe()}],"scroll-my":[{"scroll-my":fe()}],"scroll-ms":[{"scroll-ms":fe()}],"scroll-me":[{"scroll-me":fe()}],"scroll-mt":[{"scroll-mt":fe()}],"scroll-mr":[{"scroll-mr":fe()}],"scroll-mb":[{"scroll-mb":fe()}],"scroll-ml":[{"scroll-ml":fe()}],"scroll-p":[{"scroll-p":fe()}],"scroll-px":[{"scroll-px":fe()}],"scroll-py":[{"scroll-py":fe()}],"scroll-ps":[{"scroll-ps":fe()}],"scroll-pe":[{"scroll-pe":fe()}],"scroll-pt":[{"scroll-pt":fe()}],"scroll-pr":[{"scroll-pr":fe()}],"scroll-pb":[{"scroll-pb":fe()}],"scroll-pl":[{"scroll-pl":fe()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Zo]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[rA,Rk,oIe]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},b$n=X7n(g$n);function nr(...n){return b$n(yqt(n))}function Z5e(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{const i=Math.random()*16|0;return(n==="x"?i:i&3|8).toString(16)})}let m$n=0;function tz(n){return`${n}_${Date.now()}_${m$n++}`}const wR=sqt,w$n=aqt,_qt=H.forwardRef(({className:n,...i},s)=>I.jsx(K5e,{ref:s,className:nr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-40 bg-black/80 data-[state=closed]:animate-out data-[state=open]:animate-in",n),...i}));_qt.displayName=K5e.displayName;const aN=H.forwardRef(({className:n,children:i,container:s,...c},d)=>{const{t:g}=jo(["common"]);return I.jsxs(w$n,{container:s,children:[I.jsx(_qt,{}),I.jsxs(Y5e,{ref:d,className:nr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:rounded-lg",n),...c,children:[i,I.jsxs(p7n,{className:"absolute top-4 right-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[I.jsx(aae,{className:"h-4 w-4"}),I.jsx("span",{className:"sr-only",children:g("buttons.close")})]})]})]})});aN.displayName=Y5e.displayName;const cN=({className:n,...i})=>I.jsx("div",{className:nr("flex flex-col space-y-1.5 text-center sm:text-left",n),...i});cN.displayName="DialogHeader";const uN=H.forwardRef(({className:n,...i},s)=>I.jsx(cqt,{ref:s,className:nr("font-semibold text-lg leading-none tracking-tight",n),...i}));uN.displayName=cqt.displayName;const lN=H.forwardRef(({className:n,...i},s)=>I.jsx(uqt,{ref:s,className:nr("text-muted-foreground text-sm",n),...i}));lN.displayName=uqt.displayName;const pae=H.forwardRef(({className:n,...i},s)=>I.jsx(hb,{ref:s,className:nr("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...i}));pae.displayName=hb.displayName;const gae=H.forwardRef(({className:n,...i},s)=>I.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[I.jsx(kGt,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),I.jsx(hb.Input,{ref:s,autoComplete:"off",className:nr("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...i})]}));gae.displayName=hb.Input.displayName;const bae=H.forwardRef(({className:n,...i},s)=>I.jsx(hb.List,{ref:s,className:nr("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...i}));bae.displayName=hb.List.displayName;const mae=H.forwardRef((n,i)=>I.jsx(hb.Empty,{ref:i,className:"py-6 text-center text-sm",...n}));mae.displayName=hb.Empty.displayName;const nz=H.forwardRef(({className:n,...i},s)=>I.jsx(hb.Group,{ref:s,className:nr("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs",n),...i}));nz.displayName=hb.Group.displayName;const y$n=H.forwardRef(({className:n,...i},s)=>I.jsx(hb.Separator,{ref:s,className:nr("-mx-1 h-px bg-border",n),...i}));y$n.displayName=hb.Separator.displayName;const rz=H.forwardRef(({className:n,...i},s)=>I.jsx(hb.Item,{ref:s,className:nr("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n),...i}));rz.displayName=hb.Item.displayName;const v$n=["top","right","bottom","left"],dN=Math.min,Mm=Math.max,tse=Math.round,Cie=Math.floor,$2=n=>({x:n,y:n}),E$n={left:"right",right:"left",bottom:"top",top:"bottom"},S$n={start:"end",end:"start"};function NDe(n,i,s){return Mm(n,dN(i,s))}function vA(n,i){return typeof n=="function"?n(i):n}function EA(n){return n.split("-")[0]}function $M(n){return n.split("-")[1]}function Q5e(n){return n==="x"?"y":"x"}function eMe(n){return n==="y"?"height":"width"}const T$n=new Set(["top","bottom"]);function L2(n){return T$n.has(EA(n))?"y":"x"}function tMe(n){return Q5e(L2(n))}function A$n(n,i,s){s===void 0&&(s=!1);const c=$M(n),d=tMe(n),g=eMe(d);let b=d==="x"?c===(s?"end":"start")?"right":"left":c==="start"?"bottom":"top";return i.reference[g]>i.floating[g]&&(b=nse(b)),[b,nse(b)]}function _$n(n){const i=nse(n);return[CDe(n),i,CDe(i)]}function CDe(n){return n.replace(/start|end/g,i=>S$n[i])}const Q9t=["left","right"],e8t=["right","left"],x$n=["top","bottom"],k$n=["bottom","top"];function N$n(n,i,s){switch(n){case"top":case"bottom":return s?i?e8t:Q9t:i?Q9t:e8t;case"left":case"right":return i?x$n:k$n;default:return[]}}function C$n(n,i,s,c){const d=$M(n);let g=N$n(EA(n),s==="start",c);return d&&(g=g.map(b=>b+"-"+d),i&&(g=g.concat(g.map(CDe)))),g}function nse(n){return n.replace(/left|right|bottom|top/g,i=>E$n[i])}function I$n(n){return{top:0,right:0,bottom:0,left:0,...n}}function xqt(n){return typeof n!="number"?I$n(n):{top:n,right:n,bottom:n,left:n}}function rse(n){const{x:i,y:s,width:c,height:d}=n;return{width:c,height:d,top:s,left:i,right:i+c,bottom:s+d,x:i,y:s}}function t8t(n,i,s){let{reference:c,floating:d}=n;const g=L2(i),b=tMe(i),w=eMe(b),E=EA(i),S=g==="y",_=c.x+c.width/2-d.width/2,A=c.y+c.height/2-d.height/2,C=c[w]/2-d[w]/2;let O;switch(E){case"top":O={x:_,y:c.y-d.height};break;case"bottom":O={x:_,y:c.y+c.height};break;case"right":O={x:c.x+c.width,y:A};break;case"left":O={x:c.x-d.width,y:A};break;default:O={x:c.x,y:c.y}}switch($M(i)){case"start":O[b]-=C*(s&&S?-1:1);break;case"end":O[b]+=C*(s&&S?-1:1);break}return O}const R$n=async(n,i,s)=>{const{placement:c="bottom",strategy:d="absolute",middleware:g=[],platform:b}=s,w=g.filter(Boolean),E=await(b.isRTL==null?void 0:b.isRTL(i));let S=await b.getElementRects({reference:n,floating:i,strategy:d}),{x:_,y:A}=t8t(S,c,E),C=c,O={},L=0;for(let D=0;D<w.length;D++){const{name:B,fn:$}=w[D],{x:P,y:j,data:z,reset:ee}=await $({x:_,y:A,initialPlacement:c,placement:C,strategy:d,middlewareData:O,rects:S,platform:b,elements:{reference:n,floating:i}});_=P??_,A=j??A,O={...O,[B]:{...O[B],...z}},ee&&L<=50&&(L++,typeof ee=="object"&&(ee.placement&&(C=ee.placement),ee.rects&&(S=ee.rects===!0?await b.getElementRects({reference:n,floating:i,strategy:d}):ee.rects),{x:_,y:A}=t8t(S,C,E)),D=-1)}return{x:_,y:A,placement:C,strategy:d,middlewareData:O}};async function iz(n,i){var s;i===void 0&&(i={});const{x:c,y:d,platform:g,rects:b,elements:w,strategy:E}=n,{boundary:S="clippingAncestors",rootBoundary:_="viewport",elementContext:A="floating",altBoundary:C=!1,padding:O=0}=vA(i,n),L=xqt(O),B=w[C?A==="floating"?"reference":"floating":A],$=rse(await g.getClippingRect({element:(s=await(g.isElement==null?void 0:g.isElement(B)))==null||s?B:B.contextElement||await(g.getDocumentElement==null?void 0:g.getDocumentElement(w.floating)),boundary:S,rootBoundary:_,strategy:E})),P=A==="floating"?{x:c,y:d,width:b.floating.width,height:b.floating.height}:b.reference,j=await(g.getOffsetParent==null?void 0:g.getOffsetParent(w.floating)),z=await(g.isElement==null?void 0:g.isElement(j))?await(g.getScale==null?void 0:g.getScale(j))||{x:1,y:1}:{x:1,y:1},ee=rse(g.convertOffsetParentRelativeRectToViewportRelativeRect?await g.convertOffsetParentRelativeRectToViewportRelativeRect({elements:w,rect:P,offsetParent:j,strategy:E}):P);return{top:($.top-ee.top+L.top)/z.y,bottom:(ee.bottom-$.bottom+L.bottom)/z.y,left:($.left-ee.left+L.left)/z.x,right:(ee.right-$.right+L.right)/z.x}}const O$n=n=>({name:"arrow",options:n,async fn(i){const{x:s,y:c,placement:d,rects:g,platform:b,elements:w,middlewareData:E}=i,{element:S,padding:_=0}=vA(n,i)||{};if(S==null)return{};const A=xqt(_),C={x:s,y:c},O=tMe(d),L=eMe(O),D=await b.getDimensions(S),B=O==="y",$=B?"top":"left",P=B?"bottom":"right",j=B?"clientHeight":"clientWidth",z=g.reference[L]+g.reference[O]-C[O]-g.floating[L],ee=C[O]-g.reference[O],ne=await(b.getOffsetParent==null?void 0:b.getOffsetParent(S));let Q=ne?ne[j]:0;(!Q||!await(b.isElement==null?void 0:b.isElement(ne)))&&(Q=w.floating[j]||g.floating[L]);const ae=z/2-ee/2,he=Q/2-D[L]/2-1,pe=dN(A[$],he),ue=dN(A[P],he),fe=pe,K=Q-D[L]-ue,ge=Q/2-D[L]/2+ae,De=NDe(fe,ge,K),Se=!E.arrow&&$M(d)!=null&&ge!==De&&g.reference[L]/2-(ge<fe?pe:ue)-D[L]/2<0,Re=Se?ge<fe?ge-fe:ge-K:0;return{[O]:C[O]+Re,data:{[O]:De,centerOffset:ge-De-Re,...Se&&{alignmentOffset:Re}},reset:Se}}}),D$n=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(i){var s,c;const{placement:d,middlewareData:g,rects:b,initialPlacement:w,platform:E,elements:S}=i,{mainAxis:_=!0,crossAxis:A=!0,fallbackPlacements:C,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:D=!0,...B}=vA(n,i);if((s=g.arrow)!=null&&s.alignmentOffset)return{};const $=EA(d),P=L2(w),j=EA(w)===w,z=await(E.isRTL==null?void 0:E.isRTL(S.floating)),ee=C||(j||!D?[nse(w)]:_$n(w)),ne=L!=="none";!C&&ne&&ee.push(...C$n(w,D,L,z));const Q=[w,...ee],ae=await iz(i,B),he=[];let pe=((c=g.flip)==null?void 0:c.overflows)||[];if(_&&he.push(ae[$]),A){const ge=A$n(d,b,z);he.push(ae[ge[0]],ae[ge[1]])}if(pe=[...pe,{placement:d,overflows:he}],!he.every(ge=>ge<=0)){var ue,fe;const ge=(((ue=g.flip)==null?void 0:ue.index)||0)+1,De=Q[ge];if(De&&(!(A==="alignment"?P!==L2(De):!1)||pe.every(Ae=>L2(Ae.placement)===P?Ae.overflows[0]>0:!0)))return{data:{index:ge,overflows:pe},reset:{placement:De}};let Se=(fe=pe.filter(Re=>Re.overflows[0]<=0).sort((Re,Ae)=>Re.overflows[1]-Ae.overflows[1])[0])==null?void 0:fe.placement;if(!Se)switch(O){case"bestFit":{var K;const Re=(K=pe.filter(Ae=>{if(ne){const xe=L2(Ae.placement);return xe===P||xe==="y"}return!0}).map(Ae=>[Ae.placement,Ae.overflows.filter(xe=>xe>0).reduce((xe,We)=>xe+We,0)]).sort((Ae,xe)=>Ae[1]-xe[1])[0])==null?void 0:K[0];Re&&(Se=Re);break}case"initialPlacement":Se=w;break}if(d!==Se)return{reset:{placement:Se}}}return{}}}};function n8t(n,i){return{top:n.top-i.height,right:n.right-i.width,bottom:n.bottom-i.height,left:n.left-i.width}}function r8t(n){return v$n.some(i=>n[i]>=0)}const L$n=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(i){const{rects:s}=i,{strategy:c="referenceHidden",...d}=vA(n,i);switch(c){case"referenceHidden":{const g=await iz(i,{...d,elementContext:"reference"}),b=n8t(g,s.reference);return{data:{referenceHiddenOffsets:b,referenceHidden:r8t(b)}}}case"escaped":{const g=await iz(i,{...d,altBoundary:!0}),b=n8t(g,s.floating);return{data:{escapedOffsets:b,escaped:r8t(b)}}}default:return{}}}}},kqt=new Set(["left","top"]);async function M$n(n,i){const{placement:s,platform:c,elements:d}=n,g=await(c.isRTL==null?void 0:c.isRTL(d.floating)),b=EA(s),w=$M(s),E=L2(s)==="y",S=kqt.has(b)?-1:1,_=g&&E?-1:1,A=vA(i,n);let{mainAxis:C,crossAxis:O,alignmentAxis:L}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};return w&&typeof L=="number"&&(O=w==="end"?L*-1:L),E?{x:O*_,y:C*S}:{x:C*S,y:O*_}}const P$n=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(i){var s,c;const{x:d,y:g,placement:b,middlewareData:w}=i,E=await M$n(i,n);return b===((s=w.offset)==null?void 0:s.placement)&&(c=w.arrow)!=null&&c.alignmentOffset?{}:{x:d+E.x,y:g+E.y,data:{...E,placement:b}}}}},j$n=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(i){const{x:s,y:c,placement:d}=i,{mainAxis:g=!0,crossAxis:b=!1,limiter:w={fn:B=>{let{x:$,y:P}=B;return{x:$,y:P}}},...E}=vA(n,i),S={x:s,y:c},_=await iz(i,E),A=L2(EA(d)),C=Q5e(A);let O=S[C],L=S[A];if(g){const B=C==="y"?"top":"left",$=C==="y"?"bottom":"right",P=O+_[B],j=O-_[$];O=NDe(P,O,j)}if(b){const B=A==="y"?"top":"left",$=A==="y"?"bottom":"right",P=L+_[B],j=L-_[$];L=NDe(P,L,j)}const D=w.fn({...i,[C]:O,[A]:L});return{...D,data:{x:D.x-s,y:D.y-c,enabled:{[C]:g,[A]:b}}}}}},F$n=function(n){return n===void 0&&(n={}),{options:n,fn(i){const{x:s,y:c,placement:d,rects:g,middlewareData:b}=i,{offset:w=0,mainAxis:E=!0,crossAxis:S=!0}=vA(n,i),_={x:s,y:c},A=L2(d),C=Q5e(A);let O=_[C],L=_[A];const D=vA(w,i),B=typeof D=="number"?{mainAxis:D,crossAxis:0}:{mainAxis:0,crossAxis:0,...D};if(E){const j=C==="y"?"height":"width",z=g.reference[C]-g.floating[j]+B.mainAxis,ee=g.reference[C]+g.reference[j]-B.mainAxis;O<z?O=z:O>ee&&(O=ee)}if(S){var $,P;const j=C==="y"?"width":"height",z=kqt.has(EA(d)),ee=g.reference[A]-g.floating[j]+(z&&(($=b.offset)==null?void 0:$[A])||0)+(z?0:B.crossAxis),ne=g.reference[A]+g.reference[j]+(z?0:((P=b.offset)==null?void 0:P[A])||0)-(z?B.crossAxis:0);L<ee?L=ee:L>ne&&(L=ne)}return{[C]:O,[A]:L}}}},$$n=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(i){var s,c;const{placement:d,rects:g,platform:b,elements:w}=i,{apply:E=()=>{},...S}=vA(n,i),_=await iz(i,S),A=EA(d),C=$M(d),O=L2(d)==="y",{width:L,height:D}=g.floating;let B,$;A==="top"||A==="bottom"?(B=A,$=C===(await(b.isRTL==null?void 0:b.isRTL(w.floating))?"start":"end")?"left":"right"):($=A,B=C==="end"?"top":"bottom");const P=D-_.top-_.bottom,j=L-_.left-_.right,z=dN(D-_[B],P),ee=dN(L-_[$],j),ne=!i.middlewareData.shift;let Q=z,ae=ee;if((s=i.middlewareData.shift)!=null&&s.enabled.x&&(ae=j),(c=i.middlewareData.shift)!=null&&c.enabled.y&&(Q=P),ne&&!C){const pe=Mm(_.left,0),ue=Mm(_.right,0),fe=Mm(_.top,0),K=Mm(_.bottom,0);O?ae=L-2*(pe!==0||ue!==0?pe+ue:Mm(_.left,_.right)):Q=D-2*(fe!==0||K!==0?fe+K:Mm(_.top,_.bottom))}await E({...i,availableWidth:ae,availableHeight:Q});const he=await b.getDimensions(w.floating);return L!==he.width||D!==he.height?{reset:{rects:!0}}:{}}}};function wae(){return typeof window<"u"}function BM(n){return Nqt(n)?(n.nodeName||"").toLowerCase():"#document"}function Um(n){var i;return(n==null||(i=n.ownerDocument)==null?void 0:i.defaultView)||window}function K2(n){var i;return(i=(Nqt(n)?n.ownerDocument:n.document)||window.document)==null?void 0:i.documentElement}function Nqt(n){return wae()?n instanceof Node||n instanceof Um(n).Node:!1}function Fv(n){return wae()?n instanceof Element||n instanceof Um(n).Element:!1}function V2(n){return wae()?n instanceof HTMLElement||n instanceof Um(n).HTMLElement:!1}function i8t(n){return!wae()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Um(n).ShadowRoot}const B$n=new Set(["inline","contents"]);function Mz(n){const{overflow:i,overflowX:s,overflowY:c,display:d}=$v(n);return/auto|scroll|overlay|hidden|clip/.test(i+c+s)&&!B$n.has(d)}const U$n=new Set(["table","td","th"]);function H$n(n){return U$n.has(BM(n))}const z$n=[":popover-open",":modal"];function yae(n){return z$n.some(i=>{try{return n.matches(i)}catch{return!1}})}const G$n=["transform","translate","scale","rotate","perspective"],q$n=["transform","translate","scale","rotate","perspective","filter"],V$n=["paint","layout","strict","content"];function nMe(n){const i=rMe(),s=Fv(n)?$v(n):n;return G$n.some(c=>s[c]?s[c]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!i&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!i&&(s.filter?s.filter!=="none":!1)||q$n.some(c=>(s.willChange||"").includes(c))||V$n.some(c=>(s.contain||"").includes(c))}function W$n(n){let i=fN(n);for(;V2(i)&&!kM(i);){if(nMe(i))return i;if(yae(i))return null;i=fN(i)}return null}function rMe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const K$n=new Set(["html","body","#document"]);function kM(n){return K$n.has(BM(n))}function $v(n){return Um(n).getComputedStyle(n)}function vae(n){return Fv(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function fN(n){if(BM(n)==="html")return n;const i=n.assignedSlot||n.parentNode||i8t(n)&&n.host||K2(n);return i8t(i)?i.host:i}function Cqt(n){const i=fN(n);return kM(i)?n.ownerDocument?n.ownerDocument.body:n.body:V2(i)&&Mz(i)?i:Cqt(i)}function oz(n,i,s){var c;i===void 0&&(i=[]),s===void 0&&(s=!0);const d=Cqt(n),g=d===((c=n.ownerDocument)==null?void 0:c.body),b=Um(d);if(g){const w=IDe(b);return i.concat(b,b.visualViewport||[],Mz(d)?d:[],w&&s?oz(w):[])}return i.concat(d,oz(d,[],s))}function IDe(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Iqt(n){const i=$v(n);let s=parseFloat(i.width)||0,c=parseFloat(i.height)||0;const d=V2(n),g=d?n.offsetWidth:s,b=d?n.offsetHeight:c,w=tse(s)!==g||tse(c)!==b;return w&&(s=g,c=b),{width:s,height:c,$:w}}function iMe(n){return Fv(n)?n:n.contextElement}function sM(n){const i=iMe(n);if(!V2(i))return $2(1);const s=i.getBoundingClientRect(),{width:c,height:d,$:g}=Iqt(i);let b=(g?tse(s.width):s.width)/c,w=(g?tse(s.height):s.height)/d;return(!b||!Number.isFinite(b))&&(b=1),(!w||!Number.isFinite(w))&&(w=1),{x:b,y:w}}const Y$n=$2(0);function Rqt(n){const i=Um(n);return!rMe()||!i.visualViewport?Y$n:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function J$n(n,i,s){return i===void 0&&(i=!1),!s||i&&s!==Um(n)?!1:i}function yR(n,i,s,c){i===void 0&&(i=!1),s===void 0&&(s=!1);const d=n.getBoundingClientRect(),g=iMe(n);let b=$2(1);i&&(c?Fv(c)&&(b=sM(c)):b=sM(n));const w=J$n(g,s,c)?Rqt(g):$2(0);let E=(d.left+w.x)/b.x,S=(d.top+w.y)/b.y,_=d.width/b.x,A=d.height/b.y;if(g){const C=Um(g),O=c&&Fv(c)?Um(c):c;let L=C,D=IDe(L);for(;D&&c&&O!==L;){const B=sM(D),$=D.getBoundingClientRect(),P=$v(D),j=$.left+(D.clientLeft+parseFloat(P.paddingLeft))*B.x,z=$.top+(D.clientTop+parseFloat(P.paddingTop))*B.y;E*=B.x,S*=B.y,_*=B.x,A*=B.y,E+=j,S+=z,L=Um(D),D=IDe(L)}}return rse({width:_,height:A,x:E,y:S})}function Eae(n,i){const s=vae(n).scrollLeft;return i?i.left+s:yR(K2(n)).left+s}function Oqt(n,i){const s=n.getBoundingClientRect(),c=s.left+i.scrollLeft-Eae(n,s),d=s.top+i.scrollTop;return{x:c,y:d}}function X$n(n){let{elements:i,rect:s,offsetParent:c,strategy:d}=n;const g=d==="fixed",b=K2(c),w=i?yae(i.floating):!1;if(c===b||w&&g)return s;let E={scrollLeft:0,scrollTop:0},S=$2(1);const _=$2(0),A=V2(c);if((A||!A&&!g)&&((BM(c)!=="body"||Mz(b))&&(E=vae(c)),V2(c))){const O=yR(c);S=sM(c),_.x=O.x+c.clientLeft,_.y=O.y+c.clientTop}const C=b&&!A&&!g?Oqt(b,E):$2(0);return{width:s.width*S.x,height:s.height*S.y,x:s.x*S.x-E.scrollLeft*S.x+_.x+C.x,y:s.y*S.y-E.scrollTop*S.y+_.y+C.y}}function Z$n(n){return Array.from(n.getClientRects())}function Q$n(n){const i=K2(n),s=vae(n),c=n.ownerDocument.body,d=Mm(i.scrollWidth,i.clientWidth,c.scrollWidth,c.clientWidth),g=Mm(i.scrollHeight,i.clientHeight,c.scrollHeight,c.clientHeight);let b=-s.scrollLeft+Eae(n);const w=-s.scrollTop;return $v(c).direction==="rtl"&&(b+=Mm(i.clientWidth,c.clientWidth)-d),{width:d,height:g,x:b,y:w}}const o8t=25;function eBn(n,i){const s=Um(n),c=K2(n),d=s.visualViewport;let g=c.clientWidth,b=c.clientHeight,w=0,E=0;if(d){g=d.width,b=d.height;const _=rMe();(!_||_&&i==="fixed")&&(w=d.offsetLeft,E=d.offsetTop)}const S=Eae(c);if(S<=0){const _=c.ownerDocument,A=_.body,C=getComputedStyle(A),O=_.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,L=Math.abs(c.clientWidth-A.clientWidth-O);L<=o8t&&(g-=L)}else S<=o8t&&(g+=S);return{width:g,height:b,x:w,y:E}}const tBn=new Set(["absolute","fixed"]);function nBn(n,i){const s=yR(n,!0,i==="fixed"),c=s.top+n.clientTop,d=s.left+n.clientLeft,g=V2(n)?sM(n):$2(1),b=n.clientWidth*g.x,w=n.clientHeight*g.y,E=d*g.x,S=c*g.y;return{width:b,height:w,x:E,y:S}}function s8t(n,i,s){let c;if(i==="viewport")c=eBn(n,s);else if(i==="document")c=Q$n(K2(n));else if(Fv(i))c=nBn(i,s);else{const d=Rqt(n);c={x:i.x-d.x,y:i.y-d.y,width:i.width,height:i.height}}return rse(c)}function Dqt(n,i){const s=fN(n);return s===i||!Fv(s)||kM(s)?!1:$v(s).position==="fixed"||Dqt(s,i)}function rBn(n,i){const s=i.get(n);if(s)return s;let c=oz(n,[],!1).filter(w=>Fv(w)&&BM(w)!=="body"),d=null;const g=$v(n).position==="fixed";let b=g?fN(n):n;for(;Fv(b)&&!kM(b);){const w=$v(b),E=nMe(b);!E&&w.position==="fixed"&&(d=null),(g?!E&&!d:!E&&w.position==="static"&&!!d&&tBn.has(d.position)||Mz(b)&&!E&&Dqt(n,b))?c=c.filter(_=>_!==b):d=w,b=fN(b)}return i.set(n,c),c}function iBn(n){let{element:i,boundary:s,rootBoundary:c,strategy:d}=n;const b=[...s==="clippingAncestors"?yae(i)?[]:rBn(i,this._c):[].concat(s),c],w=b[0],E=b.reduce((S,_)=>{const A=s8t(i,_,d);return S.top=Mm(A.top,S.top),S.right=dN(A.right,S.right),S.bottom=dN(A.bottom,S.bottom),S.left=Mm(A.left,S.left),S},s8t(i,w,d));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}}function oBn(n){const{width:i,height:s}=Iqt(n);return{width:i,height:s}}function sBn(n,i,s){const c=V2(i),d=K2(i),g=s==="fixed",b=yR(n,!0,g,i);let w={scrollLeft:0,scrollTop:0};const E=$2(0);function S(){E.x=Eae(d)}if(c||!c&&!g)if((BM(i)!=="body"||Mz(d))&&(w=vae(i)),c){const O=yR(i,!0,g,i);E.x=O.x+i.clientLeft,E.y=O.y+i.clientTop}else d&&S();g&&!c&&d&&S();const _=d&&!c&&!g?Oqt(d,w):$2(0),A=b.left+w.scrollLeft-E.x-_.x,C=b.top+w.scrollTop-E.y-_.y;return{x:A,y:C,width:b.width,height:b.height}}function sIe(n){return $v(n).position==="static"}function a8t(n,i){if(!V2(n)||$v(n).position==="fixed")return null;if(i)return i(n);let s=n.offsetParent;return K2(n)===s&&(s=s.ownerDocument.body),s}function Lqt(n,i){const s=Um(n);if(yae(n))return s;if(!V2(n)){let d=fN(n);for(;d&&!kM(d);){if(Fv(d)&&!sIe(d))return d;d=fN(d)}return s}let c=a8t(n,i);for(;c&&H$n(c)&&sIe(c);)c=a8t(c,i);return c&&kM(c)&&sIe(c)&&!nMe(c)?s:c||W$n(n)||s}const aBn=async function(n){const i=this.getOffsetParent||Lqt,s=this.getDimensions,c=await s(n.floating);return{reference:sBn(n.reference,await i(n.floating),n.strategy),floating:{x:0,y:0,width:c.width,height:c.height}}};function cBn(n){return $v(n).direction==="rtl"}const uBn={convertOffsetParentRelativeRectToViewportRelativeRect:X$n,getDocumentElement:K2,getClippingRect:iBn,getOffsetParent:Lqt,getElementRects:aBn,getClientRects:Z$n,getDimensions:oBn,getScale:sM,isElement:Fv,isRTL:cBn};function Mqt(n,i){return n.x===i.x&&n.y===i.y&&n.width===i.width&&n.height===i.height}function lBn(n,i){let s=null,c;const d=K2(n);function g(){var w;clearTimeout(c),(w=s)==null||w.disconnect(),s=null}function b(w,E){w===void 0&&(w=!1),E===void 0&&(E=1),g();const S=n.getBoundingClientRect(),{left:_,top:A,width:C,height:O}=S;if(w||i(),!C||!O)return;const L=Cie(A),D=Cie(d.clientWidth-(_+C)),B=Cie(d.clientHeight-(A+O)),$=Cie(_),j={rootMargin:-L+"px "+-D+"px "+-B+"px "+-$+"px",threshold:Mm(0,dN(1,E))||1};let z=!0;function ee(ne){const Q=ne[0].intersectionRatio;if(Q!==E){if(!z)return b();Q?b(!1,Q):c=setTimeout(()=>{b(!1,1e-7)},1e3)}Q===1&&!Mqt(S,n.getBoundingClientRect())&&b(),z=!1}try{s=new IntersectionObserver(ee,{...j,root:d.ownerDocument})}catch{s=new IntersectionObserver(ee,j)}s.observe(n)}return b(!0),g}function dBn(n,i,s,c){c===void 0&&(c={});const{ancestorScroll:d=!0,ancestorResize:g=!0,elementResize:b=typeof ResizeObserver=="function",layoutShift:w=typeof IntersectionObserver=="function",animationFrame:E=!1}=c,S=iMe(n),_=d||g?[...S?oz(S):[],...oz(i)]:[];_.forEach($=>{d&&$.addEventListener("scroll",s,{passive:!0}),g&&$.addEventListener("resize",s)});const A=S&&w?lBn(S,s):null;let C=-1,O=null;b&&(O=new ResizeObserver($=>{let[P]=$;P&&P.target===S&&O&&(O.unobserve(i),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var j;(j=O)==null||j.observe(i)})),s()}),S&&!E&&O.observe(S),O.observe(i));let L,D=E?yR(n):null;E&&B();function B(){const $=yR(n);D&&!Mqt(D,$)&&s(),D=$,L=requestAnimationFrame(B)}return s(),()=>{var $;_.forEach(P=>{d&&P.removeEventListener("scroll",s),g&&P.removeEventListener("resize",s)}),A==null||A(),($=O)==null||$.disconnect(),O=null,E&&cancelAnimationFrame(L)}}const fBn=P$n,hBn=j$n,pBn=D$n,gBn=$$n,bBn=L$n,c8t=O$n,mBn=F$n,wBn=(n,i,s)=>{const c=new Map,d={platform:uBn,...s},g={...d.platform,_c:c};return R$n(n,i,{...d,platform:g})};var yBn=typeof document<"u",vBn=function(){},coe=yBn?H.useLayoutEffect:vBn;function ise(n,i){if(n===i)return!0;if(typeof n!=typeof i)return!1;if(typeof n=="function"&&n.toString()===i.toString())return!0;let s,c,d;if(n&&i&&typeof n=="object"){if(Array.isArray(n)){if(s=n.length,s!==i.length)return!1;for(c=s;c--!==0;)if(!ise(n[c],i[c]))return!1;return!0}if(d=Object.keys(n),s=d.length,s!==Object.keys(i).length)return!1;for(c=s;c--!==0;)if(!{}.hasOwnProperty.call(i,d[c]))return!1;for(c=s;c--!==0;){const g=d[c];if(!(g==="_owner"&&n.$$typeof)&&!ise(n[g],i[g]))return!1}return!0}return n!==n&&i!==i}function Pqt(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function u8t(n,i){const s=Pqt(n);return Math.round(i*s)/s}function aIe(n){const i=H.useRef(n);return coe(()=>{i.current=n}),i}function EBn(n){n===void 0&&(n={});const{placement:i="bottom",strategy:s="absolute",middleware:c=[],platform:d,elements:{reference:g,floating:b}={},transform:w=!0,whileElementsMounted:E,open:S}=n,[_,A]=H.useState({x:0,y:0,strategy:s,placement:i,middlewareData:{},isPositioned:!1}),[C,O]=H.useState(c);ise(C,c)||O(c);const[L,D]=H.useState(null),[B,$]=H.useState(null),P=H.useCallback(Ae=>{Ae!==ne.current&&(ne.current=Ae,D(Ae))},[]),j=H.useCallback(Ae=>{Ae!==Q.current&&(Q.current=Ae,$(Ae))},[]),z=g||L,ee=b||B,ne=H.useRef(null),Q=H.useRef(null),ae=H.useRef(_),he=E!=null,pe=aIe(E),ue=aIe(d),fe=aIe(S),K=H.useCallback(()=>{if(!ne.current||!Q.current)return;const Ae={placement:i,strategy:s,middleware:C};ue.current&&(Ae.platform=ue.current),wBn(ne.current,Q.current,Ae).then(xe=>{const We={...xe,isPositioned:fe.current!==!1};ge.current&&!ise(ae.current,We)&&(ae.current=We,xR.flushSync(()=>{A(We)}))})},[C,i,s,ue,fe]);coe(()=>{S===!1&&ae.current.isPositioned&&(ae.current.isPositioned=!1,A(Ae=>({...Ae,isPositioned:!1})))},[S]);const ge=H.useRef(!1);coe(()=>(ge.current=!0,()=>{ge.current=!1}),[]),coe(()=>{if(z&&(ne.current=z),ee&&(Q.current=ee),z&&ee){if(pe.current)return pe.current(z,ee,K);K()}},[z,ee,K,pe,he]);const De=H.useMemo(()=>({reference:ne,floating:Q,setReference:P,setFloating:j}),[P,j]),Se=H.useMemo(()=>({reference:z,floating:ee}),[z,ee]),Re=H.useMemo(()=>{const Ae={position:s,left:0,top:0};if(!Se.floating)return Ae;const xe=u8t(Se.floating,_.x),We=u8t(Se.floating,_.y);return w?{...Ae,transform:"translate("+xe+"px, "+We+"px)",...Pqt(Se.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:xe,top:We}},[s,w,Se.floating,_.x,_.y]);return H.useMemo(()=>({..._,update:K,refs:De,elements:Se,floatingStyles:Re}),[_,K,De,Se,Re])}const SBn=n=>{function i(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:n,fn(s){const{element:c,padding:d}=typeof n=="function"?n(s):n;return c&&i(c)?c.current!=null?c8t({element:c.current,padding:d}).fn(s):{}:c?c8t({element:c,padding:d}).fn(s):{}}}},TBn=(n,i)=>({...fBn(n),options:[n,i]}),ABn=(n,i)=>({...hBn(n),options:[n,i]}),_Bn=(n,i)=>({...mBn(n),options:[n,i]}),xBn=(n,i)=>({...pBn(n),options:[n,i]}),kBn=(n,i)=>({...gBn(n),options:[n,i]}),NBn=(n,i)=>({...bBn(n),options:[n,i]}),CBn=(n,i)=>({...SBn(n),options:[n,i]});var IBn="Arrow",jqt=H.forwardRef((n,i)=>{const{children:s,width:c=10,height:d=5,...g}=n;return I.jsx(no.svg,{...g,ref:i,width:c,height:d,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?s:I.jsx("polygon",{points:"0,0 30,0 15,10"})})});jqt.displayName=IBn;var RBn=jqt;function Sae(n){const[i,s]=H.useState(void 0);return Up(()=>{if(n){s({width:n.offsetWidth,height:n.offsetHeight});const c=new ResizeObserver(d=>{if(!Array.isArray(d)||!d.length)return;const g=d[0];let b,w;if("borderBoxSize"in g){const E=g.borderBoxSize,S=Array.isArray(E)?E[0]:E;b=S.inlineSize,w=S.blockSize}else b=n.offsetWidth,w=n.offsetHeight;s({width:b,height:w})});return c.observe(n,{box:"border-box"}),()=>c.unobserve(n)}else s(void 0)},[n]),i}var oMe="Popper",[Fqt,UM]=Nw(oMe),[OBn,$qt]=Fqt(oMe),Bqt=n=>{const{__scopePopper:i,children:s}=n,[c,d]=H.useState(null);return I.jsx(OBn,{scope:i,anchor:c,onAnchorChange:d,children:s})};Bqt.displayName=oMe;var Uqt="PopperAnchor",Hqt=H.forwardRef((n,i)=>{const{__scopePopper:s,virtualRef:c,...d}=n,g=$qt(Uqt,s),b=H.useRef(null),w=ps(i,b),E=H.useRef(null);return H.useEffect(()=>{const S=E.current;E.current=(c==null?void 0:c.current)||b.current,S!==E.current&&g.onAnchorChange(E.current)}),c?null:I.jsx(no.div,{...d,ref:w})});Hqt.displayName=Uqt;var sMe="PopperContent",[DBn,LBn]=Fqt(sMe),zqt=H.forwardRef((n,i)=>{var Et,Dt,Yt,Ln,Zn,Yn;const{__scopePopper:s,side:c="bottom",sideOffset:d=0,align:g="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:E=!0,collisionBoundary:S=[],collisionPadding:_=0,sticky:A="partial",hideWhenDetached:C=!1,updatePositionStrategy:O="optimized",onPlaced:L,...D}=n,B=$qt(sMe,s),[$,P]=H.useState(null),j=ps(i,Er=>P(Er)),[z,ee]=H.useState(null),ne=Sae(z),Q=(ne==null?void 0:ne.width)??0,ae=(ne==null?void 0:ne.height)??0,he=c+(g!=="center"?"-"+g:""),pe=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},ue=Array.isArray(S)?S:[S],fe=ue.length>0,K={padding:pe,boundary:ue.filter(PBn),altBoundary:fe},{refs:ge,floatingStyles:De,placement:Se,isPositioned:Re,middlewareData:Ae}=EBn({strategy:"fixed",placement:he,whileElementsMounted:(...Er)=>dBn(...Er,{animationFrame:O==="always"}),elements:{reference:B.anchor},middleware:[TBn({mainAxis:d+ae,alignmentAxis:b}),E&&ABn({mainAxis:!0,crossAxis:!1,limiter:A==="partial"?_Bn():void 0,...K}),E&&xBn({...K}),kBn({...K,apply:({elements:Er,rects:Ui,availableWidth:Qr,availableHeight:Hi})=>{const{width:ai,height:ju}=Ui.reference,Xs=Er.floating.style;Xs.setProperty("--radix-popper-available-width",`${Qr}px`),Xs.setProperty("--radix-popper-available-height",`${Hi}px`),Xs.setProperty("--radix-popper-anchor-width",`${ai}px`),Xs.setProperty("--radix-popper-anchor-height",`${ju}px`)}}),z&&CBn({element:z,padding:w}),jBn({arrowWidth:Q,arrowHeight:ae}),C&&NBn({strategy:"referenceHidden",...K})]}),[xe,We]=Vqt(Se),ut=q2(L);Up(()=>{Re&&(ut==null||ut())},[Re,ut]);const Be=(Et=Ae.arrow)==null?void 0:Et.x,bt=(Dt=Ae.arrow)==null?void 0:Dt.y,Nt=((Yt=Ae.arrow)==null?void 0:Yt.centerOffset)!==0,[pt,Kt]=H.useState();return Up(()=>{$&&Kt(window.getComputedStyle($).zIndex)},[$]),I.jsx("div",{ref:ge.setFloating,"data-radix-popper-content-wrapper":"",style:{...De,transform:Re?De.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pt,"--radix-popper-transform-origin":[(Ln=Ae.transformOrigin)==null?void 0:Ln.x,(Zn=Ae.transformOrigin)==null?void 0:Zn.y].join(" "),...((Yn=Ae.hide)==null?void 0:Yn.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:I.jsx(DBn,{scope:s,placedSide:xe,onArrowChange:ee,arrowX:Be,arrowY:bt,shouldHideArrow:Nt,children:I.jsx(no.div,{"data-side":xe,"data-align":We,...D,ref:j,style:{...D.style,animation:Re?void 0:"none"}})})})});zqt.displayName=sMe;var Gqt="PopperArrow",MBn={top:"bottom",right:"left",bottom:"top",left:"right"},qqt=H.forwardRef(function(i,s){const{__scopePopper:c,...d}=i,g=LBn(Gqt,c),b=MBn[g.placedSide];return I.jsx("span",{ref:g.onArrowChange,style:{position:"absolute",left:g.arrowX,top:g.arrowY,[b]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[g.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[g.placedSide],visibility:g.shouldHideArrow?"hidden":void 0},children:I.jsx(RBn,{...d,ref:s,style:{...d.style,display:"block"}})})});qqt.displayName=Gqt;function PBn(n){return n!==null}var jBn=n=>({name:"transformOrigin",options:n,fn(i){var B,$,P;const{placement:s,rects:c,middlewareData:d}=i,b=((B=d.arrow)==null?void 0:B.centerOffset)!==0,w=b?0:n.arrowWidth,E=b?0:n.arrowHeight,[S,_]=Vqt(s),A={start:"0%",center:"50%",end:"100%"}[_],C=((($=d.arrow)==null?void 0:$.x)??0)+w/2,O=(((P=d.arrow)==null?void 0:P.y)??0)+E/2;let L="",D="";return S==="bottom"?(L=b?A:`${C}px`,D=`${-E}px`):S==="top"?(L=b?A:`${C}px`,D=`${c.floating.height+E}px`):S==="right"?(L=`${-E}px`,D=b?A:`${O}px`):S==="left"&&(L=`${c.floating.width+E}px`,D=b?A:`${O}px`),{data:{x:L,y:D}}}});function Vqt(n){const[i,s="center"]=n.split("-");return[i,s]}var aMe=Bqt,Tae=Hqt,cMe=zqt,uMe=qqt;function FBn(n){const i=$Bn(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(UBn);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function $Bn(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=zBn(d),w=HBn(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var BBn=Symbol("radix.slottable");function UBn(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===BBn}function HBn(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function zBn(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var Aae="Popover",[Wqt]=Nw(Aae,[UM]),Pz=UM(),[GBn,EN]=Wqt(Aae),Kqt=n=>{const{__scopePopover:i,children:s,open:c,defaultOpen:d,onOpenChange:g,modal:b=!1}=n,w=Pz(i),E=H.useRef(null),[S,_]=H.useState(!1),[A,C]=G2({prop:c,defaultProp:d??!1,onChange:g,caller:Aae});return I.jsx(aMe,{...w,children:I.jsx(GBn,{scope:i,contentId:Bh(),triggerRef:E,open:A,onOpenChange:C,onOpenToggle:H.useCallback(()=>C(O=>!O),[C]),hasCustomAnchor:S,onCustomAnchorAdd:H.useCallback(()=>_(!0),[]),onCustomAnchorRemove:H.useCallback(()=>_(!1),[]),modal:b,children:s})})};Kqt.displayName=Aae;var Yqt="PopoverAnchor",Jqt=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=EN(Yqt,s),g=Pz(s),{onCustomAnchorAdd:b,onCustomAnchorRemove:w}=d;return H.useEffect(()=>(b(),()=>w()),[b,w]),I.jsx(Tae,{...g,...c,ref:i})});Jqt.displayName=Yqt;var Xqt="PopoverTrigger",Zqt=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=EN(Xqt,s),g=Pz(s),b=ps(i,d.triggerRef),w=I.jsx(no.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":rVt(d.open),...c,ref:b,onClick:Dr(n.onClick,d.onOpenToggle)});return d.hasCustomAnchor?w:I.jsx(Tae,{asChild:!0,...g,children:w})});Zqt.displayName=Xqt;var lMe="PopoverPortal",[qBn,VBn]=Wqt(lMe,{forceMount:void 0}),Qqt=n=>{const{__scopePopover:i,forceMount:s,children:c,container:d}=n,g=EN(lMe,i);return I.jsx(qBn,{scope:i,forceMount:s,children:I.jsx(Cw,{present:s||g.open,children:I.jsx(Oz,{asChild:!0,container:d,children:c})})})};Qqt.displayName=lMe;var NM="PopoverContent",eVt=H.forwardRef((n,i)=>{const s=VBn(NM,n.__scopePopover),{forceMount:c=s.forceMount,...d}=n,g=EN(NM,n.__scopePopover);return I.jsx(Cw,{present:c||g.open,children:g.modal?I.jsx(KBn,{...d,ref:i}):I.jsx(YBn,{...d,ref:i})})});eVt.displayName=NM;var WBn=FBn("PopoverContent.RemoveScroll"),KBn=H.forwardRef((n,i)=>{const s=EN(NM,n.__scopePopover),c=H.useRef(null),d=ps(i,c),g=H.useRef(!1);return H.useEffect(()=>{const b=c.current;if(b)return lae(b)},[]),I.jsx(Dz,{as:WBn,allowPinchZoom:!0,children:I.jsx(tVt,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dr(n.onCloseAutoFocus,b=>{var w;b.preventDefault(),g.current||(w=s.triggerRef.current)==null||w.focus()}),onPointerDownOutside:Dr(n.onPointerDownOutside,b=>{const w=b.detail.originalEvent,E=w.button===0&&w.ctrlKey===!0,S=w.button===2||E;g.current=S},{checkForDefaultPrevented:!1}),onFocusOutside:Dr(n.onFocusOutside,b=>b.preventDefault(),{checkForDefaultPrevented:!1})})})}),YBn=H.forwardRef((n,i)=>{const s=EN(NM,n.__scopePopover),c=H.useRef(!1),d=H.useRef(!1);return I.jsx(tVt,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:g=>{var b,w;(b=n.onCloseAutoFocus)==null||b.call(n,g),g.defaultPrevented||(c.current||(w=s.triggerRef.current)==null||w.focus(),g.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:g=>{var E,S;(E=n.onInteractOutside)==null||E.call(n,g),g.defaultPrevented||(c.current=!0,g.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const b=g.target;((S=s.triggerRef.current)==null?void 0:S.contains(b))&&g.preventDefault(),g.detail.originalEvent.type==="focusin"&&d.current&&g.preventDefault()}})}),tVt=H.forwardRef((n,i)=>{const{__scopePopover:s,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:g,disableOutsidePointerEvents:b,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onInteractOutside:_,...A}=n,C=EN(NM,s),O=Pz(s);return cae(),I.jsx(Rz,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:g,children:I.jsx(Iz,{asChild:!0,disableOutsidePointerEvents:b,onInteractOutside:_,onEscapeKeyDown:w,onPointerDownOutside:E,onFocusOutside:S,onDismiss:()=>C.onOpenChange(!1),children:I.jsx(cMe,{"data-state":rVt(C.open),role:"dialog",id:C.contentId,...O,...A,ref:i,style:{...A.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),nVt="PopoverClose",JBn=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=EN(nVt,s);return I.jsx(no.button,{type:"button",...c,ref:i,onClick:Dr(n.onClick,()=>d.onOpenChange(!1))})});JBn.displayName=nVt;var XBn="PopoverArrow",ZBn=H.forwardRef((n,i)=>{const{__scopePopover:s,...c}=n,d=Pz(s);return I.jsx(uMe,{...d,...c,ref:i})});ZBn.displayName=XBn;function rVt(n){return n?"open":"closed"}var QBn=Kqt,eUn=Jqt,tUn=Zqt,nUn=Qqt,iVt=eVt;const dMe=QBn,oVt=tUn,rUn=eUn,_ae=H.forwardRef(({className:n,align:i="center",sideOffset:s=4,container:c,...d},g)=>I.jsx(nUn,{container:c,children:I.jsx(iVt,{ref:g,align:i,sideOffset:s,className:nr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",n),...d})}));_ae.displayName=iVt.displayName;function SA(n){return Array.isArray?Array.isArray(n):cVt(n)==="[object Array]"}function iUn(n){if(typeof n=="string")return n;let i=n+"";return i=="0"&&1/n==-1/0?"-0":i}function oUn(n){return n==null?"":iUn(n)}function M2(n){return typeof n=="string"}function sVt(n){return typeof n=="number"}function sUn(n){return n===!0||n===!1||aUn(n)&&cVt(n)=="[object Boolean]"}function aVt(n){return typeof n=="object"}function aUn(n){return aVt(n)&&n!==null}function Pm(n){return n!=null}function cIe(n){return!n.trim().length}function cVt(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const cUn="Incorrect 'index' type",uUn=n=>`Invalid value for key ${n}`,lUn=n=>`Pattern length exceeds max of ${n}.`,dUn=n=>`Missing ${n} property in key`,fUn=n=>`Property 'weight' in key '${n}' must be a positive integer`,l8t=Object.prototype.hasOwnProperty;class hUn{constructor(i){this._keys=[],this._keyMap={};let s=0;i.forEach(c=>{let d=uVt(c);this._keys.push(d),this._keyMap[d.id]=d,s+=d.weight}),this._keys.forEach(c=>{c.weight/=s})}get(i){return this._keyMap[i]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function uVt(n){let i=null,s=null,c=null,d=1,g=null;if(M2(n)||SA(n))c=n,i=d8t(n),s=RDe(n);else{if(!l8t.call(n,"name"))throw new Error(dUn("name"));const b=n.name;if(c=b,l8t.call(n,"weight")&&(d=n.weight,d<=0))throw new Error(fUn(b));i=d8t(b),s=RDe(b),g=n.getFn}return{path:i,id:s,weight:d,src:c,getFn:g}}function d8t(n){return SA(n)?n:n.split(".")}function RDe(n){return SA(n)?n.join("."):n}function pUn(n,i){let s=[],c=!1;const d=(g,b,w)=>{if(Pm(g))if(!b[w])s.push(g);else{let E=b[w];const S=g[E];if(!Pm(S))return;if(w===b.length-1&&(M2(S)||sVt(S)||sUn(S)))s.push(oUn(S));else if(SA(S)){c=!0;for(let _=0,A=S.length;_<A;_+=1)d(S[_],b,w+1)}else b.length&&d(S,b,w+1)}};return d(n,M2(i)?i.split("."):i,0),c?s:s[0]}const gUn={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},bUn={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(n,i)=>n.score===i.score?n.idx<i.idx?-1:1:n.score<i.score?-1:1},mUn={location:0,threshold:.6,distance:100},wUn={useExtendedSearch:!1,getFn:pUn,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var co={...bUn,...gUn,...mUn,...wUn};const yUn=/[^ ]+/g;function vUn(n=1,i=3){const s=new Map,c=Math.pow(10,i);return{get(d){const g=d.match(yUn).length;if(s.has(g))return s.get(g);const b=1/Math.pow(g,.5*n),w=parseFloat(Math.round(b*c)/c);return s.set(g,w),w},clear(){s.clear()}}}class fMe{constructor({getFn:i=co.getFn,fieldNormWeight:s=co.fieldNormWeight}={}){this.norm=vUn(s,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}setSources(i=[]){this.docs=i}setIndexRecords(i=[]){this.records=i}setKeys(i=[]){this.keys=i,this._keysMap={},i.forEach((s,c)=>{this._keysMap[s.id]=c})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,M2(this.docs[0])?this.docs.forEach((i,s)=>{this._addString(i,s)}):this.docs.forEach((i,s)=>{this._addObject(i,s)}),this.norm.clear())}add(i){const s=this.size();M2(i)?this._addString(i,s):this._addObject(i,s)}removeAt(i){this.records.splice(i,1);for(let s=i,c=this.size();s<c;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(i,s){return i[this._keysMap[s]]}size(){return this.records.length}_addString(i,s){if(!Pm(i)||cIe(i))return;let c={v:i,i:s,n:this.norm.get(i)};this.records.push(c)}_addObject(i,s){let c={i:s,$:{}};this.keys.forEach((d,g)=>{let b=d.getFn?d.getFn(i):this.getFn(i,d.path);if(Pm(b)){if(SA(b)){let w=[];const E=[{nestedArrIndex:-1,value:b}];for(;E.length;){const{nestedArrIndex:S,value:_}=E.pop();if(Pm(_))if(M2(_)&&!cIe(_)){let A={v:_,i:S,n:this.norm.get(_)};w.push(A)}else SA(_)&&_.forEach((A,C)=>{E.push({nestedArrIndex:C,value:A})})}c.$[g]=w}else if(M2(b)&&!cIe(b)){let w={v:b,n:this.norm.get(b)};c.$[g]=w}}}),this.records.push(c)}toJSON(){return{keys:this.keys,records:this.records}}}function lVt(n,i,{getFn:s=co.getFn,fieldNormWeight:c=co.fieldNormWeight}={}){const d=new fMe({getFn:s,fieldNormWeight:c});return d.setKeys(n.map(uVt)),d.setSources(i),d.create(),d}function EUn(n,{getFn:i=co.getFn,fieldNormWeight:s=co.fieldNormWeight}={}){const{keys:c,records:d}=n,g=new fMe({getFn:i,fieldNormWeight:s});return g.setKeys(c),g.setIndexRecords(d),g}function Iie(n,{errors:i=0,currentLocation:s=0,expectedLocation:c=0,distance:d=co.distance,ignoreLocation:g=co.ignoreLocation}={}){const b=i/n.length;if(g)return b;const w=Math.abs(c-s);return d?b+w/d:w?1:b}function SUn(n=[],i=co.minMatchCharLength){let s=[],c=-1,d=-1,g=0;for(let b=n.length;g<b;g+=1){let w=n[g];w&&c===-1?c=g:!w&&c!==-1&&(d=g-1,d-c+1>=i&&s.push([c,d]),c=-1)}return n[g-1]&&g-c>=i&&s.push([c,g-1]),s}const K4=32;function TUn(n,i,s,{location:c=co.location,distance:d=co.distance,threshold:g=co.threshold,findAllMatches:b=co.findAllMatches,minMatchCharLength:w=co.minMatchCharLength,includeMatches:E=co.includeMatches,ignoreLocation:S=co.ignoreLocation}={}){if(i.length>K4)throw new Error(lUn(K4));const _=i.length,A=n.length,C=Math.max(0,Math.min(c,A));let O=g,L=C;const D=w>1||E,B=D?Array(A):[];let $;for(;($=n.indexOf(i,L))>-1;){let Q=Iie(i,{currentLocation:$,expectedLocation:C,distance:d,ignoreLocation:S});if(O=Math.min(Q,O),L=$+_,D){let ae=0;for(;ae<_;)B[$+ae]=1,ae+=1}}L=-1;let P=[],j=1,z=_+A;const ee=1<<_-1;for(let Q=0;Q<_;Q+=1){let ae=0,he=z;for(;ae<he;)Iie(i,{errors:Q,currentLocation:C+he,expectedLocation:C,distance:d,ignoreLocation:S})<=O?ae=he:z=he,he=Math.floor((z-ae)/2+ae);z=he;let pe=Math.max(1,C-he+1),ue=b?A:Math.min(C+he,A)+_,fe=Array(ue+2);fe[ue+1]=(1<<Q)-1;for(let ge=ue;ge>=pe;ge-=1){let De=ge-1,Se=s[n.charAt(De)];if(D&&(B[De]=+!!Se),fe[ge]=(fe[ge+1]<<1|1)&Se,Q&&(fe[ge]|=(P[ge+1]|P[ge])<<1|1|P[ge+1]),fe[ge]&ee&&(j=Iie(i,{errors:Q,currentLocation:De,expectedLocation:C,distance:d,ignoreLocation:S}),j<=O)){if(O=j,L=De,L<=C)break;pe=Math.max(1,2*C-L)}}if(Iie(i,{errors:Q+1,currentLocation:C,expectedLocation:C,distance:d,ignoreLocation:S})>O)break;P=fe}const ne={isMatch:L>=0,score:Math.max(.001,j)};if(D){const Q=SUn(B,w);Q.length?E&&(ne.indices=Q):ne.isMatch=!1}return ne}function AUn(n){let i={};for(let s=0,c=n.length;s<c;s+=1){const d=n.charAt(s);i[d]=(i[d]||0)|1<<c-s-1}return i}const ose=String.prototype.normalize?n=>n.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):n=>n;class dVt{constructor(i,{location:s=co.location,threshold:c=co.threshold,distance:d=co.distance,includeMatches:g=co.includeMatches,findAllMatches:b=co.findAllMatches,minMatchCharLength:w=co.minMatchCharLength,isCaseSensitive:E=co.isCaseSensitive,ignoreDiacritics:S=co.ignoreDiacritics,ignoreLocation:_=co.ignoreLocation}={}){if(this.options={location:s,threshold:c,distance:d,includeMatches:g,findAllMatches:b,minMatchCharLength:w,isCaseSensitive:E,ignoreDiacritics:S,ignoreLocation:_},i=E?i:i.toLowerCase(),i=S?ose(i):i,this.pattern=i,this.chunks=[],!this.pattern.length)return;const A=(O,L)=>{this.chunks.push({pattern:O,alphabet:AUn(O),startIndex:L})},C=this.pattern.length;if(C>K4){let O=0;const L=C%K4,D=C-L;for(;O<D;)A(this.pattern.substr(O,K4),O),O+=K4;if(L){const B=C-K4;A(this.pattern.substr(B),B)}}else A(this.pattern,0)}searchIn(i){const{isCaseSensitive:s,ignoreDiacritics:c,includeMatches:d}=this.options;if(i=s?i:i.toLowerCase(),i=c?ose(i):i,this.pattern===i){let D={isMatch:!0,score:0};return d&&(D.indices=[[0,i.length-1]]),D}const{location:g,distance:b,threshold:w,findAllMatches:E,minMatchCharLength:S,ignoreLocation:_}=this.options;let A=[],C=0,O=!1;this.chunks.forEach(({pattern:D,alphabet:B,startIndex:$})=>{const{isMatch:P,score:j,indices:z}=TUn(i,D,B,{location:g+$,distance:b,threshold:w,findAllMatches:E,minMatchCharLength:S,includeMatches:d,ignoreLocation:_});P&&(O=!0),C+=j,P&&z&&(A=[...A,...z])});let L={isMatch:O,score:O?C/this.chunks.length:1};return O&&d&&(L.indices=A),L}}class SN{constructor(i){this.pattern=i}static isMultiMatch(i){return f8t(i,this.multiRegex)}static isSingleMatch(i){return f8t(i,this.singleRegex)}search(){}}function f8t(n,i){const s=n.match(i);return s?s[1]:null}class _Un extends SN{constructor(i){super(i)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(i){const s=i===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class xUn extends SN{constructor(i){super(i)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(i){const c=i.indexOf(this.pattern)===-1;return{isMatch:c,score:c?0:1,indices:[0,i.length-1]}}}class kUn extends SN{constructor(i){super(i)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(i){const s=i.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class NUn extends SN{constructor(i){super(i)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(i){const s=!i.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,i.length-1]}}}class CUn extends SN{constructor(i){super(i)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(i){const s=i.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[i.length-this.pattern.length,i.length-1]}}}class IUn extends SN{constructor(i){super(i)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(i){const s=!i.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,i.length-1]}}}class fVt extends SN{constructor(i,{location:s=co.location,threshold:c=co.threshold,distance:d=co.distance,includeMatches:g=co.includeMatches,findAllMatches:b=co.findAllMatches,minMatchCharLength:w=co.minMatchCharLength,isCaseSensitive:E=co.isCaseSensitive,ignoreDiacritics:S=co.ignoreDiacritics,ignoreLocation:_=co.ignoreLocation}={}){super(i),this._bitapSearch=new dVt(i,{location:s,threshold:c,distance:d,includeMatches:g,findAllMatches:b,minMatchCharLength:w,isCaseSensitive:E,ignoreDiacritics:S,ignoreLocation:_})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(i){return this._bitapSearch.searchIn(i)}}class hVt extends SN{constructor(i){super(i)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(i){let s=0,c;const d=[],g=this.pattern.length;for(;(c=i.indexOf(this.pattern,s))>-1;)s=c+g,d.push([c,s-1]);const b=!!d.length;return{isMatch:b,score:b?0:1,indices:d}}}const ODe=[_Un,hVt,kUn,NUn,IUn,CUn,xUn,fVt],h8t=ODe.length,RUn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,OUn="|";function DUn(n,i={}){return n.split(OUn).map(s=>{let c=s.trim().split(RUn).filter(g=>g&&!!g.trim()),d=[];for(let g=0,b=c.length;g<b;g+=1){const w=c[g];let E=!1,S=-1;for(;!E&&++S<h8t;){const _=ODe[S];let A=_.isMultiMatch(w);A&&(d.push(new _(A,i)),E=!0)}if(!E)for(S=-1;++S<h8t;){const _=ODe[S];let A=_.isSingleMatch(w);if(A){d.push(new _(A,i));break}}}return d})}const LUn=new Set([fVt.type,hVt.type]);class MUn{constructor(i,{isCaseSensitive:s=co.isCaseSensitive,ignoreDiacritics:c=co.ignoreDiacritics,includeMatches:d=co.includeMatches,minMatchCharLength:g=co.minMatchCharLength,ignoreLocation:b=co.ignoreLocation,findAllMatches:w=co.findAllMatches,location:E=co.location,threshold:S=co.threshold,distance:_=co.distance}={}){this.query=null,this.options={isCaseSensitive:s,ignoreDiacritics:c,includeMatches:d,minMatchCharLength:g,findAllMatches:w,ignoreLocation:b,location:E,threshold:S,distance:_},i=s?i:i.toLowerCase(),i=c?ose(i):i,this.pattern=i,this.query=DUn(this.pattern,this.options)}static condition(i,s){return s.useExtendedSearch}searchIn(i){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:c,isCaseSensitive:d,ignoreDiacritics:g}=this.options;i=d?i:i.toLowerCase(),i=g?ose(i):i;let b=0,w=[],E=0;for(let S=0,_=s.length;S<_;S+=1){const A=s[S];w.length=0,b=0;for(let C=0,O=A.length;C<O;C+=1){const L=A[C],{isMatch:D,indices:B,score:$}=L.search(i);if(D){if(b+=1,E+=$,c){const P=L.constructor.type;LUn.has(P)?w=[...w,...B]:w.push(B)}}else{E=0,b=0,w.length=0;break}}if(b){let C={isMatch:!0,score:E/b};return c&&(C.indices=w),C}}return{isMatch:!1,score:1}}}const DDe=[];function PUn(...n){DDe.push(...n)}function LDe(n,i){for(let s=0,c=DDe.length;s<c;s+=1){let d=DDe[s];if(d.condition(n,i))return new d(n,i)}return new dVt(n,i)}const sse={AND:"$and",OR:"$or"},MDe={PATH:"$path",PATTERN:"$val"},PDe=n=>!!(n[sse.AND]||n[sse.OR]),jUn=n=>!!n[MDe.PATH],FUn=n=>!SA(n)&&aVt(n)&&!PDe(n),p8t=n=>({[sse.AND]:Object.keys(n).map(i=>({[i]:n[i]}))});function pVt(n,i,{auto:s=!0}={}){const c=d=>{let g=Object.keys(d);const b=jUn(d);if(!b&&g.length>1&&!PDe(d))return c(p8t(d));if(FUn(d)){const E=b?d[MDe.PATH]:g[0],S=b?d[MDe.PATTERN]:d[E];if(!M2(S))throw new Error(uUn(E));const _={keyId:RDe(E),pattern:S};return s&&(_.searcher=LDe(S,i)),_}let w={children:[],operator:g[0]};return g.forEach(E=>{const S=d[E];SA(S)&&S.forEach(_=>{w.children.push(c(_))})}),w};return PDe(n)||(n=p8t(n)),c(n)}function $Un(n,{ignoreFieldNorm:i=co.ignoreFieldNorm}){n.forEach(s=>{let c=1;s.matches.forEach(({key:d,norm:g,score:b})=>{const w=d?d.weight:null;c*=Math.pow(b===0&&w?Number.EPSILON:b,(w||1)*(i?1:g))}),s.score=c})}function BUn(n,i){const s=n.matches;i.matches=[],Pm(s)&&s.forEach(c=>{if(!Pm(c.indices)||!c.indices.length)return;const{indices:d,value:g}=c;let b={indices:d,value:g};c.key&&(b.key=c.key.src),c.idx>-1&&(b.refIndex=c.idx),i.matches.push(b)})}function UUn(n,i){i.score=n.score}function HUn(n,i,{includeMatches:s=co.includeMatches,includeScore:c=co.includeScore}={}){const d=[];return s&&d.push(BUn),c&&d.push(UUn),n.map(g=>{const{idx:b}=g,w={item:i[b],refIndex:b};return d.length&&d.forEach(E=>{E(g,w)}),w})}class NR{constructor(i,s={},c){this.options={...co,...s},this.options.useExtendedSearch,this._keyStore=new hUn(this.options.keys),this.setCollection(i,c)}setCollection(i,s){if(this._docs=i,s&&!(s instanceof fMe))throw new Error(cUn);this._myIndex=s||lVt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(i){Pm(i)&&(this._docs.push(i),this._myIndex.add(i))}remove(i=()=>!1){const s=[];for(let c=0,d=this._docs.length;c<d;c+=1){const g=this._docs[c];i(g,c)&&(this.removeAt(c),c-=1,d-=1,s.push(g))}return s}removeAt(i){this._docs.splice(i,1),this._myIndex.removeAt(i)}getIndex(){return this._myIndex}search(i,{limit:s=-1}={}){const{includeMatches:c,includeScore:d,shouldSort:g,sortFn:b,ignoreFieldNorm:w}=this.options;let E=M2(i)?M2(this._docs[0])?this._searchStringList(i):this._searchObjectList(i):this._searchLogical(i);return $Un(E,{ignoreFieldNorm:w}),g&&E.sort(b),sVt(s)&&s>-1&&(E=E.slice(0,s)),HUn(E,this._docs,{includeMatches:c,includeScore:d})}_searchStringList(i){const s=LDe(i,this.options),{records:c}=this._myIndex,d=[];return c.forEach(({v:g,i:b,n:w})=>{if(!Pm(g))return;const{isMatch:E,score:S,indices:_}=s.searchIn(g);E&&d.push({item:g,idx:b,matches:[{score:S,value:g,norm:w,indices:_}]})}),d}_searchLogical(i){const s=pVt(i,this.options),c=(w,E,S)=>{if(!w.children){const{keyId:A,searcher:C}=w,O=this._findMatches({key:this._keyStore.get(A),value:this._myIndex.getValueForItemAtKeyId(E,A),searcher:C});return O&&O.length?[{idx:S,item:E,matches:O}]:[]}const _=[];for(let A=0,C=w.children.length;A<C;A+=1){const O=w.children[A],L=c(O,E,S);if(L.length)_.push(...L);else if(w.operator===sse.AND)return[]}return _},d=this._myIndex.records,g={},b=[];return d.forEach(({$:w,i:E})=>{if(Pm(w)){let S=c(s,w,E);S.length&&(g[E]||(g[E]={idx:E,item:w,matches:[]},b.push(g[E])),S.forEach(({matches:_})=>{g[E].matches.push(..._)}))}}),b}_searchObjectList(i){const s=LDe(i,this.options),{keys:c,records:d}=this._myIndex,g=[];return d.forEach(({$:b,i:w})=>{if(!Pm(b))return;let E=[];c.forEach((S,_)=>{E.push(...this._findMatches({key:S,value:b[_],searcher:s}))}),E.length&&g.push({idx:w,item:b,matches:E})}),g}_findMatches({key:i,value:s,searcher:c}){if(!Pm(s))return[];let d=[];if(SA(s))s.forEach(({v:g,i:b,n:w})=>{if(!Pm(g))return;const{isMatch:E,score:S,indices:_}=c.searchIn(g);E&&d.push({score:S,key:i,value:g,idx:b,norm:w,indices:_})});else{const{v:g,n:b}=s,{isMatch:w,score:E,indices:S}=c.searchIn(g);w&&d.push({score:E,key:i,value:g,norm:b,indices:S})}return d}}NR.version="7.1.0";NR.createIndex=lVt;NR.parseIndex=EUn;NR.config=co;NR.parseQuery=pVt;PUn(MUn);function gVt(n,i){const[s,c]=H.useState(""),d=H.useMemo(()=>{const b={threshold:.3,ignoreLocation:!0,includeScore:!0,includeMatches:!0,minMatchCharLength:1,keys:i.keys,...i.threshold!==void 0&&{threshold:i.threshold},...i.includeScore!==void 0&&{includeScore:i.includeScore},...i.ignoreLocation!==void 0&&{ignoreLocation:i.ignoreLocation},...i.includeMatches!==void 0&&{includeMatches:i.includeMatches},...i.minMatchCharLength!==void 0&&{minMatchCharLength:i.minMatchCharLength}};return new NR(n,b)},[n,i]),g=H.useMemo(()=>s.trim()?d.search(s):n.map((b,w)=>({item:b,refIndex:w,score:0})),[s,d,n]);return{query:s,setQuery:c,filteredItems:g.map(b=>b.item),results:g}}const g8t=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,b8t=yqt,xae=(n,i)=>s=>{var c;if((i==null?void 0:i.variants)==null)return b8t(n,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:d,defaultVariants:g}=i,b=Object.keys(d).map(S=>{const _=s==null?void 0:s[S],A=g==null?void 0:g[S];if(_===null)return null;const C=g8t(_)||g8t(A);return d[S][C]}),w=s&&Object.entries(s).reduce((S,_)=>{let[A,C]=_;return C===void 0||(S[A]=C),S},{}),E=i==null||(c=i.compoundVariants)===null||c===void 0?void 0:c.reduce((S,_)=>{let{class:A,className:C,...O}=_;return Object.entries(O).every(L=>{let[D,B]=L;return Array.isArray(B)?B.includes({...g,...w}[D]):{...g,...w}[D]===B})?[...S,A,C]:S},[]);return b8t(n,b,E,s==null?void 0:s.class,s==null?void 0:s.className)},zUn=xae("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium text-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),mi=H.forwardRef(({className:n,variant:i,size:s,asChild:c=!1,...d},g)=>{const b=c?m7n:"button";return I.jsx(b,{className:nr(zUn({variant:i,size:s,className:n})),ref:g,...d})});mi.displayName="Button";const hMe={IN_SEQUENCE:"cafe_in_sequence"},GUn=new Set(Object.values(hMe));function jDe(n){return GUn.has(n)}function m8t(n){return Object.keys(n).some(jDe)?Object.fromEntries(Object.entries(n).filter(([i])=>!jDe(i))):n}function qUn(n){return(n==null?void 0:n[hMe.IN_SEQUENCE])===!0}function uIe(n){return{...n,[hMe.IN_SEQUENCE]:!0}}function un(n,i,s){function c(w,E){if(w._zod||Object.defineProperty(w,"_zod",{value:{def:E,constr:b,traits:new Set},enumerable:!1}),w._zod.traits.has(n))return;w._zod.traits.add(n),i(w,E);const S=b.prototype,_=Object.keys(S);for(let A=0;A<_.length;A++){const C=_[A];C in w||(w[C]=S[C].bind(w))}}const d=(s==null?void 0:s.Parent)??Object;class g extends d{}Object.defineProperty(g,"name",{value:n});function b(w){var E;const S=s!=null&&s.Parent?new g:this;c(S,w),(E=S._zod).deferred??(E.deferred=[]);for(const _ of S._zod.deferred)_();return S}return Object.defineProperty(b,"init",{value:c}),Object.defineProperty(b,Symbol.hasInstance,{value:w=>{var E,S;return s!=null&&s.Parent&&w instanceof s.Parent?!0:(S=(E=w==null?void 0:w._zod)==null?void 0:E.traits)==null?void 0:S.has(n)}}),Object.defineProperty(b,"name",{value:n}),b}class aM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class bVt extends Error{constructor(i){super(`Encountered unidirectional transform during encode: ${i}`),this.name="ZodEncodeError"}}const mVt={};function hN(n){return mVt}function wVt(n){const i=Object.values(n).filter(c=>typeof c=="number");return Object.entries(n).filter(([c,d])=>i.indexOf(+c)===-1).map(([c,d])=>d)}function FDe(n,i){return typeof i=="bigint"?i.toString():i}function kae(n){return{get value(){{const i=n();return Object.defineProperty(this,"value",{value:i}),i}}}}function pMe(n){return n==null}function gMe(n){const i=n.startsWith("^")?1:0,s=n.endsWith("$")?n.length-1:n.length;return n.slice(i,s)}function VUn(n,i){const s=(n.toString().split(".")[1]||"").length,c=i.toString();let d=(c.split(".")[1]||"").length;if(d===0&&/\d?e-\d?/.test(c)){const E=c.match(/\d?e-(\d?)/);E!=null&&E[1]&&(d=Number.parseInt(E[1]))}const g=s>d?s:d,b=Number.parseInt(n.toFixed(g).replace(".","")),w=Number.parseInt(i.toFixed(g).replace(".",""));return b%w/10**g}const w8t=Symbol("evaluating");function Ys(n,i,s){let c;Object.defineProperty(n,i,{get(){if(c!==w8t)return c===void 0&&(c=w8t,c=s()),c},set(d){Object.defineProperty(n,i,{value:d})},configurable:!0})}function CR(n,i,s){Object.defineProperty(n,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}function TN(...n){const i={};for(const s of n){const c=Object.getOwnPropertyDescriptors(s);Object.assign(i,c)}return Object.defineProperties({},i)}function y8t(n){return JSON.stringify(n)}function WUn(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const yVt="captureStackTrace"in Error?Error.captureStackTrace:(...n)=>{};function sz(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}const KUn=kae(()=>{var n;if(typeof navigator<"u"&&((n=navigator==null?void 0:navigator.userAgent)!=null&&n.includes("Cloudflare")))return!1;try{const i=Function;return new i(""),!0}catch{return!1}});function CM(n){if(sz(n)===!1)return!1;const i=n.constructor;if(i===void 0||typeof i!="function")return!0;const s=i.prototype;return!(sz(s)===!1||Object.prototype.hasOwnProperty.call(s,"isPrototypeOf")===!1)}function vVt(n){return CM(n)?{...n}:Array.isArray(n)?[...n]:n}const YUn=new Set(["string","number","symbol"]);function IM(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function AN(n,i,s){const c=new n._zod.constr(i??n._zod.def);return(!i||s!=null&&s.parent)&&(c._zod.parent=n),c}function vi(n){const i=n;if(!i)return{};if(typeof i=="string")return{error:()=>i};if((i==null?void 0:i.message)!==void 0){if((i==null?void 0:i.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");i.error=i.message}return delete i.message,typeof i.error=="string"?{...i,error:()=>i.error}:i}function JUn(n){return Object.keys(n).filter(i=>n[i]._zod.optin==="optional"&&n[i]._zod.optout==="optional")}const XUn={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function ZUn(n,i){const s=n._zod.def,c=s.checks;if(c&&c.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const g=TN(n._zod.def,{get shape(){const b={};for(const w in i){if(!(w in s.shape))throw new Error(`Unrecognized key: "${w}"`);i[w]&&(b[w]=s.shape[w])}return CR(this,"shape",b),b},checks:[]});return AN(n,g)}function QUn(n,i){const s=n._zod.def,c=s.checks;if(c&&c.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const g=TN(n._zod.def,{get shape(){const b={...n._zod.def.shape};for(const w in i){if(!(w in s.shape))throw new Error(`Unrecognized key: "${w}"`);i[w]&&delete b[w]}return CR(this,"shape",b),b},checks:[]});return AN(n,g)}function eHn(n,i){if(!CM(i))throw new Error("Invalid input to extend: expected a plain object");const s=n._zod.def.checks;if(s&&s.length>0){const g=n._zod.def.shape;for(const b in i)if(Object.getOwnPropertyDescriptor(g,b)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const d=TN(n._zod.def,{get shape(){const g={...n._zod.def.shape,...i};return CR(this,"shape",g),g}});return AN(n,d)}function tHn(n,i){if(!CM(i))throw new Error("Invalid input to safeExtend: expected a plain object");const s=TN(n._zod.def,{get shape(){const c={...n._zod.def.shape,...i};return CR(this,"shape",c),c}});return AN(n,s)}function nHn(n,i){const s=TN(n._zod.def,{get shape(){const c={...n._zod.def.shape,...i._zod.def.shape};return CR(this,"shape",c),c},get catchall(){return i._zod.def.catchall},checks:[]});return AN(n,s)}function rHn(n,i,s){const d=i._zod.def.checks;if(d&&d.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const b=TN(i._zod.def,{get shape(){const w=i._zod.def.shape,E={...w};if(s)for(const S in s){if(!(S in w))throw new Error(`Unrecognized key: "${S}"`);s[S]&&(E[S]=n?new n({type:"optional",innerType:w[S]}):w[S])}else for(const S in w)E[S]=n?new n({type:"optional",innerType:w[S]}):w[S];return CR(this,"shape",E),E},checks:[]});return AN(i,b)}function iHn(n,i,s){const c=TN(i._zod.def,{get shape(){const d=i._zod.def.shape,g={...d};if(s)for(const b in s){if(!(b in g))throw new Error(`Unrecognized key: "${b}"`);s[b]&&(g[b]=new n({type:"nonoptional",innerType:d[b]}))}else for(const b in d)g[b]=new n({type:"nonoptional",innerType:d[b]});return CR(this,"shape",g),g}});return AN(i,c)}function q5(n,i=0){var s;if(n.aborted===!0)return!0;for(let c=i;c<n.issues.length;c++)if(((s=n.issues[c])==null?void 0:s.continue)!==!0)return!0;return!1}function V5(n,i){return i.map(s=>{var c;return(c=s).path??(c.path=[]),s.path.unshift(n),s})}function Rie(n){return typeof n=="string"?n:n==null?void 0:n.message}function pN(n,i,s){var d,g,b,w,E,S;const c={...n,path:n.path??[]};if(!n.message){const _=Rie((b=(g=(d=n.inst)==null?void 0:d._zod.def)==null?void 0:g.error)==null?void 0:b.call(g,n))??Rie((w=i==null?void 0:i.error)==null?void 0:w.call(i,n))??Rie((E=s.customError)==null?void 0:E.call(s,n))??Rie((S=s.localeError)==null?void 0:S.call(s,n))??"Invalid input";c.message=_}return delete c.inst,delete c.continue,i!=null&&i.reportInput||delete c.input,c}function bMe(n){return Array.isArray(n)?"array":typeof n=="string"?"string":"unknown"}function az(...n){const[i,s,c]=n;return typeof i=="string"?{message:i,code:"custom",input:s,inst:c}:{...i}}const EVt=(n,i)=>{n.name="$ZodError",Object.defineProperty(n,"_zod",{value:n._zod,enumerable:!1}),Object.defineProperty(n,"issues",{value:i,enumerable:!1}),n.message=JSON.stringify(i,FDe,2),Object.defineProperty(n,"toString",{value:()=>n.message,enumerable:!1})},SVt=un("$ZodError",EVt),TVt=un("$ZodError",EVt,{Parent:Error});function oHn(n,i=s=>s.message){const s={},c=[];for(const d of n.issues)d.path.length>0?(s[d.path[0]]=s[d.path[0]]||[],s[d.path[0]].push(i(d))):c.push(i(d));return{formErrors:c,fieldErrors:s}}function sHn(n,i=s=>s.message){const s={_errors:[]},c=d=>{for(const g of d.issues)if(g.code==="invalid_union"&&g.errors.length)g.errors.map(b=>c({issues:b}));else if(g.code==="invalid_key")c({issues:g.issues});else if(g.code==="invalid_element")c({issues:g.issues});else if(g.path.length===0)s._errors.push(i(g));else{let b=s,w=0;for(;w<g.path.length;){const E=g.path[w];w===g.path.length-1?(b[E]=b[E]||{_errors:[]},b[E]._errors.push(i(g))):b[E]=b[E]||{_errors:[]},b=b[E],w++}}};return c(n),s}const mMe=n=>(i,s,c,d)=>{const g=c?Object.assign(c,{async:!1}):{async:!1},b=i._zod.run({value:s,issues:[]},g);if(b instanceof Promise)throw new aM;if(b.issues.length){const w=new((d==null?void 0:d.Err)??n)(b.issues.map(E=>pN(E,g,hN())));throw yVt(w,d==null?void 0:d.callee),w}return b.value},wMe=n=>async(i,s,c,d)=>{const g=c?Object.assign(c,{async:!0}):{async:!0};let b=i._zod.run({value:s,issues:[]},g);if(b instanceof Promise&&(b=await b),b.issues.length){const w=new((d==null?void 0:d.Err)??n)(b.issues.map(E=>pN(E,g,hN())));throw yVt(w,d==null?void 0:d.callee),w}return b.value},Nae=n=>(i,s,c)=>{const d=c?{...c,async:!1}:{async:!1},g=i._zod.run({value:s,issues:[]},d);if(g instanceof Promise)throw new aM;return g.issues.length?{success:!1,error:new(n??SVt)(g.issues.map(b=>pN(b,d,hN())))}:{success:!0,data:g.value}},aHn=Nae(TVt),Cae=n=>async(i,s,c)=>{const d=c?Object.assign(c,{async:!0}):{async:!0};let g=i._zod.run({value:s,issues:[]},d);return g instanceof Promise&&(g=await g),g.issues.length?{success:!1,error:new n(g.issues.map(b=>pN(b,d,hN())))}:{success:!0,data:g.value}},cHn=Cae(TVt),uHn=n=>(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return mMe(n)(i,s,d)},lHn=n=>(i,s,c)=>mMe(n)(i,s,c),dHn=n=>async(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return wMe(n)(i,s,d)},fHn=n=>async(i,s,c)=>wMe(n)(i,s,c),hHn=n=>(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return Nae(n)(i,s,d)},pHn=n=>(i,s,c)=>Nae(n)(i,s,c),gHn=n=>async(i,s,c)=>{const d=c?Object.assign(c,{direction:"backward"}):{direction:"backward"};return Cae(n)(i,s,d)},bHn=n=>async(i,s,c)=>Cae(n)(i,s,c),mHn=/^[cC][^\s-]{8,}$/,wHn=/^[0-9a-z]+$/,yHn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,vHn=/^[0-9a-vA-V]{20}$/,EHn=/^[A-Za-z0-9]{27}$/,SHn=/^[a-zA-Z0-9_-]{21}$/,THn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,AHn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,v8t=n=>n?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${n}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,_Hn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,xHn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function kHn(){return new RegExp(xHn,"u")}const NHn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,CHn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,IHn=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,RHn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,OHn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,AVt=/^[A-Za-z0-9_-]*$/,DHn=/^\+[1-9]\d{6,14}$/,_Vt="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",LHn=new RegExp(`^${_Vt}$`);function xVt(n){const i="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof n.precision=="number"?n.precision===-1?`${i}`:n.precision===0?`${i}:[0-5]\\d`:`${i}:[0-5]\\d\\.\\d{${n.precision}}`:`${i}(?::[0-5]\\d(?:\\.\\d+)?)?`}function MHn(n){return new RegExp(`^${xVt(n)}$`)}function PHn(n){const i=xVt({precision:n.precision}),s=["Z"];n.local&&s.push(""),n.offset&&s.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const c=`${i}(?:${s.join("|")})`;return new RegExp(`^${_Vt}T(?:${c})$`)}const jHn=n=>{const i=n?`[\\s\\S]{${(n==null?void 0:n.minimum)??0},${(n==null?void 0:n.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${i}$`)},FHn=/^-?\d+$/,kVt=/^-?\d+(?:\.\d+)?$/,$Hn=/^(?:true|false)$/i,BHn=/^null$/i,UHn=/^[^A-Z]*$/,HHn=/^[^a-z]*$/,pb=un("$ZodCheck",(n,i)=>{var s;n._zod??(n._zod={}),n._zod.def=i,(s=n._zod).onattach??(s.onattach=[])}),NVt={number:"number",bigint:"bigint",object:"date"},CVt=un("$ZodCheckLessThan",(n,i)=>{pb.init(n,i);const s=NVt[typeof i.value];n._zod.onattach.push(c=>{const d=c._zod.bag,g=(i.inclusive?d.maximum:d.exclusiveMaximum)??Number.POSITIVE_INFINITY;i.value<g&&(i.inclusive?d.maximum=i.value:d.exclusiveMaximum=i.value)}),n._zod.check=c=>{(i.inclusive?c.value<=i.value:c.value<i.value)||c.issues.push({origin:s,code:"too_big",maximum:typeof i.value=="object"?i.value.getTime():i.value,input:c.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),IVt=un("$ZodCheckGreaterThan",(n,i)=>{pb.init(n,i);const s=NVt[typeof i.value];n._zod.onattach.push(c=>{const d=c._zod.bag,g=(i.inclusive?d.minimum:d.exclusiveMinimum)??Number.NEGATIVE_INFINITY;i.value>g&&(i.inclusive?d.minimum=i.value:d.exclusiveMinimum=i.value)}),n._zod.check=c=>{(i.inclusive?c.value>=i.value:c.value>i.value)||c.issues.push({origin:s,code:"too_small",minimum:typeof i.value=="object"?i.value.getTime():i.value,input:c.value,inclusive:i.inclusive,inst:n,continue:!i.abort})}}),zHn=un("$ZodCheckMultipleOf",(n,i)=>{pb.init(n,i),n._zod.onattach.push(s=>{var c;(c=s._zod.bag).multipleOf??(c.multipleOf=i.value)}),n._zod.check=s=>{if(typeof s.value!=typeof i.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof s.value=="bigint"?s.value%i.value===BigInt(0):VUn(s.value,i.value)===0)||s.issues.push({origin:typeof s.value,code:"not_multiple_of",divisor:i.value,input:s.value,inst:n,continue:!i.abort})}}),GHn=un("$ZodCheckNumberFormat",(n,i)=>{var b;pb.init(n,i),i.format=i.format||"float64";const s=(b=i.format)==null?void 0:b.includes("int"),c=s?"int":"number",[d,g]=XUn[i.format];n._zod.onattach.push(w=>{const E=w._zod.bag;E.format=i.format,E.minimum=d,E.maximum=g,s&&(E.pattern=FHn)}),n._zod.check=w=>{const E=w.value;if(s){if(!Number.isInteger(E)){w.issues.push({expected:c,format:i.format,code:"invalid_type",continue:!1,input:E,inst:n});return}if(!Number.isSafeInteger(E)){E>0?w.issues.push({input:E,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:c,inclusive:!0,continue:!i.abort}):w.issues.push({input:E,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:c,inclusive:!0,continue:!i.abort});return}}E<d&&w.issues.push({origin:"number",input:E,code:"too_small",minimum:d,inclusive:!0,inst:n,continue:!i.abort}),E>g&&w.issues.push({origin:"number",input:E,code:"too_big",maximum:g,inclusive:!0,inst:n,continue:!i.abort})}}),qHn=un("$ZodCheckMaxLength",(n,i)=>{var s;pb.init(n,i),(s=n._zod.def).when??(s.when=c=>{const d=c.value;return!pMe(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag.maximum??Number.POSITIVE_INFINITY;i.maximum<d&&(c._zod.bag.maximum=i.maximum)}),n._zod.check=c=>{const d=c.value;if(d.length<=i.maximum)return;const b=bMe(d);c.issues.push({origin:b,code:"too_big",maximum:i.maximum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),VHn=un("$ZodCheckMinLength",(n,i)=>{var s;pb.init(n,i),(s=n._zod.def).when??(s.when=c=>{const d=c.value;return!pMe(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag.minimum??Number.NEGATIVE_INFINITY;i.minimum>d&&(c._zod.bag.minimum=i.minimum)}),n._zod.check=c=>{const d=c.value;if(d.length>=i.minimum)return;const b=bMe(d);c.issues.push({origin:b,code:"too_small",minimum:i.minimum,inclusive:!0,input:d,inst:n,continue:!i.abort})}}),WHn=un("$ZodCheckLengthEquals",(n,i)=>{var s;pb.init(n,i),(s=n._zod.def).when??(s.when=c=>{const d=c.value;return!pMe(d)&&d.length!==void 0}),n._zod.onattach.push(c=>{const d=c._zod.bag;d.minimum=i.length,d.maximum=i.length,d.length=i.length}),n._zod.check=c=>{const d=c.value,g=d.length;if(g===i.length)return;const b=bMe(d),w=g>i.length;c.issues.push({origin:b,...w?{code:"too_big",maximum:i.length}:{code:"too_small",minimum:i.length},inclusive:!0,exact:!0,input:c.value,inst:n,continue:!i.abort})}}),Iae=un("$ZodCheckStringFormat",(n,i)=>{var s,c;pb.init(n,i),n._zod.onattach.push(d=>{const g=d._zod.bag;g.format=i.format,i.pattern&&(g.patterns??(g.patterns=new Set),g.patterns.add(i.pattern))}),i.pattern?(s=n._zod).check??(s.check=d=>{i.pattern.lastIndex=0,!i.pattern.test(d.value)&&d.issues.push({origin:"string",code:"invalid_format",format:i.format,input:d.value,...i.pattern?{pattern:i.pattern.toString()}:{},inst:n,continue:!i.abort})}):(c=n._zod).check??(c.check=()=>{})}),KHn=un("$ZodCheckRegex",(n,i)=>{Iae.init(n,i),n._zod.check=s=>{i.pattern.lastIndex=0,!i.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:"regex",input:s.value,pattern:i.pattern.toString(),inst:n,continue:!i.abort})}}),YHn=un("$ZodCheckLowerCase",(n,i)=>{i.pattern??(i.pattern=UHn),Iae.init(n,i)}),JHn=un("$ZodCheckUpperCase",(n,i)=>{i.pattern??(i.pattern=HHn),Iae.init(n,i)}),XHn=un("$ZodCheckIncludes",(n,i)=>{pb.init(n,i);const s=IM(i.includes),c=new RegExp(typeof i.position=="number"?`^.{${i.position}}${s}`:s);i.pattern=c,n._zod.onattach.push(d=>{const g=d._zod.bag;g.patterns??(g.patterns=new Set),g.patterns.add(c)}),n._zod.check=d=>{d.value.includes(i.includes,i.position)||d.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:i.includes,input:d.value,inst:n,continue:!i.abort})}}),ZHn=un("$ZodCheckStartsWith",(n,i)=>{pb.init(n,i);const s=new RegExp(`^${IM(i.prefix)}.*`);i.pattern??(i.pattern=s),n._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(s)}),n._zod.check=c=>{c.value.startsWith(i.prefix)||c.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:i.prefix,input:c.value,inst:n,continue:!i.abort})}}),QHn=un("$ZodCheckEndsWith",(n,i)=>{pb.init(n,i);const s=new RegExp(`.*${IM(i.suffix)}$`);i.pattern??(i.pattern=s),n._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(s)}),n._zod.check=c=>{c.value.endsWith(i.suffix)||c.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:i.suffix,input:c.value,inst:n,continue:!i.abort})}}),ezn=un("$ZodCheckOverwrite",(n,i)=>{pb.init(n,i),n._zod.check=s=>{s.value=i.tx(s.value)}});class tzn{constructor(i=[]){this.content=[],this.indent=0,this&&(this.args=i)}indented(i){this.indent+=1,i(this),this.indent-=1}write(i){if(typeof i=="function"){i(this,{execution:"sync"}),i(this,{execution:"async"});return}const c=i.split(`
`).filter(b=>b),d=Math.min(...c.map(b=>b.length-b.trimStart().length)),g=c.map(b=>b.slice(d)).map(b=>" ".repeat(this.indent*2)+b);for(const b of g)this.content.push(b)}compile(){const i=Function,s=this==null?void 0:this.args,d=[...((this==null?void 0:this.content)??[""]).map(g=>` ${g}`)];return new i(...s,d.join(`
`))}}const nzn={major:4,minor:3,patch:5},Kc=un("$ZodType",(n,i)=>{var d;var s;n??(n={}),n._zod.def=i,n._zod.bag=n._zod.bag||{},n._zod.version=nzn;const c=[...n._zod.def.checks??[]];n._zod.traits.has("$ZodCheck")&&c.unshift(n);for(const g of c)for(const b of g._zod.onattach)b(n);if(c.length===0)(s=n._zod).deferred??(s.deferred=[]),(d=n._zod.deferred)==null||d.push(()=>{n._zod.run=n._zod.parse});else{const g=(w,E,S)=>{let _=q5(w),A;for(const C of E){if(C._zod.def.when){if(!C._zod.def.when(w))continue}else if(_)continue;const O=w.issues.length,L=C._zod.check(w);if(L instanceof Promise&&(S==null?void 0:S.async)===!1)throw new aM;if(A||L instanceof Promise)A=(A??Promise.resolve()).then(async()=>{await L,w.issues.length!==O&&(_||(_=q5(w,O)))});else{if(w.issues.length===O)continue;_||(_=q5(w,O))}}return A?A.then(()=>w):w},b=(w,E,S)=>{if(q5(w))return w.aborted=!0,w;const _=g(E,c,S);if(_ instanceof Promise){if(S.async===!1)throw new aM;return _.then(A=>n._zod.parse(A,S))}return n._zod.parse(_,S)};n._zod.run=(w,E)=>{if(E.skipChecks)return n._zod.parse(w,E);if(E.direction==="backward"){const _=n._zod.parse({value:w.value,issues:[]},{...E,skipChecks:!0});return _ instanceof Promise?_.then(A=>b(A,w,E)):b(_,w,E)}const S=n._zod.parse(w,E);if(S instanceof Promise){if(E.async===!1)throw new aM;return S.then(_=>g(_,c,E))}return g(S,c,E)}}Ys(n,"~standard",()=>({validate:g=>{var b;try{const w=aHn(n,g);return w.success?{value:w.data}:{issues:(b=w.error)==null?void 0:b.issues}}catch{return cHn(n,g).then(E=>{var S;return E.success?{value:E.data}:{issues:(S=E.error)==null?void 0:S.issues}})}},vendor:"zod",version:1}))}),yMe=un("$ZodString",(n,i)=>{var s;Kc.init(n,i),n._zod.pattern=[...((s=n==null?void 0:n._zod.bag)==null?void 0:s.patterns)??[]].pop()??jHn(n._zod.bag),n._zod.parse=(c,d)=>{if(i.coerce)try{c.value=String(c.value)}catch{}return typeof c.value=="string"||c.issues.push({expected:"string",code:"invalid_type",input:c.value,inst:n}),c}}),Pu=un("$ZodStringFormat",(n,i)=>{Iae.init(n,i),yMe.init(n,i)}),rzn=un("$ZodGUID",(n,i)=>{i.pattern??(i.pattern=AHn),Pu.init(n,i)}),izn=un("$ZodUUID",(n,i)=>{if(i.version){const c={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[i.version];if(c===void 0)throw new Error(`Invalid UUID version: "${i.version}"`);i.pattern??(i.pattern=v8t(c))}else i.pattern??(i.pattern=v8t());Pu.init(n,i)}),ozn=un("$ZodEmail",(n,i)=>{i.pattern??(i.pattern=_Hn),Pu.init(n,i)}),szn=un("$ZodURL",(n,i)=>{Pu.init(n,i),n._zod.check=s=>{try{const c=s.value.trim(),d=new URL(c);i.hostname&&(i.hostname.lastIndex=0,i.hostname.test(d.hostname)||s.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:i.hostname.source,input:s.value,inst:n,continue:!i.abort})),i.protocol&&(i.protocol.lastIndex=0,i.protocol.test(d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol)||s.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:i.protocol.source,input:s.value,inst:n,continue:!i.abort})),i.normalize?s.value=d.href:s.value=c;return}catch{s.issues.push({code:"invalid_format",format:"url",input:s.value,inst:n,continue:!i.abort})}}}),azn=un("$ZodEmoji",(n,i)=>{i.pattern??(i.pattern=kHn()),Pu.init(n,i)}),czn=un("$ZodNanoID",(n,i)=>{i.pattern??(i.pattern=SHn),Pu.init(n,i)}),uzn=un("$ZodCUID",(n,i)=>{i.pattern??(i.pattern=mHn),Pu.init(n,i)}),lzn=un("$ZodCUID2",(n,i)=>{i.pattern??(i.pattern=wHn),Pu.init(n,i)}),dzn=un("$ZodULID",(n,i)=>{i.pattern??(i.pattern=yHn),Pu.init(n,i)}),fzn=un("$ZodXID",(n,i)=>{i.pattern??(i.pattern=vHn),Pu.init(n,i)}),hzn=un("$ZodKSUID",(n,i)=>{i.pattern??(i.pattern=EHn),Pu.init(n,i)}),pzn=un("$ZodISODateTime",(n,i)=>{i.pattern??(i.pattern=PHn(i)),Pu.init(n,i)}),gzn=un("$ZodISODate",(n,i)=>{i.pattern??(i.pattern=LHn),Pu.init(n,i)}),bzn=un("$ZodISOTime",(n,i)=>{i.pattern??(i.pattern=MHn(i)),Pu.init(n,i)}),mzn=un("$ZodISODuration",(n,i)=>{i.pattern??(i.pattern=THn),Pu.init(n,i)}),wzn=un("$ZodIPv4",(n,i)=>{i.pattern??(i.pattern=NHn),Pu.init(n,i),n._zod.bag.format="ipv4"}),yzn=un("$ZodIPv6",(n,i)=>{i.pattern??(i.pattern=CHn),Pu.init(n,i),n._zod.bag.format="ipv6",n._zod.check=s=>{try{new URL(`http://[${s.value}]`)}catch{s.issues.push({code:"invalid_format",format:"ipv6",input:s.value,inst:n,continue:!i.abort})}}}),vzn=un("$ZodCIDRv4",(n,i)=>{i.pattern??(i.pattern=IHn),Pu.init(n,i)}),Ezn=un("$ZodCIDRv6",(n,i)=>{i.pattern??(i.pattern=RHn),Pu.init(n,i),n._zod.check=s=>{const c=s.value.split("/");try{if(c.length!==2)throw new Error;const[d,g]=c;if(!g)throw new Error;const b=Number(g);if(`${b}`!==g)throw new Error;if(b<0||b>128)throw new Error;new URL(`http://[${d}]`)}catch{s.issues.push({code:"invalid_format",format:"cidrv6",input:s.value,inst:n,continue:!i.abort})}}});function RVt(n){if(n==="")return!0;if(n.length%4!==0)return!1;try{return atob(n),!0}catch{return!1}}const Szn=un("$ZodBase64",(n,i)=>{i.pattern??(i.pattern=OHn),Pu.init(n,i),n._zod.bag.contentEncoding="base64",n._zod.check=s=>{RVt(s.value)||s.issues.push({code:"invalid_format",format:"base64",input:s.value,inst:n,continue:!i.abort})}});function Tzn(n){if(!AVt.test(n))return!1;const i=n.replace(/[-_]/g,c=>c==="-"?"+":"/"),s=i.padEnd(Math.ceil(i.length/4)*4,"=");return RVt(s)}const Azn=un("$ZodBase64URL",(n,i)=>{i.pattern??(i.pattern=AVt),Pu.init(n,i),n._zod.bag.contentEncoding="base64url",n._zod.check=s=>{Tzn(s.value)||s.issues.push({code:"invalid_format",format:"base64url",input:s.value,inst:n,continue:!i.abort})}}),_zn=un("$ZodE164",(n,i)=>{i.pattern??(i.pattern=DHn),Pu.init(n,i)});function xzn(n,i=null){try{const s=n.split(".");if(s.length!==3)return!1;const[c]=s;if(!c)return!1;const d=JSON.parse(atob(c));return!("typ"in d&&(d==null?void 0:d.typ)!=="JWT"||!d.alg||i&&(!("alg"in d)||d.alg!==i))}catch{return!1}}const kzn=un("$ZodJWT",(n,i)=>{Pu.init(n,i),n._zod.check=s=>{xzn(s.value,i.alg)||s.issues.push({code:"invalid_format",format:"jwt",input:s.value,inst:n,continue:!i.abort})}}),OVt=un("$ZodNumber",(n,i)=>{Kc.init(n,i),n._zod.pattern=n._zod.bag.pattern??kVt,n._zod.parse=(s,c)=>{if(i.coerce)try{s.value=Number(s.value)}catch{}const d=s.value;if(typeof d=="number"&&!Number.isNaN(d)&&Number.isFinite(d))return s;const g=typeof d=="number"?Number.isNaN(d)?"NaN":Number.isFinite(d)?void 0:"Infinity":void 0;return s.issues.push({expected:"number",code:"invalid_type",input:d,inst:n,...g?{received:g}:{}}),s}}),Nzn=un("$ZodNumberFormat",(n,i)=>{GHn.init(n,i),OVt.init(n,i)}),Czn=un("$ZodBoolean",(n,i)=>{Kc.init(n,i),n._zod.pattern=$Hn,n._zod.parse=(s,c)=>{if(i.coerce)try{s.value=!!s.value}catch{}const d=s.value;return typeof d=="boolean"||s.issues.push({expected:"boolean",code:"invalid_type",input:d,inst:n}),s}}),Izn=un("$ZodNull",(n,i)=>{Kc.init(n,i),n._zod.pattern=BHn,n._zod.values=new Set([null]),n._zod.parse=(s,c)=>{const d=s.value;return d===null||s.issues.push({expected:"null",code:"invalid_type",input:d,inst:n}),s}}),Rzn=un("$ZodAny",(n,i)=>{Kc.init(n,i),n._zod.parse=s=>s}),Ozn=un("$ZodUnknown",(n,i)=>{Kc.init(n,i),n._zod.parse=s=>s}),Dzn=un("$ZodNever",(n,i)=>{Kc.init(n,i),n._zod.parse=(s,c)=>(s.issues.push({expected:"never",code:"invalid_type",input:s.value,inst:n}),s)});function E8t(n,i,s){n.issues.length&&i.issues.push(...V5(s,n.issues)),i.value[s]=n.value}const Lzn=un("$ZodArray",(n,i)=>{Kc.init(n,i),n._zod.parse=(s,c)=>{const d=s.value;if(!Array.isArray(d))return s.issues.push({expected:"array",code:"invalid_type",input:d,inst:n}),s;s.value=Array(d.length);const g=[];for(let b=0;b<d.length;b++){const w=d[b],E=i.element._zod.run({value:w,issues:[]},c);E instanceof Promise?g.push(E.then(S=>E8t(S,s,b))):E8t(E,s,b)}return g.length?Promise.all(g).then(()=>s):s}});function ase(n,i,s,c,d){if(n.issues.length){if(d&&!(s in c))return;i.issues.push(...V5(s,n.issues))}n.value===void 0?s in c&&(i.value[s]=void 0):i.value[s]=n.value}function DVt(n){var c,d,g,b;const i=Object.keys(n.shape);for(const w of i)if(!((b=(g=(d=(c=n.shape)==null?void 0:c[w])==null?void 0:d._zod)==null?void 0:g.traits)!=null&&b.has("$ZodType")))throw new Error(`Invalid element at key "${w}": expected a Zod schema`);const s=JUn(n.shape);return{...n,keys:i,keySet:new Set(i),numKeys:i.length,optionalKeys:new Set(s)}}function LVt(n,i,s,c,d,g){const b=[],w=d.keySet,E=d.catchall._zod,S=E.def.type,_=E.optout==="optional";for(const A in i){if(w.has(A))continue;if(S==="never"){b.push(A);continue}const C=E.run({value:i[A],issues:[]},c);C instanceof Promise?n.push(C.then(O=>ase(O,s,A,i,_))):ase(C,s,A,i,_)}return b.length&&s.issues.push({code:"unrecognized_keys",keys:b,input:i,inst:g}),n.length?Promise.all(n).then(()=>s):s}const Mzn=un("$ZodObject",(n,i)=>{Kc.init(n,i);const s=Object.getOwnPropertyDescriptor(i,"shape");if(!(s!=null&&s.get)){const w=i.shape;Object.defineProperty(i,"shape",{get:()=>{const E={...w};return Object.defineProperty(i,"shape",{value:E}),E}})}const c=kae(()=>DVt(i));Ys(n._zod,"propValues",()=>{const w=i.shape,E={};for(const S in w){const _=w[S]._zod;if(_.values){E[S]??(E[S]=new Set);for(const A of _.values)E[S].add(A)}}return E});const d=sz,g=i.catchall;let b;n._zod.parse=(w,E)=>{b??(b=c.value);const S=w.value;if(!d(S))return w.issues.push({expected:"object",code:"invalid_type",input:S,inst:n}),w;w.value={};const _=[],A=b.shape;for(const C of b.keys){const O=A[C],L=O._zod.optout==="optional",D=O._zod.run({value:S[C],issues:[]},E);D instanceof Promise?_.push(D.then(B=>ase(B,w,C,S,L))):ase(D,w,C,S,L)}return g?LVt(_,S,w,E,c.value,n):_.length?Promise.all(_).then(()=>w):w}}),Pzn=un("$ZodObjectJIT",(n,i)=>{Mzn.init(n,i);const s=n._zod.parse,c=kae(()=>DVt(i)),d=C=>{var j;const O=new tzn(["shape","payload","ctx"]),L=c.value,D=z=>{const ee=y8t(z);return`shape[${ee}]._zod.run({ value: input[${ee}], issues: [] }, ctx)`};O.write("const input = payload.value;");const B=Object.create(null);let $=0;for(const z of L.keys)B[z]=`key_${$++}`;O.write("const newResult = {};");for(const z of L.keys){const ee=B[z],ne=y8t(z),Q=C[z],ae=((j=Q==null?void 0:Q._zod)==null?void 0:j.optout)==="optional";O.write(`const ${ee} = ${D(z)};`),ae?O.write(`
if (${ee}.issues.length) {
if (${ne} in input) {
payload.issues = payload.issues.concat(${ee}.issues.map(iss => ({
...iss,
path: iss.path ? [${ne}, ...iss.path] : [${ne}]
})));
}
}
if (${ee}.value === undefined) {
if (${ne} in input) {
newResult[${ne}] = undefined;
}
} else {
newResult[${ne}] = ${ee}.value;
}
`):O.write(`
if (${ee}.issues.length) {
payload.issues = payload.issues.concat(${ee}.issues.map(iss => ({
...iss,
path: iss.path ? [${ne}, ...iss.path] : [${ne}]
})));
}
if (${ee}.value === undefined) {
if (${ne} in input) {
newResult[${ne}] = undefined;
}
} else {
newResult[${ne}] = ${ee}.value;
}
`)}O.write("payload.value = newResult;"),O.write("return payload;");const P=O.compile();return(z,ee)=>P(C,z,ee)};let g;const b=sz,w=!mVt.jitless,S=w&&KUn.value,_=i.catchall;let A;n._zod.parse=(C,O)=>{A??(A=c.value);const L=C.value;return b(L)?w&&S&&(O==null?void 0:O.async)===!1&&O.jitless!==!0?(g||(g=d(i.shape)),C=g(C,O),_?LVt([],L,C,O,A,n):C):s(C,O):(C.issues.push({expected:"object",code:"invalid_type",input:L,inst:n}),C)}});function S8t(n,i,s,c){for(const g of n)if(g.issues.length===0)return i.value=g.value,i;const d=n.filter(g=>!q5(g));return d.length===1?(i.value=d[0].value,d[0]):(i.issues.push({code:"invalid_union",input:i.value,inst:s,errors:n.map(g=>g.issues.map(b=>pN(b,c,hN())))}),i)}const MVt=un("$ZodUnion",(n,i)=>{Kc.init(n,i),Ys(n._zod,"optin",()=>i.options.some(d=>d._zod.optin==="optional")?"optional":void 0),Ys(n._zod,"optout",()=>i.options.some(d=>d._zod.optout==="optional")?"optional":void 0),Ys(n._zod,"values",()=>{if(i.options.every(d=>d._zod.values))return new Set(i.options.flatMap(d=>Array.from(d._zod.values)))}),Ys(n._zod,"pattern",()=>{if(i.options.every(d=>d._zod.pattern)){const d=i.options.map(g=>g._zod.pattern);return new RegExp(`^(${d.map(g=>gMe(g.source)).join("|")})$`)}});const s=i.options.length===1,c=i.options[0]._zod.run;n._zod.parse=(d,g)=>{if(s)return c(d,g);let b=!1;const w=[];for(const E of i.options){const S=E._zod.run({value:d.value,issues:[]},g);if(S instanceof Promise)w.push(S),b=!0;else{if(S.issues.length===0)return S;w.push(S)}}return b?Promise.all(w).then(E=>S8t(E,d,n,g)):S8t(w,d,n,g)}}),jzn=un("$ZodDiscriminatedUnion",(n,i)=>{i.inclusive=!1,MVt.init(n,i);const s=n._zod.parse;Ys(n._zod,"propValues",()=>{const d={};for(const g of i.options){const b=g._zod.propValues;if(!b||Object.keys(b).length===0)throw new Error(`Invalid discriminated union option at index "${i.options.indexOf(g)}"`);for(const[w,E]of Object.entries(b)){d[w]||(d[w]=new Set);for(const S of E)d[w].add(S)}}return d});const c=kae(()=>{var b;const d=i.options,g=new Map;for(const w of d){const E=(b=w._zod.propValues)==null?void 0:b[i.discriminator];if(!E||E.size===0)throw new Error(`Invalid discriminated union option at index "${i.options.indexOf(w)}"`);for(const S of E){if(g.has(S))throw new Error(`Duplicate discriminator value "${String(S)}"`);g.set(S,w)}}return g});n._zod.parse=(d,g)=>{const b=d.value;if(!sz(b))return d.issues.push({code:"invalid_type",expected:"object",input:b,inst:n}),d;const w=c.value.get(b==null?void 0:b[i.discriminator]);return w?w._zod.run(d,g):i.unionFallback?s(d,g):(d.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:i.discriminator,input:b,path:[i.discriminator],inst:n}),d)}}),Fzn=un("$ZodIntersection",(n,i)=>{Kc.init(n,i),n._zod.parse=(s,c)=>{const d=s.value,g=i.left._zod.run({value:d,issues:[]},c),b=i.right._zod.run({value:d,issues:[]},c);return g instanceof Promise||b instanceof Promise?Promise.all([g,b]).then(([E,S])=>T8t(s,E,S)):T8t(s,g,b)}});function $De(n,i){if(n===i)return{valid:!0,data:n};if(n instanceof Date&&i instanceof Date&&+n==+i)return{valid:!0,data:n};if(CM(n)&&CM(i)){const s=Object.keys(i),c=Object.keys(n).filter(g=>s.indexOf(g)!==-1),d={...n,...i};for(const g of c){const b=$De(n[g],i[g]);if(!b.valid)return{valid:!1,mergeErrorPath:[g,...b.mergeErrorPath]};d[g]=b.data}return{valid:!0,data:d}}if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length)return{valid:!1,mergeErrorPath:[]};const s=[];for(let c=0;c<n.length;c++){const d=n[c],g=i[c],b=$De(d,g);if(!b.valid)return{valid:!1,mergeErrorPath:[c,...b.mergeErrorPath]};s.push(b.data)}return{valid:!0,data:s}}return{valid:!1,mergeErrorPath:[]}}function T8t(n,i,s){const c=new Map;let d;for(const w of i.issues)if(w.code==="unrecognized_keys"){d??(d=w);for(const E of w.keys)c.has(E)||c.set(E,{}),c.get(E).l=!0}else n.issues.push(w);for(const w of s.issues)if(w.code==="unrecognized_keys")for(const E of w.keys)c.has(E)||c.set(E,{}),c.get(E).r=!0;else n.issues.push(w);const g=[...c].filter(([,w])=>w.l&&w.r).map(([w])=>w);if(g.length&&d&&n.issues.push({...d,keys:g}),q5(n))return n;const b=$De(i.value,s.value);if(!b.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(b.mergeErrorPath)}`);return n.value=b.data,n}const $zn=un("$ZodRecord",(n,i)=>{Kc.init(n,i),n._zod.parse=(s,c)=>{const d=s.value;if(!CM(d))return s.issues.push({expected:"record",code:"invalid_type",input:d,inst:n}),s;const g=[],b=i.keyType._zod.values;if(b){s.value={};const w=new Set;for(const S of b)if(typeof S=="string"||typeof S=="number"||typeof S=="symbol"){w.add(typeof S=="number"?S.toString():S);const _=i.valueType._zod.run({value:d[S],issues:[]},c);_ instanceof Promise?g.push(_.then(A=>{A.issues.length&&s.issues.push(...V5(S,A.issues)),s.value[S]=A.value})):(_.issues.length&&s.issues.push(...V5(S,_.issues)),s.value[S]=_.value)}let E;for(const S in d)w.has(S)||(E=E??[],E.push(S));E&&E.length>0&&s.issues.push({code:"unrecognized_keys",input:d,inst:n,keys:E})}else{s.value={};for(const w of Reflect.ownKeys(d)){if(w==="__proto__")continue;let E=i.keyType._zod.run({value:w,issues:[]},c);if(E instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof w=="string"&&kVt.test(w)&&E.issues.length&&E.issues.some(A=>A.code==="invalid_type"&&A.expected==="number")){const A=i.keyType._zod.run({value:Number(w),issues:[]},c);if(A instanceof Promise)throw new Error("Async schemas not supported in object keys currently");A.issues.length===0&&(E=A)}if(E.issues.length){i.mode==="loose"?s.value[w]=d[w]:s.issues.push({code:"invalid_key",origin:"record",issues:E.issues.map(A=>pN(A,c,hN())),input:w,path:[w],inst:n});continue}const _=i.valueType._zod.run({value:d[w],issues:[]},c);_ instanceof Promise?g.push(_.then(A=>{A.issues.length&&s.issues.push(...V5(w,A.issues)),s.value[E.value]=A.value})):(_.issues.length&&s.issues.push(...V5(w,_.issues)),s.value[E.value]=_.value)}}return g.length?Promise.all(g).then(()=>s):s}}),Bzn=un("$ZodEnum",(n,i)=>{Kc.init(n,i);const s=wVt(i.entries),c=new Set(s);n._zod.values=c,n._zod.pattern=new RegExp(`^(${s.filter(d=>YUn.has(typeof d)).map(d=>typeof d=="string"?IM(d):d.toString()).join("|")})$`),n._zod.parse=(d,g)=>{const b=d.value;return c.has(b)||d.issues.push({code:"invalid_value",values:s,input:b,inst:n}),d}}),Uzn=un("$ZodLiteral",(n,i)=>{if(Kc.init(n,i),i.values.length===0)throw new Error("Cannot create literal schema with no valid values");const s=new Set(i.values);n._zod.values=s,n._zod.pattern=new RegExp(`^(${i.values.map(c=>typeof c=="string"?IM(c):c?IM(c.toString()):String(c)).join("|")})$`),n._zod.parse=(c,d)=>{const g=c.value;return s.has(g)||c.issues.push({code:"invalid_value",values:i.values,input:g,inst:n}),c}}),Hzn=un("$ZodTransform",(n,i)=>{Kc.init(n,i),n._zod.parse=(s,c)=>{if(c.direction==="backward")throw new bVt(n.constructor.name);const d=i.transform(s.value,s);if(c.async)return(d instanceof Promise?d:Promise.resolve(d)).then(b=>(s.value=b,s));if(d instanceof Promise)throw new aM;return s.value=d,s}});function A8t(n,i){return n.issues.length&&i===void 0?{issues:[],value:void 0}:n}const PVt=un("$ZodOptional",(n,i)=>{Kc.init(n,i),n._zod.optin="optional",n._zod.optout="optional",Ys(n._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,void 0]):void 0),Ys(n._zod,"pattern",()=>{const s=i.innerType._zod.pattern;return s?new RegExp(`^(${gMe(s.source)})?$`):void 0}),n._zod.parse=(s,c)=>{if(i.innerType._zod.optin==="optional"){const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>A8t(g,s.value)):A8t(d,s.value)}return s.value===void 0?s:i.innerType._zod.run(s,c)}}),zzn=un("$ZodExactOptional",(n,i)=>{PVt.init(n,i),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"pattern",()=>i.innerType._zod.pattern),n._zod.parse=(s,c)=>i.innerType._zod.run(s,c)}),Gzn=un("$ZodNullable",(n,i)=>{Kc.init(n,i),Ys(n._zod,"optin",()=>i.innerType._zod.optin),Ys(n._zod,"optout",()=>i.innerType._zod.optout),Ys(n._zod,"pattern",()=>{const s=i.innerType._zod.pattern;return s?new RegExp(`^(${gMe(s.source)}|null)$`):void 0}),Ys(n._zod,"values",()=>i.innerType._zod.values?new Set([...i.innerType._zod.values,null]):void 0),n._zod.parse=(s,c)=>s.value===null?s:i.innerType._zod.run(s,c)}),qzn=un("$ZodDefault",(n,i)=>{Kc.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,c)=>{if(c.direction==="backward")return i.innerType._zod.run(s,c);if(s.value===void 0)return s.value=i.defaultValue,s;const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>_8t(g,i)):_8t(d,i)}});function _8t(n,i){return n.value===void 0&&(n.value=i.defaultValue),n}const Vzn=un("$ZodPrefault",(n,i)=>{Kc.init(n,i),n._zod.optin="optional",Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,c)=>(c.direction==="backward"||s.value===void 0&&(s.value=i.defaultValue),i.innerType._zod.run(s,c))}),Wzn=un("$ZodNonOptional",(n,i)=>{Kc.init(n,i),Ys(n._zod,"values",()=>{const s=i.innerType._zod.values;return s?new Set([...s].filter(c=>c!==void 0)):void 0}),n._zod.parse=(s,c)=>{const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>x8t(g,n)):x8t(d,n)}});function x8t(n,i){return!n.issues.length&&n.value===void 0&&n.issues.push({code:"invalid_type",expected:"nonoptional",input:n.value,inst:i}),n}const Kzn=un("$ZodCatch",(n,i)=>{Kc.init(n,i),Ys(n._zod,"optin",()=>i.innerType._zod.optin),Ys(n._zod,"optout",()=>i.innerType._zod.optout),Ys(n._zod,"values",()=>i.innerType._zod.values),n._zod.parse=(s,c)=>{if(c.direction==="backward")return i.innerType._zod.run(s,c);const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(g=>(s.value=g.value,g.issues.length&&(s.value=i.catchValue({...s,error:{issues:g.issues.map(b=>pN(b,c,hN()))},input:s.value}),s.issues=[]),s)):(s.value=d.value,d.issues.length&&(s.value=i.catchValue({...s,error:{issues:d.issues.map(g=>pN(g,c,hN()))},input:s.value}),s.issues=[]),s)}}),Yzn=un("$ZodPipe",(n,i)=>{Kc.init(n,i),Ys(n._zod,"values",()=>i.in._zod.values),Ys(n._zod,"optin",()=>i.in._zod.optin),Ys(n._zod,"optout",()=>i.out._zod.optout),Ys(n._zod,"propValues",()=>i.in._zod.propValues),n._zod.parse=(s,c)=>{if(c.direction==="backward"){const g=i.out._zod.run(s,c);return g instanceof Promise?g.then(b=>Oie(b,i.in,c)):Oie(g,i.in,c)}const d=i.in._zod.run(s,c);return d instanceof Promise?d.then(g=>Oie(g,i.out,c)):Oie(d,i.out,c)}});function Oie(n,i,s){return n.issues.length?(n.aborted=!0,n):i._zod.run({value:n.value,issues:n.issues},s)}const Jzn=un("$ZodReadonly",(n,i)=>{Kc.init(n,i),Ys(n._zod,"propValues",()=>i.innerType._zod.propValues),Ys(n._zod,"values",()=>i.innerType._zod.values),Ys(n._zod,"optin",()=>{var s,c;return(c=(s=i.innerType)==null?void 0:s._zod)==null?void 0:c.optin}),Ys(n._zod,"optout",()=>{var s,c;return(c=(s=i.innerType)==null?void 0:s._zod)==null?void 0:c.optout}),n._zod.parse=(s,c)=>{if(c.direction==="backward")return i.innerType._zod.run(s,c);const d=i.innerType._zod.run(s,c);return d instanceof Promise?d.then(k8t):k8t(d)}});function k8t(n){return n.value=Object.freeze(n.value),n}const Xzn=un("$ZodLazy",(n,i)=>{Kc.init(n,i),Ys(n._zod,"innerType",()=>i.getter()),Ys(n._zod,"pattern",()=>{var s,c;return(c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.pattern}),Ys(n._zod,"propValues",()=>{var s,c;return(c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.propValues}),Ys(n._zod,"optin",()=>{var s,c;return((c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.optin)??void 0}),Ys(n._zod,"optout",()=>{var s,c;return((c=(s=n._zod.innerType)==null?void 0:s._zod)==null?void 0:c.optout)??void 0}),n._zod.parse=(s,c)=>n._zod.innerType._zod.run(s,c)}),Zzn=un("$ZodCustom",(n,i)=>{pb.init(n,i),Kc.init(n,i),n._zod.parse=(s,c)=>s,n._zod.check=s=>{const c=s.value,d=i.fn(c);if(d instanceof Promise)return d.then(g=>N8t(g,s,c,n));N8t(d,s,c,n)}});function N8t(n,i,s,c){if(!n){const d={code:"custom",input:s,inst:c,path:[...c._zod.def.path??[]],continue:!c._zod.def.abort};c._zod.def.params&&(d.params=c._zod.def.params),i.issues.push(az(d))}}var C8t;class Qzn{constructor(){this._map=new WeakMap,this._idmap=new Map}add(i,...s){const c=s[0];return this._map.set(i,c),c&&typeof c=="object"&&"id"in c&&this._idmap.set(c.id,i),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(i){const s=this._map.get(i);return s&&typeof s=="object"&&"id"in s&&this._idmap.delete(s.id),this._map.delete(i),this}get(i){const s=i._zod.parent;if(s){const c={...this.get(s)??{}};delete c.id;const d={...c,...this._map.get(i)};return Object.keys(d).length?d:void 0}return this._map.get(i)}has(i){return this._map.has(i)}}function eGn(){return new Qzn}(C8t=globalThis).__zod_globalRegistry??(C8t.__zod_globalRegistry=eGn());const QU=globalThis.__zod_globalRegistry;function tGn(n,i){return new n({type:"string",...vi(i)})}function nGn(n,i){return new n({type:"string",format:"email",check:"string_format",abort:!1,...vi(i)})}function I8t(n,i){return new n({type:"string",format:"guid",check:"string_format",abort:!1,...vi(i)})}function rGn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,...vi(i)})}function iGn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...vi(i)})}function oGn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...vi(i)})}function sGn(n,i){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...vi(i)})}function aGn(n,i){return new n({type:"string",format:"url",check:"string_format",abort:!1,...vi(i)})}function cGn(n,i){return new n({type:"string",format:"emoji",check:"string_format",abort:!1,...vi(i)})}function uGn(n,i){return new n({type:"string",format:"nanoid",check:"string_format",abort:!1,...vi(i)})}function lGn(n,i){return new n({type:"string",format:"cuid",check:"string_format",abort:!1,...vi(i)})}function dGn(n,i){return new n({type:"string",format:"cuid2",check:"string_format",abort:!1,...vi(i)})}function fGn(n,i){return new n({type:"string",format:"ulid",check:"string_format",abort:!1,...vi(i)})}function hGn(n,i){return new n({type:"string",format:"xid",check:"string_format",abort:!1,...vi(i)})}function pGn(n,i){return new n({type:"string",format:"ksuid",check:"string_format",abort:!1,...vi(i)})}function gGn(n,i){return new n({type:"string",format:"ipv4",check:"string_format",abort:!1,...vi(i)})}function bGn(n,i){return new n({type:"string",format:"ipv6",check:"string_format",abort:!1,...vi(i)})}function mGn(n,i){return new n({type:"string",format:"cidrv4",check:"string_format",abort:!1,...vi(i)})}function wGn(n,i){return new n({type:"string",format:"cidrv6",check:"string_format",abort:!1,...vi(i)})}function yGn(n,i){return new n({type:"string",format:"base64",check:"string_format",abort:!1,...vi(i)})}function vGn(n,i){return new n({type:"string",format:"base64url",check:"string_format",abort:!1,...vi(i)})}function EGn(n,i){return new n({type:"string",format:"e164",check:"string_format",abort:!1,...vi(i)})}function SGn(n,i){return new n({type:"string",format:"jwt",check:"string_format",abort:!1,...vi(i)})}function TGn(n,i){return new n({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...vi(i)})}function AGn(n,i){return new n({type:"string",format:"date",check:"string_format",...vi(i)})}function _Gn(n,i){return new n({type:"string",format:"time",check:"string_format",precision:null,...vi(i)})}function xGn(n,i){return new n({type:"string",format:"duration",check:"string_format",...vi(i)})}function kGn(n,i){return new n({type:"number",checks:[],...vi(i)})}function NGn(n,i){return new n({type:"number",check:"number_format",abort:!1,format:"safeint",...vi(i)})}function CGn(n,i){return new n({type:"boolean",...vi(i)})}function IGn(n,i){return new n({type:"null",...vi(i)})}function RGn(n){return new n({type:"any"})}function OGn(n){return new n({type:"unknown"})}function DGn(n,i){return new n({type:"never",...vi(i)})}function R8t(n,i){return new CVt({check:"less_than",...vi(i),value:n,inclusive:!1})}function lIe(n,i){return new CVt({check:"less_than",...vi(i),value:n,inclusive:!0})}function O8t(n,i){return new IVt({check:"greater_than",...vi(i),value:n,inclusive:!1})}function dIe(n,i){return new IVt({check:"greater_than",...vi(i),value:n,inclusive:!0})}function D8t(n,i){return new zHn({check:"multiple_of",...vi(i),value:n})}function jVt(n,i){return new qHn({check:"max_length",...vi(i),maximum:n})}function cse(n,i){return new VHn({check:"min_length",...vi(i),minimum:n})}function FVt(n,i){return new WHn({check:"length_equals",...vi(i),length:n})}function LGn(n,i){return new KHn({check:"string_format",format:"regex",...vi(i),pattern:n})}function MGn(n){return new YHn({check:"string_format",format:"lowercase",...vi(n)})}function PGn(n){return new JHn({check:"string_format",format:"uppercase",...vi(n)})}function jGn(n,i){return new XHn({check:"string_format",format:"includes",...vi(i),includes:n})}function FGn(n,i){return new ZHn({check:"string_format",format:"starts_with",...vi(i),prefix:n})}function $Gn(n,i){return new QHn({check:"string_format",format:"ends_with",...vi(i),suffix:n})}function HM(n){return new ezn({check:"overwrite",tx:n})}function BGn(n){return HM(i=>i.normalize(n))}function UGn(){return HM(n=>n.trim())}function HGn(){return HM(n=>n.toLowerCase())}function zGn(){return HM(n=>n.toUpperCase())}function GGn(){return HM(n=>WUn(n))}function qGn(n,i,s){return new n({type:"array",element:i,...vi(s)})}function VGn(n,i,s){return new n({type:"custom",check:"custom",fn:i,...vi(s)})}function WGn(n){const i=KGn(s=>(s.addIssue=c=>{if(typeof c=="string")s.issues.push(az(c,s.value,i._zod.def));else{const d=c;d.fatal&&(d.continue=!1),d.code??(d.code="custom"),d.input??(d.input=s.value),d.inst??(d.inst=i),d.continue??(d.continue=!i._zod.def.abort),s.issues.push(az(d))}},n(s.value,s)));return i}function KGn(n,i){const s=new pb({check:"custom",...vi(i)});return s._zod.check=n,s}function $Vt(n){let i=(n==null?void 0:n.target)??"draft-2020-12";return i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),{processors:n.processors??{},metadataRegistry:(n==null?void 0:n.metadata)??QU,target:i,unrepresentable:(n==null?void 0:n.unrepresentable)??"throw",override:(n==null?void 0:n.override)??(()=>{}),io:(n==null?void 0:n.io)??"output",counter:0,seen:new Map,cycles:(n==null?void 0:n.cycles)??"ref",reused:(n==null?void 0:n.reused)??"inline",external:(n==null?void 0:n.external)??void 0}}function gd(n,i,s={path:[],schemaPath:[]}){var _,A;var c;const d=n._zod.def,g=i.seen.get(n);if(g)return g.count++,s.schemaPath.includes(n)&&(g.cycle=s.path),g.schema;const b={schema:{},count:1,cycle:void 0,path:s.path};i.seen.set(n,b);const w=(A=(_=n._zod).toJSONSchema)==null?void 0:A.call(_);if(w)b.schema=w;else{const C={...s,schemaPath:[...s.schemaPath,n],path:s.path};if(n._zod.processJSONSchema)n._zod.processJSONSchema(i,b.schema,C);else{const L=b.schema,D=i.processors[d.type];if(!D)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${d.type}`);D(n,i,L,C)}const O=n._zod.parent;O&&(b.ref||(b.ref=O),gd(O,i,C),i.seen.get(O).isParent=!0)}const E=i.metadataRegistry.get(n);return E&&Object.assign(b.schema,E),i.io==="input"&&$g(n)&&(delete b.schema.examples,delete b.schema.default),i.io==="input"&&b.schema._prefault&&((c=b.schema).default??(c.default=b.schema._prefault)),delete b.schema._prefault,i.seen.get(n).schema}function BVt(n,i){var b,w,E,S;const s=n.seen.get(i);if(!s)throw new Error("Unprocessed schema. This is a bug in Zod.");const c=new Map;for(const _ of n.seen.entries()){const A=(b=n.metadataRegistry.get(_[0]))==null?void 0:b.id;if(A){const C=c.get(A);if(C&&C!==_[0])throw new Error(`Duplicate schema id "${A}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);c.set(A,_[0])}}const d=_=>{var D;const A=n.target==="draft-2020-12"?"$defs":"definitions";if(n.external){const B=(D=n.external.registry.get(_[0]))==null?void 0:D.id,$=n.external.uri??(j=>j);if(B)return{ref:$(B)};const P=_[1].defId??_[1].schema.id??`schema${n.counter++}`;return _[1].defId=P,{defId:P,ref:`${$("__shared")}#/${A}/${P}`}}if(_[1]===s)return{ref:"#"};const O=`#/${A}/`,L=_[1].schema.id??`__schema${n.counter++}`;return{defId:L,ref:O+L}},g=_=>{if(_[1].schema.$ref)return;const A=_[1],{ref:C,defId:O}=d(_);A.def={...A.schema},O&&(A.defId=O);const L=A.schema;for(const D in L)delete L[D];L.$ref=C};if(n.cycles==="throw")for(const _ of n.seen.entries()){const A=_[1];if(A.cycle)throw new Error(`Cycle detected: #/${(w=A.cycle)==null?void 0:w.join("/")}/<root>
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const _ of n.seen.entries()){const A=_[1];if(i===_[0]){g(_);continue}if(n.external){const O=(E=n.external.registry.get(_[0]))==null?void 0:E.id;if(i!==_[0]&&O){g(_);continue}}if((S=n.metadataRegistry.get(_[0]))==null?void 0:S.id){g(_);continue}if(A.cycle){g(_);continue}if(A.count>1&&n.reused==="ref"){g(_);continue}}}function UVt(n,i){var b,w,E;const s=n.seen.get(i);if(!s)throw new Error("Unprocessed schema. This is a bug in Zod.");const c=S=>{const _=n.seen.get(S);if(_.ref===null)return;const A=_.def??_.schema,C={...A},O=_.ref;if(_.ref=null,O){c(O);const D=n.seen.get(O),B=D.schema;if(B.$ref&&(n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0")?(A.allOf=A.allOf??[],A.allOf.push(B)):Object.assign(A,B),Object.assign(A,C),S._zod.parent===O)for(const P in A)P==="$ref"||P==="allOf"||P in C||delete A[P];if(B.$ref)for(const P in A)P==="$ref"||P==="allOf"||P in D.def&&JSON.stringify(A[P])===JSON.stringify(D.def[P])&&delete A[P]}const L=S._zod.parent;if(L&&L!==O){c(L);const D=n.seen.get(L);if(D!=null&&D.schema.$ref&&(A.$ref=D.schema.$ref,D.def))for(const B in A)B==="$ref"||B==="allOf"||B in D.def&&JSON.stringify(A[B])===JSON.stringify(D.def[B])&&delete A[B]}n.override({zodSchema:S,jsonSchema:A,path:_.path??[]})};for(const S of[...n.seen.entries()].reverse())c(S[0]);const d={};if(n.target==="draft-2020-12"?d.$schema="https://json-schema.org/draft/2020-12/schema":n.target==="draft-07"?d.$schema="http://json-schema.org/draft-07/schema#":n.target==="draft-04"?d.$schema="http://json-schema.org/draft-04/schema#":n.target,(b=n.external)!=null&&b.uri){const S=(w=n.external.registry.get(i))==null?void 0:w.id;if(!S)throw new Error("Schema is missing an `id` property");d.$id=n.external.uri(S)}Object.assign(d,s.def??s.schema);const g=((E=n.external)==null?void 0:E.defs)??{};for(const S of n.seen.entries()){const _=S[1];_.def&&_.defId&&(g[_.defId]=_.def)}n.external||Object.keys(g).length>0&&(n.target==="draft-2020-12"?d.$defs=g:d.definitions=g);try{const S=JSON.parse(JSON.stringify(d));return Object.defineProperty(S,"~standard",{value:{...i["~standard"],jsonSchema:{input:use(i,"input",n.processors),output:use(i,"output",n.processors)}},enumerable:!1,writable:!1}),S}catch{throw new Error("Error converting schema to JSON.")}}function $g(n,i){const s=i??{seen:new Set};if(s.seen.has(n))return!1;s.seen.add(n);const c=n._zod.def;if(c.type==="transform")return!0;if(c.type==="array")return $g(c.element,s);if(c.type==="set")return $g(c.valueType,s);if(c.type==="lazy")return $g(c.getter(),s);if(c.type==="promise"||c.type==="optional"||c.type==="nonoptional"||c.type==="nullable"||c.type==="readonly"||c.type==="default"||c.type==="prefault")return $g(c.innerType,s);if(c.type==="intersection")return $g(c.left,s)||$g(c.right,s);if(c.type==="record"||c.type==="map")return $g(c.keyType,s)||$g(c.valueType,s);if(c.type==="pipe")return $g(c.in,s)||$g(c.out,s);if(c.type==="object"){for(const d in c.shape)if($g(c.shape[d],s))return!0;return!1}if(c.type==="union"){for(const d of c.options)if($g(d,s))return!0;return!1}if(c.type==="tuple"){for(const d of c.items)if($g(d,s))return!0;return!!(c.rest&&$g(c.rest,s))}return!1}const YGn=(n,i={})=>s=>{const c=$Vt({...s,processors:i});return gd(n,c),BVt(c,n),UVt(c,n)},use=(n,i,s={})=>c=>{const{libraryOptions:d,target:g}=c??{},b=$Vt({...d??{},target:g,io:i,processors:s});return gd(n,b),BVt(b,n),UVt(b,n)},JGn={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},XGn=(n,i,s,c)=>{const d=s;d.type="string";const{minimum:g,maximum:b,format:w,patterns:E,contentEncoding:S}=n._zod.bag;if(typeof g=="number"&&(d.minLength=g),typeof b=="number"&&(d.maxLength=b),w&&(d.format=JGn[w]??w,d.format===""&&delete d.format,w==="time"&&delete d.format),S&&(d.contentEncoding=S),E&&E.size>0){const _=[...E];_.length===1?d.pattern=_[0].source:_.length>1&&(d.allOf=[..._.map(A=>({...i.target==="draft-07"||i.target==="draft-04"||i.target==="openapi-3.0"?{type:"string"}:{},pattern:A.source}))])}},ZGn=(n,i,s,c)=>{const d=s,{minimum:g,maximum:b,format:w,multipleOf:E,exclusiveMaximum:S,exclusiveMinimum:_}=n._zod.bag;typeof w=="string"&&w.includes("int")?d.type="integer":d.type="number",typeof _=="number"&&(i.target==="draft-04"||i.target==="openapi-3.0"?(d.minimum=_,d.exclusiveMinimum=!0):d.exclusiveMinimum=_),typeof g=="number"&&(d.minimum=g,typeof _=="number"&&i.target!=="draft-04"&&(_>=g?delete d.minimum:delete d.exclusiveMinimum)),typeof S=="number"&&(i.target==="draft-04"||i.target==="openapi-3.0"?(d.maximum=S,d.exclusiveMaximum=!0):d.exclusiveMaximum=S),typeof b=="number"&&(d.maximum=b,typeof S=="number"&&i.target!=="draft-04"&&(S<=b?delete d.maximum:delete d.exclusiveMaximum)),typeof E=="number"&&(d.multipleOf=E)},QGn=(n,i,s,c)=>{s.type="boolean"},eqn=(n,i,s,c)=>{i.target==="openapi-3.0"?(s.type="string",s.nullable=!0,s.enum=[null]):s.type="null"},tqn=(n,i,s,c)=>{s.not={}},nqn=(n,i,s,c)=>{},rqn=(n,i,s,c)=>{},iqn=(n,i,s,c)=>{const d=n._zod.def,g=wVt(d.entries);g.every(b=>typeof b=="number")&&(s.type="number"),g.every(b=>typeof b=="string")&&(s.type="string"),s.enum=g},oqn=(n,i,s,c)=>{const d=n._zod.def,g=[];for(const b of d.values)if(b===void 0){if(i.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof b=="bigint"){if(i.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");g.push(Number(b))}else g.push(b);if(g.length!==0)if(g.length===1){const b=g[0];s.type=b===null?"null":typeof b,i.target==="draft-04"||i.target==="openapi-3.0"?s.enum=[b]:s.const=b}else g.every(b=>typeof b=="number")&&(s.type="number"),g.every(b=>typeof b=="string")&&(s.type="string"),g.every(b=>typeof b=="boolean")&&(s.type="boolean"),g.every(b=>b===null)&&(s.type="null"),s.enum=g},sqn=(n,i,s,c)=>{if(i.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},aqn=(n,i,s,c)=>{if(i.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},cqn=(n,i,s,c)=>{const d=s,g=n._zod.def,{minimum:b,maximum:w}=n._zod.bag;typeof b=="number"&&(d.minItems=b),typeof w=="number"&&(d.maxItems=w),d.type="array",d.items=gd(g.element,i,{...c,path:[...c.path,"items"]})},uqn=(n,i,s,c)=>{var S;const d=s,g=n._zod.def;d.type="object",d.properties={};const b=g.shape;for(const _ in b)d.properties[_]=gd(b[_],i,{...c,path:[...c.path,"properties",_]});const w=new Set(Object.keys(b)),E=new Set([...w].filter(_=>{const A=g.shape[_]._zod;return i.io==="input"?A.optin===void 0:A.optout===void 0}));E.size>0&&(d.required=Array.from(E)),((S=g.catchall)==null?void 0:S._zod.def.type)==="never"?d.additionalProperties=!1:g.catchall?g.catchall&&(d.additionalProperties=gd(g.catchall,i,{...c,path:[...c.path,"additionalProperties"]})):i.io==="output"&&(d.additionalProperties=!1)},lqn=(n,i,s,c)=>{const d=n._zod.def,g=d.inclusive===!1,b=d.options.map((w,E)=>gd(w,i,{...c,path:[...c.path,g?"oneOf":"anyOf",E]}));g?s.oneOf=b:s.anyOf=b},dqn=(n,i,s,c)=>{const d=n._zod.def,g=gd(d.left,i,{...c,path:[...c.path,"allOf",0]}),b=gd(d.right,i,{...c,path:[...c.path,"allOf",1]}),w=S=>"allOf"in S&&Object.keys(S).length===1,E=[...w(g)?g.allOf:[g],...w(b)?b.allOf:[b]];s.allOf=E},fqn=(n,i,s,c)=>{const d=s,g=n._zod.def;d.type="object";const b=g.keyType,w=b._zod.bag,E=w==null?void 0:w.patterns;if(g.mode==="loose"&&E&&E.size>0){const _=gd(g.valueType,i,{...c,path:[...c.path,"patternProperties","*"]});d.patternProperties={};for(const A of E)d.patternProperties[A.source]=_}else(i.target==="draft-07"||i.target==="draft-2020-12")&&(d.propertyNames=gd(g.keyType,i,{...c,path:[...c.path,"propertyNames"]})),d.additionalProperties=gd(g.valueType,i,{...c,path:[...c.path,"additionalProperties"]});const S=b._zod.values;if(S){const _=[...S].filter(A=>typeof A=="string"||typeof A=="number");_.length>0&&(d.required=_)}},hqn=(n,i,s,c)=>{const d=n._zod.def,g=gd(d.innerType,i,c),b=i.seen.get(n);i.target==="openapi-3.0"?(b.ref=d.innerType,s.nullable=!0):s.anyOf=[g,{type:"null"}]},pqn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType},gqn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,s.default=JSON.parse(JSON.stringify(d.defaultValue))},bqn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,i.io==="input"&&(s._prefault=JSON.parse(JSON.stringify(d.defaultValue)))},mqn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType;let b;try{b=d.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}s.default=b},wqn=(n,i,s,c)=>{const d=n._zod.def,g=i.io==="input"?d.in._zod.def.type==="transform"?d.out:d.in:d.out;gd(g,i,c);const b=i.seen.get(n);b.ref=g},yqn=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType,s.readOnly=!0},HVt=(n,i,s,c)=>{const d=n._zod.def;gd(d.innerType,i,c);const g=i.seen.get(n);g.ref=d.innerType},vqn=(n,i,s,c)=>{const d=n._zod.innerType;gd(d,i,c);const g=i.seen.get(n);g.ref=d},Eqn=un("ZodISODateTime",(n,i)=>{pzn.init(n,i),hl.init(n,i)});function Sqn(n){return TGn(Eqn,n)}const Tqn=un("ZodISODate",(n,i)=>{gzn.init(n,i),hl.init(n,i)});function Aqn(n){return AGn(Tqn,n)}const _qn=un("ZodISOTime",(n,i)=>{bzn.init(n,i),hl.init(n,i)});function xqn(n){return _Gn(_qn,n)}const kqn=un("ZodISODuration",(n,i)=>{mzn.init(n,i),hl.init(n,i)});function Nqn(n){return xGn(kqn,n)}const zVt=(n,i)=>{SVt.init(n,i),n.name="ZodError",Object.defineProperties(n,{format:{value:s=>sHn(n,s)},flatten:{value:s=>oHn(n,s)},addIssue:{value:s=>{n.issues.push(s),n.message=JSON.stringify(n.issues,FDe,2)}},addIssues:{value:s=>{n.issues.push(...s),n.message=JSON.stringify(n.issues,FDe,2)}},isEmpty:{get(){return n.issues.length===0}}})},Cqn=un("ZodError",zVt),Iw=un("ZodError",zVt,{Parent:Error}),Iqn=mMe(Iw),Rqn=wMe(Iw),Oqn=Nae(Iw),Dqn=Cae(Iw),Lqn=uHn(Iw),Mqn=lHn(Iw),Pqn=dHn(Iw),jqn=fHn(Iw),Fqn=hHn(Iw),$qn=pHn(Iw),Bqn=gHn(Iw),Uqn=bHn(Iw),Yc=un("ZodType",(n,i)=>(Kc.init(n,i),Object.assign(n["~standard"],{jsonSchema:{input:use(n,"input"),output:use(n,"output")}}),n.toJSONSchema=YGn(n,{}),n.def=i,n.type=i.type,Object.defineProperty(n,"_def",{value:i}),n.check=(...s)=>n.clone(TN(i,{checks:[...i.checks??[],...s.map(c=>typeof c=="function"?{_zod:{check:c,def:{check:"custom"},onattach:[]}}:c)]}),{parent:!0}),n.with=n.check,n.clone=(s,c)=>AN(n,s,c),n.brand=()=>n,n.register=(s,c)=>(s.add(n,c),n),n.parse=(s,c)=>Iqn(n,s,c,{callee:n.parse}),n.safeParse=(s,c)=>Oqn(n,s,c),n.parseAsync=async(s,c)=>Rqn(n,s,c,{callee:n.parseAsync}),n.safeParseAsync=async(s,c)=>Dqn(n,s,c),n.spa=n.safeParseAsync,n.encode=(s,c)=>Lqn(n,s,c),n.decode=(s,c)=>Mqn(n,s,c),n.encodeAsync=async(s,c)=>Pqn(n,s,c),n.decodeAsync=async(s,c)=>jqn(n,s,c),n.safeEncode=(s,c)=>Fqn(n,s,c),n.safeDecode=(s,c)=>$qn(n,s,c),n.safeEncodeAsync=async(s,c)=>Bqn(n,s,c),n.safeDecodeAsync=async(s,c)=>Uqn(n,s,c),n.refine=(s,c)=>n.check(FVn(s,c)),n.superRefine=s=>n.check($Vn(s)),n.overwrite=s=>n.check(HM(s)),n.optional=()=>j8t(n),n.exactOptional=()=>AVn(n),n.nullable=()=>F8t(n),n.nullish=()=>j8t(F8t(n)),n.nonoptional=s=>IVn(n,s),n.array=()=>hs(n),n.or=s=>to([n,s]),n.and=s=>wVn(n,s),n.transform=s=>$8t(n,SVn(s)),n.default=s=>kVn(n,s),n.prefault=s=>CVn(n,s),n.catch=s=>OVn(n,s),n.pipe=s=>$8t(n,s),n.readonly=()=>MVn(n),n.describe=s=>{const c=n.clone();return QU.add(c,{description:s}),c},Object.defineProperty(n,"description",{get(){var s;return(s=QU.get(n))==null?void 0:s.description},configurable:!0}),n.meta=(...s)=>{if(s.length===0)return QU.get(n);const c=n.clone();return QU.add(c,s[0]),c},n.isOptional=()=>n.safeParse(void 0).success,n.isNullable=()=>n.safeParse(null).success,n.apply=s=>s(n),n)),GVt=un("_ZodString",(n,i)=>{yMe.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(c,d,g)=>XGn(n,c,d);const s=n._zod.bag;n.format=s.format??null,n.minLength=s.minimum??null,n.maxLength=s.maximum??null,n.regex=(...c)=>n.check(LGn(...c)),n.includes=(...c)=>n.check(jGn(...c)),n.startsWith=(...c)=>n.check(FGn(...c)),n.endsWith=(...c)=>n.check($Gn(...c)),n.min=(...c)=>n.check(cse(...c)),n.max=(...c)=>n.check(jVt(...c)),n.length=(...c)=>n.check(FVt(...c)),n.nonempty=(...c)=>n.check(cse(1,...c)),n.lowercase=c=>n.check(MGn(c)),n.uppercase=c=>n.check(PGn(c)),n.trim=()=>n.check(UGn()),n.normalize=(...c)=>n.check(BGn(...c)),n.toLowerCase=()=>n.check(HGn()),n.toUpperCase=()=>n.check(zGn()),n.slugify=()=>n.check(GGn())}),Hqn=un("ZodString",(n,i)=>{yMe.init(n,i),GVt.init(n,i),n.email=s=>n.check(nGn(zqn,s)),n.url=s=>n.check(aGn(Gqn,s)),n.jwt=s=>n.check(SGn(oVn,s)),n.emoji=s=>n.check(cGn(qqn,s)),n.guid=s=>n.check(I8t(L8t,s)),n.uuid=s=>n.check(rGn(Die,s)),n.uuidv4=s=>n.check(iGn(Die,s)),n.uuidv6=s=>n.check(oGn(Die,s)),n.uuidv7=s=>n.check(sGn(Die,s)),n.nanoid=s=>n.check(uGn(Vqn,s)),n.guid=s=>n.check(I8t(L8t,s)),n.cuid=s=>n.check(lGn(Wqn,s)),n.cuid2=s=>n.check(dGn(Kqn,s)),n.ulid=s=>n.check(fGn(Yqn,s)),n.base64=s=>n.check(yGn(nVn,s)),n.base64url=s=>n.check(vGn(rVn,s)),n.xid=s=>n.check(hGn(Jqn,s)),n.ksuid=s=>n.check(pGn(Xqn,s)),n.ipv4=s=>n.check(gGn(Zqn,s)),n.ipv6=s=>n.check(bGn(Qqn,s)),n.cidrv4=s=>n.check(mGn(eVn,s)),n.cidrv6=s=>n.check(wGn(tVn,s)),n.e164=s=>n.check(EGn(iVn,s)),n.datetime=s=>n.check(Sqn(s)),n.date=s=>n.check(Aqn(s)),n.time=s=>n.check(xqn(s)),n.duration=s=>n.check(Nqn(s))});function Zt(n){return tGn(Hqn,n)}const hl=un("ZodStringFormat",(n,i)=>{Pu.init(n,i),GVt.init(n,i)}),zqn=un("ZodEmail",(n,i)=>{ozn.init(n,i),hl.init(n,i)}),L8t=un("ZodGUID",(n,i)=>{rzn.init(n,i),hl.init(n,i)}),Die=un("ZodUUID",(n,i)=>{izn.init(n,i),hl.init(n,i)}),Gqn=un("ZodURL",(n,i)=>{szn.init(n,i),hl.init(n,i)}),qqn=un("ZodEmoji",(n,i)=>{azn.init(n,i),hl.init(n,i)}),Vqn=un("ZodNanoID",(n,i)=>{czn.init(n,i),hl.init(n,i)}),Wqn=un("ZodCUID",(n,i)=>{uzn.init(n,i),hl.init(n,i)}),Kqn=un("ZodCUID2",(n,i)=>{lzn.init(n,i),hl.init(n,i)}),Yqn=un("ZodULID",(n,i)=>{dzn.init(n,i),hl.init(n,i)}),Jqn=un("ZodXID",(n,i)=>{fzn.init(n,i),hl.init(n,i)}),Xqn=un("ZodKSUID",(n,i)=>{hzn.init(n,i),hl.init(n,i)}),Zqn=un("ZodIPv4",(n,i)=>{wzn.init(n,i),hl.init(n,i)}),Qqn=un("ZodIPv6",(n,i)=>{yzn.init(n,i),hl.init(n,i)}),eVn=un("ZodCIDRv4",(n,i)=>{vzn.init(n,i),hl.init(n,i)}),tVn=un("ZodCIDRv6",(n,i)=>{Ezn.init(n,i),hl.init(n,i)}),nVn=un("ZodBase64",(n,i)=>{Szn.init(n,i),hl.init(n,i)}),rVn=un("ZodBase64URL",(n,i)=>{Azn.init(n,i),hl.init(n,i)}),iVn=un("ZodE164",(n,i)=>{_zn.init(n,i),hl.init(n,i)}),oVn=un("ZodJWT",(n,i)=>{kzn.init(n,i),hl.init(n,i)}),qVt=un("ZodNumber",(n,i)=>{OVt.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(c,d,g)=>ZGn(n,c,d),n.gt=(c,d)=>n.check(O8t(c,d)),n.gte=(c,d)=>n.check(dIe(c,d)),n.min=(c,d)=>n.check(dIe(c,d)),n.lt=(c,d)=>n.check(R8t(c,d)),n.lte=(c,d)=>n.check(lIe(c,d)),n.max=(c,d)=>n.check(lIe(c,d)),n.int=c=>n.check(M8t(c)),n.safe=c=>n.check(M8t(c)),n.positive=c=>n.check(O8t(0,c)),n.nonnegative=c=>n.check(dIe(0,c)),n.negative=c=>n.check(R8t(0,c)),n.nonpositive=c=>n.check(lIe(0,c)),n.multipleOf=(c,d)=>n.check(D8t(c,d)),n.step=(c,d)=>n.check(D8t(c,d)),n.finite=()=>n;const s=n._zod.bag;n.minValue=Math.max(s.minimum??Number.NEGATIVE_INFINITY,s.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,n.maxValue=Math.min(s.maximum??Number.POSITIVE_INFINITY,s.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,n.isInt=(s.format??"").includes("int")||Number.isSafeInteger(s.multipleOf??.5),n.isFinite=!0,n.format=s.format??null});function pa(n){return kGn(qVt,n)}const sVn=un("ZodNumberFormat",(n,i)=>{Nzn.init(n,i),qVt.init(n,i)});function M8t(n){return NGn(sVn,n)}const aVn=un("ZodBoolean",(n,i)=>{Czn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>QGn(n,s,c)});function Sw(n){return CGn(aVn,n)}const cVn=un("ZodNull",(n,i)=>{Izn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>eqn(n,s,c)});function P8t(n){return IGn(cVn,n)}const uVn=un("ZodAny",(n,i)=>{Rzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>nqn()});function lVn(){return RGn(uVn)}const dVn=un("ZodUnknown",(n,i)=>{Ozn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>rqn()});function Dc(){return OGn(dVn)}const fVn=un("ZodNever",(n,i)=>{Dzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>tqn(n,s,c)});function hVn(n){return DGn(fVn,n)}const pVn=un("ZodArray",(n,i)=>{Lzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>cqn(n,s,c,d),n.element=i.element,n.min=(s,c)=>n.check(cse(s,c)),n.nonempty=s=>n.check(cse(1,s)),n.max=(s,c)=>n.check(jVt(s,c)),n.length=(s,c)=>n.check(FVt(s,c)),n.unwrap=()=>n.element});function hs(n,i){return qGn(pVn,n,i)}const VVt=un("ZodObject",(n,i)=>{Pzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>uqn(n,s,c,d),Ys(n,"shape",()=>i.shape),n.keyof=()=>Gg(Object.keys(n._zod.def.shape)),n.catchall=s=>n.clone({...n._zod.def,catchall:s}),n.passthrough=()=>n.clone({...n._zod.def,catchall:Dc()}),n.loose=()=>n.clone({...n._zod.def,catchall:Dc()}),n.strict=()=>n.clone({...n._zod.def,catchall:hVn()}),n.strip=()=>n.clone({...n._zod.def,catchall:void 0}),n.extend=s=>eHn(n,s),n.safeExtend=s=>tHn(n,s),n.merge=s=>nHn(n,s),n.pick=s=>ZUn(n,s),n.omit=s=>QUn(n,s),n.partial=(...s)=>rHn(KVt,n,s[0]),n.required=(...s)=>iHn(YVt,n,s[0])});function Sc(n,i){const s={type:"object",shape:n??{},...vi(i)};return new VVt(s)}function Hp(n,i){return new VVt({type:"object",shape:n,catchall:Dc(),...vi(i)})}const WVt=un("ZodUnion",(n,i)=>{MVt.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>lqn(n,s,c,d),n.options=i.options});function to(n,i){return new WVt({type:"union",options:n,...vi(i)})}const gVn=un("ZodDiscriminatedUnion",(n,i)=>{WVt.init(n,i),jzn.init(n,i)});function bVn(n,i,s){return new gVn({type:"union",options:i,discriminator:n,...vi(s)})}const mVn=un("ZodIntersection",(n,i)=>{Fzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>dqn(n,s,c,d)});function wVn(n,i){return new mVn({type:"intersection",left:n,right:i})}const yVn=un("ZodRecord",(n,i)=>{$zn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>fqn(n,s,c,d),n.keyType=i.keyType,n.valueType=i.valueType});function yf(n,i,s){return new yVn({type:"record",keyType:n,valueType:i,...vi(s)})}const BDe=un("ZodEnum",(n,i)=>{Bzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(c,d,g)=>iqn(n,c,d),n.enum=i.entries,n.options=Object.values(i.entries);const s=new Set(Object.keys(i.entries));n.extract=(c,d)=>{const g={};for(const b of c)if(s.has(b))g[b]=i.entries[b];else throw new Error(`Key ${b} not found in enum`);return new BDe({...i,checks:[],...vi(d),entries:g})},n.exclude=(c,d)=>{const g={...i.entries};for(const b of c)if(s.has(b))delete g[b];else throw new Error(`Key ${b} not found in enum`);return new BDe({...i,checks:[],...vi(d),entries:g})}});function Gg(n,i){const s=Array.isArray(n)?Object.fromEntries(n.map(c=>[c,c])):n;return new BDe({type:"enum",entries:s,...vi(i)})}const vVn=un("ZodLiteral",(n,i)=>{Uzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>oqn(n,s,c),n.values=new Set(i.values),Object.defineProperty(n,"value",{get(){if(i.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return i.values[0]}})});function _N(n,i){return new vVn({type:"literal",values:Array.isArray(n)?n:[n],...vi(i)})}const EVn=un("ZodTransform",(n,i)=>{Hzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>aqn(n,s),n._zod.parse=(s,c)=>{if(c.direction==="backward")throw new bVt(n.constructor.name);s.addIssue=g=>{if(typeof g=="string")s.issues.push(az(g,s.value,i));else{const b=g;b.fatal&&(b.continue=!1),b.code??(b.code="custom"),b.input??(b.input=s.value),b.inst??(b.inst=n),s.issues.push(az(b))}};const d=i.transform(s.value,s);return d instanceof Promise?d.then(g=>(s.value=g,s)):(s.value=d,s)}});function SVn(n){return new EVn({type:"transform",transform:n})}const KVt=un("ZodOptional",(n,i)=>{PVt.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>HVt(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function j8t(n){return new KVt({type:"optional",innerType:n})}const TVn=un("ZodExactOptional",(n,i)=>{zzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>HVt(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function AVn(n){return new TVn({type:"optional",innerType:n})}const _Vn=un("ZodNullable",(n,i)=>{Gzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>hqn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function F8t(n){return new _Vn({type:"nullable",innerType:n})}const xVn=un("ZodDefault",(n,i)=>{qzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>gqn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType,n.removeDefault=n.unwrap});function kVn(n,i){return new xVn({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():vVt(i)}})}const NVn=un("ZodPrefault",(n,i)=>{Vzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>bqn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function CVn(n,i){return new NVn({type:"prefault",innerType:n,get defaultValue(){return typeof i=="function"?i():vVt(i)}})}const YVt=un("ZodNonOptional",(n,i)=>{Wzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>pqn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function IVn(n,i){return new YVt({type:"nonoptional",innerType:n,...vi(i)})}const RVn=un("ZodCatch",(n,i)=>{Kzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>mqn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType,n.removeCatch=n.unwrap});function OVn(n,i){return new RVn({type:"catch",innerType:n,catchValue:typeof i=="function"?i:()=>i})}const DVn=un("ZodPipe",(n,i)=>{Yzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>wqn(n,s,c,d),n.in=i.in,n.out=i.out});function $8t(n,i){return new DVn({type:"pipe",in:n,out:i})}const LVn=un("ZodReadonly",(n,i)=>{Jzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>yqn(n,s,c,d),n.unwrap=()=>n._zod.def.innerType});function MVn(n){return new LVn({type:"readonly",innerType:n})}const PVn=un("ZodLazy",(n,i)=>{Xzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>vqn(n,s,c,d),n.unwrap=()=>n._zod.def.getter()});function vMe(n){return new PVn({type:"lazy",getter:n})}const jVn=un("ZodCustom",(n,i)=>{Zzn.init(n,i),Yc.init(n,i),n._zod.processJSONSchema=(s,c,d)=>sqn(n,s)});function FVn(n,i={}){return VGn(jVn,n,i)}function $Vn(n){return WGn(n)}const Pl={custom:"custom"};Zt().min(1).brand();const B8t=Zt().regex(/^[a-z_]+\.[a-z0-9_]+$/,"Entity ID must be in format: domain.entity_name (e.g., light.living_room)"),zM=Sc({x:pa(),y:pa()});Sc({id:Zt(),type:Gg(["source","target"]),position:Gg(["top","bottom","left","right"])});const BVn=Gg(["single","restart","queued","parallel"]),UVn=Gg(["silent","warning","critical"]),JVt=Sc({id:Zt().min(1),source:Zt().min(1),target:Zt().min(1),sourceHandle:Zt().nullable().optional(),targetHandle:Zt().nullable().optional(),label:Zt().optional(),animated:Sw().optional()});JVt.extend({sourceHandle:Gg(["true","false"])});const HVn=["sun","mon","tue","wed","thu","fri","sat"],Ug=Hp({alias:Zt().optional(),condition:Zt().optional(),enabled:Sw().optional(),entity_id:to([Zt(),hs(Zt())]).optional(),state:to([Zt(),hs(Zt())]).optional(),value_template:Zt().optional(),after:Zt().optional(),before:Zt().optional(),weekday:hs(Gg(HVn)).optional(),after_offset:Zt().optional(),before_offset:Zt().optional(),zone:Zt().optional(),conditions:hs(vMe(()=>Ug)).optional(),above:to([Zt(),pa()]).optional(),below:to([Zt(),pa()]).optional(),attribute:Zt().optional(),id:to([Zt(),hs(Zt())]).optional()});Gg(["event","template","zone","state","time","time_pattern","mqtt","webhook","sun","numeric_state","homeassistant","device","calendar"]);const x5=to([Zt(),hs(Zt())]),zVn=Hp({entity_id:x5.optional(),device_id:x5.optional(),label_id:x5.optional(),area_id:x5.optional(),floor_id:x5.optional()}),gN=Hp({alias:Zt().optional(),platform:Zt().optional(),trigger:Zt().optional(),target:zVn.optional(),options:Hp({}).optional(),entity_id:x5.optional(),from:to([Zt(),hs(Zt()),P8t()]).optional(),to:to([Zt(),hs(Zt()),P8t()]).optional(),for:to([Zt(),pa(),Sc({hours:to([pa(),Zt()]).optional(),minutes:to([pa(),Zt()]).optional(),seconds:to([pa(),Zt()]).optional(),milliseconds:to([pa(),Zt()]).optional()})]).optional(),at:Dc().optional(),offset:Zt().optional(),event:Zt().optional(),event_type:to([Zt(),hs(Zt())]).optional(),event_data:yf(Zt(),Dc()).optional(),above:to([Zt(),pa()]).optional(),below:to([Zt(),pa()]).optional(),value_template:Zt().optional(),template:Zt().optional(),webhook_id:Zt().optional(),zone:Zt().optional(),topic:Zt().optional(),payload:Zt().optional(),command:to([Zt(),hs(Zt())]).optional()}).transform(n=>{const i=n.trigger??n.platform??"state",{platform:s,...c}=n;return{...c,trigger:i}}),U8t=Sc({mode:Gg(["single","restart","queued","parallel"]).default("single"),max:pa().optional(),max_exceeded:Gg(["silent","warning","critical"]).optional(),initial_state:Sw().optional(),hide_entity:Sw().optional(),trace:Sc({stored_traces:pa().optional()}).optional()});function GVn(n){return typeof n=="object"&&n!==null&&("condition"in n||"entity_id"in n||"state"in n)}function EMe(n){return typeof n=="object"&&n!==null&&"type"in n&&"device_id"in n&&"domain"in n}const XVt=Sc({version:pa(),nodes:yf(Zt(),Sc({x:pa(),y:pa()})),graph_id:Zt(),graph_version:pa(),strategy:Gg(["native","state-machine"])}),H8t=vMe(()=>Sc({conditions:to([Ug,hs(Ug)]),sequence:to([$m,hs($m)]),alias:Zt().optional()})),$m=vMe(()=>Hp({service:Zt().optional(),action:Zt().optional(),event:Zt().optional(),event_data:yf(Zt(),Dc()).optional(),id:Zt().optional(),alias:Zt().optional(),target:yf(Zt(),Dc()).optional(),data:yf(Zt(),Dc()).optional(),data_template:yf(Zt(),Dc()).optional(),response_variable:Zt().optional(),continue_on_error:Sw().optional(),enabled:Sw().optional(),delay:to([Zt(),pa(),yf(Zt(),pa())]).optional(),wait_template:to([Zt(),yf(Zt(),Dc())]).optional(),timeout:to([Zt(),pa(),yf(Zt(),pa())]).optional(),continue_on_timeout:Sw().optional(),wait_for_trigger:to([gN,hs(gN)]).optional(),choose:to([H8t,hs(H8t)]).optional(),default:hs($m).optional(),if:hs(Ug).optional(),then:hs($m).optional(),else:hs($m).optional(),variables:yf(Zt(),Dc()).optional(),repeat:Sc({count:to([Zt(),pa()]).optional(),while:hs(Ug).optional(),until:to([Zt(),hs(Zt()),hs(Ug)]).optional(),sequence:hs($m)}).optional()})),qVn=Sc({id:Zt().optional(),alias:Zt().optional(),description:Zt().optional(),trigger_variables:yf(Zt(),Dc()).optional(),trigger:to([gN,hs(gN)]).optional(),condition:to([Ug,hs(Ug)]).optional(),action:to([$m,hs($m)]),mode:Gg(["single","restart","queued","parallel"]).optional().default("single"),max:pa().optional(),max_exceeded:Gg(["silent","warning"]).optional(),initial_state:Sw().optional(),hide_entity:Sw().optional(),trace:yf(Zt(),Dc()).optional(),variables:Sc({_cafe_metadata:XVt.optional()}).catchall(Dc()).optional()});qVn.omit({action:!0}).extend({action:to([$m,hs($m)]).optional(),sequence:to([$m,hs($m)])});const VVn=Hp({id:Zt().optional(),alias:Zt().optional(),delay:to([Zt(),Hp({hours:to([pa(),Zt()]).optional(),minutes:to([pa(),Zt()]).optional(),seconds:to([pa(),Zt()]).optional(),milliseconds:to([pa(),Zt()]).optional()})])}),WVn=Hp({id:Zt().optional(),alias:Zt().optional(),wait_template:Zt().optional(),wait_for_trigger:hs(gN).optional(),timeout:to([Zt(),Hp({hours:to([pa(),Zt()]).optional(),minutes:to([pa(),Zt()]).optional(),seconds:to([pa(),Zt()]).optional(),milliseconds:to([pa(),Zt()]).optional()})]).optional(),continue_on_timeout:Sw().optional()}).refine(n=>n.wait_template===void 0||n.wait_for_trigger===void 0,{message:"Provide either `wait_template` or `wait_for_trigger`, but not both.",path:["wait_template"]}),KVn=Hp({id:Zt().optional(),alias:Zt().optional(),variables:yf(Zt(),Dc())}),YVn=Hp({id:Zt().min(1),type:_N("trigger"),position:zM,data:gN}),JVn=Hp({id:Zt().min(1),type:_N("condition"),position:zM,data:Ug}),XVn=Hp({id:Zt().min(1),type:_N("action"),position:zM,data:$m}),ZVn=Hp({id:Zt().min(1),type:_N("delay"),position:zM,data:VVn}),QVn=Hp({id:Zt().min(1),type:_N("wait"),position:zM,data:WVn}),eWn=Hp({id:Zt().min(1),type:_N("set_variables"),position:zM,data:KVn}),tWn=bVn("type",[YVn,JVn,XVn,ZVn,QVn,eWn]),nWn=Sc({mode:BVn.default("single"),max_exceeded:UVn.optional(),max:pa().positive().optional(),initial_state:Sw().optional(),hide_entity:Sw().optional(),trace:Sc({stored_traces:pa().optional()}).optional()}),rWn=Sc({automation_id:Zt(),entity_id:Zt(),alias:Zt(),node_prefix:Zt(),imported_at:Zt()}),iWn=Sc({mode:_N("merged"),sources:hs(rWn)}),SMe=Sc({id:Zt().uuid(),name:Zt().min(1),description:Zt().optional(),nodes:hs(tWn),edges:hs(JVt),metadata:nWn.optional(),version:_N(1).default(1),userVariables:yf(Zt(),Dc()).optional(),userTriggerVariables:yf(Zt(),Dc()).optional(),workspace:iWn.optional()});function ZVt(n){const i=[],s=new Set(n.nodes.map(b=>b.id));s.size!==n.nodes.length&&i.push("Duplicate node IDs detected");for(const b of n.edges)s.has(b.source)||i.push(`Edge ${b.id} references non-existent source node: ${b.source}`),s.has(b.target)||i.push(`Edge ${b.id} references non-existent target node: ${b.target}`);const c=n.nodes.filter(b=>b.type==="trigger");c.length===0&&i.push("Graph must have at least one trigger node");const d=new Set(n.edges.map(b=>b.target));for(const b of c)d.has(b.id)&&i.push(`Trigger node ${b.id} should not have incoming edges`);const g=new Set(n.nodes.filter(b=>b.type==="condition").map(b=>b.id));for(const b of n.edges)g.has(b.source)&&b.sourceHandle!=="true"&&b.sourceHandle!=="false"&&i.push(`Edge ${b.id} from condition node must have sourceHandle 'true' or 'false', got: ${b.sourceHandle}`);return{valid:i.length===0,errors:i}}Gg(["state","time","time_pattern","event","mqtt","webhook","sun","zone","numeric_state","template","homeassistant","device"]);Gg(["state","numeric_state","template","time","zone","and","or","not","sun","device","trigger"]);Sc({entity_id:to([B8t,hs(B8t)]).optional(),area_id:to([Zt(),hs(Zt())]).optional(),device_id:to([Zt(),hs(Zt())]).optional()}).refine(n=>n.entity_id||n.area_id||n.device_id,{message:"At least one target (entity_id, area_id, or device_id) must be specified"});Sc({entity_id:to([Zt(),hs(Zt())]).optional(),area_id:to([Zt(),hs(Zt())]).optional(),device_id:to([Zt(),hs(Zt())]).optional()}).optional();yf(Zt(),Dc());yf(Zt(),Zt());const oWn=Sc({wait_template:Zt().optional(),wait_for_trigger:hs(lVn()).optional(),timeout:to([Zt(),Sc({})]).optional()}).passthrough().refine(n=>{const i=n.wait_template&&n.wait_template.trim()!=="",s=n.wait_for_trigger&&n.wait_for_trigger.length>0;return i||s},{message:"Wait node requires either a template condition or trigger. Use a Delay node for simple time-based pauses.",path:["_root"]}),sWn=Sc({service:Zt().optional(),event:Zt().optional()}).passthrough().superRefine((n,i)=>{const s=typeof n.event=="string"&&n.event.trim()!=="",c=typeof n.service=="string"&&n.service.trim()!=="";if(!s&&!c){i.addIssue({code:Pl.custom,message:"Either a service (e.g. light.turn_on) or an event name is required",path:["service"]});return}c&&!n.service.includes(".")&&i.addIssue({code:Pl.custom,message:"Service must be in domain.service format (e.g., light.turn_on)",path:["service"]})});function cM(n){return Array.isArray(n)?n.length>0:typeof n=="string"?n.trim()!=="":!1}function aWn(n){return Array.isArray(n)?n.length>0&&n.every(i=>typeof i=="string"&&i.trim()!==""):typeof n=="string"?n.trim()!=="":!1}const cWn=Sc({trigger:Zt().optional(),platform:Zt().optional(),entity_id:Dc().optional(),to:Dc().optional(),from:Dc().optional(),event_type:Zt().optional(),at:Dc().optional(),topic:Zt().optional(),webhook_id:Zt().optional(),device_id:Zt().optional(),zone:Zt().optional(),event:Zt().optional(),value_template:Zt().optional()}).passthrough().superRefine((n,i)=>{const s=n.trigger||n.platform;if(!s||s.trim()===""){i.addIssue({code:Pl.custom,message:"Trigger platform is required",path:["trigger"]});return}switch(s){case"state":cM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for state triggers",path:["entity_id"]});break;case"numeric_state":cM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for numeric state triggers",path:["entity_id"]});break;case"event":(!n.event_type||n.event_type.trim()==="")&&i.addIssue({code:Pl.custom,message:"Event type is required",path:["event_type"]});break;case"time":n.at||i.addIssue({code:Pl.custom,message:"Time value is required",path:["at"]});break;case"mqtt":(!n.topic||n.topic.trim()==="")&&i.addIssue({code:Pl.custom,message:"MQTT topic is required",path:["topic"]});break;case"webhook":(!n.webhook_id||n.webhook_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Webhook ID is required",path:["webhook_id"]});break;case"device":(!n.device_id||n.device_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Device is required",path:["device_id"]});break;case"zone":cM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for zone triggers",path:["entity_id"]}),(!n.zone||n.zone.trim()==="")&&i.addIssue({code:Pl.custom,message:"Zone is required",path:["zone"]});break;case"sun":case"homeassistant":(!n.event||n.event.trim()==="")&&i.addIssue({code:Pl.custom,message:s==="sun"?"Sun event (sunrise/sunset) is required":"Home Assistant event (start/shutdown) is required",path:["event"]});break;case"template":(!n.value_template||n.value_template.trim()==="")&&i.addIssue({code:Pl.custom,message:"Template is required",path:["value_template"]});break}}),uWn=Sc({delay:to([Zt(),Sc({})])}).passthrough().refine(n=>typeof n.delay=="string"?n.delay.trim()!=="":!0,{message:"Delay value is required",path:["delay"]}),lWn=Sc({condition:Zt().min(1,"Condition type is required"),entity_id:Dc().optional(),state:Dc().optional(),value_template:Zt().optional(),zone:Zt().optional(),device_id:Zt().optional(),id:Dc().optional()}).passthrough().superRefine((n,i)=>{switch(n.condition){case"state":cM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for state conditions",path:["entity_id"]}),(!n.state||typeof n.state=="string"&&n.state.trim()==="")&&i.addIssue({code:Pl.custom,message:"State value is required",path:["state"]});break;case"numeric_state":cM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for numeric state conditions",path:["entity_id"]});break;case"trigger":aWn(n.id)||i.addIssue({code:Pl.custom,message:"Trigger ID is required",path:["id"]});break;case"template":(!n.value_template||n.value_template.trim()==="")&&i.addIssue({code:Pl.custom,message:"Template is required",path:["value_template"]});break;case"zone":cM(n.entity_id)||i.addIssue({code:Pl.custom,message:"Entity is required for zone conditions",path:["entity_id"]}),(!n.zone||n.zone.trim()==="")&&i.addIssue({code:Pl.custom,message:"Zone is required",path:["zone"]});break;case"device":(!n.device_id||n.device_id.trim()==="")&&i.addIssue({code:Pl.custom,message:"Device is required",path:["device_id"]});break}}),QVt=["current_node"];function eWt(n){return QVt.includes(n.trim())}const dWn=Sc({variables:yf(Zt(),Dc()).optional()}).passthrough().refine(n=>n.variables?Object.keys(n.variables).length>0:!1,{message:"At least one variable must be defined",path:["variables"]}).refine(n=>!Object.keys(n.variables??{}).some(eWt),{message:`These names are reserved by the transpiler and cannot be used as variables: ${QVt.join(", ")}`,path:["variables"]});function fWn(n){switch(n){case"wait":return oWn;case"action":return sWn;case"trigger":return cWn;case"delay":return uWn;case"condition":return lWn;case"set_variables":return dWn;default:return}}function z8t(n,i){const s=fWn(n);if(!s)return[];const c=s.safeParse(i);return c.success?[]:c.error.issues.map(d=>({path:d.path.map(String),message:d.message}))}function eH(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var fIe,G8t;function hWn(){if(G8t)return fIe;G8t=1;function n(){this.__data__=[],this.size=0}return fIe=n,fIe}var hIe,q8t;function TMe(){if(q8t)return hIe;q8t=1;function n(i,s){return i===s||i!==i&&s!==s}return hIe=n,hIe}var pIe,V8t;function Rae(){if(V8t)return pIe;V8t=1;var n=TMe();function i(s,c){for(var d=s.length;d--;)if(n(s[d][0],c))return d;return-1}return pIe=i,pIe}var gIe,W8t;function pWn(){if(W8t)return gIe;W8t=1;var n=Rae(),i=Array.prototype,s=i.splice;function c(d){var g=this.__data__,b=n(g,d);if(b<0)return!1;var w=g.length-1;return b==w?g.pop():s.call(g,b,1),--this.size,!0}return gIe=c,gIe}var bIe,K8t;function gWn(){if(K8t)return bIe;K8t=1;var n=Rae();function i(s){var c=this.__data__,d=n(c,s);return d<0?void 0:c[d][1]}return bIe=i,bIe}var mIe,Y8t;function bWn(){if(Y8t)return mIe;Y8t=1;var n=Rae();function i(s){return n(this.__data__,s)>-1}return mIe=i,mIe}var wIe,J8t;function mWn(){if(J8t)return wIe;J8t=1;var n=Rae();function i(s,c){var d=this.__data__,g=n(d,s);return g<0?(++this.size,d.push([s,c])):d[g][1]=c,this}return wIe=i,wIe}var yIe,X8t;function Oae(){if(X8t)return yIe;X8t=1;var n=hWn(),i=pWn(),s=gWn(),c=bWn(),d=mWn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=s,g.prototype.has=c,g.prototype.set=d,yIe=g,yIe}var vIe,Z8t;function wWn(){if(Z8t)return vIe;Z8t=1;var n=Oae();function i(){this.__data__=new n,this.size=0}return vIe=i,vIe}var EIe,Q8t;function yWn(){if(Q8t)return EIe;Q8t=1;function n(i){var s=this.__data__,c=s.delete(i);return this.size=s.size,c}return EIe=n,EIe}var SIe,ePt;function vWn(){if(ePt)return SIe;ePt=1;function n(i){return this.__data__.get(i)}return SIe=n,SIe}var TIe,tPt;function EWn(){if(tPt)return TIe;tPt=1;function n(i){return this.__data__.has(i)}return TIe=n,TIe}var AIe,nPt;function tWt(){if(nPt)return AIe;nPt=1;var n=typeof I5=="object"&&I5&&I5.Object===Object&&I5;return AIe=n,AIe}var _Ie,rPt;function Y2(){if(rPt)return _Ie;rPt=1;var n=tWt(),i=typeof self=="object"&&self&&self.Object===Object&&self,s=n||i||Function("return this")();return _Ie=s,_Ie}var xIe,iPt;function GM(){if(iPt)return xIe;iPt=1;var n=Y2(),i=n.Symbol;return xIe=i,xIe}var kIe,oPt;function SWn(){if(oPt)return kIe;oPt=1;var n=GM(),i=Object.prototype,s=i.hasOwnProperty,c=i.toString,d=n?n.toStringTag:void 0;function g(b){var w=s.call(b,d),E=b[d];try{b[d]=void 0;var S=!0}catch{}var _=c.call(b);return S&&(w?b[d]=E:delete b[d]),_}return kIe=g,kIe}var NIe,sPt;function TWn(){if(sPt)return NIe;sPt=1;var n=Object.prototype,i=n.toString;function s(c){return i.call(c)}return NIe=s,NIe}var CIe,aPt;function qM(){if(aPt)return CIe;aPt=1;var n=GM(),i=SWn(),s=TWn(),c="[object Null]",d="[object Undefined]",g=n?n.toStringTag:void 0;function b(w){return w==null?w===void 0?d:c:g&&g in Object(w)?i(w):s(w)}return CIe=b,CIe}var IIe,cPt;function IR(){if(cPt)return IIe;cPt=1;function n(i){var s=typeof i;return i!=null&&(s=="object"||s=="function")}return IIe=n,IIe}var RIe,uPt;function Dae(){if(uPt)return RIe;uPt=1;var n=qM(),i=IR(),s="[object AsyncFunction]",c="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function b(w){if(!i(w))return!1;var E=n(w);return E==c||E==d||E==s||E==g}return RIe=b,RIe}var OIe,lPt;function AWn(){if(lPt)return OIe;lPt=1;var n=Y2(),i=n["__core-js_shared__"];return OIe=i,OIe}var DIe,dPt;function _Wn(){if(dPt)return DIe;dPt=1;var n=AWn(),i=function(){var c=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function s(c){return!!i&&i in c}return DIe=s,DIe}var LIe,fPt;function nWt(){if(fPt)return LIe;fPt=1;var n=Function.prototype,i=n.toString;function s(c){if(c!=null){try{return i.call(c)}catch{}try{return c+""}catch{}}return""}return LIe=s,LIe}var MIe,hPt;function xWn(){if(hPt)return MIe;hPt=1;var n=Dae(),i=_Wn(),s=IR(),c=nWt(),d=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,b=Function.prototype,w=Object.prototype,E=b.toString,S=w.hasOwnProperty,_=RegExp("^"+E.call(S).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function A(C){if(!s(C)||i(C))return!1;var O=n(C)?_:g;return O.test(c(C))}return MIe=A,MIe}var PIe,pPt;function kWn(){if(pPt)return PIe;pPt=1;function n(i,s){return i==null?void 0:i[s]}return PIe=n,PIe}var jIe,gPt;function RR(){if(gPt)return jIe;gPt=1;var n=xWn(),i=kWn();function s(c,d){var g=i(c,d);return n(g)?g:void 0}return jIe=s,jIe}var FIe,bPt;function AMe(){if(bPt)return FIe;bPt=1;var n=RR(),i=Y2(),s=n(i,"Map");return FIe=s,FIe}var $Ie,mPt;function Lae(){if(mPt)return $Ie;mPt=1;var n=RR(),i=n(Object,"create");return $Ie=i,$Ie}var BIe,wPt;function NWn(){if(wPt)return BIe;wPt=1;var n=Lae();function i(){this.__data__=n?n(null):{},this.size=0}return BIe=i,BIe}var UIe,yPt;function CWn(){if(yPt)return UIe;yPt=1;function n(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}return UIe=n,UIe}var HIe,vPt;function IWn(){if(vPt)return HIe;vPt=1;var n=Lae(),i="__lodash_hash_undefined__",s=Object.prototype,c=s.hasOwnProperty;function d(g){var b=this.__data__;if(n){var w=b[g];return w===i?void 0:w}return c.call(b,g)?b[g]:void 0}return HIe=d,HIe}var zIe,EPt;function RWn(){if(EPt)return zIe;EPt=1;var n=Lae(),i=Object.prototype,s=i.hasOwnProperty;function c(d){var g=this.__data__;return n?g[d]!==void 0:s.call(g,d)}return zIe=c,zIe}var GIe,SPt;function OWn(){if(SPt)return GIe;SPt=1;var n=Lae(),i="__lodash_hash_undefined__";function s(c,d){var g=this.__data__;return this.size+=this.has(c)?0:1,g[c]=n&&d===void 0?i:d,this}return GIe=s,GIe}var qIe,TPt;function DWn(){if(TPt)return qIe;TPt=1;var n=NWn(),i=CWn(),s=IWn(),c=RWn(),d=OWn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=s,g.prototype.has=c,g.prototype.set=d,qIe=g,qIe}var VIe,APt;function LWn(){if(APt)return VIe;APt=1;var n=DWn(),i=Oae(),s=AMe();function c(){this.size=0,this.__data__={hash:new n,map:new(s||i),string:new n}}return VIe=c,VIe}var WIe,_Pt;function MWn(){if(_Pt)return WIe;_Pt=1;function n(i){var s=typeof i;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?i!=="__proto__":i===null}return WIe=n,WIe}var KIe,xPt;function Mae(){if(xPt)return KIe;xPt=1;var n=MWn();function i(s,c){var d=s.__data__;return n(c)?d[typeof c=="string"?"string":"hash"]:d.map}return KIe=i,KIe}var YIe,kPt;function PWn(){if(kPt)return YIe;kPt=1;var n=Mae();function i(s){var c=n(this,s).delete(s);return this.size-=c?1:0,c}return YIe=i,YIe}var JIe,NPt;function jWn(){if(NPt)return JIe;NPt=1;var n=Mae();function i(s){return n(this,s).get(s)}return JIe=i,JIe}var XIe,CPt;function FWn(){if(CPt)return XIe;CPt=1;var n=Mae();function i(s){return n(this,s).has(s)}return XIe=i,XIe}var ZIe,IPt;function $Wn(){if(IPt)return ZIe;IPt=1;var n=Mae();function i(s,c){var d=n(this,s),g=d.size;return d.set(s,c),this.size+=d.size==g?0:1,this}return ZIe=i,ZIe}var QIe,RPt;function _Me(){if(RPt)return QIe;RPt=1;var n=LWn(),i=PWn(),s=jWn(),c=FWn(),d=$Wn();function g(b){var w=-1,E=b==null?0:b.length;for(this.clear();++w<E;){var S=b[w];this.set(S[0],S[1])}}return g.prototype.clear=n,g.prototype.delete=i,g.prototype.get=s,g.prototype.has=c,g.prototype.set=d,QIe=g,QIe}var e4e,OPt;function BWn(){if(OPt)return e4e;OPt=1;var n=Oae(),i=AMe(),s=_Me(),c=200;function d(g,b){var w=this.__data__;if(w instanceof n){var E=w.__data__;if(!i||E.length<c-1)return E.push([g,b]),this.size=++w.size,this;w=this.__data__=new s(E)}return w.set(g,b),this.size=w.size,this}return e4e=d,e4e}var t4e,DPt;function xMe(){if(DPt)return t4e;DPt=1;var n=Oae(),i=wWn(),s=yWn(),c=vWn(),d=EWn(),g=BWn();function b(w){var E=this.__data__=new n(w);this.size=E.size}return b.prototype.clear=i,b.prototype.delete=s,b.prototype.get=c,b.prototype.has=d,b.prototype.set=g,t4e=b,t4e}var n4e,LPt;function kMe(){if(LPt)return n4e;LPt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length;++c<d&&s(i[c],c,i)!==!1;);return i}return n4e=n,n4e}var r4e,MPt;function rWt(){if(MPt)return r4e;MPt=1;var n=RR(),i=function(){try{var s=n(Object,"defineProperty");return s({},"",{}),s}catch{}}();return r4e=i,r4e}var i4e,PPt;function iWt(){if(PPt)return i4e;PPt=1;var n=rWt();function i(s,c,d){c=="__proto__"&&n?n(s,c,{configurable:!0,enumerable:!0,value:d,writable:!0}):s[c]=d}return i4e=i,i4e}var o4e,jPt;function oWt(){if(jPt)return o4e;jPt=1;var n=iWt(),i=TMe(),s=Object.prototype,c=s.hasOwnProperty;function d(g,b,w){var E=g[b];(!(c.call(g,b)&&i(E,w))||w===void 0&&!(b in g))&&n(g,b,w)}return o4e=d,o4e}var s4e,FPt;function Pae(){if(FPt)return s4e;FPt=1;var n=oWt(),i=iWt();function s(c,d,g,b){var w=!g;g||(g={});for(var E=-1,S=d.length;++E<S;){var _=d[E],A=b?b(g[_],c[_],_,g,c):void 0;A===void 0&&(A=c[_]),w?i(g,_,A):n(g,_,A)}return g}return s4e=s,s4e}var a4e,$Pt;function UWn(){if($Pt)return a4e;$Pt=1;function n(i,s){for(var c=-1,d=Array(i);++c<i;)d[c]=s(c);return d}return a4e=n,a4e}var c4e,BPt;function xA(){if(BPt)return c4e;BPt=1;function n(i){return i!=null&&typeof i=="object"}return c4e=n,c4e}var u4e,UPt;function HWn(){if(UPt)return u4e;UPt=1;var n=qM(),i=xA(),s="[object Arguments]";function c(d){return i(d)&&n(d)==s}return u4e=c,u4e}var l4e,HPt;function jae(){if(HPt)return l4e;HPt=1;var n=HWn(),i=xA(),s=Object.prototype,c=s.hasOwnProperty,d=s.propertyIsEnumerable,g=n(function(){return arguments}())?n:function(b){return i(b)&&c.call(b,"callee")&&!d.call(b,"callee")};return l4e=g,l4e}var d4e,zPt;function ih(){if(zPt)return d4e;zPt=1;var n=Array.isArray;return d4e=n,d4e}var tH={exports:{}},f4e,GPt;function zWn(){if(GPt)return f4e;GPt=1;function n(){return!1}return f4e=n,f4e}tH.exports;var qPt;function jz(){return qPt||(qPt=1,function(n,i){var s=Y2(),c=zWn(),d=i&&!i.nodeType&&i,g=d&&!0&&n&&!n.nodeType&&n,b=g&&g.exports===d,w=b?s.Buffer:void 0,E=w?w.isBuffer:void 0,S=E||c;n.exports=S}(tH,tH.exports)),tH.exports}var h4e,VPt;function sWt(){if(VPt)return h4e;VPt=1;var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function s(c,d){var g=typeof c;return d=d??n,!!d&&(g=="number"||g!="symbol"&&i.test(c))&&c>-1&&c%1==0&&c<d}return h4e=s,h4e}var p4e,WPt;function NMe(){if(WPt)return p4e;WPt=1;var n=9007199254740991;function i(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=n}return p4e=i,p4e}var g4e,KPt;function GWn(){if(KPt)return g4e;KPt=1;var n=qM(),i=NMe(),s=xA(),c="[object Arguments]",d="[object Array]",g="[object Boolean]",b="[object Date]",w="[object Error]",E="[object Function]",S="[object Map]",_="[object Number]",A="[object Object]",C="[object RegExp]",O="[object Set]",L="[object String]",D="[object WeakMap]",B="[object ArrayBuffer]",$="[object DataView]",P="[object Float32Array]",j="[object Float64Array]",z="[object Int8Array]",ee="[object Int16Array]",ne="[object Int32Array]",Q="[object Uint8Array]",ae="[object Uint8ClampedArray]",he="[object Uint16Array]",pe="[object Uint32Array]",ue={};ue[P]=ue[j]=ue[z]=ue[ee]=ue[ne]=ue[Q]=ue[ae]=ue[he]=ue[pe]=!0,ue[c]=ue[d]=ue[B]=ue[g]=ue[$]=ue[b]=ue[w]=ue[E]=ue[S]=ue[_]=ue[A]=ue[C]=ue[O]=ue[L]=ue[D]=!1;function fe(K){return s(K)&&i(K.length)&&!!ue[n(K)]}return g4e=fe,g4e}var b4e,YPt;function CMe(){if(YPt)return b4e;YPt=1;function n(i){return function(s){return i(s)}}return b4e=n,b4e}var nH={exports:{}};nH.exports;var JPt;function IMe(){return JPt||(JPt=1,function(n,i){var s=tWt(),c=i&&!i.nodeType&&i,d=c&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===c,b=g&&s.process,w=function(){try{var E=d&&d.require&&d.require("util").types;return E||b&&b.binding&&b.binding("util")}catch{}}();n.exports=w}(nH,nH.exports)),nH.exports}var m4e,XPt;function Fae(){if(XPt)return m4e;XPt=1;var n=GWn(),i=CMe(),s=IMe(),c=s&&s.isTypedArray,d=c?i(c):n;return m4e=d,m4e}var w4e,ZPt;function aWt(){if(ZPt)return w4e;ZPt=1;var n=UWn(),i=jae(),s=ih(),c=jz(),d=sWt(),g=Fae(),b=Object.prototype,w=b.hasOwnProperty;function E(S,_){var A=s(S),C=!A&&i(S),O=!A&&!C&&c(S),L=!A&&!C&&!O&&g(S),D=A||C||O||L,B=D?n(S.length,String):[],$=B.length;for(var P in S)(_||w.call(S,P))&&!(D&&(P=="length"||O&&(P=="offset"||P=="parent")||L&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||d(P,$)))&&B.push(P);return B}return w4e=E,w4e}var y4e,QPt;function $ae(){if(QPt)return y4e;QPt=1;var n=Object.prototype;function i(s){var c=s&&s.constructor,d=typeof c=="function"&&c.prototype||n;return s===d}return y4e=i,y4e}var v4e,ejt;function cWt(){if(ejt)return v4e;ejt=1;function n(i,s){return function(c){return i(s(c))}}return v4e=n,v4e}var E4e,tjt;function qWn(){if(tjt)return E4e;tjt=1;var n=cWt(),i=n(Object.keys,Object);return E4e=i,E4e}var S4e,njt;function RMe(){if(njt)return S4e;njt=1;var n=$ae(),i=qWn(),s=Object.prototype,c=s.hasOwnProperty;function d(g){if(!n(g))return i(g);var b=[];for(var w in Object(g))c.call(g,w)&&w!="constructor"&&b.push(w);return b}return S4e=d,S4e}var T4e,rjt;function OR(){if(rjt)return T4e;rjt=1;var n=Dae(),i=NMe();function s(c){return c!=null&&i(c.length)&&!n(c)}return T4e=s,T4e}var A4e,ijt;function DR(){if(ijt)return A4e;ijt=1;var n=aWt(),i=RMe(),s=OR();function c(d){return s(d)?n(d):i(d)}return A4e=c,A4e}var _4e,ojt;function VWn(){if(ojt)return _4e;ojt=1;var n=Pae(),i=DR();function s(c,d){return c&&n(d,i(d),c)}return _4e=s,_4e}var x4e,sjt;function WWn(){if(sjt)return x4e;sjt=1;function n(i){var s=[];if(i!=null)for(var c in Object(i))s.push(c);return s}return x4e=n,x4e}var k4e,ajt;function KWn(){if(ajt)return k4e;ajt=1;var n=IR(),i=$ae(),s=WWn(),c=Object.prototype,d=c.hasOwnProperty;function g(b){if(!n(b))return s(b);var w=i(b),E=[];for(var S in b)S=="constructor"&&(w||!d.call(b,S))||E.push(S);return E}return k4e=g,k4e}var N4e,cjt;function OMe(){if(cjt)return N4e;cjt=1;var n=aWt(),i=KWn(),s=OR();function c(d){return s(d)?n(d,!0):i(d)}return N4e=c,N4e}var C4e,ujt;function YWn(){if(ujt)return C4e;ujt=1;var n=Pae(),i=OMe();function s(c,d){return c&&n(d,i(d),c)}return C4e=s,C4e}var rH={exports:{}};rH.exports;var ljt;function JWn(){return ljt||(ljt=1,function(n,i){var s=Y2(),c=i&&!i.nodeType&&i,d=c&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===c,b=g?s.Buffer:void 0,w=b?b.allocUnsafe:void 0;function E(S,_){if(_)return S.slice();var A=S.length,C=w?w(A):new S.constructor(A);return S.copy(C),C}n.exports=E}(rH,rH.exports)),rH.exports}var I4e,djt;function XWn(){if(djt)return I4e;djt=1;function n(i,s){var c=-1,d=i.length;for(s||(s=Array(d));++c<d;)s[c]=i[c];return s}return I4e=n,I4e}var R4e,fjt;function uWt(){if(fjt)return R4e;fjt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length,g=0,b=[];++c<d;){var w=i[c];s(w,c,i)&&(b[g++]=w)}return b}return R4e=n,R4e}var O4e,hjt;function lWt(){if(hjt)return O4e;hjt=1;function n(){return[]}return O4e=n,O4e}var D4e,pjt;function DMe(){if(pjt)return D4e;pjt=1;var n=uWt(),i=lWt(),s=Object.prototype,c=s.propertyIsEnumerable,d=Object.getOwnPropertySymbols,g=d?function(b){return b==null?[]:(b=Object(b),n(d(b),function(w){return c.call(b,w)}))}:i;return D4e=g,D4e}var L4e,gjt;function ZWn(){if(gjt)return L4e;gjt=1;var n=Pae(),i=DMe();function s(c,d){return n(c,i(c),d)}return L4e=s,L4e}var M4e,bjt;function LMe(){if(bjt)return M4e;bjt=1;function n(i,s){for(var c=-1,d=s.length,g=i.length;++c<d;)i[g+c]=s[c];return i}return M4e=n,M4e}var P4e,mjt;function MMe(){if(mjt)return P4e;mjt=1;var n=cWt(),i=n(Object.getPrototypeOf,Object);return P4e=i,P4e}var j4e,wjt;function dWt(){if(wjt)return j4e;wjt=1;var n=LMe(),i=MMe(),s=DMe(),c=lWt(),d=Object.getOwnPropertySymbols,g=d?function(b){for(var w=[];b;)n(w,s(b)),b=i(b);return w}:c;return j4e=g,j4e}var F4e,yjt;function QWn(){if(yjt)return F4e;yjt=1;var n=Pae(),i=dWt();function s(c,d){return n(c,i(c),d)}return F4e=s,F4e}var $4e,vjt;function fWt(){if(vjt)return $4e;vjt=1;var n=LMe(),i=ih();function s(c,d,g){var b=d(c);return i(c)?b:n(b,g(c))}return $4e=s,$4e}var B4e,Ejt;function hWt(){if(Ejt)return B4e;Ejt=1;var n=fWt(),i=DMe(),s=DR();function c(d){return n(d,s,i)}return B4e=c,B4e}var U4e,Sjt;function eKn(){if(Sjt)return U4e;Sjt=1;var n=fWt(),i=dWt(),s=OMe();function c(d){return n(d,s,i)}return U4e=c,U4e}var H4e,Tjt;function tKn(){if(Tjt)return H4e;Tjt=1;var n=RR(),i=Y2(),s=n(i,"DataView");return H4e=s,H4e}var z4e,Ajt;function nKn(){if(Ajt)return z4e;Ajt=1;var n=RR(),i=Y2(),s=n(i,"Promise");return z4e=s,z4e}var G4e,_jt;function pWt(){if(_jt)return G4e;_jt=1;var n=RR(),i=Y2(),s=n(i,"Set");return G4e=s,G4e}var q4e,xjt;function rKn(){if(xjt)return q4e;xjt=1;var n=RR(),i=Y2(),s=n(i,"WeakMap");return q4e=s,q4e}var V4e,kjt;function VM(){if(kjt)return V4e;kjt=1;var n=tKn(),i=AMe(),s=nKn(),c=pWt(),d=rKn(),g=qM(),b=nWt(),w="[object Map]",E="[object Object]",S="[object Promise]",_="[object Set]",A="[object WeakMap]",C="[object DataView]",O=b(n),L=b(i),D=b(s),B=b(c),$=b(d),P=g;return(n&&P(new n(new ArrayBuffer(1)))!=C||i&&P(new i)!=w||s&&P(s.resolve())!=S||c&&P(new c)!=_||d&&P(new d)!=A)&&(P=function(j){var z=g(j),ee=z==E?j.constructor:void 0,ne=ee?b(ee):"";if(ne)switch(ne){case O:return C;case L:return w;case D:return S;case B:return _;case $:return A}return z}),V4e=P,V4e}var W4e,Njt;function iKn(){if(Njt)return W4e;Njt=1;var n=Object.prototype,i=n.hasOwnProperty;function s(c){var d=c.length,g=new c.constructor(d);return d&&typeof c[0]=="string"&&i.call(c,"index")&&(g.index=c.index,g.input=c.input),g}return W4e=s,W4e}var K4e,Cjt;function gWt(){if(Cjt)return K4e;Cjt=1;var n=Y2(),i=n.Uint8Array;return K4e=i,K4e}var Y4e,Ijt;function PMe(){if(Ijt)return Y4e;Ijt=1;var n=gWt();function i(s){var c=new s.constructor(s.byteLength);return new n(c).set(new n(s)),c}return Y4e=i,Y4e}var J4e,Rjt;function oKn(){if(Rjt)return J4e;Rjt=1;var n=PMe();function i(s,c){var d=c?n(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.byteLength)}return J4e=i,J4e}var X4e,Ojt;function sKn(){if(Ojt)return X4e;Ojt=1;var n=/\w*$/;function i(s){var c=new s.constructor(s.source,n.exec(s));return c.lastIndex=s.lastIndex,c}return X4e=i,X4e}var Z4e,Djt;function aKn(){if(Djt)return Z4e;Djt=1;var n=GM(),i=n?n.prototype:void 0,s=i?i.valueOf:void 0;function c(d){return s?Object(s.call(d)):{}}return Z4e=c,Z4e}var Q4e,Ljt;function cKn(){if(Ljt)return Q4e;Ljt=1;var n=PMe();function i(s,c){var d=c?n(s.buffer):s.buffer;return new s.constructor(d,s.byteOffset,s.length)}return Q4e=i,Q4e}var eRe,Mjt;function uKn(){if(Mjt)return eRe;Mjt=1;var n=PMe(),i=oKn(),s=sKn(),c=aKn(),d=cKn(),g="[object Boolean]",b="[object Date]",w="[object Map]",E="[object Number]",S="[object RegExp]",_="[object Set]",A="[object String]",C="[object Symbol]",O="[object ArrayBuffer]",L="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",P="[object Int16Array]",j="[object Int32Array]",z="[object Uint8Array]",ee="[object Uint8ClampedArray]",ne="[object Uint16Array]",Q="[object Uint32Array]";function ae(he,pe,ue){var fe=he.constructor;switch(pe){case O:return n(he);case g:case b:return new fe(+he);case L:return i(he,ue);case D:case B:case $:case P:case j:case z:case ee:case ne:case Q:return d(he,ue);case w:return new fe;case E:case A:return new fe(he);case S:return s(he);case _:return new fe;case C:return c(he)}}return eRe=ae,eRe}var tRe,Pjt;function bWt(){if(Pjt)return tRe;Pjt=1;var n=IR(),i=Object.create,s=function(){function c(){}return function(d){if(!n(d))return{};if(i)return i(d);c.prototype=d;var g=new c;return c.prototype=void 0,g}}();return tRe=s,tRe}var nRe,jjt;function lKn(){if(jjt)return nRe;jjt=1;var n=bWt(),i=MMe(),s=$ae();function c(d){return typeof d.constructor=="function"&&!s(d)?n(i(d)):{}}return nRe=c,nRe}var rRe,Fjt;function dKn(){if(Fjt)return rRe;Fjt=1;var n=VM(),i=xA(),s="[object Map]";function c(d){return i(d)&&n(d)==s}return rRe=c,rRe}var iRe,$jt;function fKn(){if($jt)return iRe;$jt=1;var n=dKn(),i=CMe(),s=IMe(),c=s&&s.isMap,d=c?i(c):n;return iRe=d,iRe}var oRe,Bjt;function hKn(){if(Bjt)return oRe;Bjt=1;var n=VM(),i=xA(),s="[object Set]";function c(d){return i(d)&&n(d)==s}return oRe=c,oRe}var sRe,Ujt;function pKn(){if(Ujt)return sRe;Ujt=1;var n=hKn(),i=CMe(),s=IMe(),c=s&&s.isSet,d=c?i(c):n;return sRe=d,sRe}var aRe,Hjt;function gKn(){if(Hjt)return aRe;Hjt=1;var n=xMe(),i=kMe(),s=oWt(),c=VWn(),d=YWn(),g=JWn(),b=XWn(),w=ZWn(),E=QWn(),S=hWt(),_=eKn(),A=VM(),C=iKn(),O=uKn(),L=lKn(),D=ih(),B=jz(),$=fKn(),P=IR(),j=pKn(),z=DR(),ee=OMe(),ne=1,Q=2,ae=4,he="[object Arguments]",pe="[object Array]",ue="[object Boolean]",fe="[object Date]",K="[object Error]",ge="[object Function]",De="[object GeneratorFunction]",Se="[object Map]",Re="[object Number]",Ae="[object Object]",xe="[object RegExp]",We="[object Set]",ut="[object String]",Be="[object Symbol]",bt="[object WeakMap]",Nt="[object ArrayBuffer]",pt="[object DataView]",Kt="[object Float32Array]",Et="[object Float64Array]",Dt="[object Int8Array]",Yt="[object Int16Array]",Ln="[object Int32Array]",Zn="[object Uint8Array]",Yn="[object Uint8ClampedArray]",Er="[object Uint16Array]",Ui="[object Uint32Array]",Qr={};Qr[he]=Qr[pe]=Qr[Nt]=Qr[pt]=Qr[ue]=Qr[fe]=Qr[Kt]=Qr[Et]=Qr[Dt]=Qr[Yt]=Qr[Ln]=Qr[Se]=Qr[Re]=Qr[Ae]=Qr[xe]=Qr[We]=Qr[ut]=Qr[Be]=Qr[Zn]=Qr[Yn]=Qr[Er]=Qr[Ui]=!0,Qr[K]=Qr[ge]=Qr[bt]=!1;function Hi(ai,ju,Xs,ls,es,Ca){var Ci,mb=ju&ne,Jg=ju&Q,Wh=ju&ae;if(Xs&&(Ci=es?Xs(ai,ls,es,Ca):Xs(ai)),Ci!==void 0)return Ci;if(!P(ai))return ai;var wb=D(ai);if(wb){if(Ci=C(ai),!mb)return b(ai,Ci)}else{var Wp=A(ai),Lw=Wp==ge||Wp==De;if(B(ai))return g(ai,mb);if(Wp==Ae||Wp==he||Lw&&!es){if(Ci=Jg||Lw?{}:L(ai),!mb)return Jg?E(ai,d(Ci,ai)):w(ai,c(Ci,ai))}else{if(!Qr[Wp])return es?ai:{};Ci=O(ai,Wp,mb)}}Ca||(Ca=new n);var Kh=Ca.get(ai);if(Kh)return Kh;Ca.set(ai,Ci),j(ai)?ai.forEach(function(Kp){Ci.add(Hi(Kp,ju,Xs,Kp,ai,Ca))}):$(ai)&&ai.forEach(function(Kp,Zg){Ci.set(Zg,Hi(Kp,ju,Xs,Zg,ai,Ca))});var X2=Wh?Jg?_:S:Jg?ee:z,Xg=wb?void 0:X2(ai);return i(Xg||ai,function(Kp,Zg){Xg&&(Zg=Kp,Kp=ai[Zg]),s(Ci,Zg,Hi(Kp,ju,Xs,Zg,ai,Ca))}),Ci}return aRe=Hi,aRe}var cRe,zjt;function bKn(){if(zjt)return cRe;zjt=1;var n=gKn(),i=4;function s(c){return n(c,i)}return cRe=s,cRe}var uRe,Gjt;function mWt(){if(Gjt)return uRe;Gjt=1;function n(i){return function(){return i}}return uRe=n,uRe}var lRe,qjt;function mKn(){if(qjt)return lRe;qjt=1;function n(i){return function(s,c,d){for(var g=-1,b=Object(s),w=d(s),E=w.length;E--;){var S=w[i?E:++g];if(c(b[S],S,b)===!1)break}return s}}return lRe=n,lRe}var dRe,Vjt;function wKn(){if(Vjt)return dRe;Vjt=1;var n=mKn(),i=n();return dRe=i,dRe}var fRe,Wjt;function wWt(){if(Wjt)return fRe;Wjt=1;var n=wKn(),i=DR();function s(c,d){return c&&n(c,d,i)}return fRe=s,fRe}var hRe,Kjt;function yKn(){if(Kjt)return hRe;Kjt=1;var n=OR();function i(s,c){return function(d,g){if(d==null)return d;if(!n(d))return s(d,g);for(var b=d.length,w=c?b:-1,E=Object(d);(c?w--:++w<b)&&g(E[w],w,E)!==!1;);return d}}return hRe=i,hRe}var pRe,Yjt;function Bae(){if(Yjt)return pRe;Yjt=1;var n=wWt(),i=yKn(),s=i(n);return pRe=s,pRe}var gRe,Jjt;function Uae(){if(Jjt)return gRe;Jjt=1;function n(i){return i}return gRe=n,gRe}var bRe,Xjt;function vKn(){if(Xjt)return bRe;Xjt=1;var n=Uae();function i(s){return typeof s=="function"?s:n}return bRe=i,bRe}var mRe,Zjt;function EKn(){if(Zjt)return mRe;Zjt=1;var n=kMe(),i=Bae(),s=vKn(),c=ih();function d(g,b){var w=c(g)?n:i;return w(g,s(b))}return mRe=d,mRe}var wRe,Qjt;function SKn(){return Qjt||(Qjt=1,wRe=EKn()),wRe}var yRe,eFt;function TKn(){if(eFt)return yRe;eFt=1;var n=Bae();function i(s,c){var d=[];return n(s,function(g,b,w){c(g,b,w)&&d.push(g)}),d}return yRe=i,yRe}var vRe,tFt;function AKn(){if(tFt)return vRe;tFt=1;var n="__lodash_hash_undefined__";function i(s){return this.__data__.set(s,n),this}return vRe=i,vRe}var ERe,nFt;function _Kn(){if(nFt)return ERe;nFt=1;function n(i){return this.__data__.has(i)}return ERe=n,ERe}var SRe,rFt;function yWt(){if(rFt)return SRe;rFt=1;var n=_Me(),i=AKn(),s=_Kn();function c(d){var g=-1,b=d==null?0:d.length;for(this.__data__=new n;++g<b;)this.add(d[g])}return c.prototype.add=c.prototype.push=i,c.prototype.has=s,SRe=c,SRe}var TRe,iFt;function xKn(){if(iFt)return TRe;iFt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length;++c<d;)if(s(i[c],c,i))return!0;return!1}return TRe=n,TRe}var ARe,oFt;function vWt(){if(oFt)return ARe;oFt=1;function n(i,s){return i.has(s)}return ARe=n,ARe}var _Re,sFt;function EWt(){if(sFt)return _Re;sFt=1;var n=yWt(),i=xKn(),s=vWt(),c=1,d=2;function g(b,w,E,S,_,A){var C=E&c,O=b.length,L=w.length;if(O!=L&&!(C&&L>O))return!1;var D=A.get(b),B=A.get(w);if(D&&B)return D==w&&B==b;var $=-1,P=!0,j=E&d?new n:void 0;for(A.set(b,w),A.set(w,b);++$<O;){var z=b[$],ee=w[$];if(S)var ne=C?S(ee,z,$,w,b,A):S(z,ee,$,b,w,A);if(ne!==void 0){if(ne)continue;P=!1;break}if(j){if(!i(w,function(Q,ae){if(!s(j,ae)&&(z===Q||_(z,Q,E,S,A)))return j.push(ae)})){P=!1;break}}else if(!(z===ee||_(z,ee,E,S,A))){P=!1;break}}return A.delete(b),A.delete(w),P}return _Re=g,_Re}var xRe,aFt;function kKn(){if(aFt)return xRe;aFt=1;function n(i){var s=-1,c=Array(i.size);return i.forEach(function(d,g){c[++s]=[g,d]}),c}return xRe=n,xRe}var kRe,cFt;function jMe(){if(cFt)return kRe;cFt=1;function n(i){var s=-1,c=Array(i.size);return i.forEach(function(d){c[++s]=d}),c}return kRe=n,kRe}var NRe,uFt;function NKn(){if(uFt)return NRe;uFt=1;var n=GM(),i=gWt(),s=TMe(),c=EWt(),d=kKn(),g=jMe(),b=1,w=2,E="[object Boolean]",S="[object Date]",_="[object Error]",A="[object Map]",C="[object Number]",O="[object RegExp]",L="[object Set]",D="[object String]",B="[object Symbol]",$="[object ArrayBuffer]",P="[object DataView]",j=n?n.prototype:void 0,z=j?j.valueOf:void 0;function ee(ne,Q,ae,he,pe,ue,fe){switch(ae){case P:if(ne.byteLength!=Q.byteLength||ne.byteOffset!=Q.byteOffset)return!1;ne=ne.buffer,Q=Q.buffer;case $:return!(ne.byteLength!=Q.byteLength||!ue(new i(ne),new i(Q)));case E:case S:case C:return s(+ne,+Q);case _:return ne.name==Q.name&&ne.message==Q.message;case O:case D:return ne==Q+"";case A:var K=d;case L:var ge=he&b;if(K||(K=g),ne.size!=Q.size&&!ge)return!1;var De=fe.get(ne);if(De)return De==Q;he|=w,fe.set(ne,Q);var Se=c(K(ne),K(Q),he,pe,ue,fe);return fe.delete(ne),Se;case B:if(z)return z.call(ne)==z.call(Q)}return!1}return NRe=ee,NRe}var CRe,lFt;function CKn(){if(lFt)return CRe;lFt=1;var n=hWt(),i=1,s=Object.prototype,c=s.hasOwnProperty;function d(g,b,w,E,S,_){var A=w&i,C=n(g),O=C.length,L=n(b),D=L.length;if(O!=D&&!A)return!1;for(var B=O;B--;){var $=C[B];if(!(A?$ in b:c.call(b,$)))return!1}var P=_.get(g),j=_.get(b);if(P&&j)return P==b&&j==g;var z=!0;_.set(g,b),_.set(b,g);for(var ee=A;++B<O;){$=C[B];var ne=g[$],Q=b[$];if(E)var ae=A?E(Q,ne,$,b,g,_):E(ne,Q,$,g,b,_);if(!(ae===void 0?ne===Q||S(ne,Q,w,E,_):ae)){z=!1;break}ee||(ee=$=="constructor")}if(z&&!ee){var he=g.constructor,pe=b.constructor;he!=pe&&"constructor"in g&&"constructor"in b&&!(typeof he=="function"&&he instanceof he&&typeof pe=="function"&&pe instanceof pe)&&(z=!1)}return _.delete(g),_.delete(b),z}return CRe=d,CRe}var IRe,dFt;function IKn(){if(dFt)return IRe;dFt=1;var n=xMe(),i=EWt(),s=NKn(),c=CKn(),d=VM(),g=ih(),b=jz(),w=Fae(),E=1,S="[object Arguments]",_="[object Array]",A="[object Object]",C=Object.prototype,O=C.hasOwnProperty;function L(D,B,$,P,j,z){var ee=g(D),ne=g(B),Q=ee?_:d(D),ae=ne?_:d(B);Q=Q==S?A:Q,ae=ae==S?A:ae;var he=Q==A,pe=ae==A,ue=Q==ae;if(ue&&b(D)){if(!b(B))return!1;ee=!0,he=!1}if(ue&&!he)return z||(z=new n),ee||w(D)?i(D,B,$,P,j,z):s(D,B,Q,$,P,j,z);if(!($&E)){var fe=he&&O.call(D,"__wrapped__"),K=pe&&O.call(B,"__wrapped__");if(fe||K){var ge=fe?D.value():D,De=K?B.value():B;return z||(z=new n),j(ge,De,$,P,z)}}return ue?(z||(z=new n),c(D,B,$,P,j,z)):!1}return IRe=L,IRe}var RRe,fFt;function SWt(){if(fFt)return RRe;fFt=1;var n=IKn(),i=xA();function s(c,d,g,b,w){return c===d?!0:c==null||d==null||!i(c)&&!i(d)?c!==c&&d!==d:n(c,d,g,b,s,w)}return RRe=s,RRe}var ORe,hFt;function RKn(){if(hFt)return ORe;hFt=1;var n=xMe(),i=SWt(),s=1,c=2;function d(g,b,w,E){var S=w.length,_=S,A=!E;if(g==null)return!_;for(g=Object(g);S--;){var C=w[S];if(A&&C[2]?C[1]!==g[C[0]]:!(C[0]in g))return!1}for(;++S<_;){C=w[S];var O=C[0],L=g[O],D=C[1];if(A&&C[2]){if(L===void 0&&!(O in g))return!1}else{var B=new n;if(E)var $=E(L,D,O,g,b,B);if(!($===void 0?i(D,L,s|c,E,B):$))return!1}}return!0}return ORe=d,ORe}var DRe,pFt;function TWt(){if(pFt)return DRe;pFt=1;var n=IR();function i(s){return s===s&&!n(s)}return DRe=i,DRe}var LRe,gFt;function OKn(){if(gFt)return LRe;gFt=1;var n=TWt(),i=DR();function s(c){for(var d=i(c),g=d.length;g--;){var b=d[g],w=c[b];d[g]=[b,w,n(w)]}return d}return LRe=s,LRe}var MRe,bFt;function AWt(){if(bFt)return MRe;bFt=1;function n(i,s){return function(c){return c==null?!1:c[i]===s&&(s!==void 0||i in Object(c))}}return MRe=n,MRe}var PRe,mFt;function DKn(){if(mFt)return PRe;mFt=1;var n=RKn(),i=OKn(),s=AWt();function c(d){var g=i(d);return g.length==1&&g[0][2]?s(g[0][0],g[0][1]):function(b){return b===d||n(b,d,g)}}return PRe=c,PRe}var jRe,wFt;function FMe(){if(wFt)return jRe;wFt=1;var n=qM(),i=xA(),s="[object Symbol]";function c(d){return typeof d=="symbol"||i(d)&&n(d)==s}return jRe=c,jRe}var FRe,yFt;function $Me(){if(yFt)return FRe;yFt=1;var n=ih(),i=FMe(),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function d(g,b){if(n(g))return!1;var w=typeof g;return w=="number"||w=="symbol"||w=="boolean"||g==null||i(g)?!0:c.test(g)||!s.test(g)||b!=null&&g in Object(b)}return FRe=d,FRe}var $Re,vFt;function LKn(){if(vFt)return $Re;vFt=1;var n=_Me(),i="Expected a function";function s(c,d){if(typeof c!="function"||d!=null&&typeof d!="function")throw new TypeError(i);var g=function(){var b=arguments,w=d?d.apply(this,b):b[0],E=g.cache;if(E.has(w))return E.get(w);var S=c.apply(this,b);return g.cache=E.set(w,S)||E,S};return g.cache=new(s.Cache||n),g}return s.Cache=n,$Re=s,$Re}var BRe,EFt;function MKn(){if(EFt)return BRe;EFt=1;var n=LKn(),i=500;function s(c){var d=n(c,function(b){return g.size===i&&g.clear(),b}),g=d.cache;return d}return BRe=s,BRe}var URe,SFt;function PKn(){if(SFt)return URe;SFt=1;var n=MKn(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,c=n(function(d){var g=[];return d.charCodeAt(0)===46&&g.push(""),d.replace(i,function(b,w,E,S){g.push(E?S.replace(s,"$1"):w||b)}),g});return URe=c,URe}var HRe,TFt;function BMe(){if(TFt)return HRe;TFt=1;function n(i,s){for(var c=-1,d=i==null?0:i.length,g=Array(d);++c<d;)g[c]=s(i[c],c,i);return g}return HRe=n,HRe}var zRe,AFt;function jKn(){if(AFt)return zRe;AFt=1;var n=GM(),i=BMe(),s=ih(),c=FMe(),d=n?n.prototype:void 0,g=d?d.toString:void 0;function b(w){if(typeof w=="string")return w;if(s(w))return i(w,b)+"";if(c(w))return g?g.call(w):"";var E=w+"";return E=="0"&&1/w==-1/0?"-0":E}return zRe=b,zRe}var GRe,_Ft;function FKn(){if(_Ft)return GRe;_Ft=1;var n=jKn();function i(s){return s==null?"":n(s)}return GRe=i,GRe}var qRe,xFt;function _Wt(){if(xFt)return qRe;xFt=1;var n=ih(),i=$Me(),s=PKn(),c=FKn();function d(g,b){return n(g)?g:i(g,b)?[g]:s(c(g))}return qRe=d,qRe}var VRe,kFt;function Hae(){if(kFt)return VRe;kFt=1;var n=FMe();function i(s){if(typeof s=="string"||n(s))return s;var c=s+"";return c=="0"&&1/s==-1/0?"-0":c}return VRe=i,VRe}var WRe,NFt;function xWt(){if(NFt)return WRe;NFt=1;var n=_Wt(),i=Hae();function s(c,d){d=n(d,c);for(var g=0,b=d.length;c!=null&&g<b;)c=c[i(d[g++])];return g&&g==b?c:void 0}return WRe=s,WRe}var KRe,CFt;function $Kn(){if(CFt)return KRe;CFt=1;var n=xWt();function i(s,c,d){var g=s==null?void 0:n(s,c);return g===void 0?d:g}return KRe=i,KRe}var YRe,IFt;function BKn(){if(IFt)return YRe;IFt=1;function n(i,s){return i!=null&&s in Object(i)}return YRe=n,YRe}var JRe,RFt;function kWt(){if(RFt)return JRe;RFt=1;var n=_Wt(),i=jae(),s=ih(),c=sWt(),d=NMe(),g=Hae();function b(w,E,S){E=n(E,w);for(var _=-1,A=E.length,C=!1;++_<A;){var O=g(E[_]);if(!(C=w!=null&&S(w,O)))break;w=w[O]}return C||++_!=A?C:(A=w==null?0:w.length,!!A&&d(A)&&c(O,A)&&(s(w)||i(w)))}return JRe=b,JRe}var XRe,OFt;function UKn(){if(OFt)return XRe;OFt=1;var n=BKn(),i=kWt();function s(c,d){return c!=null&&i(c,d,n)}return XRe=s,XRe}var ZRe,DFt;function HKn(){if(DFt)return ZRe;DFt=1;var n=SWt(),i=$Kn(),s=UKn(),c=$Me(),d=TWt(),g=AWt(),b=Hae(),w=1,E=2;function S(_,A){return c(_)&&d(A)?g(b(_),A):function(C){var O=i(C,_);return O===void 0&&O===A?s(C,_):n(A,O,w|E)}}return ZRe=S,ZRe}var QRe,LFt;function NWt(){if(LFt)return QRe;LFt=1;function n(i){return function(s){return s==null?void 0:s[i]}}return QRe=n,QRe}var eOe,MFt;function zKn(){if(MFt)return eOe;MFt=1;var n=xWt();function i(s){return function(c){return n(c,s)}}return eOe=i,eOe}var tOe,PFt;function GKn(){if(PFt)return tOe;PFt=1;var n=NWt(),i=zKn(),s=$Me(),c=Hae();function d(g){return s(g)?n(c(g)):i(g)}return tOe=d,tOe}var nOe,jFt;function zae(){if(jFt)return nOe;jFt=1;var n=DKn(),i=HKn(),s=Uae(),c=ih(),d=GKn();function g(b){return typeof b=="function"?b:b==null?s:typeof b=="object"?c(b)?i(b[0],b[1]):n(b):d(b)}return nOe=g,nOe}var rOe,FFt;function qKn(){if(FFt)return rOe;FFt=1;var n=uWt(),i=TKn(),s=zae(),c=ih();function d(g,b){var w=c(g)?n:i;return w(g,s(b,3))}return rOe=d,rOe}var iOe,$Ft;function VKn(){if($Ft)return iOe;$Ft=1;var n=Object.prototype,i=n.hasOwnProperty;function s(c,d){return c!=null&&i.call(c,d)}return iOe=s,iOe}var oOe,BFt;function WKn(){if(BFt)return oOe;BFt=1;var n=VKn(),i=kWt();function s(c,d){return c!=null&&i(c,d,n)}return oOe=s,oOe}var sOe,UFt;function KKn(){if(UFt)return sOe;UFt=1;var n=RMe(),i=VM(),s=jae(),c=ih(),d=OR(),g=jz(),b=$ae(),w=Fae(),E="[object Map]",S="[object Set]",_=Object.prototype,A=_.hasOwnProperty;function C(O){if(O==null)return!0;if(d(O)&&(c(O)||typeof O=="string"||typeof O.splice=="function"||g(O)||w(O)||s(O)))return!O.length;var L=i(O);if(L==E||L==S)return!O.size;if(b(O))return!n(O).length;for(var D in O)if(A.call(O,D))return!1;return!0}return sOe=C,sOe}var aOe,HFt;function YKn(){if(HFt)return aOe;HFt=1;function n(i){return i===void 0}return aOe=n,aOe}var cOe,zFt;function JKn(){if(zFt)return cOe;zFt=1;var n=Bae(),i=OR();function s(c,d){var g=-1,b=i(c)?Array(c.length):[];return n(c,function(w,E,S){b[++g]=d(w,E,S)}),b}return cOe=s,cOe}var uOe,GFt;function XKn(){if(GFt)return uOe;GFt=1;var n=BMe(),i=zae(),s=JKn(),c=ih();function d(g,b){var w=c(g)?n:s;return w(g,i(b,3))}return uOe=d,uOe}var lOe,qFt;function ZKn(){if(qFt)return lOe;qFt=1;function n(i,s,c,d){var g=-1,b=i==null?0:i.length;for(d&&b&&(c=i[++g]);++g<b;)c=s(c,i[g],g,i);return c}return lOe=n,lOe}var dOe,VFt;function QKn(){if(VFt)return dOe;VFt=1;function n(i,s,c,d,g){return g(i,function(b,w,E){c=d?(d=!1,b):s(c,b,w,E)}),c}return dOe=n,dOe}var fOe,WFt;function eYn(){if(WFt)return fOe;WFt=1;var n=ZKn(),i=Bae(),s=zae(),c=QKn(),d=ih();function g(b,w,E){var S=d(b)?n:c,_=arguments.length<3;return S(b,s(w,4),E,_,i)}return fOe=g,fOe}var hOe,KFt;function tYn(){if(KFt)return hOe;KFt=1;var n=qM(),i=ih(),s=xA(),c="[object String]";function d(g){return typeof g=="string"||!i(g)&&s(g)&&n(g)==c}return hOe=d,hOe}var pOe,YFt;function nYn(){if(YFt)return pOe;YFt=1;var n=NWt(),i=n("length");return pOe=i,pOe}var gOe,JFt;function rYn(){if(JFt)return gOe;JFt=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",d=i+s+c,g="\\ufe0e\\ufe0f",b="\\u200d",w=RegExp("["+b+n+d+g+"]");function E(S){return w.test(S)}return gOe=E,gOe}var bOe,XFt;function iYn(){if(XFt)return bOe;XFt=1;var n="\\ud800-\\udfff",i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",d=i+s+c,g="\\ufe0e\\ufe0f",b="["+n+"]",w="["+d+"]",E="\\ud83c[\\udffb-\\udfff]",S="(?:"+w+"|"+E+")",_="[^"+n+"]",A="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",L=S+"?",D="["+g+"]?",B="(?:"+O+"(?:"+[_,A,C].join("|")+")"+D+L+")*",$=D+L+B,P="(?:"+[_+w+"?",w,A,C,b].join("|")+")",j=RegExp(E+"(?="+E+")|"+P+$,"g");function z(ee){for(var ne=j.lastIndex=0;j.test(ee);)++ne;return ne}return bOe=z,bOe}var mOe,ZFt;function oYn(){if(ZFt)return mOe;ZFt=1;var n=nYn(),i=rYn(),s=iYn();function c(d){return i(d)?s(d):n(d)}return mOe=c,mOe}var wOe,QFt;function sYn(){if(QFt)return wOe;QFt=1;var n=RMe(),i=VM(),s=OR(),c=tYn(),d=oYn(),g="[object Map]",b="[object Set]";function w(E){if(E==null)return 0;if(s(E))return c(E)?d(E):E.length;var S=i(E);return S==g||S==b?E.size:n(E).length}return wOe=w,wOe}var yOe,e7t;function aYn(){if(e7t)return yOe;e7t=1;var n=kMe(),i=bWt(),s=wWt(),c=zae(),d=MMe(),g=ih(),b=jz(),w=Dae(),E=IR(),S=Fae();function _(A,C,O){var L=g(A),D=L||b(A)||S(A);if(C=c(C,4),O==null){var B=A&&A.constructor;D?O=L?new B:[]:E(A)?O=w(B)?i(d(A)):{}:O={}}return(D?n:s)(A,function($,P,j){return C(O,$,P,j)}),O}return yOe=_,yOe}var vOe,t7t;function cYn(){if(t7t)return vOe;t7t=1;var n=GM(),i=jae(),s=ih(),c=n?n.isConcatSpreadable:void 0;function d(g){return s(g)||i(g)||!!(c&&g&&g[c])}return vOe=d,vOe}var EOe,n7t;function uYn(){if(n7t)return EOe;n7t=1;var n=LMe(),i=cYn();function s(c,d,g,b,w){var E=-1,S=c.length;for(g||(g=i),w||(w=[]);++E<S;){var _=c[E];d>0&&g(_)?d>1?s(_,d-1,g,b,w):n(w,_):b||(w[w.length]=_)}return w}return EOe=s,EOe}var SOe,r7t;function lYn(){if(r7t)return SOe;r7t=1;function n(i,s,c){switch(c.length){case 0:return i.call(s);case 1:return i.call(s,c[0]);case 2:return i.call(s,c[0],c[1]);case 3:return i.call(s,c[0],c[1],c[2])}return i.apply(s,c)}return SOe=n,SOe}var TOe,i7t;function dYn(){if(i7t)return TOe;i7t=1;var n=lYn(),i=Math.max;function s(c,d,g){return d=i(d===void 0?c.length-1:d,0),function(){for(var b=arguments,w=-1,E=i(b.length-d,0),S=Array(E);++w<E;)S[w]=b[d+w];w=-1;for(var _=Array(d+1);++w<d;)_[w]=b[w];return _[d]=g(S),n(c,this,_)}}return TOe=s,TOe}var AOe,o7t;function fYn(){if(o7t)return AOe;o7t=1;var n=mWt(),i=rWt(),s=Uae(),c=i?function(d,g){return i(d,"toString",{configurable:!0,enumerable:!1,value:n(g),writable:!0})}:s;return AOe=c,AOe}var _Oe,s7t;function hYn(){if(s7t)return _Oe;s7t=1;var n=800,i=16,s=Date.now;function c(d){var g=0,b=0;return function(){var w=s(),E=i-(w-b);if(b=w,E>0){if(++g>=n)return arguments[0]}else g=0;return d.apply(void 0,arguments)}}return _Oe=c,_Oe}var xOe,a7t;function pYn(){if(a7t)return xOe;a7t=1;var n=fYn(),i=hYn(),s=i(n);return xOe=s,xOe}var kOe,c7t;function gYn(){if(c7t)return kOe;c7t=1;var n=Uae(),i=dYn(),s=pYn();function c(d,g){return s(i(d,g,n),d+"")}return kOe=c,kOe}var NOe,u7t;function bYn(){if(u7t)return NOe;u7t=1;function n(i,s,c,d){for(var g=i.length,b=c+(d?1:-1);d?b--:++b<g;)if(s(i[b],b,i))return b;return-1}return NOe=n,NOe}var COe,l7t;function mYn(){if(l7t)return COe;l7t=1;function n(i){return i!==i}return COe=n,COe}var IOe,d7t;function wYn(){if(d7t)return IOe;d7t=1;function n(i,s,c){for(var d=c-1,g=i.length;++d<g;)if(i[d]===s)return d;return-1}return IOe=n,IOe}var ROe,f7t;function yYn(){if(f7t)return ROe;f7t=1;var n=bYn(),i=mYn(),s=wYn();function c(d,g,b){return g===g?s(d,g,b):n(d,i,b)}return ROe=c,ROe}var OOe,h7t;function vYn(){if(h7t)return OOe;h7t=1;var n=yYn();function i(s,c){var d=s==null?0:s.length;return!!d&&n(s,c,0)>-1}return OOe=i,OOe}var DOe,p7t;function EYn(){if(p7t)return DOe;p7t=1;function n(i,s,c){for(var d=-1,g=i==null?0:i.length;++d<g;)if(c(s,i[d]))return!0;return!1}return DOe=n,DOe}var LOe,g7t;function SYn(){if(g7t)return LOe;g7t=1;function n(){}return LOe=n,LOe}var MOe,b7t;function TYn(){if(b7t)return MOe;b7t=1;var n=pWt(),i=SYn(),s=jMe(),c=1/0,d=n&&1/s(new n([,-0]))[1]==c?function(g){return new n(g)}:i;return MOe=d,MOe}var POe,m7t;function AYn(){if(m7t)return POe;m7t=1;var n=yWt(),i=vYn(),s=EYn(),c=vWt(),d=TYn(),g=jMe(),b=200;function w(E,S,_){var A=-1,C=i,O=E.length,L=!0,D=[],B=D;if(_)L=!1,C=s;else if(O>=b){var $=S?null:d(E);if($)return g($);L=!1,C=c,B=new n}else B=S?[]:D;e:for(;++A<O;){var P=E[A],j=S?S(P):P;if(P=_||P!==0?P:0,L&&j===j){for(var z=B.length;z--;)if(B[z]===j)continue e;S&&B.push(j),D.push(P)}else C(B,j,_)||(B!==D&&B.push(j),D.push(P))}return D}return POe=w,POe}var jOe,w7t;function _Yn(){if(w7t)return jOe;w7t=1;var n=OR(),i=xA();function s(c){return i(c)&&n(c)}return jOe=s,jOe}var FOe,y7t;function xYn(){if(y7t)return FOe;y7t=1;var n=uYn(),i=gYn(),s=AYn(),c=_Yn(),d=i(function(g){return s(n(g,1,c,!0))});return FOe=d,FOe}var $Oe,v7t;function kYn(){if(v7t)return $Oe;v7t=1;var n=BMe();function i(s,c){return n(c,function(d){return s[d]})}return $Oe=i,$Oe}var BOe,E7t;function NYn(){if(E7t)return BOe;E7t=1;var n=kYn(),i=DR();function s(c){return c==null?[]:n(c,i(c))}return BOe=s,BOe}var lse;if(typeof eH=="function")try{lse={clone:bKn(),constant:mWt(),each:SKn(),filter:qKn(),has:WKn(),isArray:ih(),isEmpty:KKn(),isFunction:Dae(),isUndefined:YKn(),keys:DR(),map:XKn(),reduce:eYn(),size:sYn(),transform:aYn(),union:xYn(),values:NYn()}}catch{}lse||(lse=window._);var Rw=lse,Lo=Rw,UMe=ys,CYn="\0",vR="\0",S7t="";function ys(n){this._isDirected=Lo.has(n,"directed")?n.directed:!0,this._isMultigraph=Lo.has(n,"multigraph")?n.multigraph:!1,this._isCompound=Lo.has(n,"compound")?n.compound:!1,this._label=void 0,this._defaultNodeLabelFn=Lo.constant(void 0),this._defaultEdgeLabelFn=Lo.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[vR]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}ys.prototype._nodeCount=0;ys.prototype._edgeCount=0;ys.prototype.isDirected=function(){return this._isDirected};ys.prototype.isMultigraph=function(){return this._isMultigraph};ys.prototype.isCompound=function(){return this._isCompound};ys.prototype.setGraph=function(n){return this._label=n,this};ys.prototype.graph=function(){return this._label};ys.prototype.setDefaultNodeLabel=function(n){return Lo.isFunction(n)||(n=Lo.constant(n)),this._defaultNodeLabelFn=n,this};ys.prototype.nodeCount=function(){return this._nodeCount};ys.prototype.nodes=function(){return Lo.keys(this._nodes)};ys.prototype.sources=function(){var n=this;return Lo.filter(this.nodes(),function(i){return Lo.isEmpty(n._in[i])})};ys.prototype.sinks=function(){var n=this;return Lo.filter(this.nodes(),function(i){return Lo.isEmpty(n._out[i])})};ys.prototype.setNodes=function(n,i){var s=arguments,c=this;return Lo.each(n,function(d){s.length>1?c.setNode(d,i):c.setNode(d)}),this};ys.prototype.setNode=function(n,i){return Lo.has(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=i),this):(this._nodes[n]=arguments.length>1?i:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=vR,this._children[n]={},this._children[vR][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)};ys.prototype.node=function(n){return this._nodes[n]};ys.prototype.hasNode=function(n){return Lo.has(this._nodes,n)};ys.prototype.removeNode=function(n){var i=this;if(Lo.has(this._nodes,n)){var s=function(c){i.removeEdge(i._edgeObjs[c])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],Lo.each(this.children(n),function(c){i.setParent(c)}),delete this._children[n]),Lo.each(Lo.keys(this._in[n]),s),delete this._in[n],delete this._preds[n],Lo.each(Lo.keys(this._out[n]),s),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this};ys.prototype.setParent=function(n,i){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(Lo.isUndefined(i))i=vR;else{i+="";for(var s=i;!Lo.isUndefined(s);s=this.parent(s))if(s===n)throw new Error("Setting "+i+" as parent of "+n+" would create a cycle");this.setNode(i)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=i,this._children[i][n]=!0,this};ys.prototype._removeFromParentsChildList=function(n){delete this._children[this._parent[n]][n]};ys.prototype.parent=function(n){if(this._isCompound){var i=this._parent[n];if(i!==vR)return i}};ys.prototype.children=function(n){if(Lo.isUndefined(n)&&(n=vR),this._isCompound){var i=this._children[n];if(i)return Lo.keys(i)}else{if(n===vR)return this.nodes();if(this.hasNode(n))return[]}};ys.prototype.predecessors=function(n){var i=this._preds[n];if(i)return Lo.keys(i)};ys.prototype.successors=function(n){var i=this._sucs[n];if(i)return Lo.keys(i)};ys.prototype.neighbors=function(n){var i=this.predecessors(n);if(i)return Lo.union(i,this.successors(n))};ys.prototype.isLeaf=function(n){var i;return this.isDirected()?i=this.successors(n):i=this.neighbors(n),i.length===0};ys.prototype.filterNodes=function(n){var i=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});i.setGraph(this.graph());var s=this;Lo.each(this._nodes,function(g,b){n(b)&&i.setNode(b,g)}),Lo.each(this._edgeObjs,function(g){i.hasNode(g.v)&&i.hasNode(g.w)&&i.setEdge(g,s.edge(g))});var c={};function d(g){var b=s.parent(g);return b===void 0||i.hasNode(b)?(c[g]=b,b):b in c?c[b]:d(b)}return this._isCompound&&Lo.each(i.nodes(),function(g){i.setParent(g,d(g))}),i};ys.prototype.setDefaultEdgeLabel=function(n){return Lo.isFunction(n)||(n=Lo.constant(n)),this._defaultEdgeLabelFn=n,this};ys.prototype.edgeCount=function(){return this._edgeCount};ys.prototype.edges=function(){return Lo.values(this._edgeObjs)};ys.prototype.setPath=function(n,i){var s=this,c=arguments;return Lo.reduce(n,function(d,g){return c.length>1?s.setEdge(d,g,i):s.setEdge(d,g),g}),this};ys.prototype.setEdge=function(){var n,i,s,c,d=!1,g=arguments[0];typeof g=="object"&&g!==null&&"v"in g?(n=g.v,i=g.w,s=g.name,arguments.length===2&&(c=arguments[1],d=!0)):(n=g,i=arguments[1],s=arguments[3],arguments.length>2&&(c=arguments[2],d=!0)),n=""+n,i=""+i,Lo.isUndefined(s)||(s=""+s);var b=Fz(this._isDirected,n,i,s);if(Lo.has(this._edgeLabels,b))return d&&(this._edgeLabels[b]=c),this;if(!Lo.isUndefined(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(i),this._edgeLabels[b]=d?c:this._defaultEdgeLabelFn(n,i,s);var w=IYn(this._isDirected,n,i,s);return n=w.v,i=w.w,Object.freeze(w),this._edgeObjs[b]=w,T7t(this._preds[i],n),T7t(this._sucs[n],i),this._in[i][b]=w,this._out[n][b]=w,this._edgeCount++,this};ys.prototype.edge=function(n,i,s){var c=arguments.length===1?HMe(this._isDirected,arguments[0]):Fz(this._isDirected,n,i,s);return this._edgeLabels[c]};ys.prototype.hasEdge=function(n,i,s){var c=arguments.length===1?HMe(this._isDirected,arguments[0]):Fz(this._isDirected,n,i,s);return Lo.has(this._edgeLabels,c)};ys.prototype.removeEdge=function(n,i,s){var c=arguments.length===1?HMe(this._isDirected,arguments[0]):Fz(this._isDirected,n,i,s),d=this._edgeObjs[c];return d&&(n=d.v,i=d.w,delete this._edgeLabels[c],delete this._edgeObjs[c],A7t(this._preds[i],n),A7t(this._sucs[n],i),delete this._in[i][c],delete this._out[n][c],this._edgeCount--),this};ys.prototype.inEdges=function(n,i){var s=this._in[n];if(s){var c=Lo.values(s);return i?Lo.filter(c,function(d){return d.v===i}):c}};ys.prototype.outEdges=function(n,i){var s=this._out[n];if(s){var c=Lo.values(s);return i?Lo.filter(c,function(d){return d.w===i}):c}};ys.prototype.nodeEdges=function(n,i){var s=this.inEdges(n,i);if(s)return s.concat(this.outEdges(n,i))};function T7t(n,i){n[i]?n[i]++:n[i]=1}function A7t(n,i){--n[i]||delete n[i]}function Fz(n,i,s,c){var d=""+i,g=""+s;if(!n&&d>g){var b=d;d=g,g=b}return d+S7t+g+S7t+(Lo.isUndefined(c)?CYn:c)}function IYn(n,i,s,c){var d=""+i,g=""+s;if(!n&&d>g){var b=d;d=g,g=b}var w={v:d,w:g};return c&&(w.name=c),w}function HMe(n,i){return Fz(n,i.v,i.w,i.name)}var RYn="2.1.8",OYn={Graph:UMe,version:RYn},B2=Rw,DYn=UMe,LYn={write:MYn,read:FYn};function MYn(n){var i={options:{directed:n.isDirected(),multigraph:n.isMultigraph(),compound:n.isCompound()},nodes:PYn(n),edges:jYn(n)};return B2.isUndefined(n.graph())||(i.value=B2.clone(n.graph())),i}function PYn(n){return B2.map(n.nodes(),function(i){var s=n.node(i),c=n.parent(i),d={v:i};return B2.isUndefined(s)||(d.value=s),B2.isUndefined(c)||(d.parent=c),d})}function jYn(n){return B2.map(n.edges(),function(i){var s=n.edge(i),c={v:i.v,w:i.w};return B2.isUndefined(i.name)||(c.name=i.name),B2.isUndefined(s)||(c.value=s),c})}function FYn(n){var i=new DYn(n.options).setGraph(n.value);return B2.each(n.nodes,function(s){i.setNode(s.v,s.value),s.parent&&i.setParent(s.v,s.parent)}),B2.each(n.edges,function(s){i.setEdge({v:s.v,w:s.w,name:s.name},s.value)}),i}var Lie=Rw,$Yn=BYn;function BYn(n){var i={},s=[],c;function d(g){Lie.has(i,g)||(i[g]=!0,c.push(g),Lie.each(n.successors(g),d),Lie.each(n.predecessors(g),d))}return Lie.each(n.nodes(),function(g){c=[],d(g),c.length&&s.push(c)}),s}var CWt=Rw,IWt=Ow;function Ow(){this._arr=[],this._keyIndices={}}Ow.prototype.size=function(){return this._arr.length};Ow.prototype.keys=function(){return this._arr.map(function(n){return n.key})};Ow.prototype.has=function(n){return CWt.has(this._keyIndices,n)};Ow.prototype.priority=function(n){var i=this._keyIndices[n];if(i!==void 0)return this._arr[i].priority};Ow.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key};Ow.prototype.add=function(n,i){var s=this._keyIndices;if(n=String(n),!CWt.has(s,n)){var c=this._arr,d=c.length;return s[n]=d,c.push({key:n,priority:i}),this._decrease(d),!0}return!1};Ow.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key};Ow.prototype.decrease=function(n,i){var s=this._keyIndices[n];if(i>this._arr[s].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[s].priority+" New: "+i);this._arr[s].priority=i,this._decrease(s)};Ow.prototype._heapify=function(n){var i=this._arr,s=2*n,c=s+1,d=n;s<i.length&&(d=i[s].priority<i[d].priority?s:d,c<i.length&&(d=i[c].priority<i[d].priority?c:d),d!==n&&(this._swap(n,d),this._heapify(d)))};Ow.prototype._decrease=function(n){for(var i=this._arr,s=i[n].priority,c;n!==0&&(c=n>>1,!(i[c].priority<s));)this._swap(n,c),n=c};Ow.prototype._swap=function(n,i){var s=this._arr,c=this._keyIndices,d=s[n],g=s[i];s[n]=g,s[i]=d,c[g.key]=n,c[d.key]=i};var UYn=Rw,HYn=IWt,RWt=GYn,zYn=UYn.constant(1);function GYn(n,i,s,c){return qYn(n,String(i),s||zYn,c||function(d){return n.outEdges(d)})}function qYn(n,i,s,c){var d={},g=new HYn,b,w,E=function(S){var _=S.v!==b?S.v:S.w,A=d[_],C=s(S),O=w.distance+C;if(C<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+S+" Weight: "+C);O<A.distance&&(A.distance=O,A.predecessor=b,g.decrease(_,O))};for(n.nodes().forEach(function(S){var _=S===i?0:Number.POSITIVE_INFINITY;d[S]={distance:_},g.add(S,_)});g.size()>0&&(b=g.removeMin(),w=d[b],w.distance!==Number.POSITIVE_INFINITY);)c(b).forEach(E);return d}var VYn=RWt,WYn=Rw,KYn=YYn;function YYn(n,i,s){return WYn.transform(n.nodes(),function(c,d){c[d]=VYn(n,d,i,s)},{})}var _7t=Rw,OWt=JYn;function JYn(n){var i=0,s=[],c={},d=[];function g(b){var w=c[b]={onStack:!0,lowlink:i,index:i++};if(s.push(b),n.successors(b).forEach(function(_){_7t.has(c,_)?c[_].onStack&&(w.lowlink=Math.min(w.lowlink,c[_].index)):(g(_),w.lowlink=Math.min(w.lowlink,c[_].lowlink))}),w.lowlink===w.index){var E=[],S;do S=s.pop(),c[S].onStack=!1,E.push(S);while(b!==S);d.push(E)}}return n.nodes().forEach(function(b){_7t.has(c,b)||g(b)}),d}var XYn=Rw,ZYn=OWt,QYn=eJn;function eJn(n){return XYn.filter(ZYn(n),function(i){return i.length>1||i.length===1&&n.hasEdge(i[0],i[0])})}var tJn=Rw,nJn=iJn,rJn=tJn.constant(1);function iJn(n,i,s){return oJn(n,i||rJn,s||function(c){return n.outEdges(c)})}function oJn(n,i,s){var c={},d=n.nodes();return d.forEach(function(g){c[g]={},c[g][g]={distance:0},d.forEach(function(b){g!==b&&(c[g][b]={distance:Number.POSITIVE_INFINITY})}),s(g).forEach(function(b){var w=b.v===g?b.w:b.v,E=i(b);c[g][w]={distance:E,predecessor:g}})}),d.forEach(function(g){var b=c[g];d.forEach(function(w){var E=c[w];d.forEach(function(S){var _=E[g],A=b[S],C=E[S],O=_.distance+A.distance;O<C.distance&&(C.distance=O,C.predecessor=A.predecessor)})})}),c}var GU=Rw,DWt=LWt;LWt.CycleException=dse;function LWt(n){var i={},s={},c=[];function d(g){if(GU.has(s,g))throw new dse;GU.has(i,g)||(s[g]=!0,i[g]=!0,GU.each(n.predecessors(g),d),delete s[g],c.push(g))}if(GU.each(n.sinks(),d),GU.size(i)!==n.nodeCount())throw new dse;return c}function dse(){}dse.prototype=new Error;var x7t=DWt,sJn=aJn;function aJn(n){try{x7t(n)}catch(i){if(i instanceof x7t.CycleException)return!1;throw i}return!0}var fse=Rw,MWt=cJn;function cJn(n,i,s){fse.isArray(i)||(i=[i]);var c=(n.isDirected()?n.successors:n.neighbors).bind(n),d=[],g={};return fse.each(i,function(b){if(!n.hasNode(b))throw new Error("Graph does not have node: "+b);PWt(n,b,s==="post",g,c,d)}),d}function PWt(n,i,s,c,d,g){fse.has(c,i)||(c[i]=!0,s||g.push(i),fse.each(d(i),function(b){PWt(n,b,s,c,d,g)}),s&&g.push(i))}var uJn=MWt,lJn=dJn;function dJn(n,i){return uJn(n,i,"post")}var fJn=MWt,hJn=pJn;function pJn(n,i){return fJn(n,i,"pre")}var k7t=Rw,gJn=UMe,bJn=IWt,mJn=wJn;function wJn(n,i){var s=new gJn,c={},d=new bJn,g;function b(E){var S=E.v===g?E.w:E.v,_=d.priority(S);if(_!==void 0){var A=i(E);A<_&&(c[S]=g,d.decrease(S,A))}}if(n.nodeCount()===0)return s;k7t.each(n.nodes(),function(E){d.add(E,Number.POSITIVE_INFINITY),s.setNode(E)}),d.decrease(n.nodes()[0],0);for(var w=!1;d.size()>0;){if(g=d.removeMin(),k7t.has(c,g))s.setEdge(g,c[g]);else{if(w)throw new Error("Input graph is not connected: "+n);w=!0}n.nodeEdges(g).forEach(b)}return s}var yJn={components:$Yn,dijkstra:RWt,dijkstraAll:KYn,findCycles:QYn,floydWarshall:nJn,isAcyclic:sJn,postorder:lJn,preorder:hJn,prim:mJn,tarjan:OWt,topsort:DWt},N7t=OYn,vJn={Graph:N7t.Graph,json:LYn,alg:yJn,version:N7t.version};const EJn=TR(vJn),{Graph:SJn,alg:C7t}=EJn;function jWt(n){const i=new Set,s=new Set,c=new Set,d=new Map;for(const E of n.edges){const S=d.get(E.source)||[];S.push(E),d.set(E.source,S)}const g=new Set(n.edges.map(E=>E.target)),b=n.nodes.filter(E=>!g.has(E.id)).map(E=>E.id);function w(E){if(!s.has(E)){s.add(E),c.add(E);for(const S of d.get(E)||[])c.has(S.target)?i.add(S.id):s.has(S.target)||w(S.target);c.delete(E)}}for(const E of b)w(E);for(const E of n.nodes)s.has(E.id)||w(E.id);return i}function TJn(n){const i=new SJn({directed:!0}),s=jWt(n),c=new Map(n.nodes.map(B=>[B.id,B.type])),d=new Set;for(const B of n.edges){if(!s.has(B.id))continue;const $=c.get(B.source),P=c.get(B.target);($==="condition"||P==="condition")&&d.add(B.id)}const g=n.edges.filter(B=>!d.has(B.id)),b={...n,edges:g};for(const B of n.nodes)i.setNode(B.id,B);for(const B of g)i.setEdge(B.source,B.target,B);const w=!C7t.isAcyclic(i),E=n.nodes.filter(B=>{var $;return(($=i.predecessors(B.id))==null?void 0:$.length)===0}).map(B=>B.id),S=n.nodes.filter(B=>g.filter(P=>P.source===B.id).length===0).map(B=>B.id);let _=null;if(!w)try{_=C7t.topsort(i)}catch{_=null}const A=AJn(i,b,_),C=kJn(b),O=xJn(i,b),L=!w&&!A&&!C&&!O,D=L?"native":"state-machine";return{isTree:L,hasCycles:w,hasMultipleEntryPoints:E.length>1,hasCrossLinks:A,hasConvergingPaths:C,hasDivergentTriggerPaths:O,entryNodes:E,exitNodes:S,topologicalOrder:_,recommendedStrategy:D}}function AJn(n,i,s){if(!s||s.length===0)return!1;const c=new Map,g=i.nodes.filter(_=>{var A;return((A=n.predecessors(_.id))==null?void 0:A.length)===0}).map(_=>_.id).map(_=>({nodeId:_,level:0}));for(;g.length>0;){const{nodeId:_,level:A}=g.shift();if(c.has(_))continue;c.set(_,A);const C=n.successors(_)||[];for(const O of C)c.has(O)||g.push({nodeId:O,level:A+1})}const b=new Set,w=new Map;for(const _ of i.edges){const A=(w.get(_.source)||0)+1;w.set(_.source,A)}for(const[_,A]of w)if(A>1){const C=i.nodes.find(O=>O.id===_);(C==null?void 0:C.type)!=="condition"&&(i.edges.filter(D=>D.source===_).some(D=>D.sourceHandle==="true"||D.sourceHandle==="false")||b.add(_))}const E=new Set,S=new Map;for(const _ of i.edges){const A=(S.get(_.target)||0)+1;S.set(_.target,A)}for(const[_,A]of S)A>1&&E.add(_);for(const _ of i.edges){const A=c.get(_.source),C=c.get(_.target);if(A!==void 0&&C!==void 0){if(C>A+1)return!0;if(C<A){if(E.has(_.target)&&b.size>0&&_Jn(i,_.source,b))continue;return!0}}}return!1}function _Jn(n,i,s){const c=new Set,d=[i];for(;d.length>0;){const g=d.shift();if(c.has(g))continue;if(c.add(g),s.has(g))return!0;const b=n.edges.filter(w=>w.target===g).map(w=>w.source);for(const w of b)c.has(w)||d.push(w)}return!1}function xJn(n,i){const s=i.nodes.filter(b=>b.type==="trigger");if(s.length<=1)return!1;const c=s.map(b=>{const w=n.successors(b.id)||[];return new Set(w)});if(s.every(b=>{const w=n.successors(b.id)||[];return w.length>0&&w.every(E=>{const S=i.nodes.find(_=>_.id===E);return(S==null?void 0:S.type)==="condition"})}))return!1;const g=c[0];for(let b=1;b<c.length;b++){const w=c[b];if(g.size!==w.size)return!0;for(const E of g)if(!w.has(E))return!0}return!1}function kJn(n){const i=new Map;for(const c of n.edges){const d=i.get(c.target)||0;i.set(c.target,d+1)}const s=new Map;for(const c of n.edges){const d=s.get(c.source)||[];d.push(c.target),s.set(c.source,d)}for(const[c,d]of i)if(d>1){const g=n.edges.filter(w=>w.target===c),b=new Set(g.map(w=>w.source));if(b.size>1){if([...b].map(_=>n.nodes.find(A=>A.id===_)).every(_=>(_==null?void 0:_.type)==="trigger"))continue;if(!NJn(n,[...b],s,c))return!0}}return!1}function NJn(n,i,s,c){const d=n.edges.filter(D=>D.target===c),g=i.every(D=>{const B=n.nodes.find($=>$.id===D);return(B==null?void 0:B.type)==="condition"}),b=d.every(D=>D.sourceHandle==="true"),w=d.every(D=>D.sourceHandle==="false");if(g&&(b||w))return!0;const E=D=>n.edges.filter(B=>B.target===D).map(B=>B.source),S=(D,B)=>{if(B.has(D))return null;B.add(D);const $=n.nodes.find(ee=>ee.id===D);if(($==null?void 0:$.type)==="condition")return D;const P=n.edges.filter(ee=>ee.target===D);if(P.length===0||P.length>1)return null;const j=P[0].source,z=n.nodes.find(ee=>ee.id===j);return(z==null?void 0:z.type)==="condition"?j:S(j,B)},_=new Set;let A=!0;for(const D of i){const B=S(D,new Set);if(B)_.add(B);else{A=!1;break}}if(A&&_.size===1)return!0;const C=D=>{const B=n.nodes.find(j=>j.id===D);if((B==null?void 0:B.type)==="condition")return!1;const $=n.edges.filter(j=>j.source===D);return $.some(j=>j.sourceHandle==="true"||j.sourceHandle==="false")?!1:$.length>1},O=(D,B)=>{if(B.has(D))return null;B.add(D);const $=E(D);if($.length===0||$.length>1)return null;const P=$[0];return C(P)?P:O(P,B)},L=new Set;for(const D of i){const B=E(D);if(B.length===1){const P=B[0];if(C(P)){L.add(P);continue}}const $=O(D,new Set);if($)L.add($);else return!1}return L.size===1}function CJn(n){const i=[];let s;try{s=SMe.parse(n)}catch(g){if(g instanceof Cqn)for(const b of g.issues)i.push({code:b.code,message:b.message,path:b.path.map(String)});else i.push({code:"UNKNOWN_ERROR",message:g instanceof Error?g.message:"Unknown validation error"});return{success:!1,errors:i}}const c=ZVt(s);if(!c.valid)for(const g of c.errors)i.push({code:"STRUCTURAL_ERROR",message:g});const d=IJn(s);return i.push(...d),{success:i.length===0,graph:i.length===0?s:void 0,errors:i}}function IJn(n){const i=[],s=n.nodes.filter(w=>w.type==="condition");for(const w of s){const E=n.edges.filter(A=>A.source===w.id),S=E.some(A=>A.sourceHandle==="true"),_=E.some(A=>A.sourceHandle==="false");!S&&!_&&i.push({code:"CONDITION_NO_EDGES",message:`Condition node "${w.id}" has no outgoing edges`,path:["nodes",w.id]})}const c=n.nodes.filter(w=>w.type==="action");for(const w of c)if(w.type==="action"){const E=w.data.service,S=["variables","delay","wait","wait_template","wait_for_trigger","stop","repeat","choose","if"];typeof E=="string"&&!E.includes(".")&&!S.includes(E)&&i.push({code:"INVALID_SERVICE",message:`Action node "${w.id}" has invalid service format: "${E}". Expected "domain.service"`,path:["nodes",w.id,"data","service"]})}const d=new Set,b=[...n.nodes.filter(w=>w.type==="trigger").map(w=>w.id)];for(;b.length>0;){const w=b.shift();if(d.has(w))continue;d.add(w);const E=n.edges.filter(S=>S.source===w);for(const S of E)d.has(S.target)||b.push(S.target)}for(const w of n.nodes)!d.has(w.id)&&w.type!=="trigger"&&i.push({code:"ORPHANED_NODE",message:`Node "${w.id}" is not connected to any trigger`,path:["nodes",w.id]});return i}/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function FWt(n){return typeof n>"u"||n===null}function RJn(n){return typeof n=="object"&&n!==null}function OJn(n){return Array.isArray(n)?n:FWt(n)?[]:[n]}function DJn(n,i){var s,c,d,g;if(i)for(g=Object.keys(i),s=0,c=g.length;s<c;s+=1)d=g[s],n[d]=i[d];return n}function LJn(n,i){var s="",c;for(c=0;c<i;c+=1)s+=n;return s}function MJn(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var PJn=FWt,jJn=RJn,FJn=OJn,$Jn=LJn,BJn=MJn,UJn=DJn,vf={isNothing:PJn,isObject:jJn,toArray:FJn,repeat:$Jn,isNegativeZero:BJn,extend:UJn};function $Wt(n,i){var s="",c=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(s+='in "'+n.mark.name+'" '),s+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!i&&n.mark.snippet&&(s+=`
`+n.mark.snippet),c+" "+s):c}function cz(n,i){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=i,this.message=$Wt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}cz.prototype=Object.create(Error.prototype);cz.prototype.constructor=cz;cz.prototype.toString=function(i){return this.name+": "+$Wt(this,i)};var ob=cz;function UOe(n,i,s,c,d){var g="",b="",w=Math.floor(d/2)-1;return c-i>w&&(g=" ... ",i=c-w+g.length),s-c>w&&(b=" ...",s=c+w-b.length),{str:g+n.slice(i,s).replace(/\t/g,"→")+b,pos:c-i+g.length}}function HOe(n,i){return vf.repeat(" ",i-n.length)+n}function HJn(n,i){if(i=Object.create(i||null),!n.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!="number"&&(i.indent=1),typeof i.linesBefore!="number"&&(i.linesBefore=3),typeof i.linesAfter!="number"&&(i.linesAfter=2);for(var s=/\r?\n|\r|\0/g,c=[0],d=[],g,b=-1;g=s.exec(n.buffer);)d.push(g.index),c.push(g.index+g[0].length),n.position<=g.index&&b<0&&(b=c.length-2);b<0&&(b=c.length-1);var w="",E,S,_=Math.min(n.line+i.linesAfter,d.length).toString().length,A=i.maxLength-(i.indent+_+3);for(E=1;E<=i.linesBefore&&!(b-E<0);E++)S=UOe(n.buffer,c[b-E],d[b-E],n.position-(c[b]-c[b-E]),A),w=vf.repeat(" ",i.indent)+HOe((n.line-E+1).toString(),_)+" | "+S.str+`
`+w;for(S=UOe(n.buffer,c[b],d[b],n.position,A),w+=vf.repeat(" ",i.indent)+HOe((n.line+1).toString(),_)+" | "+S.str+`
`,w+=vf.repeat("-",i.indent+_+3+S.pos)+`^
`,E=1;E<=i.linesAfter&&!(b+E>=d.length);E++)S=UOe(n.buffer,c[b+E],d[b+E],n.position-(c[b]-c[b+E]),A),w+=vf.repeat(" ",i.indent)+HOe((n.line+E+1).toString(),_)+" | "+S.str+`
`;return w.replace(/\n$/,"")}var zJn=HJn,GJn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],qJn=["scalar","sequence","mapping"];function VJn(n){var i={};return n!==null&&Object.keys(n).forEach(function(s){n[s].forEach(function(c){i[String(c)]=s})}),i}function WJn(n,i){if(i=i||{},Object.keys(i).forEach(function(s){if(GJn.indexOf(s)===-1)throw new ob('Unknown option "'+s+'" is met in definition of "'+n+'" YAML type.')}),this.options=i,this.tag=n,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(s){return s},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=VJn(i.styleAliases||null),qJn.indexOf(this.kind)===-1)throw new ob('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var $p=WJn;function I7t(n,i){var s=[];return n[i].forEach(function(c){var d=s.length;s.forEach(function(g,b){g.tag===c.tag&&g.kind===c.kind&&g.multi===c.multi&&(d=b)}),s[d]=c}),s}function KJn(){var n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},i,s;function c(d){d.multi?(n.multi[d.kind].push(d),n.multi.fallback.push(d)):n[d.kind][d.tag]=n.fallback[d.tag]=d}for(i=0,s=arguments.length;i<s;i+=1)arguments[i].forEach(c);return n}function UDe(n){return this.extend(n)}UDe.prototype.extend=function(i){var s=[],c=[];if(i instanceof $p)c.push(i);else if(Array.isArray(i))c=c.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(s=s.concat(i.implicit)),i.explicit&&(c=c.concat(i.explicit));else throw new ob("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");s.forEach(function(g){if(!(g instanceof $p))throw new ob("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(g.loadKind&&g.loadKind!=="scalar")throw new ob("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(g.multi)throw new ob("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(g){if(!(g instanceof $p))throw new ob("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var d=Object.create(UDe.prototype);return d.implicit=(this.implicit||[]).concat(s),d.explicit=(this.explicit||[]).concat(c),d.compiledImplicit=I7t(d,"implicit"),d.compiledExplicit=I7t(d,"explicit"),d.compiledTypeMap=KJn(d.compiledImplicit,d.compiledExplicit),d};var YJn=UDe,JJn=new $p("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),XJn=new $p("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),ZJn=new $p("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),QJn=new YJn({explicit:[JJn,XJn,ZJn]});function eXn(n){if(n===null)return!0;var i=n.length;return i===1&&n==="~"||i===4&&(n==="null"||n==="Null"||n==="NULL")}function tXn(){return null}function nXn(n){return n===null}var rXn=new $p("tag:yaml.org,2002:null",{kind:"scalar",resolve:eXn,construct:tXn,predicate:nXn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function iXn(n){if(n===null)return!1;var i=n.length;return i===4&&(n==="true"||n==="True"||n==="TRUE")||i===5&&(n==="false"||n==="False"||n==="FALSE")}function oXn(n){return n==="true"||n==="True"||n==="TRUE"}function sXn(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var aXn=new $p("tag:yaml.org,2002:bool",{kind:"scalar",resolve:iXn,construct:oXn,predicate:sXn,represent:{lowercase:function(n){return n?"true":"false"},uppercase:function(n){return n?"TRUE":"FALSE"},camelcase:function(n){return n?"True":"False"}},defaultStyle:"lowercase"});function cXn(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function uXn(n){return 48<=n&&n<=55}function lXn(n){return 48<=n&&n<=57}function dXn(n){if(n===null)return!1;var i=n.length,s=0,c=!1,d;if(!i)return!1;if(d=n[s],(d==="-"||d==="+")&&(d=n[++s]),d==="0"){if(s+1===i)return!0;if(d=n[++s],d==="b"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(d!=="0"&&d!=="1")return!1;c=!0}return c&&d!=="_"}if(d==="x"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(!cXn(n.charCodeAt(s)))return!1;c=!0}return c&&d!=="_"}if(d==="o"){for(s++;s<i;s++)if(d=n[s],d!=="_"){if(!uXn(n.charCodeAt(s)))return!1;c=!0}return c&&d!=="_"}}if(d==="_")return!1;for(;s<i;s++)if(d=n[s],d!=="_"){if(!lXn(n.charCodeAt(s)))return!1;c=!0}return!(!c||d==="_")}function fXn(n){var i=n,s=1,c;if(i.indexOf("_")!==-1&&(i=i.replace(/_/g,"")),c=i[0],(c==="-"||c==="+")&&(c==="-"&&(s=-1),i=i.slice(1),c=i[0]),i==="0")return 0;if(c==="0"){if(i[1]==="b")return s*parseInt(i.slice(2),2);if(i[1]==="x")return s*parseInt(i.slice(2),16);if(i[1]==="o")return s*parseInt(i.slice(2),8)}return s*parseInt(i,10)}function hXn(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!vf.isNegativeZero(n)}var pXn=new $p("tag:yaml.org,2002:int",{kind:"scalar",resolve:dXn,construct:fXn,predicate:hXn,represent:{binary:function(n){return n>=0?"0b"+n.toString(2):"-0b"+n.toString(2).slice(1)},octal:function(n){return n>=0?"0o"+n.toString(8):"-0o"+n.toString(8).slice(1)},decimal:function(n){return n.toString(10)},hexadecimal:function(n){return n>=0?"0x"+n.toString(16).toUpperCase():"-0x"+n.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),gXn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function bXn(n){return!(n===null||!gXn.test(n)||n[n.length-1]==="_")}function mXn(n){var i,s;return i=n.replace(/_/g,"").toLowerCase(),s=i[0]==="-"?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),i===".inf"?s===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:i===".nan"?NaN:s*parseFloat(i,10)}var wXn=/^[-+]?[0-9]+e/;function yXn(n,i){var s;if(isNaN(n))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(vf.isNegativeZero(n))return"-0.0";return s=n.toString(10),wXn.test(s)?s.replace("e",".e"):s}function vXn(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||vf.isNegativeZero(n))}var EXn=new $p("tag:yaml.org,2002:float",{kind:"scalar",resolve:bXn,construct:mXn,predicate:vXn,represent:yXn,defaultStyle:"lowercase"}),SXn=QJn.extend({implicit:[rXn,aXn,pXn,EXn]}),TXn=SXn,BWt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),UWt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function AXn(n){return n===null?!1:BWt.exec(n)!==null||UWt.exec(n)!==null}function _Xn(n){var i,s,c,d,g,b,w,E=0,S=null,_,A,C;if(i=BWt.exec(n),i===null&&(i=UWt.exec(n)),i===null)throw new Error("Date resolve error");if(s=+i[1],c=+i[2]-1,d=+i[3],!i[4])return new Date(Date.UTC(s,c,d));if(g=+i[4],b=+i[5],w=+i[6],i[7]){for(E=i[7].slice(0,3);E.length<3;)E+="0";E=+E}return i[9]&&(_=+i[10],A=+(i[11]||0),S=(_*60+A)*6e4,i[9]==="-"&&(S=-S)),C=new Date(Date.UTC(s,c,d,g,b,w,E)),S&&C.setTime(C.getTime()-S),C}function xXn(n){return n.toISOString()}var kXn=new $p("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:AXn,construct:_Xn,instanceOf:Date,represent:xXn});function NXn(n){return n==="<<"||n===null}var CXn=new $p("tag:yaml.org,2002:merge",{kind:"scalar",resolve:NXn}),zMe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function IXn(n){if(n===null)return!1;var i,s,c=0,d=n.length,g=zMe;for(s=0;s<d;s++)if(i=g.indexOf(n.charAt(s)),!(i>64)){if(i<0)return!1;c+=6}return c%8===0}function RXn(n){var i,s,c=n.replace(/[\r\n=]/g,""),d=c.length,g=zMe,b=0,w=[];for(i=0;i<d;i++)i%4===0&&i&&(w.push(b>>16&255),w.push(b>>8&255),w.push(b&255)),b=b<<6|g.indexOf(c.charAt(i));return s=d%4*6,s===0?(w.push(b>>16&255),w.push(b>>8&255),w.push(b&255)):s===18?(w.push(b>>10&255),w.push(b>>2&255)):s===12&&w.push(b>>4&255),new Uint8Array(w)}function OXn(n){var i="",s=0,c,d,g=n.length,b=zMe;for(c=0;c<g;c++)c%3===0&&c&&(i+=b[s>>18&63],i+=b[s>>12&63],i+=b[s>>6&63],i+=b[s&63]),s=(s<<8)+n[c];return d=g%3,d===0?(i+=b[s>>18&63],i+=b[s>>12&63],i+=b[s>>6&63],i+=b[s&63]):d===2?(i+=b[s>>10&63],i+=b[s>>4&63],i+=b[s<<2&63],i+=b[64]):d===1&&(i+=b[s>>2&63],i+=b[s<<4&63],i+=b[64],i+=b[64]),i}function DXn(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var LXn=new $p("tag:yaml.org,2002:binary",{kind:"scalar",resolve:IXn,construct:RXn,predicate:DXn,represent:OXn}),MXn=Object.prototype.hasOwnProperty,PXn=Object.prototype.toString;function jXn(n){if(n===null)return!0;var i=[],s,c,d,g,b,w=n;for(s=0,c=w.length;s<c;s+=1){if(d=w[s],b=!1,PXn.call(d)!=="[object Object]")return!1;for(g in d)if(MXn.call(d,g))if(!b)b=!0;else return!1;if(!b)return!1;if(i.indexOf(g)===-1)i.push(g);else return!1}return!0}function FXn(n){return n!==null?n:[]}var $Xn=new $p("tag:yaml.org,2002:omap",{kind:"sequence",resolve:jXn,construct:FXn}),BXn=Object.prototype.toString;function UXn(n){if(n===null)return!0;var i,s,c,d,g,b=n;for(g=new Array(b.length),i=0,s=b.length;i<s;i+=1){if(c=b[i],BXn.call(c)!=="[object Object]"||(d=Object.keys(c),d.length!==1))return!1;g[i]=[d[0],c[d[0]]]}return!0}function HXn(n){if(n===null)return[];var i,s,c,d,g,b=n;for(g=new Array(b.length),i=0,s=b.length;i<s;i+=1)c=b[i],d=Object.keys(c),g[i]=[d[0],c[d[0]]];return g}var zXn=new $p("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:UXn,construct:HXn}),GXn=Object.prototype.hasOwnProperty;function qXn(n){if(n===null)return!0;var i,s=n;for(i in s)if(GXn.call(s,i)&&s[i]!==null)return!1;return!0}function VXn(n){return n!==null?n:{}}var WXn=new $p("tag:yaml.org,2002:set",{kind:"mapping",resolve:qXn,construct:VXn}),HWt=TXn.extend({implicit:[kXn,CXn],explicit:[LXn,$Xn,zXn,WXn]}),bN=Object.prototype.hasOwnProperty,hse=1,zWt=2,GWt=3,pse=4,zOe=1,KXn=2,R7t=3,YXn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,JXn=/[\x85\u2028\u2029]/,XXn=/[,\[\]\{\}]/,qWt=/^(?:!|!!|![a-z\-]+!)$/i,VWt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function O7t(n){return Object.prototype.toString.call(n)}function U2(n){return n===10||n===13}function rR(n){return n===9||n===32}function ub(n){return n===9||n===32||n===10||n===13}function W5(n){return n===44||n===91||n===93||n===123||n===125}function ZXn(n){var i;return 48<=n&&n<=57?n-48:(i=n|32,97<=i&&i<=102?i-97+10:-1)}function QXn(n){return n===120?2:n===117?4:n===85?8:0}function eZn(n){return 48<=n&&n<=57?n-48:-1}function D7t(n){return n===48?"\0":n===97?"\x07":n===98?"\b":n===116||n===9?" ":n===110?`
`:n===118?"\v":n===102?"\f":n===114?"\r":n===101?"\x1B":n===32?" ":n===34?'"':n===47?"/":n===92?"\\":n===78?"…":n===95?" ":n===76?"\u2028":n===80?"\u2029":""}function tZn(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}function WWt(n,i,s){i==="__proto__"?Object.defineProperty(n,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):n[i]=s}var KWt=new Array(256),YWt=new Array(256);for(var E5=0;E5<256;E5++)KWt[E5]=D7t(E5)?1:0,YWt[E5]=D7t(E5);function nZn(n,i){this.input=n,this.filename=i.filename||null,this.schema=i.schema||HWt,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=n.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function JWt(n,i){var s={name:n.filename,buffer:n.input.slice(0,-1),position:n.position,line:n.line,column:n.position-n.lineStart};return s.snippet=zJn(s),new ob(i,s)}function Ni(n,i){throw JWt(n,i)}function gse(n,i){n.onWarning&&n.onWarning.call(null,JWt(n,i))}var L7t={YAML:function(i,s,c){var d,g,b;i.version!==null&&Ni(i,"duplication of %YAML directive"),c.length!==1&&Ni(i,"YAML directive accepts exactly one argument"),d=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),d===null&&Ni(i,"ill-formed argument of the YAML directive"),g=parseInt(d[1],10),b=parseInt(d[2],10),g!==1&&Ni(i,"unacceptable YAML version of the document"),i.version=c[0],i.checkLineBreaks=b<2,b!==1&&b!==2&&gse(i,"unsupported YAML version of the document")},TAG:function(i,s,c){var d,g;c.length!==2&&Ni(i,"TAG directive accepts exactly two arguments"),d=c[0],g=c[1],qWt.test(d)||Ni(i,"ill-formed tag handle (first argument) of the TAG directive"),bN.call(i.tagMap,d)&&Ni(i,'there is a previously declared suffix for "'+d+'" tag handle'),VWt.test(g)||Ni(i,"ill-formed tag prefix (second argument) of the TAG directive");try{g=decodeURIComponent(g)}catch{Ni(i,"tag prefix is malformed: "+g)}i.tagMap[d]=g}};function eN(n,i,s,c){var d,g,b,w;if(i<s){if(w=n.input.slice(i,s),c)for(d=0,g=w.length;d<g;d+=1)b=w.charCodeAt(d),b===9||32<=b&&b<=1114111||Ni(n,"expected valid JSON character");else YXn.test(w)&&Ni(n,"the stream contains non-printable characters");n.result+=w}}function M7t(n,i,s,c){var d,g,b,w;for(vf.isObject(s)||Ni(n,"cannot merge mappings; the provided source object is unacceptable"),d=Object.keys(s),b=0,w=d.length;b<w;b+=1)g=d[b],bN.call(i,g)||(WWt(i,g,s[g]),c[g]=!0)}function K5(n,i,s,c,d,g,b,w,E){var S,_;if(Array.isArray(d))for(d=Array.prototype.slice.call(d),S=0,_=d.length;S<_;S+=1)Array.isArray(d[S])&&Ni(n,"nested arrays are not supported inside keys"),typeof d=="object"&&O7t(d[S])==="[object Object]"&&(d[S]="[object Object]");if(typeof d=="object"&&O7t(d)==="[object Object]"&&(d="[object Object]"),d=String(d),i===null&&(i={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(g))for(S=0,_=g.length;S<_;S+=1)M7t(n,i,g[S],s);else M7t(n,i,g,s);else!n.json&&!bN.call(s,d)&&bN.call(i,d)&&(n.line=b||n.line,n.lineStart=w||n.lineStart,n.position=E||n.position,Ni(n,"duplicated mapping key")),WWt(i,d,g),delete s[d];return i}function GMe(n){var i;i=n.input.charCodeAt(n.position),i===10?n.position++:i===13?(n.position++,n.input.charCodeAt(n.position)===10&&n.position++):Ni(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function $d(n,i,s){for(var c=0,d=n.input.charCodeAt(n.position);d!==0;){for(;rR(d);)d===9&&n.firstTabInLine===-1&&(n.firstTabInLine=n.position),d=n.input.charCodeAt(++n.position);if(i&&d===35)do d=n.input.charCodeAt(++n.position);while(d!==10&&d!==13&&d!==0);if(U2(d))for(GMe(n),d=n.input.charCodeAt(n.position),c++,n.lineIndent=0;d===32;)n.lineIndent++,d=n.input.charCodeAt(++n.position);else break}return s!==-1&&c!==0&&n.lineIndent<s&&gse(n,"deficient indentation"),c}function Gae(n){var i=n.position,s;return s=n.input.charCodeAt(i),!!((s===45||s===46)&&s===n.input.charCodeAt(i+1)&&s===n.input.charCodeAt(i+2)&&(i+=3,s=n.input.charCodeAt(i),s===0||ub(s)))}function qMe(n,i){i===1?n.result+=" ":i>1&&(n.result+=vf.repeat(`
`,i-1))}function rZn(n,i,s){var c,d,g,b,w,E,S,_,A=n.kind,C=n.result,O;if(O=n.input.charCodeAt(n.position),ub(O)||W5(O)||O===35||O===38||O===42||O===33||O===124||O===62||O===39||O===34||O===37||O===64||O===96||(O===63||O===45)&&(d=n.input.charCodeAt(n.position+1),ub(d)||s&&W5(d)))return!1;for(n.kind="scalar",n.result="",g=b=n.position,w=!1;O!==0;){if(O===58){if(d=n.input.charCodeAt(n.position+1),ub(d)||s&&W5(d))break}else if(O===35){if(c=n.input.charCodeAt(n.position-1),ub(c))break}else{if(n.position===n.lineStart&&Gae(n)||s&&W5(O))break;if(U2(O))if(E=n.line,S=n.lineStart,_=n.lineIndent,$d(n,!1,-1),n.lineIndent>=i){w=!0,O=n.input.charCodeAt(n.position);continue}else{n.position=b,n.line=E,n.lineStart=S,n.lineIndent=_;break}}w&&(eN(n,g,b,!1),qMe(n,n.line-E),g=b=n.position,w=!1),rR(O)||(b=n.position+1),O=n.input.charCodeAt(++n.position)}return eN(n,g,b,!1),n.result?!0:(n.kind=A,n.result=C,!1)}function iZn(n,i){var s,c,d;if(s=n.input.charCodeAt(n.position),s!==39)return!1;for(n.kind="scalar",n.result="",n.position++,c=d=n.position;(s=n.input.charCodeAt(n.position))!==0;)if(s===39)if(eN(n,c,n.position,!0),s=n.input.charCodeAt(++n.position),s===39)c=n.position,n.position++,d=n.position;else return!0;else U2(s)?(eN(n,c,d,!0),qMe(n,$d(n,!1,i)),c=d=n.position):n.position===n.lineStart&&Gae(n)?Ni(n,"unexpected end of the document within a single quoted scalar"):(n.position++,d=n.position);Ni(n,"unexpected end of the stream within a single quoted scalar")}function oZn(n,i){var s,c,d,g,b,w;if(w=n.input.charCodeAt(n.position),w!==34)return!1;for(n.kind="scalar",n.result="",n.position++,s=c=n.position;(w=n.input.charCodeAt(n.position))!==0;){if(w===34)return eN(n,s,n.position,!0),n.position++,!0;if(w===92){if(eN(n,s,n.position,!0),w=n.input.charCodeAt(++n.position),U2(w))$d(n,!1,i);else if(w<256&&KWt[w])n.result+=YWt[w],n.position++;else if((b=QXn(w))>0){for(d=b,g=0;d>0;d--)w=n.input.charCodeAt(++n.position),(b=ZXn(w))>=0?g=(g<<4)+b:Ni(n,"expected hexadecimal character");n.result+=tZn(g),n.position++}else Ni(n,"unknown escape sequence");s=c=n.position}else U2(w)?(eN(n,s,c,!0),qMe(n,$d(n,!1,i)),s=c=n.position):n.position===n.lineStart&&Gae(n)?Ni(n,"unexpected end of the document within a double quoted scalar"):(n.position++,c=n.position)}Ni(n,"unexpected end of the stream within a double quoted scalar")}function sZn(n,i){var s=!0,c,d,g,b=n.tag,w,E=n.anchor,S,_,A,C,O,L=Object.create(null),D,B,$,P;if(P=n.input.charCodeAt(n.position),P===91)_=93,O=!1,w=[];else if(P===123)_=125,O=!0,w={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=w),P=n.input.charCodeAt(++n.position);P!==0;){if($d(n,!0,i),P=n.input.charCodeAt(n.position),P===_)return n.position++,n.tag=b,n.anchor=E,n.kind=O?"mapping":"sequence",n.result=w,!0;s?P===44&&Ni(n,"expected the node content, but found ','"):Ni(n,"missed comma between flow collection entries"),B=D=$=null,A=C=!1,P===63&&(S=n.input.charCodeAt(n.position+1),ub(S)&&(A=C=!0,n.position++,$d(n,!0,i))),c=n.line,d=n.lineStart,g=n.position,RM(n,i,hse,!1,!0),B=n.tag,D=n.result,$d(n,!0,i),P=n.input.charCodeAt(n.position),(C||n.line===c)&&P===58&&(A=!0,P=n.input.charCodeAt(++n.position),$d(n,!0,i),RM(n,i,hse,!1,!0),$=n.result),O?K5(n,w,L,B,D,$,c,d,g):A?w.push(K5(n,null,L,B,D,$,c,d,g)):w.push(D),$d(n,!0,i),P=n.input.charCodeAt(n.position),P===44?(s=!0,P=n.input.charCodeAt(++n.position)):s=!1}Ni(n,"unexpected end of the stream within a flow collection")}function aZn(n,i){var s,c,d=zOe,g=!1,b=!1,w=i,E=0,S=!1,_,A;if(A=n.input.charCodeAt(n.position),A===124)c=!1;else if(A===62)c=!0;else return!1;for(n.kind="scalar",n.result="";A!==0;)if(A=n.input.charCodeAt(++n.position),A===43||A===45)zOe===d?d=A===43?R7t:KXn:Ni(n,"repeat of a chomping mode identifier");else if((_=eZn(A))>=0)_===0?Ni(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?Ni(n,"repeat of an indentation width identifier"):(w=i+_-1,b=!0);else break;if(rR(A)){do A=n.input.charCodeAt(++n.position);while(rR(A));if(A===35)do A=n.input.charCodeAt(++n.position);while(!U2(A)&&A!==0)}for(;A!==0;){for(GMe(n),n.lineIndent=0,A=n.input.charCodeAt(n.position);(!b||n.lineIndent<w)&&A===32;)n.lineIndent++,A=n.input.charCodeAt(++n.position);if(!b&&n.lineIndent>w&&(w=n.lineIndent),U2(A)){E++;continue}if(n.lineIndent<w){d===R7t?n.result+=vf.repeat(`
`,g?1+E:E):d===zOe&&g&&(n.result+=`
`);break}for(c?rR(A)?(S=!0,n.result+=vf.repeat(`
`,g?1+E:E)):S?(S=!1,n.result+=vf.repeat(`
`,E+1)):E===0?g&&(n.result+=" "):n.result+=vf.repeat(`
`,E):n.result+=vf.repeat(`
`,g?1+E:E),g=!0,b=!0,E=0,s=n.position;!U2(A)&&A!==0;)A=n.input.charCodeAt(++n.position);eN(n,s,n.position,!1)}return!0}function P7t(n,i){var s,c=n.tag,d=n.anchor,g=[],b,w=!1,E;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=g),E=n.input.charCodeAt(n.position);E!==0&&(n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Ni(n,"tab characters must not be used in indentation")),!(E!==45||(b=n.input.charCodeAt(n.position+1),!ub(b))));){if(w=!0,n.position++,$d(n,!0,-1)&&n.lineIndent<=i){g.push(null),E=n.input.charCodeAt(n.position);continue}if(s=n.line,RM(n,i,GWt,!1,!0),g.push(n.result),$d(n,!0,-1),E=n.input.charCodeAt(n.position),(n.line===s||n.lineIndent>i)&&E!==0)Ni(n,"bad indentation of a sequence entry");else if(n.lineIndent<i)break}return w?(n.tag=c,n.anchor=d,n.kind="sequence",n.result=g,!0):!1}function cZn(n,i,s){var c,d,g,b,w,E,S=n.tag,_=n.anchor,A={},C=Object.create(null),O=null,L=null,D=null,B=!1,$=!1,P;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=A),P=n.input.charCodeAt(n.position);P!==0;){if(!B&&n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Ni(n,"tab characters must not be used in indentation")),c=n.input.charCodeAt(n.position+1),g=n.line,(P===63||P===58)&&ub(c))P===63?(B&&(K5(n,A,C,O,L,null,b,w,E),O=L=D=null),$=!0,B=!0,d=!0):B?(B=!1,d=!0):Ni(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,P=c;else{if(b=n.line,w=n.lineStart,E=n.position,!RM(n,s,zWt,!1,!0))break;if(n.line===g){for(P=n.input.charCodeAt(n.position);rR(P);)P=n.input.charCodeAt(++n.position);if(P===58)P=n.input.charCodeAt(++n.position),ub(P)||Ni(n,"a whitespace character is expected after the key-value separator within a block mapping"),B&&(K5(n,A,C,O,L,null,b,w,E),O=L=D=null),$=!0,B=!1,d=!1,O=n.tag,L=n.result;else if($)Ni(n,"can not read an implicit mapping pair; a colon is missed");else return n.tag=S,n.anchor=_,!0}else if($)Ni(n,"can not read a block mapping entry; a multiline key may not be an implicit key");else return n.tag=S,n.anchor=_,!0}if((n.line===g||n.lineIndent>i)&&(B&&(b=n.line,w=n.lineStart,E=n.position),RM(n,i,pse,!0,d)&&(B?L=n.result:D=n.result),B||(K5(n,A,C,O,L,D,b,w,E),O=L=D=null),$d(n,!0,-1),P=n.input.charCodeAt(n.position)),(n.line===g||n.lineIndent>i)&&P!==0)Ni(n,"bad indentation of a mapping entry");else if(n.lineIndent<i)break}return B&&K5(n,A,C,O,L,null,b,w,E),$&&(n.tag=S,n.anchor=_,n.kind="mapping",n.result=A),$}function uZn(n){var i,s=!1,c=!1,d,g,b;if(b=n.input.charCodeAt(n.position),b!==33)return!1;if(n.tag!==null&&Ni(n,"duplication of a tag property"),b=n.input.charCodeAt(++n.position),b===60?(s=!0,b=n.input.charCodeAt(++n.position)):b===33?(c=!0,d="!!",b=n.input.charCodeAt(++n.position)):d="!",i=n.position,s){do b=n.input.charCodeAt(++n.position);while(b!==0&&b!==62);n.position<n.length?(g=n.input.slice(i,n.position),b=n.input.charCodeAt(++n.position)):Ni(n,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!ub(b);)b===33&&(c?Ni(n,"tag suffix cannot contain exclamation marks"):(d=n.input.slice(i-1,n.position+1),qWt.test(d)||Ni(n,"named tag handle cannot contain such characters"),c=!0,i=n.position+1)),b=n.input.charCodeAt(++n.position);g=n.input.slice(i,n.position),XXn.test(g)&&Ni(n,"tag suffix cannot contain flow indicator characters")}g&&!VWt.test(g)&&Ni(n,"tag name cannot contain such characters: "+g);try{g=decodeURIComponent(g)}catch{Ni(n,"tag name is malformed: "+g)}return s?n.tag=g:bN.call(n.tagMap,d)?n.tag=n.tagMap[d]+g:d==="!"?n.tag="!"+g:d==="!!"?n.tag="tag:yaml.org,2002:"+g:Ni(n,'undeclared tag handle "'+d+'"'),!0}function lZn(n){var i,s;if(s=n.input.charCodeAt(n.position),s!==38)return!1;for(n.anchor!==null&&Ni(n,"duplication of an anchor property"),s=n.input.charCodeAt(++n.position),i=n.position;s!==0&&!ub(s)&&!W5(s);)s=n.input.charCodeAt(++n.position);return n.position===i&&Ni(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(i,n.position),!0}function dZn(n){var i,s,c;if(c=n.input.charCodeAt(n.position),c!==42)return!1;for(c=n.input.charCodeAt(++n.position),i=n.position;c!==0&&!ub(c)&&!W5(c);)c=n.input.charCodeAt(++n.position);return n.position===i&&Ni(n,"name of an alias node must contain at least one character"),s=n.input.slice(i,n.position),bN.call(n.anchorMap,s)||Ni(n,'unidentified alias "'+s+'"'),n.result=n.anchorMap[s],$d(n,!0,-1),!0}function RM(n,i,s,c,d){var g,b,w,E=1,S=!1,_=!1,A,C,O,L,D,B;if(n.listener!==null&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,g=b=w=pse===s||GWt===s,c&&$d(n,!0,-1)&&(S=!0,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)),E===1)for(;uZn(n)||lZn(n);)$d(n,!0,-1)?(S=!0,w=g,n.lineIndent>i?E=1:n.lineIndent===i?E=0:n.lineIndent<i&&(E=-1)):w=!1;if(w&&(w=S||d),(E===1||pse===s)&&(hse===s||zWt===s?D=i:D=i+1,B=n.position-n.lineStart,E===1?w&&(P7t(n,B)||cZn(n,B,D))||sZn(n,D)?_=!0:(b&&aZn(n,D)||iZn(n,D)||oZn(n,D)?_=!0:dZn(n)?(_=!0,(n.tag!==null||n.anchor!==null)&&Ni(n,"alias node should not have any properties")):rZn(n,D,hse===s)&&(_=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):E===0&&(_=w&&P7t(n,B))),n.tag===null)n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);else if(n.tag==="?"){for(n.result!==null&&n.kind!=="scalar"&&Ni(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),A=0,C=n.implicitTypes.length;A<C;A+=1)if(L=n.implicitTypes[A],L.resolve(n.result)){n.result=L.construct(n.result),n.tag=L.tag,n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);break}}else if(n.tag!=="!"){if(bN.call(n.typeMap[n.kind||"fallback"],n.tag))L=n.typeMap[n.kind||"fallback"][n.tag];else for(L=null,O=n.typeMap.multi[n.kind||"fallback"],A=0,C=O.length;A<C;A+=1)if(n.tag.slice(0,O[A].tag.length)===O[A].tag){L=O[A];break}L||Ni(n,"unknown tag !<"+n.tag+">"),n.result!==null&&L.kind!==n.kind&&Ni(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+L.kind+'", not "'+n.kind+'"'),L.resolve(n.result,n.tag)?(n.result=L.construct(n.result,n.tag),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):Ni(n,"cannot resolve a node with !<"+n.tag+"> explicit tag")}return n.listener!==null&&n.listener("close",n),n.tag!==null||n.anchor!==null||_}function fZn(n){var i=n.position,s,c,d,g=!1,b;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);(b=n.input.charCodeAt(n.position))!==0&&($d(n,!0,-1),b=n.input.charCodeAt(n.position),!(n.lineIndent>0||b!==37));){for(g=!0,b=n.input.charCodeAt(++n.position),s=n.position;b!==0&&!ub(b);)b=n.input.charCodeAt(++n.position);for(c=n.input.slice(s,n.position),d=[],c.length<1&&Ni(n,"directive name must not be less than one character in length");b!==0;){for(;rR(b);)b=n.input.charCodeAt(++n.position);if(b===35){do b=n.input.charCodeAt(++n.position);while(b!==0&&!U2(b));break}if(U2(b))break;for(s=n.position;b!==0&&!ub(b);)b=n.input.charCodeAt(++n.position);d.push(n.input.slice(s,n.position))}b!==0&&GMe(n),bN.call(L7t,c)?L7t[c](n,c,d):gse(n,'unknown document directive "'+c+'"')}if($d(n,!0,-1),n.lineIndent===0&&n.input.charCodeAt(n.position)===45&&n.input.charCodeAt(n.position+1)===45&&n.input.charCodeAt(n.position+2)===45?(n.position+=3,$d(n,!0,-1)):g&&Ni(n,"directives end mark is expected"),RM(n,n.lineIndent-1,pse,!1,!0),$d(n,!0,-1),n.checkLineBreaks&&JXn.test(n.input.slice(i,n.position))&&gse(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&Gae(n)){n.input.charCodeAt(n.position)===46&&(n.position+=3,$d(n,!0,-1));return}if(n.position<n.length-1)Ni(n,"end of the stream or a document separator is expected");else return}function hZn(n,i){n=String(n),i=i||{},n.length!==0&&(n.charCodeAt(n.length-1)!==10&&n.charCodeAt(n.length-1)!==13&&(n+=`
`),n.charCodeAt(0)===65279&&(n=n.slice(1)));var s=new nZn(n,i),c=n.indexOf("\0");for(c!==-1&&(s.position=c,Ni(s,"null byte is not allowed in input")),s.input+="\0";s.input.charCodeAt(s.position)===32;)s.lineIndent+=1,s.position+=1;for(;s.position<s.length-1;)fZn(s);return s.documents}function pZn(n,i){var s=hZn(n,i);if(s.length!==0){if(s.length===1)return s[0];throw new ob("expected a single document in the stream, but found more")}}var gZn=pZn,bZn={load:gZn},XWt=Object.prototype.toString,ZWt=Object.prototype.hasOwnProperty,VMe=65279,mZn=9,uz=10,wZn=13,yZn=32,vZn=33,EZn=34,HDe=35,SZn=37,TZn=38,AZn=39,_Zn=42,QWt=44,xZn=45,bse=58,kZn=61,NZn=62,CZn=63,IZn=64,eKt=91,tKt=93,RZn=96,nKt=123,OZn=124,rKt=125,qp={};qp[0]="\\0";qp[7]="\\a";qp[8]="\\b";qp[9]="\\t";qp[10]="\\n";qp[11]="\\v";qp[12]="\\f";qp[13]="\\r";qp[27]="\\e";qp[34]='\\"';qp[92]="\\\\";qp[133]="\\N";qp[160]="\\_";qp[8232]="\\L";qp[8233]="\\P";var DZn=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],LZn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function MZn(n,i){var s,c,d,g,b,w,E;if(i===null)return{};for(s={},c=Object.keys(i),d=0,g=c.length;d<g;d+=1)b=c[d],w=String(i[b]),b.slice(0,2)==="!!"&&(b="tag:yaml.org,2002:"+b.slice(2)),E=n.compiledTypeMap.fallback[b],E&&ZWt.call(E.styleAliases,w)&&(w=E.styleAliases[w]),s[b]=w;return s}function PZn(n){var i,s,c;if(i=n.toString(16).toUpperCase(),n<=255)s="x",c=2;else if(n<=65535)s="u",c=4;else if(n<=4294967295)s="U",c=8;else throw new ob("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+s+vf.repeat("0",c-i.length)+i}var jZn=1,lz=2;function FZn(n){this.schema=n.schema||HWt,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=vf.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=MZn(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType=n.quotingType==='"'?lz:jZn,this.forceQuotes=n.forceQuotes||!1,this.replacer=typeof n.replacer=="function"?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function j7t(n,i){for(var s=vf.repeat(" ",i),c=0,d=-1,g="",b,w=n.length;c<w;)d=n.indexOf(`
`,c),d===-1?(b=n.slice(c),c=w):(b=n.slice(c,d+1),c=d+1),b.length&&b!==`
`&&(g+=s),g+=b;return g}function zDe(n,i){return`
`+vf.repeat(" ",n.indent*i)}function $Zn(n,i){var s,c,d;for(s=0,c=n.implicitTypes.length;s<c;s+=1)if(d=n.implicitTypes[s],d.resolve(i))return!0;return!1}function mse(n){return n===yZn||n===mZn}function dz(n){return 32<=n&&n<=126||161<=n&&n<=55295&&n!==8232&&n!==8233||57344<=n&&n<=65533&&n!==VMe||65536<=n&&n<=1114111}function F7t(n){return dz(n)&&n!==VMe&&n!==wZn&&n!==uz}function $7t(n,i,s){var c=F7t(n),d=c&&!mse(n);return(s?c:c&&n!==QWt&&n!==eKt&&n!==tKt&&n!==nKt&&n!==rKt)&&n!==HDe&&!(i===bse&&!d)||F7t(i)&&!mse(i)&&n===HDe||i===bse&&d}function BZn(n){return dz(n)&&n!==VMe&&!mse(n)&&n!==xZn&&n!==CZn&&n!==bse&&n!==QWt&&n!==eKt&&n!==tKt&&n!==nKt&&n!==rKt&&n!==HDe&&n!==TZn&&n!==_Zn&&n!==vZn&&n!==OZn&&n!==kZn&&n!==NZn&&n!==AZn&&n!==EZn&&n!==SZn&&n!==IZn&&n!==RZn}function UZn(n){return!mse(n)&&n!==bse}function iH(n,i){var s=n.charCodeAt(i),c;return s>=55296&&s<=56319&&i+1<n.length&&(c=n.charCodeAt(i+1),c>=56320&&c<=57343)?(s-55296)*1024+c-56320+65536:s}function iKt(n){var i=/^\n* /;return i.test(n)}var oKt=1,GDe=2,sKt=3,aKt=4,k5=5;function HZn(n,i,s,c,d,g,b,w){var E,S=0,_=null,A=!1,C=!1,O=c!==-1,L=-1,D=BZn(iH(n,0))&&UZn(iH(n,n.length-1));if(i||b)for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=iH(n,E),!dz(S))return k5;D=D&&$7t(S,_,w),_=S}else{for(E=0;E<n.length;S>=65536?E+=2:E++){if(S=iH(n,E),S===uz)A=!0,O&&(C=C||E-L-1>c&&n[L+1]!==" ",L=E);else if(!dz(S))return k5;D=D&&$7t(S,_,w),_=S}C=C||O&&E-L-1>c&&n[L+1]!==" "}return!A&&!C?D&&!b&&!d(n)?oKt:g===lz?k5:GDe:s>9&&iKt(n)?k5:b?g===lz?k5:GDe:C?aKt:sKt}function zZn(n,i,s,c,d){n.dump=function(){if(i.length===0)return n.quotingType===lz?'""':"''";if(!n.noCompatMode&&(DZn.indexOf(i)!==-1||LZn.test(i)))return n.quotingType===lz?'"'+i+'"':"'"+i+"'";var g=n.indent*Math.max(1,s),b=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-g),w=c||n.flowLevel>-1&&s>=n.flowLevel;function E(S){return $Zn(n,S)}switch(HZn(i,w,n.indent,b,E,n.quotingType,n.forceQuotes&&!c,d)){case oKt:return i;case GDe:return"'"+i.replace(/'/g,"''")+"'";case sKt:return"|"+B7t(i,n.indent)+U7t(j7t(i,g));case aKt:return">"+B7t(i,n.indent)+U7t(j7t(GZn(i,b),g));case k5:return'"'+qZn(i)+'"';default:throw new ob("impossible error: invalid scalar style")}}()}function B7t(n,i){var s=iKt(n)?String(i):"",c=n[n.length-1]===`
`,d=c&&(n[n.length-2]===`
`||n===`
`),g=d?"+":c?"":"-";return s+g+`
`}function U7t(n){return n[n.length-1]===`
`?n.slice(0,-1):n}function GZn(n,i){for(var s=/(\n+)([^\n]*)/g,c=function(){var S=n.indexOf(`
`);return S=S!==-1?S:n.length,s.lastIndex=S,H7t(n.slice(0,S),i)}(),d=n[0]===`
`||n[0]===" ",g,b;b=s.exec(n);){var w=b[1],E=b[2];g=E[0]===" ",c+=w+(!d&&!g&&E!==""?`
`:"")+H7t(E,i),d=g}return c}function H7t(n,i){if(n===""||n[0]===" ")return n;for(var s=/ [^ ]/g,c,d=0,g,b=0,w=0,E="";c=s.exec(n);)w=c.index,w-d>i&&(g=b>d?b:w,E+=`
`+n.slice(d,g),d=g+1),b=w;return E+=`
`,n.length-d>i&&b>d?E+=n.slice(d,b)+`
`+n.slice(b+1):E+=n.slice(d),E.slice(1)}function qZn(n){for(var i="",s=0,c,d=0;d<n.length;s>=65536?d+=2:d++)s=iH(n,d),c=qp[s],!c&&dz(s)?(i+=n[d],s>=65536&&(i+=n[d+1])):i+=c||PZn(s);return i}function VZn(n,i,s){var c="",d=n.tag,g,b,w;for(g=0,b=s.length;g<b;g+=1)w=s[g],n.replacer&&(w=n.replacer.call(s,String(g),w)),(TA(n,i,w,!1,!1)||typeof w>"u"&&TA(n,i,null,!1,!1))&&(c!==""&&(c+=","+(n.condenseFlow?"":" ")),c+=n.dump);n.tag=d,n.dump="["+c+"]"}function z7t(n,i,s,c){var d="",g=n.tag,b,w,E;for(b=0,w=s.length;b<w;b+=1)E=s[b],n.replacer&&(E=n.replacer.call(s,String(b),E)),(TA(n,i+1,E,!0,!0,!1,!0)||typeof E>"u"&&TA(n,i+1,null,!0,!0,!1,!0))&&((!c||d!=="")&&(d+=zDe(n,i)),n.dump&&uz===n.dump.charCodeAt(0)?d+="-":d+="- ",d+=n.dump);n.tag=g,n.dump=d||"[]"}function WZn(n,i,s){var c="",d=n.tag,g=Object.keys(s),b,w,E,S,_;for(b=0,w=g.length;b<w;b+=1)_="",c!==""&&(_+=", "),n.condenseFlow&&(_+='"'),E=g[b],S=s[E],n.replacer&&(S=n.replacer.call(s,E,S)),TA(n,i,E,!1,!1)&&(n.dump.length>1024&&(_+="? "),_+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),TA(n,i,S,!1,!1)&&(_+=n.dump,c+=_));n.tag=d,n.dump="{"+c+"}"}function KZn(n,i,s,c){var d="",g=n.tag,b=Object.keys(s),w,E,S,_,A,C;if(n.sortKeys===!0)b.sort();else if(typeof n.sortKeys=="function")b.sort(n.sortKeys);else if(n.sortKeys)throw new ob("sortKeys must be a boolean or a function");for(w=0,E=b.length;w<E;w+=1)C="",(!c||d!=="")&&(C+=zDe(n,i)),S=b[w],_=s[S],n.replacer&&(_=n.replacer.call(s,S,_)),TA(n,i+1,S,!0,!0,!0)&&(A=n.tag!==null&&n.tag!=="?"||n.dump&&n.dump.length>1024,A&&(n.dump&&uz===n.dump.charCodeAt(0)?C+="?":C+="? "),C+=n.dump,A&&(C+=zDe(n,i)),TA(n,i+1,_,!0,A)&&(n.dump&&uz===n.dump.charCodeAt(0)?C+=":":C+=": ",C+=n.dump,d+=C));n.tag=g,n.dump=d||"{}"}function G7t(n,i,s){var c,d,g,b,w,E;for(d=s?n.explicitTypes:n.implicitTypes,g=0,b=d.length;g<b;g+=1)if(w=d[g],(w.instanceOf||w.predicate)&&(!w.instanceOf||typeof i=="object"&&i instanceof w.instanceOf)&&(!w.predicate||w.predicate(i))){if(s?w.multi&&w.representName?n.tag=w.representName(i):n.tag=w.tag:n.tag="?",w.represent){if(E=n.styleMap[w.tag]||w.defaultStyle,XWt.call(w.represent)==="[object Function]")c=w.represent(i,E);else if(ZWt.call(w.represent,E))c=w.represent[E](i,E);else throw new ob("!<"+w.tag+'> tag resolver accepts not "'+E+'" style');n.dump=c}return!0}return!1}function TA(n,i,s,c,d,g,b){n.tag=null,n.dump=s,G7t(n,s,!1)||G7t(n,s,!0);var w=XWt.call(n.dump),E=c,S;c&&(c=n.flowLevel<0||n.flowLevel>i);var _=w==="[object Object]"||w==="[object Array]",A,C;if(_&&(A=n.duplicates.indexOf(s),C=A!==-1),(n.tag!==null&&n.tag!=="?"||C||n.indent!==2&&i>0)&&(d=!1),C&&n.usedDuplicates[A])n.dump="*ref_"+A;else{if(_&&C&&!n.usedDuplicates[A]&&(n.usedDuplicates[A]=!0),w==="[object Object]")c&&Object.keys(n.dump).length!==0?(KZn(n,i,n.dump,d),C&&(n.dump="&ref_"+A+n.dump)):(WZn(n,i,n.dump),C&&(n.dump="&ref_"+A+" "+n.dump));else if(w==="[object Array]")c&&n.dump.length!==0?(n.noArrayIndent&&!b&&i>0?z7t(n,i-1,n.dump,d):z7t(n,i,n.dump,d),C&&(n.dump="&ref_"+A+n.dump)):(VZn(n,i,n.dump),C&&(n.dump="&ref_"+A+" "+n.dump));else if(w==="[object String]")n.tag!=="?"&&zZn(n,n.dump,i,g,E);else{if(w==="[object Undefined]")return!1;if(n.skipInvalid)return!1;throw new ob("unacceptable kind of an object to dump "+w)}n.tag!==null&&n.tag!=="?"&&(S=encodeURI(n.tag[0]==="!"?n.tag.slice(1):n.tag).replace(/!/g,"%21"),n.tag[0]==="!"?S="!"+S:S.slice(0,18)==="tag:yaml.org,2002:"?S="!!"+S.slice(18):S="!<"+S+">",n.dump=S+" "+n.dump)}return!0}function YZn(n,i){var s=[],c=[],d,g;for(qDe(n,s,c),d=0,g=c.length;d<g;d+=1)i.duplicates.push(s[c[d]]);i.usedDuplicates=new Array(g)}function qDe(n,i,s){var c,d,g;if(n!==null&&typeof n=="object")if(d=i.indexOf(n),d!==-1)s.indexOf(d)===-1&&s.push(d);else if(i.push(n),Array.isArray(n))for(d=0,g=n.length;d<g;d+=1)qDe(n[d],i,s);else for(c=Object.keys(n),d=0,g=c.length;d<g;d+=1)qDe(n[c[d]],i,s)}function JZn(n,i){i=i||{};var s=new FZn(i);s.noRefs||YZn(n,s);var c=n;return s.replacer&&(c=s.replacer.call({"":c},"",c)),TA(s,0,c,!0,!0)?s.dump+`
`:""}var XZn=JZn,ZZn={dump:XZn},QZn=bZn.load,wse=ZZn.dump;const Mh=[];for(let n=0;n<256;++n)Mh.push((n+256).toString(16).slice(1));function eQn(n,i=0){return(Mh[n[i+0]]+Mh[n[i+1]]+Mh[n[i+2]]+Mh[n[i+3]]+"-"+Mh[n[i+4]]+Mh[n[i+5]]+"-"+Mh[n[i+6]]+Mh[n[i+7]]+"-"+Mh[n[i+8]]+Mh[n[i+9]]+"-"+Mh[n[i+10]]+Mh[n[i+11]]+Mh[n[i+12]]+Mh[n[i+13]]+Mh[n[i+14]]+Mh[n[i+15]]).toLowerCase()}let GOe;const tQn=new Uint8Array(16);function nQn(){if(!GOe){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");GOe=crypto.getRandomValues.bind(crypto)}return GOe(tQn)}const rQn=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),q7t={randomUUID:rQn};function iQn(n,i,s){var d;n=n||{};const c=n.random??((d=n.rng)==null?void 0:d.call(n))??nQn();if(c.length<16)throw new Error("Random bytes length must be >= 16");return c[6]=c[6]&15|64,c[8]=c[8]&63|128,eQn(c)}function oQn(n,i,s){return q7t.randomUUID&&!n?q7t.randomUUID():iQn(n)}let sQn=0;function V7t(n,i){return`${n}_${Date.now()}_${i}_${sQn++}`}function aQn(){return oQn()}function cQn(n,i){return`e-${n}-${i}-${Date.now()}`}var cKt={exports:{}};(function(n,i){(function(s){n.exports=s()})(function(){return function(){function s(c,d,g){function b(S,_){if(!d[S]){if(!c[S]){var A=typeof eH=="function"&&eH;if(!_&&A)return A(S,!0);if(w)return w(S,!0);var C=new Error("Cannot find module '"+S+"'");throw C.code="MODULE_NOT_FOUND",C}var O=d[S]={exports:{}};c[S][0].call(O.exports,function(L){var D=c[S][1][L];return b(D||L)},O,O.exports,s,c,d,g)}return d[S].exports}for(var w=typeof eH=="function"&&eH,E=0;E<g.length;E++)b(g[E]);return b}return s}()({1:[function(s,c,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;function g(C){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},g(C)}function b(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}function w(C,O){for(var L=0;L<O.length;L++){var D=O[L];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,S(D.key),D)}}function E(C,O,L){return O&&w(C.prototype,O),Object.defineProperty(C,"prototype",{writable:!1}),C}function S(C){var O=_(C,"string");return g(O)=="symbol"?O:O+""}function _(C,O){if(g(C)!="object"||!C)return C;var L=C[Symbol.toPrimitive];if(L!==void 0){var D=L.call(C,O);if(g(D)!="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(C)}d.default=function(){function C(){var O=this,L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=L.defaultLayoutOptions,B=D===void 0?{}:D,$=L.algorithms,P=$===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking","vertiflex"]:$,j=L.workerFactory,z=L.workerUrl;if(b(this,C),this.defaultLayoutOptions=B,this.initialized=!1,typeof z>"u"&&typeof j>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var ee=j;typeof z<"u"&&typeof j>"u"&&(ee=function(ae){return new Worker(ae)});var ne=ee(z);if(typeof ne.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new A(ne),this.worker.postMessage({cmd:"register",algorithms:P}).then(function(Q){return O.initialized=!0}).catch(console.err)}return E(C,[{key:"layout",value:function(L){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=D.layoutOptions,$=B===void 0?this.defaultLayoutOptions:B,P=D.logging,j=P===void 0?!1:P,z=D.measureExecutionTime,ee=z===void 0?!1:z;return L?this.worker.postMessage({cmd:"layout",graph:L,layoutOptions:$,options:{logging:j,measureExecutionTime:ee}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])}();var A=function(){function C(O){var L=this;if(b(this,C),O===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=O,this.worker.onmessage=function(D){setTimeout(function(){L.receive(L,D)},0)}}return E(C,[{key:"postMessage",value:function(L){var D=this.id||0;this.id=D+1,L.id=D;var B=this;return new Promise(function($,P){B.resolvers[D]=function(j,z){j?(B.convertGwtStyleError(j),P(j)):$(z)},B.worker.postMessage(L)})}},{key:"receive",value:function(L,D){var B=D.data,$=L.resolvers[B.id];$&&(delete L.resolvers[B.id],B.error?$(B.error):$(null,B.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(L){if(L){var D=L.__java$exception;D&&(D.cause&&D.cause.backingJsObject&&(L.cause=D.cause.backingJsObject,this.convertGwtStyleError(L.cause)),delete L.__java$exception)}}}])}()},{}],2:[function(s,c,d){(function(g){(function(){var b;typeof window<"u"?b=window:typeof g<"u"?b=g:typeof self<"u"&&(b=self);var w;function E(){}function S(){}function _(){}function A(){}function C(){}function O(){}function L(){}function D(){}function B(){}function $(){}function P(){}function j(){}function z(){}function ee(){}function ne(){}function Q(){}function ae(){}function he(){}function pe(){}function ue(){}function fe(){}function K(){}function ge(){}function De(){}function Se(){}function Re(){}function Ae(){}function xe(){}function We(){}function ut(){}function Be(){}function bt(){}function Nt(){}function pt(){}function Kt(){}function Et(){}function Dt(){}function Yt(){}function Ln(){}function Zn(){}function Yn(){}function Er(){}function Ui(){}function Qr(){}function Hi(){}function ai(){}function ju(){}function Xs(){}function ls(){}function es(){}function Ca(){}function Ci(){}function mb(){}function Jg(){}function Wh(){}function wb(){}function Wp(){}function Lw(){}function Kh(){}function X2(){}function Xg(){}function Kp(){}function Zg(){}function CN(){}function IN(){}function GR(){}function kA(){}function yb(){}function qR(){}function VR(){}function RN(){}function ON(){}function go(){}function Fu(){}function Fl(){}function Af(){}function Z2(){}function pl(){}function sh(){}function Vm(){}function ah(){}function Yh(){}function Q2(){}function Wm(){}function r9(){}function i9(){}function iG(){}function oG(){}function sG(){}function o9(){}function s9(){}function a9(){}function aG(){}function cG(){}function uG(){}function lG(){}function WR(){}function dG(){}function c9(){}function fG(){}function hG(){}function pG(){}function gG(){}function bG(){}function mG(){}function wG(){}function u9(){}function yG(){}function l9(){}function d9(){}function vG(){}function EG(){}function SG(){}function TG(){}function AG(){}function DN(){}function _G(){}function f9(){}function xG(){}function kG(){}function KR(){}function NG(){}function CG(){}function h9(){}function c7e(){}function u7e(){}function l7e(){}function d7e(){}function f7e(){}function h7e(){}function p7e(){}function g7e(){}function b7e(){}function m7e(){}function w7e(){}function y7e(){}function v7e(){}function E7e(){}function S7e(){}function T7e(){}function A7e(){}function _7e(){}function x7e(){}function k7e(){}function N7e(){}function C7e(){}function I7e(){}function R7e(){}function O7e(){}function D7e(){}function L7e(){}function M7e(){}function P7e(){}function j7e(){}function F7e(){}function $7e(){}function B7e(){}function U7e(){}function H7e(){}function z7e(){}function G7e(){}function q7e(){}function V7e(){}function W7e(){}function K7e(){}function Y7e(){}function J7e(){}function X7e(){}function Z7e(){}function Q7e(){}function e$e(){}function t$e(){}function n$e(){}function r$e(){}function i$e(){}function o$e(){}function s$e(){}function a$e(){}function c$e(){}function u$e(){}function l$e(){}function d$e(){}function f$e(){}function h$e(){}function p$e(){}function g$e(){}function b$e(){}function m$e(){}function w$e(){}function y$e(){}function v$e(){}function E$e(){}function S$e(){}function T$e(){}function A$e(){}function _$e(){}function x$e(){}function k$e(){}function N$e(){}function C$e(){}function I$e(){}function R$e(){}function O$e(){}function D$e(){}function L$e(){}function M$e(){}function P$e(){}function j$e(){}function F$e(){}function $$e(){}function Dce(){}function B$e(){}function U$e(){}function H$e(){}function z$e(){}function G$e(){}function q$e(){}function V$e(){}function W$e(){}function K$e(){}function Y$e(){}function J$e(){}function X$e(){}function Z$e(){}function Q$e(){}function eBe(){}function tBe(){}function nBe(){}function rBe(){}function iBe(){}function oBe(){}function sBe(){}function aBe(){}function cBe(){}function uBe(){}function lBe(){}function dBe(){}function fBe(){}function hBe(){}function pBe(){}function gBe(){}function bBe(){}function mBe(){}function wBe(){}function yBe(){}function vBe(){}function EBe(){}function SBe(){}function TBe(){}function ABe(){}function _Be(){}function xBe(){}function kBe(){}function NBe(){}function CBe(){}function IBe(){}function RBe(){}function OBe(){}function DBe(){}function LBe(){}function MBe(){}function PBe(){}function jBe(){}function FBe(){}function $Be(){}function BBe(){}function UBe(){}function HBe(){}function zBe(){}function GBe(){}function qBe(){}function VBe(){}function WBe(){}function KBe(){}function YBe(){}function JBe(){}function XBe(){}function ZBe(){}function QBe(){}function eUe(){}function tUe(){}function nUe(){}function rUe(){}function iUe(){}function oUe(){}function sUe(){}function Lce(){}function aUe(){}function cUe(){}function uUe(){}function lUe(){}function dUe(){}function fUe(){}function hUe(){}function pUe(){}function gUe(){}function bUe(){}function p9(){}function g9(){}function mUe(){}function wUe(){}function Mce(){}function yUe(){}function vUe(){}function EUe(){}function SUe(){}function TUe(){}function Pce(){}function jce(){}function AUe(){}function Fce(){}function $ce(){}function _Ue(){}function xUe(){}function YR(){}function kUe(){}function NUe(){}function CUe(){}function IUe(){}function RUe(){}function OUe(){}function DUe(){}function LUe(){}function MUe(){}function PUe(){}function jUe(){}function FUe(){}function $Ue(){}function BUe(){}function UUe(){}function HUe(){}function zUe(){}function GUe(){}function qUe(){}function Bce(){}function VUe(){}function WUe(){}function KUe(){}function YUe(){}function JUe(){}function XUe(){}function ZUe(){}function QUe(){}function eHe(){}function tHe(){}function nHe(){}function rHe(){}function iHe(){}function oHe(){}function sHe(){}function aHe(){}function cHe(){}function uHe(){}function lHe(){}function dHe(){}function fHe(){}function hHe(){}function pHe(){}function gHe(){}function bHe(){}function mHe(){}function wHe(){}function yHe(){}function vHe(){}function EHe(){}function SHe(){}function THe(){}function AHe(){}function _He(){}function xHe(){}function kHe(){}function NHe(){}function CHe(){}function IHe(){}function RHe(){}function OHe(){}function DHe(){}function LHe(){}function MHe(){}function PHe(){}function jHe(){}function FHe(){}function $He(){}function BHe(){}function UHe(){}function HHe(){}function zHe(){}function GHe(){}function qHe(){}function VHe(){}function WHe(){}function KHe(){}function YHe(){}function JHe(){}function XHe(){}function ZHe(){}function QHe(){}function eze(){}function tze(){}function nze(){}function rze(){}function ize(){}function oze(){}function EZt(){}function sze(){}function aze(){}function cze(){}function uze(){}function lze(){}function dze(){}function fze(){}function hze(){}function pze(){}function gze(){}function bze(){}function mze(){}function wze(){}function yze(){}function vze(){}function Eze(){}function Sze(){}function Tze(){}function Aze(){}function _ze(){}function xze(){}function kze(){}function Nze(){}function Cze(){}function Ize(){}function Rze(){}function Oze(){}function Dze(){}function Lze(){}function Mze(){}function Pze(){}function jze(){}function Fze(){}function $ze(){}function Bze(){}function Uze(){}function Hze(){}function zze(){}function IG(){}function RG(){}function Gze(){}function OG(){}function qze(){}function Vze(){}function Wze(){}function Kze(){}function Yze(){}function Jze(){}function Xze(){}function Zze(){}function Qze(){}function eGe(){}function tGe(){}function nGe(){}function rGe(){}function iGe(){}function SZt(){}function oGe(){}function Uce(){}function sGe(){}function aGe(){}function cGe(){}function uGe(){}function lGe(){}function dGe(){}function fGe(){}function hGe(){}function pGe(){}function gGe(){}function vb(){}function bGe(){}function eS(){}function Hce(){}function mGe(){}function wGe(){}function yGe(){}function vGe(){}function EGe(){}function SGe(){}function TGe(){}function AGe(){}function _Ge(){}function xGe(){}function kGe(){}function NGe(){}function CGe(){}function IGe(){}function RGe(){}function OGe(){}function DGe(){}function LGe(){}function MGe(){}function PGe(){}function Xe(){}function jGe(){}function FGe(){}function $Ge(){}function BGe(){}function UGe(){}function HGe(){}function zGe(){}function GGe(){}function qGe(){}function VGe(){}function WGe(){}function DG(){}function KGe(){}function YGe(){}function LG(){}function JGe(){}function XGe(){}function ZGe(){}function QGe(){}function MG(){}function b9(){}function m9(){}function eqe(){}function zce(){}function tqe(){}function nqe(){}function w9(){}function rqe(){}function iqe(){}function oqe(){}function y9(){}function sqe(){}function aqe(){}function cqe(){}function uqe(){}function v9(){}function lqe(){}function Gce(){}function dqe(){}function PG(){}function qce(){}function fqe(){}function hqe(){}function pqe(){}function gqe(){}function TZt(){}function bqe(){}function mqe(){}function wqe(){}function yqe(){}function vqe(){}function Eqe(){}function Sqe(){}function Tqe(){}function Aqe(){}function _qe(){}function NA(){}function jG(){}function xqe(){}function kqe(){}function Nqe(){}function Cqe(){}function Iqe(){}function Rqe(){}function Oqe(){}function Dqe(){}function Lqe(){}function Mqe(){}function Pqe(){}function jqe(){}function Fqe(){}function $qe(){}function Bqe(){}function Uqe(){}function Hqe(){}function zqe(){}function Gqe(){}function qqe(){}function Vqe(){}function Wqe(){}function Kqe(){}function Yqe(){}function Jqe(){}function Xqe(){}function Zqe(){}function Qqe(){}function eVe(){}function tVe(){}function nVe(){}function rVe(){}function iVe(){}function oVe(){}function sVe(){}function aVe(){}function cVe(){}function uVe(){}function lVe(){}function dVe(){}function fVe(){}function hVe(){}function pVe(){}function gVe(){}function bVe(){}function mVe(){}function wVe(){}function yVe(){}function vVe(){}function EVe(){}function SVe(){}function TVe(){}function AVe(){}function _Ve(){}function xVe(){}function kVe(){}function NVe(){}function CVe(){}function IVe(){}function RVe(){}function OVe(){}function DVe(){}function LVe(){}function MVe(){}function PVe(){}function jVe(){}function FVe(){}function $Ve(){}function BVe(){}function UVe(){}function HVe(){}function zVe(){}function GVe(){}function qVe(){}function VVe(){}function WVe(){}function KVe(){}function YVe(){}function JVe(){}function XVe(){}function ZVe(){}function QVe(){}function eWe(){}function tWe(){}function nWe(){}function rWe(){}function iWe(){}function oWe(){}function sWe(){}function aWe(){}function cWe(){}function uWe(){}function lWe(){}function dWe(){}function fWe(){}function hWe(){}function pWe(){}function gWe(){}function bWe(){}function mWe(){}function wWe(){}function Vce(){}function yWe(){}function vWe(){}function FG(){BN()}function EWe(){Ybe()}function SWe(){fO()}function TWe(){ed()}function AWe(){obe()}function _We(){G6()}function xWe(){$O()}function kWe(){dO()}function NWe(){ett()}function CWe(){zS()}function IWe(){Llt()}function RWe(){N_()}function OWe(){T1()}function DWe(){sge()}function LWe(){oht()}function MWe(){sht()}function PWe(){Y9()}function jWe(){ewe()}function FWe(){Tct()}function $We(){gdt()}function BWe(){oge()}function UWe(){Ect()}function HWe(){vct()}function zWe(){Sct()}function GWe(){_ct()}function qWe(){Ue()}function VWe(){aht()}function WWe(){dut()}function KWe(){cht()}function YWe(){xct()}function JWe(){US()}function XWe(){Dht()}function ZWe(){d0e()}function QWe(){A1()}function eKe(){Act()}function tKe(){fbt()}function nKe(){Uyt()}function rKe(){xme()}function iKe(){js()}function oKe(){ef()}function sKe(){S0e()}function aKe(){ygt()}function cKe(){dp()}function uKe(){Y6()}function lKe(){yJ()}function dKe(){CY()}function fKe(){A1e()}function hKe(){QS()}function pKe(){rj()}function gKe(){_F()}function Wce(){_n()}function bKe(){Fj()}function mKe(){M1e()}function Kce(){VF()}function Yce(){kK()}function bd(){not()}function wKe(){_0e()}function Jce(e){Mt(e)}function yKe(e){this.a=e}function E9(e){this.a=e}function vKe(e){this.a=e}function EKe(e){this.a=e}function SKe(e){this.a=e}function Xce(e){this.a=e}function Zce(e){this.a=e}function TKe(e){this.a=e}function $G(e){this.a=e}function AKe(e){this.a=e}function _Ke(e){this.a=e}function xKe(e){this.a=e}function kKe(e){this.a=e}function NKe(e){this.c=e}function CKe(e){this.a=e}function BG(e){this.a=e}function IKe(e){this.a=e}function RKe(e){this.a=e}function OKe(e){this.a=e}function UG(e){this.a=e}function DKe(e){this.a=e}function LKe(e){this.a=e}function HG(e){this.a=e}function MKe(e){this.a=e}function zG(e){this.a=e}function PKe(e){this.a=e}function jKe(e){this.a=e}function FKe(e){this.a=e}function $Ke(e){this.a=e}function BKe(e){this.a=e}function UKe(e){this.a=e}function HKe(e){this.a=e}function zKe(e){this.a=e}function GKe(e){this.a=e}function qKe(e){this.a=e}function VKe(e){this.a=e}function WKe(e){this.a=e}function KKe(e){this.a=e}function YKe(e){this.a=e}function Qce(e){this.a=e}function eue(e){this.a=e}function S9(e){this.a=e}function JR(e){this.a=e}function tue(e){this.b=e}function Eb(){this.a=[]}function JKe(e,t){e.a=t}function AZt(e,t){e.a=t}function _Zt(e,t){e.b=t}function xZt(e,t){e.c=t}function kZt(e,t){e.c=t}function NZt(e,t){e.d=t}function CZt(e,t){e.d=t}function Jh(e,t){e.k=t}function nue(e,t){e.j=t}function IZt(e,t){e.c=t}function rue(e,t){e.c=t}function iue(e,t){e.a=t}function RZt(e,t){e.a=t}function OZt(e,t){e.f=t}function DZt(e,t){e.a=t}function LZt(e,t){e.b=t}function GG(e,t){e.d=t}function T9(e,t){e.i=t}function oue(e,t){e.o=t}function MZt(e,t){e.r=t}function PZt(e,t){e.a=t}function jZt(e,t){e.b=t}function XKe(e,t){e.e=t}function FZt(e,t){e.f=t}function sue(e,t){e.g=t}function $Zt(e,t){e.e=t}function BZt(e,t){e.f=t}function UZt(e,t){e.f=t}function XR(e,t){e.b=t}function qG(e,t){e.b=t}function VG(e,t){e.a=t}function HZt(e,t){e.n=t}function zZt(e,t){e.a=t}function GZt(e,t){e.c=t}function qZt(e,t){e.c=t}function VZt(e,t){e.c=t}function WZt(e,t){e.a=t}function KZt(e,t){e.a=t}function YZt(e,t){e.d=t}function JZt(e,t){e.d=t}function XZt(e,t){e.e=t}function ZZt(e,t){e.e=t}function QZt(e,t){e.g=t}function eQt(e,t){e.f=t}function tQt(e,t){e.j=t}function nQt(e,t){e.a=t}function rQt(e,t){e.a=t}function iQt(e,t){e.b=t}function ZKe(e){e.b=e.a}function QKe(e){e.c=e.d.d}function aue(e){this.a=e}function Xh(e){this.a=e}function A9(e){this.a=e}function cue(e){this.a=e}function eYe(e){this.a=e}function ZR(e){this.a=e}function QR(e){this.a=e}function uue(e){this.a=e}function lue(e){this.a=e}function Mw(e){this.a=e}function WG(e){this.a=e}function Zh(e){this.a=e}function Pw(e){this.a=e}function tYe(e){this.a=e}function nYe(e){this.a=e}function due(e){this.a=e}function rYe(e){this.a=e}function Pn(e){this.a=e}function LN(e){this.d=e}function KG(e){this.b=e}function CA(e){this.b=e}function qv(e){this.b=e}function YG(e){this.c=e}function V(e){this.c=e}function iYe(e){this.c=e}function oYe(e){this.a=e}function fue(e){this.a=e}function hue(e){this.a=e}function pue(e){this.a=e}function gue(e){this.a=e}function bue(e){this.a=e}function mue(e){this.a=e}function IA(e){this.a=e}function sYe(e){this.a=e}function aYe(e){this.a=e}function RA(e){this.a=e}function cYe(e){this.a=e}function uYe(e){this.a=e}function lYe(e){this.a=e}function dYe(e){this.a=e}function fYe(e){this.a=e}function hYe(e){this.a=e}function pYe(e){this.a=e}function gYe(e){this.a=e}function bYe(e){this.a=e}function OA(e){this.a=e}function mYe(e){this.a=e}function wYe(e){this.a=e}function yYe(e){this.a=e}function vYe(e){this.a=e}function _9(e){this.a=e}function EYe(e){this.a=e}function SYe(e){this.a=e}function wue(e){this.a=e}function TYe(e){this.a=e}function AYe(e){this.a=e}function _Ye(e){this.a=e}function yue(e){this.a=e}function vue(e){this.a=e}function Eue(e){this.a=e}function MN(e){this.a=e}function x9(e){this.e=e}function DA(e){this.a=e}function xYe(e){this.a=e}function tS(e){this.a=e}function Sue(e){this.a=e}function kYe(e){this.a=e}function NYe(e){this.a=e}function CYe(e){this.a=e}function IYe(e){this.a=e}function RYe(e){this.a=e}function OYe(e){this.a=e}function DYe(e){this.a=e}function LYe(e){this.a=e}function MYe(e){this.a=e}function PYe(e){this.a=e}function jYe(e){this.a=e}function Tue(e){this.a=e}function FYe(e){this.a=e}function $Ye(e){this.a=e}function BYe(e){this.a=e}function UYe(e){this.a=e}function HYe(e){this.a=e}function zYe(e){this.a=e}function GYe(e){this.a=e}function qYe(e){this.a=e}function VYe(e){this.a=e}function WYe(e){this.a=e}function KYe(e){this.a=e}function YYe(e){this.a=e}function JYe(e){this.a=e}function XYe(e){this.a=e}function ZYe(e){this.a=e}function QYe(e){this.a=e}function eJe(e){this.a=e}function tJe(e){this.a=e}function nJe(e){this.a=e}function rJe(e){this.a=e}function iJe(e){this.a=e}function oJe(e){this.a=e}function sJe(e){this.a=e}function aJe(e){this.a=e}function cJe(e){this.a=e}function uJe(e){this.a=e}function lJe(e){this.a=e}function dJe(e){this.a=e}function fJe(e){this.a=e}function hJe(e){this.a=e}function pJe(e){this.a=e}function gJe(e){this.a=e}function bJe(e){this.a=e}function mJe(e){this.a=e}function wJe(e){this.a=e}function yJe(e){this.a=e}function vJe(e){this.a=e}function EJe(e){this.a=e}function SJe(e){this.a=e}function TJe(e){this.a=e}function AJe(e){this.a=e}function _Je(e){this.a=e}function xJe(e){this.c=e}function kJe(e){this.b=e}function NJe(e){this.a=e}function CJe(e){this.a=e}function IJe(e){this.a=e}function RJe(e){this.a=e}function OJe(e){this.a=e}function DJe(e){this.a=e}function LJe(e){this.a=e}function MJe(e){this.a=e}function PJe(e){this.a=e}function jJe(e){this.a=e}function FJe(e){this.a=e}function $Je(e){this.a=e}function BJe(e){this.a=e}function UJe(e){this.a=e}function HJe(e){this.a=e}function zJe(e){this.a=e}function GJe(e){this.a=e}function qJe(e){this.a=e}function VJe(e){this.a=e}function WJe(e){this.a=e}function KJe(e){this.a=e}function YJe(e){this.a=e}function JJe(e){this.a=e}function XJe(e){this.a=e}function ZJe(e){this.a=e}function QJe(e){this.a=e}function eXe(e){this.a=e}function Qh(e){this.a=e}function Vv(e){this.a=e}function tXe(e){this.a=e}function nXe(e){this.a=e}function rXe(e){this.a=e}function iXe(e){this.a=e}function oXe(e){this.a=e}function sXe(e){this.a=e}function aXe(e){this.a=e}function cXe(e){this.a=e}function uXe(e){this.a=e}function lXe(e){this.a=e}function dXe(e){this.a=e}function fXe(e){this.a=e}function hXe(e){this.a=e}function pXe(e){this.a=e}function gXe(e){this.a=e}function bXe(e){this.a=e}function mXe(e){this.a=e}function wXe(e){this.a=e}function Aue(e){this.a=e}function yXe(e){this.a=e}function vXe(e){this.a=e}function EXe(e){this.a=e}function SXe(e){this.a=e}function TXe(e){this.a=e}function AXe(e){this.a=e}function _Xe(e){this.a=e}function xXe(e){this.a=e}function k9(e){this.a=e}function kXe(e){this.f=e}function NXe(e){this.a=e}function CXe(e){this.a=e}function IXe(e){this.a=e}function RXe(e){this.a=e}function OXe(e){this.a=e}function DXe(e){this.a=e}function LXe(e){this.a=e}function MXe(e){this.a=e}function PXe(e){this.a=e}function jXe(e){this.a=e}function FXe(e){this.a=e}function $Xe(e){this.a=e}function BXe(e){this.a=e}function UXe(e){this.a=e}function HXe(e){this.a=e}function zXe(e){this.a=e}function GXe(e){this.a=e}function qXe(e){this.a=e}function VXe(e){this.a=e}function WXe(e){this.a=e}function KXe(e){this.a=e}function YXe(e){this.a=e}function JXe(e){this.a=e}function XXe(e){this.a=e}function ZXe(e){this.a=e}function QXe(e){this.a=e}function eZe(e){this.a=e}function JG(e){this.a=e}function _ue(e){this.a=e}function lr(e){this.b=e}function tZe(e){this.a=e}function nZe(e){this.a=e}function rZe(e){this.a=e}function iZe(e){this.a=e}function oZe(e){this.a=e}function sZe(e){this.a=e}function aZe(e){this.a=e}function cZe(e){this.a=e}function eO(e){this.a=e}function uZe(e){this.a=e}function lZe(e){this.b=e}function xue(e){this.c=e}function N9(e){this.e=e}function dZe(e){this.a=e}function C9(e){this.a=e}function I9(e){this.a=e}function XG(e){this.a=e}function fZe(e){this.d=e}function hZe(e){this.a=e}function kue(e){this.a=e}function Nue(e){this.a=e}function Km(e){this.e=e}function oQt(){this.a=0}function je(){hV(this)}function hn(){Zs(this)}function ZG(){tat(this)}function pZe(){}function Ym(){this.c=O3e}function gZe(e,t){e.b+=t}function sQt(e,t){t.Wb(e)}function aQt(e){return e.a}function cQt(e){return e.a}function uQt(e){return e.a}function lQt(e){return e.a}function dQt(e){return e.a}function Y(e){return e.e}function fQt(){return null}function hQt(){return null}function pQt(e){throw Y(e)}function nS(e){this.a=kn(e)}function bZe(){this.a=this}function Sb(){Brt.call(this)}function gQt(e){e.b.Mf(e.e)}function mZe(e){e.b=new gq}function PN(e,t){e.b=t-e.b}function jN(e,t){e.a=t-e.a}function wZe(e,t){t.gd(e.a)}function bQt(e,t){Ii(t,e)}function Rt(e,t){e.push(t)}function yZe(e,t){e.sort(t)}function mQt(e,t,r){e.Wd(r,t)}function tO(e,t){e.e=t,t.b=e}function wQt(){ale(),l3n()}function vZe(e){l_(),GQ.je(e)}function Cue(){Brt.call(this)}function Iue(){Sb.call(this)}function QG(){Sb.call(this)}function EZe(){Sb.call(this)}function nO(){Sb.call(this)}function lc(){Sb.call(this)}function rS(){Sb.call(this)}function Nn(){Sb.call(this)}function $u(){Sb.call(this)}function SZe(){Sb.call(this)}function vs(){Sb.call(this)}function TZe(){Sb.call(this)}function R9(){this.Bb|=256}function AZe(){this.b=new Pnt}function Rue(){Rue=K,new hn}function _Ze(){Iue.call(this)}function jw(e,t){e.length=t}function O9(e,t){Fe(e.a,t)}function yQt(e,t){Xbe(e.c,t)}function vQt(e,t){gi(e.b,t)}function EQt(e,t){lF(e.a,t)}function SQt(e,t){tY(e.a,t)}function LA(e,t){pr(e.e,t)}function iS(e){CF(e.c,e.b)}function TQt(e,t){e.kc().Nb(t)}function Oue(e){this.a=Vgn(e)}function pi(){this.a=new hn}function xZe(){this.a=new hn}function D9(){this.a=new je}function eq(){this.a=new je}function Due(){this.a=new je}function gl(){this.a=new Xg}function Tb(){this.a=new Olt}function tq(){this.a=new Wet}function Lue(){this.a=new hct}function Mue(){this.a=new Cit}function Pue(){this.a=new ah}function kZe(){this.a=new zct}function NZe(){this.a=new je}function CZe(){this.a=new je}function IZe(){this.a=new je}function jue(){this.a=new je}function RZe(){this.d=new je}function OZe(){this.a=new pi}function DZe(){this.a=new hn}function LZe(){this.b=new hn}function MZe(){this.b=new je}function Fue(){this.e=new je}function PZe(){this.d=new je}function jZe(){this.a=new OWe}function FZe(){zat.call(this)}function $Ze(){zat.call(this)}function BZe(){zue.call(this)}function UZe(){zue.call(this)}function HZe(){zue.call(this)}function zZe(){je.call(this)}function GZe(){jue.call(this)}function L9(){D9.call(this)}function qZe(){q8.call(this)}function FN(){pZe.call(this)}function nq(){FN.call(this)}function oS(){pZe.call(this)}function $ue(){oS.call(this)}function Lc(){Ar.call(this)}function VZe(){Gue.call(this)}function $N(){QGe.call(this)}function Bue(){QGe.call(this)}function WZe(){aQe.call(this)}function KZe(){aQe.call(this)}function YZe(){hn.call(this)}function JZe(){hn.call(this)}function XZe(){hn.call(this)}function rq(){tht.call(this)}function ZZe(){pi.call(this)}function QZe(){R9.call(this)}function iq(){kde.call(this)}function Uue(){hn.call(this)}function oq(){kde.call(this)}function sq(){hn.call(this)}function eQe(){hn.call(this)}function Hue(){v9.call(this)}function tQe(){Hue.call(this)}function nQe(){v9.call(this)}function rQe(){Vce.call(this)}function zue(){this.a=new pi}function iQe(){this.a=new hn}function Gue(){this.a=new hn}function sS(){this.a=new Ar}function oQe(){this.a=new je}function sQe(){this.j=new je}function aQe(){this.a=new sqe}function que(){this.a=new Pze}function cQe(){this.a=new iet}function BN(){BN=K,PQ=new S}function aq(){aq=K,jQ=new lQe}function cq(){cq=K,FQ=new uQe}function uQe(){HG.call(this,"")}function lQe(){HG.call(this,"")}function dQe(e){kft.call(this,e)}function fQe(e){kft.call(this,e)}function Vue(e){Xce.call(this,e)}function Wue(e){Fet.call(this,e)}function AQt(e){Fet.call(this,e)}function _Qt(e){Wue.call(this,e)}function xQt(e){Wue.call(this,e)}function kQt(e){Wue.call(this,e)}function hQe(e){qW.call(this,e)}function pQe(e){qW.call(this,e)}function gQe(e){vrt.call(this,e)}function bQe(e){hle.call(this,e)}function UN(e){q9.call(this,e)}function Kue(e){q9.call(this,e)}function mQe(e){q9.call(this,e)}function Es(e){gst.call(this,e)}function wQe(e){Es.call(this,e)}function aS(){JR.call(this,{})}function uq(e){VA(),this.a=e}function yQe(e){e.b=null,e.c=0}function NQt(e,t){e.e=t,$wt(e,t)}function CQt(e,t){e.a=t,ovn(e)}function lq(e,t,r){e.a[t.g]=r}function IQt(e,t,r){_0n(r,e,t)}function RQt(e,t){yrn(t.i,e.n)}function vQe(e,t){Ppn(e).Ad(t)}function OQt(e,t){return e*e/t}function EQe(e,t){return e.g-t.g}function DQt(e,t){e.a.ec().Kc(t)}function LQt(e){return new S9(e)}function MQt(e){return new ty(e)}function SQe(){SQe=K,WEe=new E}function Yue(){Yue=K,KEe=new ee}function M9(){M9=K,bI=new ae}function P9(){P9=K,BQ=new yrt}function TQe(){TQe=K,txt=new pe}function j9(e){Age(),this.a=e}function AQe(e){tot(),this.a=e}function Yp(e){KV(),this.f=e}function dq(e){KV(),this.f=e}function F9(e){Es.call(this,e)}function Ia(e){Es.call(this,e)}function _Qe(e){Es.call(this,e)}function fq(e){gst.call(this,e)}function MA(e){Es.call(this,e)}function jt(e){Es.call(this,e)}function ts(e){Es.call(this,e)}function xQe(e){Es.call(this,e)}function cS(e){Es.call(this,e)}function Jp(e){Es.call(this,e)}function Ls(e){Mt(e),this.a=e}function HN(e){ohe(e,e.length)}function Jue(e){return Wb(e),e}function Fw(e){return!!e&&e.b}function PQt(e){return!!e&&e.k}function jQt(e){return!!e&&e.j}function zN(e){return e.b==e.c}function Ye(e){return Mt(e),e}function ce(e){return Mt(e),e}function rO(e){return Mt(e),e}function Xue(e){return Mt(e),e}function FQt(e){return Mt(e),e}function _f(e){Es.call(this,e)}function uS(e){Es.call(this,e)}function xf(e){Es.call(this,e)}function Dn(e){Es.call(this,e)}function hq(e){Es.call(this,e)}function pq(e){Mde.call(this,e,0)}function gq(){qhe.call(this,12,3)}function bq(){this.a=In(kn(ja))}function kQe(){throw Y(new Nn)}function Zue(){throw Y(new Nn)}function NQe(){throw Y(new Nn)}function $Qt(){throw Y(new Nn)}function BQt(){throw Y(new Nn)}function UQt(){throw Y(new Nn)}function $9(){$9=K,l_()}function Xp(){ZR.call(this,"")}function GN(){ZR.call(this,"")}function Qg(){ZR.call(this,"")}function lS(){ZR.call(this,"")}function Que(e){Ia.call(this,e)}function ele(e){Ia.call(this,e)}function kf(e){jt.call(this,e)}function PA(e){CA.call(this,e)}function CQe(e){PA.call(this,e)}function mq(e){B8.call(this,e)}function HQt(e,t,r){e.c.Cf(t,r)}function zQt(e,t,r){t.Ad(e.a[r])}function GQt(e,t,r){t.Ne(e.a[r])}function qQt(e,t){return e.a-t.a}function VQt(e,t){return e.a-t.a}function WQt(e,t){return e.a-t.a}function B9(e,t){return sK(e,t)}function X(e,t){return wct(e,t)}function KQt(e,t){return t in e.a}function IQe(e){return e.a?e.b:0}function YQt(e){return e.a?e.b:0}function RQe(e,t){return e.f=t,e}function JQt(e,t){return e.b=t,e}function OQe(e,t){return e.c=t,e}function XQt(e,t){return e.g=t,e}function tle(e,t){return e.a=t,e}function nle(e,t){return e.f=t,e}function ZQt(e,t){return e.k=t,e}function rle(e,t){return e.e=t,e}function QQt(e,t){return e.e=t,e}function ile(e,t){return e.a=t,e}function een(e,t){return e.f=t,e}function ten(e,t){e.b=new To(t)}function DQe(e,t){e._d(t),t.$d(e)}function nen(e,t){hu(),t.n.a+=e}function ren(e,t){T1(),As(t,e)}function ole(e){Eat.call(this,e)}function LQe(e){Eat.call(this,e)}function MQe(){hde.call(this,"")}function PQe(){this.b=0,this.a=0}function jQe(){jQe=K,pxt=Z0n()}function Jm(e,t){return e.b=t,e}function iO(e,t){return e.a=t,e}function Xm(e,t){return e.c=t,e}function Zm(e,t){return e.d=t,e}function Qm(e,t){return e.e=t,e}function wq(e,t){return e.f=t,e}function qN(e,t){return e.a=t,e}function jA(e,t){return e.b=t,e}function FA(e,t){return e.c=t,e}function Qe(e,t){return e.c=t,e}function gt(e,t){return e.b=t,e}function et(e,t){return e.d=t,e}function tt(e,t){return e.e=t,e}function ien(e,t){return e.f=t,e}function nt(e,t){return e.g=t,e}function rt(e,t){return e.a=t,e}function it(e,t){return e.i=t,e}function ot(e,t){return e.j=t,e}function oen(e,t){return e.g-t.g}function sen(e,t){return e.b-t.b}function aen(e,t){return e.s-t.s}function cen(e,t){return e?0:t-1}function FQe(e,t){return e?0:t-1}function uen(e,t){return e?t-1:0}function len(e,t){return t.pg(e)}function $Qe(e,t){return e.k=t,e}function den(e,t){return e.j=t,e}function ro(){this.a=0,this.b=0}function U9(e){OV.call(this,e)}function e1(e){w0.call(this,e)}function BQe(e){SW.call(this,e)}function UQe(e){SW.call(this,e)}function HQe(e,t){e.b=0,dy(e,t)}function fen(e,t){e.c=t,e.b=!0}function hen(e,t,r){Esn(e.a,t,r)}function zQe(e,t){return e.c._b(t)}function md(e){return e.e&&e.e()}function yq(e){return e?e.d:null}function GQe(e,t){return fgt(e.b,t)}function pen(e){return e?e.g:null}function gen(e){return e?e.i:null}function qQe(e,t){return Fen(e.a,t)}function sle(e,t){for(;e.zd(t););}function VQe(){throw Y(new Nn)}function t1(){t1=K,UDt=u0n()}function WQe(){WQe=K,Bi=ywn()}function ale(){ale=K,X1=W3()}function $A(){$A=K,R3e=l0n()}function KQe(){KQe=K,_Lt=d0n()}function cle(){cle=K,Ks=nvn()}function Ab(e){return np(e),e.o}function Wv(e,t){return e.a+=t,e}function vq(e,t){return e.a+=t,e}function Zp(e,t){return e.a+=t,e}function e0(e,t){return e.a+=t,e}function ule(e){SEt(),T3n(this,e)}function H9(e){this.a=new dS(e)}function Qp(e){this.a=new eW(e)}function YQe(){throw Y(new Nn)}function JQe(){throw Y(new Nn)}function XQe(){throw Y(new Nn)}function ZQe(){throw Y(new Nn)}function QQe(){throw Y(new Nn)}function eet(){this.b=new X_(R_e)}function tet(){this.a=new X_(fxe)}function z9(e){this.a=0,this.b=e}function net(){this.a=new X_(Pxe)}function ret(){this.b=new X_($ne)}function iet(){this.b=new X_($ne)}function oet(){this.a=new X_(Pke)}function set(e,t){return jSn(e,t)}function ben(e,t){return wxn(t,e)}function lle(e,t){return e.d[t.p]}function oO(e){return e.b!=e.d.c}function aet(e){return e.l|e.m<<22}function BA(e){return u1(e),e.a}function cet(e){e.c?tyt(e):nyt(e)}function Kv(e,t){for(;e.Pe(t););}function dle(e,t,r){e.splice(t,r)}function uet(){throw Y(new Nn)}function det(){throw Y(new Nn)}function fet(){throw Y(new Nn)}function het(){throw Y(new Nn)}function pet(){throw Y(new Nn)}function get(){throw Y(new Nn)}function bet(){throw Y(new Nn)}function met(){throw Y(new Nn)}function wet(){throw Y(new Nn)}function yet(){throw Y(new Nn)}function men(){throw Y(new vs)}function wen(){throw Y(new vs)}function sO(e){this.a=new vet(e)}function vet(e){lhn(this,e,Eyn())}function aO(e){return!e||Zst(e)}function cO(e){return mf[e]!=-1}function yen(){u$!=0&&(u$=0),l$=-1}function Eet(){MQ==null&&(MQ=[])}function uO(e,t){aE.call(this,e,t)}function UA(e,t){uO.call(this,e,t)}function Tet(e,t){this.a=e,this.b=t}function Aet(e,t){this.a=e,this.b=t}function _et(e,t){this.a=e,this.b=t}function xet(e,t){this.a=e,this.b=t}function ket(e,t){this.a=e,this.b=t}function Net(e,t){this.a=e,this.b=t}function Cet(e,t){this.a=e,this.b=t}function HA(e,t){this.e=e,this.d=t}function fle(e,t){this.b=e,this.c=t}function Iet(e,t){this.b=e,this.a=t}function Ret(e,t){this.b=e,this.a=t}function Oet(e,t){this.b=e,this.a=t}function Det(e,t){this.b=e,this.a=t}function Let(e,t){this.a=e,this.b=t}function Met(e,t){this.a=e,this.b=t}function Eq(e,t){this.a=e,this.b=t}function Pet(e,t){this.a=e,this.f=t}function t0(e,t){this.g=e,this.i=t}function mn(e,t){this.f=e,this.g=t}function jet(e,t){this.b=e,this.c=t}function Fet(e){Tde(e.dc()),this.c=e}function ven(e,t){this.a=e,this.b=t}function $et(e,t){this.a=e,this.b=t}function Bet(e){this.a=l(kn(e),16)}function hle(e){this.a=l(kn(e),16)}function Uet(e){this.a=l(kn(e),93)}function G9(e){this.b=l(kn(e),93)}function q9(e){this.b=l(kn(e),51)}function V9(){this.q=new b.Date}function Sq(e,t){this.a=e,this.b=t}function Het(e,t){return ma(e.b,t)}function VN(e,t){return e.b.Gc(t)}function ple(e,t){return e.b.Hc(t)}function gle(e,t){return e.b.Oc(t)}function zet(e,t){return e.b.Gc(t)}function Get(e,t){return e.c.uc(t)}function qet(e,t){return gr(e.c,t)}function bl(e,t){return e.a._b(t)}function Vet(e,t){return e>t&&t<BC}function WN(e){return e.f.c+e.i.c}function Een(e){return $st(),e?ext:Q_t}function dS(e){xpt.call(this,e,0)}function Wet(){eW.call(this,null)}function fS(e){this.c=e,fft(this)}function Ar(){art(this),tu(this)}function eg(){eg=K,oxt=new ge}function zA(){zA=K,Hx=new Ae}function $w(){$w=K,JQ=new jnt}function W9(){W9=K,bxt=new Fnt}function GA(){GA=K,E2e=new Yn}function _b(){_b=K,TT=new ai}function ble(){tK.call(this,null)}function ei(e,t){u1(e),e.a.Nb(t)}function Sen(e,t){return e.a.Vc(t)}function Ten(e,t){return e.a.Wc(t)}function Tq(e,t){return e.a.Yc(t)}function Aq(e,t){return e.a.Zc(t)}function Aen(e,t){return e.Fc(t),e}function _en(e,t){lJ(Ne(e.a),t)}function xen(e,t){lJ(Ne(e.a),t)}function $l(e,t){return e.a.e=t,e}function Bl(e,t){return e.a.a=t,e}function Ul(e,t){return e.a.d=t,e}function Ket(e,t){return e.a.d=t,e}function ken(e,t){return e.a.f=t,e}function Yet(e,t){return e.a.g=t,e}function Jet(e,t){return e.a.j=t,e}function Hl(e,t){return e.a.g=t,e}function lO(e,t){return e.a.f=t,e}function Nen(e){return e.b=!1,e}function Xet(){Xet=K,Kkt=new c9}function mle(){mle=K,Ykt=new ast}function Zet(){Zet=K,xxt=new Wh}function wle(){wle=K,Wkt=new oG}function dO(){dO=K,lNt=new v7e}function yle(){yle=K,V2e=new aG}function Qet(){Qet=K,iNt=new u9}function KN(){KN=K,sNt=new yG}function ett(){ett=K,pNt=new r$e}function fO(){fO=K,uNt=new ro}function K9(){K9=K,UIt=new GGe}function YN(){YN=K,SNt=new UBe}function Y9(){Y9=K,KE=new dUe}function J9(){J9=K,Bne=new ntt}function X9(){X9=K,Une=new Zrt}function JN(){JN=K,ML=new rat}function Z9(){Z9=K,nre=new tst}function Q9(){Q9=K,rre=new est}function e8(){e8=K,ire=new kst}function ttt(){iht(),this.c=new gq}function ntt(){mn.call(this,SSt,0)}function Cen(e,t,r,o){Mbn(e,o,t,r)}function Ien(e,t,r,o){W2n(o,e,t,r)}function Ren(e,t,r,o){_Nn(o,e,t,r)}function Oen(e,t,r){rs(e.d,t.f,r)}function n0(e,t){Jb(e.c.b,t.c,t)}function XN(e,t){Jb(e.c.c,t.b,t)}function ZN(e,t){return e.a=t.g,e}function Den(e){return e.e.a+e.f.a}function Len(e){return e.e.b+e.f.b}function Men(e){return(e.c+e.a)/2}function Pen(e){return e.b?e.b:e.a}function rtt(e,t){return Umn(e.a,t)}function vle(){vle=K,I3e=new eQe}function QN(){QN=K,Ure=new mrt}function tg(){tg=K,l5=new wrt}function n1(){n1=K,$Dt=new ZGe}function itt(){itt=K,WDt=new uqe}function ott(){ott=K,sLt=new JZe}function stt(){stt=K,aLt=new XZe}function r1(){r1=K,Ll=new Uue}function t8(){t8=K,EU=new hn}function Ele(){Ele=K,U3e=new je}function i1(){i1=K,tb=new vWe}function _q(){_q=K,ELt=new mVe}function Mo(){Mo=K,TLt=new wVe}function Sle(e){bW(),myn.call(this,e)}function Tle(e){bW(),Sle.call(this,e)}function Ale(e){GV(),vrt.call(this,e)}function jen(e,t){pct.call(this,e,t)}function n8(e,t){this.d=e,this.e=t}function xq(e,t){return Ea(e,t)>0}function kq(e,t){return Ea(e,t)<0}function att(e,t){return VV(e.a,t)}function Fen(e,t){return e.a.a.cc(t)}function Nq(e){return e.b<e.d.gc()}function e3(e,t){return e.a.get(t)}function $en(e,t){return t.split(e)}function ctt(e,t){return ma(e.e,t)}function r8(e){return l(e,45).jd()}function _le(e){return Mt(e),!1}function xle(e){this.a=l(kn(e),231)}function i8(e){St.call(this,e,21)}function o8(e,t){mn.call(this,e,t)}function Cq(e,t){mn.call(this,e,t)}function utt(e,t){this.b=e,this.a=t}function ltt(e,t){this.a=e,this.b=t}function dtt(e,t){this.a=e,this.b=t}function ftt(e,t){this.a=e,this.b=t}function htt(e,t){this.a=e,this.b=t}function ptt(e,t){this.b=e,this.a=t}function kle(e,t){ist(e,e.length,t)}function hO(e,t){Pst(e,e.length,t)}function Ben(e,t,r){t.Ne(e.a.We(r))}function Uen(e,t,r){t.Bd(e.a.Xe(r))}function Hen(e,t,r){t.Ad(e.a.Kb(r))}function zen(e,t,r){e.Mb(r)&&t.Ad(r)}function t3(e,t,r){e.splice(t,0,r)}function Iq(e,t){mn.call(this,e,t)}function Rq(e,t){mn.call(this,e,t)}function Oq(e,t){mn.call(this,e,t)}function s8(e,t){mn.call(this,e,t)}function Nle(e,t){mn.call(this,e,t)}function Dq(e,t){mn.call(this,e,t)}function pO(e,t){mn.call(this,e,t)}function hS(e,t){this.a=e,this.b=t}function Cle(e,t){this.b=e,this.a=t}function Ile(e,t){this.b=e,this.a=t}function gtt(e,t){this.b=e,this.a=t}function Rle(e,t){this.b=e,this.a=t}function qA(e,t){this.c=e,this.d=t}function btt(e,t){this.e=e,this.d=t}function mtt(e,t){this.a=e,this.b=t}function pS(e,t){mn.call(this,e,t)}function a8(e,t){mn.call(this,e,t)}function wi(e,t){mn.call(this,e,t)}function c8(e,t){mn.call(this,e,t)}function Ole(e,t){mn.call(this,e,t)}function u8(e,t){mn.call(this,e,t)}function wtt(e,t){this.a=e,this.b=t}function ytt(e,t){this.a=e,this.b=t}function vtt(e,t){this.a=e,this.b=t}function Ett(e,t){this.a=e,this.b=t}function Stt(e,t){this.a=e,this.b=t}function Ttt(e,t){this.a=e,this.b=t}function Att(e,t){this.a=e,this.b=t}function _tt(e,t){this.a=e,this.b=t}function xtt(e,t){this.b=e,this.a=t}function ktt(e,t){this.b=e,this.a=t}function Ntt(e,t){this.b=t,this.c=e}function l8(e,t){mn.call(this,e,t)}function gO(e,t){mn.call(this,e,t)}function Lq(e,t){mn.call(this,e,t)}function n3(e,t){mn.call(this,e,t)}function Dle(e,t){mn.call(this,e,t)}function d8(e,t){mn.call(this,e,t)}function Mq(e,t){mn.call(this,e,t)}function Yv(e,t){mn.call(this,e,t)}function Lle(e,t){mn.call(this,e,t)}function Pq(e,t){mn.call(this,e,t)}function r3(e,t){mn.call(this,e,t)}function Mle(e,t){mn.call(this,e,t)}function i3(e,t){mn.call(this,e,t)}function o3(e,t){mn.call(this,e,t)}function Bw(e,t){mn.call(this,e,t)}function jq(e,t){mn.call(this,e,t)}function Fq(e,t){mn.call(this,e,t)}function $q(e,t){mn.call(this,e,t)}function Ple(e,t){mn.call(this,e,t)}function bO(e,t){mn.call(this,e,t)}function jle(e,t){mn.call(this,e,t)}function Jv(e,t){mn.call(this,e,t)}function Bq(e,t){mn.call(this,e,t)}function f8(e,t){mn.call(this,e,t)}function mO(e,t){mn.call(this,e,t)}function Uw(e,t){mn.call(this,e,t)}function h8(e,t){mn.call(this,e,t)}function Fle(e,t){mn.call(this,e,t)}function Uq(e,t){mn.call(this,e,t)}function Hq(e,t){mn.call(this,e,t)}function zq(e,t){mn.call(this,e,t)}function Gq(e,t){mn.call(this,e,t)}function qq(e,t){mn.call(this,e,t)}function Vq(e,t){mn.call(this,e,t)}function Ctt(e,t){this.b=e,this.a=t}function Gen(e,t){return fc(e.e,t)}function qen(e,t){return fc(e.c,t)}function Ven(e,t){return fc(t.b,e)}function Wen(e,t){return ZA(),t!=e}function wO(e){return cn(e.a),e.b}function Wq(e){return lEn(e,e.c),e}function Itt(){return jQe(),new pxt}function Rtt(){J8(),this.a=new ofe}function Ott(e,t){this.a=e,this.b=t}function Dtt(e,t){this.a=e,this.b=t}function Ltt(e,t){this.a=e,this.b=t}function Mtt(e,t){this.b=e,this.a=t}function Ptt(e,t){this.a=e,this.b=t}function $le(e,t){mn.call(this,e,t)}function Ble(e,t){mn.call(this,e,t)}function p8(e,t){mn.call(this,e,t)}function Ule(e,t){mn.call(this,e,t)}function Hle(e,t){mn.call(this,e,t)}function zle(e,t){mn.call(this,e,t)}function jtt(e,t){this.a=e,this.b=t}function Ftt(e,t){this.a=e,this.b=t}function $tt(e,t){this.a=e,this.b=t}function Btt(e,t){this.b=e,this.d=t}function Utt(e,t){this.b=e,this.a=t}function g8(e,t){mn.call(this,e,t)}function r0(e,t){mn.call(this,e,t)}function Kq(e,t){mn.call(this,e,t)}function b8(e,t){mn.call(this,e,t)}function Gle(e,t){mn.call(this,e,t)}function Htt(e,t){this.b=e,this.a=t}function ztt(e,t){this.b=e,this.a=t}function Gtt(e,t){this.b=e,this.a=t}function qtt(e,t){this.b=e,this.a=t}function qle(e,t){mn.call(this,e,t)}function yO(e,t){mn.call(this,e,t)}function Vle(e,t){mn.call(this,e,t)}function Yq(e,t){mn.call(this,e,t)}function m8(e,t){mn.call(this,e,t)}function Jq(e,t){mn.call(this,e,t)}function Xq(e,t){mn.call(this,e,t)}function w8(e,t){mn.call(this,e,t)}function Zq(e,t){mn.call(this,e,t)}function Wle(e,t){mn.call(this,e,t)}function Qq(e,t){mn.call(this,e,t)}function eV(e,t){mn.call(this,e,t)}function vO(e,t){mn.call(this,e,t)}function tV(e,t){mn.call(this,e,t)}function Kle(e,t){mn.call(this,e,t)}function EO(e,t){mn.call(this,e,t)}function Yle(e,t){mn.call(this,e,t)}function Jle(e,t){mn.call(this,e,t)}function y8(e,t){mn.call(this,e,t)}function Xle(e,t){mn.call(this,e,t)}function Vtt(e,t){this.a=e,this.b=t}function Wtt(e,t){this.a=e,this.b=t}function Zle(e,t){this.a=e,this.b=t}function SO(e,t){mn.call(this,e,t)}function gS(e,t){mn.call(this,e,t)}function Me(e,t){this.a=e,this.b=t}function s3(e,t){mn.call(this,e,t)}function a3(e,t){mn.call(this,e,t)}function TO(e,t){mn.call(this,e,t)}function v8(e,t){mn.call(this,e,t)}function nV(e,t){mn.call(this,e,t)}function E8(e,t){mn.call(this,e,t)}function c3(e,t){mn.call(this,e,t)}function rV(e,t){mn.call(this,e,t)}function S8(e,t){mn.call(this,e,t)}function Xv(e,t){mn.call(this,e,t)}function AO(e,t){mn.call(this,e,t)}function u3(e,t){mn.call(this,e,t)}function l3(e,t){mn.call(this,e,t)}function _O(e,t){mn.call(this,e,t)}function iV(e,t){mn.call(this,e,t)}function T8(e,t){mn.call(this,e,t)}function Zv(e,t){mn.call(this,e,t)}function oV(e,t){mn.call(this,e,t)}function sV(e,t){mn.call(this,e,t)}function A8(e,t){mn.call(this,e,t)}function Ktt(e,t){this.a=e,this.b=t}function Ytt(e,t){this.a=e,this.b=t}function Jtt(e,t){this.a=e,this.b=t}function Xtt(e,t){this.a=e,this.b=t}function Ztt(e,t){this.a=e,this.b=t}function Qtt(e,t){this.a=e,this.b=t}function _8(e,t){mn.call(this,e,t)}function Co(e,t){this.a=e,this.b=t}function ent(){$F(),this.a=new pi}function tnt(){RW(),this.b=new pi}function nnt(){Hhe(),Wfe.call(this)}function rnt(){zhe(),Hat.call(this)}function int(){zhe(),Hat.call(this)}function ont(e,t){hfn(e.a,l(t,12))}function Ken(e,t,r){Obt(t,oJ(e,r))}function Yen(e,t,r){Obt(t,oJ(e,r))}function Qle(e,t){return fc(e.g,t)}function Jen(e,t){return-e.b.$e(t)}function snt(e,t){this.a=e,this.b=t}function ant(e,t){this.a=e,this.b=t}function cnt(e,t){this.a=e,this.b=t}function unt(e,t){this.a=e,this.b=t}function lnt(e,t){this.a=e,this.b=t}function dnt(e,t){this.a=e,this.b=t}function fnt(e,t){this.a=e,this.b=t}function hnt(e,t){this.a=e,this.b=t}function pnt(e,t){this.a=e,this.b=t}function gnt(e,t){this.a=e,this.b=t}function bnt(e,t){this.b=e,this.a=t}function mnt(e,t){this.b=e,this.a=t}function wnt(e,t){this.b=e,this.a=t}function ynt(e,t){this.b=e,this.a=t}function vnt(e,t){this.f=e,this.c=t}function ede(e,t){this.i=e,this.g=t}function x8(e,t){this.a=e,this.b=t}function Ent(e,t){this.a=e,this.b=t}function Snt(e,t){this.a=e,this.b=t}function Tnt(e,t){this.a=e,this.b=t}function tde(e,t){this.d=e,this.e=t}function Ant(e,t){this.d=e,this.b=t}function _nt(e,t){this.a=e,this.b=t}function xnt(e,t){this.e=e,this.a=t}function xO(e,t){this.b=e,this.c=t}function bS(e,t){mn.call(this,e,t)}function Xen(e,t){e&&Jn(a5,e,t)}function nde(e,t){e.i=null,Aj(e,t)}function knt(e,t){return lY(e.a,t)}function k8(e){return F6(e.c,e.b)}function Ss(e){return e?e.kd():null}function me(e){return e??null}function Hw(e){return typeof e===cT}function zw(e){return typeof e===nwe}function zi(e){return typeof e===JJ}function d3(e,t){return Ea(e,t)==0}function N8(e,t){return Ea(e,t)>=0}function f3(e,t){return Ea(e,t)!=0}function o1(e,t){return e.Pd().Xb(t)}function C8(e,t){return jhn(e.Jc(),t)}function Zen(e){return""+(Mt(e),e)}function rde(e,t){return e.a+=""+t,e}function h3(e,t){return e.a+=""+t,e}function Wo(e,t){return e.a+=""+t,e}function p3(e,t){return e.a+=""+t,e}function ba(e,t){return e.a+=""+t,e}function zn(e,t){return e.a+=""+t,e}function I8(e){return T3(e==null),e}function ide(e){return at(e,0),null}function Nnt(e){return $c(e),e.d.gc()}function Qen(e){b.clearTimeout(e)}function Cnt(e,t){e.q.setTime($b(t))}function etn(e,t){_fn(new tn(e),t)}function Int(e,t){the.call(this,e,t)}function Rnt(e,t){the.call(this,e,t)}function R8(e,t){the.call(this,e,t)}function So(e,t){Wr(e,t,e.c.b,e.c)}function Qv(e,t){Wr(e,t,e.a,e.a.a)}function ttn(e,t){return e.j[t.p]==2}function Ont(e,t){return e.a=t.g+1,e}function wd(e){return e.a=0,e.b=0,e}function Dnt(){Dnt=K,okt=yn(yY())}function Lnt(){Lnt=K,hNt=yn(Iwt())}function Mnt(){Mnt=K,oRt=yn(Fht())}function Pnt(){this.b=new dS(py(12))}function jnt(){this.b=0,this.a=!1}function Fnt(){this.b=0,this.a=!1}function g3(e){this.a=e,FG.call(this)}function $nt(e){this.a=e,FG.call(this)}function ht(e,t){Pr.call(this,e,t)}function aV(e,t){Yw.call(this,e,t)}function eE(e,t){ede.call(this,e,t)}function Bnt(e,t){RO.call(this,e,t)}function cV(e,t){A_.call(this,e,t)}function er(e,t){t8(),Jn(EU,e,t)}function uV(e,t){return yl(e.a,0,t)}function Unt(e,t){return me(e)===me(t)}function ntn(e,t){return vr(e.a,t.a)}function ode(e,t){return na(e.a,t.a)}function rtn(e,t){return Dst(e.a,t.a)}function mS(e){return bo((Mt(e),e))}function itn(e){return bo((Mt(e),e))}function Hnt(e){return Ua(e.l,e.m,e.h)}function otn(e){return kn(e),new g3(e)}function Nf(e,t){return e.indexOf(t)}function gs(e){return typeof e===nwe}function O8(e){return e<10?"0"+e:""+e}function stn(e){return e==X0||e==Uy}function atn(e){return e==X0||e==By}function znt(e,t){return na(e.g,t.g)}function sde(e){return _s(e.b.b,e,0)}function Gnt(e){Zs(this),X3(this,e)}function qnt(e){this.a=Itt(),this.b=e}function Vnt(e){this.a=Itt(),this.b=e}function Wnt(e,t){return Fe(e.a,t),t}function ade(e,t){g_(e,0,e.length,t)}function ctn(e,t){return na(e.g,t.g)}function utn(e,t){return vr(t.f,e.f)}function ltn(e,t){return hu(),t.a+=e}function dtn(e,t){return hu(),t.a+=e}function ftn(e,t){return hu(),t.c+=e}function cde(e,t){return yu(e.a,t),e}function htn(e,t){return Fe(e.c,t),e}function D8(e){return yu(new ci,e)}function ep(e){return e==cs||e==fs}function tE(e){return e==il||e==ff}function Knt(e){return e==c2||e==a2}function nE(e){return e!=pf&&e!=K1}function Jc(e){return e.sh()&&e.th()}function Ynt(e){return gW(l(e,127))}function wS(){ql.call(this,0,0,0,0)}function Jnt(){cP.call(this,0,0,0,0)}function ch(){fue.call(this,new f1)}function lV(e){vnt.call(this,e,!0)}function To(e){this.a=e.a,this.b=e.b}function dV(e,t){I_(e,t),y_(e,e.D)}function fV(e,t,r){bj(e,t),gj(e,r)}function i0(e,t,r){Hb(e,t),Ub(e,r)}function Bu(e,t,r){va(e,t),gc(e,r)}function kO(e,t,r){y0(e,t),v0(e,r)}function NO(e,t,r){E0(e,t),S0(e,r)}function Xnt(e,t,r){zde.call(this,e,t,r)}function Znt(){o8.call(this,"Head",1)}function Qnt(){o8.call(this,"Tail",3)}function s1(e){jf(),Bhn.call(this,e)}function rE(e){return e!=null?Rr(e):0}function ert(e,t){return new A_(t,e)}function ptn(e,t){return new A_(t,e)}function gtn(e,t){return ly(t,Gd(e))}function btn(e,t){return ly(t,Gd(e))}function mtn(e,t){return e[e.length]=t}function wtn(e,t){return e[e.length]=t}function ude(e){return Mon(e.b.Jc(),e.a)}function ytn(e,t){return Ej(dW(e.f),t)}function vtn(e,t){return Ej(dW(e.n),t)}function Etn(e,t){return Ej(dW(e.p),t)}function Mi(e,t){Pr.call(this,e.b,t)}function xb(e){cP.call(this,e,e,e,e)}function hV(e){e.c=we(Ri,It,1,0,5,1)}function trt(e,t,r){ii(e.c[t.g],t.g,r)}function Stn(e,t,r){l(e.c,72).Ei(t,r)}function Ttn(e,t,r){Bu(r,r.i+e,r.j+t)}function Atn(e,t){Tn(oa(e.a),Oct(t))}function _tn(e,t){Tn(Fc(e.a),Dct(t))}function xtn(e,t){sf||(e.b=t)}function pV(e,t,r){return ii(e,t,r),r}function nrt(e){La(e.Qf(),new vYe(e))}function rrt(){rrt=K,Zte=new uC(xre)}function lde(){lde=K,Rue(),YEe=new hn}function Cn(){Cn=K,new irt,new je}function irt(){new hn,new hn,new hn}function ktn(){throw Y(new Jp($_t))}function Ntn(){throw Y(new Jp($_t))}function Ctn(){throw Y(new Jp(B_t))}function Itn(){throw Y(new Jp(B_t))}function b3(e){hr(),Km.call(this,e)}function ort(e){this.a=e,kfe.call(this,e)}function gV(e){this.a=e,G9.call(this,e)}function bV(e){this.a=e,G9.call(this,e)}function Rtn(e){return e==null?0:Rr(e)}function Ts(e){return e.a<e.c.c.length}function dde(e){return e.a<e.c.a.length}function fde(e,t){return Ea(e,t)>0?e:t}function na(e,t){return e<t?-1:e>t?1:0}function srt(e,t){return e.a?e.b:t.Ue()}function Ua(e,t,r){return{l:e,m:t,h:r}}function Otn(e,t){e.a!=null&&ont(t,e.a)}function Dtn(e,t){kn(t),uE(e).Ic(new P)}function ki(e,t){qV(e.c,e.c.length,t)}function art(e){e.a=new pt,e.c=new pt}function L8(e){this.b=e,this.a=new je}function crt(e){this.b=new sh,this.a=e}function hde(e){ife.call(this),this.a=e}function urt(e){Lhe.call(this),this.b=e}function lrt(){o8.call(this,"Range",2)}function drt(){bbe(),this.a=new X_(q2e)}function Ud(){Ud=K,b.Math.log(2)}function Uu(){Uu=K,Lh=(itt(),WDt)}function M8(e){e.j=we(c2e,Pe,325,0,0,1)}function frt(e){e.a=new hn,e.e=new hn}function pde(e){return new Me(e.c,e.d)}function Ltn(e){return new Me(e.c,e.d)}function Ao(e){return new Me(e.a,e.b)}function Mtn(e,t){return Jn(e.a,t.a,t)}function Ptn(e,t,r){return Jn(e.g,r,t)}function jtn(e,t,r){return Jn(e.k,r,t)}function iE(e,t,r){return P1e(t,r,e.c)}function hrt(e,t){return Hkn(e.a,t,null)}function gde(e,t){return le(Ut(e.i,t))}function bde(e,t){return le(Ut(e.j,t))}function prt(e,t){vn(e),e.Fc(l(t,16))}function Ftn(e,t,r){e.c._c(t,l(r,138))}function $tn(e,t,r){e.c.Si(t,l(r,138))}function Btn(e,t,r){return Bkn(e,t,r),r}function Utn(e,t){return gu(),t.n.b+=e}function m3(e,t){return Jxn(e.c,e.b,t)}function mV(e,t){return mpn(e.Jc(),t)!=-1}function se(e,t){return e!=null&&TY(e,t)}function Htn(e,t){return new jrt(e.Jc(),t)}function P8(e){return e.Ob()?e.Pb():null}function grt(e){return Mf(e,0,e.length)}function ztn(e){mo(e,null),Yi(e,null)}function brt(e){DW(e,null),LW(e,null)}function mrt(){RO.call(this,null,null)}function wrt(){H8.call(this,null,null)}function yrt(){mn.call(this,"INSTANCE",0)}function oE(){this.a=we(Ri,It,1,8,5,1)}function mde(e){this.a=e,hn.call(this)}function vrt(e){this.a=(At(),new PA(e))}function Gtn(e){this.b=(At(),new YG(e))}function VA(){VA=K,w2e=new uq(null)}function wde(){wde=K,wde(),mxt=new Dt}function Fe(e,t){return Rt(e.c,t),!0}function Ert(e,t){e.c&&(jfe(t),ect(t))}function qtn(e,t){e.q.setHours(t),OC(e,t)}function yde(e,t){return e.a.Ac(t)!=null}function wV(e,t){return e.a.Ac(t)!=null}function Hd(e,t){return e.a[t.c.p][t.p]}function Vtn(e,t){return e.c[t.c.p][t.p]}function Wtn(e,t){return e.e[t.c.p][t.p]}function yV(e,t,r){return e.a[t.g][r.g]}function Ktn(e,t){return e.j[t.p]=E2n(t)}function yS(e,t){return e.a*t.a+e.b*t.b}function Ytn(e,t){return e.a<RV(t)?-1:1}function Jtn(e,t){return vpe(e.b,t.Og())}function Xtn(e,t){return vpe(e.f,t.Og())}function Ztn(e,t){return ce(le(t.a))<=e}function Qtn(e,t){return ce(le(t.a))>=e}function enn(e,t,r){return r?t!=0:t!=e-1}function Srt(e,t,r){e.a=t^1502,e.b=r^kX}function tnn(e,t,r){return e.a=t,e.b=r,e}function tp(e,t){return e.a*=t,e.b*=t,e}function w3(e,t,r){return ii(e.g,t,r),r}function nnn(e,t,r,o){ii(e.a[t.g],r.g,o)}function Ei(e,t,r){zO.call(this,e,t,r)}function j8(e,t,r){Ei.call(this,e,t,r)}function dc(e,t,r){Ei.call(this,e,t,r)}function Trt(e,t,r){j8.call(this,e,t,r)}function vde(e,t,r){zO.call(this,e,t,r)}function sE(e,t,r){zO.call(this,e,t,r)}function Art(e,t,r){Ede.call(this,e,t,r)}function _rt(e,t,r){vde.call(this,e,t,r)}function Ede(e,t,r){Q8.call(this,e,t,r)}function xrt(e,t,r){Q8.call(this,e,t,r)}function a1(e){this.c=e,this.a=this.c.a}function tn(e){this.i=e,this.f=this.i.j}function aE(e,t){this.a=e,G9.call(this,t)}function krt(e,t){this.a=e,pq.call(this,t)}function Nrt(e,t){this.a=e,pq.call(this,t)}function Crt(e,t){this.a=e,pq.call(this,t)}function Sde(e){this.a=e,NKe.call(this,e.d)}function Irt(e){e.b.Qb(),--e.d.f.d,fP(e.d)}function Rrt(e){e.a=l(qt(e.b.a,4),131)}function Ort(e){e.a=l(qt(e.b.a,4),131)}function rnn(e){YO(e,fAt),MF(e,jNn(e))}function Drt(e){HG.call(this,l(kn(e),34))}function Lrt(e){HG.call(this,l(kn(e),34))}function Tde(e){if(!e)throw Y(new nO)}function Ade(e){if(!e)throw Y(new lc)}function _de(e,t){return Qgn(e,new Qg,t).a}function Mrt(e,t){return new $mt(e.a,e.b,t)}function Gt(e,t){return kn(t),new Prt(e,t)}function Prt(e,t){this.a=t,q9.call(this,e)}function jrt(e,t){this.a=t,q9.call(this,e)}function xde(e,t){this.a=t,pq.call(this,e)}function Frt(e,t){this.a=t,qW.call(this,e)}function $rt(e,t){this.a=e,qW.call(this,t)}function Brt(){M8(this),kP(this),this.he()}function kde(){this.Bb|=256,this.Bb|=512}function Lt(){Lt=K,L1=!1,Bx=!0}function Urt(){Urt=K,_q(),SLt=new wKe}function inn(e){return oO(e.a)?Lct(e):null}function onn(e){return e.l+e.m*fT+e.h*nm}function snn(e){return e==null?null:e.name}function y3(e){return e==null?tc:ms(e)}function F8(e,t){return e.lastIndexOf(t)}function Nde(e,t,r){return e.indexOf(t,r)}function fc(e,t){return!!t&&e.b[t.g]==t}function vS(e){return e.a!=null?e.a:null}function Xc(e){return cn(e.a!=null),e.a}function CO(e,t,r){return RK(e,t,t,r),e}function Hrt(e,t){return Fe(t.a,e.a),e.a}function zrt(e,t){return Fe(t.b,e.a),e.a}function $8(e,t){return++e.b,Fe(e.a,t)}function Cde(e,t){return++e.b,Xa(e.a,t)}function o0(e,t){return Fe(t.a,e.a),e.a}function B8(e){CA.call(this,e),this.a=e}function Ide(e){qv.call(this,e),this.a=e}function Rde(e){PA.call(this,e),this.a=e}function Ode(e){tq.call(this),wo(this,e)}function ml(e){ZR.call(this,(Mt(e),e))}function fu(e){ZR.call(this,(Mt(e),e))}function vV(e){fue.call(this,new Ipe(e))}function Dde(e,t){q1e.call(this,e,t,null)}function ann(e,t){return vr(e.n.a,t.n.a)}function cnn(e,t){return vr(e.c.d,t.c.d)}function unn(e,t){return vr(e.c.c,t.c.c)}function Ya(e,t){return l(yr(e.b,t),16)}function lnn(e,t){return e.n.b=(Mt(t),t)}function dnn(e,t){return e.n.b=(Mt(t),t)}function fnn(e,t){return vr(e.e.b,t.e.b)}function hnn(e,t){return vr(e.e.a,t.e.a)}function pnn(e,t,r){return Mut(e,t,r,e.b)}function Lde(e,t,r){return Mut(e,t,r,e.c)}function gnn(e){return hu(),!!e&&!e.dc()}function Grt(){YN(),this.b=new nJe(this)}function qrt(e){this.a=e,KG.call(this,e)}function IO(e){this.c=e,SS.call(this,e)}function ES(e){this.c=e,tn.call(this,e)}function SS(e){this.d=e,tn.call(this,e)}function U8(e,t){KV(),this.f=t,this.d=e}function RO(e,t){QN(),this.a=e,this.b=t}function H8(e,t){tg(),this.b=e,this.c=t}function Mde(e,t){Spe(t,e),this.c=e,this.b=t}function ng(e){var t;t=e.a,e.a=e.b,e.b=t}function v3(e){return Ts(e.a)||Ts(e.b)}function s0(e){return e.$H||(e.$H=++sCn)}function EV(e,t){return new Yit(e,e.gc(),t)}function bnn(e,t){return ZV(e.c).Kd().Xb(t)}function WA(e,t,r){var o;o=e.dd(t),o.Rb(r)}function Pde(e,t,r){l(f6(e,t),24).Ec(r)}function mnn(e,t,r){tY(e.a,r),lF(e.a,t)}function Vrt(e,t,r,o){Qfe.call(this,e,t,r,o)}function KA(e,t,r){return Nde(e,Qa(t),r)}function wnn(e){return P9(),wn((yct(),K_t),e)}function ynn(e){return new ay(3,e)}function uh(e){return wu(e,Oy),new Da(e)}function YA(e){return cn(e.b!=0),e.a.a.c}function zl(e){return cn(e.b!=0),e.c.b.c}function vnn(e,t){return RK(e,t,t+1,""),e}function Wrt(e){if(!e)throw Y(new $u)}function Krt(e){e.d=new Xrt(e),e.e=new hn}function jde(e){if(!e)throw Y(new nO)}function Enn(e){if(!e)throw Y(new QG)}function cn(e){if(!e)throw Y(new vs)}function Gw(e){if(!e)throw Y(new lc)}function Yrt(e){return e.b=l(Che(e.a),45)}function br(e,t){return!!e.q&&ma(e.q,t)}function Snn(e,t){return e>0?t*t/e:t*t*100}function Tnn(e,t){return e>0?t/(e*e):t*100}function qw(e,t){return l(Wd(e.a,t),34)}function Ann(e){return e.f!=null?e.f:""+e.g}function SV(e){return e.f!=null?e.f:""+e.g}function Jrt(e){return l_(),parseInt(e)||-1}function _nn(e){return dp(),e.e.a+e.f.a/2}function xnn(e,t,r){return dp(),r.e.a-e*t}function knn(e,t,r){return K9(),r.Lg(e,t)}function Nnn(e,t,r){return dp(),r.e.b-e*t}function Cnn(e){return dp(),e.e.b+e.f.b/2}function Inn(e,t){return T1(),yt(e,t.e,t)}function OO(e){se(e,162)&&l(e,162).mi()}function Xrt(e){Nfe.call(this,e,null,null)}function Zrt(){mn.call(this,"GROW_TREE",0)}function Qrt(e){this.c=e,this.a=1,this.b=1}function TV(e){$w(),this.b=e,this.a=!0}function eit(e){W9(),this.b=e,this.a=!0}function tit(e){KJ(),mZe(this),this.Df(e)}function nit(e){Ar.call(this),K3(this,e)}function rit(e){this.c=e,va(e,0),gc(e,0)}function z8(e){return e.a=-e.a,e.b=-e.b,e}function Fde(e,t){return e.a=t.a,e.b=t.b,e}function Vw(e,t,r){return e.a+=t,e.b+=r,e}function iit(e,t,r){return e.a-=t,e.b-=r,e}function Rnn(e,t,r){rj(),e.nf(t)&&r.Ad(e)}function Onn(e,t,r){aC(oa(e.a),t,Oct(r))}function Dnn(e,t,r){return Fe(t,Dgt(e,r))}function Lnn(e,t){return l(Ut(e.e,t),19)}function Mnn(e,t){return l(Ut(e.e,t),19)}function Pnn(e,t){return e.c.Ec(l(t,138))}function oit(e,t){QN(),RO.call(this,e,t)}function $de(e,t){tg(),H8.call(this,e,t)}function sit(e,t){tg(),H8.call(this,e,t)}function ait(e,t){tg(),$de.call(this,e,t)}function AV(e,t){Uu(),lP.call(this,e,t)}function cit(e,t){Uu(),AV.call(this,e,t)}function Bde(e,t){Uu(),AV.call(this,e,t)}function uit(e,t){Uu(),Bde.call(this,e,t)}function Ude(e,t){Uu(),lP.call(this,e,t)}function lit(e,t){Uu(),lP.call(this,e,t)}function dit(e,t){Uu(),Ude.call(this,e,t)}function Zc(e,t,r){pc.call(this,e,t,r,2)}function jnn(e,t,r){aC(Fc(e.a),t,Dct(r))}function _V(e,t){return y1(e.e,l(t,52))}function Fnn(e,t,r){return t.xl(e.e,e.c,r)}function $nn(e,t,r){return t.yl(e.e,e.c,r)}function Hde(e,t,r){return JF(h6(e,t),r)}function fit(e,t){return Mt(e),e+RV(t)}function Bnn(e){return e==null?null:ms(e)}function Unn(e){return e==null?null:ms(e)}function Hnn(e){return e==null?null:NNn(e)}function znn(e){return e==null?null:kyn(e)}function np(e){e.o==null&&KEn(e)}function Ke(e){return T3(e==null||Hw(e)),e}function le(e){return T3(e==null||zw(e)),e}function In(e){return T3(e==null||zi(e)),e}function hit(){this.a=new b0,this.b=new b0}function Gnn(e,t){this.d=e,QKe(this),this.b=t}function DO(e,t){this.c=e,HA.call(this,e,t)}function E3(e,t){this.a=e,DO.call(this,e,t)}function zde(e,t,r){tj.call(this,e,t,r,null)}function pit(e,t,r){tj.call(this,e,t,r,null)}function Gde(){tht.call(this),this.Bb|=Io}function qde(e,t){tK.call(this,e),this.a=t}function Vde(e,t){tK.call(this,e),this.a=t}function git(e,t){sf||Fe(e.a,t)}function qnn(e,t){return RY(e,t),new lat(e,t)}function Vnn(e,t,r){return e.Le(t,r)<=0?r:t}function Wnn(e,t,r){return e.Le(t,r)<=0?t:r}function bit(e){return Mt(e),e?1231:1237}function xV(e){return l(ze(e.a,e.b),296)}function mit(e){return gu(),Knt(l(e,205))}function Knn(e,t){return l(Wd(e.b,t),144)}function Ynn(e,t){return l(Wd(e.c,t),236)}function wit(e){return new Me(e.c,e.d+e.a)}function Jnn(e,t){return zS(),new xyt(t,e)}function Xnn(e,t){return fO(),T_(t.d.i,e)}function Znn(e,t){t.a?pEn(e,t):wV(e.a,t.b)}function Wde(e,t){return l(Ut(e.b,t),280)}function Pr(e,t){lr.call(this,e),this.a=t}function Kde(e,t,r){return r=Su(e,t,3,r),r}function Yde(e,t,r){return r=Su(e,t,6,r),r}function Jde(e,t,r){return r=Su(e,t,9,r),r}function Cf(e,t){return YO(t,Ewe),e.f=t,e}function Xde(e,t){return(t&ar)%e.d.length}function yit(e,t,r){++e.j,e.oj(t,e.Xi(t,r))}function LO(e,t,r){++e.j,e.rj(),eK(e,t,r)}function vit(e,t,r){var o;o=e.dd(t),o.Rb(r)}function Eit(e,t){this.c=e,w0.call(this,t)}function Sit(e,t){this.a=e,lZe.call(this,t)}function MO(e,t){this.a=e,lZe.call(this,t)}function Zde(e){this.q=new b.Date($b(e))}function Tit(e){this.a=(wu(e,Oy),new Da(e))}function Ait(e){this.a=(wu(e,Oy),new Da(e))}function kV(e){this.a=(At(),new WG(kn(e)))}function G8(){G8=K,w$=new Pr(K2t,0)}function cE(){cE=K,d2=new lr("root")}function JA(){JA=K,u5=new WZe,new KZe}function Ww(){Ww=K,_2e=lt((su(),xm))}function Qnn(e){return On(Rb(e,32))^On(e)}function NV(e){return String.fromCharCode(e)}function ern(e){return e==null?null:e.message}function trn(e,t,r){return e.apply(t,r)}function _it(e,t,r){return M0e(e.c,e.b,t,r)}function Qde(e,t,r){return IS(e,l(t,23),r)}function kb(e,t){return Lt(),e==t?0:e?1:-1}function efe(e,t){var r;return r=t,!!e.De(r)}function tfe(e,t){var r;return r=e.e,e.e=t,r}function nrn(e,t){var r;r=e[xX],r.call(e,t)}function rrn(e,t){var r;r=e[xX],r.call(e,t)}function Kw(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function xit(e){Zs(e.e),e.d.b=e.d,e.d.a=e.d}function PO(e){e.b?PO(e.b):e.f.c.yc(e.e,e.d)}function jO(e){return!e.a&&(e.a=new ue),e.a}function kit(e,t,r){return e.a+=Mf(t,0,r),e}function irn(e,t,r){_b(),JKe(e,t.Te(e.a,r))}function nfe(e,t,r,o){cP.call(this,e,t,r,o)}function rfe(e,t){xue.call(this,e),this.a=t}function CV(e,t){xue.call(this,e),this.a=t}function Nit(){q8.call(this),this.a=new ro}function ife(){this.n=new ro,this.o=new ro}function Cit(){this.b=new ro,this.c=new je}function Iit(){this.a=new je,this.b=new je}function Rit(){this.a=new ah,this.b=new AZe}function ofe(){this.b=new f1,this.a=new f1}function Oit(){this.b=new pi,this.a=new pi}function Dit(){this.b=new hn,this.a=new hn}function Lit(){this.a=new je,this.d=new je}function Mit(){this.a=new PWe,this.b=new pUe}function Pit(){this.b=new eet,this.a=new _He}function q8(){this.n=new oS,this.i=new wS}function mr(e,t){return e.a+=t.a,e.b+=t.b,e}function Di(e,t){return e.a-=t.a,e.b-=t.b,e}function orn(e){return jw(e.j.c,0),e.a=-1,e}function sfe(e,t,r){return r=Su(e,t,11,r),r}function jit(e,t,r){r!=null&&Sj(t,LY(e,r))}function Fit(e,t,r){r!=null&&Tj(t,LY(e,r))}function TS(e,t,r,o){ke.call(this,e,t,r,o)}function Yw(e,t){Ia.call(this,aI+e+cm+t)}function afe(e,t,r,o){ke.call(this,e,t,r,o)}function $it(e,t,r,o){afe.call(this,e,t,r,o)}function Bit(e,t,r,o){wP.call(this,e,t,r,o)}function IV(e,t,r,o){wP.call(this,e,t,r,o)}function Uit(e,t,r,o){IV.call(this,e,t,r,o)}function cfe(e,t,r,o){wP.call(this,e,t,r,o)}function Tt(e,t,r,o){cfe.call(this,e,t,r,o)}function ufe(e,t,r,o){IV.call(this,e,t,r,o)}function Hit(e,t,r,o){ufe.call(this,e,t,r,o)}function zit(e,t,r,o){rhe.call(this,e,t,r,o)}function lfe(e,t){return e.hk().ti().oi(e,t)}function dfe(e,t){return e.hk().ti().qi(e,t)}function srn(e,t){return e.n.a=(Mt(t),t+10)}function arn(e,t){return e.n.a=(Mt(t),t+10)}function crn(e,t){return e.e=l(e.d.Kb(t),163)}function urn(e,t){return t==e||q_(LF(t),e)}function Gl(e,t){return B9(new Array(t),e)}function Git(e,t){return Mt(e),me(e)===me(t)}function wt(e,t){return Mt(e),me(e)===me(t)}function qit(e,t){return Jn(e.a,t,"")==null}function ffe(e,t,r){return e.lastIndexOf(t,r)}function lrn(e,t){return e.b.zd(new dtt(e,t))}function drn(e,t){return e.b.zd(new ftt(e,t))}function Vit(e,t){return e.b.zd(new htt(e,t))}function frn(e){return e<100?null:new e1(e)}function hrn(e,t){return Te(t,(Ue(),mL),e)}function prn(e,t,r){return vr(e[t.a],e[r.a])}function grn(e,t){return na(e.a.d.p,t.a.d.p)}function brn(e,t){return na(t.a.d.p,e.a.d.p)}function mrn(e,t){return fO(),!T_(t.d.i,e)}function wrn(e,t){sf||t&&(e.d=t)}function yrn(e,t){ep(e.f)?BEn(e,t):Iwn(e,t)}function Wit(e,t){Pon.call(this,e,e.length,t)}function Kit(e){this.c=e,R8.call(this,wD,0)}function hfe(e,t){this.c=e,sW.call(this,e,t)}function Yit(e,t,r){this.a=e,Mde.call(this,t,r)}function Jit(e,t,r){this.c=t,this.b=r,this.a=e}function FO(e){ZA(),this.d=e,this.a=new oE}function vrn(e,t){var r;return r=t.ni(e.a),r}function Ern(e,t){return vr(e.c-e.s,t.c-t.s)}function Srn(e,t){return vr(e.c.e.a,t.c.e.a)}function Trn(e,t){return vr(e.b.e.a,t.b.e.a)}function Xit(e,t){return se(t,16)&&syt(e.c,t)}function Arn(e,t,r){return l(e.c,72).Uk(t,r)}function V8(e,t,r){return l(e.c,72).Vk(t,r)}function _rn(e,t,r){return Fnn(e,l(t,345),r)}function pfe(e,t,r){return $nn(e,l(t,345),r)}function xrn(e,t,r){return Hbt(e,l(t,345),r)}function Zit(e,t,r){return Hwn(e,l(t,345),r)}function S3(e,t){return t==null?null:by(e.b,t)}function AS(e){return e==_m||e==Oh||e==fa}function Qit(e){return e.c?_s(e.c.a,e,0):-1}function RV(e){return zw(e)?(Mt(e),e):e.se()}function W8(e){return!isNaN(e)&&!isFinite(e)}function OV(e){art(this),tu(this),wo(this,e)}function Tc(e){hV(this),Pfe(this.c,0,e.Nc())}function eot(e){Mc(e.a),Npe(e.c,e.b),e.b=null}function DV(){DV=K,m2e=new Kt,gxt=new Et}function tot(){tot=K,ZDt=we(Ri,It,1,0,5,1)}function not(){not=K,bLt=we(Ri,It,1,0,5,1)}function gfe(){gfe=K,mLt=we(Ri,It,1,0,5,1)}function krn(e){return b_(),wn((Adt(),wxt),e)}function Nrn(e){return Yu(),wn((Flt(),Axt),e)}function Crn(e){return Sd(),wn(($lt(),Oxt),e)}function Irn(e){return _c(),wn((Blt(),Lxt),e)}function Rrn(e){return Za(),wn((Ult(),Pxt),e)}function Orn(e){return t7(),wn((Dnt(),okt),e)}function bfe(e,t){if(!e)throw Y(new jt(t))}function XA(e){if(!e)throw Y(new ts(rwe))}function LV(e,t){if(e!=t)throw Y(new $u)}function Hu(e,t,r){this.a=e,this.b=t,this.c=r}function rot(e,t,r){this.a=e,this.b=t,this.c=r}function iot(e,t,r){this.a=e,this.b=t,this.c=r}function mfe(e,t,r){this.b=e,this.c=t,this.a=r}function oot(e,t,r){this.d=e,this.b=r,this.a=t}function Drn(e,t,r){return _b(),e.a.Wd(t,r),t}function MV(e){var t;return t=new yb,t.e=e,t}function wfe(e){var t;return t=new RZe,t.b=e,t}function K8(e,t,r){this.e=t,this.b=e,this.d=r}function Y8(e,t,r){this.b=e,this.a=t,this.c=r}function sot(e){this.a=e,eg(),Gs(Date.now())}function aot(e,t,r){this.a=e,this.b=t,this.c=r}function PV(e){cP.call(this,e.d,e.c,e.a,e.b)}function yfe(e){cP.call(this,e.d,e.c,e.a,e.b)}function Lrn(e){return Ht(),wn((Lht(),aNt),e)}function Mrn(e){return A0(),wn((_dt(),akt),e)}function Prn(e){return x_(),wn((xdt(),Xkt),e)}function jrn(e){return lj(),wn((Kut(),bkt),e)}function Frn(e){return G3(),wn((Hlt(),Hkt),e)}function $rn(e){return Vi(),wn((uft(),Vkt),e)}function Brn(e){return YS(),wn((kdt(),rNt),e)}function Urn(e){return E_(),wn((Yut(),fNt),e)}function Hrn(e){return Xi(),wn((Lnt(),hNt),e)}function zrn(e){return Pj(),wn((Ndt(),bNt),e)}function Grn(e){return Xl(),wn((Cdt(),kNt),e)}function qrn(e){return Ey(),wn((Eft(),CNt),e)}function Vrn(e){return nj(),wn((Xut(),jNt),e)}function Wrn(e){return eT(),wn((Bft(),PNt),e)}function Krn(e){return T0(),wn((sdt(),LNt),e)}function Yrn(e){return UF(),wn((Mht(),MNt),e)}function Jrn(e){return lC(),wn((Ddt(),FNt),e)}function Xrn(e){return wj(),wn((Vlt(),$Nt),e)}function Zrn(e){return tD(),wn((Jht(),BNt),e)}function Qrn(e){return m6(),wn((Jut(),UNt),e)}function ein(e){return Vb(),wn((Wlt(),zNt),e)}function tin(e){return xF(),wn(($ft(),GNt),e)}function nin(e){return l6(),wn((Zut(),qNt),e)}function rin(e){return K6(),wn((jft(),VNt),e)}function iin(e){return W_(),wn((Fft(),WNt),e)}function oin(e){return $o(),wn((lpt(),KNt),e)}function sin(e){return __(),wn((qlt(),YNt),e)}function ain(e){return b1(),wn((zlt(),JNt),e)}function cin(e){return lp(),wn((Glt(),ZNt),e)}function uin(e){return HP(),wn((Qut(),QNt),e)}function lin(e){return iu(),wn((Tft(),t3t),e)}function din(e){return qP(),wn((elt(),n3t),e)}function fin(e){return vy(),wn((Rdt(),qIt),e)}function hin(e){return rC(),wn((edt(),GIt),e)}function pin(e){return hC(),wn((Aft(),VIt),e)}function gin(e){return x1(),wn((upt(),WIt),e)}function bin(e){return rD(),wn((Xht(),zIt),e)}function min(e){return bp(),wn((Odt(),KIt),e)}function win(e){return g6(),wn((tlt(),YIt),e)}function yin(e){return Fo(),wn((Klt(),XIt),e)}function vin(e){return Dj(),wn((Ylt(),ZIt),e)}function Ein(e){return nC(),wn((Jlt(),QIt),e)}function Sin(e){return R_(),wn((Xlt(),e4t),e)}function Tin(e){return mj(),wn((Zlt(),t4t),e)}function Ain(e){return Lj(),wn((Qlt(),n4t),e)}function _in(e){return Kb(),wn((Idt(),E4t),e)}function xin(e){return H3(),wn((nlt(),x4t),e)}function kin(e){return If(),wn((rlt(),D4t),e)}function Nin(e){return zd(),wn((ilt(),M4t),e)}function Cin(e){return vd(),wn((olt(),J4t),e)}function Iin(e,t){return Mt(e),e+(Mt(t),t)}function Rin(e){return g0(),wn((slt(),rRt),e)}function Oin(e){return JS(),wn((jdt(),iRt),e)}function Din(e){return IC(),wn((Mnt(),oRt),e)}function Lin(e){return eC(),wn((adt(),sRt),e)}function Min(e){return tC(),wn((Ldt(),CRt),e)}function Pin(e){return $P(),wn((alt(),IRt),e)}function jin(e){return xj(),wn((clt(),MRt),e)}function Fin(e){return EF(),wn((Sft(),jRt),e)}function $in(e){return ij(),wn((ult(),FRt),e)}function Bin(e){return R6(),wn((cdt(),$Rt),e)}function Uin(e){return fF(),wn((Mdt(),oOt),e)}function Hin(e){return Rj(),wn((tdt(),sOt),e)}function zin(e){return Qj(),wn((ndt(),aOt),e)}function Gin(e){return TF(),wn((Pdt(),uOt),e)}function qin(e){return Kj(),wn((udt(),fOt),e)}function ZA(){ZA=K,C_e=(He(),Wt),OB=Qt}function hu(){hu=K,TNt=new ABe,ANt=new _Be}function $O(){$O=K,A$=new U7e,_$=new H7e}function J8(){J8=K,wNt=new g$e,mNt=new b$e}function Vin(e){return!e.e&&(e.e=new je),e.e}function Win(e){return xC(),wn((_ft(),FOt),e)}function Kin(e){return J9(),wn((Sut(),BOt),e)}function Yin(e){return M6(),wn((rdt(),$Ot),e)}function Jin(e){return X9(),wn((Tut(),HOt),e)}function Xin(e){return o6(),wn((dlt(),zOt),e)}function Zin(e){return J6(),wn((xft(),GOt),e)}function Qin(e){return YP(),wn((llt(),LOt),e)}function eon(e){return oj(),wn((idt(),MOt),e)}function ton(e){return Hj(),wn((odt(),POt),e)}function non(e){return JN(),wn((Aut(),s6t),e)}function ron(e){return x6(),wn((flt(),a6t),e)}function ion(e){return GP(),wn((hlt(),c6t),e)}function oon(e){return bF(),wn((Fdt(),l6t),e)}function son(e){return Z9(),wn((_ut(),y6t),e)}function aon(e){return Q9(),wn((xut(),E6t),e)}function con(e){return e8(),wn((kut(),T6t),e)}function uon(e){return w6(),wn((plt(),_6t),e)}function lon(e){return Jd(),wn((vft(),R6t),e)}function don(e){return _1(),wn((Pht(),D6t),e)}function fon(e){return mh(),wn((zft(),L6t),e)}function hon(e){return Zb(),wn((Hft(),B6t),e)}function pon(e){return Si(),wn((cft(),fDt),e)}function gon(e){return O_(),wn(($dt(),hDt),e)}function bon(e){return Kd(),wn((ddt(),pDt),e)}function mon(e){return gp(),wn((Bdt(),gDt),e)}function won(e){return AF(),wn((Uft(),bDt),e)}function yon(e){return pp(),wn((ldt(),wDt),e)}function von(e){return vu(),wn((Udt(),vDt),e)}function Eon(e){return _y(),wn((Yht(),EDt),e)}function Son(e){return EE(),wn((yft(),SDt),e)}function Ton(e){return qi(),wn((Gft(),TDt),e)}function Aon(e){return xc(),wn((qft(),ADt),e)}function _on(e){return V3(),wn((hdt(),IDt),e)}function xon(e){return He(),wn((aft(),_Dt),e)}function kon(e){return su(),wn((zdt(),RDt),e)}function Non(e){return Uc(),wn((Kht(),ODt),e)}function Con(e){return VS(),wn((fdt(),DDt),e)}function Ion(e){return VP(),wn((Hdt(),LDt),e)}function Ron(e){return Yj(),wn((Gdt(),MDt),e)}function Oon(e){return jj(),wn((qdt(),FDt),e)}function jV(e,t){this.c=e,this.a=t,this.b=t-e}function Qc(e,t,r){this.c=e,this.a=t,this.b=r}function cot(e,t,r){this.a=e,this.c=t,this.b=r}function uot(e,t,r){this.a=e,this.c=t,this.b=r}function lot(e,t,r){this.a=e,this.b=t,this.c=r}function vfe(e,t,r){this.a=e,this.b=t,this.c=r}function Efe(e,t,r){this.a=e,this.b=t,this.c=r}function FV(e,t,r){this.a=e,this.b=t,this.c=r}function dot(e,t,r){this.a=e,this.b=t,this.c=r}function Sfe(e,t,r){this.a=e,this.b=t,this.c=r}function fot(e,t,r){this.a=e,this.b=t,this.c=r}function hot(e,t,r){this.b=e,this.a=t,this.c=r}function rg(e,t,r){this.e=e,this.a=t,this.c=r}function pot(e,t,r){Uu(),jhe.call(this,e,t,r)}function $V(e,t,r){Uu(),whe.call(this,e,t,r)}function Tfe(e,t,r){Uu(),whe.call(this,e,t,r)}function Afe(e,t,r){Uu(),whe.call(this,e,t,r)}function got(e,t,r){Uu(),$V.call(this,e,t,r)}function _fe(e,t,r){Uu(),$V.call(this,e,t,r)}function bot(e,t,r){Uu(),_fe.call(this,e,t,r)}function mot(e,t,r){Uu(),Tfe.call(this,e,t,r)}function wot(e,t,r){Uu(),Afe.call(this,e,t,r)}function Don(e){return sT(),wn((jht(),XDt),e)}function BO(e,t){return kn(e),kn(t),new Aet(e,t)}function _S(e,t){return kn(e),kn(t),new xot(e,t)}function Lon(e,t){return kn(e),kn(t),new kot(e,t)}function Mon(e,t){return kn(e),kn(t),new Det(e,t)}function xfe(e,t){ven.call(this,e,Vj(new Ls(t)))}function yot(e,t){this.c=e,this.b=t,this.a=!1}function kfe(e){this.d=e,QKe(this),this.b=xsn(e.d)}function Nfe(e,t,r){this.c=e,n8.call(this,t,r)}function Pon(e,t,r){wst.call(this,t,r),this.a=e}function vot(){this.a=";,;",this.b="",this.c=""}function Eot(e,t,r){this.b=e,Int.call(this,t,r)}function jon(e,t){t&&(e.b=t,e.a=(u1(t),t.a))}function BV(e){return cn(e.b!=0),Vu(e,e.a.a)}function Fon(e){return cn(e.b!=0),Vu(e,e.c.b)}function $on(e){return!e.c&&(e.c=new NA),e.c}function Sot(e){var t;return t=new tq,_K(t,e),t}function UO(e){var t;return t=new Ar,_K(t,e),t}function QA(e){var t;return t=new je,fK(t,e),t}function Bon(e){var t;return t=new pi,fK(t,e),t}function l(e,t){return T3(e==null||TY(e,t)),e}function X8(e,t){return t&&TP(e,t.d)?t:null}function HO(e,t){if(!e)throw Y(new jt(t))}function Cfe(e,t){if(!e)throw Y(new _Qe(t))}function xS(e,t){if(!e)throw Y(new ts(t))}function Uon(e,t){return Y9(),na(e.d.p,t.d.p)}function Hon(e,t){return dp(),vr(e.e.b,t.e.b)}function zon(e,t){return dp(),vr(e.e.a,t.e.a)}function Gon(e,t){return na(Pot(e.d),Pot(t.d))}function qon(e,t){return t==(He(),Wt)?e.c:e.d}function Von(e){return new Me(e.c+e.b,e.d+e.a)}function Ife(e){var t,r;r=e.d,t=e.a,e.d=t,e.a=r}function Rfe(e){var t,r;t=e.b,r=e.c,e.b=r,e.c=t}function lh(e,t,r,o,a){e.b=t,e.c=r,e.d=o,e.a=a}function Ofe(e,t,r,o,a){e.d=t,e.c=r,e.a=o,e.b=a}function Tot(e,t,r,o,a){e.c=t,e.d=r,e.b=o,e.a=a}function Z8(e,t){return qfn(e),e.a*=t,e.b*=t,e}function Dfe(e,t){return t<0?e.g=-1:e.g=t,e}function zO(e,t,r){tde.call(this,e,t),this.c=r}function Lfe(e,t,r){qA.call(this,e,t),this.b=r}function Mfe(e){gfe(),v9.call(this),this._h(e)}function Q8(e,t,r){tde.call(this,e,t),this.c=r}function Aot(e,t,r){this.a=e,eE.call(this,t,r)}function _ot(e,t,r){this.a=e,eE.call(this,t,r)}function UV(e){this.b=e,this.a=Cb(this.b.a).Md()}function xot(e,t){this.b=e,this.a=t,FG.call(this)}function kot(e,t){this.a=e,this.b=t,FG.call(this)}function Not(e){Mde.call(this,e.length,0),this.a=e}function Pfe(e,t,r){Eme(r,0,e,t,r.length,!1)}function e_(e,t,r){var o;o=new ty(r),Kl(e,t,o)}function Won(e,t){var r;return r=e.c,uge(e,t),r}function Kon(e,t){return(bgt(e)<<4|bgt(t))&Ti}function Cot(e){return e!=null&&!cY(e,O4,D4)}function GO(e){return e==0||isNaN(e)?e:e<0?-1:1}function jfe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Gn(e,t){return Wr(e,t,e.c.b,e.c),!0}function eP(e){var t;return t=e.slice(),sK(t,e)}function tP(e){var t;return t=e.n,e.a.b+t.d+t.a}function Iot(e){var t;return t=e.n,e.e.b+t.d+t.a}function Ffe(e){var t;return t=e.n,e.e.a+t.b+t.c}function Rot(e){return hr(),new dh(0,e)}function Oot(){Oot=K,zre=(At(),new WG(xQ))}function nP(){nP=K,new K1e((cq(),FQ),(aq(),jQ))}function Dot(){h_(),san.call(this,(r1(),Ll))}function Lot(e,t){wst.call(this,t,1040),this.a=e}function a0(e,t){return mC(e,new qA(t.a,t.b))}function Yon(e){return!fo(e)&&e.c.i.c==e.d.i.c}function Jon(e,t){return e.c<t.c?-1:e.c==t.c?0:1}function Mot(e){return e.b.c.length-e.e.c.length}function Pot(e){return e.e.c.length-e.g.c.length}function HV(e){return e.e.c.length+e.g.c.length}function jot(e){return US(),we(PB,M7,41,e,0,1)}function Fot(){Fot=K,r2e=we(_i,Pe,15,256,0,1)}function $ot(){this.b=ce(le(Ge((ed(),uee))))}function Xon(e){return gu(),(He(),Wa).Gc(e.j)}function Zon(e,t,r){return dp(),r.e.a+r.f.a+e*t}function Qon(e,t,r){return dp(),r.e.b+r.f.b+e*t}function esn(e,t,r){return Jn(e.b,l(r.b,17),t)}function tsn(e,t,r){return Jn(e.b,l(r.b,17),t)}function nsn(e,t){return Fe(e,new Me(t.a,t.b))}function rsn(e,t){lge(e,t==null?null:(Mt(t),t))}function isn(e,t){fge(e,t==null?null:(Mt(t),t))}function osn(e,t){fge(e,t==null?null:(Mt(t),t))}function $fe(e,t,r,o){B1e.call(this,e,t,r,o,0,0)}function rP(e,t){xO.call(this,e,t),this.a=this}function Bot(e){gfe(),Mfe.call(this,e),this.a=-1}function Uot(){sV.call(this,"COUNT_CHILDREN",0)}function Bfe(e){this.c=e,this.b=this.c.d.vc().Jc()}function Hot(e){return e.e.Pd().gc()*e.c.Pd().gc()}function zV(e,t,r){return new Jit(lan(e).Ze(),r,t)}function $n(e,t,r){return e.a=-1,Pde(e,t.g,r),e}function Ufe(e,t,r){var o;return o=e[t],e[t]=r,o}function Hr(e,t){var r;return r=fW(e,t),r.i=2,r}function iP(e,t){var r;return++e.j,r=e.Aj(t),r}function ssn(e){return e.a?e.a:EW(e)}function T3(e){if(!e)throw Y(new MA(null))}function Hfe(e){if(e.c.e!=e.a)throw Y(new $u)}function zfe(e){if(e.e.c!=e.b)throw Y(new $u)}function oP(e){for(kn(e);e.Ob();)e.Pb(),e.Qb()}function asn(e){e.a.jd(),l(e.a.kd(),18).gc(),Zue()}function sP(){sP=K,UQ=new PW((At(),At(),Ro))}function GV(){GV=K,VEe=new Ale((At(),At(),p$))}function zot(){zot=K,e2e=we(ET,Pe,224,256,0,1)}function Got(){Got=K,n2e=we(mI,Pe,183,128,0,1)}function qot(){qot=K,i2e=we(Y0,Pe,192,256,0,1)}function Vot(){Vot=K,a2e=we(J0,Pe,193,256,0,1)}function Gfe(){lh(this,!1,!1,!1,!1)}function qfe(e){fue.call(this,new f1),wo(this,e)}function Jw(e){this.a=new dS(e.gc()),wo(this,e)}function Wot(e){this.c=e,this.a=new fS(this.c.a)}function vt(e,t){_b(),tK.call(this,e),this.a=t}function ze(e,t){return at(t,e.c.length),e.c[t]}function Kot(e,t){return at(t,e.a.length),e.a[t]}function Yot(e,t){return e.a+=Mf(t,0,t.length),e}function csn(e,t){return e.a==null&&pyt(e),e.a[t]}function usn(e,t,r){return na(t.d[e.g],r.d[e.g])}function lsn(e,t,r){return na(e.d[t.p],e.d[r.p])}function dsn(e,t,r){return na(e.d[t.p],e.d[r.p])}function fsn(e,t,r){return na(e.d[t.p],e.d[r.p])}function hsn(e,t,r){return na(e.d[t.p],e.d[r.p])}function psn(e,t){return Mt(e),E6(e,(Mt(t),t))}function gsn(e,t){return Mt(t),E6(t,(Mt(e),e))}function Jot(e){return e.q?e.q:(At(),At(),xh)}function Xot(e){return e.c-l(ze(e.a,e.b),296).b}function Zot(e,t){return e?0:b.Math.max(0,t-1)}function aP(e,t,r){return b.Math.min(r/e,1/t)}function Xw(e,t,r,o,a,u){return Dbt(e,t,r,o,a,0,u)}function cP(e,t,r,o){Ofe(this,e,t,r,o)}function bsn(e,t){var r;for(r=0;r<t;++r)e[r]=-1}function Qot(e){var t;return t=Lbt(e),t?Qot(t):e}function eu(e){return e.c?e.c.f:e.e.b}function hc(e){return e.c?e.c.g:e.e.a}function uP(e){w0.call(this,e.gc()),ti(this,e)}function est(){mn.call(this,"SIMPLE_X_PLACING",0)}function tst(){mn.call(this,"SIMPLE_Y_PLACING",0)}function nst(e){this.a=e,this.c=new hn,vpn(this)}function rst(e){this.b=new Ar,this.a=e,this.c=-1}function dh(e,t){hr(),Km.call(this,e),this.a=t}function lP(e,t){Uu(),N9.call(this,t),this.a=e}function A3(e,t,r){this.a=e,Ei.call(this,t,r,2)}function Nb(e,t,r){oy(t,e.c.length),t3(e.c,t,r)}function msn(e,t){return!e&&(e=[]),e[e.length]=t,e}function qV(e,t,r){$pt(0,t,e.length),g_(e,0,t,r)}function ist(e,t,r){var o;for(o=0;o<t;++o)e[o]=r}function xr(e,t){var r;return r=lt(e),Bge(r,t),r}function VV(e,t){return se(t,23)&&fc(e,l(t,23))}function ost(e,t){return se(t,23)&&Bfn(e,l(t,23))}function ns(e,t){return Wpt(e,t,adn(e,e.b.Ae(t)))}function wsn(e,t){return e.a.get(t)!==void 0}function WV(e,t){return e==null?t==null:wt(e,t)}function ysn(e,t){return e==null?t==null:tF(e,t)}function dP(e,t){return hr(),new che(e,t)}function On(e){return gs(e)?e|0:aet(e)}function KV(){KV=K,BDt=new Mi((_n(),zc),0)}function sst(){sst=K,V_t=new Not(we(Ri,It,1,0,5,1))}function ast(){this.b=new pG,this.c=new qat(this)}function Vfe(){this.d=new Kh,this.e=new Gat(this)}function YV(e,t){this.b=new Ar,this.a=e,this.c=t}function Wfe(){Hhe(),this.g=new Ar,this.f=new Ar}function vsn(e,t){JV(e,Di(new Me(t.a,t.b),e.c))}function JV(e,t){mr(e.c,t),e.b.c+=t.a,e.b.d+=t.b}function fP(e){e.b?fP(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function Kfe(e){return Array.isArray(e)&&e.Rm===fe}function XV(e){return Bc(e,26)*UC+Bc(e,27)*HC}function Esn(e,t,r){return gi(e,new hS(t.a,r.a))}function Ssn(e,t,r){return-na(e.f[t.p],e.f[r.p])}function hP(e,t,r){var o;e&&(o=e.i,o.c=t,o.b=r)}function pP(e,t,r){var o;e&&(o=e.i,o.d=t,o.a=r)}function Ra(e,t,r){return e.a=-1,Pde(e,t.g+1,r),e}function Yfe(e,t,r){return r=Su(e,l(t,52),7,r),r}function Jfe(e,t,r){return r=Su(e,l(t,52),3,r),r}function Tsn(e,t,r){Z0t(r,e,1),Fe(t,new Ett(r,e))}function Asn(e,t,r){bC(r,e,1),Fe(t,new ktt(r,e))}function cst(e,t,r){this.a=e,j8.call(this,t,r,22)}function ust(e,t,r){this.a=e,j8.call(this,t,r,14)}function lst(e,t,r,o){Uu(),tut.call(this,e,t,r,o)}function dst(e,t,r,o){Uu(),tut.call(this,e,t,r,o)}function _sn(e,t){t.Bb&Ws&&!e.a.o&&(e.a.o=t)}function fst(e){return e!=null&&rW(e)&&e.Rm!==fe}function Xfe(e){return!Array.isArray(e)&&e.Rm===fe}function xsn(e){return se(e,16)?l(e,16).cd():e.Jc()}function Zfe(e){return e.Oc(we(Ri,It,1,e.gc(),5,1))}function _3(e,t){return W1n(h6(e,t))?t.wi():null}function Cb(e){return e.c?e.c:e.c=e.Qd()}function ZV(e){return e.d?e.d:e.d=e.Rd()}function kS(e){var t;return t=e.i,t||(e.i=e.bc())}function hst(e){var t;return t=e.f,t||(e.f=e.Cc())}function pst(e){return hr(),new NW(10,e,0)}function Ib(e){i1(),this.a=0,this.b=e-1,this.c=1}function gst(e){M8(this),this.g=e,kP(this),this.he()}function bst(){gu(),this.k=new hn,this.d=new pi}function Qfe(e,t,r,o){this.a=e,tj.call(this,e,t,r,o)}function Ft(e){this.a=(sst(),V_t),this.d=l(kn(e),51)}function gP(e){if(e.e.j!=e.d)throw Y(new $u)}function x3(e){return gs(e)?""+e:oyt(e)}function fh(e,t){return g1(mmt(gs(e)?vl(e):e,t))}function c0(e,t){return g1(Ime(gs(e)?vl(e):e,t))}function Rb(e,t){return g1(jyn(gs(e)?vl(e):e,t))}function ksn(e,t){return kb((Mt(e),e),(Mt(t),t))}function QV(e,t){return vr((Mt(e),e),(Mt(t),t))}function mst(e,t){return kn(t),e.a.Hd(t)&&!e.b.Hd(t)}function Nsn(e,t){return Ua(e.l&t.l,e.m&t.m,e.h&t.h)}function Csn(e,t){return Ua(e.l|t.l,e.m|t.m,e.h|t.h)}function Isn(e,t){return Ua(e.l^t.l,e.m^t.m,e.h^t.h)}function Zw(e,t){return L6(e,(Mt(t),new sYe(t)))}function NS(e,t){return L6(e,(Mt(t),new aYe(t)))}function Rsn(e,t,r){e.a.Mb(r)&&(e.b=!0,t.Ad(r))}function ehe(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function t_(e,t){if(e<0||e>=t)throw Y(new _Ze)}function Zs(e){e.f=new qnt(e),e.i=new Vnt(e),++e.g}function bP(e){this.b=new Da(11),this.a=(h0(),e)}function eW(e){this.b=null,this.a=(h0(),e||g2e)}function the(e,t){this.e=e,this.d=t&64?t|$f:t}function wst(e,t){this.c=0,this.d=e,this.b=t|64|$f}function yst(e){this.a=R1t(e.a),this.b=new Tc(e.b)}function ig(e,t,r,o){var a;a=e.i,a.i=t,a.a=r,a.b=o}function nhe(e){var t;for(t=e;t.f;)t=t.f;return t}function Osn(e){return e.e?Ape(e.e):null}function Dsn(e,t){return zS(),vr(t.a.o.a,e.a.o.a)}function vst(e,t,r){return Z_(),IK(e,t)&&IK(e,r)}function k3(e){return xc(),!e.Gc(Rp)&&!e.Gc(Y1)}function Est(e,t,r){return e2t(e,l(t,12),l(r,12))}function Sst(e){return bc(),l(e,12).g.c.length!=0}function Tst(e){return bc(),l(e,12).e.c.length!=0}function mP(e){return new Me(e.c+e.b/2,e.d+e.a/2)}function tW(e,t){return t.Sh()?y1(e.b,l(t,52)):t}function Lsn(e,t,r){t.of(r,ce(le(Ut(e.b,r)))*e.a)}function Msn(e,t){t.Tg("General 'Rotator",1),pNn(e)}function Pi(e,t,r,o,a){rK.call(this,e,t,r,o,a,-1)}function N3(e,t,r,o,a){a6.call(this,e,t,r,o,a,-1)}function ke(e,t,r,o){Ei.call(this,e,t,r),this.b=o}function wP(e,t,r,o){zO.call(this,e,t,r),this.b=o}function Ast(e){vnt.call(this,e,!1),this.a=!1}function _st(){sV.call(this,"LOOKAHEAD_LAYOUT",1)}function xst(){sV.call(this,"LAYOUT_NEXT_LEVEL",3)}function kst(){mn.call(this,"ABSOLUTE_XPLACING",0)}function Nst(e){this.b=e,SS.call(this,e),Rrt(this)}function Cst(e){this.b=e,IO.call(this,e),Ort(this)}function Ist(e,t){this.b=e,NKe.call(this,e.b),this.a=t}function Qw(e,t,r){this.a=e,TS.call(this,t,r,5,6)}function rhe(e,t,r,o){this.b=e,Ei.call(this,t,r,o)}function Ob(e,t,r){jf(),this.e=e,this.d=t,this.a=r}function so(e,t){for(Mt(t);e.Ob();)t.Ad(e.Pb())}function yP(e,t){return hr(),new mhe(e,t,0)}function nW(e,t){return hr(),new mhe(6,e,t)}function Psn(e,t){return wt(e.substr(0,t.length),t)}function ma(e,t){return zi(t)?_W(e,t):!!ns(e.f,t)}function jsn(e){return Ua(~e.l&Hc,~e.m&Hc,~e.h&Ep)}function rW(e){return typeof e===pD||typeof e===XJ}function hh(e){return new Ft(new xde(e.a.length,e.a))}function iW(e){return new vt(null,qsn(e,e.length))}function Rst(e){if(!e)throw Y(new vs);return e.d}function CS(e){var t;return t=Q3(e),cn(t!=null),t}function Fsn(e){var t;return t=Ogn(e),cn(t!=null),t}function n_(e,t){var r;return r=e.a.gc(),Spe(t,r),r-t}function gi(e,t){var r;return r=e.a.yc(t,e),r==null}function qO(e,t){return e.a.yc(t,(Lt(),L1))==null}function $sn(e,t){return e>0?b.Math.log(e/t):-100}function ihe(e,t){return t?wo(e,t):!1}function IS(e,t,r){return Jl(e.a,t),Ufe(e.b,t.g,r)}function Bsn(e,t,r){t_(r,e.a.c.length),nu(e.a,r,t)}function be(e,t,r,o){$pt(t,r,e.length),Usn(e,t,r,o)}function Usn(e,t,r,o){var a;for(a=t;a<r;++a)e[a]=o}function ohe(e,t){var r;for(r=0;r<t;++r)e[r]=!1}function she(e,t){if(e==null)throw Y(new cS(t))}function VO(e,t){prt(e,se(t,164)?t:l(t,2015).Pl())}function Hsn(e,t,r){yNn(e.a,e.b,e.d,e.c,l(t,171),r)}function pu(e,t,r){return Wpn(e,t.g,r),Jl(e.c,t),e}function zsn(e){return OE(e,(Si(),cs)),e.d=!0,e}function oW(e){return!e.j&&tQt(e,lAn(e.g,e.b)),e.j}function Gsn(e,t,r){var o;return o=uy(e,t),UW(e,t,r),o}function ahe(e,t,r){this.c=e,this.a=t,At(),this.b=r}function sW(e,t){this.d=e,tn.call(this,e),this.e=t}function che(e,t){Km.call(this,1),this.a=e,this.b=t}function C3(e){Gw(e.b!=-1),sg(e.c,e.a=e.b),e.b=-1}function Ost(e){e.a=null,e.e=null,Zs(e.b),e.d=0,++e.c}function I3(e){return e.e==0?e:new Ob(-e.e,e.d,e.a)}function qsn(e,t){return Pfn(t,e.length),new Lot(e,t)}function Dst(e,t){return Ea(e,t)<0?-1:Ea(e,t)>0?1:0}function Vsn(e,t){return vr(e.c.c+e.c.b,t.c.c+t.c.b)}function vP(e,t){Wr(e.d,t,e.b.b,e.b),++e.a,e.c=null}function Lst(e,t){return e.c?Lst(e.c,t):Fe(e.b,t),e}function u0(e,t){ei(Oa(e.Mc(),new WBe),new hJe(t))}function r_(e,t,r,o,a){KY(e,l(yr(t.k,r),16),r,o,a)}function Mst(e,t,r,o,a){for(;t<r;)o[a++]=uo(e,t++)}function Pst(e,t,r){var o;for(o=0;o<t;++o)ii(e,o,r)}function EP(e){e.s=NaN,e.c=NaN,U0t(e,e.e),U0t(e,e.j)}function aW(e){return b.Math.abs(e.d.e-e.e.e)-e.a}function Wsn(e,t){return vr(e.e.a+e.f.a,t.e.a+t.f.a)}function Ksn(e,t){return vr(e.e.b+e.f.b,t.e.b+t.f.b)}function cW(e,t){this.d=Dgn(e),this.c=t,this.a=.5*t}function ey(e){this.d=(Mt(e),e),this.a=0,this.c=wD}function jst(e){Lhe.call(this),this.a=e,Fe(e.a,this)}function uhe(e){e?Pbe(e,(eg(),oxt)):Icn((eg(),e))}function Ysn(e,t){RS(e,new ty(t.f!=null?t.f:""+t.g))}function Jsn(e,t){RS(e,new ty(t.f!=null?t.f:""+t.g))}function ti(e,t){return e.Qi()&&(t=gct(e,t)),e.Di(t)}function uW(e,t){return t=e.Wk(null,t),Xbt(e,null,t)}function Fst(e,t,r){return hr(),new Fct(e,t,r)}function Xsn(e,t,r){return l(e.c.fd(t,l(r,138)),45)}function Zsn(){return P9(),Z(X(W_t,1),Ce,541,0,[BQ])}function Qsn(e){return e==Kr?JD:e==Li?"-INF":""+e}function ean(e){return e==Kr?JD:e==Li?"-INF":""+e}function ln(e){return(e.i==null&&Ff(e),e.i).length}function c1(){c1=K,Bt=Wvn(),_t(),vv&&o0n()}function $st(){$st=K,Q_t=new eue(!1),ext=new eue(!0)}function R3(e){var t;return t=e.g,t||(e.g=new Xce(e))}function SP(e){var t;return t=e.k,t||(e.k=new Zce(e))}function lhe(e){var t;return t=e.k,t||(e.k=new Zce(e))}function tan(e){var t;return t=e.i,t||(e.i=new AKe(e))}function lW(e){var t;return t=e.j,t||(e.j=new qKe(e))}function Bst(e){var t;return t=e.f,t||(e.f=new Sde(e))}function dW(e){var t;return t=e.d,t||(e.d=new zG(e))}function dhe(e){return se(e,613)?e:new ict(e)}function Ust(e,t){return t6(t,e.c.b.c.gc()),new Tet(e,t)}function fhe(e,t){var r;return r=e.a.gc(),t6(t,r),r-1-t}function k(e,t,r){var o;return o=fW(e,t),Yft(r,o),o}function fW(e,t){var r;return r=new Pge,r.j=e,r.d=t,r}function i_(e,t){return e.a+=String.fromCharCode(t),e}function Db(e,t){return e.a+=String.fromCharCode(t),e}function kn(e){if(e==null)throw Y(new rS);return e}function ty(e){if(e==null)throw Y(new rS);this.a=e}function Hst(e){Rue(),this.b=new je,this.a=e,mkn(this,e)}function hhe(e){this.b=e,this.a=l(wl(this.b.a.e),229)}function phe(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function zst(e){this.b=new je,this.a=new je,this.c=e}function ra(e){this.c=new ro,this.a=new je,this.b=e}function Gst(){f1.call(this),this.a=!0,this.b=!0}function ghe(e,t){return Jt(t,e.length+1),e.substr(t)}function ii(e,t,r){return Enn(r==null||KAn(e,r)),e[t]=r}function hW(e,t,r){var o;return o=TK(e,t,r),a0e(e,o)}function qst(e,t){var r;r=console[e],r.call(console,t)}function Ut(e,t){return zi(t)?wa(e,t):Ss(ns(e.f,t))}function Vst(e,t){return l(Cb(e.a).Kd().Xb(t),45).jd()}function nan(e,t){return l(F(t,(Ue(),Xy)),15).a<e}function ran(e,t){return zS(),l(Ko(e,t.d),16).Ec(t)}function ian(e,t,r,o){return r==0||(r-o)/r<e.e||t>=e.g}function O3(e){return b.Math.sqrt(e.a*e.a+e.b*e.b)}function Wst(e){return se(e,104)&&(l(e,20).Bb&Ws)!=0}function l0(e){return!e.d&&(e.d=new Ei(qo,e,1)),e.d}function oan(e){return!e.a&&(e.a=new Ei(J1,e,4)),e.a}function Kst(e){this.c=e,this.a=new Ar,this.b=new Ar}function san(e){this.a=(Mt(Bn),Bn),this.b=e,new Uue}function Yst(e,t,r){this.a=e,tpe.call(this,8,t,null,r)}function bhe(e,t,r){this.a=e,xue.call(this,t),this.b=r}function mhe(e,t,r){Km.call(this,e),this.a=t,this.b=r}function whe(e,t,r){N9.call(this,t),this.a=e,this.b=r}function aan(e,t,r){l(t.b,68),La(t.a,new vfe(e,r,t))}function pW(e,t){for(Mt(t);e.c<e.d;)e.Qe(t,e.c++)}function can(e,t){++e.j,WY(e,e.i,t),Kvn(e,l(t,345))}function Jst(e,t){var r;++e.j,r=e.Cj(),e.pj(e.Xi(r,t))}function RS(e,t){var r;r=e.a.length,uy(e,r),UW(e,r,t)}function d0(e,t){return t_(t,e.a.c.length),ze(e.a,t)}function TP(e,t){return BY(e.c,e.f,t,e.b,e.a,e.e,e.d)}function rp(e,t){return me(e)===me(t)||e!=null&&gr(e,t)}function Xst(e){return wl(e),se(e,475)?l(e,475):ms(e)}function Zst(e){return e?e.dc():!e.Jc().Ob()}function uan(e){return Sv?_W(Sv,e):!1}function lan(e){return 0>=e?new ble:dhn(e-1)}function wl(e){if(e==null)throw Y(new rS);return e}function Mt(e){if(e==null)throw Y(new rS);return e}function ji(e){return!e.a&&e.c?e.c.b:e.a}function Qst(e){var t,r;return t=e.c.i.c,r=e.d.i.c,t==r}function dan(e,t){return na(t.j.c.length,e.j.c.length)}function eat(e){_he(e.a),e.b=we(Ri,It,1,e.b.length,5,1)}function D3(e){e.c?e.c.Ye():(e.d=!0,nSn(e))}function u1(e){e.c?u1(e.c):(v1(e),e.d=!0)}function Mc(e){Gw(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function tat(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function nat(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function ci(){sQe.call(this),jw(this.j.c,0),this.a=-1}function rat(){mn.call(this,"DELAUNAY_TRIANGULATION",0)}function yhe(e){for(;e.a.b!=0;)Zkn(e,l(tct(e.a),9))}function fan(e,t){Tn((!e.a&&(e.a=new MO(e,e)),e.a),t)}function vhe(e,t){e.c<0||e.b.b<e.c?So(e.b,t):e.a.vf(t)}function han(e,t){var r;r=e.Fh(t),r>=0?e.hi(r):fme(e,t)}function iat(e,t){this.b=e,sW.call(this,e,t),Rrt(this)}function oat(e,t){this.b=e,hfe.call(this,e,t),Ort(this)}function sat(){zbe.call(this,_l,($A(),R3e)),lxn(this)}function Ehe(e){return!e.b&&(e.b=new C9(new sq)),e.b}function pan(e){if(e.p!=3)throw Y(new lc);return e.e}function gan(e){if(e.p!=4)throw Y(new lc);return e.e}function ban(e){if(e.p!=4)throw Y(new lc);return e.j}function man(e){if(e.p!=3)throw Y(new lc);return e.j}function wan(e){if(e.p!=6)throw Y(new lc);return e.f}function yan(e){if(e.p!=6)throw Y(new lc);return e.k}function f0(e){return e.c==-2&&VZt(e,qwn(e.g,e.b)),e.c}function o_(e,t){var r;return r=fW("",e),r.n=t,r.i=1,r}function ph(e,t){for(;t-- >0;)e=e<<1|(e<0?1:0);return e}function van(e,t){JV(l(t.b,68),e),La(t.a,new wue(e))}function aat(e,t){return nP(),new K1e(new Lrt(e),new Drt(t))}function Ean(e,t,r){return qS(),r.Kg(e,l(t.jd(),149))}function San(e){return wu(e,tX),dj(_o(_o(5,e),e/10|0))}function She(e){return At(),e?e.Me():(h0(),h0(),b2e)}function Jn(e,t,r){return zi(t)?rs(e,t,r):ec(e.f,t,r)}function Tan(e){return String.fromCharCode.apply(null,e)}function cat(e){return!e.d&&(e.d=new CA(e.c.Bc())),e.d}function s_(e){return!e.a&&(e.a=new CQe(e.c.vc())),e.a}function uat(e){return!e.b&&(e.b=new PA(e.c.ec())),e.b}function lat(e,t){Gtn.call(this,fhn(kn(e),kn(t))),this.a=t}function The(e,t,r,o){t0.call(this,e,t),this.d=r,this.a=o}function AP(e,t,r,o){t0.call(this,e,r),this.a=t,this.f=o}function L3(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function dat(){zbe.call(this,lm,(KQe(),_Lt)),tkn(this)}function fat(){Es.call(this,"There is no more element.")}function uo(e,t){return Jt(t,e.length),e.charCodeAt(t)}function hat(e,t){e.u.Gc((xc(),Rp))&&Hvn(e,t),Rdn(e,t)}function ia(e,t){return me(e)===me(t)||e!=null&&gr(e,t)}function Ko(e,t){return VV(e.a,t)?e.b[l(t,23).g]:null}function pat(e,t){var r;return r=new ra(e),Rt(t.c,r),r}function M3(e){return e.j.c.length=0,_he(e.c),orn(e.a),e}function Aan(e){return!e.b&&(e.b=new Tt(pn,e,4,7)),e.b}function a_(e){return!e.c&&(e.c=new Tt(pn,e,5,8)),e.c}function Ahe(e){return!e.c&&(e.c=new ke(Gc,e,9,9)),e.c}function gW(e){return!e.n&&(e.n=new ke(Rs,e,1,7)),e.n}function rr(e,t,r,o){return Oht(e,t,r,!1),zj(e,o),e}function gat(e,t){iY(e,ce(fp(t,"x")),ce(fp(t,"y")))}function bat(e,t){iY(e,ce(fp(t,"x")),ce(fp(t,"y")))}function _an(){return Z9(),Z(X(w6t,1),Ce,557,0,[nre])}function xan(){return Q9(),Z(X(v6t,1),Ce,558,0,[rre])}function kan(){return e8(),Z(X(S6t,1),Ce,559,0,[ire])}function Nan(){return X9(),Z(X(UOt,1),Ce,550,0,[Une])}function Can(){return J9(),Z(X(lke,1),Ce,480,0,[Bne])}function Ian(){return JN(),Z(X(Rke,1),Ce,531,0,[ML])}function bW(){bW=K,J_t=new Tle(Z(X(dm,1),n7,45,0,[]))}function Ran(e,t){return new Bat(l(kn(e),50),l(kn(t),50))}function Oan(e){return e!=null&&VN(SU,e.toLowerCase())}function c_(e){return e.e==jx&&ZZt(e,X1n(e.g,e.b)),e.e}function WO(e){return e.f==jx&&eQt(e,Wmn(e.g,e.b)),e.f}function uE(e){var t;return t=e.b,!t&&(e.b=t=new TKe(e)),t}function _he(e){var t;for(t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function Dan(e,t,r){var o;o=l(e.d.Kb(r),163),o&&o.Nb(t)}function Lan(e,t){return vr(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function Man(e,t){return vr(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function Pan(e,t){return yle(),vr((Mt(e),e),(Mt(t),t))}function Oa(e,t){return v1(e),new vt(e,new Tpe(t,e.a))}function dr(e,t){return v1(e),new vt(e,new Ppe(t,e.a))}function ny(e,t){return v1(e),new qde(e,new klt(t,e.a))}function _P(e,t){return v1(e),new Vde(e,new Nlt(t,e.a))}function xhe(e,t){this.b=e,this.c=t,this.a=new fS(this.b)}function mW(e,t,r,o){this.a=e,this.e=t,this.d=r,this.c=o}function wW(e,t,r){this.a=uwe,this.d=e,this.b=t,this.c=r}function xP(e,t,r,o){this.a=e,this.c=t,this.b=r,this.d=o}function khe(e,t,r,o){this.c=e,this.b=t,this.a=r,this.d=o}function mat(e,t,r,o){this.c=e,this.b=t,this.d=r,this.a=o}function wat(e,t,r,o){this.a=e,this.d=t,this.c=r,this.b=o}function ql(e,t,r,o){this.c=e,this.d=t,this.b=r,this.a=o}function OS(e,t,r,o){mn.call(this,e,t),this.a=r,this.b=o}function yat(e,t,r,o){Tpt.call(this,e,r,o,!1),this.f=t}function vat(e,t){this.d=(Mt(e),e),this.a=16449,this.c=t}function Eat(e){this.a=new je,this.e=we(Rn,Pe,54,e,0,2)}function jan(e){e.Tg("No crossing minimization",1),e.Ug()}function ip(e){var t,r;return r=(t=new Ym,t),w_(r,e),r}function yW(e){var t,r;return r=(t=new Ym,t),Vbe(r,e),r}function vW(e,t,r){var o,a;return o=J0e(e),a=t.qi(r,o),a}function EW(e){var t;return t=phn(e),t||null}function Sat(e){return!e.b&&(e.b=new ke(Ir,e,12,3)),e.b}function u_(e){if($c(e.d),e.d.d!=e.c)throw Y(new $u)}function Tat(e,t,r,o){this.a=e,this.c=t,this.d=r,this.b=o}function Aat(e,t,r,o){this.a=e,this.b=t,this.d=r,this.c=o}function _at(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function xat(e,t,r,o){this.a=e,this.b=t,this.c=r,this.d=o}function Lb(e,t,r,o){this.e=e,this.a=t,this.c=r,this.d=o}function kat(e,t,r,o){Uu(),Clt.call(this,t,r,o),this.a=e}function Nat(e,t,r,o){Uu(),Clt.call(this,t,r,o),this.a=e}function Cat(e,t){this.a=e,Gnn.call(this,e,l(e.d,16).dd(t))}function SW(e){this.f=e,this.c=this.f.e,e.f>0&&xbt(this)}function kP(e){return e.n&&(e.e!==p2t&&e.he(),e.j=null),e}function Iat(e){return T3(e==null||rW(e)&&e.Rm!==fe),e}function Fan(e,t,r){return Fe(e.a,(RY(t,r),new t0(t,r))),e}function $an(e,t,r){ixn(e.a,r),lpn(r),xEn(e.b,r),_xn(t,r)}function Ban(e,t){return vr(hc(e)*eu(e),hc(t)*eu(t))}function Uan(e,t){return vr(hc(e)*eu(e),hc(t)*eu(t))}function Han(e){hu();var t;t=l(e.g,9),t.n.a=e.d.c+t.d.b}function tu(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function Nhe(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function Che(e){return cn(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function zan(e){return e.length>0?Wl(e):new je}function Gan(e,t){return l(F(e,(Ie(),RT)),16).Ec(t),t}function qan(e,t){return yt(e,l(F(t,(Ue(),Xy)),15),t)}function Van(e){return R0(e)&&Ye(Ke(ve(e,(Ue(),bm))))}function DS(e){var t;return t=e.f,t||(e.f=new HA(e,e.c))}function Wan(e,t,r){return YN(),i1n(l(Ut(e.e,t),520),r)}function Kan(e,t,r){e.i=0,e.e=0,t!=r&&Apt(e,t,r)}function Yan(e,t,r){e.i=0,e.e=0,t!=r&&_pt(e,t,r)}function Rat(e,t,r,o){this.b=e,this.c=o,R8.call(this,t,r)}function Oat(e,t){this.g=e,this.d=Z(X(Nh,1),vg,9,0,[t])}function Dat(e,t){e.d&&!e.d.a&&(gZe(e.d,t),Dat(e.d,t))}function Lat(e,t){e.e&&!e.e.a&&(gZe(e.e,t),Lat(e.e,t))}function Mat(e,t){return vE(e.j,t.s,t.c)+vE(t.e,e.s,e.c)}function Jan(e){return l(e.jd(),149).Og()+":"+ms(e.kd())}function Xan(e,t){return-vr(hc(e)*eu(e),hc(t)*eu(t))}function Zan(e,t){return ru(e),ru(t),EQe(l(e,23),l(t,23))}function Mb(e,t,r){var o,a;o=RV(r),a=new S9(o),Kl(e,t,a)}function Qan(e){$9(),b.setTimeout(function(){throw e},0)}function Pat(e){this.b=new je,li(this.b,this.b),this.a=e}function jat(e){this.b=new LUe,this.a=e,b.Math.random()}function Ihe(e,t){new Ar,this.a=new Lc,this.b=e,this.c=t}function Fat(e,t,r,o){tde.call(this,t,r),this.b=e,this.a=o}function TW(e,t,r,o,a,u){a6.call(this,e,t,r,o,a,u?-2:-1)}function $at(){eJ(this,new Kce),this.wb=(c1(),Bt),$A()}function Rhe(){Rhe=K,kxt=new wb,Cxt=new Vfe,Nxt=new Wp}function At(){At=K,Ro=new Re,xh=new xe,p$=new Se}function h0(){h0=K,g2e=new ut,YQ=new ut,b2e=new Be}function Sr(e){return!e.q&&(e.q=new ke(Dl,e,11,10)),e.q}function Ne(e){return!e.s&&(e.s=new ke(ac,e,21,17)),e.s}function NP(e){return!e.a&&(e.a=new ke(En,e,10,11)),e.a}function CP(e,t){if(e==null)throw Y(new cS(t));return e}function Bat(e,t){_Qt.call(this,new eW(e)),this.a=e,this.b=t}function Ohe(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function Dhe(e){return e&&e.hashCode?e.hashCode():s0(e)}function ecn(e){return new krt(e,e.e.Pd().gc()*e.c.Pd().gc())}function tcn(e){return new Nrt(e,e.e.Pd().gc()*e.c.Pd().gc())}function AW(e){return se(e,18)?new Jw(l(e,18)):Bon(e.Jc())}function IP(e){return At(),se(e,59)?new mq(e):new B8(e)}function ncn(e){return kn(e),H1t(new Ft(Gt(e.a.Jc(),new D)))}function _W(e,t){return t==null?!!ns(e.f,null):wsn(e.i,t)}function rcn(e,t){var r;return r=yde(e.a,t),r&&(t.d=null),r}function Uat(e,t,r){return e.f?e.f.cf(t,r):!1}function KO(e,t,r,o){ii(e.c[t.g],r.g,o),ii(e.c[r.g],t.g,o)}function xW(e,t,r,o){ii(e.c[t.g],t.g,r),ii(e.b[t.g],t.g,o)}function icn(e,t,r){return ce(le(r.a))<=e&&ce(le(r.b))>=t}function Hat(){this.d=new Ar,this.b=new hn,this.c=new je}function zat(){this.b=new pi,this.d=new Ar,this.e=new L9}function Lhe(){this.c=new ro,this.d=new ro,this.e=new ro}function p0(){this.a=new Lc,this.b=(wu(3,Oy),new Da(3))}function Gat(e){this.c=e,this.b=new Qp(l(kn(new Lw),50))}function qat(e){this.c=e,this.b=new Qp(l(kn(new hG),50))}function Vat(e){this.b=e,this.a=new Qp(l(kn(new pl),50))}function og(e,t){this.e=e,this.a=Ri,this.b=Syt(t),this.c=t}function RP(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function Wat(e,t,r,o,a,u){this.a=e,wK.call(this,t,r,o,a,u)}function Kat(e,t,r,o,a,u){this.a=e,wK.call(this,t,r,o,a,u)}function l1(e,t,r,o,a,u,f){return new GW(e.e,t,r,o,a,u,f)}function ocn(e,t,r){return r>=0&&wt(e.substr(r,t.length),t)}function Yat(e,t){return se(t,149)&&wt(e.b,l(t,149).Og())}function scn(e,t){return e.a?t.Dh().Jc():l(t.Dh(),72).Gi()}function Jat(e,t){var r;return r=e.b.Oc(t),zut(r,e.b.gc()),r}function YO(e,t){if(e==null)throw Y(new cS(t));return e}function ds(e){return e.u||(Pc(e),e.u=new Sit(e,e)),e.u}function l_(){l_=K;var e,t;t=!F1n(),e=new Q,GQ=t?new ne:e}function Ja(e){var t;return t=l(qt(e,16),29),t||e.fi()}function OP(e,t){var r;return r=Ab(e.Pm),t==null?r:r+": "+t}function yl(e,t,r){return io(t,r,e.length),e.substr(t,r-t)}function Xat(e,t){q8.call(this),Wpe(this),this.a=e,this.c=t}function Zat(){sV.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function acn(){return HP(),Z(X(gTe,1),Ce,425,0,[nte,pTe])}function ccn(){return qP(),Z(X(CTe,1),Ce,428,0,[fte,dte])}function ucn(){return g6(),Z(X(b_e,1),Ce,426,0,[Gte,qte])}function lcn(){return nj(),Z(X(zSe,1),Ce,427,0,[HSe,Mee])}function dcn(){return m6(),Z(X(ZSe,1),Ce,424,0,[Y$,XSe])}function fcn(){return l6(),Z(X(tTe,1),Ce,479,0,[eTe,X$])}function hcn(){return zd(),Z(X(L4t,1),Ce,512,0,[Em,cf])}function pcn(){return If(),Z(X(O4t,1),Ce,513,0,[aw,kg])}function gcn(){return vd(),Z(X(Y4t,1),Ce,519,0,[ov,H1])}function bcn(){return H3(),Z(X(_4t,1),Ce,522,0,[QI,ZI])}function mcn(){return g0(),Z(X(nRt,1),Ce,457,0,[z1,u2])}function wcn(){return $P(),Z(X(dxe,1),Ce,430,0,[hne,lxe])}function ycn(){return xj(),Z(X(fxe,1),Ce,490,0,[UB,f2])}function vcn(){return ij(),Z(X(pxe,1),Ce,431,0,[hxe,yne])}function Ecn(){return o6(),Z(X(dke,1),Ce,433,0,[Hne,ZB])}function Scn(){return YP(),Z(X(rke,1),Ce,481,0,[Pne,nke])}function Tcn(){return x6(),Z(X(Dke,1),Ce,432,0,[eU,Oke])}function Acn(){return w6(),Z(X(A6t,1),Ce,498,0,[sre,ore])}function _cn(){return GP(),Z(X(Mke,1),Ce,389,0,[Kne,Lke])}function xcn(){return lj(),Z(X(C2e,1),Ce,429,0,[aee,y$])}function kcn(){return E_(),Z(X(dNt,1),Ce,506,0,[iL,vee])}function DP(e,t,r,o){return r>=0?e.Rh(t,r,o):e.zh(null,r,o)}function JO(e){return e.b.b==0?e.a.uf():BV(e.b)}function Ncn(e){if(e.p!=5)throw Y(new lc);return On(e.f)}function Ccn(e){if(e.p!=5)throw Y(new lc);return On(e.k)}function Mhe(e){return me(e.a)===me((kK(),Bre))&&Yxn(e),e.a}function Icn(e){e&&OP(e,e.ge())}function Qat(e,t){PZt(this,new Me(e.a,e.b)),jZt(this,UO(t))}function g0(){g0=K,z1=new zle(hT,0),u2=new zle(pT,1)}function If(){If=K,aw=new $le(pT,0),kg=new $le(hT,1)}function Rcn(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=aP(e.c,e.b,e.a))}function Ocn(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=aP(e.c,e.b,e.a))}function ect(e){var t;t=e.c.d.b,e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function tct(e){return e.b==0?null:(cn(e.b!=0),Vu(e,e.a.a))}function wa(e,t){return t==null?Ss(ns(e.f,null)):e3(e.i,t)}function nct(e,t,r,o,a){return new nJ(e,(b_(),QQ),t,r,o,a)}function LP(e,t){return qut(t),Qfn(e,we(Rn,Qn,30,t,15,1),t)}function MP(e,t){return CP(e,"set1"),CP(t,"set2"),new $et(e,t)}function Dcn(e,t){var r=zQ[e.charCodeAt(0)];return r??e}function rct(e,t){var r,o;return r=t,o=new Yt,cEt(e,r,o),o.d}function kW(e,t,r,o){var a;a=new Nit,t.a[r.g]=a,IS(e.b,o,a)}function Lcn(e,t){var r;return r=Yfn(e.f,t),mr(z8(r),e.f.d)}function P3(e){var t;ahn(e.a),nrt(e.a),t=new _9(e.a),N1e(t)}function Mcn(e,t){dyt(e,!0),La(e.e.Pf(),new mfe(e,!0,t))}function ict(e){this.a=l(kn(e),279),this.b=(At(),new Rde(e))}function oct(e,t,r){this.i=new je,this.b=e,this.g=t,this.a=r}function PP(e,t,r){this.c=new je,this.e=e,this.f=t,this.b=r}function Phe(e,t,r){this.a=new je,this.e=e,this.f=t,this.c=r}function NW(e,t,r){hr(),Km.call(this,e),this.b=t,this.a=r}function jhe(e,t,r){Uu(),N9.call(this,t),this.a=e,this.b=r}function sct(e){q8.call(this),Wpe(this),this.a=e,this.c=!0}function b0(){xQt.call(this,new dS(py(12))),Tde(!0),this.a=2}function zd(){zd=K,Em=new Ble(DX,0),cf=new Ble("UP",1)}function ry(e){return e.Db>>16!=3?null:l(e.Cb,19)}function Gd(e){return e.Db>>16!=9?null:l(e.Cb,19)}function act(e){return e.Db>>16!=6?null:l(e.Cb,74)}function Pcn(e){if(e.ye())return null;var t=e.n;return c$[t]}function jcn(e){function t(){}return t.prototype=e||{},new t}function cct(e){var t;return t=new H9(py(e.length)),Bge(t,e),t}function XO(e,t){var r;r=e.q.getHours(),e.q.setDate(t),OC(e,r)}function Fhe(e,t,r){var o;o=e.Fh(t),o>=0?e.$h(o,r):Ume(e,t,r)}function lE(e,t,r){jP(),e&&Jn(jre,e,t),e&&Jn(a5,e,r)}function Fcn(e,t){return dp(),l(F(t,(js(),Jf)),15).a==e}function $cn(e,t){return J8(),Lt(),l(t.b,15).a<e}function Bcn(e,t){return J8(),Lt(),l(t.a,15).a<e}function Ucn(e,t){return ept(e,t)?(Qft(e),!0):!1}function op(e,t){if(t==null)throw Y(new rS);return B1n(e,t)}function uct(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function lct(e,t){var r;for(kn(t),r=e.a;r;r=r.c)t.Wd(r.g,r.i)}function dct(e,t){var r;return r=e.Fh(t),r>=0?e.Th(r):cJ(e,t)}function CW(e,t,r){var o;o=vpt(e,t,r),e.b=new Cj(o.c.length)}function fct(e){this.a=e,this.b=we(S4t,Pe,2022,e.e.length,0,2)}function hct(){this.a=new ch,this.e=new pi,this.g=0,this.i=0}function pct(e,t){M8(this),this.f=t,this.g=e,kP(this),this.he()}function IW(e,t){return b.Math.abs(e)<b.Math.abs(t)?e:t}function bo(e){return Math.max(Math.min(e,ar),-2147483648)|0}function Hcn(e){return!e.a&&(e.a=new ke(En,e,10,11)),e.a.i>0}function $he(e){var t;return t=e.d,t=e._i(e.f),Tn(e,t),t.Ob()}function gct(e,t){var r;return r=new qfe(t),tmt(r,e),new Tc(r)}function zcn(e){if(e.p!=0)throw Y(new lc);return f3(e.f,0)}function Gcn(e){if(e.p!=0)throw Y(new lc);return f3(e.k,0)}function bct(e){return e.Db>>16!=7?null:l(e.Cb,244)}function d_(e){return e.Db>>16!=6?null:l(e.Cb,244)}function Bhe(e){return e.Db>>16!=7?null:l(e.Cb,176)}function Br(e){return e.Db>>16!=11?null:l(e.Cb,19)}function iy(e){return e.Db>>16!=17?null:l(e.Cb,29)}function mct(e){return e.Db>>16!=3?null:l(e.Cb,159)}function Uhe(e){var t;return v1(e),t=new pi,dr(e,new hYe(t))}function wct(e,t){var r=e.a=e.a||[];return r[t]||(r[t]=e.te(t))}function qcn(e,t){var r;r=e.q.getHours(),e.q.setMonth(t),OC(e,r)}function mo(e,t){e.c&&Xa(e.c.g,e),e.c=t,e.c&&Fe(e.c.g,e)}function Yi(e,t){e.d&&Xa(e.d.e,e),e.d=t,e.d&&Fe(e.d.e,e)}function Oi(e,t){e.c&&Xa(e.c.a,e),e.c=t,e.c&&Fe(e.c.a,e)}function As(e,t){e.i&&Xa(e.i.j,e),e.i=t,e.i&&Fe(e.i.j,e)}function rs(e,t,r){return t==null?ec(e.f,null,r):_0(e.i,t,r)}function j3(e,t,r,o,a,u){return new up(e.e,t,e.Jj(),r,o,a,u)}function Vcn(e){return WK(),Lt(),l(e.a,84).d.e!=0}function yct(){yct=K,K_t=yn((P9(),Z(X(W_t,1),Ce,541,0,[BQ])))}function vct(){vct=K,r4t=Ra(new ci,(Vi(),zo),(Xi(),xT))}function Ect(){Ect=K,i4t=Ra(new ci,(Vi(),zo),(Xi(),xT))}function Sct(){Sct=K,o4t=Ra(new ci,(Vi(),zo),(Xi(),xT))}function Hhe(){Hhe=K,s4t=Ra(new ci,(Vi(),zo),(Xi(),xT))}function Tct(){Tct=K,c4t=Ra(new ci,(Vi(),zo),(Xi(),xT))}function zhe(){zhe=K,u4t=Ra(new ci,(Vi(),zo),(Xi(),xT))}function Act(){Act=K,k4t=$n(new ci,(Vi(),zo),(Xi(),_I))}function gu(){gu=K,I4t=$n(new ci,(Vi(),zo),(Xi(),_I))}function _ct(){_ct=K,R4t=$n(new ci,(Vi(),zo),(Xi(),_I))}function RW(){RW=K,P4t=$n(new ci,(Vi(),zo),(Xi(),_I))}function xct(){xct=K,RRt=Ra(new ci,(JS(),t4),(IC(),D_e))}function jP(){jP=K,jre=new hn,a5=new hn,Xen(hxt,new iqe)}function kct(e,t,r){this.a=t,this.c=e,this.b=(kn(r),new Tc(r))}function Nct(e,t,r){this.a=t,this.c=e,this.b=(kn(r),new Tc(r))}function Cct(e,t){this.a=e,this.c=Ao(this.a),this.b=new RP(t)}function Pb(e,t,r,o){this.c=e,this.d=o,DW(this,t),LW(this,r)}function LS(e){this.c=new Ar,this.b=e.b,this.d=e.c,this.a=e.a}function OW(e){this.a=b.Math.cos(e),this.b=b.Math.sin(e)}function DW(e,t){e.a&&Xa(e.a.k,e),e.a=t,e.a&&Fe(e.a.k,e)}function LW(e,t){e.b&&Xa(e.b.f,e),e.b=t,e.b&&Fe(e.b.f,e)}function Ict(e,t){aan(e,e.b,e.c),l(e.b.b,68),t&&l(t.b,68).b}function Wcn(e,t){w1e(e,t),se(e.Cb,89)&&Ay(Pc(l(e.Cb,89)),2)}function MW(e,t){se(e.Cb,89)&&Ay(Pc(l(e.Cb,89)),4),Ma(e,t)}function FP(e,t){se(e.Cb,187)&&(l(e.Cb,187).tb=null),Ma(e,t)}function Rct(e,t){var r;return r=l(by(DS(e.a),t),18),r?r.gc():0}function Kcn(e,t){var r,o;r=t.c,o=r!=null,o&&RS(e,new ty(t.c))}function Oct(e){var t,r;return r=($A(),t=new Ym,t),w_(r,e),r}function Dct(e){var t,r;return r=($A(),t=new Ym,t),w_(r,e),r}function Lct(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function ya(e,t){return Mo(),dK(t)?new rP(t,e):new xO(t,e)}function Ycn(e,t){return vr(l(e.c,65).c.e.b,l(t.c,65).c.e.b)}function Jcn(e,t){return vr(l(e.c,65).c.e.a,l(t.c,65).c.e.a)}function Mct(e,t,r){return new nJ(e,(b_(),eee),t,r,null,!1)}function Pct(e,t,r){return new nJ(e,(b_(),ZQ),null,!1,t,r)}function ZO(e){return jf(),Ea(e,0)>=0?E1(e):I3(E1(cg(e)))}function Xcn(){return Yu(),Z(X(rc,1),Ce,132,0,[S2e,nc,T2e])}function Zcn(){return Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])}function Qcn(){return _c(),Z(X(Dxt,1),Ce,464,0,[Wf,M1,nd])}function eun(){return Za(),Z(X(Mxt,1),Ce,465,0,[Nd,P1,rd])}function tun(e,t){Srt(e,On(Gi(c0(t,24),s7)),On(Gi(t,s7)))}function oy(e,t){if(e<0||e>t)throw Y(new Ia(wwe+e+ywe+t))}function at(e,t){if(e<0||e>=t)throw Y(new Ia(wwe+e+ywe+t))}function Jt(e,t){if(e<0||e>=t)throw Y(new Que(wwe+e+ywe+t))}function St(e,t){this.b=(Mt(e),e),this.a=t&Dy?t:t|64|$f}function Rf(e,t,r){hgt(t,r,e.gc()),this.c=e,this.a=t,this.b=r-t}function jct(e,t,r){var o;hgt(t,r,e.c.length),o=r-t,dle(e.c,t,o)}function nun(e,t,r){var o;o=new To(r.d),mr(o,e),iY(t,o.a,o.b)}function Ghe(e){var t;return v1(e),t=(h0(),h0(),YQ),fj(e,t)}function dE(e){return YN(),se(e.g,9)?l(e.g,9):null}function qd(e){return xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a]))}function run(){return G3(),Z(X(G2e,1),Ce,385,0,[dee,lee,fee])}function iun(){return b1(),Z(X(tte,1),Ce,330,0,[lL,hTe,Vy])}function oun(){return lp(),Z(X(XNt,1),Ce,316,0,[dL,QE,kT])}function sun(){return __(),Z(X(ete,1),Ce,303,0,[Zee,Qee,uL])}function aun(){return wj(),Z(X(KSe,1),Ce,351,0,[WSe,K$,Pee])}function cun(){return Vb(),Z(X(HNt,1),Ce,452,0,[Gee,Jx,XE])}function uun(){return Fo(),Z(X(JIt,1),Ce,455,0,[YI,Cc,Ba])}function lun(){return Dj(),Z(X(y_e,1),Ce,382,0,[m_e,Vte,w_e])}function dun(){return nC(),Z(X(v_e,1),Ce,349,0,[Kte,Wte,AL])}function fun(){return R_(),Z(X(S_e,1),Ce,350,0,[Yte,E_e,JI])}function hun(){return rC(),Z(X(s_e,1),Ce,353,0,[jte,o_e,xB])}function pun(){return mj(),Z(X(__e,1),Ce,352,0,[A_e,Jte,T_e])}function gun(){return Lj(),Z(X(x_e,1),Ce,383,0,[Xte,ck,iv])}function bun(){return eC(),Z(X(z_e,1),Ce,386,0,[H_e,ene,kL])}function mun(){return R6(),Z(X(mxe,1),Ce,387,0,[HB,gxe,bxe])}function wun(){return Kj(),Z(X($xe,1),Ce,388,0,[Fxe,One,jxe])}function yun(){return T0(),Z(X(xee,1),Ce,369,0,[Q0,j1,Z0])}function vun(){return Hj(),Z(X(uke,1),Ce,435,0,[ake,cke,Fne])}function Eun(){return oj(),Z(X(ske,1),Ce,434,0,[jne,oke,ike])}function Sun(){return M6(),Z(X($ne,1),Ce,440,0,[YB,JB,XB])}function Tun(){return Qj(),Z(X(Pxe,1),Ce,441,0,[s4,qB,_ne])}function Aun(){return Rj(),Z(X(Mxe,1),Ce,304,0,[Ane,Lxe,Dxe])}function _un(){return V3(),Z(X(t3e,1),Ce,301,0,[YL,Nre,e3e])}function xun(){return Kd(),Z(X(jNe,1),Ce,281,0,[yk,pv,vk])}function kun(){return VS(),Z(X(i3e,1),Ce,283,0,[r3e,bv,bU])}function Nun(){return pp(),Z(X(YNe,1),Ce,348,0,[lU,Ig,T4])}function bu(e){hr(),Km.call(this,e),this.c=!1,this.a=!1}function Fct(e,t,r){Km.call(this,25),this.b=e,this.a=t,this.c=r}function qhe(e,t){AQt.call(this,new dS(py(e))),wu(t,c2t),this.a=t}function Cun(e,t){var r;return r=(Mt(e),e).g,jde(!!r),Mt(t),r(t)}function $ct(e,t){var r,o;return o=n_(e,t),r=e.a.dd(o),new jet(e,r)}function Iun(e,t,r){var o;return o=MC(e,t,!1),o.b<=t&&o.a<=r}function Bct(e,t,r){var o;o=new sHe,o.b=t,o.a=r,++t.b,Fe(e.d,o)}function $P(){$P=K,hne=new Gle("DFS",0),lxe=new Gle("BFS",1)}function Run(e){if(e.p!=2)throw Y(new lc);return On(e.f)&Ti}function Oun(e){if(e.p!=2)throw Y(new lc);return On(e.k)&Ti}function Dun(e){return e.Db>>16!=6?null:l(dJ(e),244)}function q(e){return cn(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function Lun(e){return e.a==(h_(),xU)&&KZt(e,vTn(e.g,e.b)),e.a}function MS(e){return e.d==(h_(),xU)&&JZt(e,w_n(e.g,e.b)),e.d}function PW(e){sP(),this.a=(At(),se(e,59)?new mq(e):new B8(e))}function jb(e){return kn(e),se(e,18)?new Tc(l(e,18)):QA(e.Jc())}function Vhe(e,t){return ost(e.a,t)?Ufe(e.b,l(t,23).g,null):null}function Gi(e,t){return g1(Nsn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function Of(e,t){return g1(Csn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function jW(e,t){return g1(Isn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function Mun(e){return _o(fh(Gs(Bc(e,32)),32),Gs(Bc(e,32)))}function Pun(e){var t;return t=l(eP(e.b),10),new Hu(e.a,t,e.c)}function jun(e,t){var r;r=ce(le(e.a.mf((_n(),sU)))),OEt(e,t,r)}function Fun(e,t){return q3(),e.c==t.c?vr(t.d,e.d):vr(e.c,t.c)}function $un(e,t){return q3(),e.c==t.c?vr(e.d,t.d):vr(e.c,t.c)}function Bun(e,t){return q3(),e.c==t.c?vr(e.d,t.d):vr(t.c,e.c)}function Uun(e,t){return q3(),e.c==t.c?vr(t.d,e.d):vr(t.c,e.c)}function Hun(e,t){e.b=e.b|t.b,e.c=e.c|t.c,e.d=e.d|t.d,e.a=e.a|t.a}function FW(e,t,r){var o;o=e.d[t.p],e.d[t.p]=e.d[r.p],e.d[r.p]=o}function Uct(e,t){var r,o;return r=aK(t),o=r,l(Ut(e.c,o),15).a}function zun(e,t){var r,o;return r=Z1t(e),o=Z1t(t),r<o?-1:r>o?1:0}function Gun(e,t){var r;r=l(Ut(e.g,t),60),La(t.d,new Att(e,r))}function Hct(e,t){var r;for(r=e+"";r.length<t;)r="0"+r;return r}function Fb(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function Whe(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function QO(e){return l(Yd(e,we(Nh,vg,9,e.c.length,0,1)),201)}function Khe(e,t){return e&&e.equals?e.equals(t):me(e)===me(t)}function Yhe(e,t){return t==0?!!e.o&&e.o.f!=0:EY(e,t)}function qun(e){return!!e.u&&oa(e.u.a).i!=0&&!(e.n&&kY(e.n))}function Vun(e,t,r){var o;e.n&&t&&r&&(o=new YGe,Fe(e.e,o))}function $W(e,t){if(gi(e.a,t),t.d)throw Y(new Es(O2t));t.d=e}function Jhe(e,t){this.a=new je,this.d=new je,this.f=e,this.c=t}function zct(){this.c=new drt,this.a=new Dlt,this.b=new LZe,Qet()}function Gct(){qS(),this.b=new hn,this.a=new hn,this.c=new je}function qct(e,t,r){this.d=e,this.j=t,this.e=r,this.o=-1,this.p=3}function Vct(e,t,r){this.d=e,this.k=t,this.f=r,this.o=-1,this.p=5}function Wct(e,t,r,o,a,u){Jpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Kct(e,t,r,o,a,u){Xpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Yct(e,t,r,o,a,u){gpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Jct(e,t,r,o,a,u){ege.call(this,e,t,r,o,a),u&&(this.o=-2)}function Xct(e,t,r,o,a,u){bpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Zct(e,t,r,o,a,u){Zpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function Qct(e,t,r,o,a,u){Qpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function eut(e,t,r,o,a,u){mpe.call(this,e,t,r,o,a),u&&(this.o=-2)}function tut(e,t,r,o){N9.call(this,r),this.b=e,this.c=t,this.d=o}function nut(e,t){this.f=e,this.a=(h_(),_U),this.c=_U,this.b=t}function rut(e,t){this.g=e,this.d=(h_(),xU),this.a=xU,this.b=t}function Xhe(e,t){!e.c&&(e.c=new ni(e,0)),YF(e.c,(Tr(),M4),t)}function Wun(e,t){return JEn(e,t,se(t,104)&&(l(t,20).Bb&Io)!=0)}function Kun(e,t){return Dst(Gs(e.q.getTime()),Gs(t.q.getTime()))}function iut(e){return zV(e.e.Pd().gc()*e.c.Pd().gc(),16,new xKe(e))}function Yun(e){return!!e.a&&Fc(e.a.a).i!=0&&!(e.b&&NY(e.b))}function F3(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function out(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function sut(e){return cn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function aut(e,t){var r;return r=1-t,e.a[r]=_j(e.a[r],r),_j(e,t)}function cut(e,t){var r,o;return o=Gi(e,Bo),r=fh(t,32),Of(r,o)}function Jun(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Gc(r)}function uut(e,t,r){var o;return o=l(e.Zb().xc(t),18),!!o&&o.Kc(r)}function lut(e,t,r){var o;o=(kn(e),new Tc(e)),Lmn(new kct(o,t,r))}function e6(e,t,r){var o;o=(kn(e),new Tc(e)),Mmn(new Nct(o,t,r))}function dut(){dut=K,N_e=aat(Oe(1),Oe(4)),k_e=aat(Oe(1),Oe(2))}function fut(e){xK.call(this,e,(b_(),XQ),null,!1,null,!1)}function hut(e,t){Ob.call(this,1,2,Z(X(Rn,1),Qn,30,15,[e,t]))}function Ji(e,t){this.a=e,LN.call(this,e),oy(t,e.gc()),this.b=t}function put(e,t){var r;e.e=new que,r=xy(t),ki(r,e.c),Qwt(e,r,0)}function Xun(e,t,r){e.a=t,e.c=r,e.b.a.$b(),tu(e.d),jw(e.e.a.c,0)}function zr(e,t,r,o){var a;a=new Hce,a.a=t,a.b=r,a.c=o,Gn(e.a,a)}function Le(e,t,r,o){var a;a=new Hce,a.a=t,a.b=r,a.c=o,Gn(e.b,a)}function gut(e,t,r,o){return e.a+=""+yl(t==null?tc:ms(t),r,o),e}function Ms(e,t,r,o,a,u){return Oht(e,t,r,u),l1e(e,o),d1e(e,a),e}function Zhe(){var e,t,r;return t=(r=(e=new Ym,e),r),Fe(U3e,t),t}function t6(e,t){if(e<0||e>=t)throw Y(new Ia(Evn(e,t)));return e}function but(e,t,r){if(e<0||t<e||t>r)throw Y(new Ia(Hyn(e,t,r)))}function Zun(e){if(!("stack"in e))try{throw e}catch{}return e}function Qun(e){return uE(e).dc()?!1:(Dtn(e,new j),!0)}function $b(e){var t;return gs(e)?(t=e,t==-0?0:t):mfn(e)}function mut(e,t){return se(t,45)?DY(e.a,l(t,45)):!1}function wut(e,t){return se(t,45)?DY(e.a,l(t,45)):!1}function yut(e,t){return se(t,45)?DY(e.a,l(t,45)):!1}function eln(e,t){return US(),l(F(t,(js(),l2)),15).a>=e.gc()}function tln(e){return gu(),!fo(e)&&!(!fo(e)&&e.c.i.c==e.d.i.c)}function Df(e){return l(Yd(e,we(zx,Tx,17,e.c.length,0,1)),324)}function BP(e){return new Da((wu(e,tX),dj(_o(_o(5,e),e/10|0))))}function nln(e,t){return new FV(t,iit(Ao(t.e),e,e),(Lt(),!0))}function rln(e){return zV(e.e.Pd().gc()*e.c.Pd().gc(),273,new _Ke(e))}function vut(e){return l(Yd(e,we(cNt,sSt,12,e.c.length,0,1)),2021)}function Eut(e){this.a=we(Ri,It,1,Fge(b.Math.max(8,e))<<1,5,1)}function Qhe(e){var t;return u1(e),t=new bt,Kv(e.a,new lYe(t)),t}function UP(e){var t;return u1(e),t=new Nt,Kv(e.a,new dYe(t)),t}function iln(e,t){return e.a<=e.b?(t.Bd(e.a++),!0):!1}function oln(e,t,r){e.d&&Xa(e.d.e,e),e.d=t,e.d&&Nb(e.d.e,r,e)}function epe(e,t,r){this.d=new AJe(this),this.e=e,this.i=t,this.f=r}function HP(){HP=K,nte=new Ple(px,0),pTe=new Ple("TOP_LEFT",1)}function Sut(){Sut=K,BOt=yn((J9(),Z(X(lke,1),Ce,480,0,[Bne])))}function Tut(){Tut=K,HOt=yn((X9(),Z(X(UOt,1),Ce,550,0,[Une])))}function Aut(){Aut=K,s6t=yn((JN(),Z(X(Rke,1),Ce,531,0,[ML])))}function _ut(){_ut=K,y6t=yn((Z9(),Z(X(w6t,1),Ce,557,0,[nre])))}function xut(){xut=K,E6t=yn((Q9(),Z(X(v6t,1),Ce,558,0,[rre])))}function kut(){kut=K,T6t=yn((e8(),Z(X(S6t,1),Ce,559,0,[ire])))}function sln(e){Igt((!e.a&&(e.a=new ke(En,e,10,11)),e.a),new Uze)}function $3(e,t){f3n(t,e),Rfe(e.d),Rfe(l(F(e,(Ue(),yB)),216))}function BW(e,t){h3n(t,e),Ife(e.d),Ife(l(F(e,(Ue(),yB)),216))}function m0(e,t){var r,o;return r=op(e,t),o=null,r&&(o=r.ne()),o}function B3(e,t){var r,o;return r=op(e,t),o=null,r&&(o=r.qe()),o}function f_(e,t){var r,o;return r=uy(e,t),o=null,r&&(o=r.qe()),o}function sp(e,t){var r,o;return r=op(e,t),o=null,r&&(o=Qbe(r)),o}function aln(e,t,r){var o;return o=B_(r),zF(e.n,o,t),zF(e.o,t,r),t}function cln(e,t,r){var o;o=ibn();try{return trn(e,t,r)}finally{cdn(o)}}function Nut(e,t,r,o){return se(r,59)?new Vrt(e,t,r,o):new Qfe(e,t,r,o)}function tpe(e,t,r,o){this.d=e,this.n=t,this.g=r,this.o=o,this.p=-1}function Cut(e,t,r,o){this.e=null,this.c=e,this.d=t,this.a=r,this.b=o}function Iut(e){var t;t=e.Dh(),this.a=se(t,72)?l(t,72).Gi():t.Jc()}function uln(e){return new St(Wfn(l(e.a.kd(),18).gc(),e.a.jd()),16)}function sy(e){return se(e,18)?l(e,18).dc():!e.Jc().Ob()}function Rut(e){if(e.e.g!=e.b)throw Y(new $u);return!!e.c&&e.d>0}function Sn(e){return cn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function npe(e,t){Mt(t),ii(e.a,e.c,t),e.c=e.c+1&e.a.length-1,obt(e)}function d1(e,t){Mt(t),e.b=e.b-1&e.a.length-1,ii(e.a,e.b,t),obt(e)}function rpe(e,t){var r;return r=l(Wd(e.b,t),66),!r&&(r=new Ar),r}function lln(e,t){var r;r=t.a,mo(r,t.c.d),Yi(r,t.d.d),fy(r.a,e.n)}function Out(e,t){return l(Xc(Zw(l(yr(e.k,t),16).Mc(),KE)),114)}function Dut(e,t){return l(Xc(NS(l(yr(e.k,t),16).Mc(),KE)),114)}function dln(){return x_(),Z(X(Jkt,1),Ce,413,0,[X0,Uy,By,VE])}function fln(){return A0(),Z(X(skt,1),Ce,414,0,[eL,QD,oee,see])}function hln(){return b_(),Z(X(g$,1),Ce,310,0,[XQ,ZQ,QQ,eee])}function pln(){return YS(),Z(X(K2e,1),Ce,384,0,[TI,W2e,mee,wee])}function gln(){return Pj(),Z(X(gNt,1),Ce,368,0,[Aee,H$,z$,oL])}function bln(){return Xl(),Z(X(xNt,1),Ce,418,0,[Gy,qx,Vx,_ee])}function mln(){return Kb(),Z(X(v4t,1),Ce,409,0,[_L,XI,RB,IB])}function wln(){return vy(),Z(X($te,1),Ce,205,0,[kB,Fte,c2,a2])}function yln(){return bp(),Z(X(g_e,1),Ce,270,0,[U1,p_e,Hte,zte])}function vln(){return lC(),Z(X(VSe,1),Ce,302,0,[kI,GSe,aL,qSe])}function Eln(){return tC(),Z(X(uxe,1),Ce,354,0,[fne,BB,dne,lne])}function Sln(){return fF(),Z(X(Oxe,1),Ce,355,0,[Tne,Ixe,Rxe,Cxe])}function Tln(){return TF(),Z(X(cOt,1),Ce,406,0,[Cne,xne,Nne,kne])}function Aln(){return JS(),Z(X(R_e,1),Ce,402,0,[MB,e4,t4,n4])}function _ln(){return bF(),Z(X(Pke,1),Ce,396,0,[Jne,Xne,Zne,Qne])}function xln(){return O_(),Z(X(PNe,1),Ce,280,0,[zL,uU,LNe,MNe])}function kln(){return gp(),Z(X(xre,1),Ce,225,0,[_re,GL,Ek,WT])}function Nln(){return vu(),Z(X(yDt,1),Ce,293,0,[VL,Ih,V1,qL])}function Cln(){return su(),Z(X(N4,1),Ce,381,0,[XL,xm,JL,gv])}function Iln(){return VP(),Z(X(e5,1),Ce,290,0,[o3e,a3e,Ire,s3e])}function Rln(){return Yj(),Z(X(d3e,1),Ce,327,0,[Rre,c3e,l3e,u3e])}function Oln(){return jj(),Z(X(jDt,1),Ce,412,0,[Ore,h3e,f3e,p3e])}function Dln(e){var t;return e.j==(He(),dn)&&(t=B0t(e),fc(t,Qt))}function Lut(e,t){var r;for(r=e.j.c.length;r<t;r++)Fe(e.j,e.Mg())}function Mut(e,t,r,o){var a;return a=o[t.g][r.g],ce(le(F(e.a,a)))}function Lln(e,t,r){var o;return o=B_(r),zF(e.f,o,t),Jn(e.g,t,r),t}function Mln(e,t,r){var o;return o=B_(r),zF(e.p,o,t),Jn(e.q,t,r),t}function Put(e){var t,r;return t=(t1(),r=new MG,r),e&&MF(t,e),t}function ipe(e){var t;return t=e.$i(e.i),e.i>0&&ca(e.g,0,t,0,e.i),t}function PS(e){return YN(),se(e.g,157)?l(e.g,157):null}function Pln(e){return jP(),ma(jre,e)?l(Ut(jre,e),343).Pg():null}function zu(e,t,r){return t<0?cJ(e,r):l(r,69).uk().zk(e,e.ei(),t)}function jln(e,t){return yS(new Me(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function jut(e,t){return me(t)===me(e)?"(this Map)":t==null?tc:ms(t)}function Fut(e,t){t8();var r;return r=l(Ut(EU,e),58),!r||r.dk(t)}function Fln(e){if(e.p!=1)throw Y(new lc);return On(e.f)<<24>>24}function $ln(e){if(e.p!=1)throw Y(new lc);return On(e.k)<<24>>24}function Bln(e){if(e.p!=7)throw Y(new lc);return On(e.k)<<16>>16}function Uln(e){if(e.p!=7)throw Y(new lc);return On(e.f)<<16>>16}function fE(e,t){return t.e==0||e.e==0?wI:(Q_(),pJ(e,t))}function Hln(e,t,r){if(r){var o=r.me();e.a[t]=o(r)}else delete e.a[t]}function $ut(e,t){var r;return r=new lS,e.Ed(r),r.a+="..",t.Fd(r),r.a}function yd(e){var t;for(t=0;e.Ob();)e.Pb(),t=_o(t,1);return dj(t)}function zln(e,t,r){var o;o=l(Ut(e.g,r),60),Fe(e.a.c,new Co(t,o))}function Gln(e,t,r,o,a){var u;u=d2n(a,r,o),Fe(t,hvn(a,u)),syn(e,a,t)}function But(e,t,r){e.i=0,e.e=0,t!=r&&(_pt(e,t,r),Apt(e,t,r))}function qln(e){e.a=null,e.e=null,jw(e.b.c,0),jw(e.f.c,0),e.c=null}function Vln(e,t){return l(t==null?Ss(ns(e.f,null)):e3(e.i,t),291)}function Wln(e,t,r){return QV(le(Ss(ns(e.f,t))),le(Ss(ns(e.f,r))))}function zP(e,t,r){return qF(e,t,r,se(t,104)&&(l(t,20).Bb&Io)!=0)}function Kln(e,t,r){return nx(e,t,r,se(t,104)&&(l(t,20).Bb&Io)!=0)}function Yln(e,t,r){return n2n(e,t,r,se(t,104)&&(l(t,20).Bb&Io)!=0)}function ope(e,t){return e==(Ht(),Xr)&&t==Xr?4:e==Xr||t==Xr?8:32}function Uut(e,t){Lhe.call(this),this.a=e,this.b=t,Fe(this.a.b,this)}function ay(e,t){hr(),Km.call(this,e),this.a=t,this.c=-1,this.b=-1}function spe(e,t,r,o,a){this.i=e,this.a=t,this.e=r,this.j=o,this.f=a}function ap(e,t){jf(),Ob.call(this,e,1,Z(X(Rn,1),Qn,30,15,[t]))}function gh(e,t){Mo();var r;return r=l(e,69).tk(),yyn(r,t),r.vl(t)}function Hut(e,t){var r;for(r=t;r;)Vw(e,r.i,r.j),r=Br(r);return e}function zut(e,t){var r;for(r=0;r<t;++r)ii(e,r,new due(l(e[r],45)))}function ape(e,t){var r;r=e.q.getHours(),e.q.setFullYear(t+N1),OC(e,r)}function Gut(e,t){N_();var r;return r=e.j.g-t.j.g,r!=0?r:0}function U3(e){return cn(e.a<e.c.a.length),e.b=e.a,fft(e),e.c.b[e.b]}function oa(e){return e.n||(Pc(e),e.n=new cst(e,qo,e),ds(e)),e.n}function qut(e){if(e<0)throw Y(new xQe("Negative array size: "+e))}function UW(e,t,r){if(r){var o=r.me();r=o(r)}else r=void 0;e.a[t]=r}function Jln(e,t){var r;return r=t!=null?wa(e,t):Ss(ns(e.f,t)),I8(r)}function Xln(e,t){var r;return r=t!=null?wa(e,t):Ss(ns(e.f,t)),I8(r)}function HW(e){return e.c&&e.d?Whe(e.c)+"->"+Whe(e.d):"e_"+s0(e)}function Vut(e){se(e,209)&&!Ye(Ke(e.mf((_n(),oU))))&&p_n(l(e,19))}function cpe(e){e.b!=e.c&&(e.a=we(Ri,It,1,8,5,1),e.b=0,e.c=0)}function Bb(e,t,r){this.e=e,this.a=Ri,this.b=Syt(t),this.c=t,this.d=r}function cy(e,t,r,o){qct.call(this,1,r,o),this.c=e,this.b=t}function zW(e,t,r,o){Vct.call(this,1,r,o),this.c=e,this.b=t}function GW(e,t,r,o,a,u,f){wK.call(this,t,o,a,u,f),this.c=e,this.a=r}function qW(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function Wut(e){this.c=e,this.a=l(Sl(e),160),this.b=this.a.hk().ti()}function Zln(e,t){return eg(),Tn(Ne(e.a),t)}function Qln(e,t){return eg(),Tn(Ne(e.a),t)}function GP(){GP=K,Kne=new Jle("STRAIGHT",0),Lke=new Jle("BEND",1)}function H3(){H3=K,QI=new Ule("UPPER",0),ZI=new Ule("LOWER",1)}function qP(){qP=K,fte=new jle(_d,0),dte=new jle("ALTERNATING",1)}function VP(){VP=K,o3e=new Uot,a3e=new _st,Ire=new Zat,s3e=new xst}function WP(e){var t;return e?new qfe(e):(t=new ch,_K(t,e),t)}function edn(e,t){var r;for(r=e.d-1;r>=0&&e.a[r]===t[r];r--);return r<0}function tdn(e,t){var r;return qut(t),r=e.slice(0,t),r.length=t,sK(r,e)}function Ac(e,t){var r;return t.b.Kb(Kdt(e,t.c.Ve(),(r=new gYe(t),r)))}function KP(e){jbe(),Srt(this,On(Gi(c0(e,24),s7)),On(Gi(e,s7)))}function Kut(){Kut=K,bkt=yn((lj(),Z(X(C2e,1),Ce,429,0,[aee,y$])))}function Yut(){Yut=K,fNt=yn((E_(),Z(X(dNt,1),Ce,506,0,[iL,vee])))}function Jut(){Jut=K,UNt=yn((m6(),Z(X(ZSe,1),Ce,424,0,[Y$,XSe])))}function Xut(){Xut=K,jNt=yn((nj(),Z(X(zSe,1),Ce,427,0,[HSe,Mee])))}function Zut(){Zut=K,qNt=yn((l6(),Z(X(tTe,1),Ce,479,0,[eTe,X$])))}function Qut(){Qut=K,QNt=yn((HP(),Z(X(gTe,1),Ce,425,0,[nte,pTe])))}function elt(){elt=K,n3t=yn((qP(),Z(X(CTe,1),Ce,428,0,[fte,dte])))}function tlt(){tlt=K,YIt=yn((g6(),Z(X(b_e,1),Ce,426,0,[Gte,qte])))}function nlt(){nlt=K,x4t=yn((H3(),Z(X(_4t,1),Ce,522,0,[QI,ZI])))}function rlt(){rlt=K,D4t=yn((If(),Z(X(O4t,1),Ce,513,0,[aw,kg])))}function ilt(){ilt=K,M4t=yn((zd(),Z(X(L4t,1),Ce,512,0,[Em,cf])))}function olt(){olt=K,J4t=yn((vd(),Z(X(Y4t,1),Ce,519,0,[ov,H1])))}function slt(){slt=K,rRt=yn((g0(),Z(X(nRt,1),Ce,457,0,[z1,u2])))}function alt(){alt=K,IRt=yn(($P(),Z(X(dxe,1),Ce,430,0,[hne,lxe])))}function clt(){clt=K,MRt=yn((xj(),Z(X(fxe,1),Ce,490,0,[UB,f2])))}function ult(){ult=K,FRt=yn((ij(),Z(X(pxe,1),Ce,431,0,[hxe,yne])))}function YP(){YP=K,Pne=new Wle(Mwe,0),nke=new Wle("TARGET_WIDTH",1)}function llt(){llt=K,LOt=yn((YP(),Z(X(rke,1),Ce,481,0,[Pne,nke])))}function dlt(){dlt=K,zOt=yn((o6(),Z(X(dke,1),Ce,433,0,[Hne,ZB])))}function flt(){flt=K,a6t=yn((x6(),Z(X(Dke,1),Ce,432,0,[eU,Oke])))}function hlt(){hlt=K,c6t=yn((GP(),Z(X(Mke,1),Ce,389,0,[Kne,Lke])))}function plt(){plt=K,_6t=yn((w6(),Z(X(A6t,1),Ce,498,0,[sre,ore])))}function ndn(){return Si(),Z(X(E4,1),Ce,87,0,[hf,fs,cs,ff,il])}function rdn(){return He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])}function idn(e){return(e.k==(Ht(),Xr)||e.k==yi)&&br(e,(Ie(),RI))}function odn(e,t,r){return l(t==null?ec(e.f,null,r):_0(e.i,t,r),291)}function upe(e,t,r){e.a.c.length=0,ekn(e,t,r),e.a.c.length==0||_An(e,t)}function Wr(e,t,r,o){var a;a=new pt,a.c=t,a.b=r,a.a=o,o.b=r.a=a,++e.b}function lpe(e,t){var r,o;for(r=t,o=0;r>0;)o+=e.a[r],r-=r&-r;return o}function glt(e,t){var r;for(r=t;r;)Vw(e,-r.i,-r.j),r=Br(r);return e}function sdn(e,t){var r,o;o=!1;do r=fpt(e,t),o=o|r;while(r);return o}function lo(e,t){var r,o;for(Mt(t),o=e.Jc();o.Ob();)r=o.Pb(),t.Ad(r)}function blt(e,t){var r,o;return r=t.jd(),o=e.De(r),!!o&&ia(o.e,t.kd())}function mlt(e,t){var r;return r=t.jd(),new t0(r,e.e.pc(r,l(t.kd(),18)))}function adn(e,t){var r;return r=e.a.get(t),r??we(Ri,It,1,0,5,1)}function nu(e,t,r){var o;return o=(at(t,e.c.length),e.c[t]),e.c[t]=r,o}function wlt(e,t){this.c=0,this.b=t,Rnt.call(this,e,17493),this.a=this.c}function dpe(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function f1(){hn.call(this),Krt(this),this.d.b=this.d,this.d.a=this.d}function VW(e){JP(),!sf&&(this.c=e,this.e=!0,this.a=new je)}function ylt(e){YEt(),mZe(this),this.a=new Ar,Vge(this,e),Gn(this.a,e)}function vlt(){hV(this),this.b=new Me(Kr,Kr),this.a=new Me(Li,Li)}function fpe(e){jen.call(this,e==null?tc:ms(e),se(e,81)?l(e,81):null)}function cdn(e){e&&Afn((Yue(),KEe)),--u$,e&&l$!=-1&&(Qen(l$),l$=-1)}function n6(e){e.i=0,hO(e.b,null),hO(e.c,null),e.a=null,e.e=null,++e.g}function JP(){JP=K,sf=!0,vxt=!1,Ext=!1,Txt=!1,Sxt=!1}function fo(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function hpe(e,t){return se(t,144)?wt(e.c,l(t,144).c):!1}function WW(e,t){var r;return r=l(Wd(e.d,t),21),r||l(Wd(e.e,t),21)}function hE(e,t){return(v1(e),BA(new vt(e,new Ppe(t,e.a)))).zd(TT)}function udn(){return Vi(),Z(X(q2e,1),Ce,364,0,[id,kh,la,da,zo])}function ldn(){return EF(),Z(X(PRt,1),Ce,365,0,[mne,pne,wne,gne,bne])}function ddn(){return Ey(),Z(X(NNt,1),Ce,372,0,[sL,V$,W$,q$,G$])}function fdn(){return xC(),Z(X(jOt,1),Ce,370,0,[h2,BT,f4,d4,LL])}function hdn(){return J6(),Z(X(gke,1),Ce,331,0,[fke,zne,pke,Gne,hke])}function pdn(){return hC(),Z(X(c_e,1),Ce,329,0,[a_e,Bte,Ute,VI,WI])}function gdn(){return iu(),Z(X(NTe,1),Ce,166,0,[gL,LI,xp,MI,gm])}function bdn(){return Jd(),Z(X(uf,1),Ce,161,0,[xt,ri,Rd,Cg,Np])}function mdn(){return EE(),Z(X(_4,1),Ce,260,0,[W1,WL,JNe,A4,XNe])}function wdn(e){return $9(),function(){return cln(e,this,arguments)}}function Pc(e){return e.t||(e.t=new sZe(e),aC(new AQe(e),0,e.t)),e.t}function Elt(e){var t;return e.c||(t=e.r,se(t,89)&&(e.c=l(t,29))),e.c}function ydn(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function KW(e){var t,r,o;return t=e&Hc,r=e>>22&Hc,o=e<0?Ep:0,Ua(t,r,o)}function Slt(e){var t;return t=e.length,wt($t.substr($t.length-t,t),e)}function en(e){if(an(e))return e.c=e.a,e.a.Pb();throw Y(new vs)}function jS(e,t){return t==0||e.e==0?e:t>0?Ygt(e,t):Bwt(e,-t)}function ppe(e,t){return t==0||e.e==0?e:t>0?Bwt(e,t):Ygt(e,-t)}function Tlt(e){this.b=e,tn.call(this,e),this.a=l(qt(this.b.a,4),131)}function Alt(e){this.b=e,ES.call(this,e),this.a=l(qt(this.b.a,4),131)}function Vl(e,t,r,o,a){Ilt.call(this,t,o,a),this.c=e,this.b=r}function gpe(e,t,r,o,a){qct.call(this,t,o,a),this.c=e,this.a=r}function bpe(e,t,r,o,a){Vct.call(this,t,o,a),this.c=e,this.a=r}function mpe(e,t,r,o,a){Ilt.call(this,t,o,a),this.c=e,this.a=r}function vdn(e,t,r){return vr(yS(U_(e),Ao(t.b)),yS(U_(e),Ao(r.b)))}function Edn(e,t,r){return vr(yS(U_(e),Ao(t.e)),yS(U_(e),Ao(r.e)))}function Sdn(e,t){return b.Math.min(h1(t.a,e.d.d.c),h1(t.b,e.d.d.c))}function YW(e,t,r){var o;return o=e.Fh(t),o>=0?e.Ih(o,r,!0):O0(e,t,r)}function Tdn(e,t){var r,o;r=l(agn(e.c,t),18),r&&(o=r.gc(),r.$b(),e.d-=o)}function _lt(e){var t,r;return t=e.c.i,r=e.d.i,t.k==(Ht(),yi)&&r.k==yi}function z3(e){var t,r;++e.j,t=e.g,r=e.i,e.g=null,e.i=0,e.Mi(r,t),e.Li()}function r6(e,t){e.Zi(e.i+1),w3(e,e.i,e.Xi(e.i,t)),e.Ki(e.i++,t),e.Li()}function xlt(e,t,r){var o;o=new mde(e.a),X3(o,e.a.a),ec(o.f,t,r),e.a.a=o}function wpe(e,t,r,o){var a;for(a=0;a<m$;a++)hP(e.a[a][t.g],r,o[t.g])}function ype(e,t,r,o){var a;for(a=0;a<ree;a++)pP(e.a[t.g][a],r,o[t.g])}function yr(e,t){var r;return r=l(e.c.xc(t),18),!r&&(r=e.ic(t)),e.pc(t,r)}function Adn(e){var t;return t=(kn(e),e?new Tc(e):QA(e.Jc())),vC(t),Vj(t)}function JW(e){var t;return t=new p0,qs(t,e),Te(t,(Ue(),as),null),t}function Wl(e){var t,r;return kn(e),t=San(e.length),r=new Da(t),Bge(r,e),r}function XW(e,t,r,o){var a;return a=we(Rn,Qn,30,t,15,1),_wn(a,e,t,r,o),a}function sg(e,t){var r;return r=(at(t,e.c.length),e.c[t]),dle(e.c,t,1),r}function vpe(e,t){var r,o;return r=(Mt(e),e),o=(Mt(t),t),r==o?0:r<o?-1:1}function Epe(e){var t;return t=e.e+e.f,isNaN(t)&&W8(e.d)?e.d:t}function cp(e,t){return e.a?zn(e.a,e.b):e.a=new fu(e.d),p3(e.a,t),e}function Spe(e,t){if(e<0||e>t)throw Y(new Ia(cme(e,t,"index")));return e}function _dn(e,t){var r;r=e.q.getHours()+(t/60|0),e.q.setMinutes(t),OC(e,r)}function FS(e,t){return zi(t)?t==null?_me(e.f,null):qht(e.i,t):_me(e.f,t)}function klt(e,t){Int.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Nlt(e,t){Rnt.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Tpe(e,t){R8.call(this,t.xd(),t.wd()&-6),Mt(e),this.a=e,this.b=t}function Clt(e,t,r){N9.call(this,r),this.b=e,this.c=t,this.d=(fY(),Hre)}function Ilt(e,t,r){this.d=e,this.k=t?1:0,this.f=r?1:0,this.o=-1,this.p=0}function Rlt(e,t,r){this.a=e,this.c=t,this.d=r,Fe(t.e,this),Fe(r.b,this)}function Vd(e){this.c=e,this.a=new V(this.c.a),this.b=new V(this.c.b)}function XP(){this.e=new je,this.c=new je,this.d=new je,this.b=new je}function Olt(){this.g=new Due,this.b=new Due,this.a=new je,this.k=new je}function Dlt(){this.a=new jue,this.b=new GZe,this.d=new mG,this.e=new bG}function ZP(e,t,r){this.a=e,this.b=t,this.c=r,Fe(e.t,this),Fe(t.i,this)}function i6(){this.b=new Ar,this.a=new Ar,this.b=new Ar,this.a=new Ar}function h_(){h_=K;var e,t;_U=($A(),t=new R9,t),xU=(e=new rq,e)}function QP(){QP=K,p4=new lr("org.eclipse.elk.labels.labelManager")}function Llt(){Llt=K,jSe=new Pr("separateLayerConnections",(Pj(),Aee))}function o6(){o6=K,Hne=new Kle("FIXED",0),ZB=new Kle("CENTER_NODE",1)}function vd(){vd=K,ov=new Hle("REGULAR",0),H1=new Hle("CRITICAL",1)}function xdn(e,t){var r;return r=bkn(e,t),e.b=new Cj(r.c.length),Lxn(e,r)}function kdn(e,t,r){var o;return++e.e,--e.f,o=l(e.d[t].ed(r),138),o.kd()}function Ndn(e){var t,r;return t=e.jd(),r=l(e.kd(),18),BO(r.Lc(),new SKe(t))}function ZW(e){var t;return t=e.b,t.b==0?null:l(sa(t,0),65).b}function Ape(e){if(e.a){if(e.e)return Ape(e.e)}else return e;return null}function Cdn(e,t){return e.p<t.p?1:e.p>t.p?-1:0}function ej(e,t){return Mt(t),e.c<e.d?(e.Qe(t,e.c++),!0):!1}function Mlt(e,t){return ma(e.a,t)?(FS(e.a,t),!0):!1}function $S(e,t,r){return t6(t,e.e.Pd().gc()),t6(r,e.c.Pd().gc()),e.a[t][r]}function Plt(e){var t;return e.a||(t=e.r,se(t,160)&&(e.a=l(t,160))),e.a}function jlt(e){var t;for(u1(e),t=0;e.a.zd(new ju);)t=_o(t,1);return t}function Idn(e){var t;return v1(e),t=new Eot(e,e.a.e,e.a.d|4),new qde(e,t)}function Rdn(e,t){var r;e.C&&(r=l(Ko(e.b,t),129).n,r.d=e.C.d,r.a=e.C.a)}function _pe(e){var t,r,o,a;a=e.d,t=e.a,r=e.b,o=e.c,e.d=r,e.a=o,e.b=a,e.c=t}function xpe(e,t,r){var o,a;for(o=0,a=0;a<t.length;a++)o+=e.sg(t[a],o,r)}function tj(e,t,r,o){this.f=e,this.e=t,this.d=r,this.b=o,this.c=o?o.d:null}function Odn(e,t){t.Tg("Label management",1),I8(F(e,(QP(),p4))),t.Ug()}function Flt(){Flt=K,Axt=yn((Yu(),Z(X(rc,1),Ce,132,0,[S2e,nc,T2e])))}function $lt(){$lt=K,Oxt=yn((Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])))}function Blt(){Blt=K,Lxt=yn((_c(),Z(X(Dxt,1),Ce,464,0,[Wf,M1,nd])))}function Ult(){Ult=K,Pxt=yn((Za(),Z(X(Mxt,1),Ce,465,0,[Nd,P1,rd])))}function Hlt(){Hlt=K,Hkt=yn((G3(),Z(X(G2e,1),Ce,385,0,[dee,lee,fee])))}function zlt(){zlt=K,JNt=yn((b1(),Z(X(tte,1),Ce,330,0,[lL,hTe,Vy])))}function Glt(){Glt=K,ZNt=yn((lp(),Z(X(XNt,1),Ce,316,0,[dL,QE,kT])))}function qlt(){qlt=K,YNt=yn((__(),Z(X(ete,1),Ce,303,0,[Zee,Qee,uL])))}function Vlt(){Vlt=K,$Nt=yn((wj(),Z(X(KSe,1),Ce,351,0,[WSe,K$,Pee])))}function Wlt(){Wlt=K,zNt=yn((Vb(),Z(X(HNt,1),Ce,452,0,[Gee,Jx,XE])))}function Klt(){Klt=K,XIt=yn((Fo(),Z(X(JIt,1),Ce,455,0,[YI,Cc,Ba])))}function Ylt(){Ylt=K,ZIt=yn((Dj(),Z(X(y_e,1),Ce,382,0,[m_e,Vte,w_e])))}function Jlt(){Jlt=K,QIt=yn((nC(),Z(X(v_e,1),Ce,349,0,[Kte,Wte,AL])))}function Xlt(){Xlt=K,e4t=yn((R_(),Z(X(S_e,1),Ce,350,0,[Yte,E_e,JI])))}function Zlt(){Zlt=K,t4t=yn((mj(),Z(X(__e,1),Ce,352,0,[A_e,Jte,T_e])))}function Qlt(){Qlt=K,n4t=yn((Lj(),Z(X(x_e,1),Ce,383,0,[Xte,ck,iv])))}function edt(){edt=K,GIt=yn((rC(),Z(X(s_e,1),Ce,353,0,[jte,o_e,xB])))}function tdt(){tdt=K,sOt=yn((Rj(),Z(X(Mxe,1),Ce,304,0,[Ane,Lxe,Dxe])))}function ndt(){ndt=K,aOt=yn((Qj(),Z(X(Pxe,1),Ce,441,0,[s4,qB,_ne])))}function rdt(){rdt=K,$Ot=yn((M6(),Z(X($ne,1),Ce,440,0,[YB,JB,XB])))}function idt(){idt=K,MOt=yn((oj(),Z(X(ske,1),Ce,434,0,[jne,oke,ike])))}function odt(){odt=K,POt=yn((Hj(),Z(X(uke,1),Ce,435,0,[ake,cke,Fne])))}function sdt(){sdt=K,LNt=yn((T0(),Z(X(xee,1),Ce,369,0,[Q0,j1,Z0])))}function adt(){adt=K,sRt=yn((eC(),Z(X(z_e,1),Ce,386,0,[H_e,ene,kL])))}function cdt(){cdt=K,$Rt=yn((R6(),Z(X(mxe,1),Ce,387,0,[HB,gxe,bxe])))}function udt(){udt=K,fOt=yn((Kj(),Z(X($xe,1),Ce,388,0,[Fxe,One,jxe])))}function ldt(){ldt=K,wDt=yn((pp(),Z(X(YNe,1),Ce,348,0,[lU,Ig,T4])))}function ddt(){ddt=K,pDt=yn((Kd(),Z(X(jNe,1),Ce,281,0,[yk,pv,vk])))}function fdt(){fdt=K,DDt=yn((VS(),Z(X(i3e,1),Ce,283,0,[r3e,bv,bU])))}function hdt(){hdt=K,IDt=yn((V3(),Z(X(t3e,1),Ce,301,0,[YL,Nre,e3e])))}function nj(){nj=K,HSe=new Dle("QUADRATIC",0),Mee=new Dle("SCANLINE",1)}function s6(e){return!e.g&&(e.g=new y9),!e.g.c&&(e.g.c=new oZe(e)),e.g.c}function Ddn(e){return!e.g&&(e.g=new y9),!e.g.b&&(e.g.b=new nZe(e)),e.g.b}function Ldn(e){return!e.g&&(e.g=new y9),!e.g.d&&(e.g.d=new rZe(e)),e.g.d}function Mdn(e){return!e.g&&(e.g=new y9),!e.g.a&&(e.g.a=new iZe(e)),e.g.a}function kpe(e,t){var r,o;return r=t,o=IP(QA(new cK(e,r))),oP(new cK(e,r)),o}function Pdn(e,t,r,o){return r&&(o=r.Oh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function jdn(e,t,r,o){return r&&(o=r.Qh(t,Ur(r.Ah(),e.c.sk()),null,o)),o}function QW(e,t,r,o){var a;return a=we(Rn,Qn,30,t+1,15,1),s_n(a,e,t,r,o),a}function we(e,t,r,o,a,u){var f;return f=J1t(a,o),a!=10&&Z(X(e,u),t,r,a,f),f}function Fdn(e,t,r){var o,a;for(a=new A_(t,e),o=0;o<r;++o)cF(a);return a}function eK(e,t,r){var o,a;if(r!=null)for(o=0;o<t;++o)a=r[o],e.Oi(o,a)}function Npe(e,t){var r;return r=new Yt,r.c=!0,r.d=t.kd(),cEt(e,t.jd(),r)}function $dn(e,t){var r;r=e.q.getHours()+(t/3600|0),e.q.setSeconds(t),OC(e,r)}function Gu(e,t){return!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),lY(e.o,t)}function Cpe(e,t,r){l(e.b,68),l(e.b,68),l(e.b,68),La(e.a,new iot(r,t,e))}function Bdn(e,t,r,o){svt(e,t,r,nx(e,t,o,se(t,104)&&(l(t,20).Bb&Io)!=0))}function io(e,t,r){if(e<0||t>r||t<e)throw Y(new Que(a7+e+mwe+t+pwe+r))}function pdt(e,t,r){this.d=new L9,this.c=new hn,this.a=e,this.e=t,this.c=r}function tK(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new je)}function nK(e,t){n8.call(this,e,t),this.a=we(rCn,n7,443,2,0,1),this.b=!0}function Ipe(e){xpt.call(this,e,0),Krt(this),this.d.b=this.d,this.d.a=this.d}function Rpe(e){this.e=e,this.b=this.e.a.entries(),this.a=we(Ri,It,1,0,5,1)}function gdt(){gdt=K,a4t=Ra($n(new ci,(Vi(),id),(Xi(),Eee)),zo,xT)}function Udn(){return xF(),Z(X(QSe,1),Ce,286,0,[Vee,qee,Kee,Wee,Yee,J$])}function Hdn(){return K6(),Z(X(sTe,1),Ce,284,0,[Z$,rTe,oTe,nTe,iTe,Jee])}function zdn(){return W_(),Z(X(fTe,1),Ce,285,0,[NI,cTe,dTe,lTe,uTe,aTe])}function Gdn(){return eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,qy,JE,YE])}function qdn(){return AF(),Z(X(zNe,1),Ce,328,0,[kre,BNe,HNe,FNe,UNe,$Ne])}function Vdn(){return Zb(),Z(X(hre,1),Ce,300,0,[fre,w4,m4,dre,g4,b4])}function Wdn(){return mh(),Z(X(qke,1),Ce,259,0,[ure,jL,FL,rU,tU,nU])}function Kdn(){return qi(),Z(X(ZNe,1),Ce,103,0,[K1,pf,Sk,_m,Oh,fa])}function Ydn(){return xc(),Z(X(dU,1),Ce,282,0,[Y1,Rp,KL,k4,x4,KT])}function Ope(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Ah(),e.a=kt(t,e.b)),e.a}function Tn(e,t){return e.Qi()&&e.Gc(t)?!1:(e.Fi(t),!0)}function Ed(e,t){return YO(t,"Horizontal alignment cannot be null"),e.b=t,e}function bdt(e,t,r){hr();var o;return o=k1(e,t),r&&o&&uan(e)&&(o=null),o}function Dpe(e,t,r){var o;o=e.b[r.c.p][r.p],o.b+=t.b,o.c+=t.c,o.a+=t.a,++o.a}function Lpe(e,t,r){var o;e.d[t.g]=r,o=e.g.c,o[t.g]=b.Math.max(o[t.g],r+1)}function h1(e,t){var r,o;return r=e.a-t.a,o=e.b-t.b,b.Math.sqrt(r*r+o*o)}function Mpe(e,t){var r,o;for(o=t.Jc();o.Ob();)r=l(o.Pb(),37),Dyt(e,r,0,0)}function ag(e,t,r){var o,a;for(a=e.Jc();a.Ob();)o=l(a.Pb(),37),ex(o,t,r)}function Jdn(e){var t,r;for(r=An(e.a,0);r.b!=r.d.c;)t=l(Sn(r),65),gme(t)}function mdt(e,t){return ctt(e.e,t)||Jb(e.e,t,new v1t(t)),l(Wd(e.e,t),114)}function jc(e,t,r,o){return Mt(e),Mt(t),Mt(r),Mt(o),new ahe(e,t,new Zn)}function pc(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=new rhe(this,t,r,o)}function rK(e,t,r,o,a,u){tpe.call(this,t,o,a,u),this.c=e,this.b=r}function a6(e,t,r,o,a,u){tpe.call(this,t,o,a,u),this.c=e,this.a=r}function c6(e,t){var r,o,a;return a=e.r,o=e.d,r=MC(e,t,!0),r.b!=a||r.a!=o}function u6(e,t,r){var o,a;return a=(o=Y_(e.b,t),o),a?JF(h6(e,a),r):null}function Xdn(e,t,r){var o,a,u;o=op(e,r),a=null,o&&(a=Qbe(o)),u=a,b1t(t,r,u)}function Zdn(e,t,r){var o,a,u;o=op(e,r),a=null,o&&(a=Qbe(o)),u=a,b1t(t,r,u)}function Qdn(e,t){var r;return r=Ut(e.k,t),qme(e,t),SJ(e,t),Mme(e,t,r),null}function p_(e,t){var r;return r=e.Fh(t),r>=0?e.Ih(r,!0,!0):O0(e,t,!0)}function efn(e,t){return vr(ce(le(F(e,(Ie(),nw)))),ce(le(F(t,nw))))}function Ppe(e,t){R8.call(this,t.xd(),t.wd()&-16449),Mt(e),this.a=e,this.c=t}function jpe(e,t,r,o,a){frt(this),this.b=e,this.d=t,this.f=r,this.g=o,this.c=a}function Da(e){hV(this),HO(e>=0,"Initial capacity must not be negative")}function BS(e){var t;return kn(e),se(e,206)?(t=l(e,206),t):new jKe(e)}function tfn(e){for(;!e.a;)if(!Vit(e.c,new fYe(e)))return!1;return!0}function nfn(e){var t;if(!e.a)throw Y(new fat);return t=e.a,e.a=Br(e.a),t}function rfn(e){if(e.b<=0)throw Y(new vs);return--e.b,e.a-=e.c.c,Oe(e.a)}function Fpe(e,t){if(e.g==null||t>=e.i)throw Y(new aV(t,e.i));return e.g[t]}function wdt(e,t,r){if(C_(e,r),r!=null&&!e.dk(r))throw Y(new QG);return r}function ifn(e,t,r){var o;return o=vpt(e,t,r),e.b=new Cj(o.c.length),Qme(e,o)}function ydt(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)ie(e,t);return ipe(e)}function ofn(e){rj(),l(e.mf((_n(),dv)),185).Ec((xc(),KL)),e.of(Sre,null)}function rj(){rj=K,N6t=new pGe,I6t=new gGe,C6t=ypn((_n(),Sre),N6t,q1,I6t)}function vdt(){vdt=K,VF(),Y3e=Kr,BLt=Li,J3e=new QR(Kr),ULt=new QR(Li)}function ij(){ij=K,hxe=new Vle("LEAF_NUMBER",0),yne=new Vle("NODE_SIZE",1)}function iK(e){e.a=we(Rn,Qn,30,e.b+1,15,1),e.c=we(Rn,Qn,30,e.b,15,1),e.d=0}function sfn(e,t){e.a.Le(t.d,e.b)>0&&(Fe(e.c,new Lfe(t.c,t.d,e.d)),e.b=t.d)}function g_(e,t,r,o){var a;o=(h0(),o||g2e),a=e.slice(t,r),ume(a,e,t,r,-t,o)}function qu(e,t,r,o,a){return t<0?O0(e,r,o):l(r,69).uk().wk(e,e.ei(),t,o,a)}function Edt(e,t){var r,o;return o=t/e.c.Pd().gc()|0,r=t%e.c.Pd().gc(),$S(e,o,r)}function $pe(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[0];)r=t;return r}function Sdt(e){var t,r;if(!e.b)return null;for(r=e.b;t=r.a[1];)r=t;return r}function afn(e){return se(e,183)?""+l(e,183).a:e==null?null:ms(e)}function cfn(e){return se(e,183)?""+l(e,183).a:e==null?null:ms(e)}function Tdt(e,t){if(t.a)throw Y(new Es(O2t));gi(e.a,t),t.a=e,!e.j&&(e.j=t)}function _c(){_c=K,Wf=new Rq(hT,0),M1=new Rq(px,1),nd=new Rq(pT,2)}function b_(){b_=K,XQ=new o8("All",0),ZQ=new Znt,QQ=new lrt,eee=new Qnt}function Adt(){Adt=K,wxt=yn((b_(),Z(X(g$,1),Ce,310,0,[XQ,ZQ,QQ,eee])))}function _dt(){_dt=K,akt=yn((A0(),Z(X(skt,1),Ce,414,0,[eL,QD,oee,see])))}function xdt(){xdt=K,Xkt=yn((x_(),Z(X(Jkt,1),Ce,413,0,[X0,Uy,By,VE])))}function kdt(){kdt=K,rNt=yn((YS(),Z(X(K2e,1),Ce,384,0,[TI,W2e,mee,wee])))}function Ndt(){Ndt=K,bNt=yn((Pj(),Z(X(gNt,1),Ce,368,0,[Aee,H$,z$,oL])))}function Cdt(){Cdt=K,kNt=yn((Xl(),Z(X(xNt,1),Ce,418,0,[Gy,qx,Vx,_ee])))}function Idt(){Idt=K,E4t=yn((Kb(),Z(X(v4t,1),Ce,409,0,[_L,XI,RB,IB])))}function Rdt(){Rdt=K,qIt=yn((vy(),Z(X($te,1),Ce,205,0,[kB,Fte,c2,a2])))}function Odt(){Odt=K,KIt=yn((bp(),Z(X(g_e,1),Ce,270,0,[U1,p_e,Hte,zte])))}function Ddt(){Ddt=K,FNt=yn((lC(),Z(X(VSe,1),Ce,302,0,[kI,GSe,aL,qSe])))}function Ldt(){Ldt=K,CRt=yn((tC(),Z(X(uxe,1),Ce,354,0,[fne,BB,dne,lne])))}function Mdt(){Mdt=K,oOt=yn((fF(),Z(X(Oxe,1),Ce,355,0,[Tne,Ixe,Rxe,Cxe])))}function Pdt(){Pdt=K,uOt=yn((TF(),Z(X(cOt,1),Ce,406,0,[Cne,xne,Nne,kne])))}function jdt(){jdt=K,iRt=yn((JS(),Z(X(R_e,1),Ce,402,0,[MB,e4,t4,n4])))}function Fdt(){Fdt=K,l6t=yn((bF(),Z(X(Pke,1),Ce,396,0,[Jne,Xne,Zne,Qne])))}function $dt(){$dt=K,hDt=yn((O_(),Z(X(PNe,1),Ce,280,0,[zL,uU,LNe,MNe])))}function Bdt(){Bdt=K,gDt=yn((gp(),Z(X(xre,1),Ce,225,0,[_re,GL,Ek,WT])))}function Udt(){Udt=K,vDt=yn((vu(),Z(X(yDt,1),Ce,293,0,[VL,Ih,V1,qL])))}function Hdt(){Hdt=K,LDt=yn((VP(),Z(X(e5,1),Ce,290,0,[o3e,a3e,Ire,s3e])))}function zdt(){zdt=K,RDt=yn((su(),Z(X(N4,1),Ce,381,0,[XL,xm,JL,gv])))}function Gdt(){Gdt=K,MDt=yn((Yj(),Z(X(d3e,1),Ce,327,0,[Rre,c3e,l3e,u3e])))}function qdt(){qdt=K,FDt=yn((jj(),Z(X(jDt,1),Ce,412,0,[Ore,h3e,f3e,p3e])))}function l6(){l6=K,eTe=new Mle(_d,0),X$=new Mle("IMPROVE_STRAIGHTNESS",1)}function oj(){oj=K,jne=new Qq(XSt,0),oke=new Qq(ive,1),ike=new Qq(_d,2)}function Bpe(e){var t;if(!EK(e))throw Y(new vs);return e.e=1,t=e.d,e.d=null,t}function cg(e){var t;return gs(e)&&(t=0-e,!isNaN(t))?t:g1(k_(e))}function _s(e,t,r){for(;r<e.c.length;++r)if(ia(t,e.c[r]))return r;return-1}function Xa(e,t){var r;return r=_s(e,t,0),r==-1?!1:(sg(e,r),!0)}function Vdt(e,t){var r;return r=l(FS(e.e,t),395),r?(jfe(r),r.e):null}function ufn(e,t,r,o,a){return Mt(e),Mt(t),Mt(r),Mt(o),Mt(a),new ahe(e,t,o)}function Wdt(e){Gw(!!e.c),LV(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=Nge(e),e.d=e.f.g}function d6(e){var t;for(t=e.p+1;t<e.c.a.c.length;++t)--l(ze(e.c.a,t),9).p}function oK(e){var t;t=e.hj(),t!=null&&e.d!=-1&&l(t,95).uh(e),e.i&&e.i.mj()}function lfn(e){var t;return u1(e),t=we(Ki,Xo,30,0,15,1),Kv(e.a,new uYe(t)),t}function Kdt(e,t,r){var o;return u1(e),o=new Hi,o.a=t,e.a.Nb(new ptt(o,r)),o.a}function sK(e,t){return b6(t)!=10&&Z(ru(t),t.Qm,t.__elementTypeId$,b6(t),e),e}function aK(e){var t,r;return r=l(ze(e.j,0),12),t=l(F(r,(Ie(),wr)),12),t}function cK(e,t){var r;this.f=e,this.b=t,r=l(Ut(e.b,t),263),this.c=r?r.b:null}function Ydt(){hu(),this.b=new hn,this.f=new hn,this.g=new hn,this.e=new hn}function sj(e){M8(this),this.g=e?OP(e,e.ge()):null,this.f=e,kP(this),this.he()}function up(e,t,r,o,a,u,f){wK.call(this,t,o,a,u,f),this.c=e,this.b=r}function f6(e,t){if(t<0)throw Y(new Ia(bTt+t));return Lut(e,t+1),ze(e.j,t)}function aj(e,t){return ia(t,ze(e.f,0))||ia(t,ze(e.f,1))||ia(t,ze(e.f,2))}function dfn(e,t){return new FV(t,Vw(Ao(t.e),t.f.a+e,t.f.b+e),(Lt(),!1))}function ffn(e,t){return ZA(),Fe(e,new Co(t,Oe(t.e.c.length+t.g.c.length)))}function hfn(e,t){return ZA(),Fe(e,new Co(t,Oe(t.e.c.length+t.g.c.length)))}function Upe(e,t){YN();var r,o;return r=PS(e),o=PS(t),!!r&&!!o&&!_1t(r.k,o.k)}function h6(e,t){var r,o;return r=l(t,687),o=r.ui(),!o&&r.xi(o=new xnt(e,t)),o}function is(e,t){var r,o;return r=l(t,689),o=r.Yk(),!o&&r.al(o=new rut(e,t)),o}function p6(e){zot();var t,r;return t=e+128,r=e2e[t],!r&&(r=e2e[t]=new eYe(e)),r}function Fc(e){return e.b||(e.b=new ust(e,qo,e),!e.a&&(e.a=new MO(e,e))),e.b}function Jdt(e){return LV(e.d.a.e.g,e.b),cn(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function cj(e){var t,r;return r=e.length,t=we(al,Bf,30,r,15,1),Mst(e,0,r,t,0),t}function Xdt(e,t){for(;t[0]<e.length&&Nf(` \r
`,Qa(uo(e,t[0])))>=0;)++t[0]}function Zdt(e,t){x2e=new Vm,ckt=t,vI=e,l(vI.b,68),Cpe(vI,x2e,null),$vt(vI)}function G3(){G3=K,dee=new Dq("XY",0),lee=new Dq("X",1),fee=new Dq("Y",2)}function Za(){Za=K,Nd=new Oq("TOP",0),P1=new Oq(px,1),rd=new Oq(Swe,2)}function lp(){lp=K,dL=new $q(_d,0),QE=new $q("TOP",1),kT=new $q(Swe,2)}function g6(){g6=K,Gte=new Fle("INPUT_ORDER",0),qte=new Fle("PORT_DEGREE",1)}function m_(){m_=K,JEe=Ua(Hc,Hc,524287),nxt=Ua(0,0,ED),XEe=KW(1),KW(2),ZEe=KW(0)}function Hpe(e){var t;return t=HS(qt(e,32)),t==null&&(Ha(e),t=HS(qt(e,32))),t}function zpe(e){var t;return e.Lh()||(t=ln(e.Ah())-e.gi(),e.Xh().Kk(t)),e.wh()}function Qdt(e){(this.q?this.q:(At(),At(),xh)).zc(e.q?e.q:(At(),At(),xh))}function eft(e,t){va(e,t==null||W8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function tft(e,t){gc(e,t==null||W8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function nft(e,t){Hb(e,t==null||W8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function rft(e,t){Ub(e,t==null||W8((Mt(t),t))||isNaN((Mt(t),t))?0:(Mt(t),t))}function pfn(e,t){AS(l(l(e.f,19).mf((_n(),bk)),103))&&Igt(Ahe(l(e.f,19)),t)}function uK(e,t){var r;return r=Ur(e.d,t),r>=0?aF(e,r,!0,!0):O0(e,t,!0)}function uj(e,t){var r;return r=e.bd(t),r>=0?(e.ed(r),!0):!1}function lK(e,t,r){var o;return o=e.g[t],w3(e,t,e.Xi(t,r)),e.Pi(t,r,o),e.Li(),o}function dK(e){var t;return e.d!=e.r&&(t=Sl(e),e.e=!!t&&t.jk()==n_t,e.d=t),e.e}function fK(e,t){var r;for(kn(e),kn(t),r=!1;t.Ob();)r=r|e.Ec(t.Pb());return r}function bs(e,t){var r,o;return v1(e),o=new Tpe(t,e.a),r=new Kit(o),new vt(e,r)}function Wd(e,t){var r;return r=l(Ut(e.e,t),395),r?(Ert(e,r),r.e):null}function gfn(e,t){var r,o,a;a=t.c.i,r=l(Ut(e.f,a),60),o=r.d.c-r.e.c,Ege(t.a,o,0)}function bh(e,t,r){var o,a;for(o=10,a=0;a<r-1;a++)t<o&&(e.a+="0"),o*=10;e.a+=t}function Gpe(e,t){var r;for(++e.d,++e.c[t],r=t+1;r<e.a.length;)++e.a[r],r+=r&-r}function hK(e){var t;return t=e.b.c.length==0?null:ze(e.b,0),t!=null&&SK(e,0),t}function bfn(e){switch(e.g){case 0:return ar;case 1:return Zi;default:return 0}}function mfn(e){return gbe(e,(m_(),ZEe))<0?-onn(k_(e)):e.l+e.m*fT+e.h*nm}function ift(e){var t,r;return t=e/60|0,r=e%60,r==0?""+t:""+t+":"+(""+r)}function uy(e,t){var r=e.a[t],o=(jK(),qQ)[typeof r];return o?o(r):i1e(typeof r)}function wfn(e,t){return se(t,104)&&l(t,20).Bb&Io?new cV(t,e):new A_(t,e)}function yfn(e,t){return se(t,104)&&l(t,20).Bb&Io?new cV(t,e):new A_(t,e)}function vfn(e,t,r){return yS(new Me(r.e.a+r.f.a/2,r.e.b+r.f.b/2),e)==(Mt(t),t)}function qpe(e){if(!e.c)throw Y(new vs);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function oft(e){if(!e.e)throw Y(new vs);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function sft(e,t,r,o){if(!e)throw Y(new jt(CC(t,Z(X(Ri,1),It,1,5,[r,o]))))}function aft(){aft=K,_Dt=yn((He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])))}function cft(){cft=K,fDt=yn((Si(),Z(X(E4,1),Ce,87,0,[hf,fs,cs,ff,il])))}function uft(){uft=K,Vkt=yn((Vi(),Z(X(q2e,1),Ce,364,0,[id,kh,la,da,zo])))}function q3(){q3=K,eNt=new cG,tNt=new a9,Zkt=new uG,Qkt=new lG,nNt=new dG}function lj(){lj=K,aee=new Nle("EADES",0),y$=new Nle("FRUCHTERMAN_REINGOLD",1)}function lft(e){this.g=e,this.f=new je,this.a=b.Math.min(this.g.c.c,this.g.d.c)}function dft(e,t,r,o){hr(),Km.call(this,26),this.c=e,this.a=t,this.d=r,this.b=o}function Efn(e,t){var r,o;for(o=t.c,r=o+1;r<=t.f;r++)e.a[r]>e.a[o]&&(o=r);return o}function fft(e){var t;for(++e.a,t=e.c.a.length;e.a<t;++e.a)if(e.c.b[e.a])return}function Sfn(e,t){var r;return r=x0(e.e.c,t.e.c),r==0?vr(e.e.d,t.e.d):r}function hft(e){var t;return t=l(F(e,(Ie(),ew)),318),t?t.a==e:!1}function pft(e){var t;return t=l(F(e,(Ie(),ew)),318),t?t.i==e:!1}function gft(e,t){return t==(DV(),DV(),gxt)?e.toLocaleLowerCase():e.toLowerCase()}function b6(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function Tfn(e){var t,r;if(e.a){r=null;do t=e.a,e.a=null,r=Omt(t,r);while(e.a);e.a=r}}function Afn(e){var t,r;if(e.b){r=null;do t=e.b,e.b=null,r=Omt(t,r);while(e.b);e.b=r}}function _fn(e,t){var r;for(r=0;e.e!=e.i.gc();)Hsn(t,rn(e),Oe(r)),r!=ar&&++r}function pK(e,t){var r;return r=l(Ut(e.a,t),151),r||(r=new Q2,Jn(e.a,t,r)),r}function xfn(e,t,r){var o;return o=e.a.e[l(t.a,9).p]-e.a.e[l(r.a,9).p],bo(GO(o))}function kt(e,t){var r;return r=(e.i==null&&Ff(e),e.i),t>=0&&t<r.length?r[t]:null}function Vpe(e){return(e.i&2?"interface ":e.i&1?"":"class ")+(np(e),e.o)}function dj(e){return Ea(e,ar)>0?ar:Ea(e,Zi)<0?Zi:On(e)}function Kl(e,t,r){var o;if(t==null)throw Y(new rS);return o=op(e,t),Hln(e,t,r),o}function bft(e,t){return Mt(t),ehe(e),e.d.Ob()?(t.Ad(e.d.Pb()),!0):!1}function mft(e){this.b=new je,this.a=new je,this.c=new je,this.d=new je,this.e=e}function wft(e,t,r){q8.call(this),Wpe(this),this.a=e,this.c=r,this.b=t.d,this.f=t.e}function kfn(){return Ht(),Z(X(yee,1),Ce,252,0,[Xr,bi,yi,_a,ta,af,rL,AI])}function yft(){yft=K,SDt=yn((EE(),Z(X(_4,1),Ce,260,0,[W1,WL,JNe,A4,XNe])))}function vft(){vft=K,R6t=yn((Jd(),Z(X(uf,1),Ce,161,0,[xt,ri,Rd,Cg,Np])))}function Eft(){Eft=K,CNt=yn((Ey(),Z(X(NNt,1),Ce,372,0,[sL,V$,W$,q$,G$])))}function Sft(){Sft=K,jRt=yn((EF(),Z(X(PRt,1),Ce,365,0,[mne,pne,wne,gne,bne])))}function Tft(){Tft=K,t3t=yn((iu(),Z(X(NTe,1),Ce,166,0,[gL,LI,xp,MI,gm])))}function Aft(){Aft=K,VIt=yn((hC(),Z(X(c_e,1),Ce,329,0,[a_e,Bte,Ute,VI,WI])))}function _ft(){_ft=K,FOt=yn((xC(),Z(X(jOt,1),Ce,370,0,[h2,BT,f4,d4,LL])))}function xft(){xft=K,GOt=yn((J6(),Z(X(gke,1),Ce,331,0,[fke,zne,pke,Gne,hke])))}function Nfn(){return UF(),Z(X(USe,1),Ce,277,0,[Nee,Ree,kee,Lee,Iee,Cee,Dee,Oee])}function Cfn(){return _1(),Z(X(O6t,1),Ce,287,0,[Hke,xi,vo,HT,Qi,$r,UT,lf])}function Ifn(){return sT(),Z(X(s5,1),Ce,235,0,[Pre,vU,o5,i5,Mre,yU,wU,Lre])}function Rfn(e,t){return US(),-na(l(F(e,(js(),l2)),15).a,l(F(t,l2),15).a)}function Ofn(e,t,r,o){var a;e.j=-1,Sme(e,eme(e,t,r),(Mo(),a=l(t,69).tk(),a.vl(o)))}function Dfn(e,t,r){var o,a;for(a=new V(r);a.a<a.c.c.length;)o=q(a),Obe(e,t,o)}function os(e){var t,r;r=(t=new iq,t),Tn((!e.q&&(e.q=new ke(Dl,e,11,10)),e.q),r)}function Lfn(e,t){var r;return r=t>0?t-1:t,$Qe(den(Vft(Dfe(new sS,r),e.n),e.j),e.k)}function fj(e,t){var r;return v1(e),r=new Rat(e,e.a.xd(),e.a.wd()|4,t),new vt(e,r)}function Mfn(e,t){var r,o;return r=l(by(e.d,t),18),r?(o=t,e.e.pc(o,r)):null}function kft(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(P9(),BQ)}function w0(e){if(e<0)throw Y(new jt("Illegal Capacity: "+e));this.g=this.$i(e)}function Pfn(e,t){if(0>e||e>t)throw Y(new ele("fromIndex: 0, toIndex: "+e+pwe+t))}function Nft(e,t){return!!J3(e,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))))}function jfn(e,t){AS(l(F(l(e.e,9),(Ue(),Zr)),103))&&(At(),ki(l(e.e,9).j,t))}function Ffn(e){var t;return t=ce(le(F(e,(Ue(),_g)))),t<0&&(t=0,Te(e,_g,t)),t}function hj(e,t){var r,o;for(o=e.Jc();o.Ob();)r=l(o.Pb(),70),Te(r,(Ie(),OT),t)}function $fn(e,t,r){var o;o=b.Math.max(0,e.b/2-.5),bC(r,o,1),Fe(t,new ytt(r,o))}function Cft(e,t,r,o,a,u){var f;f=JW(o),mo(f,a),Yi(f,u),yt(e.a,o,new Y8(f,t,r.f))}function Ift(e,t){Vn(e,(yh(),Rne),t.f),Vn(e,dOt,t.e),Vn(e,Ine,t.d),Vn(e,lOt,t.c)}function gK(e){var t;Gw(!!e.c),t=e.c.a,Vu(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function Rft(e){return e.a>=-.01&&e.a<=nf&&(e.a=0),e.b>=-.01&&e.b<=nf&&(e.b=0),e}function pE(e){Z_();var t,r;for(r=ave,t=0;t<e.length;t++)e[t]>r&&(r=e[t]);return r}function Oft(e,t){var r;if(r=iD(e.Ah(),t),!r)throw Y(new jt(O1+t+iQ));return r}function ly(e,t){var r;for(r=e;Br(r);)if(r=Br(r),r==t)return!0;return!1}function Bfn(e,t){return t&&e.b[t.g]==t?(ii(e.b,t.g,null),--e.c,!0):!1}function Vu(e,t){var r;return r=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,r}function La(e,t){var r,o,a,u;for(Mt(t),o=e.c,a=0,u=o.length;a<u;++a)r=o[a],t.Ad(r)}function Ufn(e,t){var r,o,a;for(o=t.a.jd(),r=l(t.a.kd(),18).gc(),a=0;a<r;a++)e.Ad(o)}function Hfn(e){var t,r;for(t=e.a.d.j,r=e.c.d.j;t!=r;)Jl(e.b,t),t=Gj(t);Jl(e.b,t)}function zfn(e){var t;for(t=0;t<e.c.length;t++)(at(t,e.c.length),l(e.c[t],12)).p=t}function Gfn(e,t,r){var o,a,u;for(a=t[r],o=0;o<a.length;o++)u=a[o],e.e[u.c.p][u.p]=o}function bK(e,t){var r,o,a,u;for(o=e.d,a=0,u=o.length;a<u;++a)r=o[a],Hd(e.g,r).a=t}function Dft(e,t,r){var o,a;o=t;do a=ce(e.p[o.p])+r,e.p[o.p]=a,o=e.a[o.p];while(o!=t)}function qfn(e){var t;return t=b.Math.sqrt(e.a*e.a+e.b*e.b),t>0&&(e.a/=t,e.b/=t),e}function pj(e){this.b=(kn(e),new Tc(e)),this.a=new je,this.d=new je,this.e=new ro}function Wpe(e){e.b=(_c(),M1),e.f=(Za(),P1),e.d=(wu(2,Oy),new Da(2)),e.e=new ro}function Lft(){Lft=K,m$=(Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])).length,ree=m$}function Sd(){Sd=K,Bs=new Iq("BEGIN",0),$a=new Iq(px,1),Us=new Iq("END",2)}function Kd(){Kd=K,yk=new nV(px,0),pv=new nV("HEAD",1),vk=new nV("TAIL",2)}function m6(){m6=K,Y$=new Lle("READING_DIRECTION",0),XSe=new Lle("ROTATION",1)}function w6(){w6=K,sre=new Xle("DIRECT_ROUTING",0),ore=new Xle("BEND_ROUTING",1)}function US(){US=K,ORt=Pf(Pf(Pf(ZN(new ci,(JS(),e4)),(IC(),Qte)),M_e),$_e)}function dp(){dp=K,LRt=Pf(Pf(Pf(ZN(new ci,(JS(),n4)),(IC(),j_e)),O_e),P_e)}function gE(e,t){return gen(Y3(e,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15)))))}function Kpe(e,t){return Ud(),Yl(wg),b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)}function Ype(e,t){return Ud(),Yl(wg),b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)}function mu(e){var t;return e.w?e.w:(t=Dun(e),t&&!t.Sh()&&(e.w=t),t)}function Vfn(e){var t;return e==null?null:(t=l(e,198),$wn(t,t.length))}function ie(e,t){if(e.g==null||t>=e.i)throw Y(new aV(t,e.i));return e.Ui(t,e.g[t])}function Wfn(e,t){At();var r,o;for(o=new je,r=0;r<e;++r)Rt(o.c,t);return new mq(o)}function Mft(e){return v1(e),xS(!0,"n may not be negative"),new vt(e,new rht(e.a))}function Kfn(e,t){return T1(),na(e.b.c.length-e.e.c.length,t.b.c.length-t.e.c.length)}function w_(e,t){var r,o;o=e.a,r=xgn(e,t,null),o!=t&&!e.e&&(r=ox(e,t,r)),r&&r.mj()}function Yfn(e,t){var r;return r=Di(Ao(l(Ut(e.g,t),8)),pde(l(Ut(e.f,t),463).b)),r}function Pft(e,t,r){var o=function(){return e.apply(o,arguments)};return t.apply(o,r),o}function HS(e){var t;return T3(e==null||Array.isArray(e)&&(t=b6(e),!(t>=14&&t<=16))),e}function jft(){jft=K,VNt=yn((K6(),Z(X(sTe,1),Ce,284,0,[Z$,rTe,oTe,nTe,iTe,Jee])))}function Fft(){Fft=K,WNt=yn((W_(),Z(X(fTe,1),Ce,285,0,[NI,cTe,dTe,lTe,uTe,aTe])))}function $ft(){$ft=K,GNt=yn((xF(),Z(X(QSe,1),Ce,286,0,[Vee,qee,Kee,Wee,Yee,J$])))}function Bft(){Bft=K,PNt=yn((eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,qy,JE,YE])))}function Uft(){Uft=K,bDt=yn((AF(),Z(X(zNe,1),Ce,328,0,[kre,BNe,HNe,FNe,UNe,$Ne])))}function Hft(){Hft=K,B6t=yn((Zb(),Z(X(hre,1),Ce,300,0,[fre,w4,m4,dre,g4,b4])))}function zft(){zft=K,L6t=yn((mh(),Z(X(qke,1),Ce,259,0,[ure,jL,FL,rU,tU,nU])))}function Gft(){Gft=K,TDt=yn((qi(),Z(X(ZNe,1),Ce,103,0,[K1,pf,Sk,_m,Oh,fa])))}function qft(){qft=K,ADt=yn((xc(),Z(X(dU,1),Ce,282,0,[Y1,Rp,KL,k4,x4,KT])))}function Jfn(){return _y(),Z(X(Go,1),Ce,96,0,[ad,Ip,cd,ld,Rh,Il,ku,ud,Cl])}function V3(){V3=K,YL=new iV(uEe,0),Nre=new iV("PARENT",1),e3e=new iV("ROOT",2)}function Vft(e,t){return e.n=t,e.n?(e.f=new je,e.e=new je):(e.f=null,e.e=null),e}function Ub(e,t){var r;r=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,3,r,e.f))}function gj(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,1,r,e.b))}function y0(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,3,r,e.b))}function v0(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,4,r,e.c))}function Hb(e,t){var r;r=e.g,e.g=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,4,r,e.g))}function va(e,t){var r;r=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,5,r,e.i))}function gc(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,6,r,e.j))}function E0(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,1,r,e.j))}function S0(e,t){var r;r=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,2,r,e.k))}function bj(e,t){var r;r=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&pr(e,new cy(e,0,r,e.a))}function ug(e,t){var r;r=e.s,e.s=t,e.Db&4&&!(e.Db&1)&&pr(e,new zW(e,4,r,e.s))}function dy(e,t){var r;r=e.t,e.t=t,e.Db&4&&!(e.Db&1)&&pr(e,new zW(e,5,r,e.t))}function mK(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&pr(e,new zW(e,2,r,e.d))}function y_(e,t){var r;r=e.F,e.F=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,5,r,t))}function y6(e,t){var r;return r=l(Ut((t8(),EU),e),58),r?r.ek(t):we(Ri,It,1,t,5,1)}function fp(e,t){var r,o;return r=t in e.a,r&&(o=op(e,t).pe(),o)?o.a:null}function Xfn(e,t){var r,o,a;return r=(o=(t1(),a=new zce,a),t&&Wme(o,t),o),dge(r,e),r}function Wft(e,t,r){var o;return o=B_(r),Jn(e.c,o,t),Jn(e.d,t,r),Jn(e.e,t,ry(t)),t}function fn(e,t,r,o,a,u){var f;return f=fW(e,t),Yft(r,f),f.i=a?8:0,f.f=o,f.e=a,f.g=u,f}function Jpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=1,this.c=e,this.a=r}function Xpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=2,this.c=e,this.a=r}function Zpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=6,this.c=e,this.a=r}function Qpe(e,t,r,o,a){this.d=t,this.k=o,this.f=a,this.o=-1,this.p=7,this.c=e,this.a=r}function ege(e,t,r,o,a){this.d=t,this.j=o,this.e=a,this.o=-1,this.p=4,this.c=e,this.a=r}function Kft(e,t){var r,o,a,u;for(o=t,a=0,u=o.length;a<u;++a)r=o[a],Tdt(e.a,r);return e}function Wu(e){var t,r,o,a;for(r=e,o=0,a=r.length;o<a;++o)t=r[o],kn(t);return new $nt(e)}function tge(e){var t;return t=Di(Ao(e.d.d),e.c.d),G_(t,e.c.e.a,e.c.e.b),mr(t,e.c.d)}function nge(e){var t;return t=Di(Ao(e.c.d),e.d.d),G_(t,e.d.e.a,e.d.e.b),mr(t,e.d.d)}function Zfn(e){var t=/function(?:\s+([\w$]+))?\s*\(/,r=t.exec(e);return r&&r[1]||nX}function Yft(e,t){if(e){t.n=e;var r=Pcn(t);if(!r){c$[e]=[t];return}r.Pm=t}}function Qfn(e,t,r){var o,a;return a=e.length,o=b.Math.min(r,a),Eme(e,0,t,0,o,!0),t}function Jft(e,t,r){if(C_(e,r),!e.il()&&r!=null&&!e.dk(r))throw Y(new QG);return r}function wn(e,t){var r;return Mt(t),r=e[":"+t],HO(!!r,"Enum constant undefined: "+t),r}function ehn(e,t){var r,o;return r=e.c,o=t.e[e.p],o>0?l(ze(r.a,o-1),9):null}function Yl(e){if(!(e>=0))throw Y(new jt("tolerance ("+e+") must be >= 0"));return e}function W3(){return are||(are=new Eyt,mE(are,Z(X(qE,1),It,139,0,[new Wce]))),are}function mj(){mj=K,A_e=new qq("NO",0),Jte=new qq(Mwe,1),T_e=new qq("LOOK_BACK",2)}function wj(){wj=K,WSe=new Mq("ARD",0),K$=new Mq("MSD",1),Pee=new Mq("MANUAL",2)}function Fo(){Fo=K,YI=new Uq(qC,0),Cc=new Uq("INPUT",1),Ba=new Uq("OUTPUT",2)}function thn(){return tD(),Z(X(JSe,1),Ce,268,0,[$ee,YSe,Uee,Hee,Bee,zee,cL,Fee,jee])}function nhn(){return rD(),Z(X(i_e,1),Ce,269,0,[Pte,t_e,n_e,Lte,e_e,r_e,_B,Dte,Mte])}function rhn(){return Uc(),Z(X(n3e,1),Ce,267,0,[Tk,QL,fU,C4,hU,gU,pU,Cre,ZL])}function Yo(e,t,r){return Yb(e,t),Ma(e,r),ug(e,0),dy(e,1),pg(e,!0),hg(e,!0),e}function Xft(e,t){var r;return se(t,45)?e.c.Kc(t):(r=lY(e,t),eF(e,t),r)}function K3(e,t){var r,o,a,u;for(o=t,a=0,u=o.length;a<u;++a)r=o[a],Wr(e,r,e.c.b,e.c)}function ihn(){Eet();for(var e=MQ,t=0;t<arguments.length;t++)e.push(arguments[t])}function ohn(e){var t,r,o,a;for(r=e.a,o=0,a=r.length;o<a;++o)t=r[o],Pst(t,t.length,null)}function yj(e){var t,r;for(r=e.c.Bc().Jc();r.Ob();)t=l(r.Pb(),18),t.$b();e.c.$b(),e.d=0}function v6(e,t){var r;if(r=e.gc(),t<0||t>r)throw Y(new Yw(t,r));return new hfe(e,t)}function Zft(e,t){var r,o;for(r=0,o=e.gc();r<o;++r)if(ia(t,e.Xb(r)))return r;return-1}function rge(e){var t,r;if(e==0)return 32;for(r=0,t=1;!(t&e);t<<=1)++r;return r}function wu(e,t){if(e<0)throw Y(new jt(t+" cannot be negative but was: "+e));return e}function shn(e,t){t.Tg("Hierarchical port constraint processing",1),_bn(e),C3n(e),t.Ug()}function vj(e,t){e.b=b.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),Fe(e.a,t)}function Qft(e){Gw(e.c>=0),z1n(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ahn(e){var t,r;for(r=new V(nbt(e));r.a<r.c.c.length;)t=l(q(r),692),t.Zf()}function chn(e,t){var r,o,a;a=t.c.i,r=l(Ut(e.f,a),60),o=r.d.c-r.e.c,La(t.b,new dJe(o))}function Ej(e,t){return pen(J3(e.a,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15)))))}function eht(e,t,r,o){this.$j(),this.a=t,this.b=e,this.c=null,this.c=new zit(this,t,r,o)}function wK(e,t,r,o,a){this.d=e,this.n=t,this.g=r,this.o=o,this.p=-1,a||(this.o=-2-o-1)}function tht(){kde.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Tl}function nht(e){wle(),this.g=new hn,this.f=new hn,this.b=new hn,this.c=new b0,this.i=e}function ige(){this.f=new ro,this.d=new $ue,this.c=new ro,this.a=new je,this.b=new je}function rht(e){R8.call(this,e.yd(64)?fde(0,El(e.xd(),1)):wD,e.wd()),this.b=1,this.a=e}function uhn(e,t){return US(),l(F(t,(js(),l2)),15).a<e.gc()&&l(F(t,l2),15).a>=0}function oge(){oge=K,l4t=$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)}function iht(){iht=K,d4t=$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)}function sge(){sge=K,f4t=$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)}function oht(){oht=K,h4t=$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)}function sht(){sht=K,p4t=$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)}function aht(){aht=K,g4t=$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)}function cht(){cht=K,w4t=Ra($n($n(new ci,(Vi(),la),(Xi(),L$)),da,C$),zo,D$)}function uht(){uht=K,rxt=Z(X(Rn,1),Qn,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function age(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,0,r,e.b))}function cge(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,1,r,e.c))}function yK(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,4,r,e.c))}function uge(e,t){var r;r=e.c,e.c=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,1,r,e.c))}function lge(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,1,r,e.d))}function v_(e,t){var r;r=e.k,e.k=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,2,r,e.k))}function vK(e,t){var r;r=e.D,e.D=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,2,r,e.D))}function Sj(e,t){var r;r=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,8,r,e.f))}function Tj(e,t){var r;r=e.i,e.i=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,7,r,e.i))}function dge(e,t){var r;r=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,8,r,e.a))}function fge(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,0,r,e.b))}function lhn(e,t,r){var o;e.b=t,e.a=r,o=(e.a&512)==512?new rQe:new Vce,e.c=JSn(o,e.b,e.a)}function lht(e,t){return wp(e.e,t)?(Mo(),dK(t)?new rP(t,e):new xO(t,e)):new _nt(t,e)}function dhn(e){var t,r;return 0>e?new ble:(t=e+1,r=new wlt(t,e),new Vde(null,r))}function fhn(e,t){At();var r;return r=new dS(1),zi(e)?rs(r,e,t):ec(r.f,e,t),new YG(r)}function hhn(e,t){var r;r=new Vm,l(t.b,68),l(t.b,68),l(t.b,68),La(t.a,new Efe(e,r,t))}function dht(e,t){var r;return se(t,8)?(r=l(t,8),e.a==r.a&&e.b==r.b):!1}function phn(e){var t;return t=F(e,(Ie(),wr)),se(t,176)?Lgt(l(t,176)):null}function fht(e){var t;return e=b.Math.max(e,2),t=Fge(e),e>t?(t<<=1,t>0?t:BC):t}function EK(e){switch(Ade(e.e!=3),e.e){case 2:return!1;case 0:return!0}return ydn(e)}function hge(e){var t;return e.b==null?(tg(),tg(),l5):(t=e.sl()?e.rl():e.ql(),t)}function hht(e,t){var r,o;for(o=t.vc().Jc();o.Ob();)r=l(o.Pb(),45),V6(e,r.jd(),r.kd())}function pge(e,t){var r;r=e.d,e.d=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,11,r,e.d))}function Aj(e,t){var r;r=e.j,e.j=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,13,r,e.j))}function gge(e,t){var r;r=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,21,r,e.b))}function bge(e,t){e.r>0&&e.c<e.r&&(e.c+=t,e.i&&e.i.d>0&&e.g!=0&&bge(e.i,t/e.r*e.i.d))}function bE(e){var t;return LV(e.f.g,e.d),cn(e.b),e.c=e.a,t=l(e.a.Pb(),45),e.b=Nge(e),t}function pht(e,t){var r;return r=t==null?-1:_s(e.b,t,0),r<0?!1:(SK(e,r),!0)}function Jl(e,t){var r;return Mt(t),r=t.g,e.b[r]?!1:(ii(e.b,r,t),++e.c,!0)}function _j(e,t){var r,o;return r=1-t,o=e.a[r],e.a[r]=o.a[t],o.a[t]=e,e.b=!0,o.b=!1,o}function SK(e,t){var r;r=sg(e.b,e.b.c.length-1),t<e.b.c.length&&(nu(e.b,t,r),Zmt(e,t))}function ghn(e,t){(JP(),sf?null:t.c).length==0&&git(t,new Er),rs(e.a,sf?null:t.c,t)}function ght(e,t,r){var o,a,u;for(u=e.a.length-1,a=e.b,o=0;o<r;a=a+1&u,++o)ii(t,o,e.a[a])}function bhn(e,t){typeof window===pD&&typeof window.$gwt===pD&&(window.$gwt[e]=t)}function mhn(e,t){ei(dr(new vt(null,new St(new Xh(e.b),1)),new Ktt(e,t)),new Jtt(e,t))}function p1(){p1=K,_T=new lr(Nwe),S$=new lr(Q2t),SI=new lr(eSt),tL=new lr(tSt)}function E_(){E_=K,iL=new Ole("TO_INTERNAL_LTR",0),vee=new Ole("TO_INPUT_DIRECTION",1)}function xj(){xj=K,UB=new qle("P1_NODE_PLACEMENT",0),f2=new qle("P2_EDGE_ROUTING",1)}function T0(){T0=K,Q0=new Lq("START",0),j1=new Lq("MIDDLE",1),Z0=new Lq("END",2)}function bht(e,t,r){epe.call(this,e,t,r),this.a=new hn,this.b=new hn,this.d=new OJe(this)}function mht(e){Vfe.call(this),this.b=ce(le(F(e,(Ue(),od)))),this.a=l(F(e,kp),225)}function whn(e,t){var r,o;return r=l(F(e,(Ue(),ev)),8),o=l(F(t,ev),8),vr(r.b,o.b)}function yhn(e,t){var r,o;o=new je,r=t;do Rt(o.c,r),r=l(Ut(e.k,r),17);while(r);return o}function TK(e,t,r){var o;return o=new je,Jme(e,t,o,r,!0,!0),e.b=new Cj(o.c.length),o}function wht(e,t){var r;return r=l(Ut(e.c,t),459),r||(r=new PZe,r.c=t,Jn(e.c,r.c,r)),r}function AK(e,t){var r=e.a,o=0;for(var a in r)r.hasOwnProperty(a)&&(t[o++]=a);return t}function mge(e){var t,r;for(r=new tn(e);r.e!=r.i.gc();)t=l(rn(r),19),va(t,0),gc(t,0)}function yht(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),RZt(t,new yst(t.f))}function wge(e){var t,r;for(r=e.c.a.ec().Jc();r.Ob();)t=l(r.Pb(),221),OZt(t,new lmt(t.e))}function zb(e,t){var r,o;for(r=e.Nc(),g_(r,0,r.length,t),o=0;o<r.length;o++)e.fd(o,r[o])}function Ma(e,t){var r;r=e.zb,e.zb=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,1,r,e.zb))}function Jr(e,t){var r,o;r=(o=new rq,o),r.n=t,Tn((!e.s&&(e.s=new ke(ac,e,21,17)),e.s),r)}function Lr(e,t){var r,o;o=(r=new Gde,r),o.n=t,Tn((!e.s&&(e.s=new ke(ac,e,21,17)),e.s),o)}function _K(e,t){var r;return se(t,18)?(r=l(t,18),e.Fc(r)):fK(e,l(kn(t),22).Jc())}function kj(e,t){var r;r=e.xb,e.xb=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,3,r,e.xb))}function Nj(e,t){var r;r=e.yb,e.yb=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,2,r,e.yb))}function vhn(e,t){t.Tg(bSt,1),ei(bs(new vt(null,new St(e.b,16)),new CG),new h9),t.Ug()}function Rr(e){return zi(e)?lg(e):zw(e)?mS(e):Hw(e)?bit(e):Xfe(e)?e.Hb():Kfe(e)?s0(e):Dhe(e)}function wo(e,t){var r,o,a;for(Mt(t),r=!1,a=t.Jc();a.Ob();)o=a.Pb(),r=r|e.Ec(o);return r}function vht(e){var t,r,o;for(t=0,o=e.Jc();o.Ob();)r=o.Pb(),t+=r!=null?Rr(r):0,t=~~t;return t}function Eht(e){var t;return e==0?"UTC":(e<0?(e=-e,t="UTC+"):t="UTC-",t+ift(e))}function yge(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=ZO(Gs(e.f))),e.c).e}function Sht(e,t){t?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function oi(e,t,r,o,a,u,f,p,m,y,v,T,N){return Vmt(e,t,r,o,a,u,f,p,m,y,v,T,N),rY(e,!1),e}function xK(e,t,r,o,a,u){var f;this.c=e,f=new je,tbe(e,f,t,e.b,r,o,a,u),this.a=new Ji(f,0)}function Tht(){this.c=new z9(0),this.b=new z9(sve),this.d=new z9(USt),this.a=new z9(HSt)}function Aht(e){this.e=e,this.d=new H9(py(kS(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function Cj(e){this.b=e,this.a=we(Rn,Qn,30,e+1,15,1),this.c=we(Rn,Qn,30,e,15,1),this.d=0}function Ehn(){return x1(),Z(X(h_e,1),Ce,246,0,[NB,SL,TL,l_e,d_e,u_e,f_e,CB,ak,KI])}function Shn(){return $o(),Z(X(Xee,1),Ce,262,0,[Q$,rl,CI,eB,Qx,ZE,II,Xx,Zx,tB])}function _ht(e,t){return ce(le(Xc(L6(Oa(new vt(null,new St(e.c.b,16)),new yJe(e)),t))))}function vge(e,t){return ce(le(Xc(L6(Oa(new vt(null,new St(e.c.b,16)),new wJe(e)),t))))}function xht(e,t){return Ud(),Yl(nf),b.Math.abs(0-t)<=nf||t==0||isNaN(0)&&isNaN(t)?0:e/t}function Thn(e,t){return x_(),e==X0&&t==Uy||e==Uy&&t==X0||e==VE&&t==By||e==By&&t==VE}function Ahn(e,t){return x_(),e==X0&&t==By||e==X0&&t==VE||e==Uy&&t==VE||e==Uy&&t==By}function _hn(e,t,r){var o,a,u;for(o=0,a=0;a<r;a++)u=t[a],e[a]=u<<1|o,o=u>>>31;o!=0&&(e[r]=o)}function Ege(e,t,r){var o,a;for(a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),8),o.a+=t,o.b+=r;return e}function Y3(e,t,r){var o;for(o=e.b[r&e.f];o;o=o.b)if(r==o.a&&rp(t,o.g))return o;return null}function J3(e,t,r){var o;for(o=e.c[r&e.f];o;o=o.d)if(r==o.f&&rp(t,o.i))return o;return null}function xhn(e,t){var r,o;return r=l(ve(e,(A1(),zB)),15),o=l(ve(t,zB),15),na(r.a,o.a)}function khn(e,t){var r;t.Tg("General Compactor",1),r=T1n(l(ve(e,(A1(),Ene)),387)),r.Bg(e)}function Nhn(e,t,r){r.Tg("DFS Treeifying phase",1),L1n(e,t),wSn(e,t),e.a=null,e.b=null,r.Ug()}function Chn(e,t,r,o){var a;a=new aS,Mb(a,"x",yF(e,t,o.a)),Mb(a,"y",vF(e,t,o.b)),RS(r,a)}function Ihn(e,t,r,o){var a;a=new aS,Mb(a,"x",yF(e,t,o.a)),Mb(a,"y",vF(e,t,o.b)),RS(r,a)}function kK(){kK=K,L4=new ZZe,Bre=Z(X(ac,1),HE,182,0,[]),wLt=Z(X(Dl,1),REe,62,0,[])}function zS(){zS=K,Tee=new Pr("edgelabelcenterednessanalysis.includelabel",(Lt(),L1))}function bc(){bc=K,eSe=new vG,Z2e=new EG,Q2e=new SG,X2e=new TG,tSe=new AG,nSe=new DN}function Rhn(e,t){t.Tg(bSt,1),N1e(Nen(new _9((KN(),new mW(e,!1,!1,new l9))))),t.Ug()}function NK(e){var t;return t=Qhe(e),d3(t.a,0)?($w(),$w(),JQ):($w(),new TV(t.b))}function CK(e){var t;return t=Qhe(e),d3(t.a,0)?($w(),$w(),JQ):($w(),new TV(t.c))}function Ohn(e){var t;return t=UP(e),d3(t.a,0)?(W9(),W9(),bxt):(W9(),new eit(t.b))}function Dhn(e){return e.b.c.i.k==(Ht(),yi)?l(F(e.b.c.i,(Ie(),wr)),12):e.b.c}function kht(e){return e.b.d.i.k==(Ht(),yi)?l(F(e.b.d.i,(Ie(),wr)),12):e.b.d}function Nht(e){switch(e.g){case 2:return He(),Wt;case 4:return He(),Qt;default:return e}}function Cht(e){switch(e.g){case 1:return He(),dn;case 3:return He(),Vt;default:return e}}function Lhn(e,t){var r;return r=$be(e),bme(new Me(r.c,r.d),new Me(r.b,r.a),e.Kf(),t,e.$f())}function Mhn(e){var t,r,o;for(o=0,r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),26),t.p=o,++o}function X3(e,t){var r,o;for(Mt(t),o=t.vc().Jc();o.Ob();)r=l(o.Pb(),45),e.yc(r.jd(),r.kd())}function Phn(e,t,r){var o;for(o=r.Jc();o.Ob();)if(!zP(e,t,o.Pb()))return!1;return!0}function jhn(e,t){var r;for(kn(t);e.Ob();)if(r=e.Pb(),!kge(l(r,9)))return!1;return!0}function Fhn(e,t,r,o,a){var u;return r&&(u=Ur(t.Ah(),e.c),a=r.Oh(t,-1-(u==-1?o:u),null,a)),a}function $hn(e,t,r,o,a){var u;return r&&(u=Ur(t.Ah(),e.c),a=r.Qh(t,-1-(u==-1?o:u),null,a)),a}function Iht(e){var t;if(e.b==-2){if(e.e==0)t=-1;else for(t=0;e.a[t]==0;t++);e.b=t}return e.b}function Bhn(e){if(Mt(e),e.length==0)throw Y(new kf("Zero length BigInteger"));hAn(this,e)}function Sge(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function Rht(e,t,r){this.g=e,this.d=t,this.e=r,this.a=new je,Ivn(this),At(),ki(this.a,null)}function Ku(e,t,r,o,a,u,f){mn.call(this,e,t),this.d=r,this.e=o,this.c=a,this.b=u,this.a=Wl(f)}function Tge(e,t){t.q=e,e.d=b.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),Fe(e.a,t)}function IK(e,t){var r,o,a,u;return a=e.c,r=e.c+e.b,u=e.d,o=e.d+e.a,t.a>a&&t.a<r&&t.b>u&&t.b<o}function fy(e,t){var r,o;for(o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a+=t.a,r.b+=t.b;return e}function Uhn(e,t){return t<e.b.gc()?l(e.b.Xb(t),9):t==e.b.gc()?e.a:l(ze(e.e,t-e.b.gc()-1),9)}function E6(e,t){return Lt(),zi(e)?vpe(e,In(t)):zw(e)?QV(e,le(t)):Hw(e)?ksn(e,Ke(t)):e.Dd(t)}function Ij(e,t){var r;se(t,93)?(l(e.c,78).Ek(),r=l(t,93),hht(e,r)):l(e.c,78).Wb(t)}function Oht(e,t,r,o){se(e.Cb,187)&&(l(e.Cb,187).tb=null),Ma(e,r),t&&Vvn(e,t),o&&e.el(!0)}function S6(e,t){var r,o;for(Mt(t),o=e.vc().Jc();o.Ob();)r=l(o.Pb(),45),t.Wd(r.jd(),r.kd())}function Hhn(e){var t,r,o;return e.j==(He(),Vt)&&(t=B0t(e),r=fc(t,Qt),o=fc(t,Wt),o||o&&r)}function Age(){Age=K,y4t=Pf(Ont($n($n(new ci,(Vi(),la),(Xi(),L$)),da,C$),zo),D$)}function Dht(){Dht=K,T4t=Pf(Ont($n($n(new ci,(Vi(),la),(Xi(),L$)),da,C$),zo),D$)}function Lht(){Lht=K,aNt=yn((Ht(),Z(X(yee,1),Ce,252,0,[Xr,bi,yi,_a,ta,af,rL,AI])))}function Mht(){Mht=K,MNt=yn((UF(),Z(X(USe,1),Ce,277,0,[Nee,Ree,kee,Lee,Iee,Cee,Dee,Oee])))}function Pht(){Pht=K,D6t=yn((_1(),Z(X(O6t,1),Ce,287,0,[Hke,xi,vo,HT,Qi,$r,UT,lf])))}function jht(){jht=K,XDt=yn((sT(),Z(X(s5,1),Ce,235,0,[Pre,vU,o5,i5,Mre,yU,wU,Lre])))}function Fht(){return IC(),Z(X(wCn,1),Ce,265,0,[Qte,M_e,$_e,B_e,F_e,L_e,U_e,O_e,j_e,P_e,D_e])}function Rj(){Rj=K,Ane=new Jq(_d,0),Lxe=new Jq("POLAR_COORDINATE",1),Dxe=new Jq("ID",2)}function S_(){S_=K,EI=new Pr("debugSVG",(Lt(),!1)),k2e=new Pr("overlapsExisted",!0)}function zhn(){var e;return tee||(tee=new xZe,e=new VW(""),xtn(e,(GA(),E2e)),ghn(tee,e)),tee}function $ht(e){return Ww(),e.A.Gc((su(),gv))&&!e.B.Gc((Uc(),QL))?$gt(e):null}function Bht(e,t){var r;return r=l0e(W3(),e),r?(Vn(t,(_n(),fv),r),!0):!1}function yu(e,t){var r;for(r=0;r<t.j.c.length;r++)l(f6(e,r),24).Fc(l(f6(t,r),18));return e}function Ghn(e,t){var r,o;for(o=new V(t.b);o.a<o.c.c.length;)r=l(q(o),26),e.a[r.p]=nyn(r)}function hy(e){this.f=e,this.e=new dpe(this.f.i),this.a=this.e,this.b=Nge(this),this.d=this.f.g}function ni(e,t){Q8.call(this,yLt,e,t),this.b=this,this.a=za(e.Ah(),kt(this.e.Ah(),this.c))}function Uht(){this.a=l(Ge((ed(),v$)),15).a,this.c=ce(le(Ge(E$))),this.b=ce(le(Ge(cee)))}function Hht(e,t){e.a=_o(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d=_o(e.d,t)}function RK(e,t,r,o){var a;a=e.a.length,r>a?r=a:Jt(t,r+1),e.a=yl(e.a,0,t)+(""+o)+ghe(e.a,r)}function Gb(e,t,r){var o,a;return a=l(S3(e.d,t),15),o=l(S3(e.b,r),15),!a||!o?null:$S(e,a.a,o.a)}function qhn(e,t,r){return vr(yS(U_(e),new Me(t.e.a,t.e.b)),yS(U_(e),new Me(r.e.a,r.e.b)))}function Vhn(e,t,r){return e==(Kb(),RB)?new qUe:Bc(t,1)!=0?new ole(r.length):new LQe(r.length)}function pr(e,t){var r,o,a;if(r=e.qh(),r!=null&&e.th())for(o=0,a=r.length;o<a;++o)r[o].bj(t)}function T_(e,t){var r,o;for(r=e,o=ji(r).e;o;){if(r=o,r==t)return!0;o=ji(r).e}return!1}function g1(e){var t;return t=e.h,t==0?e.l+e.m*fT:t==Ep?e.l+e.m*fT-nm:e}function Whn(e,t,r){var o,a;return o=e.a.f[t.p],a=e.a.f[r.p],o<a?-1:o==a?0:1}function py(e){return e<3?(wu(e,f2t),e+1):e<BC?bo(b.Math.ceil(e/.75)):ar}function Gs(e){return SD<e&&e<nm?e<0?b.Math.ceil(e):b.Math.floor(e):g1(tSn(e))}function zht(e){switch(e.a.g){case 1:return new ent;case 3:return new ibt;default:return new nKe}}function qt(e,t){var r;return e.Db&t?(r=PY(e,t),r==-1?e.Eb:HS(e.Eb)[r]):null}function Khn(e){var t;if(e.a==e.b.a)throw Y(new vs);return t=e.a,e.c=t,e.a=l(wl(e.a.e),229),t}function Ght(e){var t;e.d==null?(++e.e,e.f=0,rgt(null)):(++e.e,t=e.d,e.d=null,e.f=0,rgt(t))}function Yhn(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),70),Fe(e.d,r),ryn(e,r)}function Jhn(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)r=l(rn(o),19),Bu(r,r.i+t.b,r.j+t.d)}function Ps(e,t){var r,o;return r=(o=new Yce,o),r.G=t,!e.rb&&(e.rb=new Qw(e,Ld,e)),Tn(e.rb,r),r}function ir(e,t){var r,o;return r=(o=new R9,o),r.G=t,!e.rb&&(e.rb=new Qw(e,Ld,e)),Tn(e.rb,r),r}function T6(e){var t,r,o;for(o=0,r=new fS(e.a);r.a<r.c.a.length;)t=U3(r),e.b.Gc(t)&&++o;return o}function Xhn(e){var t,r,o;for(t=1,o=e.Jc();o.Ob();)r=o.Pb(),t=31*t+(r==null?0:Rr(r)),t=~~t;return t}function A6(e){var t;return e<128?(Got(),t=n2e[e],!t&&(t=n2e[e]=new cue(e)),t):new cue(e)}function Oj(e){var t;if(e.g>1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw Y(new vs)}function Zhn(e){rrt();var t;return att(Zte,e)||(t=new cHe,t.a=e,Qde(Zte,e,t)),l(Ko(Zte,e),642)}function vl(e){var t,r,o,a;return a=e,o=0,a<0&&(a+=nm,o=Ep),r=bo(a/fT),t=bo(a-r*fT),Ua(t,r,o)}function qht(e,t){var r;return r=e.a.get(t),r===void 0?++e.d:(rrn(e.a,t),--e.c,++e.b.g),r}function qs(e,t){var r;return t&&(r=t.lf(),r.dc()||(e.q?X3(e.q,r):e.q=new Gnt(r))),e}function Qhn(e,t){var r,o,a;return r=t.p-e.p,r==0?(o=e.f.a*e.f.b,a=t.f.a*t.f.b,vr(o,a)):r}function _ge(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Yhe(e,t)}function epn(e){return e.b.c.length!=0&&l(ze(e.b,0),70).a?l(ze(e.b,0),70).a:EW(e)}function tpn(e,t){var r;try{t.be()}catch(o){if(o=ui(o),se(o,81))r=o,Rt(e.c,r);else throw Y(o)}}function npn(e,t){var r;t.Tg("Edge and layer constraint edge reversal",1),r=NTn(e),lNn(r),t.Ug()}function rpn(e,t){var r,o;return r=e.j,o=t.j,r!=o?r.g-o.g:e.p==t.p?0:r==(He(),Vt)?e.p-t.p:t.p-e.p}function A_(e,t){this.b=e,this.e=t,this.d=t.j,this.f=(Mo(),l(e,69).vk()),this.k=za(t.e.Ah(),e)}function qb(e,t,r){this.b=(Mt(e),e),this.d=(Mt(t),t),this.e=(Mt(r),r),this.c=this.d+(""+this.e)}function xge(e,t,r,o,a){Tpt.call(this,e,r,o,a),this.f=we(Nh,vg,9,t.a.c.length,0,1),Yd(t.a,this.f)}function Z3(e,t,r,o,a){ii(e.c[t.g],r.g,o),ii(e.c[r.g],t.g,o),ii(e.b[t.g],r.g,a),ii(e.b[r.g],t.g,a)}function Vht(e,t){e.c&&(Ryt(e,t,!0),ei(new vt(null,new St(t,16)),new _Je(e))),Ryt(e,t,!1)}function _6(e){this.n=new je,this.e=new Ar,this.j=new Ar,this.k=new je,this.f=new je,this.p=e}function Wht(e){e.r=new pi,e.w=new pi,e.t=new je,e.i=new je,e.d=new pi,e.a=new wS,e.c=new hn}function A0(){A0=K,eL=new s8("UP",0),QD=new s8(DX,1),oee=new s8(hT,2),see=new s8(pT,3)}function Dj(){Dj=K,m_e=new Hq("EQUALLY",0),Vte=new Hq("NORTH",1),w_e=new Hq("NORTH_SOUTH",2)}function __(){__=K,Zee=new jq("ONE_SIDED",0),Qee=new jq("TWO_SIDED",1),uL=new jq("OFF",2)}function Kht(){Kht=K,ODt=yn((Uc(),Z(X(n3e,1),Ce,267,0,[Tk,QL,fU,C4,hU,gU,pU,Cre,ZL])))}function Yht(){Yht=K,EDt=yn((_y(),Z(X(Go,1),Ce,96,0,[ad,Ip,cd,ld,Rh,Il,ku,ud,Cl])))}function Jht(){Jht=K,BNt=yn((tD(),Z(X(JSe,1),Ce,268,0,[$ee,YSe,Uee,Hee,Bee,zee,cL,Fee,jee])))}function Xht(){Xht=K,zIt=yn((rD(),Z(X(i_e,1),Ce,269,0,[Pte,t_e,n_e,Lte,e_e,r_e,_B,Dte,Mte])))}function Xl(){Xl=K,Gy=new l8(px,0),qx=new l8(hT,1),Vx=new l8(pT,2),_ee=new l8("TOP",3)}function Lj(){Lj=K,Xte=new Vq("OFF",0),ck=new Vq("SINGLE_EDGE",1),iv=new Vq("MULTI_EDGE",2)}function x6(){x6=K,eU=new Yle("MINIMUM_SPANNING_TREE",0),Oke=new Yle("MAXIMUM_SPANNING_TREE",1)}function ipn(e,t,r){var o,a;a=l(F(e,(Ue(),as)),79),a&&(o=new Lc,KK(o,0,a),fy(o,r),wo(t,o))}function kge(e){var t;return t=l(F(e,(Ie(),Hs)),64),e.k==(Ht(),yi)&&(t==(He(),Wt)||t==Qt)}function opn(e){var t;if(e){if(t=e,t.dc())throw Y(new vs);return t.Xb(t.gc()-1)}return Lct(e.Jc())}function OK(e,t,r,o){return r==1?(!e.n&&(e.n=new ke(Rs,e,1,7)),xo(e.n,t,o)):Wbe(e,t,r,o)}function k6(e,t){var r,o;return o=(r=new jG,r),Ma(o,t),Tn((!e.A&&(e.A=new dc(Ka,e,7)),e.A),o),o}function spn(e,t,r){var o,a,u,f;return u=null,f=t,a=m0(f,fQ),o=new snt(e,r),u=(Nbt(o.a,o.b,a),a),u}function Mj(e,t,r){var o,a,u,f;f=ji(e),o=f.d,a=f.c,u=e.n,t&&(u.a=u.a-o.b-a.a),r&&(u.b=u.b-o.d-a.b)}function apn(e,t){var r,o,a;return r=e.l+t.l,o=e.m+t.m+(r>>22),a=e.h+t.h+(o>>22),Ua(r&Hc,o&Hc,a&Ep)}function Zht(e,t){var r,o,a;return r=e.l-t.l,o=e.m-t.m+(r>>22),a=e.h-t.h+(o>>22),Ua(r&Hc,o&Hc,a&Ep)}function N6(e,t){var r,o;for(Mt(t),o=t.Jc();o.Ob();)if(r=o.Pb(),!e.Gc(r))return!1;return!0}function DK(e){var t;return(!e.a||!(e.Bb&1)&&e.a.Sh())&&(t=Sl(e),se(t,160)&&(e.a=l(t,160))),e.a}function ui(e){var t;return se(e,81)?e:(t=e&&e.__java$exception,t||(t=new Gpt(e),vZe(t)),t)}function LK(e){if(se(e,196))return l(e,127);if(e)return null;throw Y(new cS(dAt))}function Qht(e){switch(e.g){case 0:return new Yze;case 1:return new Jze;case 2:default:return null}}function Nge(e){return e.a.Ob()?!0:e.a!=e.e?!1:(e.a=new Rpe(e.f.f),e.a.Ob())}function ept(e,t){if(t==null)return!1;for(;e.a!=e.b;)if(gr(t,Uj(e)))return!0;return!1}function tpt(e,t){return!e||!t||e==t?!1:t1t(e.d.c,t.d.c+t.d.b)&&t1t(t.d.c,e.d.c+e.d.b)}function cpn(){return JP(),sf?new VW(null):j0t(zhn(),"com.google.common.base.Strings")}function li(e,t){var r,o;return r=t.Nc(),o=r.length,o==0?!1:(Pfe(e.c,e.c.length,r),!0)}function upn(e,t){var r,o;return r=e.c,o=t.e[e.p],o<r.a.c.length-1?l(ze(r.a,o+1),9):null}function lpn(e){var t,r;for(U_n(e),r=new V(e.d);r.a<r.c.c.length;)t=l(q(r),108),t.i&&Oyn(t)}function npt(e,t){var r,o;for(o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),70),Te(r,(Ie(),OT),t)}function dpn(e,t,r){var o,a;for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),19),Bu(o,o.i+t,o.j+r)}function MK(e){var t,r,o;for(t=new Ar,o=An(e.d,0);o.b!=o.d.c;)r=l(Sn(o),65),Gn(t,r.c);return t}function Cge(e){var t,r,o,a;for(t=1,r=0,a=e.gc();r<a;++r)o=e.Ti(r),t=31*t+(o==null?0:Rr(o));return t}function rpt(e){var t,r;return r=(t=new jG,t),Ma(r,"T"),Tn((!e.d&&(e.d=new dc(Ka,e,11)),e.d),r),r}function ipt(e,t){var r;return r=uh(t.a.gc()),ei(fj(new vt(null,new St(t,1)),e.i),new Wtt(e,r)),r}function opt(e,t,r,o){var a;return t6(t,e.e.Pd().gc()),t6(r,e.c.Pd().gc()),a=e.a[t][r],ii(e.a[t],r,o),a}function fpn(e,t,r,o){l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),l(o.b,68),La(o.a,new vfe(e,t,o))}function hpn(e,t){e.d==(Si(),cs)||e.d==il?l(t.a,60).c.Ec(l(t.b,60)):l(t.b,60).c.Ec(l(t.a,60))}function Ige(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function ppn(e,t,r,o,a){return Z_(),b.Math.min(oEt(e,t,r,o,a),oEt(r,o,e,t,z8(new Me(a.a,a.b))))}function spt(e,t){if(!e)throw Y(new jt(CC("value already present: %s",Z(X(Ri,1),It,1,5,[t]))))}function apt(e,t,r){var o;Zs(e.a),La(r.i,new wXe(e)),o=new L8(l(Ut(e.a,t.b),68)),a1t(e,o,t),r.f=o}function gpn(e){var t;mg(e,!0),t=yg,br(e,(Ue(),ik))&&(t+=l(F(e,ik),15).a),Te(e,ik,Oe(t))}function PK(e){var t,r,o,a;for(a=new je,o=e.Jc();o.Ob();)r=l(o.Pb(),19),t=xy(r),li(a,t);return a}function Rge(e){var t,r;return r=(t1(),t=new b9,t),e&&Tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),r),r}function GS(e,t){var r,o;if(o=0,e<64&&e<=t)for(t=t<64?t:63,r=e;r<=t;r++)o=Of(o,fh(1,r));return o}function cpt(e){switch(e.g){case 1:return V1;case 2:return Ih;case 3:return qL;default:return VL}}function bpn(e){switch(l(F(e,(Ue(),Cs)),166).g){case 2:case 4:return!0;default:return!1}}function Oge(e,t){switch(t){case 0:!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),e.o.c.$b();return}rJ(e,t)}function mpn(e,t){var r,o;for(CP(t,"predicate"),o=0;e.Ob();o++)if(r=e.Pb(),t.Lb(r))return o;return-1}function Dge(e){At();var t,r,o;for(o=0,r=e.Jc();r.Ob();)t=r.Pb(),o=o+(t!=null?Rr(t):0),o=o|0;return o}function wpn(e){var t;return t=new he,t.a=e,t.b=Apn(e),t.c=we(Je,Pe,2,2,6,1),t.c[0]=Eht(e),t.c[1]=Eht(e),t}function Z(e,t,r,o,a){return a.Pm=e,a.Qm=t,a.Rm=fe,a.__elementTypeId$=r,a.__elementTypeCategory$=o,a}function ypn(e,t,r,o){return new Tle(Z(X(dm,1),n7,45,0,[(RY(e,t),new t0(e,t)),(RY(r,o),new t0(r,o))]))}function Pj(){Pj=K,Aee=new u8(_d,0),H$=new u8(ySt,1),z$=new u8(vSt,2),oL=new u8("BOTH",3)}function x_(){x_=K,X0=new a8("Q1",0),Uy=new a8("Q4",1),By=new a8("Q2",2),VE=new a8("Q3",3)}function b1(){b1=K,lL=new Fq("ONLY_WITHIN_GROUP",0),hTe=new Fq(FX,1),Vy=new Fq("ENFORCED",2)}function Vb(){Vb=K,Gee=new Pq(_d,0),Jx=new Pq("INCOMING_ONLY",1),XE=new Pq("OUTGOING_ONLY",2)}function qS(){qS=K,k6t=new eGe,x6t=new iGe}function jK(){jK=K,qQ={boolean:Een,number:LQt,string:MQt,object:Ymt,function:Ymt,undefined:hQt}}function upt(){upt=K,WIt=yn((x1(),Z(X(h_e,1),Ce,246,0,[NB,SL,TL,l_e,d_e,u_e,f_e,CB,ak,KI])))}function lpt(){lpt=K,KNt=yn(($o(),Z(X(Xee,1),Ce,262,0,[Q$,rl,CI,eB,Qx,ZE,II,Xx,Zx,tB])))}function vpn(e){var t,r,o,a;for(r=e.a,o=0,a=r.length;o<a;++o)t=r[o],Spt(e,t,(He(),dn)),Spt(e,t,Vt)}function dpt(e){var t,r,o;return r=e.n,o=e.o,t=e.d,new ql(r.a-t.b,r.b-t.d,o.a+(t.b+t.c),o.b+(t.d+t.a))}function Epn(e,t){return!e||!t||e==t?!1:x0(e.b.c,t.b.c+t.b.b)<0&&x0(t.b.c,e.b.c+e.b.b)<0}function FK(e,t,r){return e>=128?!1:e<64?f3(Gi(fh(1,e),r),0):f3(Gi(fh(1,e-64),t),0)}function Lge(e,t,r){var o;if(o=e.gc(),t>o)throw Y(new Yw(t,o));return e.Qi()&&(r=gct(e,r)),e.Ci(t,r)}function Spn(e,t){var r,o;return r=l(l(Ut(e.g,t.a),49).a,68),o=l(l(Ut(e.g,t.b),49).a,68),cvt(r,o)}function k_(e){var t,r,o;return t=~e.l+1&Hc,r=~e.m+(t==0?1:0)&Hc,o=~e.h+(t==0&&r==0?1:0)&Ep,Ua(t,r,o)}function Tpn(e){Z_();var t,r,o;for(r=we($i,Pe,8,2,0,1),o=0,t=0;t<2;t++)o+=.5,r[t]=rmn(o,e);return r}function fpt(e,t){var r,o,a,u;for(r=!1,o=e.a[t].length,u=0;u<o-1;u++)a=u+1,r=r|M1n(e,t,u,a);return r}function hpt(e){var t,r;return r=new XP,qs(r,e),Te(r,(p1(),_T),e),t=new hn,x_n(e,r,t),iNn(e,r,t),r}function Te(e,t,r){return r==null?(!e.q&&(e.q=new hn),FS(e.q,t)):(!e.q&&(e.q=new hn),Jn(e.q,t,r)),e}function C6(e,t,r){return r==null?(!e.q&&(e.q=new hn),FS(e.q,t)):(!e.q&&(e.q=new hn),Jn(e.q,t,r)),e}function ppt(e,t){return yS(U_(l(F(t,(js(),cw)),87)),new Me(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function gpt(e,t){this.b=e,eE.call(this,(l(ie(Ne((c1(),Bt).o),10),20),t.i),t.g),this.a=(kK(),Bre)}function Mge(e,t,r){this.q=new b.Date,this.q.setFullYear(e+N1,t,r),this.q.setHours(0,0,0,0),OC(this,0)}function Pge(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function bpt(e,t){for(;e.g==null&&!e.c?$he(e):e.g==null||e.i!=0&&l(e.g[e.i-1],51).Ob();)t.Bi(RF(e))}function I6(e,t,r){switch(r.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function jge(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return R1e(e,t)}function mpt(e){var t,r;return t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,r=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,t||r}function Q3(e){var t;return t=e.a[e.b],t==null?null:(ii(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function wpt(e,t,r){var o,a;return o=new nK(t,r),a=new Yt,e.b=Gwt(e,e.b,o,a),a.b||++e.c,e.b.b=!1,a.d}function ypt(e){var t,r;return r=Q6(e.h),r==32?(t=Q6(e.m),t==32?Q6(e.l)+32:t+20-10):r-12}function Fge(e){var t;if(e<0)return Zi;if(e==0)return 0;for(t=BC;!(t&e);t>>=1);return t}function Apn(e){var t;return e==0?"Etc/GMT":(e<0?(e=-e,t="Etc/GMT-"):t="Etc/GMT+",t+ift(e))}function $ge(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=Sl(e),se(t,89)&&(e.c=l(t,29))),e.c}function m1(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.g.c=-t.g.c-t.g.b;jF(e)}function w1(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.d.c=-t.d.c-t.d.b;Vme(e)}function _pn(e){var t,r,o;return t=l(e.e&&e.e(),10),o=(r=t.slice(),l(sK(r,t),10)),new Hu(t,o,t.length)}function $K(e){var t,r,o;t=~e.l+1&Hc,r=~e.m+(t==0?1:0)&Hc,o=~e.h+(t==0&&r==0?1:0)&Ep,e.l=t,e.m=r,e.h=o}function xs(e){var t,r,o,a,u;for(t=new ro,o=e,a=0,u=o.length;a<u;++a)r=o[a],t.a+=r.a,t.b+=r.b;return t}function Bge(e,t){At();var r,o,a,u,f;for(f=!1,o=t,a=0,u=o.length;a<u;++a)r=o[a],f=f|e.Ec(r);return f}function BK(e,t,r){var o,a,u,f;return u=null,f=t,a=m0(f,"labels"),o=new fnt(e,r),u=(X0t(o.a,o.b,a),a),u}function vpt(e,t,r){var o;return o=new je,Jme(e,t,o,(He(),Qt),!0,!1),Jme(e,r,o,Wt,!1,!1),o}function xpn(e,t,r,o){var a;return a=Pme(e,t,r,o),!a&&(a=Ngn(e,r,o),a&&!RE(e,t,a))?null:a}function kpn(e,t,r,o){var a;return a=jme(e,t,r,o),!a&&(a=eY(e,r,o),a&&!RE(e,t,a))?null:a}function Ept(e,t){var r;for(r=0;r<e.a.a.length;r++)if(!l(Kot(e.a,r),181).Lb(t))return!1;return!0}function Npn(e,t,r){if(kn(t),r.Ob())for(rde(t,Xst(r.Pb()));r.Ob();)rde(t,e.a),rde(t,Xst(r.Pb()));return t}function Uge(e){At();var t,r,o;for(o=1,r=e.Jc();r.Ob();)t=r.Pb(),o=31*o+(t!=null?Rr(t):0),o=o|0;return o}function Spt(e,t,r){var o,a,u,f;for(f=oC(t,r),u=0,a=f.Jc();a.Ob();)o=l(a.Pb(),12),Jn(e.c,o,Oe(u++))}function Wb(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.f.$b();CQt(e.b,e),Owt(e)}function hp(e){var t;return u1(e),t=new Hi,e.a.zd(t)?(VA(),new uq(Mt(t.a))):(VA(),VA(),w2e)}function Hge(e){var t;return e.b<=0?!1:(t=Nf("MLydhHmsSDkK",Qa(uo(e.c,0))),t>1||t>=0&&e.b<3)}function Cpn(e,t,r){return!BA(dr(new vt(null,new St(e.c,16)),new RA(new Ytt(t,r)))).zd((_b(),TT))}function UK(e,t,r){this.g=e,this.e=new ro,this.f=new ro,this.d=new Ar,this.b=new Ar,this.a=t,this.c=r}function HK(e,t,r,o){this.b=new je,this.n=new je,this.i=o,this.j=r,this.s=e,this.t=t,this.r=0,this.d=0}function Tpt(e,t,r,o){this.b=new hn,this.g=new hn,this.d=(rC(),xB),this.c=e,this.e=t,this.d=r,this.a=o}function Apt(e,t,r){e.g=iJ(e,t,(He(),Qt),e.b),e.d=iJ(e,r,Qt,e.b),!(e.g.c==0||e.d.c==0)&&dmt(e)}function _pt(e,t,r){e.g=iJ(e,t,(He(),Wt),e.j),e.d=iJ(e,r,Wt,e.j),!(e.g.c==0||e.d.c==0)&&dmt(e)}function Ipn(e,t,r,o,a){var u;return u=Ime(e,t),r&&$K(u),a&&(e=umn(e,t),o?D1=k_(e):D1=Ua(e.l,e.m,e.h)),u}function Rpn(e,t,r,o,a){var u,f;if(f=e.length,u=r.length,t<0||o<0||a<0||t+a>f||o+a>u)throw Y(new Iue)}function xpt(e,t){HO(e>=0,"Negative initial capacity"),HO(t>=0,"Non-positive load factor"),Zs(this)}function N_(){N_=K,$Se=new C$e,BSe=new I$e,ENt=new R$e,vNt=new O$e,yNt=new D$e,FSe=(Mt(yNt),new We)}function eC(){eC=K,H_e=new Kq(_d,0),ene=new Kq("MIDDLE_TO_MIDDLE",1),kL=new Kq("AVOID_OVERLAP",2)}function zge(e,t,r){switch(t){case 0:!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),Ij(e.o,r);return}sJ(e,t,r)}function Opn(e,t){switch(t.g){case 0:se(e.b,638)||(e.b=new Uht);break;case 1:se(e.b,639)||(e.b=new $ot)}}function kpt(e){switch(e.g){case 0:return new sGe;default:throw Y(new jt($7+(e.f!=null?e.f:""+e.g)))}}function Npt(e){switch(e.g){case 0:return new oGe;default:throw Y(new jt($7+(e.f!=null?e.f:""+e.g)))}}function Cpt(e){switch(e.g){case 0:return new cGe;default:throw Y(new jt(IZ+(e.f!=null?e.f:""+e.g)))}}function Ipt(e){switch(e.g){case 0:return new uGe;default:throw Y(new jt(IZ+(e.f!=null?e.f:""+e.g)))}}function Rpt(e){switch(e.g){case 0:return new tGe;default:throw Y(new jt(IZ+(e.f!=null?e.f:""+e.g)))}}function C_(e,t){if(!e.Ji()&&t==null)throw Y(new jt("The 'no null' constraint is violated"));return t}function Gge(e){var t,r,o;for(t=new Lc,o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),8),WA(t,0,new To(r));return t}function lg(e){var t,r;for(t=0,r=0;r<e.length;r++)t=(t<<5)-t+(Jt(r,e.length),e.charCodeAt(r))|0;return t}function Dpn(e){var t,r;t=l(F(e,(Ie(),Nc)),9),t&&(r=t.c,Xa(r.a,t),r.a.c.length==0&&Xa(ji(t).b,r))}function Lpn(e,t){var r,o;return r=l(ve(e,(ef(),OL)),15).a,o=l(ve(t,OL),15).a,r==o||r<o?-1:r>o?1:0}function Opt(e,t){var r,o,a;for(a=e.b;a;){if(r=e.a.Le(t,a.d),r==0)return a;o=r<0?0:1,a=a.a[o]}return null}function mE(e,t){var r,o,a,u,f;for(o=t,a=0,u=o.length;a<u;++a)r=o[a],f=new Kst(e),r.tf(f),F_n(f);Zs(e.f)}function Dpt(e,t,r){var o,a;this.g=e,this.c=t,this.a=this,this.d=this,a=fht(r),o=we(Y_t,yD,229,a,0,1),this.b=o}function Mpn(){hr();var e;return Vre||(e=ynn(k1("M",!0)),e=dP(k1("M",!1),e),Vre=e,Vre)}function qge(e){switch(e.g){case 1:return USt;default:case 2:return 0;case 3:return HSt;case 4:return sve}}function Vge(e,t){return kwt(e,t)?(yt(e.b,l(F(t,(Ie(),_p)),24),t),Gn(e.a,t),!0):!1}function Ppn(e){return Fe(e.c,(qS(),k6t)),Ype(e.a,ce(le(Ge((dY(),AB)))))?new qGe:new AXe(e)}function jpn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!zN(e.b))e.d=l(CS(e.b),51);else return null;return e.d}function Fpn(e,t){return br(e,(Ie(),Cr))&&br(t,Cr)?l(F(e,Cr),15).a-l(F(t,Cr),15).a:0}function $pn(e,t){return br(e,(Ie(),Cr))&&br(t,Cr)?l(F(t,Cr),15).a-l(F(e,Cr),15).a:0}function zK(e,t){var r;return t===e?!0:se(t,231)?(r=l(t,231),gr(e.Zb(),r.Zb())):!1}function GK(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function Lpt(e){return sf?we(yxt,N2t,574,0,0,1):l(Yd(e.a,we(yxt,N2t,574,e.a.c.length,0,1)),848)}function Wge(e,t){var r;t*2+1>=e.b.c.length||(Wge(e,2*t+1),r=2*t+2,r<e.b.c.length&&Wge(e,r),Zmt(e,t))}function Bpn(e,t){var r,o;for(o=An(e,0);o.b!=o.d.c;)r=l(Sn(o),221),r.e.length>0&&(t.Ad(r),r.i&&gbn(r))}function Kge(e,t,r){var o;for(o=r-1;o>=0&&e[o]===t[o];o--);return o<0?0:kq(Gi(e[o],Bo),Gi(t[o],Bo))?-1:1}function Upn(e,t){var r;return!e||e==t||!br(t,(Ie(),tw))?!1:(r=l(F(t,(Ie(),tw)),9),r!=e)}function wE(e,t,r){var o,a;return a=(o=new iq,o),Yo(a,t,r),Tn((!e.q&&(e.q=new ke(Dl,e,11,10)),e.q),a),a}function qK(e,t){var r,o;return o=l(qt(e.a,4),131),r=we(Fre,EQ,420,t,0,1),o!=null&&ca(o,0,r,0,o.length),r}function VK(e){var t,r,o,a;for(a=$en(KDt,e),r=a.length,o=we(Je,Pe,2,r,6,1),t=0;t<r;++t)o[t]=a[t];return o}function Mpt(e,t){var r;return r=new wJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t),e.e!=null||(r.c=e),r}function Hpn(e,t){var r,o;for(o=e.Zb().Bc().Jc();o.Ob();)if(r=l(o.Pb(),18),r.Gc(t))return!0;return!1}function Ppt(e,t,r){var o,a,u,f;for(Mt(r),f=!1,u=e.dd(t),a=r.Jc();a.Ob();)o=a.Pb(),u.Rb(o),f=!0;return f}function zpn(e,t){var r;return e===t?!0:se(t,93)?(r=l(t,93),Jbe(Cb(e),r.vc())):!1}function jpt(e,t,r){var o,a;for(a=r.Jc();a.Ob();)if(o=l(a.Pb(),45),e.ze(t,o.kd()))return!0;return!1}function Fpt(e,t,r){return e.d[t.p][r.p]||(jbn(e,t,r),e.d[t.p][r.p]=!0,e.d[r.p][t.p]=!0),e.a[t.p][r.p]}function I_(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),vK(e,t==null?null:(Mt(t),t)),e.C&&e.fl(null)}function jj(){jj=K,Ore=new _8("ELK",0),h3e=new _8("JSON",1),f3e=new _8("DOT",2),p3e=new _8("SVG",3)}function tC(){tC=K,fne=new b8(FX,0),BB=new b8(WSt,1),dne=new b8("FAN",2),lne=new b8("CONSTRAINT",3)}function R6(){R6=K,HB=new Yq(_d,0),gxe=new Yq("RADIAL_COMPACTION",1),bxe=new Yq("WEDGE_COMPACTION",2)}function nC(){nC=K,Kte=new zq("STACKED",0),Wte=new zq("REVERSE_STACKED",1),AL=new zq("SEQUENCED",2)}function Yu(){Yu=K,S2e=new Cq("CONCURRENT",0),nc=new Cq("IDENTITY_FINISH",1),T2e=new Cq("UNORDERED",2)}function pp(){pp=K,lU=new rV(uEe,0),Ig=new rV("INCLUDE_CHILDREN",1),T4=new rV("SEPARATE_CHILDREN",2)}function Fj(){Fj=K,KNe=new xb(15),mDt=new Mi((_n(),df),KNe),S4=GT,GNe=H6t,qNe=Am,WNe=m2,VNe=lv}function WK(){WK=K,pee=cct(Z(X(E4,1),Ce,87,0,[(Si(),cs),fs])),gee=cct(Z(X(E4,1),Ce,87,0,[il,ff]))}function Gpn(e){var t,r,o;for(t=0,o=we($i,Pe,8,e.b,0,1),r=An(e,0);r.b!=r.d.c;)o[t++]=l(Sn(r),8);return o}function KK(e,t,r){var o,a,u;for(o=new Ar,u=An(r,0);u.b!=u.d.c;)a=l(Sn(u),8),Gn(o,new To(a));Ppt(e,t,o)}function qpn(e,t){var r;r=Ge((dY(),AB))!=null&&t.Rg()!=null?ce(le(t.Rg()))/ce(le(Ge(AB))):1,Jn(e.b,t,r)}function Vpn(e,t){var r,o;return r=l(e.d.Ac(t),18),r?(o=e.e.hc(),o.Fc(r),e.e.d-=r.gc(),r.$b(),o):null}function Yge(e,t){var r,o;if(o=e.c[t],o!=0)for(e.c[t]=0,e.d-=o,r=t+1;r<e.a.length;)e.a[r]-=o,r+=r&-r}function Jge(e){var t;if(t=e.a.c.length,t>0)return t_(t-1,e.a.c.length),sg(e.a,t-1);throw Y(new SZe)}function Wpn(e,t,r){if(t<0)throw Y(new Ia(bTt+t));t<e.j.c.length?nu(e.j,t,r):(Lut(e,t),Fe(e.j,r))}function $pt(e,t,r){if(e>t)throw Y(new jt(a7+e+C2t+t));if(e<0||t>r)throw Y(new ele(a7+e+mwe+t+pwe+r))}function Bpt(e){if(!e.a||!(e.a.i&8))throw Y(new ts("Enumeration class expected for layout option "+e.f))}function Upt(e){pct.call(this,"The given string does not match the expected format for individual spacings.",e)}function Hpt(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function dg(e){switch(e.c){case 0:return GV(),VEe;case 1:return new nS(r0t(new fS(e)));default:return new gQe(e)}}function zpt(e){switch(e.gc()){case 0:return GV(),VEe;case 1:return new nS(e.Jc().Pb());default:return new Ale(e)}}function Xge(e){var t;return t=(!e.a&&(e.a=new ke(Op,e,9,5)),e.a),t.i!=0?Pen(l(ie(t,0),691)):null}function Kpn(e,t){var r;return r=_o(e,t),kq(jW(e,t),0)|N8(jW(e,r),0)?r:_o(wD,jW(Rb(r,63),1))}function Zge(e,t,r){var o,a;return oy(t,e.c.length),o=r.Nc(),a=o.length,a==0?!1:(Pfe(e.c,t,o),!0)}function Ypn(e,t){var r,o;for(r=e.a.length-1;t!=e.b;)o=t-1&r,ii(e.a,t,e.a[o]),t=o;ii(e.a,e.b,null),e.b=e.b+1&r}function Jpn(e,t){var r,o;for(r=e.a.length-1,e.c=e.c-1&r;t!=e.c;)o=t+1&r,ii(e.a,t,e.a[o]),t=o;ii(e.a,e.c,null)}function gy(e){var t;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(t=e.g,e.g=e.$i(e.i),ca(t,0,e.g,0,e.i))}function yE(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(jw(e.a.c,0),li(e.a,e.b),li(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function ru(e){return zi(e)?Je:zw(e)?fi:Hw(e)?Yr:Xfe(e)||Kfe(e)?e.Pm:e.Pm||Array.isArray(e)&&X(X_t,1)||X_t}function Xpn(e){return e?e.i&1?e==cc?Yr:e==Rn?_i:e==Tv?Ux:e==Ki?fi:e==pw?Y0:e==T2?J0:e==Ec?ET:mI:e:null}function Gpt(e){SQe(),M8(this),kP(this),this.e=e,$wt(this,e),this.g=e==null?tc:ms(e),this.a="",this.b=e,this.a=""}function qpt(){kQt.call(this,new Ipe(py(16))),wu(2,c2t),this.b=2,this.a=new The(null,null,0,null),tO(this.a,this.a)}function Kb(){Kb=K,_L=new p8("BARYCENTER",0),XI=new p8(mSt,1),RB=new p8(wSt,2),IB=new p8("MEDIAN",3)}function rC(){rC=K,jte=new Bq("DUMMY_NODE_OVER",0),o_e=new Bq("DUMMY_NODE_UNDER",1),xB=new Bq("EQUAL",2)}function R_(){R_=K,Yte=new Gq("CONSERVATIVE",0),E_e=new Gq("CONSERVATIVE_SOFT",1),JI=new Gq("SLOPPY",2)}function Vpt(e){var t,r,o;for(o=0,r=new Ft(Gt(e.a.Jc(),new D));an(r);)t=l(en(r),17),t.c.i==t.d.i||++o;return o}function $j(e){var t,r,o,a,u;for(u=1,r=e,o=0,a=r.length;o<a;++o)t=r[o],u=31*u+(t!=null?Rr(t):0),u=u|0;return u}function yn(e){var t,r,o,a,u;for(t={},o=e,a=0,u=o.length;a<u;++a)r=o[a],t[":"+(r.f!=null?r.f:""+r.g)]=r;return t}function Wpt(e,t,r){var o,a,u,f;for(a=r,u=0,f=a.length;u<f;++u)if(o=a[u],e.b.ze(t,o.jd()))return o;return null}function Zpn(e){var t,r;if(e==null)return null;for(t=0,r=e.length;t<r;t++)if(!Cot(e[t]))return e[t];return null}function YK(e,t){return!e||t&&!e.j||se(e,129)&&l(e,129).a.b==0?0:e.ff()}function Bj(e,t){return!e||t&&!e.k||se(e,129)&&l(e,129).a.a==0?0:e.gf()}function Kpt(e,t){var r;for(r=0;r<t.length;r++)if(e==(Jt(r,t.length),t.charCodeAt(r)))return!0;return!1}function Qpn(e,t){return t<e.length&&(Jt(t,e.length),e.charCodeAt(t)!=63)&&(Jt(t,e.length),e.charCodeAt(t)!=35)}function Ypt(e,t){var r,o,a;for(a=t-e.f,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),320),Kgt(r,r.e,r.f+a);e.f=t}function egn(e){var t,r;for(r=new V(e.r);r.a<r.c.c.length;)if(t=l(q(r),9),e.n[t.p]<=0)return t;return null}function tgn(e){var t;return t=new lft(e),e6(e.a,nNt,new Ls(Z(X(nL,1),It,378,0,[t]))),t.d&&Fe(t.f,t.d),t.f}function ngn(e){var t;for(kn(e),bfe(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&an(e);t++)en(e);return t}function Qge(e,t){var r,o,a;return o=!1,r=t.q.d,t.d<e.b&&(a=Gme(t.q,e.b),t.q.d>a&&(Mbt(t.q,a),o=r!=t.q.d)),o}function Jpt(e,t){var r,o,a,u,f,p,m,y;return m=t.i,y=t.j,o=e.f,a=o.i,u=o.j,f=m-a,p=y-u,r=b.Math.sqrt(f*f+p*p),r}function Xpt(e,t){var r,o,a;r=e,a=0;do{if(r==t)return a;if(o=r.e,!o)throw Y(new nO);r=ji(o),++a}while(!0)}function Yb(e,t){var r,o,a;o=e.Wk(t,null),a=null,t&&(a=($A(),r=new Ym,r),w_(a,e.r)),o=Zd(e,a,o),o&&o.mj()}function rgn(e,t){var r,o;for(o=Bc(e.d,1)!=0,r=!0;r;)r=!1,r=t.c.kg(t.e,o),r=r|oD(e,t,o,!1),o=!o;wge(e)}function e1e(e,t){var r,o;return o=nF(e),o||(r=($J(),rwt(t)),o=new fZe(r),Tn(o.Cl(),e)),o}function O6(e,t){var r,o;return r=l(e.c.Ac(t),18),r?(o=e.hc(),o.Fc(r),e.d-=r.gc(),r.$b(),e.mc(o)):e.jc()}function ign(e){var t;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw Y(new vs);return t=e.a,e.a+=e.c.c,++e.b,Oe(t)}function ogn(e){var t,r;if(e==null)return!1;for(t=0,r=e.length;t<r;t++)if(!Cot(e[t]))return!1;return!0}function Zpt(e,t){var r;for(r=0;r<t.length;r++)if(e==(Jt(r,t.length),t.charCodeAt(r)))return!0;return!1}function Qpt(e){var t;if(e.c!=0)return e.c;for(t=0;t<e.a.length;t++)e.c=e.c*33+(e.a[t]&-1);return e.c=e.c*e.e,e.c}function Uj(e){var t;return cn(e.a!=e.b),t=e.d.a[e.a],Wrt(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function egt(e,t,r,o){var a,u;e.a=t,u=o?0:1,e.f=(a=new kmt(e.c,e.a,r,u),new lyt(r,e.a,a,e.e,e.b,e.c==(Kb(),XI)))}function sgn(e,t,r){var o,a;for(a=t.a.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),60),Uat(e,o,r))return!0;return!1}function by(e,t){kn(e);try{return e.xc(t)}catch(r){if(r=ui(r),se(r,214)||se(r,174))return null;throw Y(r)}}function agn(e,t){kn(e);try{return e.Ac(t)}catch(r){if(r=ui(r),se(r,214)||se(r,174))return null;throw Y(r)}}function JK(e,t,r){return b.Math.abs(t-e)<D7||b.Math.abs(r-e)<D7?!0:t-e>D7?e-r>D7:r-e>D7}function Ea(e,t){var r;return gs(e)&&gs(t)&&(r=e-t,!isNaN(r))?r:gbe(gs(e)?vl(e):e,gs(t)?vl(t):t)}function cgn(e,t,r){var o;o=new k0t(e,t),yt(e.r,t.$f(),o),r&&!k3(e.u)&&(o.c=new sct(e.d),La(t.Pf(),new EYe(o)))}function XK(e){var t;return t=new hde(e.a),qs(t,e),Te(t,(Ie(),wr),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function ugn(e){var t;return t=D8(w4t),l(F(e,(Ie(),xa)),24).Gc(($o(),Qx))&&$n(t,(Vi(),la),(Xi(),j$)),t}function lgn(e){var t,r,o,a;for(a=new pi,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),t=sTn(r),wo(a,t);return a}function t1e(e,t){var r,o,a;for(a=1,r=e,o=t>=0?t:-t;o>0;)o%2==0?(r*=r,o=o/2|0):(a*=r,o-=1);return t<0?1/a:a}function dgn(e,t){var r,o,a;for(a=1,r=e,o=t>=0?t:-t;o>0;)o%2==0?(r*=r,o=o/2|0):(a*=r,o-=1);return t<0?1/a:a}function y1(e,t){var r,o,a,u;return u=(a=e?nF(e):null,Kmt((o=t,a&&a.El(),o))),u==t&&(r=nF(e),r&&r.El()),u}function n1e(e,t,r){var o,a;return a=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,1,a,t),r?r.lj(o):r=o),r}function tgt(e,t,r){var o,a;return a=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,3,a,t),r?r.lj(o):r=o),r}function ngt(e,t,r){var o,a;return a=e.f,e.f=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,0,a,t),r?r.lj(o):r=o),r}function fgn(e,t,r,o){var a,u;for(u=e.Jc();u.Ob();)a=l(u.Pb(),70),a.n.a=t.a+(o.a-a.o.a)/2,a.n.b=t.b,t.b+=a.o.b+r}function hgn(e,t,r,o,a,u,f,p){var m;for(m=r;u<f;)m>=o||t<r&&p.Le(e[t],e[m])<=0?ii(a,u++,e[t++]):ii(a,u++,e[m++])}function rgt(e){var t,r;if(e!=null)for(r=0;r<e.length;++r)t=e[r],t&&(l(t.g,375),t.i)}function pgn(e,t,r,o,a){t==0||o==0||(t==1?a[o]=Y1e(a,r,o,e[0]):o==1?a[t]=Y1e(a,e,t,r[0]):fEn(e,r,a,t,o))}function ZK(e){return(He(),oc).Gc(e.j)?ce(le(F(e,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a])).b}function igt(e,t){var r;return r=new Xd(e),Jh(r,(Ht(),bi)),Te(r,(Ie(),wr),t),Te(r,(Ue(),Zr),(qi(),fa)),r}function ogt(e,t,r){var o,a;for(a=e.Jc();a.Ob();){if(o=l(a.Pb(),9),o==t)return-1;if(o==r)return 1}return 0}function ggn(e,t,r){var o,a,u,f;for(o=r/e.gc(),a=0,f=e.Jc();f.Ob();)u=l(f.Pb(),189),Ypt(u,u.f+o*a),S0n(u,t,o),++a}function bgn(e){var t,r,o;for(o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),221),t=r.c.ig()?r.f:r.a,t&&vxn(t,r.j)}function mgn(e){var t,r,o;for(o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),o=b.Math.max(o,t.g);return o}function r1e(){this.a=new Xze,this.f=new dXe(this),this.b=new fXe(this),this.i=new hXe(this),this.e=new pXe(this)}function O_(){O_=K,zL=new v8(uEe,0),uU=new v8("CONTAINER",1),LNe=new v8("PARENT",2),MNe=new v8("ROOT",3)}function VS(){VS=K,r3e=new oV("PARALLEL_NODE",0),bv=new oV("HIERARCHICAL_NODE",1),bU=new oV("ROOT_NODE",2)}function Hj(){Hj=K,ake=new eV("EQUAL_BETWEEN_STRUCTURES",0),cke=new eV("TO_ASPECT_RATIO",1),Fne=new eV(_d,2)}function i1e(e){throw jK(),Y(new wQe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function sgt(e){switch(e.g){case 0:return new Vze;case 1:return new Kze;case 2:return new Wze;default:return null}}function o1e(e,t){switch(t){case 1:!e.n&&(e.n=new ke(Rs,e,1,7)),vn(e.n);return;case 2:v_(e,null);return}Oge(e,t)}function agt(e,t){var r;e.a.c.length>0&&(r=l(ze(e.a,e.a.c.length-1),572),Vge(r,t))||Fe(e.a,new ylt(t))}function cgt(e,t){var r;e.c.length!=0&&(r=l(Yd(e,we(Nh,vg,9,e.c.length,0,1)),201),ade(r,new j7e),w0t(r,t))}function ugt(e,t){var r;e.c.length!=0&&(r=l(Yd(e,we(Nh,vg,9,e.c.length,0,1)),201),ade(r,new F7e),w0t(r,t))}function Oe(e){var t,r;return e>-129&&e<128?(Fot(),t=e+128,r=r2e[t],!r&&(r=r2e[t]=new uue(e)),r):new uue(e)}function D_(e){var t,r;return e>-129&&e<128?(Vot(),t=e+128,r=a2e[t],!r&&(r=a2e[t]=new aue(e)),r):new aue(e)}function lgt(e){var t;return t=new Qg,t.a+="VerticalSegment ",ba(t,e.e),t.a+=" ",zn(t,_de(new bq,new V(e.k))),t.a}function wgn(e){hu();var t,r;t=e.d.c-e.e.c,r=l(e.g,157),La(r.b,new iJe(t)),La(r.c,new oJe(t)),lo(r.i,new sJe(t))}function ygn(e){var t;return t=l(Wd(e.c.c,""),236),t||(t=new LS(FA(jA(new eS,""),"Other")),Jb(e.c.c,"",t)),t}function iC(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (name: ",Wo(t,e.zb),t.a+=")",t.a)}function s1e(e,t,r){var o,a;return a=e.sb,e.sb=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,4,a,t),r?r.lj(o):r=o),r}function QK(e,t){var r,o,a;for(r=0,a=ks(e,t).Jc();a.Ob();)o=l(a.Pb(),12),r+=F(o,(Ie(),Nc))!=null?1:0;return r}function vE(e,t,r){var o,a,u;for(o=0,u=An(e,0);u.b!=u.d.c&&(a=ce(le(Sn(u))),!(a>r));)a>=t&&++o;return o}function vgn(e,t,r){var o,a;return o=new up(e.e,3,13,null,(a=t.c,a||(_t(),bf)),gg(e,t),!1),r?r.lj(o):r=o,r}function Egn(e,t,r){var o,a;return o=new up(e.e,4,13,(a=t.c,a||(_t(),bf)),null,gg(e,t),!1),r?r.lj(o):r=o,r}function a1e(e,t,r){var o,a;return a=e.r,e.r=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,8,a,e.r),r?r.lj(o):r=o),r}function fg(e,t){var r,o;return r=l(t,688),o=r.cl(),!o&&r.dl(o=se(t,89)?new Ant(e,l(t,29)):new nut(e,l(t,160))),o}function D6(e,t,r){var o;e.Zi(e.i+1),o=e.Xi(t,r),t!=e.i&&ca(e.g,t,e.g,t+1,e.i-t),ii(e.g,t,o),++e.i,e.Ki(t,r),e.Li()}function Sgn(e,t){var r;e.c=t,e.a=w1n(t),e.a<54&&(e.f=(r=t.d>1?cut(t.a[0],t.a[1]):cut(t.a[0],0),$b(t.e>0?r:cg(r))))}function Tgn(e,t){var r;return t.a&&(r=t.a.a.length,e.a?zn(e.a,e.b):e.a=new fu(e.d),gut(e.a,t.a,t.d.length,r)),e}function Agn(e,t){var r,o,a,u;if(t.cj(e.a),u=l(qt(e.a,8),2014),u!=null)for(r=u,o=0,a=r.length;o<a;++o)null.Sm()}function L6(e,t){var r;return r=new Hi,e.a.zd(r)?(VA(),new uq(Mt(Kdt(e,r.a,t)))):(u1(e),VA(),VA(),w2e)}function dgt(e){var t;return Ea(e,0)<0&&(e=g1(jsn(gs(e)?vl(e):e))),t=On(Rb(e,32)),64-(t!=0?Q6(t):Q6(On(e))+32)}function gr(e,t){return zi(e)?wt(e,t):zw(e)?Git(e,t):Hw(e)?(Mt(e),me(e)===me(t)):Xfe(e)?e.Fb(t):Kfe(e)?Unt(e,t):Khe(e,t)}function fgt(e,t){kn(e);try{return e._b(t)}catch(r){if(r=ui(r),se(r,214)||se(r,174))return!1;throw Y(r)}}function c1e(e,t){kn(e);try{return e.Gc(t)}catch(r){if(r=ui(r),se(r,214)||se(r,174))return!1;throw Y(r)}}function _gn(e,t){kn(e);try{return e.Kc(t)}catch(r){if(r=ui(r),se(r,214)||se(r,174))return!1;throw Y(r)}}function u1e(e,t,r,o){switch(t){case 1:return!e.n&&(e.n=new ke(Rs,e,1,7)),e.n;case 2:return e.k}return ibe(e,t,r,o)}function oC(e,t){switch(t.g){case 2:case 1:return ks(e,t);case 3:case 4:return ou(ks(e,t))}return At(),At(),Ro}function Ju(e,t,r){if(t<0)fme(e,r);else{if(!r.pk())throw Y(new jt(O1+r.ve()+iI));l(r,69).uk().Ck(e,e.ei(),t)}}function hgt(e,t,r){if(e<0||t>r)throw Y(new Ia(a7+e+mwe+t+", size: "+r));if(e>t)throw Y(new jt(a7+e+C2t+t))}function hg(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,2,r,t))}function l1e(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,8,r,t))}function d1e(e,t){var r;r=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,9,r,t))}function pg(e,t){var r;r=(e.Bb&512)!=0,t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,3,r,t))}function zj(e,t){var r;r=(e.Bb&256)!=0,t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,8,r,t))}function xgn(e,t,r){var o,a;return a=e.a,e.a=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,5,a,e.a),r?Cbe(r,o):r=o),r}function pgt(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (source: ",Wo(t,e.d),t.a+=")",t.a)}function sC(e,t){var r;return e.b==-1&&e.a&&(r=e.a.nk(),e.b=r?e.c.Eh(e.a.Jj(),r):Ur(e.c.Ah(),e.a)),e.c.vh(e.b,t)}function ggt(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)if(r=l(rn(o),29),me(t)===me(r))return!0;return!1}function kgn(e){t7();var t,r,o,a;for(r=yY(),o=0,a=r.length;o<a;++o)if(t=r[o],_s(t.a,e,0)!=-1)return t;return iee}function bgt(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function mgt(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function f1e(e){var t,r;return t=e.k,t==(Ht(),yi)?(r=l(F(e,(Ie(),Hs)),64),r==(He(),Vt)||r==dn):!1}function wgt(e,t){var r,o;for(o=new tn(e);o.e!=o.i.gc();)if(r=l(rn(o),146),me(t)===me(r))return!0;return!1}function Ngn(e,t,r){var o,a,u;return u=(a=Y_(e.b,t),a),u&&(o=l(JF(h6(e,u),""),29),o)?Pme(e,o,t,r):null}function eY(e,t,r){var o,a,u;return u=(a=Y_(e.b,t),a),u&&(o=l(JF(h6(e,u),""),29),o)?jme(e,o,t,r):null}function aC(e,t,r){var o;if(o=e.gc(),t>o)throw Y(new Yw(t,o));if(e.Qi()&&e.Gc(r))throw Y(new jt(GD));e.Ei(t,r)}function Cgn(e,t){t.Tg("Sort end labels",1),ei(dr(bs(new vt(null,new St(e.b,16)),new E7e),new S7e),new T7e),t.Ug()}function Si(){Si=K,hf=new TO(qC,0),fs=new TO(pT,1),cs=new TO(hT,2),ff=new TO(DX,3),il=new TO("UP",4)}function M6(){M6=K,YB=new tV("P1_STRUCTURE",0),JB=new tV("P2_PROCESSING_ORDER",1),XB=new tV("P3_EXECUTION",2)}function ygt(){ygt=K,DRt=Pf(Pf(ZN(Pf(Pf(ZN($n(new ci,(JS(),e4),(IC(),Qte)),t4),F_e),B_e),n4),L_e),U_e)}function Ign(e){var t,r,o;for(t=new je,o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),598),li(t,l(r.Af(),18));return t}function Rgn(e){var t,r,o;for(o=0,r=e.length,t=0;t<r;t++)e[t]==32||e[t]==13||e[t]==10||e[t]==9||(e[o++]=e[t]);return o}function Ogn(e){var t;return t=e.a[e.c-1&e.a.length-1],t==null?null:(e.c=e.c-1&e.a.length-1,ii(e.a,e.c,null),t)}function vgt(e){var t,r;for(r=e.p.a.ec().Jc();r.Ob();)if(t=l(r.Pb(),220),t.f&&e.b[t.c]<-1e-10)return t;return null}function h1e(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new ql(t.d,0,t.a,t.b);default:return null}}function Egt(e){switch(e.g){case 2:return fs;case 1:return cs;case 4:return ff;case 3:return il;default:return hf}}function p1e(e){switch(e.g){case 1:return Wt;case 2:return Vt;case 3:return Qt;case 4:return dn;default:return Is}}function P6(e){switch(e.g){case 1:return dn;case 2:return Wt;case 3:return Vt;case 4:return Qt;default:return Is}}function Gj(e){switch(e.g){case 1:return Qt;case 2:return dn;case 3:return Wt;case 4:return Vt;default:return Is}}function Dgn(e){switch(e){case 0:return new HZe;case 1:return new BZe;case 2:return new UZe;default:throw Y(new nO)}}function Lgn(e){switch(l(F(e,(Ie(),hm)),316).g){case 1:Te(e,hm,(lp(),kT));break;case 2:Te(e,hm,(lp(),QE))}}function j6(e,t){this.e=t,this.a=dgt(e),this.a<54?this.f=$b(e):this.c=(jf(),Ea(e,0)>=0?E1(e):I3(E1(cg(e))))}function Sgt(e,t,r,o,a,u){this.e=new je,this.f=(Fo(),YI),Fe(this.e,e),this.d=t,this.a=r,this.b=o,this.f=a,this.c=u}function Mgn(e){var t;if(!e.a)throw Y(new ts("Cannot offset an unassigned cut."));t=e.c-e.b,e.b+=t,Dat(e,t),Lat(e,t)}function Tgt(e){var t;return t=Qhe(e),d3(t.a,0)?($w(),$w(),JQ):($w(),new TV(xq(t.a,0)?Epe(t)/$b(t.a):0))}function Pgn(e,t){var r;if(r=iD(e,t),se(r,336))return l(r,38);throw Y(new jt(O1+t+"' is not a valid attribute"))}function vr(e,t){return e<t?-1:e>t?1:e==t?e==0?vr(1/e,1/t):0:isNaN(e)?isNaN(t)?0:1:-1}function cC(e,t,r){var o,a;return e.Nj()?(a=e.Oj(),o=uJ(e,t,r),e.Hj(e.Gj(7,Oe(r),o,t,a)),o):uJ(e,t,r)}function tY(e,t){var r,o,a;e.d==null?(++e.e,--e.f):(a=t.jd(),r=t.yi(),o=(r&ar)%e.d.length,kdn(e,o,lwt(e,o,r,a)))}function L_(e,t){var r;r=(e.Bb&Tl)!=0,t?e.Bb|=Tl:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,10,r,t))}function M_(e,t){var r;r=(e.Bb&Dy)!=0,t?e.Bb|=Dy:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,12,r,t))}function P_(e,t){var r;r=(e.Bb&yc)!=0,t?e.Bb|=yc:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,15,r,t))}function j_(e,t){var r;r=(e.Bb&yp)!=0,t?e.Bb|=yp:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,11,r,t))}function jgn(e,t){var r;return r=vr(e.b.c,t.b.c),r!=0||(r=vr(e.a.a,t.a.a),r!=0)?r:vr(e.a.b,t.a.b)}function qj(e){var t,r;return r=l(F(e,(Ue(),xu)),87),r==(Si(),hf)?(t=ce(le(F(e,cB))),t>=1?fs:ff):r}function Fgn(e){var t,r;for(r=iwt(mu(e)).Jc();r.Ob();)if(t=In(r.Pb()),RC(e,t))return Jln((ott(),sLt),t);return null}function $gn(e,t,r){var o,a;for(a=e.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),9),N6(r,l(ze(t,o.p),18)))return o;return null}function Bgn(e,t,r){var o,a;for(a=se(t,104)&&l(t,20).Bb&Io?new cV(t,e):new A_(t,e),o=0;o<r;++o)cF(a);return a}function Ugn(e,t){var r,o,a,u,f;for(f=za(e.e.Ah(),t),u=0,r=l(e.g,123),a=0;a<e.i;++a)o=r[a],f.$l(o.Jk())&&++u;return u}function Hgn(e,t,r){var o,a;return o=l(t.mf(e.a),34),a=l(r.mf(e.a),34),o!=null&&a!=null?E6(o,a):o!=null?-1:a!=null?1:0}function Agt(e,t,r){var o,a;if(e.c)Hbe(e.c,t,r);else for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),168),Agt(o,t,r)}function nY(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),49),Xa(e.b.b,r.b),rcn(l(r.a,197),l(r.b,84))}function g1e(e,t){var r,o,a;for(Mt(t),r=!1,o=new V(e);o.a<o.c.c.length;)a=q(o),t.Gc(a)&&(C3(o),r=!0);return r}function zgn(e){var t,r;for(r=Db(new Qg,91),t=!0;e.Ob();)t||(r.a+=ja),t=!1,ba(r,e.Pb());return(r.a+="]",r).a}function b1e(e){var t;return t=we(al,Bf,30,2,15,1),e-=Io,t[0]=(e>>10)+TD&Ti,t[1]=(e&1023)+56320&Ti,Mf(t,0,t.length)}function m1e(e,t){var r;r=(e.Bb&Io)!=0,t?e.Bb|=Io:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,20,r,t))}function w1e(e,t){var r;r=(e.Bb&Ws)!=0,t?e.Bb|=Ws:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,18,r,t))}function rY(e,t){var r;r=(e.Bb&Ws)!=0,t?e.Bb|=Ws:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,18,r,t))}function F_(e,t){var r;r=(e.Bb&$f)!=0,t?e.Bb|=$f:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&pr(e,new Vl(e,1,16,r,t))}function y1e(e,t,r){var o;return o=0,t&&(tE(e.a)?o+=t.f.a/2:o+=t.f.b/2),r&&(tE(e.a)?o+=r.f.a/2:o+=r.f.b/2),o}function _0(e,t,r){var o;return o=e.a.get(t),e.a.set(t,r===void 0?null:r),o===void 0?(++e.c,++e.b.g):++e.d,o}function iY(e,t,r){var o,a;return o=(t1(),a=new m9,a),bj(o,t),gj(o,r),e&&Tn((!e.a&&(e.a=new Ei(Iu,e,5)),e.a),o),o}function Ggn(e,t,r){var o;o=r,!o&&(o=Dfe(new sS,0)),o.Tg(rSt,2),D1t(e.b,t,o.dh(1)),qxn(e,t,o.dh(1)),qNn(t,o.dh(1)),o.Ug()}function ks(e,t){var r;return e.i||dme(e),r=l(Ko(e.g,t),49),r?new Rf(e.j,l(r.a,15).a,l(r.b,15).a):(At(),At(),Ro)}function _o(e,t){var r;return gs(e)&&gs(t)&&(r=e+t,SD<r&&r<nm)?r:g1(apn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function yo(e,t){var r;return gs(e)&&gs(t)&&(r=e*t,SD<r&&r<nm)?r:g1(Oxn(gs(e)?vl(e):e,gs(t)?vl(t):t))}function El(e,t){var r;return gs(e)&&gs(t)&&(r=e-t,SD<r&&r<nm)?r:g1(Zht(gs(e)?vl(e):e,gs(t)?vl(t):t))}function Vj(e){var t;switch(e.gc()){case 0:return sP(),UQ;case 1:return new kV(kn(e.Xb(0)));default:return t=e,new PW(t)}}function qgn(e){switch(l(F(e,(Ue(),kp)),225).g){case 1:return new lUe;case 3:return new gUe;default:return new uUe}}function Vgn(e){var t;return t=Sy(e),t>34028234663852886e22?Kr:t<-34028234663852886e22?Li:t}function Lf(e){var t,r,o;for(t=new je,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),Fe(t,r.b);return kn(t),new g3(t)}function si(e){var t,r,o;for(t=new je,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),Fe(t,r.e);return kn(t),new g3(t)}function Or(e){var t,r,o;for(t=new je,o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),12),Fe(t,r.g);return kn(t),new g3(t)}function oY(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (identifier: ",Wo(t,e.k),t.a+=")",t.a)}function v1(e){if(e.c)v1(e.c);else if(e.d)throw Y(new ts("Stream already terminated, can't be modified or used"))}function _gt(e,t,r){switch(t.g){case 1:e.b-=r.b/2;break;case 3:e.b+=r.b/2;break;case 4:e.a-=r.a/2;break;case 2:e.a+=r.a/2}}function Wgn(e,t){return wt(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t),e.b&&e.c?Fb(e.b)+"->"+Fb(e.c):"e_"+Rr(e))}function Kgn(e,t){return wt(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t),e.b&&e.c?Fb(e.b)+"->"+Fb(e.c):"e_"+Rr(e))}function Ygn(e){return WK(),Lt(),!!(Cgt(l(e.a,84).j,l(e.b,87))||l(e.a,84).d.e!=0&&Cgt(l(e.a,84).j,l(e.b,87)))}function sY(){jbe();var e,t,r;r=nCn+++Date.now(),e=bo(b.Math.floor(r*_D))&s7,t=bo(r-e*hwe),this.a=e^1502,this.b=t^kX}function xgt(e,t,r,o,a){frt(this),this.b=e,this.d=we(Nh,vg,9,t.a.c.length,0,1),this.f=r,Yd(t.a,this.d),this.g=o,this.c=a}function v1e(e,t){e.n.c.length==0&&Fe(e.n,new PP(e.s,e.t,e.i)),Fe(e.b,t),ebe(l(ze(e.n,e.n.c.length-1),211),t),hvt(e,t)}function Jgn(e,t,r){var o;r.Tg("Straight Line Edge Routing",1),r.bh(t,mve),o=l(ve(t,(cE(),d2)),19),kvt(e,o),r.bh(t,P7)}function lt(e){var t,r,o,a;return r=(t=l(md((o=e.Pm,a=o.f,a==bn?o:a)),10),new Hu(t,l(Gl(t,t.length),10),0)),Jl(r,e),r}function Xgn(e){var t,r;for(r=AEn(mu(iy(e))).Jc();r.Ob();)if(t=In(r.Pb()),RC(e,t))return Xln((stt(),aLt),t);return null}function aY(e,t){var r,o,a;for(a=0,o=l(t.Kb(e),22).Jc();o.Ob();)r=l(o.Pb(),17),Ye(Ke(F(r,(Ie(),Ag))))||++a;return a}function kgt(e){var t,r,o,a;for(t=new Ait(e.Pd().gc()),a=0,o=BS(e.Pd().Jc());o.Ob();)r=o.Pb(),Fan(t,r,Oe(a++));return Nyn(t.a)}function Zgn(e){var t,r,o;for(r=0,o=e.length;r<o;r++)if(e[r]==null)throw Y(new cS("at index "+r));return t=e,new Ls(t)}function Qgn(e,t,r){var o;try{Npn(e,t,r)}catch(a){throw a=ui(a),se(a,602)?(o=a,Y(new fpe(o))):Y(a)}return t}function Ngt(e,t){var r,o;for(r=An(e,0);r.b!=r.d.c;){if(o=rO(le(Sn(r))),o==t)return;if(o>t){sut(r);break}}vP(r,t)}function e1n(e,t){var r,o,a;o=dE(t),a=ce(le(wy(o,(Ue(),od)))),r=b.Math.max(0,a/2-.5),bC(t,r,1),Fe(e,new xtt(t,r))}function st(e,t){var r,o,a,u,f;if(r=t.f,Jb(e.c.d,r,t),t.g!=null)for(a=t.g,u=0,f=a.length;u<f;++u)o=a[u],Jb(e.c.e,o,t)}function t1n(e,t,r,o){var a,u,f;for(a=t+1;a<r;++a)for(u=a;u>t&&o.Le(e[u-1],e[u])>0;--u)f=e[u],ii(e,u,e[u-1]),ii(e,u-1,f)}function Xu(e,t,r,o){if(t<0)Ume(e,r,o);else{if(!r.pk())throw Y(new jt(O1+r.ve()+iI));l(r,69).uk().Ak(e,e.ei(),t,o)}}function n1n(e,t){var r;if(r=iD(e.Ah(),t),se(r,104))return l(r,20);throw Y(new jt(O1+t+"' is not a valid reference"))}function ms(e){var t;return Array.isArray(e)&&e.Rm===fe?Ab(ru(e))+"@"+(t=Rr(e)>>>0,t.toString(16)):e.toString()}function r1n(e,t){return e.h==ED&&e.m==0&&e.l==0?(t&&(D1=Ua(0,0,0)),Hnt((m_(),XEe))):(t&&(D1=Ua(e.l,e.m,e.h)),Ua(0,0,0))}function i1n(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function Cgt(e,t){switch(t.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function E1e(e,t,r,o){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return u1e(e,t,r,o)}function Wj(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw Y(new jt("Node "+t+" not part of edge "+e))}function o1n(e){return e.e==null?e:(!e.c&&(e.c=new wJ((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function s1n(e){return e.k!=(Ht(),Xr)?!1:hE(new vt(null,new ey(new Ft(Gt(Or(e).a.Jc(),new D)))),new HBe)}function $c(e){var t;if(e.b){if($c(e.b),e.b.d!=e.c)throw Y(new $u)}else e.d.dc()&&(t=l(e.f.c.xc(e.e),18),t&&(e.d=t))}function a1n(e){Ww();var t,r,o,a;for(t=e.o.b,o=l(l(yr(e.r,(He(),dn)),24),85).Jc();o.Ob();)r=l(o.Pb(),116),a=r.e,a.b+=t}function c1n(e,t){var r,o,a;for(o=BTn(e,t),a=o[o.length-1]/2,r=0;r<o.length;r++)if(o[r]>=a)return t.c+r;return t.c+t.b.gc()}function S1e(e,t,r,o,a){var u,f,p;for(f=a;t.b!=t.c;)u=l(CS(t),9),p=l(ks(u,o).Xb(0),12),e.d[p.p]=f++,Rt(r.c,p);return f}function uC(e){var t;this.a=(t=l(e.e&&e.e(),10),new Hu(t,l(Gl(t,t.length),10),0)),this.b=we(Ri,It,1,this.a.a.length,5,1)}function T1e(e){dY(),this.c=Wl(Z(X(ECn,1),It,837,0,[UIt])),this.b=new hn,this.a=e,Jn(this.b,AB,1),La(HIt,new TXe(this))}function iu(){iu=K,gL=new bO(_d,0),LI=new bO("FIRST",1),xp=new bO(ySt,2),MI=new bO("LAST",3),gm=new bO(vSt,4)}function lC(){lC=K,kI=new d8("LAYER_SWEEP",0),GSe=new d8("MEDIAN_LAYER_SWEEP",1),aL=new d8(zX,2),qSe=new d8(_d,3)}function Kj(){Kj=K,Fxe=new Zq("ASPECT_RATIO_DRIVEN",0),One=new Zq("MAX_SCALE_DRIVEN",1),jxe=new Zq("AREA_DRIVEN",2)}function Yj(){Yj=K,Rre=new A8(ive,0),c3e=new A8("GROUP_DEC",1),l3e=new A8("GROUP_MIXED",2),u3e=new A8("GROUP_INC",3)}function gp(){gp=K,_re=new E8(qC,0),GL=new E8("POLYLINE",1),Ek=new E8("ORTHOGONAL",2),WT=new E8("SPLINES",3)}function A1e(){A1e=K,p6t=new lr(Jve),jke=(GP(),Kne),h6t=new ht(Xve,jke),f6t=new ht(Zve,50),d6t=new ht(Qve,(Lt(),!0))}function u1n(e){var t,r,o,a,u;return u=Fbe(e),r=aO(e.c),o=!r,o&&(a=new Eb,Kl(u,"knownLayouters",a),t=new QXe(a),lo(e.c,t)),u}function _1e(e,t){var r,o,a,u,f,p;for(o=0,r=0,u=t,f=0,p=u.length;f<p;++f)a=u[f],a>0&&(o+=a,++r);return r>1&&(o+=e.d*(r-1)),o}function x1e(e){var t,r,o;for(o=new Xp,o.a+="[",t=0,r=e.gc();t<r;)Wo(o,y3(e.Ti(t))),++t<r&&(o.a+=ja);return o.a+="]",o.a}function cY(e,t,r){var o,a;for(o=0,a=e.length;o<a;o++)if(FK((Jt(o,e.length),e.charCodeAt(o)),t,r))return!0;return!1}function l1n(e){var t;return e==null?!0:(t=e.length,t>0&&(Jt(t-1,e.length),e.charCodeAt(t-1)==58)&&!cY(e,O4,D4))}function k1e(e,t){var r;return me(e)===me(t)?!0:se(t,92)?(r=l(t,92),e.e==r.e&&e.d==r.d&&edn(e,r.a)):!1}function WS(e){switch(He(),e.g){case 4:return Vt;case 1:return Qt;case 3:return dn;case 2:return Wt;default:return Is}}function d1n(e){var t,r;if(e.b)return e.b;for(r=sf?null:e.d;r;){if(t=sf?null:r.b,t)return t;r=sf?null:r.d}return GA(),E2e}function x0(e,t){return Ud(),Yl(wg),b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t))}function Igt(e,t){JA();var r,o,a,u;for(o=ydt(e),a=t,g_(o,0,o.length,a),r=0;r<o.length;r++)u=Vmn(e,o[r],r),r!=u&&cC(e,r,u)}function N1e(e){var t,r,o;for(o=ce(le(e.a.mf((_n(),sU)))),r=new V(e.a.Qf());r.a<r.c.c.length;)t=l(q(r),692),OEt(e,t,o)}function f1n(e){var t,r,o,a;for(t=(e.j==null&&(e.j=(l_(),a=GQ.ke(e),R0n(a))),e.j),r=0,o=t.length;r<o;++r);}function uY(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),49),Fe(e.b.b,l(r.b,84)),$W(l(r.a,197),l(r.b,84))}function h1n(e,t,r){var o,a;for(a=e.a.b,o=a.c.length;o<r;o++)Nb(a,0,new ra(e.a));Oi(t,l(ze(a,a.c.length-r),26)),e.b[t.p]=r}function p1n(e,t,r){var o;r.Tg(hTt,1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),kyt(e,o)),r.Ug()}function g1n(e,t,r,o,a){gu(),Ql($l(Ul(Bl(Hl(new gl,0),a.d.e-e),t),a.d)),Ql($l(Ul(Bl(Hl(new gl,0),r-a.a.e),a.a),o))}function Rgt(e,t){var r,o,a,u;t&&(a=fp(t,"x"),r=new qXe(e),E0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new VXe(e),S0(o.a,(Mt(u),u)))}function Ogt(e,t){var r,o,a,u;t&&(a=fp(t,"x"),r=new KXe(e),y0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new YXe(e),v0(o.a,(Mt(u),u)))}function Dgt(e,t){var r;return e.d?ma(e.b,t)?l(Ut(e.b,t),43):(r=t.bg(),Jn(e.b,t,r),r):t.bg()}function C1e(e,t,r){var o,a;if(++e.j,r.dc())return!1;for(a=r.Jc();a.Ob();)o=a.Pb(),e.oj(t,e.Xi(t,o)),++t;return!0}function b1n(e,t){var r,o,a,u;for(a=new Da(t.gc()),o=t.Jc();o.Ob();)r=o.Pb(),u=xJ(e,l(r,57)),u&&Rt(a.c,u);return a}function my(e,t,r){var o,a;for(a=e.Jc();a.Ob();)if(o=a.Pb(),me(t)===me(o)||t!=null&&gr(t,o))return r&&a.Qb(),!0;return!1}function m1n(e,t,r,o){var a,u;if(u=r-t,u<3)for(;u<3;)e*=10,++u;else{for(a=1;u>3;)a*=10,--u;e=(e+(a>>1))/a|0}return o.i=e,!0}function w1n(e){var t,r,o;return e.e==0?0:(t=e.d<<5,r=e.a[e.d-1],e.e<0&&(o=Iht(e),o==e.d-1&&(--r,r=r|0)),t-=Q6(r),t)}function y1n(e){var t,r,o;return e<h$.length?h$[e]:(r=e>>5,t=e&31,o=we(Rn,Qn,30,r+1,15,1),o[r]=1<<t,new Ob(1,r+1,o))}function Lgt(e){var t,r,o;return r=e.ih(),r?(t=e.Bh(),se(t,176)&&(o=Lgt(l(t,176)),o!=null)?o+"."+r:r):null}function I1e(e){var t;return!e.c&&(e.c=new go),ki(e.d,new Fl),lTn(e),t=tTn(e),ei(new vt(null,new St(e.d,16)),new SYe(e)),t}function v1n(e,t){t.Tg("End label post-processing",1),ei(dr(bs(new vt(null,new St(e.b,16)),new h7e),new p7e),new g7e),t.Ug()}function ou(e){var t,r;return se(e,312)?(r=Adn(l(e,312)),t=r,t):se(e,437)?l(e,437).a:se(e,59)?new bQe(e):new hle(e)}function E1n(e){var t=e.e;function r(o){return!o||o.length==0?"":" "+o.join(`
`)}return t&&(t.stack||r(e[rX]))}function R1e(e,t){switch(t){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return _ge(e,t)}function O1e(e,t){switch(t){case 3:Ub(e,0);return;case 4:Hb(e,0);return;case 5:va(e,0);return;case 6:gc(e,0);return}o1e(e,t)}function S1n(e){switch(e.g){case 0:return new Dze;case 1:return new Lze;default:throw Y(new jt(FZ+(e.f!=null?e.f:""+e.g)))}}function Mgt(e){switch(e.g){case 0:return new Oze;case 1:return new Mze;default:throw Y(new jt(BX+(e.f!=null?e.f:""+e.g)))}}function T1n(e){switch(e.g){case 1:return new _ze;case 2:return new hit;default:throw Y(new jt(FZ+(e.f!=null?e.f:""+e.g)))}}function Pgt(e){switch(e.g){case 0:return new Gue;case 1:return new VZe;default:throw Y(new jt($7+(e.f!=null?e.f:""+e.g)))}}function k0(e,t){switch(t.g){case 1:return _S(e.j,(bc(),Z2e));case 2:return _S(e.j,(bc(),eSe));default:return At(),At(),Ro}}function jgt(e,t){var r,o;if(t){for(r=0;r<e.i;++r)if(o=l(e.g[r],374),o.kj(t))return!1;return Tn(e,t)}else return!1}function D1e(e){var t,r,o,a;for(t=new Eb,a=new qv(e.b.Jc());a.b.Ob();)o=l(a.b.Pb(),697),r=Lyn(o),Gsn(t,t.a.length,r);return t.a}function Jj(e){var t;return e.Db&64?iC(e):(t=new ml(iC(e)),t.a+=" (instanceClassName: ",Wo(t,e.D),t.a+=")",t.a)}function L1e(e,t){var r;return e.i>0&&(t.length<e.i&&(r=y6(ru(t).c,e.i),t=r),ca(e.g,0,t,0,e.i)),t.length>e.i&&ii(t,e.i,null),t}function A1n(e,t,r){var o,a;return o=ce(e.p[t.i.p])+ce(e.d[t.i.p])+t.n.b+t.a.b,a=ce(e.p[r.i.p])+ce(e.d[r.i.p])+r.n.b+r.a.b,a-o}function Ur(e,t){var r,o,a;if(r=(e.i==null&&Ff(e),e.i),o=t.Jj(),o!=-1){for(a=r.length;o<a;++o)if(r[o]==t)return o}return-1}function lY(e,t){var r,o,a;return e.f>0?(e.Zj(),o=t==null?0:Rr(t),a=(o&ar)%e.d.length,r=lwt(e,a,o,t),r!=-1):!1}function Xj(e){var t,r,o,a;for(a=0,r=0,o=e.length;r<o;r++)t=(Jt(r,e.length),e.charCodeAt(r)),t<64&&(a=Of(a,fh(1,t)));return a}function _1n(e){var t,r,o,a,u;for(r=l(e.g,686),o=e.i-1;o>=0;--o)for(t=r[o],a=0;a<o;++a)if(u=r[a],ovt(e,t,u)){ZS(e,o);break}}function F6(e,t){var r,o,a,u;for(u=za(e.e.Ah(),t),r=l(e.g,123),a=0;a<e.i;++a)if(o=r[a],u.$l(o.Jk()))return!1;return!0}function Fgt(e,t){var r,o;if(o=new IA(e.a.$c(t,!0)),o.a.gc()<=1)throw Y(new rS);return r=o.a.ec().Jc(),r.Pb(),l(r.Pb(),41)}function x1n(e,t,r){var o,a;for(o=Gi(r,Bo),a=0;Ea(o,0)!=0&&a<t;a++)o=_o(o,Gi(e[a],Bo)),e[a]=On(o),o=c0(o,32);return On(o)}function Zj(e,t){lde();var r,o;return r=jO((M9(),M9(),bI)),o=null,t==r&&(o=l(wa(YEe,e),622)),o||(o=new Hst(e),t==r&&rs(YEe,e,o)),o}function $gt(e){Ww();var t;return t=new To(l(e.e.mf((_n(),m2)),8)),e.B.Gc((Uc(),Tk))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function k1n(e){rj(),l(e.mf((_n(),q1)),185).Gc((Uc(),pU))&&(l(e.mf(dv),185).Ec((xc(),KT)),l(e.mf(q1),185).Kc(pU))}function Bgt(e){var t,r;t=e.d==(eT(),Wx),r=Nbe(e),t&&!r||!t&&r?Te(e.a,(Ue(),Kf),(mh(),FL)):Te(e.a,(Ue(),Kf),(mh(),jL))}function N1n(e){var t,r,o,a;for(o=svn(e),ki(o,lNt),a=e.d,a.c.length=0,r=new V(o);r.a<r.c.c.length;)t=l(q(r),458),li(a,t.b)}function dY(){dY=K,K9(),AB=(Ue(),vm),HIt=Wl(Z(X(cre,1),rve,149,0,[vL,od,s2,ym,nv,Nte,ok,sk,Cte,GI,tv,B1,rv]))}function C1n(e,t){var r;return r=l(Ac(e,jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),r.Oc(jot(r.gc()))}function Td(e,t){var r,o,a;return e.f>0&&(e.Zj(),o=t==null?0:Rr(t),a=(o&ar)%e.d.length,r=yme(e,a,o,t),r)?r.kd():null}function Ugt(e,t){var r,o,a;return se(t,45)?(r=l(t,45),o=r.jd(),a=by(e.Pc(),o),rp(a,r.kd())&&(a!=null||e.Pc()._b(o))):!1}function Pa(e,t,r){var o,a,u;return e.Nj()?(o=e.i,u=e.Oj(),D6(e,o,t),a=e.Gj(3,null,t,o,u),r?r.lj(a):r=a):D6(e,e.i,t),r}function I1n(e,t,r){var o,a;return o=new up(e.e,4,10,(a=t.c,se(a,89)?l(a,29):(_t(),Ml)),null,gg(e,t),!1),r?r.lj(o):r=o,r}function R1n(e,t,r){var o,a;return o=new up(e.e,3,10,null,(a=t.c,se(a,89)?l(a,29):(_t(),Ml)),gg(e,t),!1),r?r.lj(o):r=o,r}function Hgt(e){vy();var t;return(e.q?e.q:(At(),At(),xh))._b((Ue(),ow))?t=l(F(e,ow),205):t=l(F(ji(e),zI),205),t}function E1(e){jf();var t,r;return r=On(e),t=On(Rb(e,32)),t!=0?new hut(r,t):r>10||r<0?new ap(1,r):cxt[r]}function zgt(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!l(e.b,52).Gh())return!0;return e.b=null,!1}else return!0}function Ggt(e,t,r){Lft(),qZe.call(this),this.a=Xw(Rxt,[Pe,vwe],[599,219],0,[m$,ree],2),this.c=new wS,this.g=e,this.f=t,this.d=r}function qgt(e){this.e=we(Rn,Qn,30,e.length,15,1),this.c=we(cc,Ad,30,e.length,16,1),this.b=we(cc,Ad,30,e.length,16,1),this.f=0}function O1n(e){var t,r;for(e.j=we(Ki,Xo,30,e.p.c.length,15,1),r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),e.j[t.p]=t.o.b/e.i}function Vgt(e,t){var r,o;e.a=_o(e.a,1),e.c=b.Math.min(e.c,t),e.b=b.Math.max(e.b,t),e.d+=t,r=t-e.f,o=e.e+r,e.f=o-e.e-r,e.e=o}function D1n(e,t){t.Tg("Min Size Postprocessing",1),Vn(e,(yh(),sv),b.Math.max(ce(le(ve(e,sv))),ce(le(ve(e,c4))))),t.Ug()}function Wgt(e,t){e.Vj();try{e.d._c(e.e++,t),e.f=e.d.j,e.g=-1}catch(r){throw r=ui(r),se(r,99)?Y(new $u):Y(r)}}function fY(){fY=K,Hre=new mqe,D3e=new wqe,L3e=new yqe,M3e=new vqe,P3e=new Eqe,j3e=new Sqe,F3e=new Tqe,$3e=new Aqe,B3e=new _qe}function M1e(){M1e=K,QNe=new xb(15),kDt=new Mi((_n(),df),QNe),CDt=new Mi(Od,15),NDt=new Mi(Tre,Oe(0)),xDt=new Mi(gk,bx)}function Qj(){Qj=K,s4=new Xq("P1_WIDTH_APPROXIMATION",0),qB=new Xq("P2_PACKING",1),_ne=new Xq("P3_WHITESPACE_ELIMINATION",2)}function $6(e,t){var r,o;for(o=t.length,r=0;r<o;r+=2)Sa(e,(Jt(r,t.length),t.charCodeAt(r)),(Jt(r+1,t.length),t.charCodeAt(r+1)))}function Kgt(e,t,r){var o,a,u,f;for(u=t-e.e,f=r-e.f,a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),175),U6(o,o.s+u,o.t+f);e.e=t,e.f=r}function L1n(e,t){var r,o,a,u;for(u=t.b.b,e.a=new Ar,e.b=we(Rn,Qn,30,u,15,1),r=0,a=An(t.b,0);a.b!=a.d.c;)o=l(Sn(a),41),o.g=r++}function wy(e,t){var r,o;return o=null,br(e,(Ue(),SB))&&(r=l(F(e,SB),105),r.nf(t)&&(o=r.mf(t))),o==null&&(o=F(ji(e),t)),o}function dC(e,t){var r;cNn(t),r=l(F(e,(Ue(),pB)),286),r&&Te(e,pB,Dmn(r)),ng(e.c),ng(e.f),_pe(e.d),_pe(l(F(e,yB),216))}function hY(e,t){var r;return gs(e)&&gs(t)&&(r=e%t,SD<r&&r<nm)?r:g1(($0e(gs(e)?vl(e):e,gs(t)?vl(t):t,!0),D1))}function P1e(e,t,r){var o,a,u,f,p;return f=e.k,p=t.k,o=r[f.g][p.g],a=le(wy(e,o)),u=le(wy(t,o)),b.Math.max((Mt(a),a),(Mt(u),u))}function j1e(e,t,r){var o,a;o=l(wa(xk,t),122),a=l(wa($4,t),122),r?(rs(xk,e,o),rs($4,e,a)):(rs($4,e,o),rs(xk,e,a))}function Ygt(e,t){var r,o,a,u;return r=t>>5,t&=31,a=e.d+r+(t==0?0:1),o=we(Rn,Qn,30,a,15,1),Dwn(o,e.a,r,t),u=new Ob(e.e,a,o),F3(u),u}function $_(e,t,r){var o,a,u;for(a=null,u=e.b;u;){if(o=e.a.Le(t,u.d),r&&o==0)return u;o>=0?u=u.a[1]:(a=u,u=u.a[0])}return a}function B6(e,t,r){var o,a,u;for(a=null,u=e.b;u;){if(o=e.a.Le(t,u.d),r&&o==0)return u;o<=0?u=u.a[0]:(a=u,u=u.a[1])}return a}function Jgt(e,t,r){var o,a,u,f;for(a=l(Ut(e.b,r),172),o=0,f=new V(t.j);f.a<f.c.c.length;)u=l(q(f),114),a[u.d.p]&&++o;return o}function M1n(e,t,r,o){var a,u,f;return a=!1,Ckn(e.f,r,o)&&(sbn(e.f,e.a[t][r],e.a[t][o]),u=e.a[t],f=u[o],u[o]=u[r],u[r]=f,a=!0),a}function P1n(e,t){var r,o,a;for(o=new Ft(Gt(Or(e).a.Jc(),new D));an(o);)if(r=l(en(o),17),a=r.d.i,a.c==t)return!1;return!0}function j1n(e){var t;t=e.a;do t=l(en(new Ft(Gt(Or(t).a.Jc(),new D))),17).d.i,t.k==(Ht(),bi)&&Fe(e.e,t);while(t.k==(Ht(),bi))}function pY(e){var t;e.c!=0&&(t=l(ze(e.a,e.b),296),t.b==1?(++e.b,e.b<e.a.c.length&&ZKe(l(ze(e.a,e.b),296))):--t.b,--e.c)}function Xgt(e){var t,r,o,a,u;if(e==null)return null;for(u=new je,r=VK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(u,Ta(t,!0));return u}function Zgt(e){var t,r,o,a,u;if(e==null)return null;for(u=new je,r=VK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(u,Ta(t,!0));return u}function Qgt(e){var t,r,o,a,u;if(e==null)return null;for(u=new je,r=VK(e),o=0,a=r.length;o<a;++o)t=r[o],Fe(u,Ta(t,!0));return u}function e1t(e){var t,r;return t=l(qt(e.a,4),131),t!=null?(r=we(Fre,EQ,420,t.length,0,1),ca(t,0,r,0,t.length),r):ZDt}function gY(e,t){for(var r=0;!t[r]||t[r]=="";)r++;for(var o=t[r++];r<t.length;r++)!t[r]||t[r]==""||(o+=e+t[r]);return o}function Mf(e,t,r){var o,a,u,f;for(u=t+r,io(t,u,e.length),f="",a=t;a<u;)o=b.Math.min(a+1e4,u),f+=Tan(e.slice(a,o)),a=o;return f}function F1n(){return Error.stackTraceLimit>0?(b.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function su(){su=K,XL=new T8("PORTS",0),xm=new T8("PORT_LABELS",1),JL=new T8("NODE_LABELS",2),gv=new T8("MINIMUM_SIZE",3)}function bp(){bp=K,U1=new h8(_d,0),p_e=new h8("NODES_AND_EDGES",1),Hte=new h8("PREFER_EDGES",2),zte=new h8("PREFER_NODES",3)}function $1n(e,t){return Ud(),Ud(),Yl(wg),(b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t)))>0}function F1e(e,t){return Ud(),Ud(),Yl(wg),(b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t)))<0}function t1t(e,t){return Ud(),Ud(),Yl(wg),(b.Math.abs(e-t)<=wg||e==t||isNaN(e)&&isNaN(t)?0:e<t?-1:e>t?1:kb(isNaN(e),isNaN(t)))<=0}function $1e(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function B1e(e,t,r,o,a,u){this.a=e,this.c=t,this.b=r,this.f=o,this.d=a,this.e=u,this.c>0&&this.b>0&&(this.g=aP(this.c,this.b,this.a))}function B1n(e,t){var r=e.a,o;t=String(t),r.hasOwnProperty(t)&&(o=r[t]);var a=(jK(),qQ)[typeof o],u=a?a(o):i1e(typeof o);return u}function B_(e){var t,r,o;if(o=null,t=qf in e.a,r=!t,r)throw Y(new xf("Every element must have an id."));return o=nT(op(e,qf)),o}function N0(e){var t,r;for(r=Rmt(e),t=null;e.c==2;)fr(e),t||(t=(hr(),hr(),new b3(2)),em(t,r),r=t),r.Hm(Rmt(e));return r}function eF(e,t){var r,o,a;return e.Zj(),o=t==null?0:Rr(t),a=(o&ar)%e.d.length,r=yme(e,a,o,t),r?(Xft(e,r),r.kd()):null}function n1t(e,t){return e.e>t.e?1:e.e<t.e?-1:e.d>t.d?e.e:e.d<t.d?-t.e:e.e*Kge(e.a,t.a,e.d)}function r1t(e){return e>=48&&e<48+b.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function U1n(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Y(new jt("Input edge is not connected to the input port."))}function Pf(e,t){if(e.a<0)throw Y(new ts("Did not call before(...) or after(...) before calling add(...)."));return Pde(e,e.a,t),e}function i1t(e,t){var r,o,a;if(e.c)Ub(e.c,t);else for(r=t-eu(e),a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),168),i1t(o,eu(o)+r)}function o1t(e,t){var r,o,a;if(e.c)Hb(e.c,t);else for(r=t-hc(e),a=new V(e.d);a.a<a.c.c.length;)o=l(q(a),168),o1t(o,hc(o)+r)}function U1e(e){return jP(),se(e,167)?l(Ut(a5,hxt),297).Qg(e):ma(a5,ru(e))?l(Ut(a5,ru(e)),297).Qg(e):null}function Ha(e){var t,r;return e.Db&32||(r=(t=l(qt(e,16),29),ln(t||e.fi())-ln(e.fi())),r!=0&&KS(e,32,we(Ri,It,1,r,5,1))),e}function KS(e,t,r){var o;e.Db&t?r==null?dEn(e,t):(o=PY(e,t),o==-1?e.Eb=r:ii(HS(e.Eb),o,r)):r!=null&&LSn(e,t,r)}function H1n(e,t,r,o){var a,u;t.c.length!=0&&(a=N2n(r,o),u=Dvn(t),ei(fj(new vt(null,new St(u,1)),new bHe),new wat(e,r,a,o)))}function z1n(e,t){var r,o,a,u;return o=e.a.length-1,r=t-e.b&o,u=e.c-t&o,a=e.c-e.b&o,Wrt(r<a),r>=u?(Jpn(e,t),-1):(Ypn(e,t),1)}function G1n(e,t){var r,o;for(r=(Jt(t,e.length),e.charCodeAt(t)),o=t+1;o<e.length&&(Jt(o,e.length),e.charCodeAt(o)==r);)++o;return o-t}function H1e(e){var t,r;switch(r=e.Nc(),r.length){case 0:return sP(),UQ;case 1:return t=r[0],new kV(kn(t));default:return new PW(Zgn(r))}}function z1e(e){switch(typeof e){case JJ:return lg(e);case nwe:return mS(e);case cT:return bit(e);default:return e==null?0:s0(e)}}function q1n(e){if(tF(Ix,e))return Lt(),Bx;if(tF(QZ,e))return Lt(),L1;throw Y(new jt("Expecting true or false"))}function V1n(e,t){return e.e<t.e?-1:e.e>t.e?1:e.f<t.f?-1:e.f>t.f?1:Rr(e)-Rr(t)}function s1t(e,t){var r;return me(t)===me(e)?!0:!se(t,24)||(r=l(t,24),r.gc()!=e.gc())?!1:e.Hc(r)}function tF(e,t){return Mt(e),t==null?!1:wt(e,t)?!0:e.length==t.length&&wt(e.toLowerCase(),t.toLowerCase())}function yy(e){var t,r;return Ea(e,-129)>0&&Ea(e,128)<0?(qot(),t=On(e)+128,r=i2e[t],!r&&(r=i2e[t]=new lue(e)),r):new lue(e)}function YS(){YS=K,TI=new c8(_d,0),W2e=new c8("INSIDE_PORT_SIDE_GROUPS",1),mee=new c8("GROUP_MODEL_ORDER",2),wee=new c8(FX,3)}function nF(e){var t,r,o;if(o=e.Gh(),!o)for(t=0,r=e.Mh();r;r=r.Mh()){if(++t>TX)return r.Nh();if(o=r.Gh(),o||r==e)break}return o}function W1n(e){var t;return e.b||fen(e,(t=vrn(e.e,e.a),!t||!wt(QZ,Td((!t.b&&(t.b=new Zc((_t(),Do),zs,t)),t.b),"qualified")))),e.c}function K1n(e){var t,r;for(r=new V(e.a.b);r.a<r.c.c.length;)if(t=l(q(r),70),Ye(Ke(F(t,(Ue(),o2)))))return!0;return!1}function Y1n(e,t){RW();var r,o;for(o=new Ft(Gt(Lf(e).a.Jc(),new D));an(o);)if(r=l(en(o),17),r.d.i==t||r.c.i==t)return r;return null}function a1t(e,t,r){var o,a,u;for(u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),227),o=new L8(l(Ut(e.a,a.b),68)),Fe(t.a,o),a1t(e,o,a)}function c1t(e,t,r){var o,a,u;o=t.c.p,u=t.p,e.b[o][u]=new Oat(e,t),r&&(e.a[o][u]=new xJe(t),a=l(F(t,(Ie(),tw)),9),a&&yt(e.d,a,t))}function J1n(e,t,r){var o;e.a=r,e.a.Tg(pTt,1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),nwt(e,o)),e.a.Ug()}function u1t(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),sr)),o!=null)?o:t.ve()}function X1n(e,t){var r,o;return r=t.ni(e.a),r&&(o=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),sr)),o!=null)?o:t.ve()}function Z1n(e,t){(!t&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function Q1n(e,t,r,o){o==e,l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68).c.b,Cpe(o,t,e)}function G1e(e,t,r){t.b=b.Math.max(t.b,-r.a),t.c=b.Math.max(t.c,r.a-e.a),t.d=b.Math.max(t.d,-r.b),t.a=b.Math.max(t.a,r.b-e.b)}function ebn(e,t,r){var o,a,u;return o=l(ie(Fc(e.a),t),88),u=(a=o.c,a||(_t(),bf)),(u.Sh()?y1(e.b,l(u,52)):u)==r?GF(o):w_(o,r),u}function q1e(e,t,r){this.c=e,this.f=new je,this.e=new ro,this.j=new Gfe,this.n=new Gfe,this.b=t,this.g=new ql(t.c,t.d,t.b,t.a),this.a=r}function bY(e){var t,r,o,a;for(this.a=new ch,this.d=new pi,this.e=0,r=e,o=0,a=r.length;o<a;++o)t=r[o],!this.f&&(this.f=t),$W(this,t)}function l1t(e){jf(),e.length==0?(this.e=0,this.d=1,this.a=Z(X(Rn,1),Qn,30,15,[0])):(this.e=1,this.d=e.length,this.a=e,F3(this))}function fC(e,t,r){qZe.call(this),this.a=we(Rxt,vwe,219,(Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])).length,0,1),this.b=e,this.d=t,this.c=r}function tbn(e){var t,r,o,a,u,f;for(f=l(F(e,(Ie(),wr)),12),Te(f,ek,e.i.n.b),t=Df(e.e),o=t,a=0,u=o.length;a<u;++a)r=o[a],Yi(r,f)}function nbn(e){var t,r,o,a,u,f;for(r=l(F(e,(Ie(),wr)),12),Te(r,ek,e.i.n.b),t=Df(e.g),a=t,u=0,f=a.length;u<f;++u)o=a[u],mo(o,r)}function rbn(e,t){var r,o,a,u;for(o=0,a=t.gc();o<a;++o)r=t.Rl(o),se(r,104)&&l(r,20).Bb&Ws&&(u=t.Sl(o),u!=null&&xJ(e,l(u,57)))}function ibn(){var e;return u$!=0&&(e=Date.now(),e-Z_t>2e3&&(Z_t=e,l$=b.setTimeout(yen,10))),u$++==0?(Tfn((Yue(),KEe)),!0):!1}function obn(e,t,r){var o;(vxt?(d1n(e),!0):Ext||Txt?(GA(),!0):Sxt&&(GA(),!1))&&(o=new sot(t),o.b=r,dyn(e,o))}function mY(e,t){var r;r=!e.A.Gc((su(),xm))||e.q==(qi(),fa),e.u.Gc((xc(),Rp))?r?$Nn(e,t):vEt(e,t):e.u.Gc(Y1)&&(r?aNn(e,t):MEt(e,t))}function d1t(e){var t;me(ve(e,(_n(),p2)))===me((pp(),lU))&&(Br(e)?(t=l(ve(Br(e),p2),348),Vn(e,p2,t)):Vn(e,p2,T4))}function sbn(e,t,r){var o,a;ZY(e.e,t,r,(He(),Wt)),ZY(e.i,t,r,Qt),e.a&&(a=l(F(t,(Ie(),wr)),12),o=l(F(r,wr),12),FW(e.g,a,o))}function f1t(e,t,r){return new ql(b.Math.min(e.a,t.a)-r/2,b.Math.min(e.b,t.b)-r/2,b.Math.abs(e.a-t.a)+r,b.Math.abs(e.b-t.b)+r)}function abn(e,t){var r,o;return r=na(e.a.c.p,t.a.c.p),r!=0?r:(o=na(e.a.d.i.p,t.a.d.i.p),o!=0?o:na(t.a.d.p,e.a.d.p))}function cbn(e,t,r){var o,a,u,f;return u=t.j,f=r.j,u!=f?u.g-f.g:(o=e.f[t.p],a=e.f[r.p],o==0&&a==0?0:o==0?-1:a==0?1:vr(o,a))}function h1t(e){var t;this.d=new je,this.j=new ro,this.g=new ro,t=e.g.b,this.f=l(F(ji(t),(Ue(),xu)),87),this.e=ce(le(oF(t,nv)))}function p1t(e){this.d=new je,this.e=new f1,this.c=we(Rn,Qn,30,(He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])).length,15,1),this.b=e}function V1e(e,t,r){var o;switch(o=r[e.g][t],e.g){case 1:case 3:return new Me(0,o);case 2:case 4:return new Me(o,0);default:return null}}function ubn(e,t){var r;if(r=gE(e.o,t),r==null)throw Y(new xf("Node did not exist in input."));return qme(e,t),SJ(e,t),Mme(e,t,r),null}function g1t(e,t,r){var o,a;a=l(JO(t.f),207);try{a.kf(e,r),vhe(t.f,a)}catch(u){throw u=ui(u),se(u,102)?(o=u,Y(o)):Y(u)}}function b1t(e,t,r){var o,a,u,f,p,m;return o=null,p=H0e(W3(),t),u=null,p&&(a=null,m=B0e(p,r),f=null,m!=null&&(f=e.of(p,m)),a=f,u=a),o=u,o}function wY(e,t,r,o){var a;if(a=e.length,t>=a)return a;for(t=t>0?t:0;t<a&&!FK((Jt(t,e.length),e.charCodeAt(t)),r,o);t++);return t}function Yd(e,t){var r,o;for(o=e.c.length,t.length<o&&(t=B9(new Array(o),t)),r=0;r<o;++r)ii(t,r,e.c[r]);return t.length>o&&ii(t,o,null),t}function m1t(e,t){var r,o;for(o=e.a.length,t.length<o&&(t=B9(new Array(o),t)),r=0;r<o;++r)ii(t,r,e.a[r]);return t.length>o&&ii(t,o,null),t}function lbn(e){var t;if(e==null)return null;if(t=e2n(Ta(e,!0)),t==null)throw Y(new hq("Invalid hexBinary value: '"+e+"'"));return t}function rF(e,t,r){var o;t.a.length>0&&(Fe(e.b,new yot(t.a,r)),o=t.a.length,0<o?t.a=yl(t.a,0,0):0>o&&(t.a+=grt(we(al,Bf,30,-o,15,1))))}function w1t(e,t,r){var o,a,u;if(!r[t.d])for(r[t.d]=!0,a=new V(yE(t));a.a<a.c.c.length;)o=l(q(a),220),u=Wj(o,t),w1t(e,u,r)}function y1t(e,t){var r,o,a,u;for(r=0,a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),u=o.o.a+o.d.c+o.d.b+e.j,r=b.Math.max(r,u);return r}function Jb(e,t,r){var o,a,u;return a=l(Ut(e.e,t),395),a?(u=tfe(a,r),Ert(e,a),u):(o=new Nfe(e,t,r),Jn(e.e,t,o),ect(o),null)}function dbn(e,t){var r;if(r=Ut(e.q,t),r==null)throw Y(new xf("Port did not exist in input."));return qme(e,t),SJ(e,t),Mme(e,t,r),null}function yY(){return t7(),Z(X(ikt,1),Ce,169,0,[nkt,tkt,rkt,Wxt,Vxt,Kxt,Xxt,Jxt,Yxt,ekt,Qxt,Zxt,Gxt,zxt,qxt,Uxt,Bxt,Hxt,Fxt,jxt,$xt,iee])}function U_(e){switch(e.g){case 4:return new Me(0,-1);case 1:return new Me(1,0);case 2:return new Me(-1,0);default:return new Me(0,1)}}function vY(e){switch(e.g){case 1:return Si(),il;case 4:return Si(),cs;case 2:return Si(),fs;case 3:return Si(),ff}return Si(),hf}function fbn(e){var t;switch(t=e.fj(null),t){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function Jd(){Jd=K,xt=new SO("PARENTS",0),ri=new SO("NODES",1),Rd=new SO("EDGES",2),Cg=new SO("PORTS",3),Np=new SO("LABELS",4)}function hbn(e,t,r,o){var a,u,f;return a=new up(e.e,1,13,(f=t.c,f||(_t(),bf)),(u=r.c,u||(_t(),bf)),gg(e,t),!1),o?o.lj(a):o=a,o}function pbn(e,t,r){var o;switch(o=r.q.getFullYear()-N1+N1,o<0&&(o=-o),t){case 1:e.a+=o;break;case 2:bh(e,o%100,2);break;default:bh(e,o,t)}}function An(e,t){var r,o;if(oy(t,e.b),t>=e.b>>1)for(o=e.c,r=e.b;r>t;--r)o=o.b;else for(o=e.a.a,r=0;r<t;++r)o=o.a;return new oot(e,t,o)}function v1t(e){this.b=new je,this.e=new je,this.d=e,this.a=!BA(dr(new vt(null,new ey(new Vd(e.b))),new RA(new zBe))).zd((_b(),TT))}function gbn(e){var t;e.g&&(e.c.ig()?e.f:e.a)&&(t=e.c.ig()?e.f:e.a,Xme(t.a,e.o,!0),Xme(t.a,e.o,!1),Te(e.o,(Ue(),Zr),(qi(),_m)))}function E1t(e,t){var r,o,a;a=t.d.i,o=a.k,!(o==(Ht(),Xr)||o==af)&&(r=new Ft(Gt(Or(a).a.Jc(),new D)),an(r)&&Jn(e.k,t,l(en(r),17)))}function bbn(e,t){return dp(),vr((e.a.b==0?new Me(e.c.e.a,e.c.e.b):l(YA(e.a),8)).b,(t.a.b==0?new Me(t.c.e.a,t.c.e.b):l(YA(t.a),8)).b)}function mbn(e,t){return dp(),vr((e.a.b==0?new Me(e.c.e.a,e.c.e.b):l(YA(e.a),8)).a,(t.a.b==0?new Me(t.c.e.a,t.c.e.b):l(YA(t.a),8)).a)}function wbn(e,t){return dp(),vr((e.a.b==0?new Me(e.b.e.a,e.b.e.b):l(zl(e.a),8)).a,(t.a.b==0?new Me(t.b.e.a,t.b.e.b):l(zl(t.a),8)).a)}function ybn(e,t){return dp(),vr((e.a.b==0?new Me(e.b.e.a,e.b.e.b):l(zl(e.a),8)).b,(t.a.b==0?new Me(t.b.e.a,t.b.e.b):l(zl(t.a),8)).b)}function EE(){EE=K,W1=new AO("DISTRIBUTED",0),WL=new AO("JUSTIFIED",1),JNe=new AO("BEGIN",2),A4=new AO(px,3),XNe=new AO("END",4)}function EY(e,t){var r,o,a;return o=kt(e.Ah(),t),r=t-e.gi(),r<0?(a=e.Fh(o),a>=0?e.Th(a):cJ(e,o)):r<0?cJ(e,o):l(o,69).uk().zk(e,e.ei(),r)}function S1t(e){var t,r,o;for(o=(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),e.o),r=o.c.Jc();r.e!=r.i.gc();)t=l(r.Wj(),45),t.kd();return s6(o)}function Ge(e){var t;if(se(e.a,4)){if(t=U1e(e.a),t==null)throw Y(new ts(wTt+e.b+"'. "+mTt+(np(c5),c5.k)+nEe));return t}else return e.a}function vbn(e){var t;if(e==null)return null;if(t=WNn(Ta(e,!0)),t==null)throw Y(new hq("Invalid base64Binary value: '"+e+"'"));return t}function rn(e){var t;try{return t=e.i.Xb(e.e),e.Vj(),e.g=e.e++,t}catch(r){throw r=ui(r),se(r,99)?(e.Vj(),Y(new vs)):Y(r)}}function SY(e){var t;try{return t=e.c.Ti(e.e),e.Vj(),e.g=e.e++,t}catch(r){throw r=ui(r),se(r,99)?(e.Vj(),Y(new vs)):Y(r)}}function iF(e){var t,r,o,a;for(a=0,r=0,o=e.length;r<o;r++)t=(Jt(r,e.length),e.charCodeAt(r)),t>=64&&t<128&&(a=Of(a,fh(1,t-64)));return a}function oF(e,t){var r,o;return o=null,br(e,(_n(),qT))&&(r=l(F(e,qT),105),r.nf(t)&&(o=r.mf(t))),o==null&&ji(e)&&(o=F(ji(e),t)),o}function Ebn(e,t){var r;return r=l(F(e,(Ue(),as)),79),mV(t,iNt)?r?tu(r):(r=new Lc,Te(e,as,r)):r&&Te(e,as,null),r}function Sbn(e,t){var r,o,a;for(a=new Da(t.gc()),o=t.Jc();o.Ob();)r=l(o.Pb(),295),r.c==r.f?K_(e,r,r.c):Byn(e,r)||Rt(a.c,r);return a}function T1t(e,t){var r,o,a;for(r=e.o,a=l(l(yr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),o.e.a=_mn(o,r.a),o.e.b=r.b*ce(le(o.b.mf(w$)))}function Tbn(e,t){var r,o,a,u;return a=e.k,r=ce(le(F(e,(Ie(),nw)))),u=t.k,o=ce(le(F(t,nw))),u!=(Ht(),yi)?-1:a!=yi?1:r==o?0:r<o?-1:1}function Abn(e,t){var r,o;return r=l(l(Ut(e.g,t.a),49).a,68),o=l(l(Ut(e.g,t.b),49).a,68),h1(t.a,t.b)-h1(t.a,pde(r.b))-h1(t.b,pde(o.b))}function H_(e,t){var r,o;if(++e.j,t!=null&&(r=(o=e.a.Cb,se(o,101)?l(o,101).qh():null),eEn(t,r))){KS(e.a,4,r);return}KS(e.a,4,l(t,131))}function sF(e){switch(yle(),this.c=new je,this.d=e,e.g){case 0:case 2:this.a=She(V2e),this.b=Kr;break;case 3:case 1:this.a=V2e,this.b=Li}}function _bn(e){var t;AS(l(F(e,(Ue(),Zr)),103))&&(t=e.b,E0t((at(0,t.c.length),l(t.c[0],26))),E0t(l(ze(t,t.c.length-1),26)))}function xbn(e,t){t.Tg("Self-Loop post-processing",1),ei(dr(dr(bs(new vt(null,new St(e.b,16)),new U$e),new H$e),new z$e),new G$e),t.Ug()}function A1t(e,t,r){var o,a;if(e.c)va(e.c,e.c.i+t),gc(e.c,e.c.j+r);else for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),168),A1t(o,t,r)}function kbn(e){var t,r,o;for(o=e.c.a,e.p=(kn(o),new Tc(o)),r=new V(o);r.a<r.c.c.length;)t=l(q(r),9),t.p=uvn(t).a;At(),ki(e.p,new MUe)}function Nbn(e,t){var r,o;if(e.j.length!=t.j.length)return!1;for(r=0,o=e.j.length;r<o;r++)if(!wt(e.j[r],t.j[r]))return!1;return!0}function _1t(e,t){At();var r,o,a,u;for(r=e,u=t,se(e,24)&&!se(t,24)&&(r=t,u=e),a=r.Jc();a.Ob();)if(o=a.Pb(),u.Gc(o))return!1;return!0}function Cbn(e,t,r,o){if(t.a<o.a)return!0;if(t.a==o.a){if(t.b<o.b)return!0;if(t.b==o.b&&e.b>r.b)return!0}return!1}function x1t(e){var t;return t=new Qg,t.a+="n",e.k!=(Ht(),Xr)&&zn(zn((t.a+="(",t),SV(e.k).toLowerCase()),")"),zn((t.a+="_",t),z6(e)),t.a}function hC(){hC=K,a_e=new mO(ive,0),Bte=new mO(zX,1),Ute=new mO("LINEAR_SEGMENTS",2),VI=new mO("BRANDES_KOEPF",3),WI=new mO(PSt,4)}function JS(){JS=K,MB=new g8("P1_TREEIFICATION",0),e4=new g8("P2_NODE_ORDERING",1),t4=new g8("P3_NODE_PLACEMENT",2),n4=new g8(GSt,3)}function XS(e,t,r,o){var a;return r>=0?e.Ph(t,r,o):(e.Mh()&&(o=(a=e.Ch(),a>=0?e.xh(o):e.Mh().Qh(e,-1-a,null,o))),e.zh(t,r,o))}function W1e(e,t){switch(t){case 7:!e.e&&(e.e=new Tt(Ir,e,7,4)),vn(e.e);return;case 8:!e.d&&(e.d=new Tt(Ir,e,8,5)),vn(e.d);return}O1e(e,t)}function Vn(e,t,r){return r==null?(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),eF(e.o,t)):(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),V6(e.o,t,r)),e}function sa(e,t){var r;r=e.dd(t);try{return r.Pb()}catch(o){throw o=ui(o),se(o,113)?Y(new Ia("Can't get element "+t)):Y(o)}}function k1t(e,t){var r;switch(r=l(Ko(e.b,t),129).n,t.g){case 1:e.t>=0&&(r.d=e.t);break;case 3:e.t>=0&&(r.a=e.t)}e.C&&(r.b=e.C.b,r.c=e.C.c)}function Ibn(e){var t;t=e.a;do t=l(en(new Ft(Gt(si(t).a.Jc(),new D))),17).c.i,t.k==(Ht(),bi)&&e.b.Ec(t);while(t.k==(Ht(),bi));e.b=ou(e.b)}function N1t(e,t){var r,o,a;for(a=e,o=new Ft(Gt(si(t).a.Jc(),new D));an(o);)r=l(en(o),17),r.c.i.c&&(a=b.Math.max(a,r.c.i.c.p));return a}function Rbn(e,t){var r,o,a;for(a=0,o=l(l(yr(e.r,t),24),85).Jc();o.Ob();)r=l(o.Pb(),116),a+=r.d.d+r.b.Kf().b+r.d.a,o.Ob()&&(a+=e.w);return a}function Obn(e,t){var r,o,a;for(a=0,o=l(l(yr(e.r,t),24),85).Jc();o.Ob();)r=l(o.Pb(),116),a+=r.d.b+r.b.Kf().a+r.d.c,o.Ob()&&(a+=e.w);return a}function C1t(e){var t,r,o,a;if(o=0,a=xy(e),a.c.length==0)return 1;for(r=new V(a);r.a<r.c.c.length;)t=l(q(r),19),o+=C1t(t);return o}function I1t(e){var t,r;for(this.b=new je,this.c=e,this.a=!1,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),9),this.a=this.a|t.k==(Ht(),Xr)}function Dbn(e,t,r){var o,a,u,f;return o=e.bd(t),o!=-1&&(e.Nj()?(u=e.Oj(),f=iP(e,o),a=e.Gj(4,f,null,o,u),r?r.lj(a):r=a):iP(e,o)),r}function xo(e,t,r){var o,a,u,f;return o=e.bd(t),o!=-1&&(e.Nj()?(u=e.Oj(),f=ZS(e,o),a=e.Gj(4,f,null,o,u),r?r.lj(a):r=a):ZS(e,o)),r}function Lbn(e,t,r,o){var a,u,f;r.Uh(t)&&(Mo(),dK(t)?(a=l(r.Jh(t),164),rbn(e,a)):(u=(f=t,f?l(o,52).di(f):null),u&&sQt(r.Jh(t),u)))}function aF(e,t,r,o){var a,u,f;return u=kt(e.Ah(),t),a=t-e.gi(),a<0?(f=e.Fh(u),f>=0?e.Ih(f,r,!0):O0(e,u,r)):l(u,69).uk().wk(e,e.ei(),a,r,o)}function Mbn(e,t,r,o){var a,u;u=t.nf((_n(),b2))?l(t.mf(b2),24):e.j,a=kgn(u),a!=(t7(),iee)&&(r&&!$1e(a)||Xbe(t2n(e,a,o),t))}function TY(e,t){return zi(e)?!!q_t[t]:e.Qm?!!e.Qm[t]:zw(e)?!!G_t[t]:Hw(e)?!!z_t[t]:!1}function Pbn(e){switch(e.g){case 1:return A0(),eL;case 3:return A0(),QD;case 2:return A0(),see;case 4:return A0(),oee;default:return null}}function jbn(e,t,r){if(e.e)switch(e.b){case 1:Kan(e.c,t,r);break;case 0:Yan(e.c,t,r)}else But(e.c,t,r);e.a[t.p][r.p]=e.c.i,e.a[r.p][t.p]=e.c.e}function R1t(e){var t,r;if(e==null)return null;for(r=we(Nh,Pe,201,e.length,0,2),t=0;t<r.length;t++)r[t]=l(tdn(e[t],e[t].length),201);return r}function O1t(e){var t;t=l(F(e,(js(),rxe)),100),Te(e,(Nr(),uk),new Me(0,0)),jyt(new i6,e,t.b-ce(le(F(e,ine))),t.d-ce(le(F(e,one))))}function cF(e){var t;if(GK(e))return gP(e),e.sl()&&(t=TC(e.e,e.b,e.c,e.a,e.j),e.j=t),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw Y(new vs)}function D1t(e,t,r){r.Tg("Compound graph preprocessor",1),e.a=new b0,bEt(e,t,null),yxn(e,t),H2n(e),Te(t,(Ie(),yTe),e.a),e.a=null,Zs(e.b),r.Ug()}function L1t(e,t,r){var o,a,u;for(a=new Ft(Gt((t?si(e):Or(e)).a.Jc(),new D));an(a);)o=l(en(a),17),u=t?o.c.i:o.d.i,u.k==(Ht(),ta)&&Oi(u,r)}function Fbn(e,t){var r,o,a;for(t.Tg("Untreeify",1),r=l(F(e,(Nr(),K_e)),16),a=r.Jc();a.Ob();)o=l(a.Pb(),65),Gn(o.b.d,o),Gn(o.c.b,o);t.Ug()}function M1t(e,t,r){var o,a,u;return o=t.i.j.c.length,br(t,(Ie(),Cr))&&br(r,Cr)?(a=D0(t,r,e.b,o),u=D0(r,t,e.b,o),a<u?-1:a>u?1:0):0}function vy(){vy=K,kB=new f8(_d,0),Fte=new f8("PORT_POSITION",1),c2=new f8("NODE_SIZE_WHERE_SPACE_PERMITS",2),a2=new f8("NODE_SIZE",3)}function mh(){mh=K,ure=new s3("AUTOMATIC",0),jL=new s3(hT,1),FL=new s3(pT,2),rU=new s3("TOP",3),tU=new s3(Swe,4),nU=new s3(px,5)}function SE(e,t,r){var o,a;if(a=e.gc(),t>=a)throw Y(new Yw(t,a));if(e.Qi()&&(o=e.bd(r),o>=0&&o!=t))throw Y(new jt(GD));return e.Vi(t,r)}function gg(e,t){var r,o,a;if(a=hbt(e,t),a>=0)return a;if(e.ml()){for(o=0;o<e.i;++o)if(r=e.nl(l(e.g[o],57)),me(r)===me(t))return o}return-1}function K1e(e,t){if(this.a=l(kn(e),257),this.b=l(kn(t),257),e.Cd(t)>0||e==(aq(),jQ)||t==(cq(),FQ))throw Y(new jt("Invalid range: "+$ut(e,t)))}function Y1e(e,t,r,o){Q_();var a,u;for(a=0,u=0;u<r;u++)a=_o(yo(Gi(t[u],Bo),Gi(o,Bo)),Gi(On(a),Bo)),e[u]=On(a),a=Rb(a,32);return On(a)}function J1e(e,t,r){var o,a;for(a=0,o=0;o<ree;o++)a=b.Math.max(a,YK(e.a[t.g][o],r));return t==(Sd(),$a)&&e.b&&(a=b.Math.max(a,e.b.b)),a}function uF(e,t){var r,o;if(jde(t>0),(t&-t)==t)return bo(t*Bc(e,31)*4656612873077393e-25);do r=Bc(e,31),o=r%t;while(r-o+(t-1)<0);return bo(o)}function $bn(e,t){var r,o,a;for(r=o0(new Tb,e),a=new V(t);a.a<a.c.c.length;)o=l(q(a),126),Ql($l(Ul(Hl(Bl(new gl,0),0),r),o));return r}function U6(e,t,r){var o,a;for(dpn(e,t-e.s,r-e.t),a=new V(e.n);a.a<a.c.c.length;)o=l(q(a),211),$Zt(o,o.e+t-e.s),BZt(o,o.f+r-e.t);e.s=t,e.t=r}function Bbn(e,t,r){switch(r.g){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function H6(e,t,r,o){var a,u;for(a=t;a<e.c.length;a++)if(u=(at(a,e.c.length),l(e.c[a],12)),r.Mb(u))Rt(o.c,u);else return a;return e.c.length}function Ubn(e){var t,r,o;for(o=l(yr(e.a,(Ey(),V$)),16).Jc();o.Ob();)r=l(o.Pb(),108),t=sbe(r),r_(e,r,t[0],(T0(),Z0),0),r_(e,r,t[1],Q0,1)}function Hbn(e){var t,r,o;for(o=l(yr(e.a,(Ey(),W$)),16).Jc();o.Ob();)r=l(o.Pb(),108),t=sbe(r),r_(e,r,t[0],(T0(),Z0),0),r_(e,r,t[1],Q0,1)}function AY(e){switch(e.g){case 0:return null;case 1:return new Tht;case 2:return new que;default:throw Y(new jt(FZ+(e.f!=null?e.f:""+e.g)))}}function P1t(e){var t;return t=ce(le(ve(e,(_n(),hv))))*b.Math.sqrt((!e.a&&(e.a=new ke(En,e,10,11)),e.a).i),new Me(t,t/ce(le(ve(e,mk))))}function _Y(e){var t;return e.f&&e.f.Sh()&&(t=l(e.f,52),e.f=l(y1(e,t),83),e.f!=t&&e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,9,8,t,e.f))),e.f}function xY(e){var t;return e.i&&e.i.Sh()&&(t=l(e.i,52),e.i=l(y1(e,t),83),e.i!=t&&e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,9,7,t,e.i))),e.i}function Po(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=l(y1(e,t),20),e.b!=t&&e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,9,21,t,e.b))),e.b}function lF(e,t){var r,o,a;e.d==null?(++e.e,++e.f):(o=t.yi(),Z2n(e,e.f+1),a=(o&ar)%e.d.length,r=e.d[a],!r&&(r=e.d[a]=e.bk()),r.Ec(t),++e.f)}function X1e(e,t,r){var o;return t.rk()?!1:t.Gk()!=-2?(o=t.gk(),o==null?r==null:gr(o,r)):t.ok()==e.e.Ah()&&r==null}function dF(){var e;wu(16,f2t),e=fht(16),this.b=we($Q,yD,309,e,0,1),this.c=we($Q,yD,309,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Xd(e){ife.call(this),this.k=(Ht(),Xr),this.j=(wu(6,Oy),new Da(6)),this.b=(wu(2,Oy),new Da(2)),this.d=new nq,this.f=new $ue,this.a=e}function zbn(e){var t,r,o,a,u;for(r=0,a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),126),o.d=r++;return t=Kwn(e),u=null,t.c.length>1&&(u=$bn(e,t)),u}function Gbn(e){var t,r,o;for(t=0,o=new V(e.c.a);o.a<o.c.c.length;)r=l(q(o),9),t+=yd(new Ft(Gt(Or(r).a.Jc(),new D)));return t/e.c.a.c.length}function kY(e){var t,r;for(r=new tn(e);r.e!=r.i.gc();)if(t=l(rn(r),88),t.e||(!t.d&&(t.d=new Ei(qo,t,1)),t.d).i!=0)return!0;return!1}function NY(e){var t,r;for(r=new tn(e);r.e!=r.i.gc();)if(t=l(rn(r),88),t.e||(!t.d&&(t.d=new Ei(qo,t,1)),t.d).i!=0)return!0;return!1}function j1t(e,t,r,o){var a,u,f;for(a=l(yr(o?e.a:e.b,t),24),f=a.Jc();f.Ob();)if(u=l(f.Pb(),19),BF(e,r,u))return!0;return!1}function qbn(e,t){for(var r,o;e.Ob();)if(!t.Ob()||(r=e.Pb(),o=t.Pb(),!(me(r)===me(o)||r!=null&&gr(r,o))))return!1;return!t.Ob()}function Vbn(e){var t,r;e.c.length<=1||(t=Xwt(e,(He(),dn)),Lmt(e,l(t.a,15).a,l(t.b,15).a),r=Xwt(e,Wt),Lmt(e,l(r.a,15).a,l(r.b,15).a))}function Wbn(e,t,r){var o,a;for(a=e.a.b,o=a.c.length;o<r;o++)Nb(a,a.c.length,new ra(e.a));Oi(t,(at(r-1,a.c.length),l(a.c[r-1],26))),e.b[t.p]=r}function F1t(e,t){var r,o,a;for(e.b[t.g]=1,o=An(t.d,0);o.b!=o.d.c;)r=l(Sn(o),65),a=r.c,e.b[a.g]==1?Gn(e.a,r):e.b[a.g]==2?e.b[a.g]=1:F1t(e,a)}function CY(){CY=K,Ike=(yJ(),xke),Cke=new xb(8),new Mi((_n(),df),Cke),new Mi(Od,8),o6t=Ake,kke=XOt,Nke=ZOt,i6t=new Mi(BL,(Lt(),!1))}function Kbn(e,t,r){var o;r.Tg("Shrinking tree compaction",1),Ye(Ke(F(t,(S_(),EI))))?(hhn(e,t.f),Zdt(t.f,(o=t.c,o))):Zdt(t.f,t.c),r.Ug()}function Z1e(e,t,r,o){switch(t){case 7:return!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e;case 8:return!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d}return E1e(e,t,r,o)}function IY(e){var t;return e.a&&e.a.Sh()&&(t=l(e.a,52),e.a=l(y1(e,t),146),e.a!=t&&e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,9,5,t,e.a))),e.a}function Xb(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function RY(e,t){if(e==null)throw Y(new cS("null key in entry: null="+t));if(t==null)throw Y(new cS("null value in entry: "+e+"=null"))}function $1t(e,t){var r;return r=Z(X(Ki,1),Xo,30,15,[YK(e.a[0],t),YK(e.a[1],t),YK(e.a[2],t)]),e.d&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function B1t(e,t){var r;return r=Z(X(Ki,1),Xo,30,15,[Bj(e.a[0],t),Bj(e.a[1],t),Bj(e.a[2],t)]),e.d&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function Q1e(e,t,r){AS(l(F(t,(Ue(),Zr)),103))||(upe(e,t,bg(t,r)),upe(e,t,bg(t,(He(),dn))),upe(e,t,bg(t,Vt)),At(),ki(t.j,new TJe(e)))}function U1t(e){var t,r;for(e.c||Qxn(e),r=new Lc,t=new V(e.a),q(t);t.a<t.c.c.length;)Gn(r,l(q(t),415).a);return cn(r.b!=0),Vu(r,r.c.b),r}function Ybn(e,t,r){var o,a,u,f,p;for(p=e.r+t,e.r+=t,e.d+=r,o=r/e.n.c.length,a=0,f=new V(e.n);f.a<f.c.c.length;)u=l(q(f),211),VEn(u,p,o,a),++a}function Jbn(e){var t,r,o;for(e.b.a.$b(),e.a=we(b$,It,60,e.c.c.a.b.c.length,0,1),t=0,o=new V(e.c.c.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.f=t++}function Xbn(e){var t,r,o;for(e.b.a.$b(),e.a=we(hee,It,84,e.c.a.a.b.c.length,0,1),t=0,o=new V(e.c.a.a.b);o.a<o.c.c.length;)r=l(q(o),84),r.i=t++}function Zbn(e){var t,r,o,a,u;for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),t=0,u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),9),a.p=t++}function Qbn(e,t,r){var o,a,u,f;for(f=0,o=r/e.a.c.length,u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),175),U6(a,a.s,a.t+f*o),Ybn(a,e.d-a.r+t,o),++f}function H1t(e){var t;if(t=ngn(e),!an(e))throw Y(new Ia("position (0) must be less than the number of elements that remained ("+t+")"));return en(e)}function emn(e,t){var r;return e.a||(r=we(Ki,Xo,30,0,15,1),Kv(e.b.a,new cYe(r)),yZe(r,Pft(De.prototype.Ke,De,[])),e.a=new Wit(r,e.d)),ej(e.a,t)}function z1t(e){switch(e.g){case 1:return He(),Wt;case 4:return He(),Vt;case 3:return He(),Qt;case 2:return He(),dn;default:return He(),Is}}function tmn(e,t,r){t.k==(Ht(),Xr)&&r.k==bi&&(e.d=QK(t,(He(),dn)),e.b=QK(t,Vt)),r.k==Xr&&t.k==bi&&(e.d=QK(r,(He(),Vt)),e.b=QK(r,dn))}function OY(e,t){var r,o,a;for(a=ks(e,t),o=a.Jc();o.Ob();)if(r=l(o.Pb(),12),F(r,(Ie(),Nc))!=null||v3(new Vd(r.b)))return!0;return!1}function nmn(e,t,r){r.Tg("Linear segments node placement",1),e.b=l(F(t,(Ie(),n2)),317),I3n(e,t),txn(e,t),Sxn(e,t),s3n(e),e.a=null,e.b=null,r.Ug()}function ebe(e,t){return va(t,e.e+e.d+(e.c.c.length==0?0:e.b)),gc(t,e.f),e.a=b.Math.max(e.a,t.f),e.d+=t.g+(e.c.c.length==0?0:e.b),Fe(e.c,t),!0}function rmn(e,t){var r,o,a,u,f,p;for(a=t.length-1,f=0,p=0,o=0;o<=a;o++)u=t[o],r=byn(a,o)*t1e(1-e,a-o)*t1e(e,o),f+=u.a*r,p+=u.b*r;return new Me(f,p)}function G1t(e,t){var r,o,a,u,f;for(r=t.gc(),e.Zi(e.i+r),u=t.Jc(),f=e.i,e.i+=r,o=f;o<e.i;++o)a=u.Pb(),w3(e,o,e.Xi(o,a)),e.Ki(o,a),e.Li();return r!=0}function imn(e,t,r){var o,a,u;return e.Nj()?(o=e.Cj(),u=e.Oj(),++e.j,e.oj(o,e.Xi(o,t)),a=e.Gj(3,null,t,o,u),r?r.lj(a):r=a):yit(e,e.Cj(),t),r}function omn(e,t,r){var o,a,u;return o=l(ie(oa(e.a),t),88),u=(a=o.c,se(a,89)?l(a,29):(_t(),Ml)),(u.Db&64?y1(e.b,u):u)==r?GF(o):w_(o,r),u}function smn(e){var t;return e==null?null:new s1((t=Ta(e,!0),t.length>0&&(Jt(0,t.length),t.charCodeAt(0)==43)?(Jt(1,t.length+1),t.substr(1)):t))}function amn(e){var t;return e==null?null:new s1((t=Ta(e,!0),t.length>0&&(Jt(0,t.length),t.charCodeAt(0)==43)?(Jt(1,t.length+1),t.substr(1)):t))}function tbe(e,t,r,o,a,u,f,p){var m,y;o&&(m=o.a[0],m&&tbe(e,t,r,m,a,u,f,p),BY(e,r,o.d,a,u,f,p)&&t.Ec(o),y=o.a[1],y&&tbe(e,t,r,y,a,u,f,p))}function pC(e,t){var r,o,a,u;for(u=e.gc(),t.length<u&&(t=B9(new Array(u),t)),a=t,o=e.Jc(),r=0;r<u;++r)ii(a,r,o.Pb());return t.length>u&&ii(t,u,null),t}function cmn(e,t){var r,o;if(o=e.gc(),t==null){for(r=0;r<o;r++)if(e.Xb(r)==null)return r}else for(r=0;r<o;r++)if(gr(t,e.Xb(r)))return r;return-1}function DY(e,t){var r,o,a;return r=t.jd(),a=t.kd(),o=e.xc(r),!(!(me(a)===me(o)||a!=null&&gr(a,o))||o==null&&!e._b(r))}function umn(e,t){var r,o,a;return t<=22?(r=e.l&(1<<t)-1,o=a=0):t<=44?(r=e.l,o=e.m&(1<<t-22)-1,a=0):(r=e.l,o=e.m,a=e.h&(1<<t-44)-1),Ua(r,o,a)}function lmn(e,t){switch(t.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function dmn(e,t){var r,o;switch(o=t.c,r=t.a,e.b.g){case 0:r.d=e.e-o.a-o.d;break;case 1:r.d+=e.e;break;case 2:r.c=e.e-o.a-o.d;break;case 3:r.c=e.e+o.d}}function fF(){fF=K,Tne=new m8(_d,0),Ixe=new m8(TSt,1),Rxe=new m8("EDGE_LENGTH_BY_POSITION",2),Cxe=new m8("CROSSING_MINIMIZATION_BY_POSITION",3)}function LY(e,t){var r,o;if(r=l(gE(e.n,t),19),r)return r;if(o=l(gE(e.p,t),127),o)return o;throw Y(new xf("Referenced shape does not exist: "+t))}function q1t(e,t){if(e.g==-1)throw Y(new lc);e.Vj();try{e.d.fd(e.g,t),e.f=e.d.j}catch(r){throw r=ui(r),se(r,99)?Y(new $u):Y(r)}}function nbe(e,t){var r,o;if(se(t,257)){o=l(t,257);try{return r=e.Cd(o),r==0}catch(a){if(a=ui(a),se(a,214))return!1;throw Y(a)}}return!1}function fmn(e,t){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Y(new jt("Node 'one' must be either source or target of edge 'edge'."))}function hmn(e,t){if(e.c.i==t)return e.d.i;if(e.d.i==t)return e.c.i;throw Y(new jt("Node "+t+" is neither source nor target of edge "+e))}function pmn(e,t,r){r.Tg("Self-Loop ordering",1),ei(Oa(dr(dr(bs(new vt(null,new St(t.b,16)),new P$e),new j$e),new F$e),new $$e),new YYe(e)),r.Ug()}function MY(e,t,r,o,a,u){var f,p,m,y,v;for(f=m0n(t,r,u),p=r==(He(),Vt)||r==Wt?-1:1,y=e[r.g],v=0;v<y.length;v++)m=y[v],m>0&&(m+=a),y[v]=f,f+=p*(m+o)}function gmn(e){var t;for(t=0;t<e.a.c.length;t++)if(br(l(ze(e.a,t),9),(Ue(),Tte))&&Ye(Ke(F(l(ze(e.a,t),9),Tte))))return!0;return!1}function V1t(e){var t,r,o;for(o=e.f,e.n=we(Ki,Xo,30,o,15,1),e.d=we(Ki,Xo,30,o,15,1),t=0;t<o;t++)r=l(ze(e.c.b,t),26),e.n[t]=y1t(e,r),e.d[t]=Twt(e,r)}function W1t(e,t,r,o){var a;this.c=e,this.d=t,a=new Ar,Wr(a,r,a.c.b,a.c),this.a=a,this.b=l(F(o,(js(),cw)),87),this.e=ce(le(F(o,sxe))),XEt(this)}function bmn(e,t,r){var o,a;return e.a?a=vr(r.j,t.j):a=vr(t.j,r.j),a==0?(o=na(l(ve(t,(wh(),PL)),15).a,l(ve(r,PL),15).a),o):a}function PY(e,t){var r,o,a;for(a=0,o=2;o<t;o<<=1)e.Db&o&&++a;if(a==0){for(r=t<<=1;r<=128;r<<=1)if(e.Db&r)return 0;return-1}else return a}function K1t(e,t){var r,o,a,u,f;for(f=za(e.e.Ah(),t),u=null,r=l(e.g,123),a=0;a<e.i;++a)o=r[a],f.$l(o.Jk())&&(!u&&(u=new w9),Tn(u,o));u&&PEt(e,u)}function Y1t(e){var t,r,o;if(!e)return null;if(e.dc())return"";for(o=new Xp,r=e.Jc();r.Ob();)t=r.Pb(),Wo(o,In(t)),o.a+=" ";return uV(o,o.a.length-1)}function J1t(e,t){var r=new Array(t),o;switch(e){case 14:case 15:o=0;break;case 16:o=!1;break;default:return r}for(var a=0;a<t;++a)r[a]=o;return r}function C0(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.c.$b();ep(e.d)?o=e.a.c:o=e.a.d,La(o,new yYe(e)),e.c.bf(e),zwt(e)}function X1t(e){var t,r,o,a;for(r=new V(e.e.c);r.a<r.c.c.length;){for(t=l(q(r),292),a=new V(t.b);a.a<a.c.c.length;)o=l(q(a),448),D0e(o);C0t(t)}}function Z1t(e){var t,r,o;for(o=ar,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),9),br(t,(Ie(),Cr))&&(o=b.Math.min(o,l(F(t,Cr),15).a));return o}function hF(e){var t,r,o,a,u;for(o=0,u=0,a=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),u=b.Math.max(u,t.r),o+=t.d+(a>0?e.c:0),++a;e.b=o,e.d=u}function Q1t(e,t){var r;return r=Z(X(Ki,1),Xo,30,15,[J1e(e,(Sd(),Bs),t),J1e(e,$a,t),J1e(e,Us,t)]),e.f&&(r[0]=b.Math.max(r[0],r[2]),r[2]=r[0]),r}function ebt(e){var t;br(e,(Ue(),iw))&&(t=l(F(e,iw),24),t.Gc((_y(),ad))?(t.Kc(ad),t.Ec(cd)):t.Gc(cd)&&(t.Kc(cd),t.Ec(ad)))}function tbt(e){var t;br(e,(Ue(),iw))&&(t=l(F(e,iw),24),t.Gc((_y(),ld))?(t.Kc(ld),t.Ec(Il)):t.Gc(Il)&&(t.Kc(Il),t.Ec(ld)))}function jY(e,t,r,o){var a,u,f,p;return e.a==null&&gyn(e,t),f=t.b.j.c.length,u=r.d.p,p=o.d.p,a=p-1,a<0&&(a=f-1),u<=a?e.a[a]-e.a[u]:e.a[f-1]-e.a[u]+e.a[a]}function mmn(e){var t;for(t=0;t<e.a.c.length;t++)if(br(l(ze(e.a,t),9),(Ue(),Ate))&&!Ye(Ke(F(l(ze(e.a,t),9),Ate))))return!1;return!0}function wmn(e,t,r){var o,a,u,f,p;for(u=e.c,p=r?t:e,o=r?e:t,a=p.p+1;a<o.p;++a)if(f=l(ze(u.a,a),9),!(f.k==(Ht(),af)||r0n(f)))return!1;return!0}function ymn(e){var t,r;if(!e.b)for(e.b=BP(l(e.f,19).jh().i),r=new tn(l(e.f,19).jh());r.e!=r.i.gc();)t=l(rn(r),158),Fe(e.b,new dq(t));return e.b}function vmn(e){var t,r;if(!e.e)for(e.e=BP(Ahe(l(e.f,19)).i),r=new tn(Ahe(l(e.f,19)));r.e!=r.i.gc();)t=l(rn(r),127),Fe(e.e,new kXe(t));return e.e}function nbt(e){var t,r;if(!e.a)for(e.a=BP(NP(l(e.f,19)).i),r=new tn(NP(l(e.f,19)));r.e!=r.i.gc();)t=l(rn(r),19),Fe(e.a,new U8(e,t));return e.a}function I0(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=Qkn(e),t)e.fl(t);else try{e.fl(null)}catch(r){if(r=ui(r),!se(r,63))throw Y(r)}return e.C}function Emn(e){switch(e.q.g){case 5:Cbt(e,(He(),Vt)),Cbt(e,dn);break;case 4:Wvt(e,(He(),Vt)),Wvt(e,dn);break;default:Bmt(e,(He(),Vt)),Bmt(e,dn)}}function Smn(e){switch(e.q.g){case 5:Ibt(e,(He(),Qt)),Ibt(e,Wt);break;case 4:Kvt(e,(He(),Qt)),Kvt(e,Wt);break;default:Umt(e,(He(),Qt)),Umt(e,Wt)}}function TE(e,t){var r,o,a;for(a=new ro,o=e.Jc();o.Ob();)r=l(o.Pb(),37),ex(r,a.a,0),a.a+=r.f.a+t,a.b=b.Math.max(a.b,r.f.b);return a.b>0&&(a.b+=t),a}function pF(e,t){var r,o,a;for(a=new ro,o=e.Jc();o.Ob();)r=l(o.Pb(),37),ex(r,0,a.b),a.b+=r.f.b+t,a.a=b.Math.max(a.a,r.f.a);return a.a>0&&(a.a+=t),a}function rbt(e,t){var r,o;if(t.length==0)return 0;for(r=hW(e.a,t[0],(He(),Wt)),r+=hW(e.a,t[t.length-1],Qt),o=0;o<t.length;o++)r+=iyn(e,o,t);return r}function ibt(){NC(),this.c=new je,this.i=new je,this.e=new ch,this.f=new ch,this.g=new ch,this.j=new je,this.a=new je,this.b=new hn,this.k=new hn}function FY(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,5,Dd,t):(o=Po(l(kt((r=l(qt(e,16),29),r||e.fi()),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Tmn(e){l_();var t=e.e;if(t&&t.stack){var r=t.stack,o=t+`
`;return r.substring(0,o.length)==o&&(r=r.substring(o.length)),r.split(`
`)}return[]}function Amn(e){var t;return t=(uht(),rxt),t[e>>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[e&15]<<28}function obt(e){var t,r,o;e.b==e.c&&(o=e.a.length,r=Fge(b.Math.max(8,o))<<1,e.b!=0?(t=Gl(e.a,r),ght(e,t,o),e.a=t,e.b=0):jw(e.a,r),e.c=o)}function _mn(e,t){var r;return r=e.b,r.nf((_n(),zc))?r.$f()==(He(),Wt)?-r.Kf().a-ce(le(r.mf(zc))):t+ce(le(r.mf(zc))):r.$f()==(He(),Wt)?-r.Kf().a:t}function z6(e){var t;return e.b.c.length!=0&&l(ze(e.b,0),70).a?l(ze(e.b,0),70).a:(t=EW(e),t??""+(e.c?_s(e.c.a,e,0):-1))}function gF(e){var t;return e.f.c.length!=0&&l(ze(e.f,0),70).a?l(ze(e.f,0),70).a:(t=EW(e),t??""+(e.i?_s(e.i.j,e,0):-1))}function xmn(e,t){var r,o;if(t<0||t>=e.gc())return null;for(r=t;r<e.gc();++r)if(o=l(e.Xb(r),134),r==e.gc()-1||!o.o)return new Co(Oe(r),o);return null}function rbe(e){var t,r,o,a,u;for(u=0,a=Li,o=0,r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),175),u+=t.r+(o>0?e.c:0),a=b.Math.max(a,t.d),++o;e.e=u,e.b=a}function kmn(e){var t,r;if(!e.b)for(e.b=BP(l(e.f,127).jh().i),r=new tn(l(e.f,127).jh());r.e!=r.i.gc();)t=l(rn(r),158),Fe(e.b,new dq(t));return e.b}function Nmn(e,t){var r,o,a;if(t.dc())return JA(),JA(),u5;for(r=new Eit(e,t.gc()),a=new tn(e);a.e!=a.i.gc();)o=rn(a),t.Gc(o)&&Tn(r,o);return r}function ibe(e,t,r,o){return t==0?o?(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),e.o):(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),s6(e.o)):aF(e,t,r,o)}function $Y(e){var t,r;if(e.rb)for(t=0,r=e.rb.i;t<r;++t)OO(ie(e.rb,t));if(e.vb)for(t=0,r=e.vb.i;t<r;++t)OO(ie(e.vb,t));_3((mc(),ao),e),e.Bb|=1}function Mr(e,t,r,o,a,u,f,p,m,y,v,T,N,R){return Vmt(e,t,o,null,a,u,f,p,m,y,N,!0,R),w1e(e,v),se(e.Cb,89)&&Ay(Pc(l(e.Cb,89)),2),r&&gge(e,r),m1e(e,T),e}function Cmn(e){var t,r;if(e==null)return null;r=0;try{r=Eu(e,Zi,ar)&Ti}catch(o){if(o=ui(o),se(o,133))t=cj(e),r=t[0];else throw Y(o)}return A6(r)}function Imn(e){var t,r;if(e==null)return null;r=0;try{r=Eu(e,Zi,ar)&Ti}catch(o){if(o=ui(o),se(o,133))t=cj(e),r=t[0];else throw Y(o)}return A6(r)}function Rmn(e,t){var r,o,a;return a=e.h-t.h,a<0||(r=e.l-t.l,o=e.m-t.m+(r>>22),a+=o>>22,a<0)?!1:(e.l=r&Hc,e.m=o&Hc,e.h=a&Ep,!0)}function BY(e,t,r,o,a,u,f){var p,m;return!(t.Re()&&(m=e.a.Le(r,o),m<0||!a&&m==0)||t.Se()&&(p=e.a.Le(r,u),p>0||!f&&p==0))}function Omn(e,t){N_();var r;if(r=e.j.g-t.j.g,r!=0)return 0;switch(e.j.g){case 2:return aY(t,BSe)-aY(e,BSe);case 4:return aY(e,$Se)-aY(t,$Se)}return 0}function Dmn(e){switch(e.g){case 0:return qee;case 1:return Vee;case 2:return Wee;case 3:return Kee;case 4:return J$;case 5:return Yee;default:return null}}function ss(e,t,r){var o,a;return o=(a=new oq,Yb(a,t),Ma(a,r),Tn((!e.c&&(e.c=new ke(lw,e,12,10)),e.c),a),a),ug(o,0),dy(o,1),pg(o,!0),hg(o,!0),o}function ZS(e,t){var r,o;if(t>=e.i)throw Y(new aV(t,e.i));return++e.j,r=e.g[t],o=e.i-t-1,o>0&&ca(e.g,t+1,e.g,t,o),ii(e.g,--e.i,null),e.Oi(t,r),e.Li(),r}function sbt(e,t){var r,o;return e.Db>>16==17?e.Cb.Qh(e,21,Ol,t):(o=Po(l(kt((r=l(qt(e,16),29),r||e.fi()),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Lmn(e){var t,r,o,a;for(At(),ki(e.c,e.a),a=new V(e.c);a.a<a.c.c.length;)for(o=q(a),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),690),t._e(o)}function Mmn(e){var t,r,o,a;for(At(),ki(e.c,e.a),a=new V(e.c);a.a<a.c.c.length;)for(o=q(a),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),378),t._e(o)}function Pmn(e){var t,r,o,a,u;for(a=ar,u=null,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),220),r.d.j^r.e.j&&(t=r.e.e-r.d.e-r.a,t<a&&(a=t,u=r));return u}function obe(){obe=K,Mkt=new ht(Cwe,(Lt(),!1)),Okt=new ht(Iwe,100),j2e=(G3(),dee),Dkt=new ht(Rwe,j2e),Lkt=new ht(Owe,Hf),Pkt=new ht(Dwe,Oe(ar))}function abt(e,t){var r,o,a;for(o=new Ft(Gt(Lf(e).a.Jc(),new D));an(o);)return r=l(en(o),17),a=l(t.Kb(r),9),new E9(kn(a.n.b+a.o.b/2));return BN(),BN(),PQ}function cbt(e,t,r){var o,a,u,f,p,m,y,v;for(y=0,a=e.a[t],u=0,f=a.length;u<f;++u)for(o=a[u],v=oC(o,r),m=v.Jc();m.Ob();)p=l(m.Pb(),12),Jn(e.f,p,Oe(y++))}function ubt(e,t,r){var o,a,u,f;if(r)for(a=r.a.length,o=new Ib(a),f=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);f.Ob();)u=l(f.Pb(),15),yt(e,t,nT(uy(r,u.a)))}function lbt(e,t,r){var o,a,u,f;if(r)for(a=r.a.length,o=new Ib(a),f=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);f.Ob();)u=l(f.Pb(),15),yt(e,t,nT(uy(r,u.a)))}function sbe(e){T1();var t;return t=l(pC(kS(e.k),we(Oo,ea,64,2,0,1)),128),g_(t,0,t.length,null),t[0]==(He(),Vt)&&t[1]==Wt&&(ii(t,0,Wt),ii(t,1,Vt)),t}function dbt(e,t,r){var o,a,u;return a=pSn(e,t,r),u=Qme(e,a),iK(e.b),FW(e,t,r),At(),ki(a,new DJe(e)),o=Qme(e,a),iK(e.b),FW(e,r,t),new Co(Oe(u),Oe(o))}function fbt(){fbt=K,N4t=$n(new ci,(Vi(),zo),(Xi(),_I)),DB=new Pr("linearSegments.inputPrio",Oe(0)),LB=new Pr("linearSegments.outputPrio",Oe(0))}function jmn(e){var t,r,o,a;for(r=0,t=0,a=new tn(e);a.e!=a.i.gc();)o=l(rn(a),19),r=b.Math.max(o.g+o.i,r),t=b.Math.max(o.f+o.j,t);return new Me(r,t)}function Fmn(e,t){var r,o,a,u;for(u=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),19),u+=b.Math.pow(r.g*r.f-t,2);return a=b.Math.sqrt(u/(e.c.length-1)),a}function vu(){vu=K,VL=new S8("UNKNOWN",0),Ih=new S8("ABOVE",1),V1=new S8("BELOW",2),qL=new S8("INLINE",3),new Pr("org.eclipse.elk.labelSide",VL)}function $mn(e,t){if(se(t,273))return Mnn(e,l(t,74));if(se(t,278))return l(t,278);throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t])))))}function hbt(e,t){var r;if(e.Wi()&&t!=null){for(r=0;r<e.i;++r)if(gr(t,e.g[r]))return r}else for(r=0;r<e.i;++r)if(me(e.g[r])===me(t))return r;return-1}function Bmn(e,t,r){var o,a;return t.c==(Fo(),Ba)&&r.c==Cc?-1:t.c==Cc&&r.c==Ba?1:(o=Xpt(t.a,e.a),a=Xpt(r.a,e.a),t.c==Ba?a-o:o-a)}function S1(e,t,r){if(r&&(t<0||t>r.a.c.length))throw Y(new jt("index must be >= 0 and <= layer node count"));e.c&&Xa(e.c.a,e),e.c=r,r&&Nb(r.a,t,e)}function pbt(e,t){this.c=new hn,this.a=e,this.b=t,this.d=l(F(e,(Ie(),n2)),317),me(F(e,(Ue(),MAe)))===me((l6(),X$))?this.e=new $Ze:this.e=new FZe}function UY(e,t){var r,o;r=e.dd(t);try{return o=r.Pb(),r.Qb(),o}catch(a){throw a=ui(a),se(a,113)?Y(new Ia("Can't remove element "+t)):Y(a)}}function Umn(e,t){var r,o,a;if(o=new V9,a=new Mge(o.q.getFullYear()-N1,o.q.getMonth(),o.q.getDate()),r=$_n(e,t,a),r==0||r<t.length)throw Y(new jt(t));return a}function abe(e,t){var r,o,a;for(Mt(t),jde(t!=e),a=e.b.c.length,o=t.Jc();o.Ob();)r=o.Pb(),Fe(e.b,Mt(r));return a!=e.b.c.length?(Wge(e,0),!0):!1}function G6(){G6=K,U2e=(_n(),y4),new Mi(iU,(Lt(),!0)),Fkt=Am,$kt=m2,Bkt=q1,jkt=b2,z2e=v4,Ukt=dv,B2e=(obe(),Mkt),F2e=Dkt,$2e=Lkt,H2e=Pkt,T$=Okt}function Hmn(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw Y(new jt("'port' must be either the source port or target port of the edge."))}function zmn(e,t){var r,o;for(e.b=0,e.d=new L9,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),l(F(r,(Ie(),DI)),15).a==-1&&(fEt(e,r),e.d.a.c.length=0)}function gbt(e,t){var r,o,a,u,f;for(o=0,a=0,r=0,f=new V(e);f.a<f.c.c.length;)u=l(q(f),189),o=b.Math.max(o,u.e),a+=u.b+(r>0?t:0),++r;return new Me(o,a)}function Gmn(e,t,r){var o,a;switch(a=e.o,o=e.d,t.g){case 1:return-o.d-r;case 3:return a.b+o.a+r;case 2:return a.a+o.c+r;case 4:return-o.b-r;default:return 0}}function cbe(e,t,r,o){var a,u,f,p;for(Oi(t,l(o.Xb(0),26)),p=o.hd(1,o.gc()),u=l(r.Kb(t),22).Jc();u.Ob();)a=l(u.Pb(),17),f=a.c.i==t?a.d.i:a.c.i,cbe(e,f,r,p)}function bbt(e){var t;return t=new hn,br(e,(Ie(),ute))?l(F(e,ute),93):(ei(dr(new vt(null,new St(e.j,16)),new aBe),new ZYe(t)),Te(e,ute,t),t)}function qmn(e,t,r){var o;r.Tg("AbsolutPlacer",1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),va(o,o.i-u0t(e,o)),cmt(e,o)),r.Ug()}function gC(e,t){var r,o;return o=null,e.nf((_n(),qT))&&(r=l(e.mf(qT),105),r.nf(t)&&(o=r.mf(t))),o==null&&e.Rf()&&(o=e.Rf().mf(t)),o==null&&(o=Ge(t)),o}function ube(e,t){var r,o;return e.Db>>16==6?e.Cb.Qh(e,6,Ir,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(Qs(),mU)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function lbe(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,1,t5,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(Qs(),b3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function dbe(e,t){var r,o;return e.Db>>16==9?e.Cb.Qh(e,9,En,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(Qs(),w3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function mbt(e,t){var r,o;return e.Db>>16==5?e.Cb.Qh(e,9,TU,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(_t(),Dg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function wbt(e,t){var r,o;return e.Db>>16==7?e.Cb.Qh(e,6,Dd,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(_t(),Mg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function fbe(e,t){var r,o;return e.Db>>16==3?e.Cb.Qh(e,0,r5,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(_t(),Og)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function hbe(e,t){var r,o;return e.Db>>16==3?e.Cb.Qh(e,12,En,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(Qs(),g3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Vmn(e,t,r){var o,a,u;for(r<0&&(r=0),u=e.i,a=r;a<u;a++)if(o=ie(e,a),t==null){if(o==null)return a}else if(me(t)===me(o)||gr(t,o))return a;return-1}function Wmn(e,t){var r,o;return r=t.ni(e.a),r?(o=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),i$)),wt(KD,o)?_3(e,mu(t.ok())):o):null}function z_(e,t){var r,o;if(t){if(t==e)return!0;for(r=0,o=l(t,52).Mh();o&&o!=t;o=o.Mh()){if(++r>TX)return z_(e,o);if(o==e)return!0}}return!1}function Kmn(e){switch(G8(),e.q.g){case 5:c0t(e,(He(),Vt)),c0t(e,dn);break;case 4:gwt(e,(He(),Vt)),gwt(e,dn);break;default:AEt(e,(He(),Vt)),AEt(e,dn)}}function Ymn(e){switch(G8(),e.q.g){case 5:N0t(e,(He(),Qt)),N0t(e,Wt);break;case 4:T1t(e,(He(),Qt)),T1t(e,Wt);break;default:_Et(e,(He(),Qt)),_Et(e,Wt)}}function Jmn(e){var t,r;t=l(F(e,(ed(),_kt)),15),t?(r=t.a,r==0?Te(e,(p1(),S$),new sY):Te(e,(p1(),S$),new KP(r))):Te(e,(p1(),S$),new KP(1))}function Xmn(e,t){var r;switch(r=e.i,t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-r.o.a;case 3:return e.n.b-r.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function Zmn(e,t){switch(e.g){case 0:return t==(iu(),xp)?H$:z$;case 1:return t==(iu(),xp)?H$:oL;case 2:return t==(iu(),xp)?oL:z$;default:return oL}}function q6(e,t){var r,o,a;for(Xa(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=RZ,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),a=b.Math.max(a,r.d);e.b=a}function Qmn(e,t,r){var o,a,u;if(u=l(Ut(e.r,t),301),a=null,u)switch(u.g){case 2:o=le(Ut(e.i,t)),a=(Mt(r),r+(Mt(o),o));break;default:a=r}else a=r;return a}function e0n(e,t,r){var o,a,u;if(u=l(Ut(e.r,t),301),a=null,u)switch(u.g){case 2:o=le(Ut(e.j,t)),a=(Mt(r),r+(Mt(o),o));break;default:a=r}else a=r;return a}function Sl(e){var t;return!(e.Bb&1)&&e.r&&e.r.Sh()&&(t=l(e.r,52),e.r=l(y1(e,t),146),e.r!=t&&e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,9,8,t,e.r))),e.r}function HY(e,t,r){var o;return o=Z(X(Ki,1),Xo,30,15,[Bbe(e,(Sd(),Bs),t,r),Bbe(e,$a,t,r),Bbe(e,Us,t,r)]),e.f&&(o[0]=b.Math.max(o[0],o[2]),o[2]=o[0]),o}function t0n(e,t){var r,o,a;if(a=Sbn(e,t),a.c.length!=0)for(ki(a,new c$e),r=a.c.length,o=0;o<r;o++)K_(e,(at(o,a.c.length),l(a.c[o],295)),uTn(e,a,o))}function bC(e,t,r){var o,a;o=t*r,se(e.g,157)?(a=PS(e),a.f.d?a.f.a||(e.d.a+=o+nf):(e.d.d-=o+nf,e.d.a+=o+nf)):se(e.g,9)&&(e.d.d-=o,e.d.a+=2*o)}function n0n(e){var t,r,o,a;for(a=l(yr(e.a,(Ey(),G$)),16).Jc();a.Ob();)for(o=l(a.Pb(),108),r=kS(o.k).Jc();r.Ob();)t=l(r.Pb(),64),r_(e,o,t,(T0(),j1),1)}function r0n(e){var t,r;if(e.k==(Ht(),bi)){for(r=new Ft(Gt(Lf(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),!fo(t)&&e.c==Ebe(t,e).c)return!0}return!1}function i0n(e){var t,r;if(e.k==(Ht(),bi)){for(r=new Ft(Gt(Lf(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),!fo(t)&&t.c.i.c==t.d.i.c)return!0}return!1}function pbe(e,t){var r,o;return e.Db>>16==11?e.Cb.Qh(e,10,En,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(Qs(),m3e)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function ybt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,11,Ol,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(_t(),Lg)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function vbt(e,t){var r,o;return e.Db>>16==10?e.Cb.Qh(e,12,Dl,t):(o=Po(l(kt((r=l(qt(e,16),29),r||(_t(),Ev)),e.Db>>16),20)),e.Cb.Qh(e,o.n,o.f,t))}function Ebt(e,t){var r,o,a,u,f;if(t)for(a=t.a.length,r=new Ib(a),f=(r.b-r.a)*r.c<0?(i1(),tb):new a1(r);f.Ob();)u=l(f.Pb(),15),o=f_(t,u.a),o&&uwt(e,o)}function o0n(){Ele();var e,t;for(L3n((c1(),Bt)),A3n(Bt),$Y(Bt),O3e=(_t(),bf),t=new V(U3e);t.a<t.c.c.length;)e=l(q(t),251),ox(e,bf,null);return!0}function gbe(e,t){var r,o,a,u,f,p,m,y;return m=e.h>>19,y=t.h>>19,m!=y?y-m:(a=e.h,p=t.h,a!=p?a-p:(o=e.m,f=t.m,o!=f?o-f:(r=e.l,u=t.l,r-u)))}function Sbt(e,t,r){var o,a,u,f,p;for(a=e[r.g],p=new V(t.d);p.a<p.c.c.length;)f=l(q(p),108),u=f.i,u&&u.i==r&&(o=f.d[r.g],a[o]=b.Math.max(a[o],u.j.b))}function s0n(e,t){var r,o,a,u,f;for(o=0,a=0,r=0,f=new V(t.d);f.a<f.c.c.length;)u=l(q(f),320),hF(u),o=b.Math.max(o,u.b),a+=u.d+(r>0?e.b:0),++r;t.b=o,t.e=a}function Tbt(e){var t,r,o;if(o=e.b,Vet(e.i,o.length)){for(r=o.length*2,e.b=we($Q,yD,309,r,0,1),e.c=we($Q,yD,309,r,0,1),e.f=r-1,e.i=0,t=e.a;t;t=t.c)Z6(e,t,t);++e.g}}function mC(e,t){return e.b.a=b.Math.min(e.b.a,t.c),e.b.b=b.Math.min(e.b.b,t.d),e.a.a=b.Math.max(e.a.a,t.c),e.a.b=b.Math.max(e.a.b,t.d),Rt(e.c,t),!0}function a0n(e,t,r){var o;o=t.c.i,o.k==(Ht(),bi)?(Te(e,(Ie(),Cd),l(F(o,Cd),12)),Te(e,Nl,l(F(o,Nl),12))):(Te(e,(Ie(),Cd),t.c),Te(e,Nl,r.d))}function c0n(e,t,r){return r.Tg(zSt,1),M3(e.b),pu(e.b,(JS(),MB),MB),pu(e.b,e4,e4),pu(e.b,t4,t4),pu(e.b,n4,n4),e.a=FC(e.b,t),Y0n(e,t,r.dh(1)),r.Ug(),t}function G_(e,t,r){Z_();var o,a,u,f,p,m;return f=t/2,u=r/2,o=b.Math.abs(e.a),a=b.Math.abs(e.b),p=1,m=1,o>f&&(p=f/o),a>u&&(m=u/a),tp(e,b.Math.min(p,m)),e}function u0n(){VF();var e,t;try{if(t=l(_be((r1(),Ll),Lx),2092),t)return t}catch(r){if(r=ui(r),se(r,102))e=r,uhe((Cn(),e));else throw Y(r)}return new eqe}function l0n(){VF();var e,t;try{if(t=l(_be((r1(),Ll),_l),2019),t)return t}catch(r){if(r=ui(r),se(r,102))e=r,uhe((Cn(),e));else throw Y(r)}return new xqe}function d0n(){vdt();var e,t;try{if(t=l(_be((r1(),Ll),lm),2101),t)return t}catch(r){if(r=ui(r),se(r,102))e=r,uhe((Cn(),e));else throw Y(r)}return new yVe}function f0n(e,t,r){var o,a;return a=e.e,e.e=t,e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,4,a,t),r?r.lj(o):r=o),a!=t&&(t?r=ox(e,DF(e,t),r):r=ox(e,e.a,r)),r}function Abt(){V9.call(this),this.e=-1,this.a=!1,this.p=Zi,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Zi}function h0n(e,t){var r,o,a;if(o=e.b.d.d,e.a||(o+=e.b.d.a),a=t.b.d.d,t.a||(a+=t.b.d.a),r=vr(o,a),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function p0n(e,t){var r,o,a;if(o=e.b.b.d,e.a||(o+=e.b.b.a),a=t.b.b.d,t.a||(a+=t.b.b.a),r=vr(o,a),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function g0n(e,t){var r,o,a;if(o=e.b.g.d,e.a||(o+=e.b.g.a),a=t.b.g.d,t.a||(a+=t.b.g.a),r=vr(o,a),r==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return r}function bbe(){bbe=K,zkt=Ra($n($n($n(new ci,(Vi(),da),(Xi(),_Se)),da,xSe),zo,kSe),zo,pSe),qkt=$n($n(new ci,da,aSe),da,gSe),Gkt=Ra(new ci,zo,mSe)}function b0n(e){var t,r,o,a,u;for(t=l(F(e,(Ie(),RI)),93),u=e.n,o=t.Bc().Jc();o.Ob();)r=l(o.Pb(),319),a=r.i,a.c+=u.a,a.d+=u.b,r.c?tyt(r):nyt(r);Te(e,RI,null)}function m0n(e,t,r){var o,a;switch(a=e.b,o=a.d,t.g){case 1:return-o.d-r;case 2:return a.o.a+o.c+r;case 3:return a.o.b+o.a+r;case 4:return-o.b-r;default:return-1}}function _bt(e,t){var r,o;for(o=new V(t);o.a<o.c.c.length;)r=l(q(o),9),e.c[r.c.p][r.p].a=XV(e.i),e.c[r.c.p][r.p].d=ce(e.c[r.c.p][r.p].a),e.c[r.c.p][r.p].b=1}function w0n(e,t){var r,o,a,u;for(u=0,o=new V(e);o.a<o.c.c.length;)r=l(q(o),168),u+=b.Math.pow(hc(r)*eu(r)-t,2);return a=b.Math.sqrt(u/(e.c.length-1)),a}function y0n(e,t,r){var o,a;for(r.Tg("Interactive node placement",1),e.a=l(F(t,(Ie(),n2)),317),a=new V(t.b);a.a<a.c.c.length;)o=l(q(a),26),YSn(e,o);r.Ug()}function v0n(e){var t,r,o,a,u;if(o=0,a=FE,e.b)for(t=0;t<360;t++)r=t*.017453292519943295,b0e(e,e.d,0,0,sm,r),u=e.b.Cg(e.d),u<a&&(o=r,a=u);b0e(e,e.d,0,0,sm,o)}function E0n(e,t){var r,o,a,u;for(u=new hn,t.e=null,t.f=null,o=new V(t.i);o.a<o.c.c.length;)r=l(q(o),68),a=l(Ut(e.g,r.a),49),r.a=mP(r.b),Jn(u,r.a,a);e.g=u}function S0n(e,t,r){var o,a,u,f,p,m;for(a=t-e.e,u=a/e.d.c.length,f=0,m=new V(e.d);m.a<m.c.c.length;)p=l(q(m),320),o=e.b-p.b+r,Kgt(p,p.e+f*u,p.f),Qbn(p,u,o),++f}function xbt(e){var t;if(e.f.Zj(),e.b!=-1){if(++e.b,t=e.f.d[e.a],e.b<t.i)return;++e.a}for(;e.a<e.f.d.length;++e.a)if(t=e.f.d[e.a],t&&t.i!=0){e.b=0;return}e.b=-1}function T0n(e,t){var r,o,a;for(a=t.c.length,r=vvn(e,a==0?"":(at(0,t.c.length),In(t.c[0]))),o=1;o<a&&r;++o)r=l(r,52).Wh((at(o,t.c.length),In(t.c[o])));return r}function kbt(e,t,r,o){var a,u,f;return u=UTn(e,t,r,o),f=a0e(e,u),ZY(e,t,r,o),iK(e.b),At(),ki(u,new LJe(e)),a=a0e(e,u),ZY(e,r,t,o),iK(e.b),new Co(Oe(f),Oe(a))}function A0n(e,t){var r;t.Tg("Delaunay triangulation",1),r=new je,La(e.i,new bXe(r)),Ye(Ke(F(e,(S_(),EI)))),e.e?wo(e.e,UEt(r)):e.e=UEt(r),t.Ug()}function bF(){bF=K,Jne=new y8("P1_NODE_Y_PLACEMENT",0),Xne=new y8("P2_NODE_RELATIVE_PLACEMENT",1),Zne=new y8("P3_NODE_ABSOLUTE_PLACEMENT",2),Qne=new y8(GSt,3)}function _0n(e,t,r){var o,a;for(NO(e,e.j+t,e.k+r),a=new tn((!e.a&&(e.a=new Ei(Iu,e,5)),e.a));a.e!=a.i.gc();)o=l(rn(a),373),fV(o,o.a+t,o.b+r);kO(e,e.b+t,e.c+r)}function mbe(e,t,r,o){switch(r){case 7:return!e.e&&(e.e=new Tt(Ir,e,7,4)),Pa(e.e,t,o);case 8:return!e.d&&(e.d=new Tt(Ir,e,8,5)),Pa(e.d,t,o)}return YY(e,t,r,o)}function wbe(e,t,r,o){switch(r){case 7:return!e.e&&(e.e=new Tt(Ir,e,7,4)),xo(e.e,t,o);case 8:return!e.d&&(e.d=new Tt(Ir,e,8,5)),xo(e.d,t,o)}return OK(e,t,r,o)}function Nbt(e,t,r){var o,a,u,f,p;if(r)for(u=r.a.length,o=new Ib(u),p=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);p.Ob();)f=l(p.Pb(),15),a=f_(r,f.a),a&&a0t(e,a,t)}function V6(e,t,r){var o,a,u,f,p;return e.Zj(),u=t==null?0:Rr(t),e.f>0&&(f=(u&ar)%e.d.length,a=yme(e,f,u,t),a)?(p=a.ld(r),p):(o=e.ak(u,t,r),e.c.Ec(o),null)}function ybe(e,t){var r,o,a,u;switch(fg(e,t).Il()){case 3:case 2:{for(r=IE(t),a=0,u=r.i;a<u;++a)if(o=l(ie(r,a),38),f0(is(e,o))==5)return o;break}}return null}function x0n(e){var t,r,o,a,u;if(Vet(e.f,e.b.length))for(o=we(Y_t,yD,229,e.b.length*2,0,1),e.b=o,a=o.length-1,r=e.a;r!=e;r=r.Zd())u=l(r,229),t=u.d&a,u.a=o[t],o[t]=u}function Cbt(e,t){var r,o,a,u;for(u=0,a=l(l(yr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),u=b.Math.max(u,o.e.a+o.b.Kf().a);r=l(Ko(e.b,t),129),r.n.b=0,r.a.a=u}function Ibt(e,t){var r,o,a,u;for(r=0,u=l(l(yr(e.r,t),24),85).Jc();u.Ob();)a=l(u.Pb(),116),r=b.Math.max(r,a.e.b+a.b.Kf().b);o=l(Ko(e.b,t),129),o.n.d=0,o.a.b=r}function k0n(e){var t,r,o;for(r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),t.k==(Ht(),Xr)&&(o=t.o.b,e.i=b.Math.min(e.i,o),e.g=b.Math.max(e.g,o))}function Rbt(e,t,r){var o,a,u;for(u=new V(t);u.a<u.c.c.length;)o=l(q(u),9),e.c[o.c.p][o.p].e=!1;for(a=new V(t);a.a<a.c.c.length;)o=l(q(a),9),q0e(e,o,r)}function N0n(e){var t,r;return r=l(F(e,(Ie(),xa)),24),t=D8(G4t),r.Gc(($o(),ZE))&&yu(t,W4t),r.Gc(II)&&yu(t,K4t),r.Gc(Xx)&&yu(t,q4t),r.Gc(Zx)&&yu(t,V4t),t}function vbe(e){if(e<0)throw Y(new jt("The input must be positive"));return e<zke.length?$b(zke[e]):b.Math.sqrt(sm*e)*(dgn(e,e)/t1e(2.718281828459045,e))}function q_(e,t){var r;if(e.Wi()&&t!=null){for(r=0;r<e.i;++r)if(gr(t,e.g[r]))return!0}else for(r=0;r<e.i;++r)if(me(e.g[r])===me(t))return!0;return!1}function C0n(e,t){if(t==null){for(;e.a.Ob();)if(l(e.a.Pb(),45).kd()==null)return!0}else for(;e.a.Ob();)if(gr(t,l(e.a.Pb(),45).kd()))return!0;return!1}function I0n(e,t){var r,o,a;return t===e?!0:se(t,675)?(a=l(t,2025),s1t((o=e.g,o||(e.g=new $G(e))),(r=a.g,r||(a.g=new $G(a))))):!1}function R0n(e){var t,r,o,a;for(t="$z",r="nz",a=b.Math.min(e.length,5),o=a-1;o>=0;o--)if(wt(e[o].d,t)||wt(e[o].d,r)){e.length>=o+1&&e.splice(0,o+1);break}return e}function W6(e,t){var r;return gs(e)&&gs(t)&&(r=e/t,SD<r&&r<nm)?r<0?b.Math.ceil(r):b.Math.floor(r):g1($0e(gs(e)?vl(e):e,gs(t)?vl(t):t,!1))}function Ebe(e,t){if(t==e.c.i)return e.d.i;if(t==e.d.i)return e.c.i;throw Y(new jt("'node' must either be the source node or target node of the edge."))}function O0n(e){var t,r,o,a;if(a=l(F(e,(Ie(),wTe)),37),a){for(o=new ro,t=ji(e.c.i);t!=a;)r=t.e,t=ji(r),Vw(mr(mr(o,r.n),t.c),t.d.b,t.d.d);return o}return uNt}function D0n(e){var t;t=l(F(e,(Ie(),rw)),339),ei(bs(new vt(null,new St(t.d,16)),new q$e),new JYe(e)),ei(dr(new vt(null,new St(t.d,16)),new V$e),new XYe(e))}function zY(e,t){var r,o,a,u;for(a=t?Or(e):si(e),o=new Ft(Gt(a.a.Jc(),new D));an(o);)if(r=l(en(o),17),u=Ebe(r,e),u.k==(Ht(),bi)&&u.c!=e.c)return u;return null}function GY(e,t,r){var o,a;o=vE(t.j,r.s,r.c)+vE(r.e,t.s,t.c),a=vE(r.j,t.s,t.c)+vE(t.e,r.s,r.c),o==a?o>0&&(e.b+=2,e.a+=o):(e.b+=1,e.a+=b.Math.min(o,a))}function Obt(e,t){var r,o;if(o=!1,zi(t)&&(o=!0,RS(e,new ty(In(t)))),o||se(t,245)&&(o=!0,RS(e,(r=RV(l(t,245)),new S9(r)))),!o)throw Y(new fq(vEe))}function L0n(e,t,r,o){var a,u,f;return a=new up(e.e,1,10,(f=t.c,se(f,89)?l(f,29):(_t(),Ml)),(u=r.c,se(u,89)?l(u,29):(_t(),Ml)),gg(e,t),!1),o?o.lj(a):o=a,o}function Sbe(e){var t,r;switch(l(F(ji(e),(Ue(),kAe)),425).g){case 0:return t=e.n,r=e.o,new Me(t.a+r.a/2,t.b+r.b/2);case 1:return new To(e.n);default:return null}}function K6(){K6=K,Z$=new i3(_d,0),rTe=new i3("LEFTUP",1),oTe=new i3("RIGHTUP",2),nTe=new i3("LEFTDOWN",3),iTe=new i3("RIGHTDOWN",4),Jee=new i3("BALANCED",5)}function M0n(e,t,r){var o,a,u;if(o=vr(e.a[t.p],e.a[r.p]),o==0){if(a=l(F(t,(Ie(),RT)),16),u=l(F(r,RT),16),a.Gc(r))return-1;if(u.Gc(t))return 1}return o}function P0n(e){switch(e.g){case 1:return new kze;case 2:return new Nze;case 3:return new xze;case 0:return null;default:throw Y(new jt(FZ+(e.f!=null?e.f:""+e.g)))}}function Tbe(e,t,r){switch(t){case 1:!e.n&&(e.n=new ke(Rs,e,1,7)),vn(e.n),!e.n&&(e.n=new ke(Rs,e,1,7)),ti(e.n,l(r,18));return;case 2:v_(e,In(r));return}zge(e,t,r)}function Abe(e,t,r){switch(t){case 3:Ub(e,ce(le(r)));return;case 4:Hb(e,ce(le(r)));return;case 5:va(e,ce(le(r)));return;case 6:gc(e,ce(le(r)));return}Tbe(e,t,r)}function mF(e,t,r){var o,a,u;u=(o=new oq,o),a=Zd(u,t,null),a&&a.mj(),Ma(u,r),Tn((!e.c&&(e.c=new ke(lw,e,12,10)),e.c),u),ug(u,0),dy(u,1),pg(u,!0),hg(u,!0)}function _be(e,t){var r,o,a;return r=e3(e.i,t),se(r,244)?(a=l(r,244),a.wi()==null,a.ti()):se(r,496)?(o=l(r,2016),a=o.b,a):null}function j0n(e,t,r,o){var a,u;return kn(t),kn(r),u=l(S3(e.d,t),15),sft(!!u,"Row %s not in %s",t,e.e),a=l(S3(e.b,r),15),sft(!!a,"Column %s not in %s",r,e.c),opt(e,u.a,a.a,o)}function F0n(e){var t,r,o,a,u,f;for(r=null,a=e,u=0,f=a.length;u<f;++u){o=a[u];try{D3(o)}catch(p){if(p=ui(p),se(p,102))t=p,r?Zbt(r,t):r=t;else throw Y(p)}}r&&pQt(r)}function Dbt(e,t,r,o,a,u,f){var p,m,y,v,T;if(v=a[u],y=u==f-1,p=y?o:0,T=J1t(p,v),o!=10&&Z(X(e,f-u),t[u],r[u],p,T),!y)for(++u,m=0;m<v;++m)T[m]=Dbt(e,t,r,o,a,u,f);return T}function $0n(e){var t,r,o,a,u;for(o=new hy(new Mw(e.b).a);o.b;)r=bE(o),t=l(r.jd(),9),u=l(l(r.kd(),49).a,9),a=l(l(r.kd(),49).b,8),mr(wd(t.n),mr(Ao(u.n),a))}function B0n(e,t){var r,o,a,u;for(u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),HN(e.d),o=new Ft(Gt(Or(a).a.Jc(),new D));an(o);)r=l(en(o),17),$0t(e,a,r.d.i)}function wC(e){if(e.g==-1)throw Y(new lc);e.Vj();try{e.i.ed(e.g),e.f=e.i.j,e.g<e.e&&--e.e,e.g=-1}catch(t){throw t=ui(t),se(t,99)?Y(new $u):Y(t)}}function U0n(e){var t,r,o,a;for(a=-1,o=0,r=new V(e);r.a<r.c.c.length;){if(t=l(q(r),253),t.c==(Fo(),Cc)){a=o==0?0:o-1;break}else o==e.c.length-1&&(a=o);o+=1}return a}function H0n(e){var t,r,o,a;for(a=0,t=0,o=new V(e.c);o.a<o.c.c.length;)r=l(q(o),19),va(r,e.e+a),gc(r,e.f),a+=r.g+e.b,t=b.Math.max(t,r.f+e.b);e.d=a-e.b,e.a=t-e.b}function AE(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),o=t.d.c,t.d.c=t.d.d,t.d.d=o,o=t.d.b,t.d.b=t.d.a,t.d.a=o,o=t.b.a,t.b.a=t.b.b,t.b.b=o;Vme(e)}function _E(e){var t,r,o;for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=t.g.c,t.g.c=t.g.d,t.g.d=o,o=t.g.b,t.g.b=t.g.a,t.g.a=o,o=t.e.a,t.e.a=t.e.b,t.e.b=o;jF(e)}function z0n(e){var t,r,o,a,u;for(u=kS(e.k),r=(He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])),o=0,a=r.length;o<a;++o)if(t=r[o],t!=Is&&!u.Gc(t))return t;return null}function qY(e,t){var r,o;return o=l(vS(hp(dr(new vt(null,new St(t.j,16)),new bUe))),12),o&&(r=l(ze(o.e,0),17),r)?l(F(r,(Ie(),Cr)),15).a:bfn(e.d)}function Lbt(e){var t,r;return r=OF(e),sy(r)?null:(t=(kn(r),l(H1t(new Ft(Gt(r.a.Jc(),new D))),74)),Jo(l(ie((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83)))}function wF(e){var t;return e.o||(t=e.sk(),t?e.o=new bhe(e,e,null):e.$k()?e.o=new rfe(e,null):f0(is((mc(),ao),e))==1?e.o=new Wut(e):e.o=new CV(e,null)),e.o}function G0n(e,t,r,o){var a,u,f,p,m;r.Uh(t)&&(a=(f=t,f?l(o,52).di(f):null),a&&(m=r.Jh(t),p=t.t,p>1||p==-1?(u=l(m,16),a.Wb(b1n(e,u))):a.Wb(xJ(e,l(m,57)))))}function q0n(e,t,r,o){Eet();var a=MQ;function u(){for(var f=0;f<a.length;f++)a[f]()}if(e)try{ZLt(u)()}catch(f){e(t,f)}else ZLt(u)()}function V0n(e,t){var r,o,a,u;for(a=(u=new Xh(e.b).a.vc().Jc(),new A9(u));a.a.Ob();)if(o=(r=l(a.a.Pb(),45),l(r.jd(),34)),ode(t,l(o,15))<0)return!1;return!0}function W0n(e,t){var r,o,a,u;for(a=(u=new Xh(e.b).a.vc().Jc(),new A9(u));a.a.Ob();)if(o=(r=l(a.a.Pb(),45),l(r.jd(),34)),ode(t,l(o,15))>0)return!1;return!0}function K0n(e){switch(l(F(e.b,(Ue(),vAe)),382).g){case 1:ei(Oa(bs(new vt(null,new St(e.d,16)),new tUe),new nUe),new rUe);break;case 2:CTn(e);break;case 0:yvn(e)}}function Y0n(e,t,r){var o,a,u;for(o=r,!o&&(o=new sS),o.Tg("Layout",e.a.c.length),u=new V(e.a);u.a<u.c.c.length;){if(a=l(q(u),43),o.Zg())return;a.If(t,o.dh(1))}o.Ug()}function J0n(e,t){var r,o;for(Xa(e.b,t),o=new V(e.n);o.a<o.c.c.length;)if(r=l(q(o),211),_s(r.c,t,0)!=-1){Xa(r.c,t),H0n(r),r.c.c.length==0&&Xa(e.n,r);break}Nvt(e)}function Mbt(e,t){var r,o,a,u,f;for(f=e.f,a=0,u=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),U6(r,e.e,f),c6(r,t),u=b.Math.max(u,r.r),f+=r.d+e.c,a=f;e.d=u,e.b=a}function Zb(){Zb=K,fre=new a3("V_TOP",0),w4=new a3("V_CENTER",1),m4=new a3("V_BOTTOM",2),dre=new a3("H_LEFT",3),g4=new a3("H_CENTER",4),b4=new a3("H_RIGHT",5)}function xbe(e){var t;return e.Db&64?Jj(e):(t=new ml(Jj(e)),t.a+=" (abstract: ",Zp(t,(e.Bb&256)!=0),t.a+=", interface: ",Zp(t,(e.Bb&512)!=0),t.a+=")",t.a)}function X0n(e){var t;e.c==null&&(t=me(e.b)===me(WEe)?null:e.b,e.d=t==null?tc:fst(t)?snn(Iat(t)):zi(t)?awe:Ab(ru(t)),e.a=e.a+": "+(fst(t)?ern(Iat(t)):t+""),e.c="("+e.d+") "+e.a)}function Z0n(){function e(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===XJ&&Map.prototype.entries&&e()?Map:kNn()}function Q0n(e,t){var r,o,a,u;for(u=new Ji(e.e,0),r=0;u.b<u.d.gc();){if(o=ce((cn(u.b<u.d.gc()),le(u.d.Xb(u.c=u.b++)))),a=o-t,a>LZ)return r;a>-1e-6&&++r}return r}function yF(e,t,r){if(se(t,273))return x2n(e,l(t,74),r);if(se(t,278))return Qmn(e,l(t,278),r);throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t,r])))))}function vF(e,t,r){if(se(t,273))return k2n(e,l(t,74),r);if(se(t,278))return e0n(e,l(t,278),r);throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t,r])))))}function kbe(e,t){var r;t!=e.b?(r=null,e.b&&(r=DP(e.b,e,-4,r)),t&&(r=XS(t,e,-4,r)),r=tgt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,3,t,t))}function Pbt(e,t){var r;t!=e.f?(r=null,e.f&&(r=DP(e.f,e,-1,r)),t&&(r=XS(t,e,-1,r)),r=ngt(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,0,t,t))}function ewn(e,t,r,o){var a,u,f,p;return Jc(e.e)&&(a=t.Jk(),p=t.kd(),u=r.kd(),f=l1(e,1,a,p,u,a.Hk()?nx(e,a,u,se(a,104)&&(l(a,20).Bb&Io)!=0):-1,!0),o?o.lj(f):o=f),o}function jbt(e){var t,r,o;if(e==null)return null;if(r=l(e,16),r.dc())return"";for(o=new Xp,t=r.Jc();t.Ob();)Wo(o,(Tr(),In(t.Pb()))),o.a+=" ";return uV(o,o.a.length-1)}function Fbt(e){var t,r,o;if(e==null)return null;if(r=l(e,16),r.dc())return"";for(o=new Xp,t=r.Jc();t.Ob();)Wo(o,(Tr(),In(t.Pb()))),o.a+=" ";return uV(o,o.a.length-1)}function twn(e,t){var r,o,a,u,f;for(u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),o=new Ft(Gt(si(a).a.Jc(),new D));an(o);)r=l(en(o),17),f=r.c.i.p,e.n[f]=e.n[f]-1}function nwn(e,t,r){var o,a;return o=e.c[t.c.p][t.p],a=e.c[r.c.p][r.p],o.a!=null&&a.a!=null?QV(o.a,a.a):o.a!=null?-1:a.a!=null?1:0}function $bt(e,t){var r,o,a,u,f,p;if(t)for(u=t.a.length,r=new Ib(u),p=(r.b-r.a)*r.c<0?(i1(),tb):new a1(r);p.Ob();)f=l(p.Pb(),15),a=f_(t,f.a),o=new jXe(e),bat(o.a,a)}function Bbt(e,t){var r,o,a,u,f,p;if(t)for(u=t.a.length,r=new Ib(u),p=(r.b-r.a)*r.c<0?(i1(),tb):new a1(r);p.Ob();)f=l(p.Pb(),15),a=f_(t,f.a),o=new NXe(e),gat(o.a,a)}function rwn(e){var t;if(e!=null&&e.length>0&&uo(e,e.length-1)==33)try{return t=rwt(yl(e,0,e.length-1)),t.e==null}catch(r){if(r=ui(r),!se(r,33))throw Y(r)}return!1}function iwn(e,t,r){var o,a,u;switch(o=ji(t),a=qj(o),u=new aa,As(u,t),r.g){case 1:Ii(u,P6(WS(a)));break;case 2:Ii(u,WS(a))}return Te(u,(Ue(),Zy),le(F(e,Zy))),u}function Nbe(e){var t,r;return t=l(en(new Ft(Gt(si(e.a).a.Jc(),new D))),17),r=l(en(new Ft(Gt(Or(e.a).a.Jc(),new D))),17),Ye(Ke(F(t,(Ie(),Ag))))||Ye(Ke(F(r,Ag)))}function Ey(){Ey=K,sL=new gO("ONE_SIDE",0),V$=new gO("TWO_SIDES_CORNER",1),W$=new gO("TWO_SIDES_OPPOSING",2),q$=new gO("THREE_SIDES",3),G$=new gO("FOUR_SIDES",4)}function Ubt(e,t){var r,o,a,u;for(u=new je,a=0,o=t.Jc();o.Ob();){for(r=Oe(l(o.Pb(),15).a+a);r.a<e.f&&!csn(e,r.a);)r=Oe(r.a+1),++a;if(r.a>=e.f)break;Rt(u.c,r)}return u}function own(e){var t,r;for(r=new V(e.e.b);r.a<r.c.c.length;)t=l(q(r),26),Wkn(e,t);ei(dr(bs(bs(new vt(null,new St(e.e.b,16)),new KUe),new eHe),new tHe),new KJe(e))}function Cbe(e,t){return t?e.kj(t)?!1:e.i?e.i.lj(t):se(t,152)?(e.i=l(t,152),!0):(e.i=new oqe,e.i.lj(t)):!1}function Hbt(e,t,r){var o,a,u;return o=t.Jk(),u=t.kd(),a=o.Hk()?l1(e,3,o,null,u,nx(e,o,u,se(o,104)&&(l(o,20).Bb&Io)!=0),!0):l1(e,1,o,o.gk(),u,-1,!0),r?r.lj(a):r=a,r}function swn(e){if(e=Ta(e,!0),wt(Ix,e)||wt("1",e))return Lt(),Bx;if(wt(QZ,e)||wt("0",e))return Lt(),L1;throw Y(new hq("Invalid boolean value: '"+e+"'"))}function Ibe(e,t,r){var o,a,u;for(a=e.vc().Jc();a.Ob();)if(o=l(a.Pb(),45),u=o.jd(),me(t)===me(u)||t!=null&&gr(t,u))return r&&(o=new n8(o.jd(),o.kd()),a.Qb()),o;return null}function awn(e){Ww();var t,r,o;e.B.Gc((Uc(),fU))&&(o=e.f.i,t=new RP(e.a.c),r=new oS,r.b=t.c-o.c,r.d=t.d-o.d,r.c=o.c+o.b-(t.c+t.b),r.a=o.d+o.a-(t.d+t.a),e.e.Yf(r))}function zbt(e,t,r,o){var a,u,f;for(f=b.Math.min(r,gvt(l(e.b,68),t,r,o)),u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),227),a!=t&&(f=b.Math.min(f,zbt(a,t,f,o)));return f}function Rbe(e){var t,r,o,a;for(a=we(Nh,Pe,201,e.b.c.length,0,2),o=new Ji(e.b,0);o.b<o.d.gc();)t=(cn(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),26)),r=o.b-1,a[r]=QO(t.a);return a}function Obe(e,t,r){var o,a,u;o=l(Wd(e.a,r),34),o!=null&&(u=l(Wd(e.b,o),66),my(u,r,!0)),a=l(Wd(e.b,t),66),a||(a=new Ar,Jb(e.b,t,a)),Wr(a,r,a.c.b,a.c),Jb(e.a,r,t)}function VY(e,t,r,o,a){var u,f,p,m;for(f=QQt(ile(wfe(Pbn(r)),o),Gmn(e,r,a)),m=bg(e,r).Jc();m.Ob();)p=l(m.Pb(),12),t[p.p]&&(u=t[p.p].i,Fe(f.d,new YV(u,h1e(f,u))));I1e(f)}function Dbe(e,t){this.f=new hn,this.b=new hn,this.j=new hn,this.a=e,this.c=t,this.c>0&&cbt(this,this.c-1,(He(),Qt)),this.c<this.a.length-1&&cbt(this,this.c+1,(He(),Wt))}function cwn(e,t){var r,o,a,u,f;for(u=new V(t.d);u.a<u.c.c.length;)for(a=l(q(u),108),f=l(Ut(e.c,a),117).o,o=new fS(a.b);o.a<o.c.a.length;)r=l(U3(o),64),Lpe(a,r,f)}function Lbe(e){e.length>0&&e[0].length>0&&(this.c=Ye(Ke(F(ji(e[0][0]),(Ie(),ETe))))),this.a=we(b4t,Pe,2096,e.length,0,2),this.b=we(m4t,Pe,2097,e.length,0,2),this.d=new qpt}function uwn(e){return e.c.length==0?!1:(at(0,e.c.length),l(e.c[0],17)).c.i.k==(Ht(),bi)?!0:hE(Oa(new vt(null,new St(e,16)),new $Ue),new PUe)}function Gbt(e,t){var r,o,a,u,f,p,m;for(p=xy(t),u=t.f,m=t.g,f=b.Math.sqrt(u*u+m*m),a=0,o=new V(p);o.a<o.c.c.length;)r=l(q(o),19),a+=Gbt(e,r);return b.Math.max(a,f)}function qi(){qi=K,K1=new u3(qC,0),pf=new u3("FREE",1),Sk=new u3("FIXED_SIDE",2),_m=new u3("FIXED_ORDER",3),Oh=new u3("FIXED_RATIO",4),fa=new u3("FIXED_POS",5)}function lwn(e,t){var r,o,a;if(r=t.ni(e.a),r){for(a=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),xl)),o=1;o<(mc(),q3e).length;++o)if(wt(q3e[o],a))return o}return 0}function dwn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],cp(u,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function fwn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],cp(u,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function qbt(e){var t,r,o;for(o=new qb(ja,"{","}"),r=e.vc().Jc();r.Ob();)t=l(r.Pb(),45),cp(o,jut(e,t.jd())+"="+jut(e,t.kd()));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function hwn(e){for(var t,r,o,a;!zN(e.o);)r=l(CS(e.o),49),o=l(r.a,126),t=l(r.b,220),a=Wj(t,o),t.e==o?($8(a.g,t),o.e=a.e+t.a):($8(a.b,t),o.e=a.e-t.a),Fe(e.e.a,o)}function Mbe(e,t){var r,o,a;for(r=null,a=l(t.Kb(e),22).Jc();a.Ob();)if(o=l(a.Pb(),17),!r)r=o.c.i==e?o.d.i:o.c.i;else if((o.c.i==e?o.d.i:o.c.i)!=r)return!1;return!0}function Vbt(e,t){var r,o,a,u,f;for(r=ywt(e,!1,t),a=new V(r);a.a<a.c.c.length;)o=l(q(a),135),o.d==0?(DW(o,null),LW(o,null)):(u=o.a,f=o.b,DW(o,f),LW(o,u))}function pwn(e){var t,r;return t=new ci,yu(t,X4t),r=l(F(e,(Ie(),xa)),24),r.Gc(($o(),II))&&yu(t,tRt),r.Gc(Xx)&&yu(t,Z4t),r.Gc(ZE)&&yu(t,eRt),r.Gc(Zx)&&yu(t,Q4t),t}function QS(){QS=K,new Mi((_n(),Od),20),Bke=new xb(5),new Mi(df,Bke),g6t=y4,m6t=bk,new Mi(iU,(Lt(),!1)),$ke=v4,b6t=Cp,pk=(A1e(),p6t),tre=h6t,Fke=f6t,ere=d6t}function Pbe(e,t,r){var o,a,u,f,p;for(f1n(e),a=(e.k==null&&(e.k=we(HQ,Pe,81,0,0,1)),e.k),u=0,f=a.length;u<f;++u)o=a[u],Pbe(o);p=e.f,p&&Pbe(p)}function gwn(e){var t,r,o,a;for(Vxn(e),r=new Ft(Gt(Lf(e).a.Jc(),new D));an(r);)t=l(en(r),17),o=t.c.i==e,a=o?t.d:t.c,o?Yi(t,null):mo(t,null),Te(t,(Ie(),_Te),a),bEn(e,a.i)}function bwn(e,t,r){var o,a,u,f;for(f=_s(e.e,t,0),u=new Fue,u.b=r,o=new Ji(e.e,f);o.b<o.d.gc();)a=(cn(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),9)),a.p=r,Fe(u.e,a),Mc(o);return u}function mwn(e){var t,r,o;for(r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)if(t=l(rn(r),19),o=OF(t),!an(new Ft(Gt(o.a.Jc(),new D))))return t;return null}function wwn(e){var t,r,o;for(r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)if(t=l(rn(r),19),o=OF(t),!an(new Ft(Gt(o.a.Jc(),new D))))return t;return null}function EF(){EF=K,mne=new yO("OVERLAP_REMOVAL",0),pne=new yO(XSt,1),wne=new yO("ROTATION",2),gne=new yO("GRAPH_SIZE_CALCULATION",3),bne=new yO("OUTGOING_EDGE_ANGLES",4)}function Wbt(e){switch(e.g){case 0:return new rGe;case 1:return new nGe;default:throw Y(new jt("No implementation is available for the edge router "+(e.f!=null?e.f:""+e.g)))}}function ywn(){var e;return YDt?l(Y_((r1(),Ll),Lx),2094):(e=l(se(wa((r1(),Ll),Lx),563)?wa(Ll,Lx):new z0t,563),YDt=!0,Okn(e),W3n(e),$Y(e),rs(Ll,Lx,e),e)}function WY(e,t,r){var o,a;if(e.j==0)return r;if(a=l(Jft(e,t,r),76),o=r.Jk(),!o.pk()||!e.a.$l(o))throw Y(new Es("Invalid entry feature '"+o.ok().zb+"."+o.ve()+"'"));return a}function vwn(e,t){var r,o,a,u,f,p,m,y;for(p=e.a,m=0,y=p.length;m<y;++m)for(f=p[m],o=f,a=0,u=o.length;a<u;++a)if(r=o[a],me(t)===me(r)||t!=null&&gr(t,r))return!0;return!1}function Ewn(e){var t,r,o;return Ea(e,0)>=0?(r=W6(e,i7),o=hY(e,i7)):(t=Rb(e,1),r=W6(t,5e8),o=hY(t,5e8),o=_o(fh(o,1),Gi(e,1))),Of(fh(o,32),Gi(r,Bo))}function Swn(e,t,r,o){var a,u,f,p,m;for(a=null,u=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),m=f.i+f.g,e<f.j+f.f+o&&(a?r.i-m<r.i-u&&(a=f):a=f,u=a.i+a.g);return a?u+o:0}function Twn(e,t,r,o){var a,u,f,p,m;for(u=null,a=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),m=f.j+f.f,e<f.i+f.g+o&&(u?r.j-m<r.j-a&&(u=f):u=f,a=u.j+u.f);return u?a+o:0}function Awn(e){var t,r,o;for(t=!1,o=e.b.c.length,r=0;r<o;r++)Hge(l(ze(e.b,r),439))?!t&&r+1<o&&Hge(l(ze(e.b,r+1),439))&&(t=!0,l(ze(e.b,r),439).a=!0):t=!1}function _wn(e,t,r,o,a){var u,f;for(u=0,f=0;f<a;f++)u=_o(u,El(Gi(t[f],Bo),Gi(o[f],Bo))),e[f]=On(u),u=c0(u,32);for(;f<r;f++)u=_o(u,Gi(t[f],Bo)),e[f]=On(u),u=c0(u,32)}function xwn(e,t){Q_();var r,o;for(o=(jf(),f$),r=e;t>1;t>>=1)t&1&&(o=fE(o,r)),r.d==1?r=fE(r,r):r=new l1t(zyt(r.a,r.d,we(Rn,Qn,30,r.d<<1,15,1)));return o=fE(o,r),o}function jbe(){jbe=K;var e,t,r,o;for(y2e=we(Ki,Xo,30,25,15,1),v2e=we(Ki,Xo,30,33,15,1),o=152587890625e-16,t=32;t>=0;t--)v2e[t]=o,o*=.5;for(r=1,e=24;e>=0;e--)y2e[e]=r,r*=.5}function kwn(e){var t,r;if(Ye(Ke(ve(e,(Ue(),Jy))))){for(r=new Ft(Gt(mp(e).a.Jc(),new D));an(r);)if(t=l(en(r),74),R0(t)&&Ye(Ke(ve(t,bm))))return!0}return!1}function Kbt(e){var t,r,o,a;for(t=new Ar,r=new Ar,a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),12),o.e.c.length==0?Wr(r,o,r.c.b,r.c):Wr(t,o,t.c.b,t.c);return ou(t).Fc(r),t}function Ybt(e,t){var r,o,a;gi(e.f,t)&&(t.b=e,o=t.c,_s(e.j,o,0)!=-1||Fe(e.j,o),a=t.d,_s(e.j,a,0)!=-1||Fe(e.j,a),r=t.a.b,r.c.length!=0&&(!e.i&&(e.i=new h1t(e)),Yhn(e.i,r)))}function Nwn(e){var t,r,o,a,u;return r=e.c.d,o=r.j,a=e.d.d,u=a.j,o==u?r.p<a.p?0:1:Gj(o)==u?0:p1e(o)==u?1:(t=e.b,fc(t.b,Gj(o))?0:1)}function SF(e,t){var r,o,a,u,f,p;a=e,f=B3(a,"layoutOptions"),!f&&(f=B3(a,nAt)),f&&(p=f,o=null,p&&(o=(u=AK(p,we(Je,Pe,2,0,6,1)),new Sq(p,u))),o&&(r=new wnt(p,t),lo(o,r)))}function Jo(e){if(se(e,209))return l(e,19);if(se(e,196))return Gd(l(e,127));throw Y(e?new Jp("Only support nodes and ports."):new cS(dAt))}function Cwn(e,t,r,o){return(t>=0&&wt(e.substr(t,3),"GMT")||t>=0&&wt(e.substr(t,3),"UTC"))&&(r[0]=t+3),v0e(e,r,o)}function Iwn(e,t){var r,o,a,u,f;for(u=e.g.a,f=e.g.b,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),70),a=r.n,a.a=u,e.i==(He(),Vt)?a.b=f+e.j.b-r.o.b:a.b=f,mr(a,t),u+=r.o.a+e.e}function Jbt(e,t,r){if(e.b)throw Y(new ts("The task is already done."));return e.p!=null?!1:(e.p=t,e.r=r,e.k&&(e.o=(eg(),yo(Gs(Date.now()),yg))),!0)}function Fbe(e){var t,r,o,a,u,f,p;return p=new aS,r=e.Og(),a=r!=null,a&&e_(p,qf,e.Og()),o=e.ve(),u=o!=null,u&&e_(p,sr,e.ve()),t=e.Ng(),f=t!=null,f&&e_(p,"description",e.Ng()),p}function Xbt(e,t,r){var o,a,u;return u=e.q,e.q=t,e.Db&4&&!(e.Db&1)&&(a=new Pi(e,1,9,u,t),r?r.lj(a):r=a),t?(o=t.c,o!=e.r&&(r=e.Wk(o,r))):e.r&&(r=e.Wk(null,r)),r}function Rwn(e,t,r){var o,a,u,f,p;for(r=(p=t,XS(p,e.e,-1-e.c,r)),f=Ehe(e.a),u=(o=new hy(new Mw(f.a).a),new I9(o));u.a.b;)a=l(bE(u.a).jd(),88),r=ox(a,DF(a,e.a),r);return r}function Own(e,t,r){var o,a,u,f,p;for(r=(p=t,DP(p,e.e,-1-e.c,r)),f=Ehe(e.a),u=(o=new hy(new Mw(f.a).a),new I9(o));u.a.b;)a=l(bE(u.a).jd(),88),r=ox(a,DF(a,e.a),r);return r}function Dwn(e,t,r,o){var a,u,f;if(o==0)ca(t,0,e,r,e.length-r);else for(f=32-o,e[e.length-1]=0,u=e.length-1;u>r;u--)e[u]|=t[u-r-1]>>>f,e[u-1]=t[u-r-1]<<o;for(a=0;a<r;a++)e[a]=0}function Lwn(e){var t,r,o,a,u;for(t=0,r=0,u=e.Jc();u.Ob();)o=l(u.Pb(),116),t=b.Math.max(t,o.d.b),r=b.Math.max(r,o.d.c);for(a=e.Jc();a.Ob();)o=l(a.Pb(),116),o.d.b=t,o.d.c=r}function Mwn(e){var t,r,o,a,u;for(r=0,t=0,u=e.Jc();u.Ob();)o=l(u.Pb(),116),r=b.Math.max(r,o.d.d),t=b.Math.max(t,o.d.a);for(a=e.Jc();a.Ob();)o=l(a.Pb(),116),o.d.d=r,o.d.a=t}function KY(e,t,r,o,a){var u,f;u=l(Ac(dr(t.Mc(),new YBe),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),vC(u),f=l(Gb(e.b,r,o),16),a==0?f.ad(0,u):f.Fc(u)}function Pwn(e,t,r){r.Tg("Grow Tree",1),e.b=t.f,Ye(Ke(F(t,(S_(),EI))))?(e.c=new Vm,Ict(e,null)):e.c=new Vm,e.a=!1,Rwt(e,t.f),Te(t,k2e,(Lt(),!!e.a)),r.Ug()}function Qb(e){var t;this.d=new hn,this.c=e.c,this.e=e.d,this.b=e.b,this.f=new rst(e.e),this.a=e.a,e.f?this.g=e.f:this.g=(t=l(md(s5),10),new Hu(t,l(Gl(t,t.length),10),0))}function $be(e){var t,r,o,a;for(t=null,a=new V(e.Pf());a.a<a.c.c.length;)o=l(q(a),190),r=new ql(o.Jf().a,o.Jf().b,o.Kf().a,o.Kf().b),t?yC(t,r):t=r;return!t&&(t=new wS),t}function YY(e,t,r,o){var a,u;return r==1?(!e.n&&(e.n=new ke(Rs,e,1,7)),Pa(e.n,t,o)):(u=l(kt((a=l(qt(e,16),29),a||e.fi()),r),69),u.uk().xk(e,Ha(e),r-ln(e.fi()),t,o))}function JY(e,t,r){var o,a,u,f,p;for(o=r.gc(),e.Zi(e.i+o),p=e.i-t,p>0&&ca(e.g,t,e.g,t+o,p),f=r.Jc(),e.i+=o,a=0;a<o;++a)u=f.Pb(),w3(e,t,e.Xi(t,u)),e.Ki(t,u),e.Li(),++t;return o!=0}function Zd(e,t,r){var o;return t!=e.q?(e.q&&(r=DP(e.q,e,-10,r)),t&&(r=XS(t,e,-10,r)),r=Xbt(e,t,r)):e.Db&4&&!(e.Db&1)&&(o=new Pi(e,1,9,t,t),r?r.lj(o):r=o),r}function XY(e,t,r,o){return bfe((r&$f)==0,"flatMap does not support SUBSIZED characteristic"),bfe((r&4)==0,"flatMap does not support SORTED characteristic"),kn(e),kn(t),new Cut(e,t,r,o)}function Zbt(e,t){she(t,"Cannot suppress a null exception."),HO(t!=e,"Exception can not suppress itself."),!e.i&&(e.k==null?e.k=Z(X(HQ,1),Pe,81,0,[t]):e.k[e.k.length]=t)}function jwn(e,t){var r;if(r=znt(e.b.$f(),t.b.$f()),r!=0)return r;switch(e.b.$f().g){case 1:case 2:return na(e.b.Lf(),t.b.Lf());case 3:case 4:return na(t.b.Lf(),e.b.Lf())}return 0}function Fwn(e){var t,r,o;for(o=e.e.c.length,e.a=Xw(Rn,[Pe,Qn],[54,30],15,[o,o],2),r=new V(e.c);r.a<r.c.c.length;)t=l(q(r),292),e.a[t.c.a][t.d.a]+=l(F(t,(ed(),AT)),15).a}function $wn(e,t){var r,o,a,u,f;if(e==null)return null;for(f=we(al,Bf,30,2*t,15,1),o=0,a=0;o<t;++o)r=e[o]>>4&15,u=e[o]&15,f[a++]=y3e[r],f[a++]=y3e[u];return Mf(f,0,f.length)}function Qa(e){var t,r;return e>=Io?(t=TD+(e-Io>>10&1023)&Ti,r=56320+(e-Io&1023)&Ti,String.fromCharCode(t)+(""+String.fromCharCode(r))):String.fromCharCode(e&Ti)}function Bwn(e,t){Ww();var r,o,a,u;return a=l(l(yr(e.r,t),24),85),a.gc()>=2?(o=l(a.Jc().Pb(),116),r=e.u.Gc((xc(),k4)),u=e.u.Gc(KT),!o.a&&!r&&(a.gc()==2||u)):!1}function Qbt(e,t,r,o,a){var u,f,p;for(u=Wwt(e,t,r,o,a),p=!1;!u;)IF(e,a,!0),p=!0,u=Wwt(e,t,r,o,a);p&&IF(e,a,!1),f=PK(a),f.c.length!=0&&(e.d&&e.d.Fg(f),Qbt(e,a,r,o,f))}function TF(){TF=K,Cne=new w8("NODE_SIZE_REORDERER",0),xne=new w8("INTERACTIVE_NODE_REORDERER",1),Nne=new w8("MIN_SIZE_PRE_PROCESSOR",2),kne=new w8("MIN_SIZE_POST_PROCESSOR",3)}function AF(){AF=K,kre=new c3(_d,0),BNe=new c3("DIRECTED",1),HNe=new c3("UNDIRECTED",2),FNe=new c3("ASSOCIATION",3),UNe=new c3("GENERALIZATION",4),$Ne=new c3("DEPENDENCY",5)}function Uwn(e,t){var r;if(!Gd(e))throw Y(new ts(HTt));switch(r=Gd(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-r.g;case 3:return e.j-r.f;case 4:return-(e.i+e.g)}return 0}function Hwn(e,t,r){var o,a,u;return o=t.Jk(),u=t.kd(),a=o.Hk()?l1(e,4,o,u,null,nx(e,o,u,se(o,104)&&(l(o,20).Bb&Io)!=0),!0):l1(e,o.rk()?2:1,o,u,o.gk(),-1,!0),r?r.lj(a):r=a,r}function V_(e,t){var r,o;for(Mt(t),o=e.b.c.length,Fe(e.b,t);o>0;){if(r=o,o=(o-1)/2|0,e.a.Le(ze(e.b,o),t)<=0)return nu(e.b,r,t),!0;nu(e.b,r,ze(e.b,o))}return nu(e.b,o,t),!0}function Bbe(e,t,r,o){var a,u;if(a=0,r)a=Bj(e.a[r.g][t.g],o);else for(u=0;u<m$;u++)a=b.Math.max(a,Bj(e.a[u][t.g],o));return t==(Sd(),$a)&&e.b&&(a=b.Math.max(a,e.b.a)),a}function zwn(e,t){var r,o,a,u,f,p;return a=e.i,u=t.i,!a||!u||a.i!=u.i||a.i==(He(),Qt)||a.i==(He(),Wt)?!1:(f=a.g.a,r=f+a.j.a,p=u.g.a,o=p+u.j.a,f<=o&&r>=p)}function emt(e){switch(e.g){case 0:return new Gze;case 1:return new qze;default:throw Y(new jt("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function Ube(e,t,r,o){var a;if(a=!1,zi(o)&&(a=!0,e_(t,r,In(o))),a||Hw(o)&&(a=!0,Ube(e,t,r,o)),a||se(o,245)&&(a=!0,Mb(t,r,l(o,245))),!a)throw Y(new fq(vEe))}function Gwn(e,t){var r,o,a;if(r=t.ni(e.a),r&&(a=Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),Al),a!=null)){for(o=1;o<(mc(),z3e).length;++o)if(wt(z3e[o],a))return o}return 0}function qwn(e,t){var r,o,a;if(r=t.ni(e.a),r&&(a=Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),Al),a!=null)){for(o=1;o<(mc(),G3e).length;++o)if(wt(G3e[o],a))return o}return 0}function tmt(e,t){var r,o,a,u;if(Mt(t),u=e.a.gc(),u<t.gc())for(r=e.a.ec().Jc();r.Ob();)o=r.Pb(),t.Gc(o)&&r.Qb();else for(a=t.Jc();a.Ob();)o=a.Pb(),e.a.Ac(o)!=null;return u!=e.a.gc()}function nmt(e){var t,r;switch(r=Ao(xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a]))),t=e.i.d,e.j.g){case 1:r.b-=t.d;break;case 2:r.a+=t.c;break;case 3:r.b+=t.a;break;case 4:r.a-=t.b}return r}function Vwn(e){var t;for(t=(zS(),l(en(new Ft(Gt(si(e).a.Jc(),new D))),17).c.i);t.k==(Ht(),bi);)Te(t,(Ie(),pL),(Lt(),!0)),t=l(en(new Ft(Gt(si(t).a.Jc(),new D))),17).c.i}function ZY(e,t,r,o){var a,u,f,p;for(p=oC(t,o),f=p.Jc();f.Ob();)a=l(f.Pb(),12),e.d[a.p]=e.d[a.p]+e.c[r.p];for(p=oC(r,o),u=p.Jc();u.Ob();)a=l(u.Pb(),12),e.d[a.p]=e.d[a.p]-e.c[t.p]}function Hbe(e,t,r){var o,a;for(a=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));a.e!=a.i.gc();)o=l(rn(a),19),Bu(o,o.i+t,o.j+r);lo((!e.b&&(e.b=new ke(Ir,e,12,3)),e.b),new Xtt(t,r))}function Wwn(e,t,r,o){var a,u;for(u=t,a=u.d==null||e.a.Le(r.d,u.d)>0?1:0;u.a[a]!=r;)u=u.a[a],a=e.a.Le(r.d,u.d)>0?1:0;u.a[a]=o,o.b=r.b,o.a[0]=r.a[0],o.a[1]=r.a[1],r.a[0]=null,r.a[1]=null}function Kwn(e){var t,r,o,a;for(t=new je,r=we(cc,Ad,30,e.a.c.length,16,1),ohe(r,r.length),a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),126),r[o.d]||(Rt(t.c,o),w1t(e,o,r));return t}function rmt(e,t){var r,o,a,u,f;for(a=t==1?gee:pee,o=a.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(yr(e.f.c,r),24).Jc();f.Ob();)u=l(f.Pb(),49),Xa(e.b.b,u.b),Xa(e.b.a,l(u.b,84).d)}function Ywn(e,t){var r;t.Tg("Hierarchical port position processing",1),r=e.b,r.c.length>0&&Fyt((at(0,r.c.length),l(r.c[0],26)),e),r.c.length>1&&Fyt(l(ze(r,r.c.length-1),26),e),t.Ug()}function Jwn(e){xc();var t,r;return t=xr(Rp,Z(X(dU,1),Ce,282,0,[Y1])),!(T6(MP(t,e))>1||(r=xr(k4,Z(X(dU,1),Ce,282,0,[x4,KT])),T6(MP(r,e))>1))}function zbe(e,t){var r;r=wa((r1(),Ll),e),se(r,496)?rs(Ll,e,new Snt(this,t)):rs(Ll,e,this),eJ(this,t),t==($A(),R3e)?(this.wb=l(this,2017),l(t,2019)):this.wb=(c1(),Bt)}function Xwn(e){var t,r,o;if(e==null)return null;for(t=null,r=0;r<R4.length;++r)try{return rtt(R4[r],e)}catch(a){if(a=ui(a),se(a,33))o=a,t=o;else throw Y(a)}throw Y(new sj(t))}function imt(){imt=K,dxt=Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),fxt=Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function F(e,t){var r,o;return o=(!e.q&&(e.q=new hn),Ut(e.q,t)),o??(r=t.Rg(),se(r,4)&&(r==null?(!e.q&&(e.q=new hn),FS(e.q,t)):(!e.q&&(e.q=new hn),Jn(e.q,t,r))),r)}function Vi(){Vi=K,id=new pO("P1_CYCLE_BREAKING",0),kh=new pO("P2_LAYERING",1),la=new pO("P3_NODE_ORDERING",2),da=new pO("P4_NODE_PLACEMENT",3),zo=new pO("P5_EDGE_ROUTING",4)}function Zwn(e,t){q3();var r;if(e.c==t.c){if(e.b==t.b||Thn(e.b,t.b)){if(r=stn(e.b)?1:-1,e.a&&!t.a)return r;if(!e.a&&t.a)return-r}return na(e.b.g,t.b.g)}else return vr(e.c,t.c)}function Qwn(e,t,r,o){var a,u,f,p,m;return f=dbt(e.a,t,r),p=l(f.a,15).a,u=l(f.b,15).a,o&&(m=l(F(t,(Ie(),Nc)),9),a=l(F(r,Nc),9),m&&a&&(But(e.b,m,a),p+=e.b.i,u+=e.b.e)),p>u}function omt(e,t){var r,o,a;if(qbe(e,t))return!0;for(o=new V(t);o.a<o.c.c.length;)if(r=l(q(o),19),a=Lbt(r),BF(e,r,a)||Jpt(e,r)-e.g<=e.a)return!0;return!1}function Y6(){Y6=K,QB=(yJ(),xke),Wne=r6t,Vne=n6t,yke=QOt,qne=t6t,wke=new xb(8),VOt=new Mi((_n(),df),wke),WOt=new Mi(Od,8),KOt=Ake,bke=YOt,mke=JOt,qOt=new Mi(BL,(Lt(),!1))}function _F(){_F=K,Jke=new xb(15),F6t=new Mi((_n(),df),Jke),$6t=new Mi(Od,15),Xke=new Mi(HL,Oe(0)),Wke=V6t,P6t=Am,j6t=q1,Vke=new Mi(gk,yTt),Kke=y4,Yke=m2,lre=z6t,M6t=$L}function eyn(e,t){if(se(t,209))return ubn(e,l(t,19));if(se(t,196))return dbn(e,l(t,127));if(t)return null;throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t])))))}function tyn(e,t){if(se(t,363))return Qdn(e,l(t,158));if(se(t,273))return cxn(e,l(t,74));if(t)return null;throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t])))))}function QY(e){if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i!=1)throw Y(new jt(hAt));return Jo(l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))}function smt(e){if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i!=1||(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i!=1)throw Y(new jt(hAt));return Jo(l(ie((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))}function Gbe(e,t,r){var o,a,u;if(++e.j,a=e.Cj(),t>=a||t<0)throw Y(new Ia(gQ+t+cm+a));if(r>=a||r<0)throw Y(new Ia(bQ+r+cm+a));return t!=r?o=(u=e.Aj(r),e.oj(t,u),u):o=e.vj(r),o}function amt(e){var t,r,o;if(o=e,e)for(t=0,r=e.Bh();r;r=r.Bh()){if(++t>TX)return amt(r);if(o=r,r==e)throw Y(new ts("There is a cycle in the containment hierarchy of "+e))}return o}function Qd(e){var t,r,o;for(o=new qb(ja,"[","]"),r=e.Jc();r.Ob();)t=r.Pb(),cp(o,me(t)===me(e)?"(this Collection)":t==null?tc:ms(t));return o.a?o.e.length==0?o.a.a:o.a.a+(""+o.e):o.c}function qbe(e,t){var r,o;if(o=!1,t.gc()<2)return!1;for(r=0;r<t.gc();r++)r<t.gc()-1?o=o|BF(e,l(t.Xb(r),19),l(t.Xb(r+1),19)):o=o|BF(e,l(t.Xb(r),19),l(t.Xb(0),19));return o}function cmt(e,t){var r,o,a;if(a=(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i,a>0)for(o=0;o<a;o++)r=l(ie(a_(l(ie((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),o),74)),0),19),va(r,r.i+t.i),cmt(e,r)}function umt(e,t){var r;t!=e.a?(r=null,e.a&&(r=l(e.a,52).Qh(e,4,Dd,r)),t&&(r=l(t,52).Oh(e,4,Dd,r)),r=n1e(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,1,t,t))}function Vbe(e,t){var r;t!=e.e?(e.e&&Mlt(Ehe(e.e),e),t&&(!t.b&&(t.b=new C9(new sq)),qit(t.b,e)),r=f0n(e,t,null),r&&r.mj()):e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,4,t,t))}function nyn(e){var t,r,o,a;if(tE(l(F(e.b,(Ue(),xu)),87)))return 0;for(t=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),r.k==(Ht(),Xr)&&(a=r.o.a,t=b.Math.max(t,a));return t}function ryn(e,t){var r;r=t.o,ep(e.f)?(e.j.a=b.Math.max(e.j.a,r.a),e.j.b+=r.b,e.d.c.length>1&&(e.j.b+=e.e)):(e.j.a+=r.a,e.j.b=b.Math.max(e.j.b,r.b),e.d.c.length>1&&(e.j.a+=e.e))}function T1(){T1=K,RNt=Z(X(Oo,1),ea,64,0,[(He(),Vt),Qt,dn]),INt=Z(X(Oo,1),ea,64,0,[Qt,dn,Wt]),ONt=Z(X(Oo,1),ea,64,0,[dn,Wt,Vt]),DNt=Z(X(Oo,1),ea,64,0,[Wt,Vt,Qt])}function lmt(e){var t,r,o,a,u,f,p,m,y;for(this.a=R1t(e),this.b=new je,r=e,o=0,a=r.length;o<a;++o)for(t=r[o],u=new je,Fe(this.b,u),p=t,m=0,y=p.length;m<y;++m)f=p[m],Fe(u,new Tc(f.j))}function iyn(e,t,r){var o,a,u;return u=0,o=r[t],t<r.length-1&&(a=r[t+1],e.b[t]?(u=G3n(e.d,o,a),u+=hW(e.a,o,(He(),Qt)),u+=hW(e.a,a,Wt)):u=ifn(e.a,o,a)),e.c[t]&&(u+=xdn(e.a,o)),u}function oyn(e,t,r,o,a){var u,f,p,m;for(m=null,p=new V(o);p.a<p.c.c.length;)if(f=l(q(p),447),f!=r&&_s(f.e,a,0)!=-1){m=f;break}u=JW(a),mo(u,r.b),Yi(u,m.b),yt(e.a,a,new Y8(u,t,r.f))}function dmt(e){for(;e.g.c!=0&&e.d.c!=0;)xV(e.g).c>xV(e.d).c?(e.i+=e.g.c,pY(e.d)):xV(e.d).c>xV(e.g).c?(e.e+=e.d.c,pY(e.g)):(e.i+=Xot(e.g),e.e+=Xot(e.d),pY(e.g),pY(e.d))}function syn(e,t,r){var o,a,u,f;for(u=t.q,f=t.r,new Pb((vd(),H1),t,u,1),new Pb(H1,u,f,1),a=new V(r);a.a<a.c.c.length;)o=l(q(a),117),o!=u&&o!=t&&o!=f&&(P0e(e.a,o,t),P0e(e.a,o,f))}function fmt(e,t,r,o){e.a.d=b.Math.min(t,r),e.a.a=b.Math.max(t,o)-e.a.d,t<r?(e.b=.5*(t+r),e.g=MZ*e.b+.9*t,e.f=MZ*e.b+.9*r):(e.b=.5*(t+o),e.g=MZ*e.b+.9*o,e.f=MZ*e.b+.9*t)}function ayn(e){var t,r,o,a;if(e.b!=0){for(t=new Ar,a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),41),wo(t,MK(o)),r=o.e,r.a=l(F(o,(Nr(),CL)),15).a,r.b=l(F(o,IL),15).a;return t}return new Ar}function cyn(e){switch(l(F(e,(Ue(),Cs)),166).g){case 1:Te(e,Cs,(iu(),MI));break;case 2:Te(e,Cs,(iu(),gm));break;case 3:Te(e,Cs,(iu(),LI));break;case 4:Te(e,Cs,(iu(),xp))}}function uyn(e,t,r){var o;r.Tg("Self-Loop routing",1),o=qgn(t),I8(F(t,(QP(),p4))),ei(Oa(dr(dr(bs(new vt(null,new St(t.b,16)),new X$e),new Z$e),new Q$e),new eBe),new wtt(e,o)),r.Ug()}function W_(){W_=K,NI=new o3(_d,0),cTe=new o3(hT,1),dTe=new o3(pT,2),lTe=new o3("LEFT_RIGHT_CONSTRAINT_LOCKING",3),uTe=new o3("LEFT_RIGHT_CONNECTION_LOCKING",4),aTe=new o3(TSt,5)}function hmt(e,t,r){var o,a,u,f,p,m,y;p=r.a/2,u=r.b/2,o=b.Math.abs(t.a-e.a),a=b.Math.abs(t.b-e.b),m=1,y=1,o>p&&(m=p/o),a>u&&(y=u/a),f=b.Math.min(m,y),e.a+=f*(t.a-e.a),e.b+=f*(t.b-e.b)}function lyn(e,t,r,o,a){var u,f;for(f=!1,u=l(ze(r.b,0),19);m_n(e,t,u,o,a)&&(f=!0,J0n(r,u),r.b.c.length!=0);)u=l(ze(r.b,0),19);return r.b.c.length==0&&q6(r.j,r),f&&hF(t.q),f}function Wbe(e,t,r,o){var a,u;return r==0?(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),V8(e.o,t,o)):(u=l(kt((a=l(qt(e,16),29),a||e.fi()),r),69),u.uk().yk(e,Ha(e),r-ln(e.fi()),t,o))}function eJ(e,t){var r;t!=e.sb?(r=null,e.sb&&(r=l(e.sb,52).Qh(e,1,I4,r)),t&&(r=l(t,52).Oh(e,1,I4,r)),r=s1e(e,t,r),r&&r.mj()):e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,4,t,t))}function pmt(e,t){var r,o,a,u;if(t)a=fp(t,"x"),r=new LXe(e),y0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new MXe(e),v0(o.a,(Mt(u),u));else throw Y(new xf("All edge sections need an end point."))}function gmt(e,t){var r,o,a,u;if(t)a=fp(t,"x"),r=new RXe(e),E0(r.a,(Mt(a),a)),u=fp(t,"y"),o=new OXe(e),S0(o.a,(Mt(u),u));else throw Y(new xf("All edge sections need a start point."))}function dyn(e,t){var r,o,a,u,f,p,m;for(o=Lpt(e),u=0,p=o.length;u<p;++u)wmt(t);for(m=!sf&&e.e?sf?null:e.d:null;m;){for(r=Lpt(m),a=0,f=r.length;a<f;++a)wmt(t);m=!sf&&m.e?sf?null:m.d:null}}function bmt(e,t){var r,o;o=l(F(t,(Ue(),Zr)),103),Te(t,(Ie(),xTe),o),r=t.e,r&&(ei(new vt(null,new St(r.a,16)),new yue(e)),ei(bs(new vt(null,new St(r.b,16)),new i9),new vue(e)))}function fyn(e){var t,r,o,a;if(t=!1,br(e,(Ie(),RI)))for(r=l(F(e,RI),93),a=new V(e.j);a.a<a.c.c.length;)o=l(q(a),12),f2n(o)&&(t||(Nvn(ji(e)),t=!0),N1n(l(r.xc(o),319)))}function hyn(e){var t,r,o,a,u,f,p,m,y;return y=Fbe(e),r=e.e,u=r!=null,u&&e_(y,G7,e.e),p=e.k,f=!!p,f&&e_(y,"type",SV(e.k)),o=aO(e.j),a=!o,a&&(m=new Eb,Kl(y,hQ,m),t=new eZe(m),lo(e.j,t)),y}function pyn(e){var t,r,o,a;for(a=Db((wu(e.gc(),"size"),new lS),123),o=!0,r=Cb(e).Jc();r.Ob();)t=l(r.Pb(),45),o||(a.a+=ja),o=!1,ba(Db(ba(a,t.jd()),61),t.kd());return(a.a+="}",a).a}function mmt(e,t){var r,o,a;return t&=63,t<22?(r=e.l<<t,o=e.m<<t|e.l>>22-t,a=e.h<<t|e.m>>22-t):t<44?(r=0,o=e.l<<t-22,a=e.m<<t-22|e.l>>44-t):(r=0,o=0,a=e.l<<t-44),Ua(r&Hc,o&Hc,a&Ep)}function Sy(e){if(QEe==null&&(QEe=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!QEe.test(e))throw Y(new kf(F0+e+'"'));return parseFloat(e)}function wmt(e){var t,r,o;t=wt(typeof console,IX)?null:new Ui,t&&(GA(),r=(o=900,o>=yg?"error":o>=900?"warn":o>=800?"info":"log"),qst(r,e.a),e.b&&Kme(t,r,e.b,"Exception: ",!0))}function ymt(e,t){var r,o,a,u,f;for(a=t==1?gee:pee,o=a.a.ec().Jc();o.Ob();)for(r=l(o.Pb(),87),f=l(yr(e.f.c,r),24).Jc();f.Ob();)u=l(f.Pb(),49),Fe(e.b.b,l(u.b,84)),Fe(e.b.a,l(u.b,84).d)}function vmt(e,t,r,o){var a,u,f,p,m;switch(m=e.b,u=t.d,f=u.j,p=V1e(f,m.d[f.g],r),a=mr(Ao(u.n),u.a),u.j.g){case 3:case 1:p.a+=a.a;break;case 2:p.b+=a.b;break;case 4:p.b+=a.b}Wr(o,p,o.c.b,o.c)}function gyn(e,t){var r,o,a,u;for(u=t.b.j,e.a=we(Rn,Qn,30,u.c.length,15,1),a=0,o=0;o<u.c.length;o++)r=(at(o,u.c.length),l(u.c[o],12)),r.e.c.length==0&&r.g.c.length==0?a+=1:a+=3,e.a[o]=a}function xF(){xF=K,Vee=new r3("ALWAYS_UP",0),qee=new r3("ALWAYS_DOWN",1),Kee=new r3("DIRECTION_UP",2),Wee=new r3("DIRECTION_DOWN",3),Yee=new r3("SMART_UP",4),J$=new r3("SMART_DOWN",5)}function Emt(e){switch(e.g){case 0:return new GWe;case 1:return new eKe;case 2:return new tKe;case 3:return new tnt;case 4:return new bst;default:throw Y(new jt(IZ+(e.f!=null?e.f:""+e.g)))}}function byn(e,t){if(e<0||t<0)throw Y(new jt("k and n must be positive"));if(t>e)throw Y(new jt("k must be smaller than n"));return t==0||t==e?1:e==0?0:vbe(e)/(vbe(t)*vbe(e-t))}function Kbe(e,t){var r,o,a,u;for(r=new lV(e);r.g==null&&!r.c?$he(r):r.g==null||r.i!=0&&l(r.g[r.i-1],51).Ob();)if(u=l(RF(r),57),se(u,176))for(o=l(u,176),a=0;a<t.length;a++)t[a].Jg(o)}function tJ(e){var t;return e.Db&64?oY(e):(t=new ml(oY(e)),t.a+=" (height: ",Wv(t,e.f),t.a+=", width: ",Wv(t,e.g),t.a+=", x: ",Wv(t,e.i),t.a+=", y: ",Wv(t,e.j),t.a+=")",t.a)}function myn(e){var t,r,o,a,u,f,p;for(t=new f1,o=e,a=0,u=o.length;a<u;++a)if(r=o[a],f=kn(r.jd()),p=Jb(t,f,kn(r.kd())),p!=null)throw Y(new jt("duplicate key: "+f));this.b=(At(),new YG(t))}function wyn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],cp(u,String.fromCharCode(t));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Ybe(){Ybe=K,N2e=(lj(),y$),lkt=new ht(u7,N2e),Oe(1),ukt=new ht(xwe,Oe(300)),Oe(0),hkt=new ht(kwe,Oe(0)),pkt=new ht(MX,Hf),dkt=new ht(PX,5),gkt=y$,fkt=aee}function yyn(e,t){var r;if(t!=null&&!e.c.Fk().dk(t))throw r=se(t,57)?l(t,57).Ah().zb:Ab(ru(t)),Y(new MA(O1+e.c.ve()+"'s type '"+e.c.Fk().ve()+"' does not permit a value of type '"+r+"'"))}function vyn(e,t,r){var o,a;for(a=new Ji(e.b,0);a.b<a.d.gc();)o=(cn(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),70)),me(F(o,(Ie(),ATe)))===me(t)&&(nme(o.n,ji(e.c.i),r),Mc(a),Fe(t.b,o))}function Smt(e){var t,r;return r=b.Math.sqrt((e.k==null&&(e.k=vge(e,new AUe)),ce(e.k)/(e.b*(e.g==null&&(e.g=_ht(e,new jce)),ce(e.g))))),t=On(Gs(b.Math.round(r))),t=b.Math.min(t,e.f),t}function Eyn(){var e,t,r;for(t=0,e=0;e<1;e++){if(r=Ame((Jt(e,1),"X".charCodeAt(e))),r==0)throw Y(new Dn((Jt(e,2),"Unknown Option: "+"X".substr(e))));t|=r}return t}function Syn(e){var t,r,o,a,u,f;for(t=new oE,r=new oE,d1(t,e),d1(r,e);r.b!=r.c;)for(a=l(CS(r),37),f=new V(a.a);f.a<f.c.c.length;)u=l(q(f),9),u.e&&(o=u.e,d1(t,o),d1(r,o));return t}function aa(){bc(),ife.call(this),this.j=(He(),Is),this.a=new ro,new nq,this.f=(wu(2,Oy),new Da(2)),this.e=(wu(4,Oy),new Da(4)),this.g=(wu(4,Oy),new Da(4)),this.b=new mtt(this.e,this.g)}function Tyn(e,t){var r,o;return!(Ye(Ke(F(t,(Ie(),Ag))))||(o=t.c.i,e==(iu(),LI)&&o.k==(Ht(),ta))||(r=l(F(o,(Ue(),Cs)),166),r==xp))}function Ayn(e,t){var r,o;return!(Ye(Ke(F(t,(Ie(),Ag))))||(o=t.d.i,e==(iu(),MI)&&o.k==(Ht(),ta))||(r=l(F(o,(Ue(),Cs)),166),r==gm))}function _yn(e,t){var r,o,a,u,f,p,m;for(f=e.d,m=e.o,p=new ql(-f.b,-f.d,f.b+m.a+f.c,f.d+m.b+f.a),o=t,a=0,u=o.length;a<u;++a)r=o[a],r&&yC(p,r.i);f.b=-p.c,f.d=-p.d,f.c=p.b-f.b-m.a,f.a=p.a-f.d-m.b}function xyn(e,t){if(t.a)switch(l(F(t.b,(Ie(),xTe)),103).g){case 0:case 1:K0n(t);case 2:ei(new vt(null,new St(t.d,16)),new Dce),mEn(e.a,t)}else ei(new vt(null,new St(t.d,16)),new Dce)}function J6(){J6=K,fke=new EO("CENTER_DISTANCE",0),zne=new EO("CIRCLE_UNDERLAP",1),pke=new EO("RECTANGLE_UNDERLAP",2),Gne=new EO("INVERTED_OVERLAP",3),hke=new EO("MINIMUM_ROOT_DISTANCE",4)}function kyn(e){t0e();var t,r,o,a,u;if(e==null)return null;for(o=e.length,a=o*2,t=we(al,Bf,30,a,15,1),r=0;r<o;r++)u=e[r],u<0&&(u+=256),t[r*2]=NU[u>>4],t[r*2+1]=NU[u&15];return Mf(t,0,t.length)}function Nyn(e){var t,r,o;switch(o=e.c.length,o){case 0:return bW(),J_t;case 1:return t=l(r0t(new V(e)),45),qnn(t.jd(),t.kd());default:return r=l(Yd(e,we(dm,n7,45,e.c.length,0,1)),178),new Sle(r)}}function bg(e,t){switch(t.g){case 1:return _S(e.j,(bc(),Q2e));case 2:return _S(e.j,(bc(),X2e));case 3:return _S(e.j,(bc(),tSe));case 4:return _S(e.j,(bc(),nSe));default:return At(),At(),Ro}}function Cyn(e,t){var r,o,a;r=qon(t,e.e),o=l(Ut(e.g.f,r),15).a,a=e.a.c.length-1,e.a.c.length!=0&&l(ze(e.a,a),296).c==o?(++l(ze(e.a,a),296).a,++l(ze(e.a,a),296).b):Fe(e.a,new Qrt(o))}function A1(){A1=K,rOt=(_n(),GT),iOt=Od,QRt=Am,eOt=m2,tOt=q1,ZRt=b2,Txe=v4,nOt=dv,vne=(d0e(),URt),Ene=HRt,_xe=VRt,Sne=YRt,xxe=WRt,kxe=KRt,Axe=zRt,zB=GRt,GB=qRt,RL=JRt,Nxe=XRt,Sxe=BRt}function Tmt(e,t){var r,o,a,u,f;if(e.e<=t||Iun(e,e.g,t))return e.g;for(u=e.r,o=e.g,f=e.r,a=(u-o)/2+o;o+1<u;)r=MC(e,a,!1),r.b<=a&&r.a<=t?(f=a,u=a):o=a,a=(u-o)/2+o;return f}function Iyn(e,t,r){var o;o=Ywt(e,t,!0),Jbt(r,"Recursive Graph Layout",o),Kbe(t,Z(X(Uke,1),It,528,0,[new pKe])),Gu(t,(_n(),fv))||Kbe(t,Z(X(Uke,1),It,528,0,[new bGe])),twe(e,t,null,r),Amt(r)}function Amt(e){var t;if(e.p==null)throw Y(new ts("The task has not begun yet."));e.b||(e.k&&(t=(eg(),yo(Gs(Date.now()),yg)),e.q=$b(El(t,e.o))*1e-9),e.c<e.r&&bge(e,e.r-e.c),e.b=!0)}function Ryn(e){var t,r,o;for(o=new Lc,Gn(o,new Me(e.j,e.k)),r=new tn((!e.a&&(e.a=new Ei(Iu,e,5)),e.a));r.e!=r.i.gc();)t=l(rn(r),373),Gn(o,new Me(t.a,t.b));return Gn(o,new Me(e.b,e.c)),o}function _mt(e,t,r,o,a){var u,f,p,m,y,v;if(a)for(m=a.a.length,u=new Ib(m),v=(u.b-u.a)*u.c<0?(i1(),tb):new a1(u);v.Ob();)y=l(v.Pb(),15),p=f_(a,y.a),f=new xat(e,t,r,o),qyt(f.a,f.b,f.c,f.d,p)}function Jbe(e,t){var r;if(me(e)===me(t))return!0;if(se(t,24)){r=l(t,24);try{return e.gc()==r.gc()&&e.Hc(r)}catch(o){if(o=ui(o),se(o,174)||se(o,214))return!1;throw Y(o)}}return!1}function nJ(e,t,r,o,a,u){switch(this.c=e,t.g){case 2:if(e.a.Le(a,r)<0)throw Y(new jt(gwe+a+k2t+r));break;case 1:e.a.Le(a,a);break;case 3:e.a.Le(r,r)}this.f=t,this.b=r,this.a=o,this.e=a,this.d=u}function Xbe(e,t){var r;Fe(e.d,t),r=t.Kf(),e.c?(e.e.a=b.Math.max(e.e.a,r.a),e.e.b+=r.b,e.d.c.length>1&&(e.e.b+=e.a)):(e.e.a+=r.a,e.e.b=b.Math.max(e.e.b,r.b),e.d.c.length>1&&(e.e.a+=e.a))}function Oyn(e){var t,r,o,a;switch(a=e.i,t=a.b,o=a.j,r=a.g,a.a.g){case 0:r.a=(e.g.b.o.a-o.a)/2;break;case 1:r.a=t.d.n.a+t.d.a.a;break;case 2:r.a=t.d.n.a+t.d.a.a-o.a;break;case 3:r.b=t.d.n.b+t.d.a.b}}function Dyn(e,t,r){var o,a,u;for(a=new Ft(Gt(Lf(r).a.Jc(),new D));an(a);)o=l(en(a),17),!fo(o)&&!(!fo(o)&&o.c.i.c==o.d.i.c)&&(u=wwt(e,o,r,new zZe),u.c.length>1&&Rt(t.c,u))}function xmt(e,t,r,o,a){if(o<t||a<r)throw Y(new jt("The highx must be bigger then lowx and the highy must be bigger then lowy"));return e.a<t?e.a=t:e.a>o&&(e.a=o),e.b<r?e.b=r:e.b>a&&(e.b=a),e}function Lyn(e){if(se(e,144))return oSn(l(e,144));if(se(e,236))return u1n(l(e,236));if(se(e,21))return hyn(l(e,21));throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[e])))))}function Myn(e,t,r,o,a){var u,f,p;for(u=!0,f=0;f<o;f++)u=u&r[f]==0;if(a==0)ca(r,o,e,0,t),f=t;else{for(p=32-a,u=u&r[f]<<p==0,f=0;f<t-1;f++)e[f]=r[f+o]>>>a|r[f+o+1]<<p;e[f]=r[f+o]>>>a,++f}return u}function Zbe(e,t,r,o){var a,u,f;if(t.k==(Ht(),bi)){for(u=new Ft(Gt(si(t).a.Jc(),new D));an(u);)if(a=l(en(u),17),f=a.c.i.k,f==bi&&e.c.a[a.c.i.c.p]==o&&e.c.a[t.c.p]==r)return!0}return!1}function Pyn(e,t,r){var o;r.Tg("YPlacer",1),e.a=ce(le(ve(t,(QS(),Fke)))),e.b=ce(le(ve(t,(_n(),Od)))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0&&(o=l(ve(t,(wh(),h4)),19),Nwt(e,o,0)),r.Ug()}function jyn(e,t){var r,o,a,u;return t&=63,r=e.h&Ep,t<22?(u=r>>>t,a=e.m>>t|r<<22-t,o=e.l>>t|e.m<<22-t):t<44?(u=0,a=r>>>t-22,o=e.m>>t-22|e.h<<44-t):(u=0,a=0,o=r>>>t-44),Ua(o&Hc,a&Hc,u&Ep)}function kmt(e,t,r,o){var a;this.b=o,this.e=e==(Kb(),XI),a=t[r],this.d=Xw(cc,[Pe,Ad],[172,30],16,[a.length,a.length],2),this.a=Xw(Rn,[Pe,Qn],[54,30],15,[a.length,a.length],2),this.c=new Dbe(t,r)}function Fyn(e){var t,r,o;for(e.k=new qhe((He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])).length,e.j.c.length),o=new V(e.j);o.a<o.c.c.length;)r=l(q(o),114),t=r.d.j,yt(e.k,t,r);e.e=V2n(kS(e.k))}function Nmt(e,t){var r,o,a;gi(e.d,t),r=new AHe,Jn(e.c,t,r),r.f=ZK(t.c),r.a=ZK(t.d),r.d=(NC(),a=t.c.i.k,a==(Ht(),Xr)||a==af),r.e=(o=t.d.i.k,o==Xr||o==af),r.b=t.c.j==(He(),Wt),r.c=t.d.j==Qt}function $yn(e){var t,r,o,a,u;for(u=ar,a=ar,o=new V(yE(e));o.a<o.c.c.length;)r=l(q(o),220),t=r.e.e-r.d.e,r.e==e&&t<a?a=t:t<u&&(u=t);return a==ar&&(a=-1),u==ar&&(u=-1),new Co(Oe(a),Oe(u))}function Byn(e,t){var r,o,a,u;for(r=t.a.o.a,u=new Rf(ji(t.a).b,t.c,t.f+1),a=new LN(u);a.b<a.d.gc();)if(o=(cn(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),26)),o.c.a>=r)return K_(e,t,o.p),!0;return!1}function xE(e,t,r,o){var a,u,f,p,m,y;for(f=r.length,u=0,a=-1,y=gft((Jt(t,e.length+1),e.substr(t)),(DV(),m2e)),p=0;p<f;++p)m=r[p].length,m>u&&Psn(y,gft(r[p],m2e))&&(a=p,u=m);return a>=0&&(o[0]=t+u),a}function Uyn(e,t,r){var o,a,u,f,p,m,y,v;u=e.d.p,p=u.e,m=u.r,e.g=new FO(m),f=e.d.o.c.p,o=f>0?p[f-1]:we(Nh,vg,9,0,0,1),a=p[f],y=f<p.length-1?p[f+1]:we(Nh,vg,9,0,0,1),v=t==r-1,v?CW(e.g,a,y):CW(e.g,o,a)}function Cmt(e){var t;return e.Db&64?tJ(e):(t=new fu(dEe),!e.a||zn(zn((t.a+=' "',t),e.a),'"'),zn(e0(zn(e0(zn(e0(zn(e0((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Imt(e,t,r){var o,a,u,f,p;for(p=za(e.e.Ah(),t),a=l(e.g,123),o=0,f=0;f<e.i;++f)if(u=a[f],p.$l(u.Jk())){if(o==r)return ky(e,f),Mo(),l(t,69).vk()?u:u.kd();++o}throw Y(new Ia(aI+r+cm+o))}function Rmt(e){var t,r,o;if(t=e.c,t==2||t==7||t==1)return hr(),hr(),B4;for(o=X0e(e),r=null;(t=e.c)!=2&&t!=7&&t!=1;)r||(r=(hr(),hr(),new b3(1)),em(r,o),o=r),em(r,X0e(e));return o}function Hyn(e,t,r){return e<0||e>r?cme(e,r,"start index"):t<0||t>r?cme(t,r,"end index"):CC("end index (%s) must not be less than start index (%s)",Z(X(Ri,1),It,1,5,[Oe(t),Oe(e)]))}function Omt(e,t){var r,o,a,u;for(o=0,a=e.length;o<a;o++){u=e[o];try{u[1]?u[0].Sm()&&(t=msn(t,u)):u[0].Sm()}catch(f){if(f=ui(f),se(f,81))r=f,$9(),Qan(se(r,477)?l(r,477).ie():r);else throw Y(f)}}return t}function K_(e,t,r){var o,a,u;for(r!=t.c+t.b.gc()&&Z_n(t.a,Uhn(t,r-t.c)),u=t.a.c.p,e.a[u]=b.Math.max(e.a[u],t.a.o.a),a=l(F(t.a,(Ie(),OI)),16).Jc();a.Ob();)o=l(a.Pb(),70),Te(o,Tee,(Lt(),!0))}function zyn(e,t){var r,o,a;a=fSn(t),Te(t,(Ie(),ste),a),a&&(o=ar,ns(e.f,a)&&(o=l(Ss(ns(e.f,a)),15).a),r=l(ze(t.g,0),17),Ye(Ke(F(r,Ag)))||Jn(e,a,Oe(b.Math.min(l(F(r,Cr),15).a,o))))}function Gyn(e){var t,r,o,a;for(r=ar,a=!0,t=0;t<e.a.c.length;t++)br(l(ze(e.a,t),9),(Ue(),mB))&&(a=!1,o=l(F(l(ze(e.a,t),9),mB),15).a,r=r<o?r:o);return a&&(r=l(Ge((Ue(),mB)),15).a),r}function Dmt(e,t,r){var o,a,u,f,p;for(t.p=-1,p=k0(t,(Fo(),Ba)).Jc();p.Ob();)for(f=l(p.Pb(),12),a=new V(f.g);a.a<a.c.c.length;)o=l(q(a),17),u=o.d.i,t!=u&&(u.p<0?r.Ec(o):u.p>0&&Dmt(e,u,r));t.p=0}function qyn(e){var t,r,o,a;for(t=Db(zn(new fu("Predicates."),"and"),40),r=!0,a=new LN(e);a.b<a.d.gc();)o=(cn(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),r||(t.a+=","),t.a+=""+o,r=!1;return(t.a+=")",t).a}function Lmt(e,t,r){var o,a,u;if(!(r<=t+2))for(a=(r-t)/2|0,o=0;o<a;++o)u=(at(t+o,e.c.length),l(e.c[t+o],12)),nu(e,t+o,(at(r-o-1,e.c.length),l(e.c[r-o-1],12))),at(r-o-1,e.c.length),e.c[r-o-1]=u}function Mmt(e,t){var r,o,a;if(t.c.length!=0){for(r=omt(e,t),a=!1;!r;)IF(e,t,!0),a=!0,r=omt(e,t);a&&IF(e,t,!1),o=PK(t),e.b&&e.b.Fg(o),e.a=Jpt(e,(at(0,t.c.length),l(t.c[0],19))),Mmt(e,o)}}function rJ(e,t){var r,o,a;if(o=kt(e.Ah(),t),r=t-e.gi(),r<0)if(o)if(o.pk())a=e.Fh(o),a>=0?e.hi(a):fme(e,o);else throw Y(new jt(O1+o.ve()+iI));else throw Y(new jt(QTt+t+eAt));else Ju(e,r,o)}function Qbe(e){var t,r;if(r=null,t=!1,se(e,213)&&(t=!0,r=l(e,213).a),t||se(e,266)&&(t=!0,r=""+l(e,266).a),t||se(e,482)&&(t=!0,r=""+l(e,482).a),!t)throw Y(new fq(vEe));return r}function eme(e,t,r){var o,a,u,f,p,m;for(m=za(e.e.Ah(),t),o=0,p=e.i,a=l(e.g,123),f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())){if(r==o)return f;++o,p=f+1}if(r==o)return p;throw Y(new Ia(aI+r+cm+o))}function Vyn(e,t){var r,o,a,u;if(e.f.c.length==0)return null;for(u=new wS,o=new V(e.f);o.a<o.c.c.length;)r=l(q(o),70),a=r.o,u.b=b.Math.max(u.b,a.a),u.a+=a.b;return u.a+=(e.f.c.length-1)*t,u}function Wyn(e){var t,r,o,a;for(o=e.a.d.j,a=e.a.d.j,r=new V(e.i.d);r.a<r.c.c.length;)t=l(q(r),70),Te(t,(Ue(),o2),null);o==(He(),Vt)||a==Vt?ig(e,dn,(Xl(),Gy),null):ig(e,Vt,(Xl(),Gy),null)}function tme(e){var t,r,o,a;for(e.e=0,a=An(e.f,0);a.b!=a.d.c;)o=l(Sn(a),9),o.p>=e.d.b.c.length&&(t=new ra(e.d),t.p=o.p-1,Fe(e.d.b,t),r=new ra(e.d),r.p=o.p,Fe(e.d.b,r)),Oi(o,l(ze(e.d.b,o.p),26))}function Kyn(e){var t,r,o,a;for(r=new Ar,wo(r,e.o),o=new L9;r.b!=0;)t=l(r.b==0?null:(cn(r.b!=0),Vu(r,r.a.a)),504),a=REt(e,t,!0),a&&Fe(o.a,t);for(;o.a.c.length!=0;)t=l(Jge(o),504),REt(e,t,!1)}function Ze(e){var t;this.c=new Ar,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(t=l(md(uf),10),new Hu(t,l(Gl(t,t.length),10),0)),this.g=e.f}function _1(){_1=K,Hke=new gS(qC,0),xi=new gS("BOOLEAN",1),vo=new gS("INT",2),HT=new gS("STRING",3),Qi=new gS("DOUBLE",4),$r=new gS("ENUM",5),UT=new gS("ENUMSET",6),lf=new gS("OBJECT",7)}function yC(e,t){var r,o,a,u,f;o=b.Math.min(e.c,t.c),u=b.Math.min(e.d,t.d),a=b.Math.max(e.c+e.b,t.c+t.b),f=b.Math.max(e.d+e.a,t.d+t.a),a<o&&(r=o,o=a,a=r),f<u&&(r=u,u=f,f=r),Tot(e,o,u,a-o,f-u)}function Pmt(e,t){var r,o;if(e.f){for(;t.Ob();)if(r=l(t.Pb(),76),o=r.Jk(),se(o,104)&&l(o,20).Bb&Ws&&(!e.e||o.nk()!=Ak||o.Jj()!=0)&&r.kd()!=null)return t.Ub(),!0;return!1}else return t.Ob()}function jmt(e,t){var r,o;if(e.f){for(;t.Sb();)if(r=l(t.Ub(),76),o=r.Jk(),se(o,104)&&l(o,20).Bb&Ws&&(!e.e||o.nk()!=Ak||o.Jj()!=0)&&r.kd()!=null)return t.Pb(),!0;return!1}else return t.Sb()}function mc(){mc=K,G3e=Z(X(Je,1),Pe,2,6,[LEe,WD,n$,m_t,r$,AQ,G7]),z3e=Z(X(Je,1),Pe,2,6,[LEe,"empty",WD,VD,"elementOnly"]),q3e=Z(X(Je,1),Pe,2,6,[LEe,"preserve","replace",kd]),ao=new Dot}function nme(e,t,r){var o,a,u;if(t!=r){o=t;do mr(e,o.c),a=o.e,a&&(u=o.d,Vw(e,u.b,u.d),mr(e,a.n),o=ji(a));while(a);o=r;do Di(e,o.c),a=o.e,a&&(u=o.d,iit(e,u.b,u.d),Di(e,a.n),o=ji(a));while(a)}}function iJ(e,t,r,o){var a,u,f,p,m;if(o.f.c+o.i.c==0)for(f=e.a[e.c],p=0,m=f.length;p<m;++p)u=f[p],Jn(o,u,new Rht(e,u,r));return a=l(Ss(ns(o.f,t)),674),a.b=0,a.c=a.f,a.c==0||ZKe(l(ze(a.a,a.b),296)),a}function Fmt(e){var t;this.j=new je,this.f=new pi,this.b=(t=l(md(Oo),10),new Hu(t,l(Gl(t,t.length),10),0)),this.d=we(Rn,Qn,30,(He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])).length,15,1),this.g=e}function eT(){eT=K,Kx=new n3("MEDIAN_LAYER",0),xI=new n3("TAIL_LAYER",1),Wx=new n3("HEAD_LAYER",2),qy=new n3("SPACE_EFFICIENT_LAYER",3),JE=new n3("WIDEST_LAYER",4),YE=new n3("CENTER_LAYER",5)}function rme(e,t,r){var o,a,u;if(!e.b[t.g]){for(e.b[t.g]=!0,o=r,!o&&(o=new i6),Gn(o.b,t),u=e.a[t.g].Jc();u.Ob();)a=l(u.Pb(),65),a.b!=t&&rme(e,a.b,o),a.c!=t&&rme(e,a.c,o),Gn(o.a,a);return o}return null}function Yyn(e){switch(e.g){case 0:case 1:case 2:return He(),Vt;case 3:case 4:case 5:return He(),dn;case 6:case 7:case 8:return He(),Wt;case 9:case 10:case 11:return He(),Qt;default:return He(),Is}}function Jyn(e,t){var r;return e.c.length==0?!1:(r=Hgt((at(0,e.c.length),l(e.c[0],17)).c.i),gu(),r==(vy(),c2)||r==a2?!0:hE(Oa(new vt(null,new St(e,16)),new BUe),new UJe(t)))}function oJ(e,t){if(se(t,209))return vtn(e,l(t,19));if(se(t,196))return Etn(e,l(t,127));if(se(t,446))return ytn(e,l(t,171));throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t])))))}function $mt(e,t,r){var o,a;if(this.f=e,o=l(Ut(e.b,t),263),a=o?o.a:0,Spe(r,a),r>=(a/2|0))for(this.e=o?o.c:null,this.d=a;r++<a;)oft(this);else for(this.c=o?o.b:null;r-- >0;)qpe(this);this.b=t,this.a=null}function Xyn(e,t){var r,o;t.a?TSn(e,t):(r=l(Aq(e.b,t.b),60),r&&r==e.a[t.b.f]&&r.a&&r.a!=t.b.a&&r.c.Ec(t.b),o=l(Tq(e.b,t.b),60),o&&e.a[o.f]==t.b&&o.a&&o.a!=t.b.a&&t.b.c.Ec(o),wV(e.b,t.b))}function Bmt(e,t){var r,o;if(r=l(Ko(e.b,t),129),l(l(yr(e.r,t),24),85).dc()){r.n.b=0,r.n.c=0;return}r.n.b=e.C.b,r.n.c=e.C.c,e.A.Gc((su(),xm))&&wyt(e,t),o=Obn(e,t),bJ(e,t)==(EE(),W1)&&(o+=2*e.w),r.a.a=o}function Umt(e,t){var r,o;if(r=l(Ko(e.b,t),129),l(l(yr(e.r,t),24),85).dc()){r.n.d=0,r.n.a=0;return}r.n.d=e.C.d,r.n.a=e.C.a,e.A.Gc((su(),xm))&&yyt(e,t),o=Rbn(e,t),bJ(e,t)==(EE(),W1)&&(o+=2*e.w),r.a.b=o}function Zyn(e,t){var r,o,a,u;for(u=new je,o=new V(t);o.a<o.c.c.length;)r=l(q(o),68),Fe(u,new Ile(r,!0)),Fe(u,new Ile(r,!1));a=new Vat(e),a.a.a.$b(),lut(u,e.b,new Ls(Z(X(_xt,1),It,690,0,[a])))}function Qyn(e,t){var r,o,a;t.Tg("End label pre-processing",1),r=ce(le(F(e,(Ue(),s2)))),o=ce(le(F(e,nv))),a=tE(l(F(e,xu),87)),ei(bs(new vt(null,new St(e.b,16)),new m7e),new aot(r,o,a)),t.Ug()}function ime(e,t){var r,o,a;if(!e.d[t.p]){for(e.d[t.p]=!0,e.a[t.p]=!0,o=new Ft(Gt(Or(t).a.Jc(),new D));an(o);)r=l(en(o),17),!fo(r)&&(a=r.d.i,e.a[a.p]?Fe(e.b,r):ime(e,a));e.a[t.p]=!1}}function tT(e,t,r){var o;switch(o=0,l(F(t,(Ue(),Cs)),166).g){case 2:o=2*-r+e.a,++e.a;break;case 1:o=-r;break;case 3:o=r;break;case 4:o=2*r+e.b,++e.b}return br(t,(Ie(),Cr))&&(o+=l(F(t,Cr),15).a),o}function Hmt(e,t,r){var o,a,u;for(r.yc(t,e),Fe(e.n,t),u=e.p.yg(t),t.j==e.p.zg()?Ngt(e.e,u):Ngt(e.j,u),EP(e),a=hh(Wu(Z(X(nl,1),It,22,0,[new DA(t),new tS(t)])));an(a);)o=l(en(a),12),r._b(o)||Hmt(e,o,r)}function evn(e,t,r){var o,a,u;for(r.Tg("Processor set neighbors",1),e.a=t.b.b==0?1:t.b.b,a=null,o=An(t.b,0);!a&&o.b!=o.d.c;)u=l(Sn(o),41),Ye(Ke(F(u,(Nr(),G1))))&&(a=u);a&&Zwt(e,new Qh(a),r),r.Ug()}function ome(e){var t,r,o;return r=l(ve(e,(_n(),Am)),24),r.Gc((su(),gv))?(o=l(ve(e,q1),24),t=new To(l(ve(e,m2),8)),o.Gc((Uc(),Tk))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new ro}function sme(e){var t,r,o;if(!e.b){for(o=new pqe,r=new ES(LC(e));r.e!=r.i.gc();)t=l(SY(r),20),t.Bb&Ws&&Tn(o,t);gy(o),e.b=new eE((l(ie(Ne((c1(),Bt).o),8),20),o.i),o.g),Pc(e).b&=-9}return e.b}function Ty(e){var t,r,o;for(r=e.length,o=0;o<r&&(Jt(o,e.length),e.charCodeAt(o)<=32);)++o;for(t=r;t>o&&(Jt(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return o>0||t<r?(io(o,t,e.length),e.substr(o,t-o)):e}function tvn(e,t){var r,o,a,u,f,p,m,y;m=l(pC(kS(t.k),we(Oo,ea,64,2,0,1)),128),y=t.g,r=Dut(t,m[0]),a=Out(t,m[1]),o=jY(e,y,r,a),u=Dut(t,m[1]),p=Out(t,m[0]),f=jY(e,y,u,p),o<=f?(t.a=r,t.c=a):(t.a=u,t.c=p)}function zmt(e,t,r,o,a){var u,f,p,m,y;if(t)for(p=t.Jc();p.Ob();)for(f=l(p.Pb(),9),y=o0e(f,(Fo(),Ba),r).Jc();y.Ob();)m=l(y.Pb(),12),u=l(Ss(ns(a.f,m)),117),u||(u=new _6(e.d),Rt(o.c,u),Hmt(u,m,a))}function vC(e){var t;At();var r,o,a,u,f,p;if(se(e,59))for(u=0,a=e.gc()-1;u<a;++u,--a)t=e.Xb(u),e.fd(u,e.Xb(a)),e.fd(a,t);else for(r=e.cd(),f=e.dd(e.gc());r.Tb()<f.Vb();)o=r.Pb(),p=f.Ub(),r.Wb(p),f.Wb(o)}function kF(e,t){var r,o,a,u,f,p;for(p=0,u=new oE,d1(u,t);u.b!=u.c;)for(f=l(CS(u),221),p+=rbt(f.d,f.e),a=new V(f.b);a.a<a.c.c.length;)o=l(q(a),37),r=l(ze(e.b,o.p),221),r.s||(p+=kF(e,r));return p}function Gmt(e,t,r){var o,a;Wht(this),t==(g0(),z1)?gi(this.r,e.c):gi(this.w,e.c),r==z1?gi(this.r,e.d):gi(this.w,e.d),Nmt(this,e),o=ZK(e.c),a=ZK(e.d),fmt(this,o,a,a),this.o=(NC(),b.Math.abs(o-a)<.2)}function qmt(e,t,r){var o,a,u,f,p,m;if(p=l(qt(e.a,8),2014),p!=null)for(a=p,u=0,f=a.length;u<f;++u)null.Sm();o=r,e.a.Db&1||(m=new Yst(e,r,t),o.bj(m)),se(o,683)?l(o,683).dj(e.a):o.aj()==e.a&&o.cj(null)}function nvn(){var e;return HLt?l(Y_((r1(),Ll),lm),2023):(xNn(),e=l(se(wa((r1(),Ll),lm),589)?wa(Ll,lm):new dat,589),HLt=!0,d3n(e),q3n(e),Jn((vle(),I3e),e,new vVe),$Y(e),rs(Ll,lm,e),e)}function rvn(e,t,r,o){var a;return a=xE(e,r,Z(X(Je,1),Pe,2,6,[gX,bX,mX,wX,yX,vX,EX]),t),a<0&&(a=xE(e,r,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),a<0?!1:(o.d=a,!0)}function ivn(e,t,r,o){var a;return a=xE(e,r,Z(X(Je,1),Pe,2,6,[gX,bX,mX,wX,yX,vX,EX]),t),a<0&&(a=xE(e,r,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),a<0?!1:(o.d=a,!0)}function ec(e,t,r){var o,a,u,f;if(f=e.b.Ae(t),a=(o=e.a.get(f),o??we(Ri,It,1,0,5,1)),a.length==0)e.a.set(f,a);else if(u=Wpt(e,t,a),u)return u.ld(r);return ii(a,a.length,new n8(t,r)),++e.c,++e.b.g,null}function ovn(e){var t,r,o;for(i2n(e),o=new je,r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),Fe(o,new Rle(t,!0)),Fe(o,new Rle(t,!1));Xbn(e.c),e6(o,e.b,new Ls(Z(X(nL,1),It,378,0,[e.c]))),yEn(e)}function X6(e,t){var r,o,a;for(a=new je,o=new V(e.c.a.b);o.a<o.c.c.length;)r=l(q(o),60),t.Lb(r)&&(Fe(a,new Cle(r,!0)),Fe(a,new Cle(r,!1)));Jbn(e.e),lut(a,e.d,new Ls(Z(X(_xt,1),It,690,0,[e.e])))}function svn(e){var t,r,o,a;for(r=new hn,a=new V(e.d);a.a<a.c.c.length;)o=l(q(a),190),t=l(o.mf((Ie(),IT)),17),ns(r.f,t)||Jn(r,t,new Pat(t)),Fe(l(Ss(ns(r.f,t)),458).b,o);return new Tc(new Zh(r))}function avn(e,t){var r,o,a,u,f;for(o=new Eut(e.j.c.length),r=null,u=new V(e.j);u.a<u.c.c.length;)a=l(q(u),12),a.j!=r&&(o.b==o.c||hwt(o,r,t),cpe(o),r=a.j),f=V0t(a),f&&npe(o,f);o.b==o.c||hwt(o,r,t)}function cvn(e,t){var r,o,a;for(o=new Ji(e.b,0);o.b<o.d.gc();)r=(cn(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),70)),a=l(F(r,(Ue(),Yf)),281),a==(Kd(),pv)&&(Mc(o),Fe(t.b,r),br(r,(Ie(),IT))||Te(r,IT,e))}function uvn(e){var t,r,o,a,u;for(t=yd(new Ft(Gt(Or(e).a.Jc(),new D))),a=new Ft(Gt(si(e).a.Jc(),new D));an(a);)o=l(en(a),17),r=o.c.i,u=yd(new Ft(Gt(Or(r).a.Jc(),new D))),t=b.Math.max(t,u);return Oe(t)}function ame(e,t,r){var o,a,u;o=l(ve(e,(_n(),$L)),24),a=0,u=0,t.a>r.a&&(o.Gc((Zb(),g4))?a=(t.a-r.a)/2:o.Gc(b4)&&(a=t.a-r.a)),t.b>r.b&&(o.Gc((Zb(),w4))?u=(t.b-r.b)/2:o.Gc(m4)&&(u=t.b-r.b)),Hbe(e,a,u)}function Vmt(e,t,r,o,a,u,f,p,m,y,v,T,N){se(e.Cb,89)&&Ay(Pc(l(e.Cb,89)),4),Ma(e,r),e.f=f,M_(e,p),j_(e,m),L_(e,y),P_(e,v),pg(e,T),F_(e,N),hg(e,!0),ug(e,a),e.Xk(u),Yb(e,t),o!=null&&(e.i=null,Aj(e,o))}function cme(e,t,r){if(e<0)return CC(r2t,Z(X(Ri,1),It,1,5,[r,Oe(e)]));if(t<0)throw Y(new jt(i2t+t));return CC("%s (%s) must not be greater than size (%s)",Z(X(Ri,1),It,1,5,[r,Oe(e),Oe(t)]))}function ume(e,t,r,o,a,u){var f,p,m,y;if(f=o-r,f<7){t1n(t,r,o,u);return}if(m=r+a,p=o+a,y=m+(p-m>>1),ume(t,e,m,y,-a,u),ume(t,e,y,p,-a,u),u.Le(e[y-1],e[y])<=0){for(;r<o;)ii(t,r++,e[m++]);return}hgn(e,m,y,p,t,r,o,u)}function lvn(e,t){var r,o,a,u,f,p,m;for(m=t.d,a=t.b.j,p=new V(m);p.a<p.c.c.length;)for(f=l(q(p),108),u=we(cc,Ad,30,a.c.length,16,1),Jn(e.b,f,u),r=f.a.d.p-1,o=f.c.d.p;r!=o;)r=(r+1)%a.c.length,u[r]=!0}function dvn(e,t){if(oge(),br(e,(Ie(),Cr))&&br(t,Cr))return na(l(F(e,Cr),15).a,l(F(t,Cr),15).a);throw Y(new uS("The BF model order layer assigner requires all real nodes to have a model order."))}function fvn(e,t){if(sge(),br(e,(Ie(),Cr))&&br(t,Cr))return na(l(F(e,Cr),15).a,l(F(t,Cr),15).a);throw Y(new uS("The DF model order layer assigner requires all real nodes to have a model order."))}function hvn(e,t){for(e.r=new _6(e.p),MZt(e.r,e),wo(e.r.j,e.j),tu(e.j),Gn(e.j,t),Gn(e.r.e,t),EP(e),EP(e.r);e.f.c.length!=0;)brt(l(ze(e.f,0),135));for(;e.k.c.length!=0;)brt(l(ze(e.k,0),135));return e.r}function sJ(e,t,r){var o,a,u;if(a=kt(e.Ah(),t),o=t-e.gi(),o<0)if(a)if(a.pk())u=e.Fh(a),u>=0?e.$h(u,r):Ume(e,a,r);else throw Y(new jt(O1+a.ve()+iI));else throw Y(new jt(QTt+t+eAt));else Xu(e,o,a,r)}function Wmt(e){var t,r;if(e.f){for(;e.n>0;){if(t=l(e.k.Xb(e.n-1),76),r=t.Jk(),se(r,104)&&l(r,20).Bb&Ws&&(!e.e||r.nk()!=Ak||r.Jj()!=0)&&t.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function Kmt(e){var t,r,o,a;if(r=l(e,52).Yh(),r)try{if(o=null,t=Y_((r1(),Ll),Hyt(o1n(r))),t&&(a=t.Zh(),a&&(o=a.Dl(FQt(r.e)))),o&&o!=e)return Kmt(o)}catch(u){if(u=ui(u),!se(u,63))throw Y(u)}return e}function pvn(e,t,r){var o,a,u;r.Tg("Remove overlaps",1),r.bh(t,mve),o=l(ve(t,(cE(),d2)),19),e.f=o,e.a=AY(l(ve(t,(A1(),RL)),304)),a=le(ve(t,(_n(),Od))),sue(e,(Mt(a),a)),u=xy(o),hEt(e,t,u,r),r.bh(t,P7)}function gvn(e){var t,r,o;if(Ye(Ke(ve(e,(_n(),UL))))){for(o=new je,r=new Ft(Gt(mp(e).a.Jc(),new D));an(r);)t=l(en(r),74),R0(t)&&Ye(Ke(ve(t,gre)))&&Rt(o.c,t);return o}else return At(),At(),Ro}function Ymt(e){if(!e)return TQe(),txt;var t=e.valueOf?e.valueOf():e;if(t!==e){var r=qQ[typeof t];return r?r(t):i1e(typeof t)}else return e instanceof Array||e instanceof b.Array?new Qce(e):new JR(e)}function Jmt(e,t,r){var o,a,u;switch(u=e.o,o=l(Ko(e.p,r),256),a=o.i,a.b=SC(o),a.a=EC(o),a.b=b.Math.max(a.b,u.a),a.b>u.a&&!t&&(a.b=u.a),a.c=-(a.b-u.a)/2,r.g){case 1:a.d=-a.a;break;case 3:a.d=u.b}CJ(o),IJ(o)}function Xmt(e,t,r){var o,a,u;switch(u=e.o,o=l(Ko(e.p,r),256),a=o.i,a.b=SC(o),a.a=EC(o),a.a=b.Math.max(a.a,u.b),a.a>u.b&&!t&&(a.a=u.b),a.d=-(a.a-u.b)/2,r.g){case 4:a.c=-a.b;break;case 2:a.c=u.a}CJ(o),IJ(o)}function bvn(e,t){var r,o,a;return se(t.g,9)&&l(t.g,9).k==(Ht(),yi)?Kr:(a=PS(t),a?b.Math.max(0,e.b/2-.5):(r=dE(t),r?(o=ce(le(wy(r,(Ue(),vm)))),b.Math.max(0,o/2-.5)):Kr))}function mvn(e,t){var r,o,a;return se(t.g,9)&&l(t.g,9).k==(Ht(),yi)?Kr:(a=PS(t),a?b.Math.max(0,e.b/2-.5):(r=dE(t),r?(o=ce(le(wy(r,(Ue(),vm)))),b.Math.max(0,o/2-.5)):Kr))}function wvn(e,t){var r,o,a,u,f;if(!t.dc()){if(a=l(t.Xb(0),134),t.gc()==1){jwt(e,a,a,1,0,t);return}for(r=1;r<t.gc();)(a.j||!a.o)&&(u=xmn(t,r),u&&(o=l(u.a,15).a,f=l(u.b,134),jwt(e,a,f,r,o,t),r=o+1,a=f))}}function yvn(e){var t,r,o,a,u,f;for(f=new Tc(e.d),ki(f,new oUe),t=(UF(),Z(X(USe,1),Ce,277,0,[Nee,Ree,kee,Lee,Iee,Cee,Dee,Oee])),r=0,u=new V(f);u.a<u.c.c.length;)a=l(q(u),108),o=t[r%t.length],oEn(a,o),++r}function lme(e,t){var r,o,a,u,f,p,m,y,v,T;return v=null,T=e,f=fp(T,"x"),r=new $Xe(t),eft(r.a,f),p=fp(T,"y"),o=new BXe(t),tft(o.a,p),m=fp(T,uQ),a=new UXe(t),nft(a.a,m),y=fp(T,cQ),u=new HXe(t),v=(rft(u.a,y),y),v}function Ay(e,t){gyt(e,t),e.b&1&&(e.a.a=null),e.b&2&&(e.a.f=null),e.b&4&&(e.a.g=null,e.a.i=null),e.b&16&&(e.a.d=null,e.a.e=null),e.b&8&&(e.a.b=null),e.b&32&&(e.a.j=null,e.a.c=null)}function vvn(e,t){var r,o,a;if(a=0,t.length>0)try{a=Eu(t,Zi,ar)}catch(u){throw u=ui(u),se(u,133)?(o=u,Y(new sj(o))):Y(u)}return r=(!e.a&&(e.a=new XG(e)),e.a),a<r.i&&a>=0?l(ie(r,a),57):null}function Evn(e,t){if(e<0)return CC(r2t,Z(X(Ri,1),It,1,5,["index",Oe(e)]));if(t<0)throw Y(new jt(i2t+t));return CC("%s (%s) must be less than size (%s)",Z(X(Ri,1),It,1,5,["index",Oe(e),Oe(t)]))}function Svn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fu(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Tvn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fu(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Avn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fu(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function _vn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fu(u.d),p3(u.a,""+t);return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function Zmt(e,t){var r,o,a,u,f,p;for(r=e.b.c.length,a=ze(e.b,t);t*2+1<r&&(o=(u=2*t+1,f=u+1,p=u,f<r&&e.a.Le(ze(e.b,f),ze(e.b,u))<0&&(p=f),p),!(e.a.Le(a,ze(e.b,o))<0));)nu(e.b,t,ze(e.b,o)),t=o;nu(e.b,t,a)}function aJ(e,t,r){var o,a;return o=r.d,a=r.e,e.g[o.d]<=e.i[t.d]&&e.i[t.d]<=e.i[o.d]&&e.g[a.d]<=e.i[t.d]&&e.i[t.d]<=e.i[a.d]?!(e.i[o.d]<e.i[a.d]):e.i[o.d]<e.i[a.d]}function xvn(e,t){var r;if(r=l(F(t,(Ue(),BI)),302),r!=e)throw Y(new uS("The hierarchy aware processor "+r+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function kvn(e,t){var r,o,a,u,f;for(o=(!t.s&&(t.s=new ke(ac,t,21,17)),t.s),u=null,a=0,f=o.i;a<f;++a)switch(r=l(ie(o,a),182),f0(is(e,r))){case 2:case 3:!u&&(u=new je),Rt(u.c,r)}return u||(At(),At(),Ro)}function Qmt(e,t,r){var o,a,u,f,p,m;for(m=Kr,u=new V(_wt(e.b));u.a<u.c.c.length;)for(a=l(q(u),180),p=new V(_wt(t.b));p.a<p.c.c.length;)f=l(q(p),180),o=ppn(a.a,a.b,f.a,f.b,r),m=b.Math.min(m,o);return m}function Ii(e,t){if(!t)throw Y(new rS);if(e.j=t,!e.d)switch(e.j.g){case 1:e.a.a=e.o.a/2,e.a.b=0;break;case 2:e.a.a=e.o.a,e.a.b=e.o.b/2;break;case 3:e.a.a=e.o.a/2,e.a.b=e.o.b;break;case 4:e.a.a=0,e.a.b=e.o.b/2}}function Nvn(e){var t,r,o,a,u,f,p;for(o=0,r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),a.p=o++,p=new V(a.j);p.a<p.c.c.length;)f=l(q(p),12),f.p=o++}function Cvn(e,t){hu();var r,o,a,u,f,p;for(r=null,f=t.Jc();f.Ob();)u=l(f.Pb(),134),!u.o&&(o=Ltn(u.a),a=Von(u.a),p=new DC(o,a,null,l(u.d.a.ec().Jc().Pb(),17)),Fe(p.c,u.a),Rt(e.c,p),r&&Fe(r.d,p),r=p)}function Ivn(e){var t,r,o,a,u,f;for(f=oC(e.d,e.e),u=f.Jc();u.Ob();)for(a=l(u.Pb(),12),o=e.e==(He(),Wt)?a.e:a.g,r=new V(o);r.a<r.c.c.length;)t=l(q(r),17),!fo(t)&&t.c.i.c!=t.d.i.c&&(Cyn(e,t),++e.f,++e.c)}function e0t(e,t){var r,o;if(t.dc())return At(),At(),Ro;for(o=new je,Fe(o,Oe(Zi)),r=1;r<e.f;++r)e.a==null&&pyt(e),e.a[r]&&Fe(o,Oe(r));return o.c.length==1?(At(),At(),Ro):(Fe(o,Oe(ar)),I_n(t,o))}function Rvn(e,t){var r,o,a,u,f,p,m;f=t.c.i.k!=(Ht(),Xr),m=f?t.d:t.c,r=Hmn(t,m).i,a=l(Ut(e.k,m),126),o=e.i[r.p].a,Qit(m.i)<(r.c?_s(r.c.a,r,0):-1)?(u=a,p=o):(u=o,p=a),Ql($l(Ul(Hl(Bl(new gl,0),4),u),p))}function t0t(e,t,r){var o,a,u,f,p,m;if(r)for(a=r.a.length,o=new Ib(a),p=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);p.Ob();)f=l(p.Pb(),15),m=LY(e,nT(uy(r,f.a))),m&&(u=(!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),Tn(u,m))}function n0t(e,t,r){var o,a,u,f,p,m;if(r)for(a=r.a.length,o=new Ib(a),p=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);p.Ob();)f=l(p.Pb(),15),m=LY(e,nT(uy(r,f.a))),m&&(u=(!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),Tn(u,m))}function Z6(e,t,r){var o,a;o=t.a&e.f,t.b=e.b[o],e.b[o]=t,a=t.f&e.f,t.d=e.c[a],e.c[a]=t,r?(t.e=r.e,t.e?t.e.c=t:e.a=t,t.c=r.c,t.c?t.c.e=t:e.e=t):(t.e=e.e,t.c=null,e.e?e.e.c=t:e.a=t,e.e=t),++e.i,++e.g}function r0t(e){var t,r,o;if(t=e.Pb(),!e.Ob())return t;for(o=ba(zn(new Qg,"expected one element but was: <"),t),r=0;r<4&&e.Ob();r++)ba((o.a+=ja,o),e.Pb());throw e.Ob()&&(o.a+=", ..."),o.a+=">",Y(new jt(o.a))}function Ovn(e){var t,r;return r=-e.a,t=Z(X(al,1),Bf,30,15,[43,48,48,48,48]),r<0&&(t[0]=45,r=-r),t[1]=t[1]+((r/60|0)/10|0)&Ti,t[2]=t[2]+(r/60|0)%10&Ti,t[3]=t[3]+(r%60/10|0)&Ti,t[4]=t[4]+r%10&Ti,Mf(t,0,t.length)}function dme(e){var t,r,o,a;for(e.g=new uC(l(kn(Oo),299)),o=0,r=(He(),Vt),t=0;t<e.j.c.length;t++)a=l(ze(e.j,t),12),a.j!=r&&(o!=t&&IS(e.g,r,new Co(Oe(o),Oe(t))),r=a.j,o=t);IS(e.g,r,new Co(Oe(o),Oe(t)))}function fme(e,t){var r,o,a;if(a=RE((mc(),ao),e.Ah(),t),a)Mo(),l(a,69).vk()||(a=MS(is(ao,a))),o=(r=e.Fh(a),l(r>=0?e.Ih(r,!0,!0):O0(e,a,!0),164)),l(o,222).Xl(t);else throw Y(new jt(O1+t.ve()+iI))}function hme(e){var t,r;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),r=bo(b.Math.floor(b.Math.log(e)/.6931471805599453)),(!t||e!=b.Math.pow(2,r))&&++r,r):dgt(Gs(e))}function Dvn(e){var t,r,o,a,u,f,p;for(u=new ch,r=new V(e);r.a<r.c.c.length;)t=l(q(r),135),f=t.a,p=t.b,!(u.a._b(f)||u.a._b(p))&&(a=f,o=p,f.e.b+f.j.b>2&&p.e.b+p.j.b<=2&&(a=p,o=f),u.a.yc(a,u),a.q=o);return u}function Lvn(e,t,r){r.Tg("Eades radial",1),r.bh(t,P7),e.d=l(ve(t,(cE(),d2)),19),e.c=ce(le(ve(t,(A1(),GB)))),e.e=AY(l(ve(t,RL),304)),e.a=S1n(l(ve(t,Nxe),431)),e.b=P0n(l(ve(t,Axe),355)),v0n(e),r.bh(t,P7)}function Mvn(e,t){if(t.Tg("Target Width Setter",1),Gu(e,(ef(),Mne)))Vn(e,(yh(),sv),le(ve(e,Mne)));else throw Y(new _f("A target width has to be set if the TargetWidthWidthApproximator should be used."));t.Ug()}function i0t(e,t){var r,o,a;return o=new Xd(e),qs(o,t),Te(o,(Ie(),oB),t),Te(o,(Ue(),Zr),(qi(),fa)),Te(o,Kf,(mh(),nU)),Jh(o,(Ht(),yi)),r=new aa,As(r,o),Ii(r,(He(),Wt)),a=new aa,As(a,o),Ii(a,Qt),o}function o0t(e,t){var r,o,a,u,f;for(e.c[t.p]=!0,Fe(e.a,t),f=new V(t.j);f.a<f.c.c.length;)for(u=l(q(f),12),o=new Vd(u.b);Ts(o.a)||Ts(o.b);)r=l(Ts(o.a)?q(o.a):q(o.b),17),a=U1n(u,r).i,e.c[a.p]||o0t(e,a)}function s0t(e){var t,r,o,a,u,f,p;for(f=0,r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)t=l(rn(r),19),p=t.g,a=t.f,o=b.Math.sqrt(p*p+a*a),f=b.Math.max(o,f),u=s0t(t),f=b.Math.max(u,f);return f}function xc(){xc=K,Y1=new l3("OUTSIDE",0),Rp=new l3("INSIDE",1),KL=new l3("NEXT_TO_PORT_IF_POSSIBLE",2),k4=new l3("ALWAYS_SAME_SIDE",3),x4=new l3("ALWAYS_OTHER_SAME_SIDE",4),KT=new l3("SPACE_EFFICIENT",5)}function a0t(e,t,r){var o,a,u,f,p,m;return o=aln(e,(a=(t1(),u=new $N,u),r&&PF(a,r),a),t),v_(o,sp(t,qf)),SF(t,o),UEn(t,o),lme(t,o),f=t,p=m0(f,"ports"),m=new hnt(e,o),vwt(m.a,m.b,p),BK(e,t,o),spn(e,t,o),o}function Pvn(e){var t,r;return r=-e.a,t=Z(X(al,1),Bf,30,15,[43,48,48,58,48,48]),r<0&&(t[0]=45,r=-r),t[1]=t[1]+((r/60|0)/10|0)&Ti,t[2]=t[2]+(r/60|0)%10&Ti,t[4]=t[4]+(r%60/10|0)&Ti,t[5]=t[5]+r%10&Ti,Mf(t,0,t.length)}function jvn(e){var t,r,o,a,u;if(e==null)return tc;for(u=new qb(ja,"[","]"),r=e,o=0,a=r.length;o<a;++o)t=r[o],u.a?zn(u.a,u.b):u.a=new fu(u.d),p3(u.a,""+x3(t));return u.a?u.e.length==0?u.a.a:u.a.a+(""+u.e):u.c}function pme(e,t){var r,o,a;for(a=ar,o=new V(yE(t));o.a<o.c.c.length;)r=l(q(o),220),r.f&&!e.c[r.c]&&(e.c[r.c]=!0,a=b.Math.min(a,pme(e,Wj(r,t))));return e.i[t.d]=e.j,e.g[t.d]=b.Math.min(a,e.j++),e.g[t.d]}function c0t(e,t){var r,o,a;for(a=l(l(yr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),o.e.b=(r=o.b,r.nf((_n(),zc))?r.$f()==(He(),Vt)?-r.Kf().b-ce(le(r.mf(zc))):ce(le(r.mf(zc))):r.$f()==(He(),Vt)?-r.Kf().b:0)}function gme(e){var t,r,o,a,u;t=e.a,r=e.b,a=e.c,o=new Me(r.e.a+r.f.a/2,r.e.b+r.f.b/2),u=new Me(a.e.a+a.f.a/2,a.e.b+a.f.b/2),Wr(t,o,t.a,t.a.a),Wr(t,u,t.c.b,t.c),hmt(o,l(sa(t,1),8),e.b.f),hmt(u,l(sa(t,t.b-2),8),e.c.f)}function u0t(e,t){var r,o,a,u;if(a=(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i,a==0)return t.i;for(o=0,u=0,r=0;r<a;r++)u=u0t(e,l(ie(a_(l(ie((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),r),74)),0),19)),o=u<o?u:o;return o+t.i}function nT(e){var t,r;if(r=!1,se(e,213))return r=!0,l(e,213).a;if(!r&&se(e,266)&&(t=l(e,266).a%1==0,t))return r=!0,Oe(itn(l(e,266).a));throw Y(new xf("Id must be a string or an integer: '"+e+"'."))}function Fvn(e,t){var r,o,a,u,f,p;for(u=null,a=new Ast((!e.a&&(e.a=new XG(e)),e.a));vme(a);)if(r=l(RF(a),57),o=(f=r.Ah(),p=(IE(f),f.o),!p||!r.Uh(p)?null:lfe(DK(p),r.Jh(p))),o!=null&&wt(o,t)){u=r;break}return u}function l0t(e,t){var r;this.e=(kn(e),H1e(e)),this.c=(kn(t),H1e(t)),Tde(this.e.Pd().dc()==this.c.Pd().dc()),this.d=kgt(this.e),this.b=kgt(this.c),r=Xw(Ri,[Pe,It],[5,1],5,[this.e.Pd().gc(),this.c.Pd().gc()],2),this.a=r,ohn(this)}function d0t(e,t,r){var o,a,u,f,p;if(wu(r,"occurrences"),r==0)return p=l(by(DS(e.a),t),18),p?p.gc():0;if(f=l(by(DS(e.a),t),18),!f)return 0;if(u=f.gc(),r>=u)f.$b();else for(a=f.Jc(),o=0;o<r;o++)a.Pb(),a.Qb();return u}function $vn(e,t,r){var o,a,u,f;return wu(r,"oldCount"),wu(0,"newCount"),o=l(by(DS(e.a),t),18),(o?o.gc():0)==r?(wu(0,"count"),a=(u=l(by(DS(e.a),t),18),u?u.gc():0),f=-a,f>0?Zue():f<0&&d0t(e,t,-f),!0):!1}function Bvn(e){var t;return t=Z(X(al,1),Bf,30,15,[71,77,84,45,48,48,58,48,48]),e<=0&&(t[3]=43,e=-e),t[4]=t[4]+((e/60|0)/10|0)&Ti,t[5]=t[5]+(e/60|0)%10&Ti,t[7]=t[7]+(e%60/10|0)&Ti,t[8]=t[8]+e%10&Ti,Mf(t,0,t.length)}function EC(e){var t,r,o,a,u,f,p;if(p=0,e.b==0){for(f=$1t(e,!0),t=0,o=f,a=0,u=o.length;a<u;++a)r=o[a],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}else p=IQe(NK(ny(dr(iW(e.a),new IN),new Kp)));return p>0?p+e.n.d+e.n.a:0}function SC(e){var t,r,o,a,u,f,p;if(p=0,e.b==0)p=IQe(NK(ny(dr(iW(e.a),new Zg),new CN)));else{for(f=B1t(e,!0),t=0,o=f,a=0,u=o.length;a<u;++a)r=o[a],r>0&&(p+=r,++t);t>1&&(p+=e.c*(t-1))}return p>0?p+e.n.b+e.n.c:0}function Uvn(e){var t,r;if(e.c.length!=2)throw Y(new ts("Order only allowed for two paths."));t=(at(0,e.c.length),l(e.c[0],17)),r=(at(1,e.c.length),l(e.c[1],17)),t.d.i!=r.c.i&&(e.c.length=0,Rt(e.c,r),Rt(e.c,t))}function f0t(e,t,r){var o;for(i0(r,t.g,t.f),Bu(r,t.i,t.j),o=0;o<(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i;o++)f0t(e,l(ie((!t.a&&(t.a=new ke(En,t,10,11)),t.a),o),19),l(ie((!r.a&&(r.a=new ke(En,r,10,11)),r.a),o),19))}function Hvn(e,t){var r,o,a,u;for(u=l(Ko(e.b,t),129),r=u.a,a=l(l(yr(e.r,t),24),85).Jc();a.Ob();)o=l(a.Pb(),116),o.c&&(r.a=b.Math.max(r.a,Ffe(o.c)));if(r.a>0)switch(t.g){case 2:u.n.c=e.s;break;case 4:u.n.b=e.s}}function zvn(e,t){var r,o,a;return r=l(F(t,(ed(),AT)),15).a-l(F(e,AT),15).a,r==0?(o=Di(Ao(l(F(e,(p1(),tL)),8)),l(F(e,SI),8)),a=Di(Ao(l(F(t,tL),8)),l(F(t,SI),8)),vr(o.a*o.b,a.a*a.b)):r}function Gvn(e,t){var r,o,a;return r=l(F(t,(js(),$B)),15).a-l(F(e,$B),15).a,r==0?(o=Di(Ao(l(F(e,(Nr(),NL)),8)),l(F(e,uk),8)),a=Di(Ao(l(F(t,NL),8)),l(F(t,uk),8)),vr(o.a*o.b,a.a*a.b)):r}function h0t(e){var t,r;return r=new Qg,r.a+="e_",t=epn(e),t!=null&&(r.a+=""+t),e.c&&e.d&&(zn((r.a+=" ",r),gF(e.c)),zn(ba((r.a+="[",r),e.c.i),"]"),zn((r.a+=$X,r),gF(e.d)),zn(ba((r.a+="[",r),e.d.i),"]")),r.a}function p0t(e){switch(e.g){case 0:return new YWe;case 1:return new JWe;case 2:return new aKe;case 3:return new cKe;default:throw Y(new jt("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function bme(e,t,r,o,a){var u;switch(u=0,a.g){case 1:u=b.Math.max(0,t.b+e.b-(r.b+o));break;case 3:u=b.Math.max(0,-e.b-o);break;case 2:u=b.Math.max(0,-e.a-o);break;case 4:u=b.Math.max(0,t.a+e.a-(r.a+o))}return u}function g0t(e,t,r){var o,a,u,f,p;if(r)for(a=r.a.length,o=new Ib(a),p=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);p.Ob();)f=l(p.Pb(),15),u=f_(r,f.a),gEe in u.a||hQ in u.a?XTn(e,u,t):E3n(e,u,t),rnn(l(Ut(e.c,B_(u)),74))}function mme(e){var t,r;switch(e.b){case-1:return!0;case 0:return r=e.t,r>1||r==-1?(e.b=-1,!0):(t=Sl(e),t&&(Mo(),t.jk()==n_t)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function wme(e,t){var r,o,a,u;if(fr(e),e.c!=0||e.a!=123)throw Y(new Dn(jn((Cn(),AAt))));if(u=t==112,o=e.d,r=KA(e.i,125,o),r<0)throw Y(new Dn(jn((Cn(),_At))));return a=yl(e.i,o,r),e.d=r+1,bdt(a,u,(e.e&512)==512)}function qvn(e){var t,r,o,a,u,f,p;for(p=uh(e.c.length),a=new V(e);a.a<a.c.c.length;){for(o=l(q(a),9),f=new pi,u=Or(o),r=new Ft(Gt(u.a.Jc(),new D));an(r);)t=l(en(r),17),t.c.i==t.d.i||gi(f,t.d.i);Rt(p.c,f)}return p}function Vvn(e,t){var r,o,a;if(!t)vK(e,null),y_(e,null);else if(t.i&4)for(o="[]",r=t.c;;r=r.c){if(!(r.i&4)){a=Xue((np(r),r.o+o)),vK(e,a),y_(e,a);break}o+="[]"}else a=Xue((np(t),t.o)),vK(e,a),y_(e,a);e.fl(t)}function TC(e,t,r,o,a){var u,f,p,m;return m=_V(e,l(a,57)),me(m)!==me(a)?(p=l(e.g[r],76),u=gh(t,m),w3(e,r,WY(e,r,u)),Jc(e.e)&&(f=l1(e,9,u.Jk(),a,m,o,!1),Cbe(f,new up(e.e,9,e.c,p,u,o,!1)),oK(f)),m):a}function b0t(e,t){var r,o,a;try{return a=Cun(e.a,t),a}catch(u){if(u=ui(u),se(u,33)){try{if(o=Eu(t,Zi,ar),r=md(e.a),o>=0&&o<r.length)return r[o]}catch(f){if(f=ui(f),!se(f,133))throw Y(f)}return null}else throw Y(u)}}function cJ(e,t){var r,o,a;if(a=RE((mc(),ao),e.Ah(),t),a)return Mo(),l(a,69).vk()||(a=MS(is(ao,a))),o=(r=e.Fh(a),l(r>=0?e.Ih(r,!0,!0):O0(e,a,!0),164)),l(o,222).Ul(t);throw Y(new jt(O1+t.ve()+iQ))}function Wvn(){Ele();var e;return vLt?l(Y_((r1(),Ll),_l),2017):(er(dm,new dVe),zkn(),e=l(se(wa((r1(),Ll),_l),552)?wa(Ll,_l):new sat,552),vLt=!0,H3n(e),K3n(e),Jn((vle(),I3e),e,new kqe),rs(Ll,_l,e),e)}function Kvn(e,t){var r,o,a,u;e.j=-1,Jc(e.e)?(r=e.i,u=e.i!=0,r6(e,t),o=new up(e.e,3,e.c,null,t,r,u),a=t.xl(e.e,e.c,null),a=Hbt(e,t,a),a?(a.lj(o),a.mj()):pr(e.e,o)):(r6(e,t),a=t.xl(e.e,e.c,null),a&&a.mj())}function NF(e,t){var r,o,a;if(a=0,o=t[0],o>=e.length)return-1;for(r=(Jt(o,e.length),e.charCodeAt(o));r>=48&&r<=57&&(a=a*10+(r-48),++o,!(o>=e.length));)r=(Jt(o,e.length),e.charCodeAt(o));return o>t[0]?t[0]=o:a=-1,a}function Yvn(e,t,r){var o,a,u,f,p;f=e.c,p=e.d,u=xs(Z(X($i,1),Pe,8,0,[f.i.n,f.n,f.a])).b,a=(u+xs(Z(X($i,1),Pe,8,0,[p.i.n,p.n,p.a])).b)/2,o=null,f.j==(He(),Qt)?o=new Me(t+f.i.c.c.a+r,a):o=new Me(t-r,a),WA(e.a,0,o)}function R0(e){var t,r,o,a;for(t=null,o=hh(Wu(Z(X(nl,1),It,22,0,[(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c)])));an(o);)if(r=l(en(o),83),a=Jo(r),!t)t=a;else if(t!=a)return!1;return!0}function uJ(e,t,r){var o;if(++e.j,t>=e.i)throw Y(new Ia(gQ+t+cm+e.i));if(r>=e.i)throw Y(new Ia(bQ+r+cm+e.i));return o=e.g[r],t!=r&&(t<r?ca(e.g,t,e.g,t+1,r-t):ca(e.g,r+1,e.g,r,t-r),ii(e.g,t,o),e.Ni(t,o,r),e.Li()),o}function yt(e,t,r){var o;if(o=l(e.c.xc(t),18),o)return o.Ec(r)?(++e.d,!0):!1;if(o=e.ic(t),o.Ec(r))return++e.d,e.c.yc(t,o),!0;throw Y(new fpe("New Collection violated the Collection spec"))}function Q6(e){var t,r,o;return e<0?0:e==0?32:(o=-(e>>16),t=o>>16&16,r=16-t,e=e>>t,o=e-256,t=o>>16&8,r+=t,e<<=t,o=e-Dy,t=o>>16&4,r+=t,e<<=t,o=e-$f,t=o>>16&2,r+=t,e<<=t,o=e>>14,t=o&~(o>>1),r+2-t)}function Jvn(e,t){var r,o,a;for(a=new je,o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.c.g==e.g&&me(F(r.b,(js(),Jf)))!==me(F(r.c,Jf))&&!hE(new vt(null,new St(a,16)),new QJe(r))&&Rt(a.c,r);return ki(a,new kHe),a}function m0t(e,t,r){var o,a,u,f;return se(t,156)&&se(r,156)?(u=l(t,156),f=l(r,156),e.a[u.a][f.a]+e.a[f.a][u.a]):se(t,254)&&se(r,254)&&(o=l(t,254),a=l(r,254),o.a==a.a)?l(F(a.a,(ed(),AT)),15).a:0}function w0t(e,t){var r,o,a,u,f,p,m,y;for(y=ce(le(F(t,(Ue(),GI)))),m=e[0].n.a+e[0].o.a+e[0].d.c+y,p=1;p<e.length;p++)o=e[p].n,a=e[p].o,r=e[p].d,u=o.a-r.b-m,u<0&&(o.a-=u),f=t.f,f.a=b.Math.max(f.a,o.a+a.a),m=o.a+a.a+r.c+y}function Xvn(e,t){var r,o,a,u,f,p;return o=l(l(Ut(e.g,t.a),49).a,68),a=l(l(Ut(e.g,t.b),49).a,68),u=o.b,f=a.b,r=xxn(u,f),r>=0?r:(p=O3(Di(new Me(f.c+f.b/2,f.d+f.a/2),new Me(u.c+u.b/2,u.d+u.a/2))),-(Xyt(u,f)-1)*p)}function Zvn(e,t,r){var o;ei(new vt(null,(!r.a&&(r.a=new ke(jr,r,6,6)),new St(r.a,16))),new Ztt(e,t)),ei(new vt(null,(!r.n&&(r.n=new ke(Rs,r,1,7)),new St(r.n,16))),new Qtt(e,t)),o=l(ve(r,(_n(),g2)),79),o&&Ege(o,e,t)}function O0(e,t,r){var o,a,u;if(u=RE((mc(),ao),e.Ah(),t),u)return Mo(),l(u,69).vk()||(u=MS(is(ao,u))),a=(o=e.Fh(u),l(o>=0?e.Ih(o,!0,!0):O0(e,u,!0),164)),l(a,222).Ql(t,r);throw Y(new jt(O1+t.ve()+iQ))}function yme(e,t,r,o){var a,u,f,p,m;if(a=e.d[t],a){if(u=a.g,m=a.i,o!=null){for(p=0;p<m;++p)if(f=l(u[p],138),f.yi()==r&&gr(o,f.jd()))return f}else for(p=0;p<m;++p)if(f=l(u[p],138),me(f.jd())===me(o))return f}return null}function Qvn(e,t){var r,o,a,u,f;for(o=(!t.s&&(t.s=new ke(ac,t,21,17)),t.s),u=null,a=0,f=o.i;a<f;++a)switch(r=l(ie(o,a),182),f0(is(e,r))){case 4:case 5:case 6:{!u&&(u=new je),Rt(u.c,r);break}}return u||(At(),At(),Ro)}function eD(e,t){var r;if(t<0)throw Y(new F9("Negative exponent"));if(t==0)return f$;if(t==1||k1e(e,f$)||k1e(e,wI))return e;if(!q0t(e,0)){for(r=1;!q0t(e,r);)++r;return fE(y1n(r*t),eD(ppe(e,r),t))}return xwn(e,t)}function eEn(e,t){var r,o,a;if(me(e)===me(t))return!0;if(e==null||t==null||e.length!=t.length)return!1;for(r=0;r<e.length;++r)if(o=e[r],a=t[r],!(me(o)===me(a)||o!=null&&gr(o,a)))return!1;return!0}function y0t(e){mle();var t,r,o;for(this.b=Ykt,this.c=(Si(),hf),this.f=(Xet(),Kkt),this.a=e,rle(this,new fG),jF(this),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),84),r.d||(t=new bY(Z(X(hee,1),It,84,0,[r])),Fe(e.a,t))}function v0t(e){Rhe();var t,r;for(this.b=kxt,this.c=Cxt,this.g=(Zet(),xxt),this.d=(Si(),hf),this.a=e,Vme(this),r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),60),!t.a&&Hrt(Kft(new Lue,Z(X(b$,1),It,60,0,[t])),e),t.e=new RP(t.d)}function tEn(e,t,r){var o,a,u,f,p,m;if(!e||e.c.length==0)return null;for(u=new Xat(t,!r),a=new V(e);a.a<a.c.c.length;)o=l(q(a),70),Xbe(u,(KN(),new x9(o)));return f=u.i,f.a=(m=u.n,u.e.b+m.d+m.a),f.b=(p=u.n,u.e.a+p.b+p.c),u}function E0t(e){var t,r,o,a,u,f,p;for(p=QO(e.a),ade(p,new L7e),r=null,a=p,u=0,f=a.length;u<f&&(o=a[u],o.k==(Ht(),yi));++u)t=l(F(o,(Ie(),Hs)),64),!(t!=(He(),Wt)&&t!=Qt)&&(r&&l(F(r,RT),16).Ec(o),r=o)}function nEn(e,t,r){var o,a,u,f,p,m,y;m=(at(t,e.c.length),l(e.c[t],341)),sg(e,t),m.b/2>=r&&(o=t,y=(m.c+m.a)/2,f=y-r,m.c<=y-r&&(a=new jV(m.c,f),Nb(e,o++,a)),p=y+r,p<=m.a&&(u=new jV(p,m.a),oy(o,e.c.length),t3(e.c,o,u)))}function S0t(e,t,r){var o,a,u,f,p,m;if(!t.dc()){for(a=new Ar,m=t.Jc();m.Ob();)for(p=l(m.Pb(),41),Jn(e.a,Oe(p.g),Oe(r)),f=(o=An(new Qh(p).a.d,0),new Vv(o));oO(f.a);)u=l(Sn(f.a),65).c,Wr(a,u,a.c.b,a.c);S0t(e,a,r+1)}}function vme(e){var t;if(!e.c&&e.g==null)e.d=e._i(e.f),Tn(e,e.d),t=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;t=l(e.g[e.i-1],51)}return t==e.b&&null.Tm>=null.Sm()?(RF(e),vme(e)):t.Ob()}function T0t(e){if(this.a=e,e.c.i.k==(Ht(),yi))this.c=e.c,this.d=l(F(e.c.i,(Ie(),Hs)),64);else if(e.d.i.k==yi)this.c=e.d,this.d=l(F(e.d.i,(Ie(),Hs)),64);else throw Y(new jt("Edge "+e+" is not an external edge."))}function A0t(e,t){var r,o,a;a=e.b,e.b=t,e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,3,a,e.b)),t?t!=e&&(Ma(e,t.zb),mK(e,t.d),r=(o=t.c,o??t.zb),yK(e,r==null||wt(r,t.zb)?null:r)):(Ma(e,null),mK(e,0),yK(e,null))}function _0t(e){!zQ&&(zQ=JNn());var t=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(r){return Dcn(r)});return'"'+t+'"'}function Eme(e,t,r,o,a,u){var f,p,m,y,v;if(a!=0)for(me(e)===me(r)&&(e=e.slice(t,t+a),t=0),m=r,p=t,y=t+a;p<y;)f=b.Math.min(p+1e4,y),a=f-p,v=e.slice(p,f),v.splice(0,0,o,u?a:0),Array.prototype.splice.apply(m,v),p=f,o+=a}function rEn(e){var t,r,o,a,u,f;for(a=e.e.c.length,o=we(_u,Ly,16,a,0,1),f=new V(e.e);f.a<f.c.c.length;)u=l(q(f),156),o[u.a]=new Ar;for(r=new V(e.c);r.a<r.c.c.length;)t=l(q(r),292),o[t.c.a].Ec(t),o[t.d.a].Ec(t);return o}function iEn(e,t){var r,o,a,u,f;if(r=l(qt(e.a,4),131),f=r==null?0:r.length,t>=f)throw Y(new Yw(t,f));return a=r[t],f==1?o=null:(o=we(Fre,EQ,420,f-1,0,1),ca(r,0,o,0,t),u=f-t-1,u>0&&ca(r,t+1,o,t,u)),H_(e,o),qmt(e,t,a),a}function x0t(e){var t,r;if(e.f){for(;e.n<e.o;){if(t=l(e.j?e.j.Yi(e.n):e.k.Xb(e.n),76),r=t.Jk(),se(r,104)&&l(r,20).Bb&Ws&&(!e.e||r.nk()!=Ak||r.Jj()!=0)&&t.kd()!=null)return!0;++e.n}return!1}else return e.n<e.o}function rT(){rT=K,XT=l(ie(Ne((cle(),Ks).qb),6),38),JT=l(ie(Ne(Ks.qb),3),38),Gre=l(ie(Ne(Ks.qb),4),38),qre=l(ie(Ne(Ks.qb),5),20),wF(XT),wF(JT),wF(Gre),wF(qre),ALt=new Ls(Z(X(ac,1),HE,182,0,[XT,JT]))}function k0t(e,t){var r;this.d=new FN,this.b=t,this.e=new To(t.Jf()),r=e.u.Gc((xc(),KL)),e.u.Gc(Rp)?e.F?this.a=r&&!t._f():this.a=!0:e.u.Gc(Y1)?r?this.a=!(t.Sf().Jc().Ob()||t.Uf().Jc().Ob()):this.a=!1:this.a=!1}function N0t(e,t){var r,o,a,u;for(r=e.o.a,u=l(l(yr(e.r,t),24),85).Jc();u.Ob();)a=l(u.Pb(),116),a.e.a=(o=a.b,o.nf((_n(),zc))?o.$f()==(He(),Wt)?-o.Kf().a-ce(le(o.mf(zc))):r+ce(le(o.mf(zc))):o.$f()==(He(),Wt)?-o.Kf().a:r)}function C0t(e){var t,r,o,a,u,f,p;if(o=e.a.c.length,o>0)for(f=e.c.d,p=e.d.d,a=tp(Di(new Me(p.a,p.b),f),1/(o+1)),u=new Me(f.a,f.b),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),254),t.d.a=u.a+a.a,t.d.b=u.b+a.b,u.a+=a.a,u.b+=a.b}function I0t(e,t){var r,o,a,u;r=l(F(e,(Ue(),xu)),87),u=l(ve(t,rk),64),a=l(F(e,Zr),103),a!=(qi(),pf)&&a!=K1?u==(He(),Is)&&(u=k0e(t,r),u==Is&&(u=WS(r))):(o=jvt(t),o>0?u=WS(r):u=P6(WS(r))),Vn(t,rk,u)}function R0t(e,t){var r,o;if(e.c.length!=0){if(e.c.length==2)aT((at(0,e.c.length),l(e.c[0],9)),(vu(),Ih)),aT((at(1,e.c.length),l(e.c[1],9)),V1);else for(o=new V(e);o.a<o.c.c.length;)r=l(q(o),9),aT(r,t);e.c.length=0}}function oEn(e,t){var r,o,a,u,f;for(f=e.j,t.a!=t.b&&ki(f,new sUe),a=f.c.length/2|0,o=0;o<a;o++)u=(at(o,f.c.length),l(f.c[o],114)),u.c&&Ii(u.d,t.a);for(r=a;r<f.c.length;r++)u=(at(r,f.c.length),l(f.c[r],114)),u.c&&Ii(u.d,t.b)}function iT(e,t,r,o){var a;switch(a=0,l(F(t,(Ue(),Cs)),166).g){case 2:a=2*-r+e.a,++e.a;break;case 1:a=-r;break;case 3:a=r;break;case 4:a=2*r+e.b,++e.b}return br(t,(Ie(),Cr))&&(a+=l(F(t,Ky),15).a*o+l(F(t,Cr),15).a),a}function sEn(e,t,r){var o,a,u;return o=e.c[t.c.p][t.p],a=e.c[r.c.p][r.p],o.a!=null&&a.a!=null?(u=QV(o.a,a.a),u<0?sD(e,t,r):u>0&&sD(e,r,t),u):o.a!=null?(sD(e,t,r),-1):a.a!=null?(sD(e,r,t),1):0}function O0t(e){RW();var t,r,o,a,u,f,p;for(r=new f1,a=new V(e.e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),p=e.g[u.p],t=l(Wd(r,p),16),t||(t=new je,Jb(r,p,t)),t.Ec(u);return r}function aEn(e,t){var r,o,a,u,f;for(a=t.b.b,e.a=we(_u,Ly,16,a,0,1),e.b=we(cc,Ad,30,a,16,1),f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),e.a[u.g]=new Ar;for(o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),e.a[r.b.g].Ec(r),e.a[r.c.g].Ec(r)}function D0t(e,t){var r,o,a,u;e.Nj()?(r=e.Cj(),u=e.Oj(),++e.j,e.oj(r,e.Xi(r,t)),o=e.Gj(3,null,t,r,u),e.Kj()?(a=e.Lj(t,null),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(Jst(e,t),e.Kj()&&(a=e.Lj(t,null),a&&a.mj()))}function Sme(e,t,r){var o,a,u;e.Nj()?(u=e.Oj(),D6(e,t,r),o=e.Gj(3,null,r,t,u),e.Kj()?(a=e.Lj(r,null),e.Rj()&&(a=e.Sj(r,a)),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(D6(e,t,r),e.Kj()&&(a=e.Lj(r,null),a&&a.mj()))}function CF(e,t){var r,o,a,u,f;for(f=za(e.e.Ah(),t),a=new w9,r=l(e.g,123),u=e.i;--u>=0;)o=r[u],f.$l(o.Jk())&&Tn(a,o);!PEt(e,a)&&Jc(e.e)&&LA(e,t.Hk()?l1(e,6,t,(At(),Ro),null,-1,!1):l1(e,t.rk()?2:1,t,null,null,-1,!1))}function cEn(e,t){var r,o,a,u,f;return e.a==(W_(),NI)?!0:(u=t.a.c,r=t.a.c+t.a.b,!(t.j&&(o=t.A,f=o.c.c.a-o.o.a/2,a=u-(o.n.a+o.o.a),a>f)||t.q&&(o=t.C,f=o.c.c.a-o.o.a/2,a=o.n.a-r,a>f)))}function L0t(e,t,r){var o,a,u,f,p,m;for(o=0,m=r,t||(o=r*(e.c.length-1),m*=-1),u=new V(e);u.a<u.c.c.length;){for(a=l(q(u),9),Te(a,(Ue(),Kf),(mh(),nU)),a.o.a=o,p=bg(a,(He(),Qt)).Jc();p.Ob();)f=l(p.Pb(),12),f.n.a=o;o+=m}}function M0t(e){var t;return e.Db&64?Zl(e):(t=new ml(Zl(e)),t.a+=" (startX: ",Wv(t,e.j),t.a+=", startY: ",Wv(t,e.k),t.a+=", endX: ",Wv(t,e.b),t.a+=", endY: ",Wv(t,e.c),t.a+=", identifier: ",Wo(t,e.d),t.a+=")",t.a)}function Tme(e){var t;return e.Db&64?iC(e):(t=new ml(iC(e)),t.a+=" (ordered: ",Zp(t,(e.Bb&256)!=0),t.a+=", unique: ",Zp(t,(e.Bb&512)!=0),t.a+=", lowerBound: ",vq(t,e.s),t.a+=", upperBound: ",vq(t,e.t),t.a+=")",t.a)}function P0t(e,t,r,o,a,u,f,p){var m;return se(e.Cb,89)&&Ay(Pc(l(e.Cb,89)),4),Ma(e,r),e.f=o,M_(e,a),j_(e,u),L_(e,f),P_(e,!1),pg(e,!0),F_(e,p),hg(e,!0),ug(e,0),e.b=0,dy(e,1),m=Zd(e,t,null),m&&m.mj(),rY(e,!1),e}function j0t(e,t){var r,o,a,u;return r=l(wa(e.a,t),515),r||(o=new VW(t),a=(JP(),sf?null:o.c),u=yl(a,0,b.Math.max(0,F8(a,Qa(46)))),wrn(o,j0t(e,u)),(sf?null:o.c).length==0&&git(o,new Er),rs(e.a,sf?null:o.c,o),o)}function uEn(e,t){var r,o;return br(e,(Ie(),i2))?br(t,i2)?(r=le(F(e,i2)),o=le(F(t,i2)),r!=null&&o!=null?vr((Mt(r),r),(Mt(o),o)):r!=null?-1:o!=null?1:0):-1:1}function F0t(){this.a=new nqe,this.n=new dF,this.p=new dF,this.c=new hn,this.f=new dF,this.o=new dF,this.q=new hn,this.d=new hn,this.g=new hn,this.k=new hn,this.e=new hn,this.i=new hn,this.j=new hn,this.r=new hn,this.b=new hn}function oT(e,t,r){var o,a,u,f,p,m;return p=e.nl(r),p!=r?(f=e.g[t],m=p,w3(e,t,e.Xi(t,m)),u=f,e.Pi(t,m,u),e.$k()&&(o=r,a=e.Mj(o,null),!l(p,52).Mh()&&(a=e.Lj(m,a)),a&&a.mj()),Jc(e.e)&&LA(e,e.Gj(9,r,p,t,!1)),p):r}function lEn(e,t){var r,o,a,u;for(o=new V(e.a.a);o.a<o.c.c.length;)r=l(q(o),197),r.g=!0;for(u=new V(e.a.b);u.a<u.c.c.length;)a=l(q(u),84),a.k=Ye(Ke(e.e.Kb(new Co(a,t)))),a.d.g=a.d.g&Ye(Ke(e.e.Kb(new Co(a,t))));return e}function $0t(e,t,r){var o,a,u,f,p;if(!e.d[r.p]){for(a=new Ft(Gt(Or(r).a.Jc(),new D));an(a);){for(o=l(en(a),17),p=o.d.i,f=new Ft(Gt(si(p).a.Jc(),new D));an(f);)u=l(en(f),17),u.c.i==t&&(e.a[u.p]=!0);$0t(e,t,p)}e.d[r.p]=!0}}function dEn(e,t){var r,o,a,u,f,p,m;if(o=mgt(e.Db&254),o==1)e.Eb=null;else if(u=HS(e.Eb),o==2)a=PY(e,t),e.Eb=u[a==0?1:0];else{for(f=we(Ri,It,1,o-1,5,1),r=2,p=0,m=0;r<=128;r<<=1)r==t?++p:e.Db&r&&(f[m++]=u[p++]);e.Eb=f}e.Db&=~t}function Ame(e){var t;switch(t=0,e){case 105:t=2;break;case 109:t=8;break;case 115:t=4;break;case 120:t=16;break;case 117:t=32;break;case 119:t=64;break;case 70:t=256;break;case 72:t=128;break;case 88:t=512;break;case 44:t=Tl}return t}function fEn(e,t,r,o,a){var u,f,p,m;if(me(e)===me(t)&&o==a){zyt(e,o,r);return}for(p=0;p<o;p++){for(f=0,u=e[p],m=0;m<a;m++)f=_o(_o(yo(Gi(u,Bo),Gi(t[m],Bo)),Gi(r[p+m],Bo)),Gi(On(f),Bo)),r[p+m]=On(f),f=Rb(f,32);r[p+a]=On(f)}}function B0t(e){var t,r,o,a,u;if(r=(t=l(md(Oo),10),new Hu(t,l(Gl(t,t.length),10),0)),u=l(F(e,(Ie(),Nc)),9),u)for(a=new V(u.j);a.a<a.c.c.length;)o=l(q(a),12),me(F(o,wr))===me(e)&&v3(new Vd(o.b))&&Jl(r,o.j);return r}function hEn(e,t){var r,o,a;for(o=new V(e.i.d);o.a<o.c.c.length;)r=l(q(o),70),Te(r,(Ue(),o2),null);switch(t.g){case 2:case 4:a=e.a,e.c.d.n.b<a.d.n.b&&(a=e.c),ig(e,t,(Xl(),_ee),a);break;case 1:case 3:ig(e,t,(Xl(),Gy),null)}}function U0t(e,t){t.b!=0&&(isNaN(e.s)?e.s=ce((cn(t.b!=0),le(t.a.a.c))):e.s=b.Math.min(e.s,ce((cn(t.b!=0),le(t.a.a.c)))),isNaN(e.c)?e.c=ce((cn(t.b!=0),le(t.c.b.c))):e.c=b.Math.max(e.c,ce((cn(t.b!=0),le(t.c.b.c)))))}function AC(e){var t,r,o,a;for(t=null,o=hh(Wu(Z(X(nl,1),It,22,0,[(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c)])));an(o);)if(r=l(en(o),83),a=Jo(r),!t)t=Br(a);else if(t!=Br(a))return!0;return!1}function lJ(e,t){var r,o,a,u;e.Nj()?(r=e.i,u=e.Oj(),r6(e,t),o=e.Gj(3,null,t,r,u),e.Kj()?(a=e.Lj(t,null),e.Rj()&&(a=e.Sj(t,a)),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(r6(e,t),e.Kj()&&(a=e.Lj(t,null),a&&a.mj()))}function pEn(e,t){var r,o,a,u;if(u=qO(e.a,t.b),!u)throw Y(new ts("Invalid hitboxes for scanline overlap calculation."));for(a=!1,o=e.a.a.ec().Jc();o.Ob();)if(r=l(o.Pb(),68),Epn(t.b,r))hen(e.b.a,t.b,r),a=!0;else if(a)break}function gEn(e){var t;if(!e.a)throw Y(new ts("IDataType class expected for layout option "+e.f));if(t=Pln(e.a),t==null)throw Y(new ts("Couldn't create new instance of property '"+e.f+"'. "+mTt+(np(c5),c5.k)+nEe));return l(t,419)}function dJ(e){var t,r,o,a,u;return u=e.Mh(),u&&u.Sh()&&(a=y1(e,u),a!=u)?(r=e.Ch(),o=(t=e.Ch(),t>=0?e.xh(null):e.Mh().Qh(e,-1-t,null,null)),e.yh(l(a,52),r),o&&o.mj(),e.sh()&&e.th()&&r>-1&&pr(e,new Pi(e,9,r,u,a)),a):u}function _me(e,t){var r,o,a,u,f;for(u=e.b.Ae(t),o=(r=e.a.get(u),r??we(Ri,It,1,0,5,1)),f=0;f<o.length;f++)if(a=o[f],e.b.ze(t,a.jd()))return o.length==1?(o.length=0,nrn(e.a,u)):o.splice(f,1),--e.c,++e.b.g,a.kd();return null}function H0t(e){var t,r,o,a,u,f,p,m;for(f=0,u=e.f.e,o=0;o<u.c.length;++o)for(p=(at(o,u.c.length),l(u.c[o],156)),a=o+1;a<u.c.length;++a)m=(at(a,u.c.length),l(u.c[a],156)),r=h1(p.d,m.d),t=r-e.a[p.a][m.a],f+=e.i[p.a][m.a]*t*t;return f}function bEn(e,t){var r;if(!br(t,(Ue(),Cs))&&(r=Zmn(l(F(t,jSe),368),l(F(e,Cs),166)),Te(t,jSe,r),!an(new Ft(Gt(Lf(t).a.Jc(),new D)))))switch(r.g){case 1:Te(t,Cs,(iu(),LI));break;case 2:Te(t,Cs,(iu(),MI))}}function mEn(e,t){var r;RTn(e),e.a=(r=new gq,ei(new vt(null,new St(t.d,16)),new pJe(r)),r),qTn(e,l(F(t.b,(Ue(),vte)),349)),Ubn(e),_En(e),n0n(e),Hbn(e),zxn(e,t),ei(bs(new vt(null,iut(tan(e.b).a)),new GBe),new qBe),t.a=!1,e.a=null}function xme(){xme=K,cRt=new ht(cve,(Lt(),!1)),uRt=new ht(uve,7),Oe(0),hRt=new ht(lve,Oe(0)),dRt=new ht(dve,Oe(-1)),X_e=(tC(),fne),pRt=new ht(fve,X_e),Y_e=(eC(),kL),lRt=new ht(hve,Y_e),J_e=($P(),hne),fRt=new ht(pve,J_e)}function z0t(){zbe.call(this,Lx,(t1(),UDt)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function sT(){sT=K,Pre=new bS(ASt,0),vU=new bS("INSIDE_SELF_LOOPS",1),o5=new bS("MULTI_EDGES",2),i5=new bS("EDGE_LABELS",3),Mre=new bS("PORTS",4),yU=new bS("COMPOUND",5),wU=new bS("CLUSTERS",6),Lre=new bS("DISCONNECTED",7)}function G0t(e,t,r){var o,a,u;e.Nj()?(u=e.Oj(),++e.j,e.oj(t,e.Xi(t,r)),o=e.Gj(3,null,r,t,u),e.Kj()?(a=e.Lj(r,null),a?(a.lj(o),a.mj()):e.Hj(o)):e.Hj(o)):(++e.j,e.oj(t,e.Xi(t,r)),e.Kj()&&(a=e.Lj(r,null),a&&a.mj()))}function q0t(e,t){var r,o,a;if(t==0)return(e.a[0]&1)!=0;if(t<0)throw Y(new F9("Negative bit address"));if(a=t>>5,a>=e.d)return e.e<0;if(r=e.a[a],t=1<<(t&31),e.e<0){if(o=Iht(e),a<o)return!1;o==a?r=-r:r=~r}return(r&t)!=0}function V0t(e){var t,r,o,a,u;if(a=new je,u=Wyt(e,a),t=l(F(e,(Ie(),Nc)),9),t)for(o=new V(t.j);o.a<o.c.c.length;)r=l(q(o),12),me(F(r,wr))===me(e)&&(u=b.Math.max(u,Wyt(r,a)));return a.c.length==0||Te(e,e2,u),u!=-1?a:null}function wEn(e,t,r,o){var a;l(r.b,68),l(r.b,68),l(o.b,68),l(o.b,68),a=Di(Ao(l(r.b,68).c),l(o.b,68).c),Z8(a,Qmt(l(r.b,68),l(o.b,68),a)),l(o.b,68),l(o.b,68),l(o.b,68).c.a+a.a,l(o.b,68).c.b+a.b,l(o.b,68),La(o.a,new Efe(e,t,o))}function kme(e,t){var r,o,a,u,f,p,m;if(u=t.e,u){for(r=dJ(u),o=l(e.g,686),f=0;f<e.i;++f)if(m=o[f],IY(m)==r&&(a=(!m.d&&(m.d=new Ei(qo,m,1)),m.d),p=l(r.Jh(TJ(u,u.Cb,u.Db>>16)),16).bd(u),p<a.i))return kme(e,l(ie(a,p),88))}return t}function x(e,t,r){var o=c$,a,u=o[e],f=u instanceof Array?u[0]:null;u&&!f?h=u:(h=(a=t&&t.prototype,!a&&(a=c$[t]),jcn(a)),h.Qm=r,!t&&(h.Rm=fe),o[e]=h);for(var p=3;p<arguments.length;++p)arguments[p].prototype=h;f&&(h.Pm=f)}function an(e){for(var t;!l(kn(e.a),51).Ob();){if(e.d=jpn(e),!e.d)return!1;if(e.a=l(e.d.Pb(),51),se(e.a,35)){if(t=l(e.a,35),e.a=t.a,!e.b&&(e.b=new oE),d1(e.b,e.d),t.b)for(;!zN(t.b);)d1(e.b,l(Fsn(t.b),51));e.d=t.d}}return!0}function Nme(e,t){var r,o,a,u;for(a=1,t.j=!0,u=null,o=new V(yE(t));o.a<o.c.c.length;)r=l(q(o),220),e.c[r.c]||(e.c[r.c]=!0,u=Wj(r,t),r.f?a+=Nme(e,u):!u.j&&r.a==r.e.e-r.d.e&&(r.f=!0,gi(e.p,r),a+=Nme(e,u)));return a}function yEn(e){var t,r,o;for(r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=(Mt(0),0),o>0&&(!(ep(e.a.c)&&t.n.d)&&!(tE(e.a.c)&&t.n.b)&&(t.g.d+=b.Math.max(0,o/2-.5)),!(ep(e.a.c)&&t.n.a)&&!(tE(e.a.c)&&t.n.c)&&(t.g.a-=o-1))}function W0t(e,t,r){var o,a,u,f,p,m;u=l(ze(t.e,0),17).c,o=u.i,a=o.k,m=l(ze(r.g,0),17).d,f=m.i,p=f.k,a==(Ht(),bi)?Te(e,(Ie(),Cd),l(F(o,Cd),12)):Te(e,(Ie(),Cd),u),p==bi?Te(e,(Ie(),Nl),l(F(f,Nl),12)):Te(e,(Ie(),Nl),m)}function K0t(e,t){var r,o,a,u,f,p;for(u=new V(e.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(a.a);p.a<p.c.c.length;)for(f=l(q(p),9),f.k==(Ht(),ta)&&aT(f,t),o=new Ft(Gt(Or(f).a.Jc(),new D));an(o);)r=l(en(o),17),npt(r,t)}function vEn(e,t){var r,o,a;for(t.Tg("Layer constraint preprocessing",1),r=new je,a=new Ji(e.a,0);a.b<a.d.gc();)o=(cn(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),9)),bpn(o)&&(gwn(o),Rt(r.c,o),Mc(a));r.c.length==0||Te(e,(Ie(),ite),r),t.Ug()}function Cme(e){var t,r,o;this.c=e,o=l(F(e,(Ue(),xu)),87),t=ce(le(F(e,cB))),r=ce(le(F(e,WAe))),o==(Si(),cs)||o==fs||o==hf?this.b=t*r:this.b=1/(t*r),this.j=ce(le(F(e,rv))),this.e=ce(le(F(e,vm))),this.f=e.b.c.length}function EEn(e){var t,r;for(e.e=we(Rn,Qn,30,e.p.c.length,15,1),e.k=we(Rn,Qn,30,e.p.c.length,15,1),r=new V(e.p);r.a<r.c.c.length;)t=l(q(r),9),e.e[t.p]=yd(new Ft(Gt(si(t).a.Jc(),new D))),e.k[t.p]=yd(new Ft(Gt(Or(t).a.Jc(),new D)))}function SEn(e){var t,r,o,a,u,f;for(a=0,e.q=new je,t=new pi,f=new V(e.p);f.a<f.c.c.length;){for(u=l(q(f),9),u.p=a,o=new Ft(Gt(Or(u).a.Jc(),new D));an(o);)r=l(en(o),17),gi(t,r.d.i);t.a.Ac(u)!=null,Fe(e.q,new Jw(t)),t.a.$b(),++a}}function Ime(e,t){var r,o,a,u,f;return t&=63,r=e.h,o=(r&ED)!=0,o&&(r|=-1048576),t<22?(f=r>>t,u=e.m>>t|r<<22-t,a=e.l>>t|e.m<<22-t):t<44?(f=o?Ep:0,u=r>>t-22,a=e.m>>t-22|r<<44-t):(f=o?Ep:0,u=o?Hc:0,a=r>>t-44),Ua(a&Hc,u&Hc,f&Ep)}function TEn(e,t){var r;switch(M3(e.a),pu(e.a,(bF(),Jne),(Z9(),nre)),pu(e.a,Xne,(Q9(),rre)),pu(e.a,Zne,(e8(),ire)),l(ve(t,(QS(),tre)),389).g){case 1:r=(w6(),ore);break;case 0:default:r=(w6(),sre)}return pu(e.a,Qne,r),FC(e.a,t)}function Y0t(e,t){var r,o,a,u,f,p,m,y,v;if(e.a.f>0&&se(t,45)&&(e.a.Zj(),y=l(t,45),m=y.jd(),u=m==null?0:Rr(m),f=Xde(e.a,u),r=e.a.d[f],r)){for(o=l(r.g,375),v=r.i,p=0;p<v;++p)if(a=o[p],a.yi()==u&&a.Fb(y))return Y0t(e,y),!0}return!1}function AEn(e){var t,r,o,a,u,f,p;if(t=e.ni(_l),t&&(p=In(Td((!t.b&&(t.b=new Zc((_t(),Do),zs,t)),t.b),"settingDelegates")),p!=null)){for(r=new je,a=Cy(p,"\\w+"),u=0,f=a.length;u<f;++u)o=a[u],Rt(r.c,o);return r}return At(),At(),Ro}function _En(e){var t,r,o,a;for(a=l(yr(e.a,(Ey(),q$)),16).Jc();a.Ob();)o=l(a.Pb(),108),r=(t=kS(o.k),t.Gc((He(),Vt))?t.Gc(Qt)?t.Gc(dn)?t.Gc(Wt)?null:RNt:DNt:ONt:INt),r_(e,o,r[0],(T0(),Z0),0),r_(e,o,r[1],j1,1),r_(e,o,r[2],Q0,1)}function xEn(e,t){var r,o;r=oAn(t),KSn(e,t,r),Vbt(e.a,l(F(ji(t.b),(Ie(),DT)),237)),xAn(e),cwn(e,t),o=we(Rn,Qn,30,t.b.j.c.length,15,1),zJ(e,t,(He(),Vt),o,r),zJ(e,t,Qt,o,r),zJ(e,t,dn,o,r),zJ(e,t,Wt,o,r),e.a=null,e.c=null,e.b=null}function Rme(e,t,r){switch(t){case 7:!e.e&&(e.e=new Tt(Ir,e,7,4)),vn(e.e),!e.e&&(e.e=new Tt(Ir,e,7,4)),ti(e.e,l(r,18));return;case 8:!e.d&&(e.d=new Tt(Ir,e,8,5)),vn(e.d),!e.d&&(e.d=new Tt(Ir,e,8,5)),ti(e.d,l(r,18));return}Abe(e,t,r)}function Ome(e,t){var r,o,a,u,f;if(me(t)===me(e))return!0;if(!se(t,16)||(f=l(t,16),e.gc()!=f.gc()))return!1;for(u=f.Jc(),o=e.Jc();o.Ob();)if(r=o.Pb(),a=u.Pb(),!(me(r)===me(a)||r!=null&&gr(r,a)))return!1;return!0}function kEn(e,t){var r,o,a,u;for(u=l(Ac(bs(bs(new vt(null,new St(t.b,16)),new G7e),new q7e),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),u.Ic(new V7e),r=0,a=u.Jc();a.Ob();)o=l(a.Pb(),12),o.p==-1&&Lme(e,o,r++)}function NEn(e,t){var r,o,a,u,f;for(t.Tg("Port side processing",1),f=new V(e.a);f.a<f.c.c.length;)a=l(q(f),9),yvt(a);for(o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),9),yvt(a);t.Ug()}function CEn(e,t){var r,o,a,u,f,p;for(o=new f1,f=WP(new Ls(e.g)),u=f.a.ec().Jc();u.Ob();){if(a=l(u.Pb(),9),!a){t.ah("There are no classes in a balanced layout.");break}p=e.j[a.p],r=l(Wd(o,p),16),r||(r=new je,Jb(o,p,r)),r.Ec(a)}return o}function IEn(e,t){var r,o,a,u,f;o=new Ar,Wr(o,t,o.c.b,o.c);do for(r=(cn(o.b!=0),l(Vu(o,o.a.a),41)),e.b[r.g]=1,u=An(r.d,0);u.b!=u.d.c;)a=l(Sn(u),65),f=a.c,e.b[f.g]==1?Gn(e.a,a):e.b[f.g]==2?e.b[f.g]=1:Wr(o,f,o.c.b,o.c);while(o.b!=0)}function Dme(e,t){if(se(t,209))return Br(l(t,19));if(se(t,196))return Gd(l(t,127));if(se(t,363))return Bhe(l(t,158));if(se(t,273))return Lnn(e,l(t,74));throw Y(new jt(Mx+Qd(new Ls(Z(X(Ri,1),It,1,5,[t])))))}function REn(e,t,r){var o;o=null,t&&(o=t.d),mC(e,new qA(t.n.a-o.b+r.a,t.n.b-o.d+r.b)),mC(e,new qA(t.n.a-o.b+r.a,t.n.b+t.o.b+o.a+r.b)),mC(e,new qA(t.n.a+t.o.a+o.c+r.a,t.n.b-o.d+r.b)),mC(e,new qA(t.n.a+t.o.a+o.c+r.a,t.n.b+t.o.b+o.a+r.b))}function Lme(e,t,r){var o,a,u;for(t.p=r,u=hh(Wu(Z(X(nl,1),It,22,0,[new DA(t),new tS(t)])));an(u);)o=l(en(u),12),o.p==-1&&Lme(e,o,r);if(t.i.k==(Ht(),bi))for(a=new V(t.i.j);a.a<a.c.c.length;)o=l(q(a),12),o!=t&&o.p==-1&&Lme(e,o,r)}function J0t(e){var t,r,o,a,u;if(a=l(Ac(Uhe(Ghe(e)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),o=FE,a.gc()>=2)for(r=a.Jc(),t=le(r.Pb());r.Ob();)u=t,t=le(r.Pb()),o=b.Math.min(o,(Mt(t),t-(Mt(u),u)));return o}function OEn(e,t){var r,o,a;for(a=new je,o=An(t.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.b.g==e.g&&!wt(r.b.c,L7)&&me(F(r.b,(js(),Jf)))!==me(F(r.c,Jf))&&!hE(new vt(null,new St(a,16)),new eXe(r))&&Rt(a.c,r);return ki(a,new RHe),a}function DEn(e,t){var r,o,a;if(me(t)===me(kn(e)))return!0;if(!se(t,16)||(o=l(t,16),a=e.gc(),a!=o.gc()))return!1;if(se(o,59)){for(r=0;r<a;r++)if(!rp(e.Xb(r),o.Xb(r)))return!1;return!0}else return qbn(e.Jc(),o.Jc())}function LEn(e,t,r,o,a,u){var f,p,m,y;for(p=!BA(dr(e.Mc(),new RA(new o$e))).zd((_b(),TT)),f=e,u==(Si(),il)&&(f=ou(f)),y=f.Jc();y.Ob();)m=l(y.Pb(),70),m.n.a=t.a,p?m.n.b=t.b+(o.b-m.o.b)/2:a?m.n.b=t.b:m.n.b=t.b+o.b-m.o.b,t.a+=m.o.a+r}function X0t(e,t,r){var o,a,u,f,p,m,y;if(r)for(u=r.a.length,o=new Ib(u),p=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);p.Ob();)f=l(p.Pb(),15),m=f_(r,f.a),m&&(y=Xfn(sp(m,dQ),t),Jn(e.k,y,m),a=qf in m.a,a&&v_(y,sp(m,qf)),SF(m,y),lme(m,y))}function MEn(e,t,r){var o,a,u,f,p;if(p=r,!p&&(p=Dfe(new sS,0)),p.Tg(rSt,1),nEt(e.c,t),f=Gkn(e.a,t),f.gc()==1)Mvt(l(f.Xb(0),37),p);else for(u=1/f.gc(),a=f.Jc();a.Ob();){if(o=l(a.Pb(),37),r.Zg())return;Mvt(o,p.dh(u))}HQt(e.a,f,t),gTn(t),p.Ug()}function Z0t(e,t,r){var o,a,u,f,p;if(a=e.f,!a&&(a=l(e.a.a.ec().Jc().Pb(),60)),bC(a,t,r),e.a.a.gc()!=1)for(o=t*r,f=e.a.a.ec().Jc();f.Ob();)u=l(f.Pb(),60),u!=a&&(p=PS(u),p.f.d?(u.d.d+=o+nf,u.d.a-=o+nf):p.f.a&&(u.d.a-=o+nf))}function PEn(e,t,r,o){var a,u,f,p,m,y,v,T;a=r,v=t,u=v;do u=e.a[u.p],p=(T=e.g[u.p],ce(e.p[T.p])+ce(e.d[u.p])-u.d.d),m=ehn(u,o),m&&(f=(y=e.g[m.p],ce(e.p[y.p])+ce(e.d[m.p])+m.o.b+m.d.a),a=b.Math.min(a,p-(f+iE(e.k,u,m))));while(v!=u);return a}function jEn(e,t,r,o){var a,u,f,p,m,y,v,T;a=r,v=t,u=v;do u=e.a[u.p],f=(T=e.g[u.p],ce(e.p[T.p])+ce(e.d[u.p])+u.o.b+u.d.a),m=upn(u,o),m&&(p=(y=e.g[m.p],ce(e.p[y.p])+ce(e.d[m.p])-m.d.d),a=b.Math.min(a,p-(f+iE(e.k,u,m))));while(v!=u);return a}function Q0t(e,t){var r;if(t.Tg("Equal Whitespace Eliminator",1),Gu(e,(yh(),WB)))ggn(l(ve(e,WB),16),ce(le(ve(e,$T))),(r=ce(le(ve(e,a4))),ce(le(ve(e,(ef(),l4)))),r));else throw Y(new _f("The graph does not contain rows."));t.Ug()}function ve(e,t){var r,o;return o=(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),Td(e.o,t)),o??(r=t.Rg(),se(r,4)&&(r==null?(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),eF(e.o,t)):(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),V6(e.o,t,r))),r)}function _y(){_y=K,ad=new Xv("H_LEFT",0),Ip=new Xv("H_CENTER",1),cd=new Xv("H_RIGHT",2),ld=new Xv("V_TOP",3),Rh=new Xv("V_CENTER",4),Il=new Xv("V_BOTTOM",5),ku=new Xv("INSIDE",6),ud=new Xv("OUTSIDE",7),Cl=new Xv("H_PRIORITY",8)}function FEn(e,t){var r,o,a,u,f,p,m;if(!t.f)throw Y(new jt("The input edge is not a tree edge."));for(u=null,a=ar,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),220),p=r.d,m=r.e,aJ(e,p,t)&&!aJ(e,m,t)&&(f=m.e-p.e-r.a,f<a&&(a=f,u=r));return u}function $En(e){var t,r,o,a,u,f;if(!(e.f.e.c.length<=1)){t=0,a=H0t(e),r=Kr;do{for(t>0&&(a=r),f=new V(e.f.e);f.a<f.c.c.length;)u=l(q(f),156),!Ye(Ke(F(u,(G6(),B2e))))&&(o=JAn(e,u),mr(wd(u.d),o));r=H0t(e)}while(!ian(e,t++,a,r))}}function BEn(e,t){var r,o,a,u,f;for(u=e.g.a,f=e.g.b,o=new V(e.d);o.a<o.c.c.length;)r=l(q(o),70),a=r.n,e.a==(Xl(),qx)||e.i==(He(),Qt)?a.a=u:e.a==Vx||e.i==(He(),Wt)?a.a=u+e.j.a-r.o.a:a.a=u+(e.j.a-r.o.a)/2,a.b=f,mr(a,t),f+=r.o.b+e.e}function ewt(e){var t,r,o,a;for(a=0,t=l(ve(e,(_n(),dDt)),15).a,o=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));o.e!=o.i.gc();)r=l(rn(o),19),!r.a&&(r.a=new ke(En,r,10,11)),r.a&&(!r.a&&(r.a=new ke(En,r,10,11)),r.a).i>0?a+=t:a+=1;return a}function UEn(e,t){var r,o,a,u,f,p,m,y,v,T;y=e,m=B3(y,"individualSpacings"),m&&(o=Gu(t,(_n(),qT)),f=!o,f&&(a=new DG,Vn(t,qT,a)),p=l(ve(t,qT),380),T=m,u=null,T&&(u=(v=AK(T,we(Je,Pe,2,0,6,1)),new Sq(T,v))),u&&(r=new ynt(T,p),lo(u,r)))}function HEn(e,t){var r,o,a,u,f,p,m,y,v,T,N;return m=null,T=e,v=null,(uAt in T.a||lAt in T.a||z7 in T.a)&&(y=null,N=Rge(t),f=B3(T,uAt),r=new FXe(N),Rgt(r.a,f),p=B3(T,lAt),o=new WXe(N),Ogt(o.a,p),u=m0(T,z7),a=new JXe(N),y=(Bbt(a.a,u),u),v=y),m=v,m}function zEn(e,t){var r,o,a;if(t===e)return!0;if(se(t,544)){if(a=l(t,841),e.a.d!=a.a.d||uE(e).gc()!=uE(a).gc())return!1;for(o=uE(a).Jc();o.Ob();)if(r=l(o.Pb(),421),Rct(e,r.a.jd())!=l(r.a.kd(),18).gc())return!1;return!0}return!1}function GEn(e,t){var r,o,a,u;for(u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),Te(a,(Ie(),aB),(Lt(),!1)),Te(a,LT,Oe(-1)),Te(a,DI,Oe(-1)),e.d.a.c.length=0,o=new Ft(Gt(Lf(a).a.Jc(),new D));an(o);)r=l(en(o),17),Te(r,e3t,!1)}function qEn(e,t){return e.c<t.c?-1:e.c>t.c?1:e.b<t.b?-1:e.b>t.b?1:e.a!=t.a?Rr(e.a)-Rr(t.a):e.d==(H3(),QI)&&t.d==ZI?-1:e.d==ZI&&t.d==QI?1:0}function fJ(e){var t,r,o,a,u,f,p,m;for(a=Kr,o=Li,r=new V(e.e.b);r.a<r.c.c.length;)for(t=l(q(r),26),f=new V(t.a);f.a<f.c.c.length;)u=l(q(f),9),m=ce(e.p[u.p]),p=m+ce(e.b[e.g[u.p].p]),a=b.Math.min(a,m),o=b.Math.max(o,p);return o-a}function twt(e,t){var r,o,a,u,f;return u=t.a,u.c.i==t.b?f=u.d:f=u.c,u.c.i==t.b?o=u.c:o=u.d,a=A1n(e.a,f,o),a>0&&a<FE?(r=PEn(e.a,o.i,a,e.c),Dft(e.a,o.i,-r),r>0):a<0&&-a<FE?(r=jEn(e.a,o.i,-a,e.c),Dft(e.a,o.i,r),r>0):!1}function VEn(e,t,r,o){var a,u,f,p,m,y,v,T;for(a=(t-e.d)/e.c.c.length,u=0,e.a+=r,e.d=t,T=new V(e.c);T.a<T.c.c.length;)v=l(q(T),19),y=v.g,m=v.f,va(v,v.i+u*a),gc(v,v.j+o*r),Hb(v,v.g+a),Ub(v,e.a),++u,p=v.g,f=v.f,ame(v,new Me(p,f),new Me(y,m))}function nwt(e,t){var r,o,a,u,f,p,m,y;for(o=new Ft(Gt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),y=Jo(l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),f=kC(r),p=t.i+t.g/2,m=t.j+t.f,a=y.i+y.g/2,u=y.j,E0(f,p),S0(f,m),y0(f,a),v0(f,u),nwt(e,y)}function WEn(e){var t,r,o,a,u,f,p;if(e==null)return null;for(p=e.length,a=(p+1)/2|0,f=we(Ec,UE,30,a,15,1),p%2!=0&&(f[--a]=i0e((Jt(p-1,e.length),e.charCodeAt(p-1)))),r=0,o=0;r<a;++r)t=i0e(uo(e,o++)),u=i0e(uo(e,o++)),f[r]=(t<<4|u)<<24>>24;return f}function KEn(e){if(e.xe()){var t=e.c;t.ye()?e.o="["+t.n:t.xe()?e.o="["+t.ve():e.o="[L"+t.ve()+";",e.b=t.ue()+"[]",e.k=t.we()+"[]";return}var r=e.j,o=e.d;o=o.split("/"),e.o=gY(".",[r,gY("$",o)]),e.b=gY(".",[r,gY(".",o)]),e.k=o[o.length-1]}function YEn(e,t){var r,o,a,u,f;for(f=null,u=new V(e.e.a);u.a<u.c.c.length;)if(a=l(q(u),126),a.b.a.c.length==a.g.a.c.length){for(o=a.e,f=$yn(a),r=a.e-l(f.a,15).a+1;r<a.e+l(f.b,15).a;r++)t[r]<t[o]&&(o=r);t[o]<t[a.e]&&(--t[a.e],++t[o],a.e=o)}}function Mme(e,t,r){var o,a,u,f,p,m,y,v;y=l(r,150),v=Dme(e,t),u=null,o=null,v&&(o=yF(e,v,t.i)),o!=null?u=o:(p=t.i,u=p),Mb(y,"x",u),f=null,a=null,v&&(a=vF(e,v,t.j)),a!=null?f=a:(m=t.j,f=m),Mb(y,"y",f),Mb(y,uQ,t.g),Mb(y,cQ,t.f)}function rwt(e){$J();var t,r,o,a;return o=Nf(e,Qa(35)),t=o==-1?e:(io(0,o,e.length),e.substr(0,o)),r=o==-1?null:(Jt(o+1,e.length+1),e.substr(o+1)),a=Vln(C3e,t),a?r!=null&&(a=Mpt(a,(Mt(r),r))):(a=P3n(t),odn(C3e,t,a),r!=null&&(a=Mpt(a,r))),a}function Pme(e,t,r,o){var a,u,f,p,m;for(a=f0e(e,t),p=0,m=a.gc();p<m;++p)if(u=l(a.Xb(p),182),wt(o,c_(is(e,u)))){if(f=WO(is(e,u)),r==null){if(f==null)return u}else if(wt(r,f))return u}return null}function jme(e,t,r,o){var a,u,f,p,m;for(a=AJ(e,t),p=0,m=a.gc();p<m;++p)if(u=l(a.Xb(p),182),wt(o,c_(is(e,u)))){if(f=WO(is(e,u)),r==null){if(f==null)return u}else if(wt(r,f))return u}return null}function JEn(e,t,r){var o,a,u,f,p,m;if(f=new w9,p=za(e.e.Ah(),t),o=l(e.g,123),Mo(),l(t,69).vk())for(u=0;u<e.i;++u)a=o[u],p.$l(a.Jk())&&Tn(f,a);else for(u=0;u<e.i;++u)a=o[u],p.$l(a.Jk())&&(m=a.kd(),Tn(f,r?TC(e,t,u,f.i,m):m));return ipe(f)}function iwt(e){var t,r,o,a,u,f,p;if(e&&(t=e.ni(_l),t&&(f=In(Td((!t.b&&(t.b=new Zc((_t(),Do),zs,t)),t.b),"conversionDelegates")),f!=null))){for(p=new je,o=Cy(f,"\\w+"),a=0,u=o.length;a<u;++a)r=o[a],Rt(p.c,r);return p}return At(),At(),Ro}function owt(e,t){var r,o,a,u,f,p,m,y;for(f=t==1?gee:pee,u=f.a.ec().Jc();u.Ob();)for(a=l(u.Pb(),87),m=l(yr(e.f.c,a),24).Jc();m.Ob();)switch(p=l(m.Pb(),49),o=l(p.b,84),y=l(p.a,197),r=y.c,a.g){case 2:case 1:o.g.d+=r;break;case 4:case 3:o.g.c+=r}}function XEn(e,t){var r,o,a,u,f;for(r=new uC(Yx),a=(eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,qy,JE,YE])),u=0,f=a.length;u<f;++u)o=a[u],Qde(r,o,new je);return ei(Oa(dr(bs(new vt(null,new St(e.b,16)),new s$e),new a$e),new HYe(t)),new zYe(r)),r}function swt(e,t){var r,o,a;for(r=1;r<e.c.length;r++){for(a=(at(r,e.c.length),l(e.c[r],9)),o=r;o>0&&hD(t,(at(o-1,e.c.length),l(e.c[o-1],9)),a)>0;)nu(e,o,(at(o-1,e.c.length),l(e.c[o-1],9))),--o;at(o,e.c.length),e.c[o]=a}t.b=new hn,t.g=new hn}function awt(e,t,r){var o,a,u;for(o=1;o<e.c.length;o++){for(u=(at(o,e.c.length),l(e.c[o],9)),a=o;a>0&&t.Le((at(a-1,e.c.length),l(e.c[a-1],9)),u)>0;)nu(e,a,(at(a-1,e.c.length),l(e.c[a-1],9))),--a;at(a,e.c.length),e.c[a]=u}r.a=new hn,r.b=new hn}function IF(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=t.Jc();u.Ob();)a=l(u.Pb(),19),v=a.i+a.g/2,N=a.j+a.f/2,m=e.f,f=m.i+m.g/2,p=m.j+m.f/2,y=v-f,T=N-p,o=b.Math.sqrt(y*y+T*T),y*=e.e/o,T*=e.e/o,r?(v-=y,N-=T):(v+=y,N+=T),va(a,v-a.g/2),gc(a,N-a.f/2)}function kE(e){var t,r,o;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=0;t-=2)for(r=0;r<=t;r+=2)(e.b[r]>e.b[r+2]||e.b[r]===e.b[r+2]&&e.b[r+1]>e.b[r+3])&&(o=e.b[r+2],e.b[r+2]=e.b[r],e.b[r]=o,o=e.b[r+3],e.b[r+3]=e.b[r+1],e.b[r+1]=o);e.c=!0}}function Zl(e){var t,r;return r=new fu(Ab(e.Pm)),r.a+="@",zn(r,(t=Rr(e)>>>0,t.toString(16))),e.Sh()?(r.a+=" (eProxyURI: ",ba(r,e.Yh()),e.Hh()&&(r.a+=" eClass: ",ba(r,e.Hh())),r.a+=")"):e.Hh()&&(r.a+=" (eClass: ",ba(r,e.Hh()),r.a+=")"),r.a}function _C(e){var t,r,o,a;if(e.e)throw Y(new ts((np(nee),RX+nee.k+OX)));for(e.d==(Si(),hf)&&XF(e,cs),r=new V(e.a.a);r.a<r.c.c.length;)t=l(q(r),321),t.g=t.i;for(a=new V(e.a.b);a.a<a.c.c.length;)o=l(q(a),60),o.i=Li;return e.b.af(e),e}function ZEn(e,t){var r,o,a,u,f,p,m,y,v;for(m=uh(e.c-e.b&e.a.length-1),y=null,v=null,u=new L3(e);u.a!=u.b;)a=l(Uj(u),9),r=(p=l(F(a,(Ie(),Cd)),12),p?p.i:null),o=(f=l(F(a,Nl),12),f?f.i:null),(y!=r||v!=o)&&(R0t(m,t),y=r,v=o),Rt(m.c,a);R0t(m,t)}function cwt(e){switch(e.g){case 0:return new j9((Kb(),_L));case 1:return new j9((Kb(),IB));case 2:return new KWe;case 3:return new XWe;default:throw Y(new jt("No implementation is available for the crossing minimizer "+(e.f!=null?e.f:""+e.g)))}}function QEn(e,t){var r,o,a,u,f;if(t<2*e.b)throw Y(new jt("The knot vector must have at least two time the dimension elements."));for(e.f=1,a=0;a<e.b;a++)Fe(e.e,0);for(f=t+1-2*e.b,r=f,u=1;u<f;u++)Fe(e.e,u/r);if(e.d)for(o=0;o<e.b;o++)Fe(e.e,1)}function uwt(e,t){var r,o,a,u,f,p,m,y,v;if(y=t,v=l(Ej(dW(e.o),y),19),!v)throw a=sp(y,qf),p="Unable to find elk node for json object '"+a,m=p+"' Panic!",Y(new xf(m));u=m0(y,"edges"),r=new ant(e,v),g0t(r.a,r.b,u),f=m0(y,fQ),o=new IXe(e),Ebt(o.a,f)}function lwt(e,t,r,o){var a,u,f,p,m;if(o!=null){if(a=e.d[t],a){for(u=a.g,m=a.i,p=0;p<m;++p)if(f=l(u[p],138),f.yi()==r&&gr(o,f.jd()))return p}}else if(a=e.d[t],a){for(u=a.g,m=a.i,p=0;p<m;++p)if(f=l(u[p],138),me(f.jd())===me(o))return p}return-1}function Y_(e,t){var r,o,a;return r=t==null?Ss(ns(e.f,null)):e3(e.i,t),se(r,244)?(a=l(r,244),a.wi()==null,a):se(r,496)?(o=l(r,2016),a=o.a,a&&(a.yb==null||(t==null?ec(e.f,null,a):_0(e.i,t,a))),a):null}function e2n(e){t0e();var t,r,o,a,u,f,p;if(e==null||(a=e.length,a%2!=0))return null;for(t=cj(e),u=a/2|0,r=we(Ec,UE,30,u,15,1),o=0;o<u;o++){if(f=F4[t[o*2]],f==-1||(p=F4[t[o*2+1]],p==-1))return null;r[o]=(f<<4|p)<<24>>24}return r}function t2n(e,t,r){var o,a,u;if(a=l(Ko(e.i,t),319),!a)if(a=new wft(e.d,t,r),IS(e.i,t,a),$1e(t))nnn(e.a,t.c,t.b,a);else switch(u=Yyn(t),o=l(Ko(e.p,u),256),u.g){case 1:case 3:a.j=!0,lq(o,t.b,a);break;case 4:case 2:a.k=!0,lq(o,t.c,a)}return a}function n2n(e,t,r,o){var a,u,f,p,m,y;if(p=new w9,m=za(e.e.Ah(),t),a=l(e.g,123),Mo(),l(t,69).vk())for(f=0;f<e.i;++f)u=a[f],m.$l(u.Jk())&&Tn(p,u);else for(f=0;f<e.i;++f)u=a[f],m.$l(u.Jk())&&(y=u.kd(),Tn(p,o?TC(e,t,f,p.i,y):y));return L1e(p,r)}function dwt(e,t){var r,o,a,u,f,p,m,y;if(a=e.b[t.p],a>=0)return a;for(u=1,p=new V(t.j);p.a<p.c.c.length;)for(f=l(q(p),12),o=new V(f.g);o.a<o.c.c.length;)r=l(q(o),17),y=r.d.i,t!=y&&(m=dwt(e,y),u=b.Math.max(u,m+1));return h1n(e,t,u),u}function fwt(e,t){var r,o,a,u,f,p,m,y;if(a=e.b[t.p],a>=0)return a;for(u=1,p=new V(t.j);p.a<p.c.c.length;)for(f=l(q(p),12),o=new V(f.e);o.a<o.c.c.length;)r=l(q(o),17),y=r.c.i,t!=y&&(m=fwt(e,y),u=b.Math.max(u,m+1));return Wbn(e,t,u),u}function r2n(e){var t,r,o,a;for(a=e.length,t=null,o=0;o<a;o++)r=(Jt(o,e.length),e.charCodeAt(o)),Nf(".*+?{[()|\\^$",Qa(r))>=0?(t||(t=new GN,o>0&&Wo(t,(io(0,o,e.length),e.substr(0,o)))),t.a+="\\",i_(t,r&Ti)):t&&i_(t,r&Ti);return t?t.a:e}function i2n(e){var t,r,o;for(r=new V(e.a.a.b);r.a<r.c.c.length;)t=l(q(r),84),o=(Mt(0),0),o>0&&(!(ep(e.a.c)&&t.n.d)&&!(tE(e.a.c)&&t.n.b)&&(t.g.d-=b.Math.max(0,o/2-.5)),!(ep(e.a.c)&&t.n.a)&&!(tE(e.a.c)&&t.n.c)&&(t.g.a+=b.Math.max(0,o-1)))}function hwt(e,t,r){var o,a;if((e.c-e.b&e.a.length-1)==2)t==(He(),Vt)||t==Qt?(hj(l(Q3(e),16),(vu(),Ih)),hj(l(Q3(e),16),V1)):(hj(l(Q3(e),16),(vu(),V1)),hj(l(Q3(e),16),Ih));else for(a=new L3(e);a.a!=a.b;)o=l(Uj(a),16),hj(o,r)}function o2n(e,t,r){var o,a,u,f,p,m,y,v,T;for(v=-1,T=0,p=t,m=0,y=p.length;m<y;++m){for(f=p[m],o=new yat(e,v==-1?t[0]:t[v],r,(rC(),xB)),a=0;a<f.length;a++)for(u=a+1;u<f.length;u++)br(f[a],(Ie(),Cr))&&br(f[u],Cr)&&hD(o,f[a],f[u])>0&&++T;++v}return T}function s2n(e,t,r){var o;if(r.Tg("XPlacer",1),e.b=ce(le(ve(t,(_n(),Od)))),e.a=Ye(Ke(ve(t,(QS(),ere)))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0)switch(o=l(ve(t,(wh(),h4)),19),l(ve(t,tre),389).g){case 0:QEt(e,o);break;case 1:ZEt(e,o)}r.Ug()}function a2n(e,t){var r,o,a,u,f,p,m;for(a=QA(new _ue(e)),p=new Ji(a,a.c.length),u=QA(new _ue(t)),m=new Ji(u,u.c.length),f=null;p.b>0&&m.b>0&&(r=(cn(p.b>0),l(p.a.Xb(p.c=--p.b),19)),o=(cn(m.b>0),l(m.a.Xb(m.c=--m.b),19)),r==o);)f=r;return f}function c2n(e,t){var r,o,a,u;for(t.Tg("Self-Loop pre-processing",1),o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),9),s1n(r)&&(a=(u=new p1t(r),Te(r,(Ie(),rw),u),IAn(u),u),ei(Oa(bs(new vt(null,new St(a.d,16)),new K$e),new Y$e),new J$e),xSn(a));t.Ug()}function pwt(e,t,r){var o,a,u,f;Uct(e,t)>Uct(e,r)?(o=ks(r,(He(),Qt)),e.d=o.dc()?0:HV(l(o.Xb(0),12)),f=ks(t,Wt),e.b=f.dc()?0:HV(l(f.Xb(0),12))):(a=ks(r,(He(),Wt)),e.d=a.dc()?0:HV(l(a.Xb(0),12)),u=ks(t,Qt),e.b=u.dc()?0:HV(l(u.Xb(0),12)))}function u2n(e){var t,r,o,a,u,f,p,m;t=!0,a=null,u=null;e:for(m=new V(e.a);m.a<m.c.c.length;)for(p=l(q(m),9),o=new Ft(Gt(si(p).a.Jc(),new D));an(o);){if(r=l(en(o),17),a&&a!=p){t=!1;break e}if(a=p,f=r.c.i,u&&u!=f){t=!1;break e}u=f}return t}function l2n(e,t,r){var o,a,u,f,p,m,y,v;for(v=(o=l(t.e&&t.e(),10),new Hu(o,l(Gl(o,o.length),10),0)),m=Cy(r,"[\\[\\]\\s,]+"),u=m,f=0,p=u.length;f<p;++f)if(a=u[f],Ty(a).length!=0){if(y=b0t(e,a),y==null)return null;Jl(v,l(y,23))}return v}function gwt(e,t){var r,o,a,u;for(r=e.o.a,u=l(l(yr(e.r,t),24),85).Jc();u.Ob();)a=l(u.Pb(),116),a.e.a=r*ce(le(a.b.mf(w$))),a.e.b=(o=a.b,o.nf((_n(),zc))?o.$f()==(He(),Vt)?-o.Kf().b-ce(le(o.mf(zc))):ce(le(o.mf(zc))):o.$f()==(He(),Vt)?-o.Kf().b:0)}function d2n(e,t,r){var o,a,u,f,p,m;for(u=-1,p=-1,f=0;f<t.c.length&&(a=(at(f,t.c.length),l(t.c[f],341)),!(a.c>e.c));f++)a.a>=e.s&&(u<0&&(u=f),p=f);return m=(e.s+e.c)/2,u>=0&&(o=YTn(e,t,u,p),m=Men((at(o,t.c.length),l(t.c[o],341))),nEn(t,o,r)),m}function xn(e,t,r){var o,a,u,f,p,m,y;for(f=(u=new Gce,u),lge(f,(Mt(t),t)),y=(!f.b&&(f.b=new Zc((_t(),Do),zs,f)),f.b),m=1;m<r.length;m+=2)V6(y,r[m-1],r[m]);for(o=(!e.Ab&&(e.Ab=new ke(Kn,e,0,3)),e.Ab),p=0;p<0;++p)a=oan(l(ie(o,o.i-1),594)),o=a;Tn(o,f)}function Fme(e,t,r,o,a,u){var f,p,m;if(!a[t.a]){for(a[t.a]=!0,f=o,!f&&(f=new XP),Fe(f.e,t),m=u[t.a].Jc();m.Ob();)p=l(m.Pb(),292),!(p.d==r||p.c==r)&&(p.c!=t&&Fme(e,p.c,t,f,a,u),p.d!=t&&Fme(e,p.d,t,f,a,u),Fe(f.c,p),li(f.d,p.b));return f}return null}function f2n(e){var t,r,o,a,u,f,p;for(t=0,a=new V(e.e);a.a<a.c.c.length;)o=l(q(a),17),r=hE(new vt(null,new St(o.b,16)),new A7e),r&&++t;for(f=new V(e.g);f.a<f.c.c.length;)u=l(q(f),17),p=hE(new vt(null,new St(u.b,16)),new _7e),p&&++t;return t>=2}function h2n(e,t,r,o,a){var u,f,p,m,y,v;for(u=e.c.d.j,f=l(sa(r,0),8),v=1;v<r.b;v++)y=l(sa(r,v),8),Wr(o,f,o.c.b,o.c),p=tp(mr(new To(f),y),.5),m=tp(new OW(qge(u)),a),mr(p,m),Wr(o,p,o.c.b,o.c),f=y,u=t==0?Gj(u):p1e(u);Gn(o,(cn(r.b!=0),l(r.c.b.c,8)))}function p2n(e){_y();var t,r,o;return r=xr(ku,Z(X(Go,1),Ce,96,0,[ud])),!(T6(MP(r,e))>1||(t=xr(ad,Z(X(Go,1),Ce,96,0,[Ip,cd])),T6(MP(t,e))>1)||(o=xr(ld,Z(X(Go,1),Ce,96,0,[Rh,Il])),T6(MP(o,e))>1))}function bwt(e){var t,r,o,a,u,f,p;for(t=0,o=new V(e.a);o.a<o.c.c.length;)for(r=l(q(o),9),u=new Ft(Gt(Or(r).a.Jc(),new D));an(u);)a=l(en(u),17),e==a.d.i.c&&a.c.j==(He(),Wt)&&(f=qd(a.c).b,p=qd(a.d).b,t=b.Math.max(t,b.Math.abs(p-f)));return t}function $me(e,t,r){var o,a,u;for(u=new V(e.t);u.a<u.c.c.length;)o=l(q(u),275),o.b.s<0&&o.c>0&&(o.b.n-=o.c,o.b.n<=0&&o.b.u>0&&Gn(t,o.b));for(a=new V(e.i);a.a<a.c.c.length;)o=l(q(a),275),o.a.s<0&&o.c>0&&(o.a.u-=o.c,o.a.u<=0&&o.a.n>0&&Gn(r,o.a))}function g2n(e){var t,r,o,a,u,f;for(f=l(ve(e,(_n(),df)),100),r=0,o=0,u=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));u.e!=u.i.gc();)a=l(rn(u),19),t=l(ve(a,Cp),125),r<a.i+a.g+t.c&&(r=a.i+a.g+t.c),o<a.j+a.f+t.a&&(o=a.j+a.f+t.a);Hb(e,r+f.c),Ub(e,o+f.a)}function RF(e){var t,r,o,a,u;if(e.g==null&&(e.d=e._i(e.f),Tn(e,e.d),e.c))return u=e.f,u;if(t=l(e.g[e.i-1],51),a=t.Pb(),e.e=t,r=e._i(a),r.Ob())e.d=r,Tn(e,r);else for(e.d=null;!t.Ob()&&(ii(e.g,--e.i,null),e.i!=0);)o=l(e.g[e.i-1],51),t=o;return a}function b2n(e,t){var r,o,a,u,f,p;if(o=t,a=o.Jk(),wp(e.e,a)){if(a.Qi()&&zP(e,a,o.kd()))return!1}else for(p=za(e.e.Ah(),a),r=l(e.g,123),u=0;u<e.i;++u)if(f=r[u],p.$l(f.Jk()))return gr(f,o)?!1:(l(SE(e,u,t),76),!0);return Tn(e,t)}function Ht(){Ht=K,Xr=new pS("NORMAL",0),bi=new pS("LONG_EDGE",1),yi=new pS("EXTERNAL_PORT",2),_a=new pS("NORTH_SOUTH_PORT",3),ta=new pS("LABEL",4),af=new pS("BREAKING_POINT",5),rL=new pS("PLACEHOLDER",6),AI=new pS("NONSHIFTING_PLACEHOLDER",7)}function m2n(e,t,r,o){var a,u,f,p;for(a=new Xd(e),Jh(a,(Ht(),ta)),Te(a,(Ie(),wr),t),Te(a,OI,o),Te(a,(Ue(),Zr),(qi(),fa)),Te(a,Cd,t.c),Te(a,Nl,t.d),gJ(t,a),p=b.Math.floor(r/2),f=new V(a.j);f.a<f.c.c.length;)u=l(q(f),12),u.n.b=p;return a}function tD(){tD=K,$ee=new Yv(Mwe,0),YSe=new Yv(SSt,1),Uee=new Yv(zX,2),Hee=new Yv(FX,3),Bee=new Yv("GREEDY_MODEL_ORDER",4),zee=new Yv("SCC_CONNECTIVITY",5),cL=new Yv("SCC_NODE_TYPE",6),Fee=new Yv("DFS_NODE_ORDER",7),jee=new Yv("BFS_NODE_ORDER",8)}function mwt(e,t,r){var o,a,u,f,p;for(r.Tg("ELK Force",1),Ye(Ke(ve(t,(ed(),O2e))))||P3((o=new OA((n1(),new Yp(t))),o)),p=hpt(t),Jmn(p),Opn(e,l(F(p,R2e),429)),f=pvt(e.a,p),u=f.Jc();u.Ob();)a=l(u.Pb(),238),i_n(e.b,a,r.dh(1/f.gc()));p=IEt(f),$Et(p),r.Ug()}function Bme(e,t,r){switch(r.g){case 1:return new Me(t.a,b.Math.min(e.d.b,t.b));case 2:return new Me(b.Math.max(e.c.a,t.a),t.b);case 3:return new Me(t.a,b.Math.max(e.c.b,t.b));case 4:return new Me(b.Math.min(t.a,e.d.a),t.b)}return new Me(t.a,t.b)}function w2n(e,t){var r,o,a,u,f;if(t.Tg("Breaking Point Processor",1),rNn(e),Ye(Ke(F(e,(Ue(),ZAe))))){for(a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),r=0,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),u.p=r++;K_n(e),Pwt(e,!0),Pwt(e,!1)}t.Ug()}function OF(e){var t,r,o;for(t=uh(1+(!e.c&&(e.c=new ke(Gc,e,9,9)),e.c).i),Fe(t,(!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d)),o=new tn((!e.c&&(e.c=new ke(Gc,e,9,9)),e.c));o.e!=o.i.gc();)r=l(rn(o),127),Fe(t,(!r.d&&(r.d=new Tt(Ir,r,8,5)),r.d));return kn(t),new g3(t)}function mp(e){var t,r,o;for(t=uh(1+(!e.c&&(e.c=new ke(Gc,e,9,9)),e.c).i),Fe(t,(!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e)),o=new tn((!e.c&&(e.c=new ke(Gc,e,9,9)),e.c));o.e!=o.i.gc();)r=l(rn(o),127),Fe(t,(!r.e&&(r.e=new Tt(Ir,r,7,4)),r.e));return kn(t),new g3(t)}function y2n(e){var t,r,o,a;if(e==null)return null;if(o=Ta(e,!0),a=JD.length,wt(o.substr(o.length-a,a),JD)){if(r=o.length,r==4){if(t=(Jt(0,o.length),o.charCodeAt(0)),t==43)return Y3e;if(t==45)return BLt}else if(r==3)return Y3e}return Sy(o)}function v2n(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(T=o?(He(),Wt):(He(),Qt),a=!1,m=t[r],y=0,v=m.length;y<v;++y)p=m[y],!AS(l(F(p,(Ue(),Zr)),103))&&(f=p.e,N=!ks(p,T).dc()&&!!f,N&&(u=Rbe(f),e.b=new Dbe(u,o?0:u.length-1)),a=a|aTn(e,p,T,N));return a}function wwt(e,t,r,o){var a,u,f;if(f=Ebe(t,r),Rt(o.c,t),e.j[f.p]==-1||e.j[f.p]==2||e.a[t.p])return o;for(e.j[f.p]=-1,u=new Ft(Gt(Lf(f).a.Jc(),new D));an(u);)if(a=l(en(u),17),!(!(!fo(a)&&!(!fo(a)&&a.c.i.c==a.d.i.c))||a==t))return wwt(e,a,f,o);return o}function E2n(e){var t,r,o,a;for(t=0,r=0,a=new V(e.j);a.a<a.c.c.length;)if(o=l(q(a),12),t=On(_o(t,jlt(dr(new vt(null,new St(o.e,16)),new ZUe)))),r=On(_o(r,jlt(dr(new vt(null,new St(o.g,16)),new QUe)))),t>1||r>1)return 2;return t+r==1?2:0}function Bc(e,t){var r,o,a,u,f,p;return u=e.a*kX+e.b*1502,p=e.b*kX+11,r=b.Math.floor(p*_D),u+=r,p-=r*hwe,u%=hwe,e.a=u,e.b=p,t<=24?b.Math.floor(e.a*y2e[t]):(a=e.a*(1<<t-24),f=b.Math.floor(e.b*v2e[t]),o=a+f,o>=2147483648&&(o-=4294967296),o)}function ywt(e,t,r){var o,a,u,f,p,m,y;for(u=new je,y=new Ar,f=new Ar,j_n(e,y,f,t),wkn(e,y,f,t,r),m=new V(e);m.a<m.c.c.length;)for(p=l(q(m),117),a=new V(p.k);a.a<a.c.c.length;)o=l(q(a),135),(!t||o.c==(vd(),H1))&&p.g>o.b.g&&Rt(u.c,o);return u}function S2n(e,t,r){var o,a,u,f,p,m;for(p=e.c,f=(r.q?r.q:(At(),At(),xh)).vc().Jc();f.Ob();)u=l(f.Pb(),45),o=!BA(dr(new vt(null,new St(p,16)),new RA(new Vtt(t,u)))).zd((_b(),TT)),o&&(m=u.kd(),se(m,4)&&(a=U1e(m),a!=null&&(m=a)),t.of(l(u.jd(),149),m))}function T2n(e,t){var r,o,a,u;for(t.Tg("Resize child graph to fit parent.",1),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),26),li(e.a,r.a),r.a.c.length=0;for(u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),9),Oi(a,null);e.b.c.length=0,zSn(e),e.e&&PAn(e.e,e),t.Ug()}function A2n(e,t){var r,o,a,u,f;for(t.Tg("Edge joining",1),r=Ye(Ke(F(e,(Ue(),Ite)))),a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new Ji(o.a,0);f.b<f.d.gc();)u=(cn(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),9)),u.k==(Ht(),bi)&&(HJ(u,r),Mc(f));t.Ug()}function _2n(e,t,r){var o,a;if(M3(e.b),pu(e.b,(M6(),YB),(JN(),ML)),pu(e.b,JB,t.g),pu(e.b,XB,t.a),e.a=FC(e.b,t),r.Tg("Compaction by shrinking a tree",e.a.c.length),t.i.c.length>1)for(a=new V(e.a);a.a<a.c.c.length;)o=l(q(a),43),o.If(t,r.dh(1));r.Ug()}function Ume(e,t,r){var o,a,u;if(u=RE((mc(),ao),e.Ah(),t),u){if(Mo(),!l(u,69).vk()&&(u=MS(is(ao,u)),!u))throw Y(new jt(O1+t.ve()+iI));a=(o=e.Fh(u),l(o>=0?e.Ih(o,!0,!0):O0(e,u,!0),164)),l(a,222).Vl(t,r)}else throw Y(new jt(O1+t.ve()+iI))}function x2n(e,t,r){var o,a,u,f,p,m;if(m=Wde(e,l(Ut(e.e,t),19)),p=null,m)switch(m.g){case 3:o=gde(e,ry(t)),p=(Mt(r),r+(Mt(o),o));break;case 2:a=gde(e,ry(t)),f=(Mt(r),r+(Mt(a),a)),u=gde(e,l(Ut(e.e,t),19)),p=f-(Mt(u),u);break;default:p=r}else p=r;return p}function k2n(e,t,r){var o,a,u,f,p,m;if(m=Wde(e,l(Ut(e.e,t),19)),p=null,m)switch(m.g){case 3:o=bde(e,ry(t)),p=(Mt(r),r+(Mt(o),o));break;case 2:a=bde(e,ry(t)),f=(Mt(r),r+(Mt(a),a)),u=bde(e,l(Ut(e.e,t),19)),p=f-(Mt(u),u);break;default:p=r}else p=r;return p}function DF(e,t){var r,o,a,u,f;if(t){for(u=se(e.Cb,89)||se(e.Cb,104),f=!u&&se(e.Cb,336),o=new tn((!t.a&&(t.a=new A3(t,qo,t)),t.a));o.e!=o.i.gc();)if(r=l(rn(o),88),a=GF(r),u?se(a,89):f?se(a,160):a)return a;return u?(_t(),Ml):(_t(),bf)}else return null}function N2n(e,t){var r,o,a,u,f;for(r=new je,a=bs(new vt(null,new St(e,16)),new mHe),u=bs(new vt(null,new St(e,16)),new wHe),f=lfn(Idn(ny($2n(Z(X(oCn,1),It,840,0,[a,u])),new yHe))),o=1;o<f.length;o++)f[o]-f[o-1]>=2*t&&Fe(r,new jV(f[o-1]+t,f[o]-t));return r}function vwt(e,t,r){var o,a,u,f,p,m,y,v;if(r)for(u=r.a.length,o=new Ib(u),p=(o.b-o.a)*o.c<0?(i1(),tb):new a1(o);p.Ob();)f=l(p.Pb(),15),a=f_(r,f.a),a&&(m=Mln(e,(y=(t1(),v=new Bue,v),t&&Hme(y,t),y),a),v_(m,sp(a,qf)),SF(a,m),lme(a,m),BK(e,a,m))}function LF(e){var t,r,o,a,u,f;if(!e.j){if(f=new gqe,t=L4,u=t.a.yc(e,t),u==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),a=LF(r),ti(f,a),Tn(f,r);t.a.Ac(e)!=null}gy(f),e.j=new eE((l(ie(Ne((c1(),Bt).o),11),20),f.i),f.g),Pc(e).b&=-33}return e.j}function C2n(e){var t,r,o,a;if(e==null)return null;if(o=Ta(e,!0),a=JD.length,wt(o.substr(o.length-a,a),JD)){if(r=o.length,r==4){if(t=(Jt(0,o.length),o.charCodeAt(0)),t==43)return J3e;if(t==45)return ULt}else if(r==3)return J3e}return new Oue(o)}function I2n(e){var t,r,o;return r=e.l,r&r-1||(o=e.m,o&o-1)||(t=e.h,t&t-1)||t==0&&o==0&&r==0?-1:t==0&&o==0&&r!=0?rge(r):t==0&&o!=0&&r==0?rge(o)+22:t!=0&&o==0&&r==0?rge(t)+44:-1}function NE(e,t){var r,o,a,u,f;for(a=t.a&e.f,u=null,o=e.b[a];;o=o.b){if(o==t){u?u.b=t.b:e.b[a]=t.b;break}u=o}for(f=t.f&e.f,u=null,r=e.c[f];;r=r.d){if(r==t){u?u.d=t.d:e.c[f]=t.d;break}u=r}t.e?t.e.c=t.c:e.a=t.c,t.c?t.c.e=t.e:e.e=t.e,--e.i,++e.g}function R2n(e,t){var r;t.d?t.d.b=t.b:e.a=t.b,t.b?t.b.d=t.d:e.e=t.d,!t.e&&!t.c?(r=l(wl(l(FS(e.b,t.a),263)),263),r.a=0,++e.c):(r=l(wl(l(Ut(e.b,t.a),263)),263),--r.a,t.e?t.e.c=t.c:r.b=l(wl(t.c),501),t.c?t.c.e=t.e:r.c=l(wl(t.e),501)),--e.d}function hJ(e,t){var r,o,a,u;for(u=new Ji(e,0),r=(cn(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),148));u.b<u.d.gc();)o=(cn(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),148)),a=new Lfe(o.c,r.d,t),cn(u.b>0),u.a.Xb(u.c=--u.b),Kw(u,a),cn(u.b<u.d.gc()),u.d.Xb(u.c=u.b++),a.a=!1,r=o}function Ewt(e){var t,r,o,a,u,f;for(a=l(F(e,(Ie(),nB)),12),f=new V(e.j);f.a<f.c.c.length;){for(u=l(q(f),12),o=new V(u.g);o.a<o.c.c.length;)return t=l(q(o),17),Yi(t,a),u;for(r=new V(u.e);r.a<r.c.c.length;)return t=l(q(r),17),mo(t,a),u}return null}function Swt(e,t,r){var o,a,u,f,p,m;for(m=l(qw(e.a,t),15).a,r?Obe(e.a,Oe(m+1),t):Obe(e.a,Oe(m-1),t),f=new ch,a=new Ft(Gt((r?Or(t):si(t)).a.Jc(),new D));an(a);)o=l(en(a),17),r?u=o.d.i:u=o.c.i,me(qw(e.a,u))===me(qw(e.a,t))&&(p=f.a.yc(u,f),p==null);return f}function O2n(e,t,r){var o,a;o=Gs(r.q.getTime()),Ea(o,0)<0?(a=yg-On(hY(cg(o),yg)),a==yg&&(a=0)):a=On(hY(o,yg)),t==1?(a=b.Math.min((a+50)/100|0,9),Db(e,48+a&Ti)):t==2?(a=b.Math.min((a+5)/10|0,99),bh(e,a,2)):(bh(e,a,3),t>3&&bh(e,0,t-3))}function D2n(e){var t,r,o,a;return me(F(e,(Ue(),Yy)))===me((pp(),Ig))?!e.e&&me(F(e,mL))!==me((__(),uL)):(o=l(F(e,wte),303),a=Ye(Ke(F(e,yte)))||me(F(e,BI))===me((lC(),aL)),t=l(F(e,pAe),15).a,r=e.a.c.length,!a&&o!=(__(),uL)&&(t==0||t>r))}function L2n(e,t){var r,o,a,u,f,p,m;for(a=e.Jc();a.Ob();)for(o=l(a.Pb(),9),p=new aa,As(p,o),Ii(p,(He(),Qt)),Te(p,(Ie(),sB),(Lt(),!0)),f=t.Jc();f.Ob();)u=l(f.Pb(),9),m=new aa,As(m,u),Ii(m,Wt),Te(m,sB,!0),r=new p0,Te(r,sB,!0),mo(r,p),Yi(r,m)}function M2n(e){var t,r;for(r=0;r<e.c.length&&!(Mot((at(r,e.c.length),l(e.c[r],114)))>0);r++);if(r>0&&r<e.c.length-1)return r;for(t=0;t<e.c.length&&!(Mot((at(t,e.c.length),l(e.c[t],114)))>0);t++);return t>0&&r<e.c.length-1?t:e.c.length/2|0}function Twt(e,t){var r,o,a,u,f,p,m;for(a=0,f=new V(t.a);f.a<f.c.c.length;)for(u=l(q(f),9),a+=u.o.b+u.d.a+u.d.d+e.e,o=new Ft(Gt(si(u).a.Jc(),new D));an(o);)r=l(en(o),17),r.c.i.k==(Ht(),_a)&&(m=r.c.i,p=l(F(m,(Ie(),wr)),9),a+=p.o.b+p.d.a+p.d.d);return a}function P2n(e,t){var r,o,a,u;t.Tg("Min Size Preprocessing",1),o=ome(e),Br(e)&&(r=(n1(),new Yp(Br(e))),u=new U8(Br(e)?new Yp(Br(e)):null,e),a=V0e(r,u,!1,!0),o.a=b.Math.max(o.a,a.a),o.b=b.Math.max(o.b,a.b)),Vn(e,(yh(),c4),o.a),Vn(e,VB,o.b),t.Ug()}function Awt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=6&&t){if(z_(e,t))throw Y(new jt(oI+M0t(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?ube(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,6,o)),o=Yde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,6,t,t))}function MF(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(z_(e,t))throw Y(new jt(oI+Cvt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?hbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,12,o)),o=Kde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,3,t,t))}function Hme(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=9&&t){if(z_(e,t))throw Y(new jt(oI+Tyt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?dbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,9,o)),o=Jde(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,9,t,t))}function J_(e){var t,r,o,a,u;if(o=Sl(e),u=e.j,u==null&&o)return e.Hk()?null:o.gk();if(se(o,160)){if(r=o.hk(),r&&(a=r.ti(),a!=e.i)){if(t=l(o,160),t.lk())try{e.g=a.qi(t,u)}catch(f){if(f=ui(f),se(f,81))e.g=null;else throw Y(f)}e.i=a}return e.g}return null}function _wt(e){var t;return t=new je,Fe(t,new hS(new Me(e.c,e.d),new Me(e.c+e.b,e.d))),Fe(t,new hS(new Me(e.c,e.d),new Me(e.c,e.d+e.a))),Fe(t,new hS(new Me(e.c+e.b,e.d+e.a),new Me(e.c+e.b,e.d))),Fe(t,new hS(new Me(e.c+e.b,e.d+e.a),new Me(e.c,e.d+e.a))),t}function j2n(e){var t,r,o,a;for(o=e.a.d.j,a=e.c.d.j,r=new V(e.i.d);r.a<r.c.c.length;)t=l(q(r),70),Te(t,(Ue(),o2),null);o==(He(),Vt)?ig(e,Vt,(Xl(),qx),e.a):a==Vt?ig(e,Vt,(Xl(),Vx),e.c):o==dn?ig(e,dn,(Xl(),Vx),e.a):a==dn&&ig(e,dn,(Xl(),qx),e.c)}function F2n(e){var t,r,o;if(e==null)return tc;try{return ms(e)}catch(a){if(a=ui(a),se(a,102))return t=a,o=Ab(ru(e))+"@"+(r=(eg(),z1e(e)>>>0),r.toString(16)),obn(cpn(),(GA(),"Exception during lenientFormat for "+o),t),"<"+o+" threw "+Ab(t.Pm)+">";throw Y(a)}}function $2n(e){var t,r,o,a,u,f,p,m,y;for(o=!1,t=336,r=0,u=new Tit(e.length),p=e,m=0,y=p.length;m<y;++m)f=p[m],o=o|(v1(f),!1),a=(u1(f),f.a),Fe(u.a,kn(a)),t&=a.wd(),r=Kpn(r,a.xd());return l(l(Lst(new vt(null,XY(new St(H1e(u.a),16),new A,t,r)),new YKe(e)),684),840)}function B2n(e,t,r,o){var a,u,f,p;a=Jgt(e,t,r),u=Jgt(e,r,t),f=l(Ut(e.c,t),117),p=l(Ut(e.c,r),117),a<u?new Pb((vd(),ov),f,p,u-a):u<a?new Pb((vd(),ov),p,f,a-u):(a!=0||!(!t.i||!r.i)&&o[t.i.c][r.i.c])&&(new Pb((vd(),ov),f,p,0),new Pb(ov,p,f,0))}function U2n(e,t,r){var o,a,u,f,p;for(r.Tg("Breaking Point Removing",1),e.a=l(F(t,(Ue(),kp)),225),u=new V(t.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(jb(a.a));p.a<p.c.c.length;)f=l(q(p),9),hft(f)&&(o=l(F(f,(Ie(),ew)),318),!o.d&&EEt(e,o));r.Ug()}function xC(){xC=K,h2=new vO("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),BT=new vO("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),f4=new vO("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),d4=new vO("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),LL=new vO("WHOLE_DRAWING",4)}function H2n(e){var t,r,o,a;for(o=new hy(new Mw(e.b).a);o.b;)r=bE(o),a=l(r.jd(),12),t=l(r.kd(),9),Te(t,(Ie(),wr),a),Te(a,Nc,t),Te(a,hL,(Lt(),!0)),Ii(a,l(F(t,Hs),64)),F(t,Hs),Te(a.i,(Ue(),Zr),(qi(),Sk)),l(F(ji(a.i),xa),24).Ec(($o(),Qx))}function z2n(e){var t,r,o,a,u,f,p;for(u=new Ar,a=new V(e.d.a);a.a<a.c.c.length;)o=l(q(a),126),o.b.a.c.length==0&&Wr(u,o,u.c.b,u.c);if(u.b>1)for(t=o0((r=new Tb,++e.b,r),e.d),p=An(u,0);p.b!=p.d.c;)f=l(Sn(p),126),Ql($l(Ul(Hl(Bl(new gl,1),0),t),f))}function PF(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=11&&t){if(z_(e,t))throw Y(new jt(oI+u0e(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?pbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=XS(t,e,10,o)),o=sfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,11,t,t))}function G2n(e,t,r){var o,a,u,f,p,m;if(u=0,f=0,e.c)for(m=new V(e.d.i.j);m.a<m.c.c.length;)p=l(q(m),12),u+=p.e.c.length;else u=1;if(e.d)for(m=new V(e.c.i.j);m.a<m.c.c.length;)p=l(q(m),12),f+=p.g.c.length;else f=1;return a=bo(GO(f-u)),o=(r+t)/2+(r-t)*(.4*a),o}function q2n(e,t){var r,o,a,u,f,p;for(t.Tg("Partition postprocessing",1),o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)for(a=l(q(u),9),p=new V(a.j);p.a<p.c.c.length;)f=l(q(p),12),Ye(Ke(F(f,(Ie(),sB))))&&C3(p);t.Ug()}function V2n(e){Ey();var t,r;if(e.Gc((He(),Is)))throw Y(new jt("Port sides must not contain UNDEFINED"));switch(e.gc()){case 1:return sL;case 2:return t=e.Gc(Qt)&&e.Gc(Wt),r=e.Gc(Vt)&&e.Gc(dn),t||r?W$:V$;case 3:return q$;case 4:return G$;default:return null}}function xwt(e,t,r){return Z_(),IK(e,t)&&IK(e,r)?!1:GJ(new Me(e.c,e.d),new Me(e.c+e.b,e.d),t,r)||GJ(new Me(e.c+e.b,e.d),new Me(e.c+e.b,e.d+e.a),t,r)||GJ(new Me(e.c+e.b,e.d+e.a),new Me(e.c,e.d+e.a),t,r)||GJ(new Me(e.c,e.d+e.a),new Me(e.c,e.d),t,r)}function zme(e,t){var r,o,a,u;if(!e.dc()){for(r=0,o=e.gc();r<o;++r)if(u=In(e.Xb(r)),u==null?t==null:wt(u.substr(0,3),"!##")?t!=null&&(a=t.length,!wt(u.substr(u.length-a,a),t)||u.length!=t.length+3)&&!wt(lm,t):wt(u,xQ)&&!wt(lm,t)||wt(u,t))return!0}return!1}function W2n(e,t,r,o){var a,u,f,p,m,y;for(f=e.j.c.length,m=we(cCn,vwe,319,f,0,1),p=0;p<f;p++)u=l(ze(e.j,p),12),u.p=p,m[p]=tEn(V0t(u),r,o);for(ySn(e,m,r,t,o),y=new hn,a=0;a<m.length;a++)m[a]&&Jn(y,l(ze(e.j,a),12),m[a]);y.f.c+y.i.c!=0&&(Te(e,(Ie(),RI),y),_yn(e,m))}function K2n(e,t,r){var o,a,u;for(a=new V(e.a.b);a.a<a.c.c.length;)if(o=l(q(a),60),u=dE(o),u&&u.k==(Ht(),yi))switch(l(F(u,(Ie(),Hs)),64).g){case 4:u.n.a=t.a;break;case 2:u.n.a=r.a-(u.o.a+u.d.c);break;case 1:u.n.b=t.b;break;case 3:u.n.b=r.b-(u.o.b+u.d.a)}}function Y2n(e,t,r){var o,a,u;for(r.Tg("Processor determine the height for each level",1),e.a=t.b.b==0?1:t.b.b,a=null,o=An(t.b,0);!a&&o.b!=o.d.c;)u=l(Sn(o),41),Ye(Ke(F(u,(Nr(),G1))))&&(a=u);a&&wvt(e,Wl(Z(X(PB,1),M7,41,0,[a])),r,l(F(t,(js(),cw)),87)),r.Ug()}function J2n(e){var t,r,o,a,u,f;for(o=(t1(),u=new $N,u),nD(o,e),r=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));r.e!=r.i.gc();)t=l(rn(r),19),f=(a=new $N,a),PF(f,o),i0(f,t.g,t.f),v_(f,t.k),Bu(f,t.i,t.j),Tn((!o.a&&(o.a=new ke(En,o,10,11)),o.a),f),nD(f,t);return o}function X2n(e,t,r){var o,a,u,f,p;return a=l(ve(t,(_F(),Xke)),15),!a&&(a=Oe(0)),u=l(ve(r,Xke),15),!u&&(u=Oe(0)),a.a>u.a?-1:a.a<u.a?1:e.a&&(o=vr(t.j,r.j),o!=0||(o=vr(t.i,r.i),o!=0))?o:(f=t.g*t.f,p=r.g*r.f,vr(f,p))}function Z2n(e,t){var r,o,a,u,f,p,m,y,v,T;if(++e.e,m=e.d==null?0:e.d.length,t>m){for(v=e.d,e.d=we(E3e,CEe,67,2*m+4,0,1),u=0;u<m;++u)if(y=v[u],y)for(o=y.g,T=y.i,p=0;p<T;++p)a=l(o[p],138),f=Xde(e,a.yi()),r=e.d[f],!r&&(r=e.d[f]=e.bk()),r.Ec(a);return!0}else return!1}function Q2n(e,t,r){var o,a,u,f,p,m;if(a=r,u=a.Jk(),wp(e.e,u)){if(u.Qi()){for(o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],gr(p,a)&&f!=t)throw Y(new jt(GD))}}else for(m=za(e.e.Ah(),u),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk()))throw Y(new jt(YD));aC(e,t,r)}function kwt(e,t){var r,o,a,u,f,p;for(r=l(F(t,(Ie(),_p)),24),f=l(yr((KJ(),_r),r),24),p=l(yr(Wn,r),24),u=f.Jc();u.Ob();)if(o=l(u.Pb(),24),!l(yr(e.b,o),16).dc())return!1;for(a=p.Jc();a.Ob();)if(o=l(a.Pb(),24),!l(yr(e.b,o),16).dc())return!1;return!0}function eSn(e,t,r){e.d=0,e.b=0,t.k==(Ht(),_a)&&r.k==_a&&l(F(t,(Ie(),wr)),9)==l(F(r,wr),9)&&(aK(t).j==(He(),Vt)?pwt(e,t,r):pwt(e,r,t)),t.k==_a&&r.k==bi?aK(t).j==(He(),Vt)?e.d=1:e.b=1:r.k==_a&&t.k==bi&&(aK(r).j==(He(),Vt)?e.b=1:e.d=1),tmn(e,t,r)}function Gme(e,t){var r,o,a,u,f,p,m,y,v;if(e.a.c.length==1)return Tmt(l(ze(e.a,0),175),t);for(f=mgn(e),m=0,y=e.d,u=f,v=e.d,p=(y-u)/2+u;u+1<y;){for(m=0,o=new V(e.a);o.a<o.c.c.length;)r=l(q(o),175),m+=(a=MC(r,p,!1),a.a);m<t?(v=p,y=p):u=p,p=(y-u)/2+u}return v}function nD(e,t){var r,o,a,u,f;if(!t)return e;if(se(t,344))for(a=l(t,344),u=(!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),e.o),o=a.fh().c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),45),f=r.kd(),V6(u,l(r.jd(),149),f);else!e.o&&(e.o=new pc((Qs(),Dh),Rg,e,0)),hht(e.o,t.lf());return e}function qme(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;return v=null,M=Dme(e,t),m=null,M&&(m=$mn(e,M)),U=m,r=null,a=le(Ut(e.i,U)),a!=null?r=a:r=Oe(0),N=r,o=null,u=le(Ut(e.j,U)),u!=null?o=u:o=Oe(0),R=o,y=t.i,f=fit(y,N),Jn(e.i,t,f),T=t.j,p=fit(T,R),v=le(Jn(e.j,t,p)),v}function tSn(e){var t,r,o,a,u;return isNaN(e)?(m_(),ZEe):e<-9223372036854776e3?(m_(),nxt):e>=9223372036854776e3?(m_(),JEe):(a=!1,e<0&&(a=!0,e=-e),o=0,e>=nm&&(o=bo(e/nm),e-=o*nm),r=0,e>=fT&&(r=bo(e/fT),e-=r*fT),t=bo(e),u=Ua(t,r,o),a&&$K(u),u)}function nSn(e){var t,r,o,a,u;if(u=new je,La(e.b,new bYe(u)),e.b.c.length=0,u.c.length!=0){for(t=(at(0,u.c.length),l(u.c[0],81)),r=1,o=u.c.length;r<o;++r)a=(at(r,u.c.length),l(u.c[r],81)),a!=t&&Zbt(t,a);if(se(t,63))throw Y(l(t,63));if(se(t,298))throw Y(l(t,298))}}function rSn(e,t){var r,o,a,u;for(r=!t||!e.u.Gc((xc(),Rp)),u=0,a=new V(e.e.Vf());a.a<a.c.c.length;){if(o=l(q(a),844),o.$f()==(He(),Is))throw Y(new jt("Label and node size calculator can only be used with ports that have port sides assigned."));o.Of(u++),cgn(e,o,r)}}function Nwt(e,t,r){var o,a,u;for(Gu(t,(QS(),pk))&&(r=ce(le(ve(t,pk)))),gc(t,r),u=r+e.a+t.f+b.Math.max(l(ve(t,(_n(),Cp)),125).a,e.b),a=0;a<(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i;a++)o=l(ie(a_(l(ie((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),a),74)),0),19),Nwt(e,o,u)}function Vme(e){var t,r,o,a,u;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),321),t.j=null,u=t.a.a.ec().Jc();u.Ob();)o=l(u.Pb(),60),wd(o.b),(!t.j||o.d.c<t.j.d.c)&&(t.j=o);for(a=t.a.a.ec().Jc();a.Ob();)o=l(a.Pb(),60),o.b.a=o.d.c-t.j.d.c,o.b.b=o.d.d-t.j.d.d}return e}function jF(e){var t,r,o,a,u;for(r=new V(e.a.a);r.a<r.c.c.length;){for(t=l(q(r),197),t.f=null,u=t.a.a.ec().Jc();u.Ob();)o=l(u.Pb(),84),wd(o.e),(!t.f||o.g.c<t.f.g.c)&&(t.f=o);for(a=t.a.a.ec().Jc();a.Ob();)o=l(a.Pb(),84),o.e.a=o.g.c-t.f.g.c,o.e.b=o.g.d-t.f.g.d}return e}function iSn(e,t,r){var o,a,u,f,p;for(f=oC(e,r),p=we(Nh,vg,9,t.length,0,1),o=0,u=f.Jc();u.Ob();)a=l(u.Pb(),12),Ye(Ke(F(a,(Ie(),hL))))&&(p[o++]=l(F(a,Nc),9));if(o<t.length)throw Y(new ts("Expected "+t.length+" hierarchical ports, but found only "+o+"."));return p}function oSn(e){var t,r,o,a,u,f,p,m,y,v,T;return T=Fbe(e),t=e.a,m=t!=null,m&&e_(T,"category",e.a),a=aO(new Xh(e.d)),f=!a,f&&(y=new Eb,Kl(T,"knownOptions",y),r=new XXe(y),lo(new Xh(e.d),r)),u=aO(e.g),p=!u,p&&(v=new Eb,Kl(T,"supportedFeatures",v),o=new ZXe(v),lo(e.g,o)),T}function sSn(e,t){var r;e.d&&(t.c!=e.e.c||Ahn(e.e.b,t.b))&&(Fe(e.f,e.d),e.a=e.d.c+e.d.b,e.d=null,e.e=null),atn(t.b)?e.c=t:e.b=t,(t.b==(x_(),X0)&&!t.a||t.b==By&&t.a||t.b==VE&&t.a||t.b==Uy&&!t.a)&&e.c&&e.b&&(r=new ql(e.a,e.c.d,t.c-e.a,e.b.d-e.c.d),e.d=r,e.e=t)}function wh(){wh=K,Sm=new lr("LEFT_OUTLINE"),av=new lr("RIGHT_OUTLINE"),Xf=new lr("OUTLINE_MAX_DEPTH"),hk=new lr("MIN_X"),fk=new lr("MAX_X"),u6t=new lr("MIN_Y"),Yne=new lr("MAX_Y"),h4=new lr("root"),uw=new lr("EDGE_BEND_HEIGHT"),PL=new lr("Node Model Order")}function Wme(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=7&&t){if(z_(e,t))throw Y(new jt(oI+Cmt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?lbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=l(t,52).Oh(e,1,t5,o)),o=Yfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,7,t,t))}function Cwt(e,t){var r,o;if(t!=e.Cb||e.Db>>16!=3&&t){if(z_(e,t))throw Y(new jt(oI+pgt(e)));o=null,e.Cb&&(o=(r=e.Db>>16,r>=0?fbe(e,o):e.Cb.Qh(e,-1-r,null,o))),t&&(o=l(t,52).Oh(e,0,r5,o)),o=Jfe(e,t,o),o&&o.mj()}else e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,3,t,t))}function pJ(e,t){Q_();var r,o,a,u,f,p,m,y,v;return t.d>e.d&&(p=e,e=t,t=p),t.d<63?VSn(e,t):(f=(e.d&-2)<<4,y=ppe(e,f),v=ppe(t,f),o=LJ(e,jS(y,f)),a=LJ(t,jS(v,f)),m=pJ(y,v),r=pJ(o,a),u=pJ(LJ(y,o),LJ(a,v)),u=UJ(UJ(u,m),r),u=jS(u,f),m=jS(m,f<<1),UJ(UJ(m,u),r))}function rD(){rD=K,Pte=new Jv(PSt,0),t_e=new Jv("LONGEST_PATH",1),n_e=new Jv("LONGEST_PATH_SOURCE",2),Lte=new Jv("COFFMAN_GRAHAM",3),e_e=new Jv(zX,4),r_e=new Jv("STRETCH_WIDTH",5),_B=new Jv("MIN_WIDTH",6),Dte=new Jv("BF_MODEL_ORDER",7),Mte=new Jv("DF_MODEL_ORDER",8)}function aSn(e,t){var r,o,a,u,f,p;if(!e.tb){for(u=(!e.rb&&(e.rb=new Qw(e,Ld,e)),e.rb),p=new dS(u.i),a=new tn(u);a.e!=a.i.gc();)o=l(rn(a),146),f=o.ve(),r=l(f==null?ec(p.f,null,o):_0(p.i,f,o),146),r&&(f==null?ec(p.f,null,r):_0(p.i,f,r));e.tb=p}return l(wa(e.tb,t),146)}function iD(e,t){var r,o,a,u,f;if((e.i==null&&Ff(e),e.i).length,!e.p){for(f=new dS((3*e.g.i/2|0)+1),a=new ES(e.g);a.e!=a.i.gc();)o=l(SY(a),182),u=o.ve(),r=l(u==null?ec(f.f,null,o):_0(f.i,u,o),182),r&&(u==null?ec(f.f,null,r):_0(f.i,u,r));e.p=f}return l(wa(e.p,t),182)}function Kme(e,t,r,o,a){var u,f,p,m,y;for(Z1n(o+OP(r,r.ge()),a),qst(t,E1n(r)),u=r.f,u&&Kme(e,t,u,"Caused by: ",!1),p=(r.k==null&&(r.k=we(HQ,Pe,81,0,0,1)),r.k),m=0,y=p.length;m<y;++m)f=p[m],Kme(e,t,f,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function oD(e,t,r,o){var a,u,f,p,m;for(m=t.e,p=m.length,f=t.q.tg(m,r?0:p-1,r),a=m[r?0:p-1],f=f|byt(e,a,r,o),u=r?1:p-2;r?u<p:u>=0;u+=r?1:-1)f=f|t.c.jg(m,u,r,o&&!Ye(Ke(F(t.j,(Ie(),F1))))&&!Ye(Ke(F(t.j,(Ie(),t2))))),f=f|t.q.tg(m,u,r),f=f|byt(e,m[u],r,o);return gi(e.c,t),f}function FF(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(v=vut(e.j),T=0,N=v.length;T<N;++T){if(y=v[T],r==(Fo(),Cc)||r==YI)for(m=Df(y.g),a=m,u=0,f=a.length;u<f;++u)o=a[u],Ayn(t,o)&&mg(o,!0);if(r==Ba||r==YI)for(p=Df(y.e),a=p,u=0,f=a.length;u<f;++u)o=a[u],Tyn(t,o)&&mg(o,!0)}}function Iwt(){return Xi(),Z(X(hCn,1),Ce,80,0,[hSe,lSe,WE,Eee,OSe,I$,B$,zy,ISe,ESe,NSe,Hy,RSe,wSe,DSe,iSe,L$,See,N$,j$,MSe,P$,oSe,CSe,PSe,F$,rSe,LSe,C$,gSe,xSe,_Se,U$,cSe,k$,O$,aSe,Gx,TSe,ySe,kSe,_I,dSe,uSe,ASe,vSe,D$,$$,sSe,M$,SSe,R$,bSe,pSe,xT,x$,mSe,fSe])}function cSn(e){var t,r;switch(t=null,r=null,z0n(e).g){case 1:t=(He(),Qt),r=Wt;break;case 2:t=(He(),dn),r=Vt;break;case 3:t=(He(),Wt),r=Qt;break;case 4:t=(He(),Vt),r=dn}iue(e,l(Xc(NS(l(yr(e.k,t),16).Mc(),KE)),114)),rue(e,l(Xc(Zw(l(yr(e.k,r),16).Mc(),KE)),114))}function X_(e){var t;if(sQe.call(this),this.i=new hGe,this.g=e,this.f=l(e.e&&e.e(),10).length,this.f==0)throw Y(new jt("There must be at least one phase in the phase enumeration."));this.c=(t=l(md(this.g),10),new Hu(t,l(Gl(t,t.length),10),0)),this.a=new ci,this.b=new hn}function uSn(e){var t,r,o,a,u,f;if(a=l(ze(e.j,0),12),a.e.c.length+a.g.c.length==0)e.n.a=0;else{for(f=0,o=hh(Wu(Z(X(nl,1),It,22,0,[new DA(a),new tS(a)])));an(o);)r=l(en(o),12),f+=r.i.n.a+r.n.a+r.a.a;t=l(F(e,(Ue(),sw)),8),u=t?t.a:0,e.n.a=f/(a.e.c.length+a.g.c.length)-u}}function Rwt(e,t){var r,o,a;for(o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),227),JV(l(r.b,68),Di(Ao(l(t.b,68).c),l(t.b,68).a)),a=Xyt(l(t.b,68).b,l(r.b,68).b),a>1&&(e.a=!0),vsn(l(r.b,68),mr(Ao(l(t.b,68).c),tp(Di(Ao(l(r.b,68).a),l(t.b,68).a),a))),Ict(e,t),Rwt(e,r)}function Owt(e){var t,r,o,a,u,f,p;for(u=new V(e.a.a);u.a<u.c.c.length;)o=l(q(u),197),o.e=0,o.d.a.$b();for(a=new V(e.a.a);a.a<a.c.c.length;)for(o=l(q(a),197),r=o.a.a.ec().Jc();r.Ob();)for(t=l(r.Pb(),84),p=t.f.Jc();p.Ob();)f=l(p.Pb(),84),f.d!=o&&(gi(o.d,f),++f.d.e)}function lSn(e,t){var r,o,a,u,f,p,m;for(t.Tg("Constraints Postprocessor",1),f=0,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),m=0,p=!1,o=new V(a.a);o.a<o.c.c.length;)r=l(q(o),9),r.k==(Ht(),Xr)&&(p=!0,Te(r,(Ue(),UI),Oe(f)),Te(r,fB,Oe(m)),++m);p&&++f}t.Ug()}function dSn(e){var t,r,o,a,u,f,p,m;for(m=e.j.c.length,r=0,t=m,a=2*m,p=new V(e.j);p.a<p.c.c.length;)switch(f=l(q(p),12),f.j.g){case 2:case 4:f.p=-1;break;case 1:case 3:o=f.e.c.length,u=f.g.c.length,o>0&&u>0?f.p=t++:o>0?f.p=r++:u>0?f.p=a++:f.p=r++}At(),ki(e.j,new v$e)}function fSn(e){var t,r;r=null,t=l(ze(e.g,0),17);do{if(r=t.d.i,br(r,(Ie(),Nl)))return l(F(r,Nl),12).i;if(r.k!=(Ht(),Xr)&&an(new Ft(Gt(Or(r).a.Jc(),new D))))t=l(en(new Ft(Gt(Or(r).a.Jc(),new D))),17);else if(r.k!=Xr)return null}while(r&&r.k!=(Ht(),Xr));return r}function hSn(e,t){var r,o,a,u,f,p,m,y,v;for(p=t.j,f=t.g,m=l(ze(p,p.c.length-1),114),v=(at(0,p.c.length),l(p.c[0],114)),y=jY(e,f,m,v),u=1;u<p.c.length;u++)r=(at(u-1,p.c.length),l(p.c[u-1],114)),a=(at(u,p.c.length),l(p.c[u],114)),o=jY(e,f,r,a),o>y&&(m=r,v=a,y=o);t.a=v,t.c=m}function D0(e,t,r,o){var a,u;if(a=me(F(r,(Ue(),FI)))===me((b1(),Vy)),u=l(F(r,hAe),16),br(e,(Ie(),Cr)))if(a){if(u.Gc(F(e,$I))&&u.Gc(F(t,$I)))return o*l(F(e,$I),15).a+l(F(e,Cr),15).a}else return l(F(e,Cr),15).a;else return-1;return l(F(e,Cr),15).a}function pSn(e,t,r){var o,a,u,f,p,m,y;for(y=new Qp(new PJe(e)),f=Z(X(cNt,1),sSt,12,0,[t,r]),p=0,m=f.length;p<m;++p)for(u=f[p],y.a.yc(u,(Lt(),L1))==null,a=new Vd(u.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),o.c==o.d||qO(y,u==o.c?o.d:o.c);return kn(y),new Tc(y)}function Ql(e){if(!e.a.d||!e.a.e)throw Y(new ts((np(Ixt),Ixt.k+" must have a source and target "+(np(A2e),A2e.k)+" specified.")));if(e.a.d==e.a.e)throw Y(new ts("Network simplex does not support self-loops: "+e.a+" "+e.a.d+" "+e.a.e));return $8(e.a.d.g,e.a),$8(e.a.e.b,e.a),e.a}function gSn(e,t,r){var o,a,u,f,p;for(r.Tg("Longest path layering",1),e.a=t,p=e.a.a,e.b=we(Rn,Qn,30,p.c.length,15,1),o=0,f=new V(p);f.a<f.c.c.length;)a=l(q(f),9),a.p=o,e.b[o]=-1,++o;for(u=new V(p);u.a<u.c.c.length;)a=l(q(u),9),dwt(e,a);p.c.length=0,e.a=null,e.b=null,r.Ug()}function Dwt(e,t,r){var o,a,u,f,p,m;if(o=0,t.b!=0&&r.b!=0){u=An(t,0),f=An(r,0),p=ce(le(Sn(u))),m=ce(le(Sn(f))),a=!0;do{if(p>m-e.b&&p<m+e.b)return-1;p>m-e.a&&p<m+e.a&&++o,p<=m&&u.b!=u.d.c?p=ce(le(Sn(u))):m<=p&&f.b!=f.d.c?m=ce(le(Sn(f))):a=!1}while(a)}return o}function Lwt(e,t){var r,o;return M3(e.a),pu(e.a,(xj(),UB),UB),pu(e.a,f2,f2),o=new ci,$n(o,f2,(EF(),mne)),me(ve(t,(A1(),Ene)))!==me((R6(),HB))&&$n(o,f2,pne),Ye(Ke(ve(t,_xe)))&&$n(o,f2,wne),$n(o,f2,gne),Ye(Ke(ve(t,kxe)))&&Ra(o,f2,bne),cde(e.a,o),r=FC(e.a,t),r}function bSn(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(m=0,v=new V(e.a);v.a<v.c.c.length;){for(y=l(q(v),9),p=0,u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),T=qd(a.c).b,N=qd(a.d).b,p=b.Math.max(p,b.Math.abs(N-T));m=b.Math.max(m,p)}return f=o*b.Math.min(1,t/r)*m,f}function mSn(e){var t,r;for(r=new Ft(Gt(Or(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),t.d.i.k!=(Ht(),ta))throw Y(new _f(HX+z6(e)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function wSn(e,t){var r,o,a,u,f;for(f=l(F(t,(js(),oxe)),430),u=An(t.b,0);u.b!=u.d.c;)if(a=l(Sn(u),41),e.b[a.g]==0){switch(f.g){case 0:F1t(e,a);break;case 1:IEn(e,a)}e.b[a.g]=2}for(o=An(e.a,0);o.b!=o.d.c;)r=l(Sn(o),65),my(r.b.d,r,!0),my(r.c.b,r,!0);Te(t,(Nr(),K_e),e.a)}function Yme(e){var t;return t=new GN,e&256&&(t.a+="F"),e&128&&(t.a+="H"),e&512&&(t.a+="X"),e&2&&(t.a+="i"),e&8&&(t.a+="m"),e&4&&(t.a+="s"),e&32&&(t.a+="u"),e&64&&(t.a+="w"),e&16&&(t.a+="x"),e&Tl&&(t.a+=","),Xue(t.a)}function ySn(e,t,r,o,a){var u,f,p,m;for(m=(u=l(md(Oo),10),new Hu(u,l(Gl(u,u.length),10),0)),p=new V(e.j);p.a<p.c.c.length;)f=l(q(p),12),t[f.p]&&(HNn(f,t[f.p],o),Jl(m,f.j));a?(VY(e,t,(He(),Qt),2*r,o),VY(e,t,Wt,2*r,o)):(VY(e,t,(He(),Vt),2*r,o),VY(e,t,dn,2*r,o))}function vSn(e,t){var r,o,a,u,f,p,m;for(a=new je,r=0;r<=e.j;r++)o=new ra(t),o.p=e.j-r,Rt(a.c,o);for(p=new V(e.p);p.a<p.c.c.length;)f=l(q(p),9),Oi(f,l(ze(a,e.j-e.g[f.p]),26));for(u=new V(a);u.a<u.c.c.length;)m=l(q(u),26),m.a.c.length==0&&C3(u);t.b.c.length=0,li(t.b,a)}function ESn(e,t,r){var o,a,u,f,p,m;for(o=l(yr(e.c,t),16),a=l(yr(e.c,r),16),u=o.dd(o.gc()),f=a.dd(a.gc());u.Sb()&&f.Sb();)if(p=l(u.Ub(),15),m=l(f.Ub(),15),p!=m)return na(p.a,m.a);return!u.Ob()&&!f.Ob()?t.p<r.p?-1:t.p>r.p?1:0:u.Ob()?1:-1}function SSn(e,t){var r,o,a,u,f,p;t.Tg(cTt,1),a=l(ve(e,(ef(),u4)),100),u=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),f=jmn(u),p=b.Math.max(f.a,ce(le(ve(e,(yh(),c4))))-(a.b+a.c)),o=b.Math.max(f.b,ce(le(ve(e,VB)))-(a.d+a.a)),r=o-f.b,Vn(e,a4,r),Vn(e,$T,p),Vn(e,dk,o+r),t.Ug()}function kC(e){var t,r;if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i==0)return Rge(e);for(t=l(ie((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),vn((!t.a&&(t.a=new Ei(Iu,t,5)),t.a)),E0(t,0),S0(t,0),y0(t,0),v0(t,0),r=(!e.a&&(e.a=new ke(jr,e,6,6)),e.a);r.i>1;)ky(r,r.i-1);return t}function za(e,t){Mo();var r,o,a,u;return t?t==(Tr(),$Lt)||(t==kLt||t==km||t==xLt)&&e!=K3e?new W0e(e,t):(o=l(t,689),r=o.Yk(),r||(c_(is((mc(),ao),t)),r=o.Yk()),u=(!r.i&&(r.i=new hn),r.i),a=l(Ss(ns(u.f,e)),2020),!a&&Jn(u,e,a=new W0e(e,t)),a):TLt}function TSn(e,t){var r,o;if(o=qO(e.b,t.b),!o)throw Y(new ts("Invalid hitboxes for scanline constraint calculation."));(tpt(t.b,l(Ten(e.b,t.b),60))||tpt(t.b,l(Sen(e.b,t.b),60)))&&eg(),e.a[t.b.f]=l(Aq(e.b,t.b),60),r=l(Tq(e.b,t.b),60),r&&(e.a[r.f]=t.b)}function ASn(e,t){var r,o,a,u,f,p,m,y,v;for(m=l(F(e,(Ie(),wr)),12),y=xs(Z(X($i,1),Pe,8,0,[m.i.n,m.n,m.a])).a,v=e.i.n.b,r=Df(e.e),a=r,u=0,f=a.length;u<f;++u)o=a[u],Yi(o,m),So(o.a,new Me(y,v)),t&&(p=l(F(o,(Ue(),as)),79),p||(p=new Lc,Te(o,as,p)),Gn(p,new Me(y,v)))}function _Sn(e,t){var r,o,a,u,f,p,m,y,v;for(a=l(F(e,(Ie(),wr)),12),y=xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).a,v=e.i.n.b,r=Df(e.g),f=r,p=0,m=f.length;p<m;++p)u=f[p],mo(u,a),Qv(u.a,new Me(y,v)),t&&(o=l(F(u,(Ue(),as)),79),o||(o=new Lc,Te(u,as,o)),Gn(o,new Me(y,v)))}function xSn(e){var t,r,o,a,u,f,p,m,y;if(o=e.b,u=o.e,f=AS(l(F(o,(Ue(),Zr)),103)),r=!!u&&l(F(u,(Ie(),xa)),24).Gc(($o(),rl)),!(f||r))for(y=(p=new Zh(e.e).a.vc().Jc(),new Pw(p));y.a.Ob();)m=(t=l(y.a.Pb(),45),l(t.kd(),114)),m.a&&(a=m.d,As(a,null),m.c=!0,e.a=!0)}function kSn(e,t){var r,o,a,u;for(t.Tg("Semi-Interactive Crossing Minimization Processor",1),r=!1,a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),26),u=L6(fj(dr(dr(new vt(null,new St(o.a,16)),new nBe),new rBe),new iBe),new oBe),r=r|u.a!=null;r&&Te(e,(Ie(),ETe),(Lt(),!0)),t.Ug()}function NSn(e,t){var r,o,a,u,f,p;for(e.b=new je,e.d=l(F(t,(Ie(),DT)),237),e.e=Mun(e.d),u=new Ar,a=Wl(Z(X(oNt,1),iSt,37,0,[t])),f=0;f<a.c.length;)o=(at(f,a.c.length),l(a.c[f],37)),o.p=f++,r=new iEt(o,e.a,e.b),li(a,r.b),Fe(e.b,r),r.s&&(p=An(u,0),vP(p,r));return e.c=new pi,u}function CSn(e,t){var r,o,a,u,f,p;for(f=l(l(yr(e.r,t),24),85).Jc();f.Ob();)u=l(f.Pb(),116),r=u.c?Ffe(u.c):0,r>0?u.a?(p=u.b.Kf().a,r>p&&(a=(r-p)/2,u.d.b=a,u.d.c=a)):u.d.c=e.s+r:k3(e.u)&&(o=$be(u.b),o.c<0&&(u.d.b=-o.c),o.c+o.b>u.b.Kf().a&&(u.d.c=o.c+o.b-u.b.Kf().a))}function ISn(e,t){var r,o,a,u,f;f=new je,r=t;do u=l(Ut(e.b,r),134),u.B=r.c,u.D=r.d,Rt(f.c,u),r=l(Ut(e.k,r),17);while(r);return o=(at(0,f.c.length),l(f.c[0],134)),o.j=!0,o.A=l(o.d.a.ec().Jc().Pb(),17).c.i,a=l(ze(f,f.c.length-1),134),a.q=!0,a.C=l(a.d.a.ec().Jc().Pb(),17).d.i,f}function RSn(e){var t,r;r=l(F(e,(Ue(),Cs)),166),t=l(F(e,(Ie(),hm)),316),r==(iu(),xp)?(Te(e,Cs,gL),Te(e,hm,(lp(),QE))):r==gm?(Te(e,Cs,gL),Te(e,hm,(lp(),kT))):t==(lp(),QE)?(Te(e,Cs,xp),Te(e,hm,dL)):t==kT&&(Te(e,Cs,gm),Te(e,hm,dL))}function $F(){$F=K,xL=new lHe,G4t=$n(new ci,(Vi(),la),(Xi(),N$)),W4t=Ra($n(new ci,la,P$),zo,M$),K4t=Pf(Pf(ZN(Ra($n(new ci,id,B$),zo,$$),da),F$),U$),q4t=Ra($n($n($n(new ci,kh,I$),da,O$),da,Gx),zo,R$),V4t=Ra($n($n(new ci,da,Gx),da,k$),zo,x$)}function NC(){NC=K,X4t=$n(Ra(new ci,(Vi(),zo),(Xi(),bSe)),la,N$),tRt=Pf(Pf(ZN(Ra($n(new ci,id,B$),zo,$$),da),F$),U$),Z4t=Ra($n($n($n(new ci,kh,I$),da,O$),da,Gx),zo,R$),eRt=$n($n(new ci,la,P$),zo,M$),Q4t=Ra($n($n(new ci,da,Gx),da,k$),zo,x$)}function OSn(e,t,r,o,a){var u,f;(!fo(t)&&t.c.i.c==t.d.i.c||!dht(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])),r))&&!fo(t)&&(t.c==a?WA(t.a,0,new To(r)):Gn(t.a,new To(r)),o&&!bl(e.a,r)&&(f=l(F(t,(Ue(),as)),79),f||(f=new Lc,Te(t,as,f)),u=new To(r),Wr(f,u,f.c.b,f.c),gi(e.a,u)))}function Mwt(e,t){var r,o,a,u;for(u=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),r=u&e.b.length-1,a=null,o=e.b[r];o;a=o,o=o.a)if(o.d==u&&rp(o.i,t))return a?a.a=o.a:e.b[r]=o.a,DQe(l(wl(o.c),600),l(wl(o.f),600)),tO(l(wl(o.b),229),l(wl(o.e),229)),--e.f,++e.e,!0;return!1}function DSn(e){var t,r;for(r=new Ft(Gt(si(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),t.c.i.k!=(Ht(),ta))throw Y(new _f(HX+z6(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function Pwt(e,t){var r,o,a,u,f,p,m,y,v,T,N;a=t?new mUe:new EUe,u=!1;do for(u=!1,y=t?ou(e.b):e.b,m=y.Jc();m.Ob();)for(p=l(m.Pb(),26),N=jb(p.a),t||ou(N),T=new V(N);T.a<T.c.c.length;)v=l(q(T),9),a.Mb(v)&&(o=v,r=l(F(v,(Ie(),ew)),318),f=t?r.b:r.k,u=cyt(o,f,t,!1));while(u)}function LSn(e,t,r){var o,a,u,f,p,m,y;if(a=mgt(e.Db&254),a==0)e.Eb=r;else{if(a==1)p=we(Ri,It,1,2,5,1),u=PY(e,t),u==0?(p[0]=r,p[1]=e.Eb):(p[0]=e.Eb,p[1]=r);else for(p=we(Ri,It,1,a+1,5,1),f=HS(e.Eb),o=2,m=0,y=0;o<=128;o<<=1)o==t?p[y++]=r:e.Db&o&&(p[y++]=f[m++]);e.Eb=p}e.Db|=t}function jwt(e,t,r,o,a,u){var f,p,m,y,v,T,N,R,M,U,G,J;for(v=o,t.j&&t.o?(R=l(Ut(e.f,t.A),60),U=R.d.c+R.d.b,--v):U=t.a.c+t.a.b,T=a,r.q&&r.o?(R=l(Ut(e.f,r.C),60),y=R.d.c,++T):y=r.a.c,G=y-U,m=b.Math.max(2,T-v),p=G/m,M=U+p,N=v;N<T;++N)f=l(u.Xb(N),134),J=f.a.b,f.a.c=M-J/2,M+=p}function Jme(e,t,r,o,a,u){var f,p,m,y,v,T;for(y=r.c.length,u&&(e.c=we(Rn,Qn,30,t.length,15,1)),f=a?0:t.length-1;a?f<t.length:f>=0;f+=a?1:-1){for(p=t[f],m=o==(He(),Qt)?a?ks(p,o):ou(ks(p,o)):a?ou(ks(p,o)):ks(p,o),u&&(e.c[p.p]=m.gc()),T=m.Jc();T.Ob();)v=l(T.Pb(),12),e.d[v.p]=y++;li(r,m)}}function Fwt(e,t,r){var o,a,u,f,p,m,y,v;for(u=ce(le(e.b.Jc().Pb())),y=ce(le(opn(t.b))),o=tp(Ao(e.a),y-r),a=tp(Ao(t.a),r-u),v=mr(o,a),tp(v,1/(y-u)),this.a=v,this.b=new je,p=!0,f=e.b.Jc(),f.Pb();f.Ob();)m=ce(le(f.Pb())),p&&m-r>LZ&&(this.b.Ec(r),p=!1),this.b.Ec(m);p&&this.b.Ec(r)}function MSn(e){var t,r,o,a;if(ZTn(e,e.n),e.d.c.length>0){for(HN(e.c);Nme(e,l(q(new V(e.e.a)),126))<e.e.a.c.length;){for(t=Pmn(e),a=t.e.e-t.d.e-t.a,t.e.j&&(a=-a),o=new V(e.e.a);o.a<o.c.c.length;)r=l(q(o),126),r.j&&(r.e+=a);HN(e.c)}HN(e.c),pme(e,l(q(new V(e.e.a)),126)),Vvt(e)}}function PSn(e,t,r){var o,a,u,f,p;for(r.Tg("Longest path to source layering",1),e.a=t,p=e.a.a,e.b=we(Rn,Qn,30,p.c.length,15,1),o=0,f=new V(p);f.a<f.c.c.length;)a=l(q(f),9),a.p=o,e.b[o]=-1,++o;for(u=new V(p);u.a<u.c.c.length;)a=l(q(u),9),fwt(e,a);p.c.length=0,e.a=null,e.b=null,r.Ug()}function jSn(e,t){qS();var r,o;if(r=WW(W3(),t.Og()),r){if(o=r.j,se(e,209))return Hcn(l(e,19))?fc(o,(Jd(),ri))||fc(o,xt):fc(o,(Jd(),ri));if(se(e,273))return fc(o,(Jd(),Rd));if(se(e,196))return fc(o,(Jd(),Cg));if(se(e,363))return fc(o,(Jd(),Np))}return!0}function FSn(e,t,r){var o,a,u,f,p,m;if(a=r,u=a.Jk(),wp(e.e,u)){if(u.Qi()){for(o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],gr(p,a)&&f!=t)throw Y(new jt(GD))}}else for(m=za(e.e.Ah(),u),o=l(e.g,123),f=0;f<e.i;++f)if(p=o[f],m.$l(p.Jk())&&f!=t)throw Y(new jt(YD));return l(SE(e,t,r),76)}function $wt(e,t){if(t instanceof Object)try{if(t.__java$exception=e,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var r=e;Object.defineProperties(t,{cause:{get:function(){var o=r.fe();return o&&o.de()}},suppressed:{get:function(){return r.ee()}}})}catch{}}function Bwt(e,t){var r,o,a,u,f;if(o=t>>5,t&=31,o>=e.d)return e.e<0?(jf(),axt):(jf(),wI);if(u=e.d-o,a=we(Rn,Qn,30,u+1,15,1),Myn(a,u,e.a,o,t),e.e<0){for(r=0;r<o&&e.a[r]==0;r++);if(r<o||t>0&&e.a[r]<<32-t){for(r=0;r<u&&a[r]==-1;r++)a[r]=0;r==u&&++u,++a[r]}}return f=new Ob(e.e,u,a),F3(f),f}function $Sn(e,t,r,o){var a,u,f,p,m;return p=Jo(l(ie((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83)),m=Jo(l(ie((!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),0),83)),Br(p)==Br(m)||ly(m,p)?null:(f=ry(t),f==r?o:(u=l(Ut(e.a,f),9),u&&(a=u.e,a)?a:null))}function BSn(e,t){var r;switch(r=l(F(e,(Ue(),pB)),286),t.Tg("Label side selection ("+r+")",1),r.g){case 0:K0t(e,(vu(),Ih));break;case 1:K0t(e,(vu(),V1));break;case 2:vvt(e,(vu(),Ih));break;case 3:vvt(e,(vu(),V1));break;case 4:Kwt(e,(vu(),Ih));break;case 5:Kwt(e,(vu(),V1))}t.Ug()}function wp(e,t){Mo();var r,o,a;return t.Hk()?!0:t.Gk()==-2?t==(rT(),XT)||t==JT||t==Gre||t==qre?!0:(a=e.Ah(),Ur(a,t)>=0?!1:(r=RE((mc(),ao),a,t),r?(o=r.Gk(),(o>1||o==-1)&&f0(is(ao,r))!=3):!0)):!1}function USn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R;if(m=e.c.d,y=e.d.d,m.j!=y.j)for(R=e.b,v=null,p=null,f=K1n(e),f&&R.i&&(v=e.b.i.i,p=R.i.j),a=m.j,T=null;a!=y.j;)T=t==0?Gj(a):p1e(a),u=V1e(a,R.d[a.g],r),N=V1e(T,R.d[T.g],r),f&&v&&p&&(a==v?_gt(u,v,p):T==v&&_gt(N,v,p)),Gn(o,mr(u,N)),a=T}function Xme(e,t,r){var o,a,u,f,p,m;if(o=uen(r,e.length),f=e[o],u=FQe(r,f.length),f[u].k==(Ht(),yi))for(m=t.j,a=0;a<m.c.length;a++)p=(at(a,m.c.length),l(m.c[a],12)),(r?p.j==(He(),Qt):p.j==(He(),Wt))&&Ye(Ke(F(p,(Ie(),hL))))&&(nu(m,a,l(F(f[u],(Ie(),wr)),12)),u+=r?1:-1)}function HSn(e,t){var r,o,a,u,f,p,m,y;t.Tg("Greedy Width Approximator",1),r=ce(le(ve(e,(ef(),KB)))),m=l(ve(e,u4),100),u=l(ve(e,Qxe),388),f=Ye(Ke(ve(e,Zxe))),p=ce(le(ve(e,l4))),y=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),mge(y),a=new fot(r,u,f),o=JTn(a,y,p,m),Vn(e,(yh(),sv),o.c),t.Ug()}function Uwt(e){if(e.g==null)switch(e.p){case 0:e.g=zcn(e)?(Lt(),Bx):(Lt(),L1);break;case 1:e.g=p6(Fln(e));break;case 2:e.g=A6(Run(e));break;case 3:e.g=pan(e);break;case 4:e.g=new QR(gan(e));break;case 6:e.g=yy(wan(e));break;case 5:e.g=Oe(Ncn(e));break;case 7:e.g=D_(Uln(e))}return e.g}function Zme(e){if(e.n==null)switch(e.p){case 0:e.n=Gcn(e)?(Lt(),Bx):(Lt(),L1);break;case 1:e.n=p6($ln(e));break;case 2:e.n=A6(Oun(e));break;case 3:e.n=man(e);break;case 4:e.n=new QR(ban(e));break;case 6:e.n=yy(yan(e));break;case 5:e.n=Oe(Ccn(e));break;case 7:e.n=D_(Bln(e))}return e.n}function Hwt(e,t,r,o){var a,u,f,p,m;if(p=(Mo(),l(t,69).vk()),wp(e.e,t)){if(t.Qi()&&qF(e,t,o,se(t,104)&&(l(t,20).Bb&Io)!=0))throw Y(new jt(GD))}else for(m=za(e.e.Ah(),t),a=l(e.g,123),f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk()))throw Y(new jt(YD));aC(e,eme(e,t,r),p?l(o,76):gh(t,o))}function zwt(e){var t,r,o,a,u,f,p;for(u=new V(e.a.a);u.a<u.c.c.length;)o=l(q(u),321),o.g=0,o.i=0,o.e.a.$b();for(a=new V(e.a.a);a.a<a.c.c.length;)for(o=l(q(a),321),r=o.a.a.ec().Jc();r.Ob();)for(t=l(r.Pb(),60),p=t.c.Jc();p.Ob();)f=l(p.Pb(),60),f.a!=o&&(gi(o.e,f),++f.a.g,++f.a.i)}function zSn(e){var t,r,o,a,u;a=l(F(e,(Ue(),mm)),24),u=l(F(e,EB),24),r=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new To(r),a.Gc((su(),gv))&&(o=l(F(e,nk),8),u.Gc((Uc(),Tk))&&(o.a<=0&&(o.a=20),o.b<=0&&(o.b=20)),t.a=b.Math.max(r.a,o.a),t.b=b.Math.max(r.b,o.b)),G_n(e,r,t)}function GSn(e,t){var r,o,a;t.a?(qO(e.b,t.b),e.a[t.b.i]=l(Aq(e.b,t.b),84),r=l(Tq(e.b,t.b),84),r&&(e.a[r.i]=t.b)):(o=l(Aq(e.b,t.b),84),o&&o==e.a[t.b.i]&&o.d&&o.d!=t.b.d&&o.f.Ec(t.b),a=l(Tq(e.b,t.b),84),a&&e.a[a.i]==t.b&&a.d&&a.d!=t.b.d&&t.b.f.Ec(a),wV(e.b,t.b))}function gJ(e,t){var r,o,a,u,f,p;return u=e.d,p=ce(le(F(e,(Ue(),_g)))),p<0&&(p=0,Te(e,_g,p)),t.o.b=p,f=b.Math.floor(p/2),o=new aa,Ii(o,(He(),Wt)),As(o,t),o.n.b=f,a=new aa,Ii(a,Qt),As(a,t),a.n.b=f,Yi(e,o),r=new p0,qs(r,e),Te(r,as,null),mo(r,a),Yi(r,u),t_n(t,e,r),cvn(e,r),r}function qSn(e){var t,r;return r=l(F(e,(Ie(),xa)),24),t=new ci,r.Gc(($o(),CI))&&(yu(t,B4t),yu(t,I_e)),(r.Gc(Qx)||Ye(Ke(F(e,(Ue(),Ste)))))&&(yu(t,I_e),r.Gc(ZE)&&yu(t,H4t)),r.Gc(rl)&&yu(t,$4t),r.Gc(II)&&yu(t,z4t),r.Gc(eB)&&yu(t,U4t),r.Gc(Xx)&&yu(t,j4t),r.Gc(Zx)&&yu(t,F4t),t}function VSn(e,t){var r,o,a,u,f,p,m,y,v,T,N;return o=e.d,u=t.d,p=o+u,m=e.e!=t.e?-1:1,p==2?(v=yo(Gi(e.a[0],Bo),Gi(t.a[0],Bo)),N=On(v),T=On(Rb(v,32)),T==0?new ap(m,N):new Ob(m,2,Z(X(Rn,1),Qn,30,15,[N,T]))):(r=e.a,a=t.a,f=we(Rn,Qn,30,p,15,1),pgn(r,o,a,u,f),y=new Ob(m,p,f),F3(y),y)}function Gwt(e,t,r,o){var a,u;if(t){if(a=e.a.Le(r.d,t.d),a==0)return o.d=tfe(t,r.e),o.b=!0,t;u=a<0?0:1,t.a[u]=Gwt(e,t.a[u],r,o),Fw(t.a[u])&&(Fw(t.a[1-u])?(t.b=!0,t.a[0].b=!1,t.a[1].b=!1):Fw(t.a[u].a[u])?t=_j(t,1-u):Fw(t.a[u].a[1-u])&&(t=aut(t,1-u)))}else return r;return t}function qwt(e,t,r){var o,a,u,f;a=e.i,o=e.n,wpe(e,(Sd(),Bs),a.c+o.b,r),wpe(e,Us,a.c+a.b-o.c-r[2],r),f=a.b-o.b-o.c,r[0]>0&&(r[0]+=e.d,f-=r[0]),r[2]>0&&(r[2]+=e.d,f-=r[2]),u=b.Math.max(0,f),r[1]=b.Math.max(r[1],f),wpe(e,$a,a.c+o.b+r[0]-(r[1]-f)/2,r),t==$a&&(e.c.b=u,e.c.c=a.c+o.b+(u-f)/2)}function Vwt(){this.c=we(Ki,Xo,30,(He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])).length,15,1),this.b=we(Ki,Xo,30,Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt]).length,15,1),this.a=we(Ki,Xo,30,Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt]).length,15,1),kle(this.c,Kr),kle(this.b,Li),kle(this.a,Li)}function WSn(e,t,r,o){var a,u,f,p,m;for(m=t.i,p=r[m.g][e.d[m.g]],a=!1,f=new V(t.d);f.a<f.c.c.length;)if(u=l(q(f),70),Ye(Ke(F(u,(Ue(),o2))))){a=!0;break}switch(a&&(o=0),m.g){case 1:p-=o+t.j.b,t.g.b=p;break;case 3:p+=o,t.g.b=p;break;case 4:p-=o+t.j.a,t.g.a=p;break;case 2:p+=o,t.g.a=p}}function Sa(e,t,r){var o,a,u,f;if(t<=r?(a=t,u=r):(a=r,u=t),o=0,e.b==null)e.b=we(Rn,Qn,30,2,15,1),e.b[0]=a,e.b[1]=u,e.c=!0;else{if(o=e.b.length,e.b[o-1]+1==a){e.b[o-1]=u;return}f=we(Rn,Qn,30,o+2,15,1),ca(e.b,0,f,0,o),e.b=f,e.b[o-1]>=a&&(e.c=!1,e.a=!1),e.b[o++]=a,e.b[o]=u,e.c||kE(e)}}function KSn(e,t,r){var o,a,u,f,p,m,y;for(y=t.d,e.a=new Da(y.c.length),e.c=new hn,p=new V(y);p.a<p.c.c.length;)f=l(q(p),108),u=new _6(null),Fe(e.a,u),Jn(e.c,f,u);for(e.b=new hn,lvn(e,t),o=0;o<y.c.length-1;o++)for(m=l(ze(t.d,o),108),a=o+1;a<y.c.length;a++)B2n(e,m,l(ze(t.d,a),108),r)}function YSn(e,t){var r,o,a,u,f,p,m;for(r=Li,p=(Ht(),Xr),a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),u=o.k,u!=Xr&&(f=le(F(o,(Ie(),TTe))),f==null?(r=b.Math.max(r,0),o.n.b=r+Lde(e.a,u,p)):o.n.b=(Mt(f),f)),m=Lde(e.a,u,p),o.n.b<r+m+o.d.d&&(o.n.b=r+m+o.d.d),r=o.n.b+o.o.b+o.d.a,p=u}function xy(e){var t,r,o,a,u;for(a=new je,t=new Jw((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),o=new Ft(Gt(mp(e).a.Jc(),new D));an(o);)r=l(en(o),74),se(ie((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),196)||(u=Jo(l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),t.a._b(u)||Rt(a.c,u));return a}function JSn(e,t,r){var o,a,u;if(e.e=r,e.d=0,e.b=0,e.f=1,e.i=t,(e.e&16)==16&&(e.i=rAn(e.i)),e.j=e.i.length,fr(e),u=N0(e),e.d!=e.j)throw Y(new Dn(jn((Cn(),gAt))));if(e.g){for(o=0;o<e.g.a.c.length;o++)if(a=l(d0(e.g,o),587),e.f<=a.a)throw Y(new Dn(jn((Cn(),bAt))));e.g.a.c.length=0}return u}function XSn(e,t){var r,o,a,u,f,p,m;for(t.Tg("Comment post-processing",1),u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),o=new je,p=new V(a.a);p.a<p.c.c.length;)f=l(q(p),9),m=l(F(f,(Ie(),MT)),16),r=l(F(f,NT),16),(m||r)&&(gNn(f,m,r),m&&li(o,m),r&&li(o,r));li(a.a,o)}t.Ug()}function Wwt(e,t,r,o,a){var u,f,p,m,y,v;if(e.d&&e.d.Fg(a),u=l(a.Xb(0),19),j1t(e,r,u,!1)||(f=l(a.Xb(a.gc()-1),19),j1t(e,o,f,!0))||qbe(e,a))return!0;for(v=a.Jc();v.Ob();)for(y=l(v.Pb(),19),m=t.Jc();m.Ob();)if(p=l(m.Pb(),19),BF(e,y,p))return!0;return!1}function ZSn(e,t,r){var o,a,u,f,p,m,y,v,T,N;N=t.c.length,T=(y=e.Fh(r),l(y>=0?e.Ih(y,!1,!0):O0(e,r,!1),61));e:for(u=T.Jc();u.Ob();){for(a=l(u.Pb(),57),v=0;v<N;++v)if(f=(at(v,t.c.length),l(t.c[v],76)),m=f.kd(),p=f.Jk(),o=a.Kh(p,!1),m==null?o!=null:!gr(m,o))continue e;return a}return null}function QSn(e,t,r,o){var a,u,f,p;for(a=l(bg(t,(He(),Wt)).Jc().Pb(),12),u=l(bg(t,Qt).Jc().Pb(),12),p=new V(e.j);p.a<p.c.c.length;){for(f=l(q(p),12);f.e.c.length!=0;)Yi(l(ze(f.e,0),17),a);for(;f.g.c.length!=0;)mo(l(ze(f.g,0),17),u)}r||Te(t,(Ie(),Cd),null),o||Te(t,(Ie(),Nl),null)}function Kwt(e,t){var r,o,a,u,f,p,m;for(r=new oE,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),m=!0,o=0,p=new V(a.a);p.a<p.c.c.length;)switch(f=l(q(p),9),f.k.g){case 4:++o;case 1:npe(r,f);break;case 0:avn(f,t);default:r.b==r.c||$yt(r,o,m,!1,t),m=!1,o=0}r.b==r.c||$yt(r,o,m,!0,t)}}function eTn(e){var t,r,o,a,u,f,p,m,y;for(e.a=new ofe,y=0,a=0,o=new V(e.i.b);o.a<o.c.c.length;){for(t=l(q(o),26),t.p=a,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p=y,++y;++a}for(u=e.r==(x1(),ak),f=u?wNt:mNt,r=new V(e.i.b);r.a<r.c.c.length;)t=l(q(r),26),ki(t.a,f),Dfn(e.a,Oe(t.p),t.a)}function Qme(e,t){var r,o,a,u,f,p;for(r=0,p=new V(t);p.a<p.c.c.length;){for(f=l(q(p),12),Yge(e.b,e.d[f.p]),a=new Vd(f.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),u=lle(e,f==o.c?o.d:o.c),u>e.d[f.p]&&(r+=lpe(e.b,u),d1(e.a,Oe(u)));for(;!zN(e.a);)Gpe(e.b,l(CS(e.a),15).a)}return r}function Ywt(e,t,r){var o,a,u,f;for(u=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i,a=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));a.e!=a.i.gc();)o=l(rn(a),19),(!o.a&&(o.a=new ke(En,o,10,11)),o.a).i==0||(u+=Ywt(e,o,!1));if(r)for(f=Br(t);f;)u+=(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i,f=Br(f);return u}function ky(e,t){var r,o,a,u;return e.Nj()?(o=null,a=e.Oj(),e.Rj()&&(o=e.Tj(e.Yi(t),null)),r=e.Gj(4,u=ZS(e,t),null,t,a),e.Kj()&&u!=null&&(o=e.Mj(u,o)),o?(o.lj(r),o.mj()):e.Hj(r),u):(u=ZS(e,t),e.Kj()&&u!=null&&(o=e.Mj(u,null),o&&o.mj()),u)}function tTn(e){var t,r,o,a,u,f,p,m,y,v;for(y=e.a,t=new pi,m=0,o=new V(e.d);o.a<o.c.c.length;){for(r=l(q(o),228),v=0,zb(r.b,new Fu),f=An(r.b,0);f.b!=f.d.c;)u=l(Sn(f),228),t.a._b(u)&&(a=r.c,p=u.c,v<p.d+p.a+y&&v+a.a+y>p.d&&(v=p.d+p.a+y));r.c.d=v,t.a.yc(r,t),m=b.Math.max(m,r.c.d+r.c.a)}return m}function nTn(e,t,r){var o,a,u,f,p,m;for(f=l(F(e,(Ie(),ite)),16).Jc();f.Ob();){switch(u=l(f.Pb(),9),l(F(u,(Ue(),Cs)),166).g){case 2:Oi(u,t);break;case 4:Oi(u,r)}for(a=new Ft(Gt(Lf(u).a.Jc(),new D));an(a);)o=l(en(a),17),!(o.c&&o.d)&&(p=!o.d,m=l(F(o,_Te),12),p?Yi(o,m):mo(o,m))}}function $o(){$o=K,Q$=new Bw("COMMENTS",0),rl=new Bw("EXTERNAL_PORTS",1),CI=new Bw("HYPEREDGES",2),eB=new Bw("HYPERNODES",3),Qx=new Bw("NON_FREE_PORTS",4),ZE=new Bw("NORTH_SOUTH_PORTS",5),II=new Bw(ASt,6),Xx=new Bw("CENTER_LABELS",7),Zx=new Bw("END_LABELS",8),tB=new Bw("PARTITIONS",9)}function rTn(e,t,r,o,a){return o<0?(o=xE(e,a,Z(X(Je,1),Pe,2,6,[iX,oX,sX,aX,lT,cX,uX,lX,dX,fX,hX,pX]),t),o<0&&(o=xE(e,a,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),o<0?!1:(r.k=o,!0)):o>0?(r.k=o-1,!0):!1}function iTn(e,t,r,o,a){return o<0?(o=xE(e,a,Z(X(Je,1),Pe,2,6,[iX,oX,sX,aX,lT,cX,uX,lX,dX,fX,hX,pX]),t),o<0&&(o=xE(e,a,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),o<0?!1:(r.k=o,!0)):o>0?(r.k=o-1,!0):!1}function oTn(e,t,r,o,a,u){var f,p,m,y;if(p=32,o<0){if(t[0]>=e.length||(p=uo(e,t[0]),p!=43&&p!=45)||(++t[0],o=NF(e,t),o<0))return!1;p==45&&(o=-o)}return p==32&&t[0]-r==2&&a.b==2&&(m=new V9,y=m.q.getFullYear()-N1+N1-80,f=y%100,u.a=o==f,o+=(y/100|0)*100+(o<f?100:0)),u.p=o,!0}function Jwt(e,t){var r,o,a,u,f;Br(e)&&(f=l(F(t,(Ue(),mm)),185),me(ve(e,Zr))===me((qi(),K1))&&Vn(e,Zr,pf),o=(n1(),new Yp(Br(e))),u=new U8(Br(e)?new Yp(Br(e)):null,e),a=V0e(o,u,!1,!0),Jl(f,(su(),gv)),r=l(F(t,nk),8),r.a=b.Math.max(a.a,r.a),r.b=b.Math.max(a.b,r.b))}function sTn(e){var t,r,o,a,u,f;for(u=new pi,t=new Jw((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),a=new Ft(Gt(mp(e).a.Jc(),new D));an(a);)o=l(en(a),74),se(ie((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),0),196)||(f=Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)),t.a._b(f)||(r=u.a.yc(f,u),r==null));return u}function Z_(){Z_=K,zke=Z(X(pw,1),E2t,30,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),b.Math.pow(2,-65)}function Q_(){Q_=K;var e,t;for(ST=we(GE,Pe,92,32,0,1),yI=we(GE,Pe,92,32,0,1),e=1,t=0;t<=18;t++)ST[t]=(jf(),Ea(e,0)>=0?E1(e):I3(E1(cg(e)))),yI[t]=N8(fh(e,t),0)?E1(fh(e,t)):I3(E1(cg(fh(e,t)))),e=yo(e,5);for(;t<yI.length;t++)ST[t]=fE(ST[t-1],ST[1]),yI[t]=fE(yI[t-1],(jf(),KQ))}function Xwt(e,t){var r,o,a,u,f;if(e.c.length==0)return new Co(Oe(0),Oe(0));for(r=(at(0,e.c.length),l(e.c[0],12)).j,f=0,u=t.g,o=t.g+1;f<e.c.length-1&&r.g<u;)++f,r=(at(f,e.c.length),l(e.c[f],12)).j;for(a=f;a<e.c.length-1&&r.g<o;)++a,r=(at(f,e.c.length),l(e.c[f],12)).j;return new Co(Oe(f),Oe(a))}function aTn(e,t,r,o){var a,u,f,p,m,y,v;m=ks(t,r),(r==(He(),dn)||r==Wt)&&(m=ou(m)),f=!1;do for(a=!1,u=0;u<m.gc()-1;u++)y=l(m.Xb(u),12),p=l(m.Xb(u+1),12),Qwn(e,y,p,o)&&(f=!0,FW(e.a,l(m.Xb(u),12),l(m.Xb(u+1),12)),v=l(m.Xb(u+1),12),m.fd(u+1,l(m.Xb(u),12)),m.fd(u,v),a=!0);while(a);return f}function cTn(e,t,r){var o,a,u,f;for(r.Tg(qSt,1),a=l(Ac(dr(new vt(null,new St(t.b,16)),new KHe),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),S0t(e,a,0),f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),o=Ut(e.a,Oe(u.g))!=null?l(Ut(e.a,Oe(u.g)),15).a:0,Te(u,(js(),Jf),Oe(o));r.Ug()}function BF(e,t,r){var o,a,u,f,p,m,y,v;return p=t.i-e.g/2,m=r.i-e.g/2,y=t.j-e.g/2,v=r.j-e.g/2,u=t.g+e.g,f=r.g+e.g,o=t.f+e.g,a=r.f+e.g,p<m+f&&m<p&&y<v+a&&v<y||m<p+u&&p<m&&v<y+o&&y<v||p<m+f&&m<p&&y<v&&v<y+o?!0:m<p+u&&p<m&&y<v+a&&v<y}function uTn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=t.c.length,f=(at(r,t.c.length),l(t.c[r],295)),p=f.a.o.a,T=f.c,N=0,y=f.c;y<=f.f;y++){if(p<=e.a[y])return y;for(v=e.a[y],m=null,a=r+1;a<u;a++)o=(at(a,t.c.length),l(t.c[a],295)),o.c<=y&&o.f>=y&&(m=o);m&&(v=b.Math.max(v,m.a.o.a)),v>N&&(T=y,N=v)}return T}function lTn(e){var t,r,o,a,u,f,p;for(u=new Qp(l(kn(new Af),50)),p=Li,r=new V(e.d);r.a<r.c.c.length;){for(t=l(q(r),228),p=t.c.c;u.a.gc()!=0&&(f=l(u.a.Rc(),228),f.c.c+f.c.b<p);)u.a.Ac(f)!=null;for(a=u.a.ec().Jc();a.Ob();)o=l(a.Pb(),228),Gn(o.b,t),Gn(t.b,o);u.a.yc(t,(Lt(),L1))==null}}function Zwt(e,t,r){var o,a,u,f,p;if(!sy(t)){for(p=r.dh((se(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),p.Tg(VSt,1),f=new JHe,u=null,a=t.Jc();a.Ob();)o=l(a.Pb(),41),f=Wu(Z(X(nl,1),It,22,0,[f,new Qh(o)])),u&&(Te(u,(Nr(),aRt),o),Te(o,sne,u),ZW(o)==ZW(u)&&(Te(u,ane,o),Te(o,jB,u))),u=o;p.Ug(),Zwt(e,f,r)}}function dTn(e,t){var r,o,a;if(t==null){for(o=(!e.a&&(e.a=new ke(Op,e,9,5)),new tn(e.a));o.e!=o.i.gc();)if(r=l(rn(o),691),a=r.c,(a??r.zb)==null)return r}else for(o=(!e.a&&(e.a=new ke(Op,e,9,5)),new tn(e.a));o.e!=o.i.gc();)if(r=l(rn(o),691),wt(t,(a=r.c,a??r.zb)))return r;return null}function bJ(e,t){var r;switch(r=null,t.g){case 1:e.e.nf((_n(),wre))&&(r=l(e.e.mf(wre),260));break;case 3:e.e.nf((_n(),yre))&&(r=l(e.e.mf(yre),260));break;case 2:e.e.nf((_n(),mre))&&(r=l(e.e.mf(mre),260));break;case 4:e.e.nf((_n(),vre))&&(r=l(e.e.mf(vre),260))}return!r&&(r=l(e.e.mf((_n(),yNe)),260)),r}function Qwt(e,t,r){var o,a,u,f,p,m;for(a=r,u=0,p=new V(t);p.a<p.c.c.length;)f=l(q(p),19),Vn(f,(A1(),zB),Oe(a++)),m=xy(f),o=b.Math.atan2(f.j+f.f/2,f.i+f.g/2),o+=o<0?sm:0,o<.7853981633974483||o>nTt?ki(m,e.b):o<=nTt&&o>rTt?ki(m,e.d):o<=rTt&&o>iTt?ki(m,e.c):o<=iTt&&ki(m,e.a),u=Qwt(e,m,u);return a}function eyt(e,t,r,o){var a,u,f,p,m,y;for(a=(o.c+o.a)/2,tu(t.j),Gn(t.j,a),tu(r.e),Gn(r.e,a),y=new PQe,p=new V(e.f);p.a<p.c.c.length;)u=l(q(p),135),m=u.a,GY(y,t,m),GY(y,r,m);for(f=new V(e.k);f.a<f.c.c.length;)u=l(q(f),135),m=u.b,GY(y,t,m),GY(y,r,m);return y.b+=2,y.a+=Mat(t,e.q),y.a+=Mat(e.q,r),y}function fTn(e,t,r){var o;r.Tg("Processor arrange node",1),Ye(Ke(F(t,(js(),Q_e)))),o=l(Xc(hp(dr(new vt(null,new St(t.b,16)),new sze))),41),e.a=l(F(t,cxe),354),e.a==(tC(),dne)||e.a==BB?wEt(e,new Ls(Z(X(PB,1),M7,41,0,[o])),r.dh(1)):e.a==lne&&qEt(e,new Ls(Z(X(PB,1),M7,41,0,[o])),r.dh(1)),r.Ug()}function tyt(e){var t,r,o,a,u,f,p;for(r=e.i,t=e.n,p=r.d,e.f==(Za(),P1)?p+=(r.a-e.e.b)/2:e.f==rd&&(p+=r.a-e.e.b),a=new V(e.d);a.a<a.c.c.length;){switch(o=l(q(a),190),f=o.Kf(),u=new ro,u.b=p,p+=f.b+e.a,e.b.g){case 0:u.a=r.c+t.b;break;case 1:u.a=r.c+t.b+(r.b-f.a)/2;break;case 2:u.a=r.c+r.b-t.c-f.a}o.Mf(u)}}function nyt(e){var t,r,o,a,u,f,p;for(r=e.i,t=e.n,p=r.c,e.b==(_c(),M1)?p+=(r.b-e.e.a)/2:e.b==nd&&(p+=r.b-e.e.a),a=new V(e.d);a.a<a.c.c.length;){switch(o=l(q(a),190),f=o.Kf(),u=new ro,u.a=p,p+=f.a+e.a,e.f.g){case 0:u.b=r.d+t.d;break;case 1:u.b=r.d+t.d+(r.a-f.b)/2;break;case 2:u.b=r.d+r.a-t.a-f.b}o.Mf(u)}}function hTn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;v=r.a.c,f=r.a.c+r.a.b,u=l(Ut(r.c,t),460),R=u.f,M=u.a,m=new Me(v,R),T=new Me(f,M),a=v,r.p||(a+=e.c),a+=r.F+r.v*e.b,y=new Me(a,R),N=new Me(a,M),K3(t.a,Z(X($i,1),Pe,8,0,[m,y])),p=r.d.a.gc()>1,p&&(o=new Me(a,r.b),Gn(t.a,o)),K3(t.a,Z(X($i,1),Pe,8,0,[N,T]))}function e0e(e,t,r){var o,a;for(t<e.d.b.c.length?(e.b=l(ze(e.d.b,t),26),e.a=l(ze(e.d.b,t-1),26),e.c=t):(e.a=new ra(e.d),e.a.p=t-1,Fe(e.d.b,e.a),e.b=new ra(e.d),e.b.p=t,Fe(e.d.b,e.b),e.c=t),Oi(r,e.b),a=new Ft(Gt(si(r).a.Jc(),new D));an(a);)o=l(en(a),17),!o.c.i.c&&o.c.i.k==(Ht(),ta)&&Oi(o.c.i,e.a)}function pTn(e,t){var r,o,a,u;for(u=ks(t,(He(),dn)).Jc();u.Ob();)o=l(u.Pb(),12),r=l(F(o,(Ie(),Nc)),9),r&&Ql($l(Ul(Hl(Bl(new gl,0),.1),e.i[t.p].d),e.i[r.p].a));for(a=ks(t,Vt).Jc();a.Ob();)o=l(a.Pb(),12),r=l(F(o,(Ie(),Nc)),9),r&&Ql($l(Ul(Hl(Bl(new gl,0),.1),e.i[r.p].d),e.i[t.p].a))}function ryt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,U7),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new $Ge))),Le(e,U7,B0,QNe),Le(e,U7,$0,15),Le(e,U7,l7,Oe(0)),Le(e,U7,mx,bx)}function t0e(){t0e=K;var e,t,r,o,a,u;for(F4=we(Ec,UE,30,255,15,1),NU=we(al,Bf,30,16,15,1),t=0;t<255;t++)F4[t]=-1;for(r=57;r>=48;r--)F4[r]=r-48<<24>>24;for(o=70;o>=65;o--)F4[o]=o-65+10<<24>>24;for(a=102;a>=97;a--)F4[a]=a-97+10<<24>>24;for(u=0;u<10;u++)NU[u]=48+u&Ti;for(e=10;e<=15;e++)NU[e]=65+e-10&Ti}function iyt(e,t){t.Tg("Process graph bounds",1),Te(e,(Nr(),ine),wO(CK(ny(new vt(null,new St(e.b,16)),new UHe)))),Te(e,one,wO(CK(ny(new vt(null,new St(e.b,16)),new HHe)))),Te(e,V_e,wO(NK(ny(new vt(null,new St(e.b,16)),new zHe)))),Te(e,W_e,wO(NK(ny(new vt(null,new St(e.b,16)),new GHe)))),t.Ug()}function gTn(e){var t,r,o,a,u;a=l(F(e,(Ue(),mm)),24),u=l(F(e,EB),24),r=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new To(r),a.Gc((su(),gv))&&(o=l(F(e,nk),8),u.Gc((Uc(),Tk))&&(o.a<=0&&(o.a=20),o.b<=0&&(o.b=20)),t.a=b.Math.max(r.a,o.a),t.b=b.Math.max(r.b,o.b)),Ye(Ke(F(e,xte)))||z_n(e,r,t)}function bTn(e){var t,r,o,a,u,f,p;for(t=!1,r=0,a=new V(e.d.b);a.a<a.c.c.length;)for(o=l(q(a),26),o.p=r++,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),!t&&!sy(Lf(u))&&(t=!0);p=xr((Si(),hf),Z(X(E4,1),Ce,87,0,[cs,fs])),t||(Jl(p,il),Jl(p,ff)),e.a=new mft(p),Zs(e.f),Zs(e.b),Zs(e.e),Zs(e.g)}function mJ(e){var t,r,o,a,u,f;if(!e.c){if(f=new dqe,t=L4,u=t.a.yc(e,t),u==null){for(o=new tn(oa(e));o.e!=o.i.gc();)r=l(rn(o),88),a=GF(r),se(a,89)&&ti(f,mJ(l(a,29))),Tn(f,r);t.a.Ac(e)!=null,t.a.gc()==0}_1n(f),gy(f),e.c=new eE((l(ie(Ne((c1(),Bt).o),15),20),f.i),f.g),Pc(e).b&=-33}return e.c}function n0e(e){var t;if(e.c!=10)throw Y(new Dn(jn((Cn(),W7))));switch(t=e.a,t){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Y(new Dn(jn((Cn(),tl))))}return t}function oyt(e){var t,r,o,a,u;if(e.l==0&&e.m==0&&e.h==0)return"0";if(e.h==ED&&e.m==0&&e.l==0)return"-9223372036854775808";if(e.h>>19)return"-"+oyt(k_(e));for(r=e,o="";!(r.l==0&&r.m==0&&r.h==0);){if(a=KW(i7),r=$0e(r,a,!0),t=""+aet(D1),!(r.l==0&&r.m==0&&r.h==0))for(u=9-t.length;u>0;u--)t="0"+t;o=t+o}return o}function mTn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",t=Object.create(null);if(t[e]!==void 0)return!1;var r=Object.getOwnPropertyNames(t);return!(r.length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function wTn(e,t,r){var o,a,u,f,p,m,y,v,T;for(o=r.c,a=r.d,p=qd(t.c),m=qd(t.d),o==t.c?(p=Bme(e,p,a),m=nmt(t.d)):(p=nmt(t.c),m=Bme(e,m,a)),y=new U9(t.a),Wr(y,p,y.a,y.a.a),Wr(y,m,y.c.b,y.c),f=t.c==o,T=new CZe,u=0;u<y.b-1;++u)v=new Co(l(sa(y,u),8),l(sa(y,u+1),8)),f&&u==0||!f&&u==y.b-2?T.b=v:Fe(T.a,v);return T}function yTn(e,t){var r,o,a,u;if(u=e.j.g-t.j.g,u!=0)return u;if(r=l(F(e,(Ue(),xg)),15),o=l(F(t,xg),15),r&&o&&(a=r.a-o.a,a!=0))return a;switch(e.j.g){case 1:return vr(e.n.a,t.n.a);case 2:return vr(e.n.b,t.n.b);case 3:return vr(t.n.a,e.n.a);case 4:return vr(t.n.b,e.n.b);default:throw Y(new ts(Lwe))}}function r0e(e,t,r,o){var a,u,f,p,m;if(yd(($O(),new Ft(Gt(Lf(t).a.Jc(),new D))))>=e.a||!Mbe(t,r))return-1;if(sy(l(o.Kb(t),22)))return 1;for(a=0,f=l(o.Kb(t),22).Jc();f.Ob();)if(u=l(f.Pb(),17),m=u.c.i==t?u.d.i:u.c.i,p=r0e(e,m,r,o),p==-1||(a=b.Math.max(a,p),a>e.c-1))return-1;return a+1}function ef(){ef=K,KB=new Mi((_n(),gk),1.3),IOt=new Mi(lv,(Lt(),!1)),Yxe=new xb(15),u4=new Mi(df,Yxe),l4=new Mi(Od,15),xOt=$L,COt=Am,ROt=m2,OOt=q1,NOt=b2,Dne=v4,DOt=dv,Qxe=(S0e(),TOt),Zxe=SOt,Mne=_Ot,eke=AOt,Kxe=yOt,Lne=wOt,Wxe=mOt,Xxe=EOt,qxe=y4,kOt=bre,OL=pOt,Gxe=hOt,DL=gOt,Jxe=vOt,Vxe=bOt}function syt(e,t){var r,o,a,u,f,p;if(me(t)===me(e))return!0;if(!se(t,16)||(o=l(t,16),p=e.gc(),o.gc()!=p))return!1;if(f=o.Jc(),e.Wi()){for(r=0;r<p;++r)if(a=e.Ti(r),u=f.Pb(),a==null?u!=null:!gr(a,u))return!1}else for(r=0;r<p;++r)if(a=e.Ti(r),u=f.Pb(),me(a)!==me(u))return!1;return!0}function ayt(e,t){var r,o,a,u,f,p;if(e.f>0){if(e.Zj(),t!=null){for(u=0;u<e.d.length;++u)if(r=e.d[u],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(a=o[f],gr(t,a.kd()))return!0}}else for(u=0;u<e.d.length;++u)if(r=e.d[u],r){for(o=l(r.g,375),p=r.i,f=0;f<p;++f)if(a=o[f],me(t)===me(a.kd()))return!0}}return!1}function vTn(e,t){var r,o,a;return r=t.ni(e.a),r&&(a=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),"affiliation")),a!=null)?(o=F8(a,Qa(35)),o==-1?eY(e,_3(e,mu(t.ok())),a):o==0?eY(e,null,(Jt(1,a.length+1),a.substr(1))):eY(e,(io(0,o,a.length),a.substr(0,o)),(Jt(o+1,a.length+1),a.substr(o+1)))):null}function UF(){UF=K,Nee=new OS("NORTH",0,(He(),Vt),Vt),Ree=new OS("SOUTH",1,dn,dn),kee=new OS("EAST",2,Qt,Qt),Lee=new OS("WEST",3,Wt,Wt),Iee=new OS("NORTH_WEST_CORNER",4,Wt,Vt),Cee=new OS("NORTH_EAST_CORNER",5,Vt,Qt),Dee=new OS("SOUTH_WEST_CORNER",6,dn,Wt),Oee=new OS("SOUTH_EAST_CORNER",7,Qt,dn)}function ETn(e,t,r){var o,a,u,f;r.Tg("Orthogonally routing hierarchical port edges",1),e.a=0,o=gxn(t),Akn(t,o),skn(e,t,o),ANn(t),a=l(F(t,(Ue(),Zr)),103),u=t.b,pEt((at(0,u.c.length),l(u.c[0],26)),a,t),pEt(l(ze(u,u.c.length-1),26),a,t),f=t.b,Tvt((at(0,f.c.length),l(f.c[0],26))),Tvt(l(ze(f,f.c.length-1),26)),r.Ug()}function i0e(e){switch(e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw Y(new kf("Invalid hexadecimal"))}}function cyt(e,t,r,o){var a,u,f,p,m,y;for(m=zY(e,r),y=zY(t,r),a=!1;m&&y&&(o||wmn(m,y,r));)f=zY(m,r),p=zY(y,r),d6(t),d6(e),u=m.c,HJ(m,!1),HJ(y,!1),r?(S1(t,y.p,u),t.p=y.p,S1(e,m.p+1,u),e.p=m.p):(S1(e,m.p,u),e.p=m.p,S1(t,y.p+1,u),t.p=y.p),Oi(m,null),Oi(y,null),m=f,y=p,a=!0;return a}function uyt(e){switch(e.g){case 0:return new VWe;case 1:return new LWe;case 3:return new ttt;case 4:return new CUe;case 5:return new Oit;case 6:return new WWe;case 2:return new MWe;case 7:return new BWe;case 8:return new DWe;default:throw Y(new jt("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function STn(e,t,r,o){var a,u,f,p,m;for(a=!1,u=!1,p=new V(o.j);p.a<p.c.c.length;)f=l(q(p),12),me(F(f,(Ie(),wr)))===me(r)&&(f.g.c.length==0?f.e.c.length==0||(a=!0):u=!0);return m=0,a&&a^u?m=r.j==(He(),Vt)?-e.e[o.c.p][o.p]:t-e.e[o.c.p][o.p]:u&&a^u?m=e.e[o.c.p][o.p]+1:a&&u&&(m=r.j==(He(),Vt)?0:t/2),m}function wJ(e,t,r,o,a,u,f,p){var m,y,v;for(m=0,t!=null&&(m^=lg(t.toLowerCase())),r!=null&&(m^=lg(r)),o!=null&&(m^=lg(o)),f!=null&&(m^=lg(f)),p!=null&&(m^=lg(p)),y=0,v=u.length;y<v;y++)m^=lg(u[y]);e?m|=256:m&=-257,a?m|=16:m&=-17,this.f=m,this.i=t==null?null:(Mt(t),t),this.a=r,this.d=o,this.j=u,this.g=f,this.e=p}function o0e(e,t,r){var o,a;switch(a=null,t.g){case 1:a=(bc(),Z2e);break;case 2:a=(bc(),eSe)}switch(o=null,r.g){case 1:o=(bc(),Q2e);break;case 2:o=(bc(),X2e);break;case 3:o=(bc(),tSe);break;case 4:o=(bc(),nSe)}return a&&o?_S(e.j,new yKe(new Ls(Z(X(X3n,1),It,181,0,[l(kn(a),181),l(kn(o),181)])))):(At(),At(),Ro)}function TTn(e){var t,r,o;switch(t=l(F(e,(Ue(),nk)),8),Te(e,nk,new Me(t.b,t.a)),l(F(e,Kf),259).g){case 1:Te(e,Kf,(mh(),rU));break;case 2:Te(e,Kf,(mh(),tU));break;case 3:Te(e,Kf,(mh(),jL));break;case 4:Te(e,Kf,(mh(),FL))}(e.q?e.q:(At(),At(),xh))._b(ev)&&(r=l(F(e,ev),8),o=r.a,r.a=r.b,r.b=o)}function lyt(e,t,r,o,a,u){if(this.b=r,this.d=a,e>=t.length)throw Y(new Ia("Greedy SwitchDecider: Free layer not in graph."));this.c=t[e],this.e=new FO(o),TK(this.e,this.c,(He(),Wt)),this.i=new FO(o),TK(this.i,this.c,Qt),this.f=new nst(this.c),this.a=!u&&a.i&&!a.s&&this.c[0].k==(Ht(),yi),this.a&&Uyn(this,e,t.length)}function dyt(e,t){var r,o,a,u,f,p;u=!e.B.Gc((Uc(),ZL)),f=e.B.Gc(Cre),e.a=new Ggt(f,u,e.c),e.n&&Nhe(e.a.n,e.n),lq(e.g,(Sd(),$a),e.a),t||(o=new fC(1,u,e.c),o.n.a=e.k,IS(e.p,(He(),Vt),o),a=new fC(1,u,e.c),a.n.d=e.k,IS(e.p,dn,a),p=new fC(0,u,e.c),p.n.c=e.k,IS(e.p,Wt,p),r=new fC(0,u,e.c),r.n.b=e.k,IS(e.p,Qt,r))}function ATn(e){var t,r,o;switch(t=l(F(e.d,(Ue(),kp)),225),t.g){case 2:r=g3n(e);break;case 3:r=(o=new je,ei(dr(Oa(bs(bs(new vt(null,new St(e.d.b,16)),new FBe),new $Be),new BBe),new TBe),new fJe(o)),o);break;default:throw Y(new ts("Compaction not supported for "+t+" edges."))}jxn(e,r),lo(new Xh(e.g),new cJe(e))}function _Tn(e,t){var r,o,a,u,f,p,m;if(t.Tg("Process directions",1),r=l(F(e,(js(),cw)),87),r!=(Si(),ff))for(a=An(e.b,0);a.b!=a.d.c;){switch(o=l(Sn(a),41),p=l(F(o,(Nr(),CL)),15).a,m=l(F(o,IL),15).a,r.g){case 4:m*=-1;break;case 1:u=p,p=m,m=u;break;case 2:f=p,p=-m,m=f}Te(o,CL,Oe(p)),Te(o,IL,Oe(m))}t.Ug()}function xTn(e){var t,r,o,a,u,f,p,m;for(m=new vlt,p=new V(e.a);p.a<p.c.c.length;)if(f=l(q(p),9),f.k!=(Ht(),yi)){for(REn(m,f,new ro),u=new Ft(Gt(Or(f).a.Jc(),new D));an(u);)if(a=l(en(u),17),!(a.c.i.k==yi||a.d.i.k==yi))for(o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),t=r,mC(m,new qA(t.a,t.b))}return m}function yJ(){yJ=K,xke=new lr(qZ),_ke=(JN(),ML),Ake=new ht(KZ,_ke),Tke=(x6(),eU),r6t=new ht(zve,Tke),Ske=(J6(),zne),n6t=new ht(Gve,Ske),QOt=new ht(VZ,null),Eke=(o6(),ZB),t6t=new ht(WZ,Eke),vke=(J9(),Bne),YOt=new ht(qve,vke),JOt=new ht(Vve,(Lt(),!1)),XOt=new ht(Wve,Oe(64)),ZOt=new ht(Kve,!0),e6t=Hne}function fyt(e,t){var r,o,a,u,f,p,m,y,v,T;for(e.p=1,a=e.c,T=new ch,v=k0(e,(Fo(),Ba)).Jc();v.Ob();)for(y=l(v.Pb(),12),o=new V(y.g);o.a<o.c.c.length;)r=l(q(o),17),m=r.d.i,e!=m&&(u=m.c,u.p<=a.p&&(f=a.p+1,f==t.b.c.length?(p=new ra(t),p.p=f,Fe(t.b,p),Oi(m,p)):(p=l(ze(t.b,f),26),Oi(m,p)),T.a.yc(m,T)));return T}function hyt(e){switch(e.g){case 0:return new Wfe;case 1:return new zWe;case 2:return new $We;case 3:return new FWe;case 4:return new nnt;case 5:return new int;case 6:return new rnt;case 7:return new UWe;case 8:return new HWe;default:throw Y(new jt("No implementation is available for the cycle breaker "+(e.f!=null?e.f:""+e.g)))}}function kTn(e,t){var r,o;if(r=l(F(e,(Nr(),tne)),16),!r||r.gc()<1)return null;if(r.gc()==1)return l(r.Xb(0),41);switch(o=null,t.g){case 2:o=l(Xc(NS(r.Mc(),new FHe)),41);break;case 1:o=l(Xc(Zw(r.Mc(),new LHe)),41);break;case 4:o=l(Xc(NS(r.Mc(),new MHe)),41);break;case 3:o=l(Xc(Zw(r.Mc(),new PHe)),41)}return o}function pyt(e){var t,r,o,a,u,f;if(e.a==null)if(e.a=we(cc,Ad,30,e.c.b.c.length,16,1),e.a[0]=!1,br(e.c,(Ue(),Ote)))for(o=l(F(e.c,Ote),16),r=o.Jc();r.Ob();)t=l(r.Pb(),15).a,t>0&&t<e.a.length&&(e.a[t]=!1);else for(f=new V(e.c.b),f.a<f.c.c.length&&q(f),a=1;f.a<f.c.c.length;)u=l(q(f),26),e.a[a++]=u2n(u)}function yh(){yh=K,a4=new lr("additionalHeight"),dk=new lr("drawingHeight"),$T=new lr("drawingWidth"),VB=new lr("minHeight"),c4=new lr("minWidth"),WB=new lr("rows"),sv=new lr("targetWidth"),Rne=new Pr("minRowIncrease",0),dOt=new Pr("maxRowIncrease",0),Ine=new Pr("minRowDecrease",0),lOt=new Pr("maxRowDecrease",0)}function gyt(e,t){var r,o,a,u;switch(a=e.b,t){case 1:{e.b|=1,e.b|=4,e.b|=8;break}case 2:{e.b|=2,e.b|=4,e.b|=8;break}case 4:{e.b|=1,e.b|=2,e.b|=4,e.b|=8;break}case 3:{e.b|=16,e.b|=8;break}case 0:{e.b|=32,e.b|=16,e.b|=8,e.b|=1,e.b|=2,e.b|=4;break}}if(e.b!=a&&e.c)for(o=new tn(e.c);o.e!=o.i.gc();)u=l(rn(o),474),r=Pc(u),Ay(r,t)}function byt(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M;for(a=!1,f=t,p=0,m=f.length;p<m;++p)u=f[p],Ye((Lt(),!!u.e))&&!l(ze(e.b,u.e.p),221).s&&(a=a|(y=u.e,v=l(ze(e.b,y.p),221),T=v.e,N=FQe(r,T.length),R=T[N][0],R.k==(Ht(),yi)?T[N]=iSn(u,T[N],r?(He(),Wt):(He(),Qt)):v.c.kg(T,r),M=oD(e,v,r,o),Xme(v.e,v.o,r),M));return a}function myt(e,t){var r,o,a,u,f;for(u=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i,a=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));a.e!=a.i.gc();)o=l(rn(a),19),me(ve(o,(_n(),p2)))!==me((pp(),T4))&&(f=l(ve(t,fv),144),r=l(ve(o,fv),144),(f==r||f&&hpe(f,r))&&(!o.a&&(o.a=new ke(En,o,10,11)),o.a).i!=0&&(u+=myt(e,o)));return u}function NTn(e){var t,r,o,a,u;for(u=new Da(e.a.c.length),a=new V(e.a);a.a<a.c.c.length;){switch(o=l(q(a),9),r=l(F(o,(Ue(),Cs)),166),t=null,r.g){case 1:case 2:t=(Vb(),XE);break;case 3:case 4:t=(Vb(),Jx)}t?(Te(o,(Ie(),iB),(Vb(),XE)),t==Jx?FF(o,r,(Fo(),Cc)):t==XE&&FF(o,r,(Fo(),Ba))):Rt(u.c,o)}return u}function CTn(e){var t,r,o,a,u,f,p;for(o=0,p=0,f=new V(e.d);f.a<f.c.c.length;)u=l(q(f),108),a=l(Ac(dr(new vt(null,new St(u.j,16)),new Lce),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),r=null,o<=p?(r=(He(),Vt),o+=a.gc()):p<o&&(r=(He(),dn),p+=a.gc()),t=r,ei(Oa(a.Mc(),new iUe),new gJe(t))}function ITn(e,t){var r;return r=new Q2,t&&qs(r,l(Ut(e.a,t5),105)),se(t,278)&&qs(r,l(Ut(e.a,n5),105)),se(t,363)?(qs(r,l(Ut(e.a,Rs),105)),r):(se(t,83)&&qs(r,l(Ut(e.a,pn),105)),se(t,209)?(qs(r,l(Ut(e.a,En),105)),r):se(t,196)?(qs(r,l(Ut(e.a,Gc),105)),r):(se(t,273)&&qs(r,l(Ut(e.a,Ir),105)),r))}function RTn(e){var t,r,o,a,u,f,p,m;for(e.b=new l0t(new Ls((He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt]))),new Ls((T0(),Z(X(xee,1),Ce,369,0,[Q0,j1,Z0])))),f=Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt]),p=0,m=f.length;p<m;++p)for(u=f[p],r=Z(X(xee,1),Ce,369,0,[Q0,j1,Z0]),o=0,a=r.length;o<a;++o)t=r[o],j0n(e.b,u,t,new je)}function wyt(e,t){var r,o,a,u,f,p,m,y,v,T;if(f=l(l(yr(e.r,t),24),85),p=e.u.Gc((xc(),Y1)),r=e.u.Gc(k4),o=e.u.Gc(x4),y=e.u.Gc(KT),T=e.B.Gc((Uc(),gU)),v=!r&&!o&&(y||f.gc()==2),CSn(e,t),a=null,m=null,p){for(u=f.Jc(),a=l(u.Pb(),116),m=a;u.Ob();)m=l(u.Pb(),116);a.d.b=0,m.d.c=0,v&&!a.a&&(a.d.c=0)}T&&(Lwn(f),p&&(a.d.b=0,m.d.c=0))}function yyt(e,t){var r,o,a,u,f,p,m,y,v,T;if(f=l(l(yr(e.r,t),24),85),p=e.u.Gc((xc(),Y1)),r=e.u.Gc(k4),o=e.u.Gc(x4),m=e.u.Gc(KT),T=e.B.Gc((Uc(),gU)),y=!r&&!o&&(m||f.gc()==2),WAn(e,t),v=null,a=null,p){for(u=f.Jc(),v=l(u.Pb(),116),a=v;u.Ob();)a=l(u.Pb(),116);v.d.d=0,a.d.a=0,y&&!v.a&&(v.d.a=0)}T&&(Mwn(f),p&&(v.d.d=0,a.d.a=0))}function vyt(e,t,r){var o,a,u,f,p,m,y,v;if(a=t.k,t.p>=0)return!1;if(t.p=r.b,Fe(r.e,t),a==(Ht(),bi)||a==_a){for(f=new V(t.j);f.a<f.c.c.length;)for(u=l(q(f),12),v=(o=new V(new tS(u).a.g),new Sue(o));Ts(v.a);)if(y=l(q(v.a),17).d,p=y.i,m=p.k,t.c!=p.c&&(m==bi||m==_a)&&vyt(e,p,r))return!0}return!0}function HF(e){var t;return e.Db&64?Tme(e):(t=new ml(Tme(e)),t.a+=" (changeable: ",Zp(t,(e.Bb&Tl)!=0),t.a+=", volatile: ",Zp(t,(e.Bb&yp)!=0),t.a+=", transient: ",Zp(t,(e.Bb&Dy)!=0),t.a+=", defaultValueLiteral: ",Wo(t,e.j),t.a+=", unsettable: ",Zp(t,(e.Bb&yc)!=0),t.a+=", derived: ",Zp(t,(e.Bb&$f)!=0),t.a+=")",t.a)}function OTn(e,t){var r,o,a,u,f;return a=t.ni(e.a),a&&(o=(!a.b&&(a.b=new Zc((_t(),Do),zs,a)),a.b),r=In(Td(o,ho)),r!=null&&(u=r.lastIndexOf("#"),f=u==-1?Hde(e,t.hk(),r):u==0?u6(e,null,(Jt(1,r.length+1),r.substr(1))):u6(e,(io(0,u,r.length),r.substr(0,u)),(Jt(u+1,r.length+1),r.substr(u+1))),se(f,160)))?l(f,160):null}function DTn(e,t){var r,o,a,u,f;return o=t.ni(e.a),o&&(r=(!o.b&&(o.b=new Zc((_t(),Do),zs,o)),o.b),u=In(Td(r,_Q)),u!=null&&(a=u.lastIndexOf("#"),f=a==-1?Hde(e,t.hk(),u):a==0?u6(e,null,(Jt(1,u.length+1),u.substr(1))):u6(e,(io(0,a,u.length),u.substr(0,a)),(Jt(a+1,u.length+1),u.substr(a+1))),se(f,160)))?l(f,160):null}function LTn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(t.Tg("Restoring reversed edges",1),m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),v=new V(p.a);v.a<v.c.c.length;)for(y=l(q(v),9),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),f=Df(T.g),o=f,a=0,u=o.length;a<u;++a)r=o[a],Ye(Ke(F(r,(Ie(),Ag))))&&mg(r,!1);t.Ug()}function MTn(e,t,r,o){var a,u,f,p,m;for(m=we(Ki,Pe,109,(He(),Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt])).length,0,2),u=Z(X(Oo,1),ea,64,0,[Is,Vt,Qt,dn,Wt]),f=0,p=u.length;f<p;++f)a=u[f],m[a.g]=we(Ki,Xo,30,e.c[a.g],15,1);return Sbt(m,e,Vt),Sbt(m,e,dn),MY(m,e,Vt,t,r,o),MY(m,e,Qt,t,r,o),MY(m,e,dn,t,r,o),MY(m,e,Wt,t,r,o),m}function PTn(e,t,r){if(ma(e.a,t)){if(bl(l(Ut(e.a,t),47),r))return 1}else Jn(e.a,t,new pi);if(ma(e.a,r)){if(bl(l(Ut(e.a,r),47),t))return-1}else Jn(e.a,r,new pi);if(ma(e.b,t)){if(bl(l(Ut(e.b,t),47),r))return-1}else Jn(e.b,t,new pi);if(ma(e.b,r)){if(bl(l(Ut(e.b,r),47),t))return 1}else Jn(e.b,r,new pi);return 0}function jTn(e){var t,r,o,a,u,f;e.q==(qi(),Oh)||e.q==fa||(a=e.f.n.d+tP(l(Ko(e.b,(He(),Vt)),129))+e.c,t=e.f.n.a+tP(l(Ko(e.b,dn),129))+e.c,o=l(Ko(e.b,Qt),129),f=l(Ko(e.b,Wt),129),u=b.Math.max(0,o.n.d-a),u=b.Math.max(u,f.n.d-a),r=b.Math.max(0,o.n.a-t),r=b.Math.max(r,f.n.a-t),o.n.d=u,f.n.d=u,o.n.a=r,f.n.a=r)}function s0e(e,t,r,o){var a,u,f,p,m,y;if(r==null){for(a=l(e.g,123),p=0;p<e.i;++p)if(f=a[p],f.Jk()==t)return xo(e,f,o)}return u=(Mo(),l(t,69).vk()?l(r,76):gh(t,r)),Jc(e.e)?(y=!F6(e,t),o=Pa(e,u,o),m=t.Hk()?l1(e,3,t,null,r,nx(e,t,r,se(t,104)&&(l(t,20).Bb&Io)!=0),y):l1(e,1,t,t.gk(),r,-1,y),o?o.lj(m):o=m):o=Pa(e,u,o),o}function Eyt(){this.b=new f1,this.d=new f1,this.e=new f1,this.c=new f1,this.a=new hn,this.f=new hn,lE($i,new mGe,new wGe),lE(Gke,new CGe,new IGe),lE(Y2e,new RGe,new OGe),lE(J2e,new DGe,new LGe),lE(PDt,new MGe,new PGe),lE(Z3n,new yGe,new vGe),lE(tCn,new EGe,new SGe),lE(Q3n,new TGe,new AGe),lE(eCn,new _Ge,new xGe),lE(iCn,new kGe,new NGe)}function CC(e,t){var r,o,a,u,f;for(e=e==null?tc:(Mt(e),e),a=0;a<t.length;a++)t[a]=F2n(t[a]);for(r=new lS,f=0,o=0;o<t.length&&(u=e.indexOf("%s",f),u!=-1);)r.a+=""+yl(e==null?tc:(Mt(e),e),f,u),ba(r,t[o++]),f=u+2;if(gut(r,e,f,e.length),o<t.length){for(r.a+=" [",ba(r,t[o++]);o<t.length;)r.a+=ja,ba(r,t[o++]);r.a+="]"}return r.a}function a0e(e,t){var r,o,a,u,f,p,m;for(r=0,m=new V(t);m.a<m.c.c.length;){for(p=l(q(m),12),Yge(e.b,e.d[p.p]),f=0,a=new Vd(p.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),Qst(o)?(u=lle(e,p==o.c?o.d:o.c),u>e.d[p.p]&&(r+=lpe(e.b,u),d1(e.a,Oe(u)))):++f;for(r+=e.b.d*f;!zN(e.a);)Gpe(e.b,l(CS(e.a),15).a)}return r}function Syt(e){var t,r,o,a,u,f;return u=0,t=Sl(e),t.ik()&&(u|=4),e.Bb&yc&&(u|=2),se(e,104)?(r=l(e,20),a=Po(r),r.Bb&Ws&&(u|=32),a&&(ln(iy(a)),u|=8,f=a.t,(f>1||f==-1)&&(u|=16),a.Bb&Ws&&(u|=64)),r.Bb&Io&&(u|=yp),u|=Tl):se(t,462)?u|=512:(o=t.ik(),o&&o.i&1&&(u|=256)),e.Bb&512&&(u|=128),u}function FTn(e,t){var r;return e.f==zre?(r=f0(is((mc(),ao),t)),e.e?r==4&&t!=(rT(),XT)&&t!=(rT(),JT)&&t!=(rT(),Gre)&&t!=(rT(),qre):r==2):e.d&&(e.d.Gc(t)||e.d.Gc(MS(is((mc(),ao),t)))||e.d.Gc(RE((mc(),ao),e.b,t)))?!0:e.f&&zme((mc(),e.f),WO(is(ao,t)))?(r=f0(is(ao,t)),e.e?r==4:r==2):!1}function $Tn(e,t){var r,o,a,u,f,p,m,y;for(u=new je,t.b.c.length=0,r=l(Ac(Ghe(new vt(null,new St(new Xh(e.a.b),1))),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),a=r.Jc();a.Ob();)if(o=l(a.Pb(),15),f=rpe(e.a,o),f.b!=0)for(p=new ra(t),Rt(u.c,p),p.p=o.a,y=An(f,0);y.b!=y.d.c;)m=l(Sn(y),9),Oi(m,p);li(t.b,u)}function vJ(e){var t,r,o,a,u,f,p;for(p=new hn,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),60),Jn(p,t,new je);for(a=new V(e.a.b);a.a<a.c.c.length;)for(t=l(q(a),60),t.i=Li,f=t.c.Jc();f.Ob();)u=l(f.Pb(),60),l(Ss(ns(p.f,u)),16).Ec(t);for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),60),t.c.$b(),t.c=l(Ss(ns(p.f,t)),16);zwt(e)}function EJ(e){var t,r,o,a,u,f,p;for(p=new hn,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),84),Jn(p,t,new je);for(a=new V(e.a.b);a.a<a.c.c.length;)for(t=l(q(a),84),t.o=Li,f=t.f.Jc();f.Ob();)u=l(f.Pb(),84),l(Ss(ns(p.f,u)),16).Ec(t);for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.f.$b(),t.f=l(Ss(ns(p.f,t)),16);Owt(e)}function BTn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(m=ji(t.a),a=ce(le(F(m,(Ue(),B1))))*2,v=ce(le(F(m,rv))),y=b.Math.max(a,v),u=we(Ki,Xo,30,t.f-t.c+1,15,1),o=-y,r=0,p=t.b.Jc();p.Ob();)f=l(p.Pb(),9),o+=e.a[f.c.p]+y,u[r++]=o;for(o+=e.a[t.a.c.p]+y,u[r++]=o,N=new V(t.e);N.a<N.c.c.length;)T=l(q(N),9),o+=e.a[T.c.p]+y,u[r++]=o;return u}function UTn(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(N=new Qp(new MJe(e)),p=Z(X(Nh,1),vg,9,0,[t,r]),m=0,y=p.length;m<y;++m)for(f=p[m],T=oC(f,o).Jc();T.Ob();)for(v=l(T.Pb(),12),u=new Vd(v.b);Ts(u.a)||Ts(u.b);)a=l(Ts(u.a)?q(u.a):q(u.b),17),fo(a)||(N.a.yc(v,(Lt(),L1))==null,Qst(a)&&qO(N,v==a.c?a.d:a.c));return kn(N),new Tc(N)}function HTn(e,t,r,o){var a,u,f,p,m,y,v,T;return f=l(ve(r,(_n(),GT)),8),m=f.a,v=f.b+e,a=b.Math.atan2(v,m),a<0&&(a+=sm),a+=t,a>sm&&(a-=sm),p=l(ve(o,GT),8),y=p.a,T=p.b+e,u=b.Math.atan2(T,y),u<0&&(u+=sm),u+=t,u>sm&&(u-=sm),Ud(),Yl(1e-10),b.Math.abs(a-u)<=1e-10||a==u||isNaN(a)&&isNaN(u)?0:a<u?-1:a>u?1:kb(isNaN(a),isNaN(u))}function c0e(e,t,r,o){var a,u,f;t&&(u=ce(le(F(t,(Nr(),Ng))))+o,f=r+ce(le(F(t,FB)))/2,Te(t,CL,Oe(On(Gs(b.Math.round(u))))),Te(t,IL,Oe(On(Gs(b.Math.round(f))))),t.d.b==0||c0e(e,l(P8((a=An(new Qh(t).a.d,0),new Vv(a))),41),r+ce(le(F(t,FB)))+e.b,o+ce(le(F(t,lk)))),F(t,ane)!=null&&c0e(e,l(F(t,ane),41),r,o))}function zTn(e,t){var r,o,a,u;if(u=l(ve(e,(_n(),w2)),64).g-l(ve(t,w2),64).g,u!=0)return u;if(r=l(ve(e,Ere),15),o=l(ve(t,Ere),15),r&&o&&(a=r.a-o.a,a!=0))return a;switch(l(ve(e,w2),64).g){case 1:return vr(e.i,t.i);case 2:return vr(e.j,t.j);case 3:return vr(t.i,e.i);case 4:return vr(t.j,e.j);default:throw Y(new ts(Lwe))}}function u0e(e){var t,r,o;return e.Db&64?tJ(e):(t=new fu(fEe),r=e.k,r?zn(zn((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n.i>0&&(o=(!e.n&&(e.n=new ke(Rs,e,1,7)),l(ie(e.n,0),158)).a,!o||zn(zn((t.a+=' "',t),o),'"'))),zn(e0(zn(e0(zn(e0(zn(e0((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function Tyt(e){var t,r,o;return e.Db&64?tJ(e):(t=new fu(hEe),r=e.k,r?zn(zn((t.a+=' "',t),r),'"'):(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n.i>0&&(o=(!e.n&&(e.n=new ke(Rs,e,1,7)),l(ie(e.n,0),158)).a,!o||zn(zn((t.a+=' "',t),o),'"'))),zn(e0(zn(e0(zn(e0(zn(e0((t.a+=" (",t),e.i),","),e.j)," | "),e.g),","),e.f),")"),t.a)}function GTn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;for(R=-1,M=0,v=t,T=0,N=v.length;T<N;++T){for(y=v[T],f=y,p=0,m=f.length;p<m;++p)for(u=f[p],r=new jpe(e,R==-1?t[0]:t[R],l(F(ji(u),(Ue(),Ch)),270),bbt(u),Ye(Ke(F(ji(u),bte)))),o=0;o<u.j.c.length;o++)for(a=o+1;a<u.j.c.length;a++)Est(r,l(ze(u.j,o),12),l(ze(u.j,a),12))>0&&++M;++R}return M}function qTn(e,t){var r,o,a,u,f;for(t==(nC(),Wte)&&vC(l(yr(e.a,(Ey(),sL)),16)),a=l(yr(e.a,(Ey(),sL)),16).Jc();a.Ob();)switch(o=l(a.Pb(),108),r=l(ze(o.j,0),114).d.j,u=new Tc(o.j),ki(u,new KBe),t.g){case 2:KY(e,u,r,(T0(),j1),1);break;case 1:case 0:f=M2n(u),KY(e,new Rf(u,0,f),r,(T0(),j1),0),KY(e,new Rf(u,f,u.c.length),r,j1,1)}}function VTn(e){var t,r,o,a,u,f,p;for(a=l(F(e,(Ie(),tw)),9),o=e.j,r=(at(0,o.c.length),l(o.c[0],12)),f=new V(a.j);f.a<f.c.c.length;)if(u=l(q(f),12),me(u)===me(F(r,wr))){u.j==(He(),Vt)&&e.p>a.p?(Ii(u,dn),u.d&&(p=u.o.b,t=u.a.b,u.a.b=p-t)):u.j==dn&&a.p>e.p&&(Ii(u,Vt),u.d&&(p=u.o.b,t=u.a.b,u.a.b=-(p-t)));break}return a}function l0e(e,t){var r,o,a,u,f,p,m;if(t==null||t.length==0)return null;if(a=l(wa(e.a,t),144),!a){for(o=(p=new Zh(e.b).a.vc().Jc(),new Pw(p));o.a.Ob();)if(r=(u=l(o.a.Pb(),45),l(u.kd(),144)),f=r.c,m=t.length,wt(f.substr(f.length-m,m),t)&&(t.length==f.length||uo(f,f.length-t.length-1)==46)){if(a)return null;a=r}a&&rs(e.a,t,a)}return a}function ex(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=new Me(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),mr(y.n,u),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),a=new V(T.g);a.a<a.c.c.length;)for(o=l(q(a),17),fy(o.a,u),f=l(F(o,(Ue(),as)),79),f&&fy(f,u),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),mr(p.n,u)}function WTn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=new Me(t,r),v=new V(e.a);v.a<v.c.c.length;)for(y=l(q(v),9),mr(y.n,u),N=new V(y.j);N.a<N.c.c.length;)for(T=l(q(N),12),a=new V(T.g);a.a<a.c.c.length;)for(o=l(q(a),17),fy(o.a,u),f=l(F(o,(Ue(),as)),79),f&&fy(f,u),m=new V(o.b);m.a<m.c.c.length;)p=l(q(m),70),mr(p.n,u)}function Ayt(e){if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i==0)throw Y(new uS("Edges must have a source."));if((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i==0)throw Y(new uS("Edges must have a target."));if(!e.b&&(e.b=new Tt(pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c.i<=1)))throw Y(new uS("Hyperedges are not supported."))}function KTn(e,t){var r,o;t.Tg("Partition preprocessing",1),o=l(Ac(dr(new vt(null,new St(e.a,16)),new _$e),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),r=l(Ac(dr(bs(dr(new vt(null,new St(e.a,16)),new x$e),new k$e),new WYe(o)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),16),ei(r.Mc(),new N$e),t.Ug()}function _yt(e){var t,r,o;br(e,(Ue(),iw))&&(o=l(F(e,iw),24),!o.dc()&&(r=(t=l(md(Go),10),new Hu(t,l(Gl(t,t.length),10),0)),o.Gc((_y(),ku))?Jl(r,ku):Jl(r,ud),o.Gc(Cl)||Jl(r,Cl),o.Gc(ad)?Jl(r,ld):o.Gc(Ip)?Jl(r,Rh):o.Gc(cd)&&Jl(r,Il),o.Gc(ld)?Jl(r,ad):o.Gc(Rh)?Jl(r,Ip):o.Gc(Il)&&Jl(r,cd),Te(e,iw,r)))}function xyt(e,t){var r,o;for(this.b=new je,this.e=new je,this.a=e,this.d=t,Ibn(this),j1n(this),this.b.dc()?this.c=e.c.p:this.c=l(this.b.Xb(0),9).c.p,this.e.c.length==0?this.f=e.c.p:this.f=l(ze(this.e,this.e.c.length-1),9).c.p,o=l(F(e,(Ie(),OI)),16).Jc();o.Ob();)if(r=l(o.Pb(),70),br(r,(Ue(),hB))){this.d=l(F(r,hB),233);break}}function au(e,t,r){var o,a,u,f,p,m,y,v;for(o=l(Ut(e.b,t),47),u=l(Ut(e.b,r),47),a=l(Ut(e.g,t),47),f=l(Ut(e.g,r),47),o.a.yc(r,o),f.a.yc(t,f),v=u.a.ec().Jc();v.Ob();)y=l(v.Pb(),9),o.a.yc(y,o),gi(l(Ut(e.g,y),47),t),wo(l(Ut(e.g,y),47),a);for(m=a.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),f.a.yc(p,f),gi(l(Ut(e.b,p),47),r),wo(l(Ut(e.b,p),47),u)}function sD(e,t,r){var o,a,u,f,p,m,y,v;for(o=l(Ut(e.a,t),47),u=l(Ut(e.a,r),47),a=l(Ut(e.b,t),47),f=l(Ut(e.b,r),47),o.a.yc(r,o),f.a.yc(t,f),v=u.a.ec().Jc();v.Ob();)y=l(v.Pb(),9),o.a.yc(y,o),gi(l(Ut(e.b,y),47),t),wo(l(Ut(e.b,y),47),a);for(m=a.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),f.a.yc(p,f),gi(l(Ut(e.a,p),47),r),wo(l(Ut(e.a,p),47),u)}function jf(){jf=K;var e;for(f$=new ap(1,1),KQ=new ap(1,10),wI=new ap(0,0),axt=new ap(-1,1),cxt=Z(X(GE,1),Pe,92,0,[wI,f$,new ap(1,2),new ap(1,3),new ap(1,4),new ap(1,5),new ap(1,6),new ap(1,7),new ap(1,8),new ap(1,9),KQ]),h$=we(GE,Pe,92,32,0,1),e=0;e<h$.length;e++)h$[e]=N8(fh(1,e),0)?E1(fh(1,e)):I3(E1(cg(fh(1,e))))}function kyt(e,t){var r,o,a,u,f,p,m,y,v;for(a=new Ft(Gt(mp(t).a.Jc(),new D));an(a);)o=l(en(a),74),v=Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)),p=kC(o),m=t.i+t.g/2,y=t.j+t.f,u=v.i+v.g/2,f=v.j,E0(p,m),S0(p,y),y0(p,u),v0(p,f),r=ce(le(ve(v,(wh(),uw)))),b.Math.abs(r-(f-ce(le(ve(Br(v),(_n(),Od))))/2))>wg&&iY(p,u,r),kyt(e,v)}function Nyt(e,t,r,o,a,u,f){if(e.c=o.Jf().a,e.d=o.Jf().b,a&&(e.c+=a.Jf().a,e.d+=a.Jf().b),e.b=t.Kf().a,e.a=t.Kf().b,!a)r?e.c-=f+t.Kf().a:e.c+=o.Kf().a+f;else switch(a.$f().g){case 0:case 2:e.c+=a.Kf().a+f+u.a+f;break;case 4:e.c-=f+u.a+f+t.Kf().a;break;case 1:e.c+=a.Kf().a+f,e.d-=f+u.b+f+t.Kf().b;break;case 3:e.c+=a.Kf().a+f,e.d+=a.Kf().b+f+u.b+f}}function YTn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M;if(u=r,r<o)for(N=(R=new _6(e.p),M=new _6(e.p),wo(R.e,e.e),R.q=e.q,R.r=M,EP(R),wo(M.j,e.j),M.r=R,EP(M),new Co(R,M)),T=l(N.a,117),v=l(N.b,117),a=(at(u,t.c.length),l(t.c[u],341)),f=eyt(e,T,v,a),y=r+1;y<=o;y++)p=(at(y,t.c.length),l(t.c[y],341)),m=eyt(e,T,v,p),Cbn(p,m,a,f)&&(a=p,f=m,u=y);return u}function JTn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M;for(f=l(ie(t,0),19),va(f,0),gc(f,0),N=new je,Rt(N.c,f),p=f,u=new $fe(e.a,f.g,f.f,(xC(),LL)),R=1;R<t.i;R++)M=l(ie(t,R),19),m=OJ(e,h2,M,p,u,N,r),y=OJ(e,BT,M,p,u,N,r),v=OJ(e,f4,M,p,u,N,r),T=OJ(e,d4,M,p,u,N,r),a=Nxn(e,m,y,v,T,M,p,o),va(M,a.d),gc(M,a.e),UZt(a,LL),u=a,p=M,Rt(N.c,M);return u}function XTn(e,t,r){var o,a,u,f,p,m,y,v,T,N;if(v=null,N=t,T=Wft(e,Put(r),N),v_(T,sp(N,qf)),f=m0(N,gEe),o=new cnt(e,T),t0t(o.a,o.b,f),p=m0(N,hQ),a=new unt(e,T),n0t(a.a,a.b,p),(!T.b&&(T.b=new Tt(pn,T,4,7)),T.b).i==0||(!T.c&&(T.c=new Tt(pn,T,5,8)),T.c).i==0)throw u=sp(N,qf),m=sAt+u,y=m+Px,Y(new xf(y));return SF(N,T),a3n(e,N,T),v=BK(e,N,T),v}function ZTn(e,t){var r,o,a,u,f,p,m;for(a=we(Rn,Qn,30,e.e.a.c.length,15,1),f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),a[u.d]+=u.b.a.c.length;for(p=UO(t);p.b!=0;)for(u=l(p.b==0?null:(cn(p.b!=0),Vu(p,p.a.a)),126),o=BS(new V(u.g.a));o.Ob();)r=l(o.Pb(),220),m=r.e,m.e=b.Math.max(m.e,u.e+r.a),--a[m.d],a[m.d]==0&&Wr(p,m,p.c.b,p.c)}function Cyt(e){var t,r,o,a,u,f,p,m,y,v,T;for(r=Zi,a=ar,p=new V(e.e.a);p.a<p.c.c.length;)u=l(q(p),126),a=b.Math.min(a,u.e),r=b.Math.max(r,u.e);for(t=we(Rn,Qn,30,r-a+1,15,1),f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),u.e-=a,++t[u.e];if(o=0,e.k!=null)for(y=e.k,v=0,T=y.length;v<T&&(m=y[v],t[o++]+=m,t.length!=o);++v);return t}function QTn(e,t){var r,o,a,u,f,p;if(t.Tg("Edge routing",1),a=l(F(e,(js(),cne)),386),a==(eC(),ene))Jdn(e);else if(a==kL)for(l(Xc(hp(dr(new vt(null,new St(e.b,16)),new IHe))),41),u=ce(le(F(e,sxe))),f=ce(le(F(e,txe))),p=l(F(e,cw),87),u3n(e,p,u),U3n(e,p,u,f),z3n(e,p,u,f),o=An(e.a,0);o.b!=o.d.c;)r=l(Sn(o),65),r.a.b<2&&gme(r);t.Ug()}function Iyt(e){switch(e.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return l(Zme(e),15).a==e.o;case 1:case 2:{if(e.o==-2)return!1;switch(e.p){case 0:case 1:case 2:case 6:case 5:case 7:return d3(e.k,e.f);case 3:case 4:return e.j==e.e;default:return e.n==null?e.g==null:gr(e.n,e.g)}}default:return!1}}function eAn(e){var t,r,o,a;for(a=e.b,t=!1,o=new V(e.i.d);o.a<o.c.c.length;)if(r=l(q(o),70),Ye(Ke(F(r,(Ue(),o2))))){t=!0;break}fc(a,(He(),Vt))?fc(a,dn)?fc(a,Wt)?fc(a,Qt)||ig(e,t?Wt:Vt,t?(Xl(),Gy):(Xl(),Vx),t?null:e.c):ig(e,t?Qt:Vt,t?(Xl(),Gy):(Xl(),qx),t?null:e.a):ig(e,Vt,(Xl(),Gy),null):ig(e,dn,(Xl(),Gy),null)}function Ryt(e,t,r){var o,a,u,f,p,m,y,v,T;for(u=new Da(t.c.length),y=new V(t);y.a<y.c.c.length;)f=l(q(y),9),Fe(u,e.b[f.c.p][f.p]);for($xn(e,u,r),T=null;T=jkn(u);)y_n(e,l(T.a,242),l(T.b,242),u);for(t.c.length=0,a=new V(u);a.a<a.c.c.length;)for(o=l(q(a),242),p=o.d,m=0,v=p.length;m<v;++m)f=p[m],Rt(t.c,f),e.a[f.c.p][f.p].a=Hd(o.g,o.d[0]).a}function tAn(e,t){var r,o,a;switch(t.Tg("Breaking Point Insertion",1),o=new Cme(e),l(F(e,(Ue(),Rte)),351).g){case 2:a=new Fce;break;case 0:a=new Mce;break;default:a=new $ce}if(r=a.mg(e,o),Ye(Ke(F(e,XAe)))&&(r=Wxn(e,r)),!a.ng()&&br(e,TB))switch(l(F(e,TB),352).g){case 2:r=e0t(o,r);break;case 1:r=Ubt(o,r)}if(r.dc()){t.Ug();return}p3n(e,r),t.Ug()}function Oyt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,Ox),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new FGe))),Le(e,Ox,B0,KNe),Le(e,Ox,R7,Ge(S4)),Le(e,Ox,oEe,Ge(GNe)),Le(e,Ox,PE,Ge(qNe)),Le(e,Ox,mT,Ge(WNe)),Le(e,Ox,vx,Ge(VNe))}function zF(e,t,r){var o,a,u,f,p;if(o=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),p=On(yo(Sh,ph(On(yo(r==null?0:Rr(r),Th)),15))),u=Y3(e,t,o),u&&p==u.f&&rp(r,u.i))return r;if(f=J3(e,r,p),f)throw Y(new jt("value already present: "+r));return a=new AP(t,o,r,p),u?(NE(e,u),Z6(e,a,u),u.e=null,u.c=null,u.i):(Z6(e,a,null),Tbt(e),null)}function nAn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;v=r.a.c,f=r.a.c+r.a.b,u=l(Ut(r.c,t),460),R=u.f,M=u.a,u.b?m=new Me(f,R):m=new Me(v,R),u.c?T=new Me(v,M):T=new Me(f,M),a=v,r.p||(a+=e.c),a+=r.F+r.v*e.b,y=new Me(a,R),N=new Me(a,M),K3(t.a,Z(X($i,1),Pe,8,0,[m,y])),p=r.d.a.gc()>1,p&&(o=new Me(a,r.b),Gn(t.a,o)),K3(t.a,Z(X($i,1),Pe,8,0,[N,T]))}function x1(){x1=K,NB=new Uw(_d,0),SL=new Uw("NIKOLOV",1),TL=new Uw("NIKOLOV_PIXEL",2),l_e=new Uw("NIKOLOV_IMPROVED",3),d_e=new Uw("NIKOLOV_IMPROVED_PIXEL",4),u_e=new Uw("DUMMYNODE_PERCENTAGE",5),f_e=new Uw("NODECOUNT_PERCENTAGE",6),CB=new Uw("NO_BOUNDARY",7),ak=new Uw("MODEL_ORDER_LEFT_TO_RIGHT",8),KI=new Uw("MODEL_ORDER_RIGHT_TO_LEFT",9)}function SJ(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;return v=null,N=Dme(e,t),o=null,p=l(ve(t,(_n(),Y6t)),301),p?o=p:o=(V3(),YL),R=o,R==(V3(),YL)&&(a=null,y=l(Ut(e.r,N),301),y?a=y:a=Nre,R=a),Jn(e.r,t,R),u=null,m=l(ve(t,K6t),280),m?u=m:u=(O_(),zL),T=u,T==(O_(),zL)&&(f=null,r=l(Ut(e.b,N),280),r?f=r:f=uU,T=f),v=l(Jn(e.b,t,T),280),v}function rAn(e){var t,r,o,a,u;for(o=e.length,t=new GN,u=0;u<o;)if(r=uo(e,u++),!(r==9||r==10||r==12||r==13||r==32)){if(r==35){for(;u<o&&(r=uo(e,u++),!(r==13||r==10)););continue}r==92&&u<o?(a=(Jt(u,e.length),e.charCodeAt(u)))==35||a==9||a==10||a==12||a==13||a==32?(i_(t,a&Ti),++u):(t.a+="\\",i_(t,a&Ti),++u):i_(t,r&Ti)}return t.a}function d0e(){d0e=K,BRt=new ht(vve,(Lt(),!1)),GRt=new ht(Eve,Oe(0)),qRt=new ht(Sve,0),VRt=new ht(j7,!1),wxe=(R6(),HB),HRt=new ht($Z,wxe),Oe(0),URt=new ht(BZ,Oe(1)),vxe=(Rj(),Ane),JRt=new ht(Tve,vxe),Exe=(ij(),yne),XRt=new ht(Ave,Exe),yxe=(fF(),Tne),zRt=new ht(_ve,yxe),YRt=new ht(UZ,0),WRt=new ht(HZ,!1),KRt=new ht(xve,!1)}function iAn(e,t){var r,o,a;for(o=new V(t);o.a<o.c.c.length;)if(r=l(q(o),19),yt(e.a,r,r),yt(e.b,r,r),a=xy(r),a.c.length!=0)for(e.d&&e.d.Fg(a),yt(e.a,r,(at(0,a.c.length),l(a.c[0],19))),yt(e.b,r,l(ze(a,a.c.length-1),19));PK(a).c.length!=0;)a=PK(a),e.d&&e.d.Fg(a),yt(e.a,r,(at(0,a.c.length),l(a.c[0],19))),yt(e.b,r,l(ze(a,a.c.length-1),19))}function TJ(e,t,r){var o,a,u,f,p,m;if(t)if(r<=-1){if(o=kt(t.Ah(),-1-r),se(o,104))return l(o,20);for(f=l(t.Jh(o),164),p=0,m=f.gc();p<m;++p)if(me(f.Sl(p))===me(e)&&(a=f.Rl(p),se(a,104)&&(u=l(a,20),u.Bb&Ws)))return u;throw Y(new ts("The containment feature could not be located"))}else return Po(l(kt(e.Ah(),r),20));else return null}function oAn(e){var t,r,o,a,u,f,p,m,y,v;for(r=0,p=new V(e.d);p.a<p.c.c.length;)f=l(q(p),108),f.i&&(f.i.c=r++);for(t=Xw(cc,[Pe,Ad],[172,30],16,[r,r],2),v=e.d,a=0;a<v.c.length;a++)if(m=(at(a,v.c.length),l(v.c[a],108)),m.i)for(u=a+1;u<v.c.length;u++)y=(at(u,v.c.length),l(v.c[u],108)),y.i&&(o=zwn(m,y),t[m.i.c][y.i.c]=o,t[y.i.c][m.i.c]=o);return t}function IC(){IC=K,Qte=new r0("ROOT_PROC",0),M_e=new r0("FAN_PROC",1),$_e=new r0("LEVEL_PROC",2),B_e=new r0("NEIGHBORS_PROC",3),F_e=new r0("LEVEL_HEIGHT",4),L_e=new r0("DIRECTION_PROC",5),U_e=new r0("NODE_POSITION_PROC",6),O_e=new r0("COMPACTION_PROC",7),j_e=new r0("LEVEL_COORDS",8),P_e=new r0("GRAPH_BOUNDS_PROC",9),D_e=new r0("DETREEIFYING_PROC",10)}function f0e(e,t){var r,o,a,u,f,p,m,y,v,T;for(T=ds(t),y=null,a=!1,p=0,v=oa(T.a).i;p<v;++p)f=l(dD(T,p,(u=l(ie(oa(T.a),p),88),m=u.c,se(m,89)?l(m,29):(_t(),Ml))),29),r=f0e(e,f),r.dc()||(y?(a||(a=!0,y=new uP(y)),y.Fc(r)):y=r);return o=kvn(e,t),o.dc()?y||(At(),At(),Ro):y?(a||(y=new uP(y)),y.Fc(o),y):o}function AJ(e,t){var r,o,a,u,f,p,m,y,v,T;for(T=ds(t),y=null,o=!1,p=0,v=oa(T.a).i;p<v;++p)u=l(dD(T,p,(a=l(ie(oa(T.a),p),88),m=a.c,se(m,89)?l(m,29):(_t(),Ml))),29),r=AJ(e,u),r.dc()||(y?(o||(o=!0,y=new uP(y)),y.Fc(r)):y=r);return f=Qvn(e,t),f.dc()?y||(At(),At(),Ro):y?(o||(y=new uP(y)),y.Fc(f),y):f}function sAn(e,t){var r,o,a,u,f;for(e.c==null||e.c.length<t.c.length?e.c=we(cc,Ad,30,t.c.length,16,1):HN(e.c),e.a=new je,o=0,f=new V(t);f.a<f.c.c.length;)a=l(q(f),9),a.p=o++;for(r=new Ar,u=new V(t);u.a<u.c.c.length;)a=l(q(u),9),e.c[a.p]||(o0t(e,a),r.b==0||(cn(r.b!=0),l(r.a.a.c,16)).gc()<e.a.c.length?Qv(r,e.a):So(r,e.a),e.a=new je);return r}function aAn(e,t,r,o){var a,u,f;F(o.d.i,(Ie(),Cr))==null?Jn(t,Oe(ar-(t.f.c+t.i.c)),new Jw(new Ls(Z(X(zx,1),Tx,17,0,[o])))):(f=0,u=o.d.i,r?(a=l(F(e.c,$1),15).a,f=a*l(F(u,(Ue(),Ky)),15).a+l(F(u,Cr),15).a):f=l(F(o.d.i,Cr),15).a,ma(t,Oe(f))?gi(l(Ut(t,Oe(f)),47),o):Jn(t,Oe(f),new Jw(new Ls(Z(X(zx,1),Tx,17,0,[o])))))}function aD(e,t,r){var o,a,u,f,p,m;if(se(t,76))return xo(e,t,r);for(p=null,u=null,o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],gr(t,a.kd())&&(u=a.Jk(),se(u,104)&&l(u,20).Bb&Ws)){p=a;break}return p&&(Jc(e.e)&&(m=u.Hk()?l1(e,4,u,t,null,nx(e,u,t,se(u,104)&&(l(u,20).Bb&Io)!=0),!0):l1(e,u.rk()?2:1,u,t,u.gk(),-1,!0),r?r.lj(m):r=m),r=aD(e,p,r)),r}function cAn(e,t,r){var o,a,u,f;if(f=za(e.e.Ah(),t),o=l(e.g,123),Mo(),l(t,69).vk()){for(u=0;u<e.i;++u)if(a=o[u],f.$l(a.Jk())&&gr(a,r))return ky(e,u),!0}else if(r!=null){for(u=0;u<e.i;++u)if(a=o[u],f.$l(a.Jk())&&gr(r,a.kd()))return ky(e,u),!0}else for(u=0;u<e.i;++u)if(a=o[u],f.$l(a.Jk())&&a.kd()==null)return ky(e,u),!0;return!1}function Dyt(e,t,r,o){var a,u,f,p,m,y,v,T,N,R;for(f=Vw(t.c,r,o),T=new V(t.a);T.a<T.c.c.length;){for(v=l(q(T),9),mr(v.n,f),R=new V(v.j);R.a<R.c.c.length;)for(N=l(q(R),12),u=new V(N.g);u.a<u.c.c.length;)for(a=l(q(u),17),fy(a.a,f),p=l(F(a,(Ue(),as)),79),p&&fy(p,f),y=new V(a.b);y.a<y.c.c.length;)m=l(q(y),70),mr(m.n,f);Fe(e.a,v),v.a=e}}function uAn(e,t){var r,o,a,u,f;if(t.Tg("Node and Port Label Placement and Node Sizing",1),nrt((KN(),new mW(e,!0,!0,new t$e))),l(F(e,(Ie(),xa)),24).Gc(($o(),rl)))for(u=l(F(e,(Ue(),Qy)),24),a=u.Gc((xc(),KL)),f=Ye(Ke(F(e,UAe))),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),26),ei(dr(new vt(null,new St(r.a,16)),new n$e),new hot(u,a,f));t.Ug()}function Lyt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,Nx),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new Qze))),Le(e,Nx,qZ,Ge(Ike)),Le(e,Nx,B0,Cke),Le(e,Nx,$0,8),Le(e,Nx,KZ,Ge(o6t)),Le(e,Nx,Wve,Ge(kke)),Le(e,Nx,Kve,Ge(Nke)),Le(e,Nx,UD,(Lt(),!1))}function lAn(e,t){var r,o,a,u,f,p,m;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),MEe)),m!=null)){for(o=new je,u=Cy(m,"\\w"),f=0,p=u.length;f<p;++f)a=u[f],wt(a,"##other")?Fe(o,"!##"+_3(e,mu(t.ok()))):wt(a,"##local")?o.c.push(null):wt(a,KD)?Fe(o,_3(e,mu(t.ok()))):Rt(o.c,a);return o}return At(),At(),Ro}function CE(e,t,r,o){this.e=e,this.k=l(F(e,(Ie(),n2)),317),this.g=we(Nh,vg,9,t,0,1),this.b=we(fi,Pe,347,t,7,1),this.a=we(Nh,vg,9,t,0,1),this.d=we(fi,Pe,347,t,7,1),this.j=we(Nh,vg,9,t,0,1),this.i=we(fi,Pe,347,t,7,1),this.p=we(fi,Pe,347,t,7,1),this.n=we(Yr,Pe,476,t,8,1),hO(this.n,(Lt(),!1)),this.f=we(Yr,Pe,476,t,8,1),hO(this.f,!0),this.o=r,this.c=o}function cD(e){var t,r,o,a,u,f,p,m;if(e.d)throw Y(new ts((np(bee),RX+bee.k+OX)));for(e.c==(Si(),hf)&&OE(e,cs),r=new V(e.a.a);r.a<r.c.c.length;)t=l(q(r),197),t.e=0;for(f=new V(e.a.b);f.a<f.c.c.length;)for(u=l(q(f),84),u.o=Li,a=u.f.Jc();a.Ob();)o=l(a.Pb(),84),++o.d.e;for(fNn(e),m=new V(e.a.b);m.a<m.c.c.length;)p=l(q(m),84),p.k=!0;return e}function dAn(e,t){var r,o,a,u,f,p,m,y;for(p=new Fmt(e),r=new Ar,Wr(r,t,r.c.b,r.c);r.b!=0;){for(o=l(r.b==0?null:(cn(r.b!=0),Vu(r,r.a.a)),114),o.d.p=1,f=new V(o.e);f.a<f.c.c.length;)a=l(q(f),342),Ybt(p,a),y=a.d,y.d.p==0&&Wr(r,y,r.c.b,r.c);for(u=new V(o.b);u.a<u.c.c.length;)a=l(q(u),342),Ybt(p,a),m=a.c,m.d.p==0&&Wr(r,m,r.c.b,r.c)}return p}function h0e(e,t){var r,o,a,u,f,p,m;if(!e.e[t.p]){for(e.e[t.p]=!0,e.a[t.p]=!0,u=new hn,r=me(F(e.c,(Ue(),PT)))===me((b1(),Vy)),lo(Or(t),new cot(e,u,r)),f=new Ode(new Xh(u)),a=f.a.ec().Jc();a.Ob();)o=l(a.Pb(),15).a,p=l(l(Ut(u,Oe(o)),47).a.ec().Jc().Pb(),17),!fo(p)&&(m=p.d.i,e.a[m.p]?li(e.b,l(Ut(u,Oe(o)),18)):h0e(e,m));e.a[t.p]=!1}}function Myt(e){var t,r,o,a,u;if(o=ce(le(ve(e,(_n(),Q6t)))),o!=1)for(i0(e,o*e.g,o*e.f),r=otn(Lon((!e.c&&(e.c=new ke(Gc,e,9,9)),e.c),new VGe)),u=hh(Wu(Z(X(nl,1),It,22,0,[(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n),(!e.c&&(e.c=new ke(Gc,e,9,9)),e.c),r])));an(u);)a=l(en(u),278),a.ph(o*a.mh(),o*a.nh()),a.oh(o*a.lh(),o*a.kh()),t=l(a.mf(ENe),8),t&&(t.a*=o,t.b*=o)}function p0e(e,t,r){var o,a,u,f,p;if(f=(Mo(),l(t,69).vk()),wp(e.e,t)){if(t.Qi()&&qF(e,t,r,se(t,104)&&(l(t,20).Bb&Io)!=0))return!1}else for(p=za(e.e.Ah(),t),o=l(e.g,123),u=0;u<e.i;++u)if(a=o[u],p.$l(a.Jk()))return(f?gr(a,r):r==null?a.kd()==null:gr(r,a.kd()))?!1:(l(SE(e,u,f?l(r,76):gh(t,r)),76),!0);return Tn(e,f?l(r,76):gh(t,r))}function fAn(e,t,r,o,a){var u,f,p,m,y,v,T,N;for(f=new V(e.b);f.a<f.c.c.length;)for(u=l(q(f),26),N=QO(u.a),y=N,v=0,T=y.length;v<T;++v)switch(m=y[v],l(F(m,(Ue(),Cs)),166).g){case 1:DSn(m),Oi(m,t),L1t(m,!0,o);break;case 3:mSn(m),Oi(m,r),L1t(m,!1,a)}for(p=new Ji(e.b,0);p.b<p.d.gc();)(cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)).a.c.length==0&&Mc(p)}function hAn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(R=t.length,m=R,Jt(0,t.length),t.charCodeAt(0)==45?(T=-1,N=1,--R):(T=1,N=0),u=(DJ(),lxt)[10],a=R/u|0,G=R%u,G!=0&&++a,p=we(Rn,Qn,30,a,15,1),r=uxt[8],f=0,M=N+(G==0?u:G),U=N;U<m;U=M,M=U+u)o=Eu((io(U,M,t.length),t.substr(U,M-U)),Zi,ar),y=(Q_(),Y1e(p,p,f,r)),y+=x1n(p,f,o),p[f++]=y;v=f,e.e=T,e.d=v,e.a=p,F3(e)}function pAn(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(p=e.i,a=Ye(Ke(F(p,(Ue(),Jy)))),v=0,o=0,y=new V(e.g);y.a<y.c.c.length;)m=l(q(y),17),f=fo(m),u=f&&a&&Ye(Ke(F(m,bm))),N=m.d.i,f&&u?++o:f&&!u?++v:ji(N).e==p?++o:++v;for(r=new V(e.e);r.a<r.c.c.length;)t=l(q(r),17),f=fo(t),u=f&&a&&Ye(Ke(F(t,bm))),T=t.c.i,f&&u?++v:f&&!u?++o:ji(T).e==p?++v:++o;return v-o}function Pyt(e,t){var r,o,a,u,f,p;if(!t.dc())if(l(t.Xb(0),295).d==(eT(),qy))t0n(e,t);else for(o=t.Jc();o.Ob();){switch(r=l(o.Pb(),295),r.d.g){case 5:K_(e,r,c1n(e,r));break;case 0:K_(e,r,(f=r.f-r.c+1,p=(f-1)/2|0,r.c+p));break;case 4:K_(e,r,Efn(e,r));break;case 2:Bgt(r),K_(e,r,(u=Nbe(r),u?r.c:r.f));break;case 1:Bgt(r),K_(e,r,(a=Nbe(r),a?r.f:r.c))}Vwn(r.a)}}function g0e(e,t,r,o){var a,u,f;return f=new Pet(t,r),e.a?o?(a=l(wl(l(Ut(e.b,t),263)),263),++a.a,f.d=o.d,f.e=o.e,f.b=o,f.c=o,o.e?o.e.c=f:a.b=f,o.d?o.d.b=f:e.a=f,o.d=f,o.e=f):(l(wl(e.e),501).b=f,f.d=e.e,e.e=f,a=l(Ut(e.b,t),263),a?(++a.a,u=a.c,u.c=f,f.e=u,a.c=f):(Jn(e.b,t,a=new Ohe(f)),++e.c)):(e.a=e.e=f,Jn(e.b,t,new Ohe(f)),++e.c),++e.d,f}function _J(e,t){var r,o,a,u,f;if(t.Tg("Network simplex",1),e.e.a.c.length<1){t.Ug();return}for(u=new V(e.e.a);u.a<u.c.c.length;)a=l(q(u),126),a.e=0;for(f=e.e.a.c.length>=40,f&&n_n(e),bxn(e),MSn(e),r=vgt(e),o=0;r&&o<e.f;)yAn(e,r,FEn(e,r)),r=vgt(e),++o;f&&hwn(e),e.a?YEn(e,Cyt(e)):Cyt(e),e.b=null,e.d=null,e.p=null,e.c=null,e.g=null,e.i=null,e.n=null,e.o=null,t.Ug()}function gAn(e,t){var r,o,a,u,f,p,m;if(!t.e){for(t.e=!0,o=t.d.a.ec().Jc();o.Ob();){if(r=l(o.Pb(),17),t.o&&t.d.a.gc()<=1){f=t.a.c,p=t.a.c+t.a.b,m=new Me(f+(p-f)/2,t.b),Gn(l(t.d.a.ec().Jc().Pb(),17).a,m);continue}if(a=l(Ut(t.c,r),460),a.b||a.c){nAn(e,r,t);continue}u=e.d==(R_(),JI)&&(a.d||a.e)&&cEn(e,t)&&t.d.a.gc()<=1,u?Xkn(r,t):hTn(e,r,t)}t.k&&lo(t.d,new R7e)}}function b0e(e,t,r,o,a,u){var f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(N=u,p=(o+a)/2+N,G=r*b.Math.cos(p),J=r*b.Math.sin(p),re=G-t.g/2,oe=J-t.f/2,va(t,re),gc(t,oe),T=e.a.Dg(t),U=2*b.Math.acos(r/r+e.c),U<a-o?(R=U/T,f=(o+a-U)/2):(R=(a-o)/T,f=o),M=xy(t),e.e&&(e.e.Eg(e.d),e.e.Fg(M)),y=new V(M);y.a<y.c.c.length;)m=l(q(y),19),v=e.a.Dg(m),b0e(e,m,r+e.c,f,f+R*v,u),f+=R*v}function bAn(e,t,r){var o;switch(o=r.q.getMonth(),t){case 5:zn(e,Z(X(Je,1),Pe,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[o]);break;case 4:zn(e,Z(X(Je,1),Pe,2,6,[iX,oX,sX,aX,lT,cX,uX,lX,dX,fX,hX,pX])[o]);break;case 3:zn(e,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[o]);break;default:bh(e,o+1,t)}}function mAn(e,t,r,o){var a,u,f,p,m,y,v,T,N;for(m=new Me(r,o),Di(m,l(F(t,(p1(),SI)),8)),N=new V(t.e);N.a<N.c.c.length;)T=l(q(N),156),mr(T.d,m),Fe(e.e,T);for(p=new V(t.c);p.a<p.c.c.length;){for(f=l(q(p),292),u=new V(f.a);u.a<u.c.c.length;)a=l(q(u),254),mr(a.d,m);Fe(e.c,f)}for(v=new V(t.d);v.a<v.c.c.length;)y=l(q(v),448),mr(y.d,m),Fe(e.d,y)}function m0e(e,t){var r,o,a,u,f,p,m,y;for(m=new V(t.j);m.a<m.c.c.length;)for(p=l(q(m),12),a=new Vd(p.b);Ts(a.a)||Ts(a.b);)o=l(Ts(a.a)?q(a.a):q(a.b),17),r=o.c==p?o.d:o.c,u=r.i,t!=u&&(y=l(F(o,(Ue(),ik)),15).a,y<0&&(y=0),f=u.p,e.c[f]==0&&(o.d==r?(e.a[f]-=y+1,e.a[f]<=0&&e.d[f]>0&&Gn(e.g,u)):(e.d[f]-=y+1,e.d[f]<=0&&e.a[f]>0&&Gn(e.f,u))))}function jyt(e,t,r,o){var a,u,f,p,m,y,v;for(m=new Me(r,o),Di(m,l(F(t,(Nr(),uk)),8)),v=An(t.b,0);v.b!=v.d.c;)y=l(Sn(v),41),mr(y.e,m),Gn(e.b,y);for(p=l(Ac(Uhe(new vt(null,new St(t.a,16))),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16).Jc();p.Ob();){for(f=l(p.Pb(),65),u=An(f.a,0);u.b!=u.d.c;)a=l(Sn(u),8),a.a+=m.a,a.b+=m.b;Gn(e.a,f)}}function w0e(e,t){var r,o,a,u;if(0<(se(e,18)?l(e,18).gc():yd(e.Jc()))){if(a=t,1<a){for(--a,u=new NHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),u=Wu(Z(X(nl,1),It,22,0,[u,new Qh(r)]));return w0e(u,a)}if(a<0){for(u=new CHe,o=e.Jc();o.Ob();)r=l(o.Pb(),41),u=Wu(Z(X(nl,1),It,22,0,[u,new Qh(r)]));if(0<(se(u,18)?l(u,18).gc():yd(u.Jc())))return w0e(u,a)}}return l(P8(e.Jc()),41)}function wAn(e,t,r){var o,a,u,f;for(r.Tg("Processor order nodes",2),e.b=ce(le(F(t,(js(),une)))),e.a=l(F(t,cw),87),e.a==(Si(),hf)&&(e.a=ff,Te(t,cw,e.a)),a=new Ar,f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),Ye(Ke(F(u,(Nr(),G1))))&&Wr(a,u,a.c.b,a.c);o=(cn(a.b!=0),l(a.a.a.c,41)),Lvt(e,o),r.eh(1),c0e(e,o,0-ce(le(F(o,(Nr(),FB))))/2,0),r.eh(1),r.Ug()}function Uc(){Uc=K,Tk=new Zv("DEFAULT_MINIMUM_SIZE",0),QL=new Zv("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),fU=new Zv("COMPUTE_PADDING",2),C4=new Zv("OUTSIDE_NODE_LABELS_OVERHANG",3),hU=new Zv("PORTS_OVERHANG",4),gU=new Zv("UNIFORM_PORT_SPACING",5),pU=new Zv("SPACE_EFFICIENT_PORT_LABELS",6),Cre=new Zv("FORCE_TABULAR_NODE_LABELS",7),ZL=new Zv("ASYMMETRICAL",8)}function xJ(e,t){var r,o,a,u,f,p,m,y;if(t){if(r=(u=t.Ah(),u?mu(u).ti().pi(u):null),r){for(Jb(e,t,r),a=t.Ah(),m=0,y=(a.i==null&&Ff(a),a.i).length;m<y;++m)p=(o=(a.i==null&&Ff(a),a.i),m>=0&&m<o.length?o[m]:null),p.pk()&&!p.qk()&&(se(p,336)?Lbn(e,l(p,38),t,r):(f=l(p,20),f.Bb&Ws&&G0n(e,f,t,r)));t.Sh()&&l(r,52).bi(l(t,52).Yh())}return r}else return null}function yAn(e,t,r){var o,a,u;if(!t.f)throw Y(new jt("Given leave edge is no tree edge."));if(r.f)throw Y(new jt("Given enter edge is a tree edge already."));for(t.f=!1,yde(e.p,t),r.f=!0,gi(e.p,r),o=r.e.e-r.d.e-r.a,aJ(e,r.e,t)||(o=-o),u=new V(e.e.a);u.a<u.c.c.length;)a=l(q(u),126),aJ(e,a,t)||(a.e+=o);e.j=1,HN(e.c),pme(e,l(q(new V(e.e.a)),126)),Vvt(e)}function Fyt(e,t){var r,o,a,u,f,p;if(p=l(F(t,(Ue(),Zr)),103),p==(qi(),Oh)||p==fa)for(a=new Me(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,f=new V(e.a);f.a<f.c.c.length;)u=l(q(f),9),u.k==(Ht(),yi)&&(r=l(F(u,(Ie(),Hs)),64),!(r!=(He(),Qt)&&r!=Wt)&&(o=ce(le(F(u,nw))),p==Oh&&(o*=a),u.n.b=o-l(F(u,sw),8).b,Mj(u,!1,!0)))}function $yt(e,t,r,o,a){r&&(!o||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.b],9).k==(Ht(),ta)?aT(l(e.a[e.b],9),(vu(),Ih)):o&&(!r||(e.c-e.b&e.a.length-1)>1)&&t==1&&l(e.a[e.c-1&e.a.length-1],9).k==(Ht(),ta)?aT(l(e.a[e.c-1&e.a.length-1],9),(vu(),V1)):(e.c-e.b&e.a.length-1)==2?(aT(l(Q3(e),9),(vu(),Ih)),aT(l(Q3(e),9),V1)):ZEn(e,a),cpe(e)}function vAn(e){var t,r,o,a,u,f,p,m;for(m=new hn,t=new eq,f=e.Jc();f.Ob();)a=l(f.Pb(),9),p=o0(lO(new Tb,a),t),ec(m.f,a,p);for(u=e.Jc();u.Ob();)for(a=l(u.Pb(),9),o=new Ft(Gt(Or(a).a.Jc(),new D));an(o);)r=l(en(o),17),!fo(r)&&Ql($l(Ul(Bl(Hl(new gl,b.Math.max(1,l(F(r,(Ue(),zAe)),15).a)),1),l(Ut(m,r.c.i),126)),l(Ut(m,r.d.i),126)));return t}function Byt(e,t,r,o){var a,u,f,p,m,y,v,T,N,R;if(Gfn(e,t,r),u=t[r],R=o?(He(),Wt):(He(),Qt),enn(t.length,r,o)){for(a=t[o?r-1:r+1],xpe(e,a,o?(Fo(),Ba):(Fo(),Cc)),m=u,v=0,N=m.length;v<N;++v)f=m[v],Q1e(e,f,R);for(xpe(e,u,o?(Fo(),Cc):(Fo(),Ba)),p=a,y=0,T=p.length;y<T;++y)f=p[y],f.e||Q1e(e,f,P6(R))}else for(p=u,y=0,T=p.length;y<T;++y)f=p[y],Q1e(e,f,R);return!1}function EAn(e,t,r,o,a){var u,f,p,m,y,v,T;for(At(),ki(e,new zGe),p=new Ji(e,0),T=new je,u=0;p.b<p.d.gc();)f=(cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),168)),T.c.length!=0&&hc(f)*eu(f)>u*2?(v=new pj(T),y=hc(f)/eu(f),m=VJ(v,t,new oS,r,o,a,y),mr(wd(v.e),m),T.c.length=0,u=0,Rt(T.c,v),Rt(T.c,f),u=hc(v)*eu(v)+hc(f)*eu(f)):(Rt(T.c,f),u+=hc(f)*eu(f));return T}function SAn(e,t){var r,o,a,u,f,p,m;for(t.Tg("Port order processing",1),m=l(F(e,(Ue(),HAe)),426),o=new V(e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)a=l(q(u),9),f=l(F(a,Zr),103),p=a.j,f==(qi(),_m)||f==Oh||f==fa?(At(),ki(p,FSe)):f!=pf&&f!=K1&&(At(),ki(p,ENt),Vbn(p),m==(g6(),qte)&&ki(p,vNt)),a.i=!0,dme(a);t.Ug()}function TAn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;if(Jc(e.e)){if(t!=r&&(a=l(e.g,123),R=a[r],f=R.Jk(),wp(e.e,f))){for(M=za(e.e.Ah(),f),m=-1,p=-1,o=0,y=0,T=t>r?t:r;y<=T;++y)y==r?p=o++:(u=a[y],v=M.$l(u.Jk()),y==t&&(m=y==T&&!v?o-1:o),v&&++o);return N=l(cC(e,t,r),76),p!=m&&LA(e,new a6(e.e,7,f,Oe(p),R.kd(),m)),N}}else return l(uJ(e,t,r),76);return l(cC(e,t,r),76)}function y0e(e,t){var r,o,a,u,f,p,m,y,v,T;for(T=0,u=new oE,d1(u,t);u.b!=u.c;)for(m=l(CS(u),221),y=0,v=l(F(t.j,(Ue(),Ch)),270),l(F(t.j,FI),330),f=ce(le(F(t.j,bL))),p=ce(le(F(t.j,pte))),v!=(bp(),U1)&&(y+=f*o2n(t.j,m.e,v),y+=p*GTn(t.j,m.e)),T+=rbt(m.d,m.e)+y,a=new V(m.b);a.a<a.c.c.length;)o=l(q(a),37),r=l(ze(e.b,o.p),221),r.s||(T+=kF(e,r));return T}function Uyt(){Uyt=K,B4t=$n(new ci,(Vi(),da),(Xi(),TSe)),I_e=$n(new ci,la,N$),H4t=Ra($n(new ci,la,P$),zo,M$),$4t=Ra($n($n(new ci,la,wSe),da,ySe),zo,vSe),z4t=Pf(Pf(ZN(Ra($n(new ci,id,B$),zo,$$),da),F$),U$),U4t=Ra(new ci,zo,ASe),j4t=Ra($n($n($n(new ci,kh,I$),da,O$),da,Gx),zo,R$),F4t=Ra($n($n(new ci,da,Gx),da,k$),zo,x$)}function AAn(e,t,r,o,a,u){var f,p,m,y,v,T,N;for(y=ypt(t)-ypt(e),f=mmt(t,y),m=Ua(0,0,0);y>=0&&(p=Rmn(e,f),!(p&&(y<22?m.l|=1<<y:y<44?m.m|=1<<y-22:m.h|=1<<y-44,e.l==0&&e.m==0&&e.h==0)));)v=f.m,T=f.h,N=f.l,f.h=T>>>1,f.m=v>>>1|(T&1)<<21,f.l=N>>>1|(v&1)<<21,--y;return r&&$K(m),u&&(o?(D1=k_(e),a&&(D1=Zht(D1,(m_(),XEe)))):D1=Ua(e.l,e.m,e.h)),m}function _An(e,t){var r,o,a,u,f,p,m,y,v,T;for(y=e.e[t.c.p][t.p]+1,m=t.c.a.c.length+1,p=new V(e.a);p.a<p.c.c.length;){for(f=l(q(p),12),T=0,u=0,a=hh(Wu(Z(X(nl,1),It,22,0,[new DA(f),new tS(f)])));an(a);)o=l(en(a),12),o.i.c==t.c&&(T+=Wtn(e,o.i)+1,++u);r=T/u,v=f.j,v==(He(),Qt)?r<y?e.f[f.p]=e.c-r:e.f[f.p]=e.b+(m-r):v==Wt&&(r<y?e.f[f.p]=e.b+r:e.f[f.p]=e.c-(m-r))}}function Eu(e,t,r){var o,a,u,f,p;if(e==null)throw Y(new kf(tc));for(u=e.length,f=u>0&&(Jt(0,e.length),e.charCodeAt(0)==45||(Jt(0,e.length),e.charCodeAt(0)==43))?1:0,o=f;o<u;o++)if(r1t((Jt(o,e.length),e.charCodeAt(o)))==-1)throw Y(new kf(F0+e+'"'));if(p=parseInt(e,10),a=p<t,isNaN(p))throw Y(new kf(F0+e+'"'));if(a||p>r)throw Y(new kf(F0+e+'"'));return p}function xAn(e){var t,r,o,a,u,f,p;for(f=new Ar,u=new V(e.a);u.a<u.c.c.length;)a=l(q(u),117),GG(a,a.f.c.length),T9(a,a.k.c.length),a.i==0&&(a.o=0,Wr(f,a,f.c.b,f.c));for(;f.b!=0;)for(a=l(f.b==0?null:(cn(f.b!=0),Vu(f,f.a.a)),117),o=a.o+1,r=new V(a.f);r.a<r.c.c.length;)t=l(q(r),135),p=t.a,oue(p,b.Math.max(p.o,o)),T9(p,p.i-1),p.i==0&&Wr(f,p,f.c.b,f.c)}function kAn(e){var t,r,o,a,u,f,p,m;for(f=new V(e);f.a<f.c.c.length;){for(u=l(q(f),74),o=Jo(l(ie((!u.b&&(u.b=new Tt(pn,u,4,7)),u.b),0),83)),p=o.i,m=o.j,a=l(ie((!u.a&&(u.a=new ke(jr,u,6,6)),u.a),0),171),NO(a,a.j+p,a.k+m),kO(a,a.b+p,a.c+m),r=new tn((!a.a&&(a.a=new Ei(Iu,a,5)),a.a));r.e!=r.i.gc();)t=l(rn(r),373),fV(t,t.a+p,t.b+m);Ege(l(ve(u,(_n(),g2)),79),p,m)}}function tx(e){var t;switch(e){case 100:return DE(gI,!0);case 68:return DE(gI,!1);case 119:return DE(CQ,!0);case 87:return DE(CQ,!1);case 115:return DE(IQ,!0);case 83:return DE(IQ,!1);case 99:return DE(RQ,!0);case 67:return DE(RQ,!1);case 105:return DE(OQ,!0);case 73:return DE(OQ,!1);default:throw Y(new Es((t=e,L_t+t.toString(16))))}}function NAn(e){var t,r,o,a,u;switch(a=l(ze(e.a,0),9),t=new Xd(e),Fe(e.a,t),t.o.a=b.Math.max(1,a.o.a),t.o.b=b.Math.max(1,a.o.b),t.n.a=a.n.a,t.n.b=a.n.b,l(F(a,(Ie(),Hs)),64).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}return o=new aa,As(o,t),r=new p0,u=l(ze(a.j,0),12),mo(r,u),Yi(r,o),mr(wd(o.n),u.n),mr(wd(o.a),u.a),t}function Zu(e,t,r,o){var a,u,f,p,m,y,v,T,N,R;for(a=t,p=r,o<0&&(a=r,p=t),u=l(Ut(e.a,a),47),m=l(Ut(e.a,p),47),f=l(Ut(e.e,a),47),y=l(Ut(e.e,p),47),u.a.yc(p,u),y.a.yc(a,y),R=m.a.ec().Jc();R.Ob();)N=l(R.Pb(),12),u.a.yc(N,u),gi(l(Ut(e.e,N),47),a),wo(l(Ut(e.e,N),47),f);for(T=f.a.ec().Jc();T.Ob();)v=l(T.Pb(),12),y.a.yc(v,y),gi(l(Ut(e.a,v),47),p),wo(l(Ut(e.a,v),47),m)}function CAn(e,t,r){var o,a,u,f,p;for(u=0,a=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));a.e!=a.i.gc();)o=l(rn(a),19),f="",(!o.n&&(o.n=new ke(Rs,o,1,7)),o.n).i==0||(f=l(ie((!o.n&&(o.n=new ke(Rs,o,1,7)),o.n),0),158).a),p=new UK(u++,t,f),qs(p,o),Te(p,(Nr(),i4),o),p.e.b=o.j+o.f/2,p.f.a=b.Math.max(o.g,1),p.e.a=o.i+o.g/2,p.f.b=b.Math.max(o.f,1),Gn(t.b,p),ec(r.f,o,p)}function v0e(e,t,r){var o,a,u,f;if(t[0]>=e.length)return r.o=0,!0;switch(uo(e,t[0])){case 43:a=1;break;case 45:a=-1;break;default:return r.o=0,!0}if(++t[0],u=t[0],f=NF(e,t),f==0&&t[0]==u)return!1;if(t[0]<e.length&&uo(e,t[0])==58){if(o=f*60,++t[0],u=t[0],f=NF(e,t),f==0&&t[0]==u)return!1;o+=f}else o=f,o<24&&t[0]-u<=2?o*=60:o=o%100+(o/100|0)*60;return o*=a,r.o=-o,!0}function IAn(e){var t,r,o,a,u,f,p,m,y;for(f=new je,o=new Ft(Gt(Or(e.b).a.Jc(),new D));an(o);)r=l(en(o),17),fo(r)&&Fe(f,new Rlt(r,mdt(e,r.c),mdt(e,r.d)));for(y=(u=new Zh(e.e).a.vc().Jc(),new Pw(u));y.a.Ob();)p=(t=l(y.a.Pb(),45),l(t.kd(),114)),p.d.p=0;for(m=(a=new Zh(e.e).a.vc().Jc(),new Pw(a));m.a.Ob();)p=(t=l(m.a.Pb(),45),l(t.kd(),114)),p.d.p==0&&Fe(e.d,dAn(e,p))}function RAn(e,t){var r,o,a,u,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(u=l(q(f),26),y=new V(u.a);y.a<y.c.c.length;){for(m=l(q(y),9),v=new je,p=0,o=new Ft(Gt(si(m).a.Jc(),new D));an(o);)r=l(en(o),17),!(fo(r)||!fo(r)&&r.c.i.c==r.d.i.c)&&(a=l(F(r,(Ue(),FT)),15).a,a>p&&(p=a,v.c.length=0),a==p&&Fe(v,new Co(r.c.i,r)));At(),ki(v,e.c),Nb(e.b,m.p,v)}}function OAn(e,t){var r,o,a,u,f,p,m,y,v;for(f=new V(t.b);f.a<f.c.c.length;)for(u=l(q(f),26),y=new V(u.a);y.a<y.c.c.length;){for(m=l(q(y),9),v=new je,p=0,o=new Ft(Gt(Or(m).a.Jc(),new D));an(o);)r=l(en(o),17),!(fo(r)||!fo(r)&&r.c.i.c==r.d.i.c)&&(a=l(F(r,(Ue(),FT)),15).a,a>p&&(p=a,v.c.length=0),a==p&&Fe(v,new Co(r.d.i,r)));At(),ki(v,e.c),Nb(e.f,m.p,v)}}function DAn(e){var t,r,o,a,u,f,p;for(u=Gd(e),a=new tn((!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e));a.e!=a.i.gc();)if(o=l(rn(a),74),p=Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)),!ly(p,u))return!0;for(r=new tn((!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d));r.e!=r.i.gc();)if(t=l(rn(r),74),f=Jo(l(ie((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83)),!ly(f,u))return!0;return!1}function LAn(e){var t,r,o,a,u;o=l(F(e,(Ie(),wr)),19),u=l(ve(o,(Ue(),mm)),185).Gc((su(),xm)),e.e||(a=l(F(e,xa),24),t=new Me(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),a.Gc(($o(),rl))?(Vn(o,Zr,(qi(),fa)),M0(o,t.a,t.b,!1,!0)):Ye(Ke(ve(o,xte)))||M0(o,t.a,t.b,!0,!0)),u?Vn(o,mm,lt(xm)):Vn(o,mm,(r=l(md(N4),10),new Hu(r,l(Gl(r,r.length),10),0)))}function MAn(e,t){var r,o,a,u,f,p,m,y;if(y=Ke(F(t,(js(),ARt))),y==null||(Mt(y),y)){for(aEn(e,t),a=new je,m=An(t.b,0);m.b!=m.d.c;)f=l(Sn(m),41),r=rme(e,f,null),r&&(qs(r,t),Rt(a.c,r));if(e.a=null,e.b=null,a.c.length>1)for(o=new V(a);o.a<o.c.c.length;)for(r=l(q(o),121),u=0,p=An(r.b,0);p.b!=p.d.c;)f=l(Sn(p),41),f.g=u++;return a}return Wl(Z(X(mCn,1),Y2t,121,0,[t]))}function PAn(e,t){var r,o,a,u,f,p;for(a=new V(t.a);a.a<a.c.c.length;)o=l(q(a),9),u=F(o,(Ie(),wr)),se(u,12)&&(f=l(u,12),p=avt(t,o,f.o.a,f.o.b),f.n.a=p.a,f.n.b=p.b,Ii(f,l(F(o,Hs),64)));r=new Me(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),l(F(t,(Ie(),xa)),24).Gc(($o(),rl))?(Te(e,(Ue(),Zr),(qi(),fa)),l(F(ji(e),xa),24).Ec(Qx),Xvt(e,r,!1)):Xvt(e,r,!0)}function jAn(e){var t,r,o,a,u,f,p,m;for(m=new Lc,t=An(e,0),p=null,r=l(Sn(t),8),a=l(Sn(t),8);t.b!=t.d.c;)p=r,r=a,a=l(Sn(t),8),u=Rft(Di(new Me(p.a,p.b),r)),f=Rft(Di(new Me(a.a,a.b),r)),o=10,o=b.Math.min(o,b.Math.abs(u.a+u.b)/2),o=b.Math.min(o,b.Math.abs(f.a+f.b)/2),u.a=GO(u.a)*o,u.b=GO(u.b)*o,f.a=GO(f.a)*o,f.b=GO(f.b)*o,Gn(m,mr(u,r)),Gn(m,mr(f,r));return m}function FAn(e,t,r){var o,a,u,f,p,m;if(r.Tg("Minimize Crossings "+e.a,1),o=t.b.c.length==0||!BA(dr(new vt(null,new St(t.b,16)),new RA(new RUe))).zd((_b(),TT)),m=t.b.c.length==1&&l(ze(t.b,0),26).a.c.length==1,u=me(F(t,(Ue(),Yy)))===me((pp(),Ig)),o||m&&!u){r.Ug();return}a=NSn(e,t),f=(p=l(sa(a,0),221),p.c.ig()?p.c.cg()?new IJe(e):new RJe(e):new CJe(e)),Bpn(a,f),bgn(e),r.Ug()}function Su(e,t,r,o){var a,u,f,p,m;return f=e.Mh(),m=e.Gh(),a=null,m?t&&!(TJ(e,t,r).Bb&Io)?(o=xo(m.Cl(),e,o),e.ai(null),a=t.Nh()):m=null:(f&&(m=f.Nh()),t&&(a=t.Nh())),m!=a&&m&&m.Gl(e),p=e.Ch(),e.yh(t,r),m!=a&&a&&a.Fl(e),e.sh()&&e.th()&&(f&&p>=0&&p!=r&&(u=new Pi(e,1,p,f,null),o?o.lj(u):o=u),r>=0&&(u=new Pi(e,1,r,p==r?f:null,t),o?o.lj(u):o=u)),o}function Hyt(e){var t,r,o;if(e.b==null){if(o=new Xp,e.i!=null&&(Wo(o,e.i),o.a+=":"),e.f&256){for(e.f&256&&e.a!=null&&(Oan(e.i)||(o.a+="//"),Wo(o,e.a)),e.d!=null&&(o.a+="/",Wo(o,e.d)),e.f&16&&(o.a+="/"),t=0,r=e.j.length;t<r;t++)t!=0&&(o.a+="/"),Wo(o,e.j[t]);e.g!=null&&(o.a+="?",Wo(o,e.g))}else Wo(o,e.a);e.e!=null&&(o.a+="#",Wo(o,e.e)),e.b=o.a}return e.b}function $An(e,t,r,o,a){var u,f,p,m;u=new Xd(e),Jh(u,(Ht(),_a)),Te(u,(Ue(),Zr),(qi(),fa)),Te(u,(Ie(),wr),t.c.i),f=new aa,Te(f,wr,t.c),Ii(f,a),As(f,u),Te(t.c,Nc,u),p=new Xd(e),Jh(p,_a),Te(p,Zr,fa),Te(p,wr,t.d.i),m=new aa,Te(m,wr,t.d),Ii(m,a),As(m,p),Te(t.d,Nc,p),mo(t,f),Yi(t,m),oy(0,r.c.length),t3(r.c,0,u),Rt(o.c,p),Te(u,rB,Oe(1)),Te(p,rB,Oe(1))}function BAn(e,t,r,o){var a,u,f,p,m;if(m=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),a=On(yo(Sh,ph(On(yo(r==null?0:Rr(r),Th)),15))),p=J3(e,t,m),f=Y3(e,r,a),p&&a==p.a&&rp(r,p.g))return r;if(f)throw Y(new jt("key already present: "+r));return p&&NE(e,p),f&&NE(e,f),u=new AP(r,a,t,m),Z6(e,u,f),f&&(f.e=null,f.c=null),p&&(p.e=null,p.c=null),Tbt(e),p?p.g:null}function zyt(e,t,r){var o,a,u,f,p;for(u=0;u<t;u++){for(o=0,p=u+1;p<t;p++)o=_o(_o(yo(Gi(e[u],Bo),Gi(e[p],Bo)),Gi(r[u+p],Bo)),Gi(On(o),Bo)),r[u+p]=On(o),o=Rb(o,32);r[u+t]=On(o)}for(_hn(r,r,t<<1),o=0,a=0,f=0;a<t;++a,f++)o=_o(_o(yo(Gi(e[a],Bo),Gi(e[a],Bo)),Gi(r[f],Bo)),Gi(On(o),Bo)),r[f]=On(o),o=Rb(o,32),++f,o=_o(o,Gi(r[f],Bo)),r[f]=On(o),o=Rb(o,32);return r}function Gyt(e,t,r){var o,a,u,f,p,m,y,v;if(!sy(t)){for(m=ce(le(wy(r.c,(Ue(),GI)))),y=l(wy(r.c,EL),125),!y&&(y=new FN),o=r.a,a=null,p=t.Jc();p.Ob();)f=l(p.Pb(),12),v=0,a?(v=m,v+=a.o.b):v=y.d,u=o0(lO(new Tb,f),e.f),Jn(e.k,f,u),Ql($l(Ul(Bl(Hl(new gl,0),bo(b.Math.ceil(v))),o),u)),a=f,o=u;Ql($l(Ul(Bl(Hl(new gl,0),bo(b.Math.ceil(y.a+a.o.b))),o),r.d))}}function UAn(e,t,r,o,a,u,f,p){var m,y,v,T,N,R;return R=!1,N=u-r.s,v=r.t-t.f+(y=MC(r,N,!1),y.a),o.g+p>N?!1:(T=(m=MC(o,N,!1),m.a),v+p+T<=t.b&&(c6(r,u-r.s),r.c=!0,c6(o,u-r.s),U6(o,r.s,r.t+r.d+p),o.k=!0,Tge(r.q,o),R=!0,a&&(vj(t,o),o.j=t,e.c.length>f&&(q6((at(f,e.c.length),l(e.c[f],189)),o),(at(f,e.c.length),l(e.c[f],189)).a.c.length==0&&sg(e,f)))),R)}function HAn(e,t){var r,o,a,u,f,p;if(t.Tg("Partition midprocessing",1),a=new b0,ei(dr(new vt(null,new St(e.a,16)),new S$e),new VYe(a)),a.d!=0){for(p=l(Ac(Ghe((u=a.i,new vt(null,(u||(a.i=new aE(a,a.c))).Lc()))),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),o=p.Jc(),r=l(o.Pb(),15);o.Ob();)f=l(o.Pb(),15),L2n(l(yr(a,r),24),l(yr(a,f),24)),r=f;t.Ug()}}function RC(e,t){var r,o,a,u,f;if(e.Ab){if(e.Ab){if(f=e.Ab.i,f>0){if(a=l(e.Ab.g,2012),t==null){for(u=0;u<f;++u)if(r=a[u],r.d==null)return r}else for(u=0;u<f;++u)if(r=a[u],wt(t,r.d))return r}}else if(t==null){for(o=new tn(e.Ab);o.e!=o.i.gc();)if(r=l(rn(o),594),r.d==null)return r}else for(o=new tn(e.Ab);o.e!=o.i.gc();)if(r=l(rn(o),594),wt(t,r.d))return r}return null}function qyt(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;R=Lln(e,Rge(t),a),pge(R,sp(a,qf)),w=null,M=a,U=B3(M,oAt),G=new CXe(R),gmt(G.a,U),J=B3(M,"endPoint"),re=new DXe(R),pmt(re.a,J),oe=m0(M,z7),de=new PXe(R),$bt(de.a,oe),T=sp(a,mEe),u=new lnt(e,R),jit(u.a,u.b,T),N=sp(a,bEe),f=new dnt(e,R),Fit(f.a,f.b,N),y=m0(a,yEe),p=new bnt(r,R),ubt(p.b,p.a,y),v=m0(a,wEe),m=new mnt(o,R),lbt(m.b,m.a,v)}function Vyt(e,t,r){var o,a,u,f,p,m,y,v;if(t.p==0){for(t.p=1,f=r,f||(a=new je,u=(o=l(md(Oo),10),new Hu(o,l(Gl(o,o.length),10),0)),f=new Co(a,u)),l(f.a,16).Ec(t),t.k==(Ht(),yi)&&l(f.b,24).Ec(l(F(t,(Ie(),Hs)),64)),m=new V(t.j);m.a<m.c.c.length;)for(p=l(q(m),12),v=hh(Wu(Z(X(nl,1),It,22,0,[new DA(p),new tS(p)])));an(v);)y=l(en(v),12),Vyt(e,y.i,f);return f}return null}function E0e(e,t,r){var o,a,u,f,p;switch(p=null,t.g){case 1:for(a=new V(e.j);a.a<a.c.c.length;)if(o=l(q(a),12),Ye(Ke(F(o,(Ie(),ote)))))return o;p=new aa,Te(p,(Ie(),ote),(Lt(),!0));break;case 2:for(f=new V(e.j);f.a<f.c.c.length;)if(u=l(q(f),12),Ye(Ke(F(u,(Ie(),ate)))))return u;p=new aa,Te(p,(Ie(),ate),(Lt(),!0))}return p&&(As(p,e),Ii(p,r),Bbn(p.n,e.o,r)),p}function Wyt(e,t){var r,o,a,u,f,p;for(p=-1,f=new Ar,o=new Vd(e.b);Ts(o.a)||Ts(o.b);){for(r=l(Ts(o.a)?q(o.a):q(o.b),17),p=b.Math.max(p,ce(le(F(r,(Ue(),_g))))),r.c==e?ei(dr(new vt(null,new St(r.b,16)),new w7e),new MYe(f)):ei(dr(new vt(null,new St(r.b,16)),new y7e),new PYe(f)),u=An(f,0);u.b!=u.d.c;)a=l(Sn(u),70),br(a,(Ie(),IT))||Te(a,IT,r);li(t,f),tu(f)}return p}function L0(e,t,r,o,a){var u,f,p,m,y;p=a?o.b:o.a,!bl(e.a,o)&&(y=p>r.s&&p<r.c,m=!1,r.e.b!=0&&r.j.b!=0&&(m=m|(b.Math.abs(p-ce(le(YA(r.e))))<Hf&&b.Math.abs(p-ce(le(YA(r.j))))<Hf),m=m|(b.Math.abs(p-ce(le(zl(r.e))))<Hf&&b.Math.abs(p-ce(le(zl(r.j))))<Hf)),(y||m)&&(f=l(F(t,(Ue(),as)),79),f||(f=new Lc,Te(t,as,f)),u=new To(o),Wr(f,u,f.c.b,f.c),gi(e.a,u)))}function zAn(e,t,r){var o,a,u,f,p,m,y,v,T;for(r.Tg("Processor set coordinates",1),e.a=t.b.b==0?1:t.b.b,y=null,o=An(t.b,0);!y&&o.b!=o.d.c;)T=l(Sn(o),41),Ye(Ke(F(T,(Nr(),G1))))&&(y=T,m=T.e,m.a=l(F(T,CL),15).a,m.b=l(F(T,IL),15).a);p=MK(y),v=1;do p=ayn((a=p,r.dh(v),a)),v=p.b/e.a|0;while(p.b!=0);for(f=An(t.b,0);f.b!=f.d.c;)u=l(Sn(f),41),Di(u.e,new Me(u.f.a/2,u.f.b/2));r.Ug()}function GAn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(r=!1,v=ce(le(F(t,(Ue(),vm)))),M=wg*v,a=new V(t.b);a.a<a.c.c.length;)for(o=l(q(a),26),y=new V(o.a),u=l(q(y),9),T=nhe(e.a[u.p]);y.a<y.c.c.length;)p=l(q(y),9),N=nhe(e.a[p.p]),T!=N&&(R=iE(e.b,u,p),f=u.n.b+u.o.b+u.d.a+T.a+R,m=p.n.b-p.d.d+N.a,f>m+M&&(U=T.g+N.g,N.a=(N.g*N.a+T.g*T.a)/U,N.g=U,T.f=N,r=!0)),u=p,T=N;return r}function qAn(e,t,r){var o,a,u,f,p,m,y,v;for(r.Tg(qSt,1),Zs(e.b),Zs(e.a),p=null,u=An(t.b,0);!p&&u.b!=u.d.c;)y=l(Sn(u),41),Ye(Ke(F(y,(Nr(),G1))))&&(p=y);for(m=new Ar,Wr(m,p,m.c.b,m.c),xEt(e,m),v=An(t.b,0);v.b!=v.d.c;)y=l(Sn(v),41),f=In(F(y,(Nr(),r4))),a=wa(e.b,f)!=null?l(wa(e.b,f),15).a:0,Te(y,rne,Oe(a)),o=1+(wa(e.a,f)!=null?l(wa(e.a,f),15).a:0),Te(y,q_e,Oe(o));r.Ug()}function Kyt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,V0),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new jGe))),Le(e,V0,B0,Jke),Le(e,V0,$0,15),Le(e,V0,CD,Oe(0)),Le(e,V0,rEe,Ge(Wke)),Le(e,V0,PE,Ge(P6t)),Le(e,V0,bT,Ge(j6t)),Le(e,V0,mx,yTt),Le(e,V0,wx,Ge(Kke)),Le(e,V0,mT,Ge(Yke)),Le(e,V0,iEe,Ge(lre)),Le(e,V0,I7,Ge(M6t))}function Yyt(e,t){var r,o,a,u,f,p,m,y,v;if(a=e.i,f=a.o.a,u=a.o.b,f<=0&&u<=0)return He(),Is;switch(y=e.n.a,v=e.n.b,p=e.o.a,r=e.o.b,t.g){case 2:case 1:if(y<0)return He(),Wt;if(y+p>f)return He(),Qt;break;case 4:case 3:if(v<0)return He(),Vt;if(v+r>u)return He(),dn}return m=(y+p/2)/f,o=(v+r/2)/u,m+o<=1&&m-o<=0?(He(),Wt):m+o>=1&&m-o>=0?(He(),Qt):o<.5?(He(),Vt):(He(),dn)}function Jyt(e,t,r,o,a,u,f){var p,m,y,v,T,N;for(N=new wS,y=t.Jc();y.Ob();)for(p=l(y.Pb(),845),T=new V(p.Pf());T.a<T.c.c.length;)v=l(q(T),190),me(v.mf((_n(),pre)))===me((Kd(),vk))&&(Nyt(N,v,!1,o,a,u,f),yC(e,N));for(m=r.Jc();m.Ob();)for(p=l(m.Pb(),845),T=new V(p.Pf());T.a<T.c.c.length;)v=l(q(T),190),me(v.mf((_n(),pre)))===me((Kd(),pv))&&(Nyt(N,v,!0,o,a,u,f),yC(e,N))}function VAn(e,t,r){var o,a,u,f,p,m,y;for(f=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));f.e!=f.i.gc();)for(u=l(rn(f),19),a=new Ft(Gt(mp(u).a.Jc(),new D));an(a);)o=l(en(a),74),!AC(o)&&!AC(o)&&!R0(o)&&(m=l(Ss(ns(r.f,u)),41),y=l(Ut(r,Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83))),41),m&&y&&(p=new Ihe(m,y),Te(p,(Nr(),i4),o),qs(p,o),Gn(m.d,p),Gn(y.b,p),Gn(t.a,p)))}function WAn(e,t){var r,o,a,u,f,p,m,y;for(m=l(l(yr(e.r,t),24),85).Jc();m.Ob();)p=l(m.Pb(),116),a=p.c?Iot(p.c):0,a>0?p.a?(y=p.b.Kf().b,a>y&&(e.v||p.c.d.c.length==1?(f=(a-y)/2,p.d.d=f,p.d.a=f):(r=l(ze(p.c.d,0),190).Kf().b,o=(r-y)/2,p.d.d=b.Math.max(0,o),p.d.a=a-o-y))):p.d.a=e.t+a:k3(e.u)&&(u=$be(p.b),u.d<0&&(p.d.d=-u.d),u.d+u.a>p.b.Kf().b&&(p.d.a=u.d+u.a-p.b.Kf().b))}function ed(){ed=K,AT=new Mi((_n(),HL),Oe(1)),E$=new Mi(Od,80),kkt=new Mi(xNe,5),mkt=new Mi(gk,bx),_kt=new Mi(Tre,Oe(1)),xkt=new Mi(Are,(Lt(),!0)),D2e=new xb(50),Tkt=new Mi(df,D2e),I2e=y4,L2e=bk,wkt=new Mi(iU,!1),O2e=v4,Ekt=lv,Skt=q1,vkt=Am,ykt=b2,Akt=dv,R2e=(Ybe(),lkt),uee=pkt,v$=ukt,cee=dkt,M2e=hkt,Ikt=wk,Rkt=aU,Ckt=hv,Nkt=mk,P2e=(VS(),bv),new Mi(VT,P2e)}function KAn(e,t){var r;switch(b6(e)){case 6:return zi(t);case 7:return zw(t);case 8:return Hw(t);case 3:return Array.isArray(t)&&(r=b6(t),!(r>=14&&r<=16));case 11:return t!=null&&typeof t===XJ;case 12:return t!=null&&(typeof t===pD||typeof t==XJ);case 0:return TY(t,e.__elementTypeId$);case 2:return rW(t)&&t.Rm!==fe;case 1:return rW(t)&&t.Rm!==fe||TY(t,e.__elementTypeId$);default:return!0}}function YAn(e){var t,r,o,a;o=e.o,Ww(),e.A.dc()||gr(e.A,_2e)?a=o.a:(e.D?a=b.Math.max(o.a,SC(e.f)):a=SC(e.f),e.A.Gc((su(),JL))&&!e.B.Gc((Uc(),C4))&&(a=b.Math.max(a,SC(l(Ko(e.p,(He(),Vt)),256))),a=b.Math.max(a,SC(l(Ko(e.p,dn),256)))),t=$ht(e),t&&(a=b.Math.max(a,t.a))),Ye(Ke(e.e.Rf().mf((_n(),lv))))?o.a=b.Math.max(o.a,a):o.a=a,r=e.f.i,r.c=0,r.b=a,CJ(e.f)}function Xyt(e,t){var r,o,a,u;return o=b.Math.min(b.Math.abs(e.c-(t.c+t.b)),b.Math.abs(e.c+e.b-t.c)),u=b.Math.min(b.Math.abs(e.d-(t.d+t.a)),b.Math.abs(e.d+e.a-t.d)),r=b.Math.abs(e.c+e.b/2-(t.c+t.b/2)),r>e.b/2+t.b/2||(a=b.Math.abs(e.d+e.a/2-(t.d+t.a/2)),a>e.a/2+t.a/2)?1:r==0&&a==0?0:r==0?u/a+1:a==0?o/r+1:b.Math.min(o/r,u/a)+1}function JAn(e,t){var r,o,a,u,f,p,m;for(u=0,p=0,m=0,a=new V(e.f.e);a.a<a.c.c.length;)o=l(q(a),156),t!=o&&(f=e.i[t.a][o.a],u+=f,r=h1(t.d,o.d),r>0&&e.d!=(G3(),fee)&&(p+=f*(o.d.a+e.a[t.a][o.a]*(t.d.a-o.d.a)/r)),r>0&&e.d!=(G3(),lee)&&(m+=f*(o.d.b+e.a[t.a][o.a]*(t.d.b-o.d.b)/r)));switch(e.d.g){case 1:return new Me(p/u,t.d.b);case 2:return new Me(t.d.a,m/u);default:return new Me(p/u,m/u)}}function Zyt(e){var t,r,o,a,u,f;for(r=(!e.a&&(e.a=new Ei(Iu,e,5)),e.a).i+2,f=new Da(r),Fe(f,new Me(e.j,e.k)),ei(new vt(null,(!e.a&&(e.a=new Ei(Iu,e,5)),new St(e.a,16))),new _Xe(f)),Fe(f,new Me(e.b,e.c)),t=1;t<f.c.length-1;)o=(at(t-1,f.c.length),l(f.c[t-1],8)),a=(at(t,f.c.length),l(f.c[t],8)),u=(at(t+1,f.c.length),l(f.c[t+1],8)),o.a==a.a&&a.a==u.a||o.b==a.b&&a.b==u.b?sg(f,t):++t;return f}function Qyt(e,t){N_();var r,o,a,u,f;if(f=l(F(e.i,(Ue(),Zr)),103),u=e.j.g-t.j.g,u!=0||!(f==(qi(),_m)||f==Oh||f==fa))return 0;if(f==(qi(),_m)&&(r=l(F(e,xg),15),o=l(F(t,xg),15),r&&o&&(a=r.a-o.a,a!=0)))return a;switch(e.j.g){case 1:return vr(e.n.a,t.n.a);case 2:return vr(e.n.b,t.n.b);case 3:return vr(t.n.a,e.n.a);case 4:return vr(t.n.b,e.n.b);default:throw Y(new ts(Lwe))}}function evt(e,t){var r,o,a,u,f,p,m;for(r=zrt(Jet(Ket(Yet(new Mue,t),new RP(t.e)),ANt),e.a),t.j.c.length==0||Tdt(l(ze(t.j,0),60).a,r),m=new ZG,Jn(e.e,r,m),f=new pi,p=new pi,u=new V(t.k);u.a<u.c.c.length;)a=l(q(u),17),gi(f,a.c),gi(p,a.d);o=f.a.gc()-p.a.gc(),o<0?(I6(m,!0,(Si(),cs)),I6(m,!1,fs)):o>0&&(I6(m,!1,(Si(),cs)),I6(m,!0,fs)),La(t.g,new _tt(e,r)),Jn(e.g,t,r)}function S0e(){S0e=K,vOt=new ht(Cve,(Lt(),!1)),Oe(-1),hOt=new ht(Ive,Oe(-1)),Oe(-1),pOt=new ht(Rve,Oe(-1)),gOt=new ht(Ove,!1),bOt=new ht(Dve,!1),zxe=(YP(),Pne),AOt=new ht(Lve,zxe),_Ot=new ht(Mve,-1),Hxe=(Kj(),One),TOt=new ht(Pve,Hxe),SOt=new ht(jve,!0),Bxe=(oj(),jne),yOt=new ht(Fve,Bxe),wOt=new ht($ve,!1),Oe(1),mOt=new ht(Bve,Oe(1)),Uxe=(Hj(),Fne),EOt=new ht(Uve,Uxe)}function tvt(){tvt=K;var e;for(o2e=Z(X(Rn,1),Qn,30,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),VQ=we(Rn,Qn,30,37,15,1),ixt=Z(X(Rn,1),Qn,30,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),s2e=we(pw,E2t,30,37,14,1),e=2;e<=36;e++)VQ[e]=bo(b.Math.pow(e,o2e[e])),s2e[e]=W6(wD,VQ[e])}function XAn(e){var t;if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i!=1)throw Y(new jt(zTt+(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i));return t=new Lc,LK(l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))&&wo(t,GEt(e,LK(l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)),!1)),LK(l(ie((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))&&wo(t,GEt(e,LK(l(ie((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83)),!0)),t}function nvt(e,t){var r,o,a,u,f;for(t.d?a=e.a.c==(If(),aw)?si(t.b):Or(t.b):a=e.a.c==(If(),kg)?si(t.b):Or(t.b),u=!1,o=new Ft(Gt(a.a.Jc(),new D));an(o);)if(r=l(en(o),17),f=Ye(e.a.f[e.a.g[t.b.p].p]),!(!f&&!fo(r)&&r.c.i.c==r.d.i.c)&&!(Ye(e.a.n[e.a.g[t.b.p].p])||Ye(e.a.n[e.a.g[t.b.p].p]))&&(u=!0,bl(e.b,e.a.g[hmn(r,t.b).p])))return t.c=!0,t.a=r,t;return t.c=u,t.a=null,t}function T0e(e,t,r){var o,a,u,f,p,m,y;if(o=r.gc(),o==0)return!1;if(e.Nj())if(m=e.Oj(),C1e(e,t,r),f=o==1?e.Gj(3,null,r.Jc().Pb(),t,m):e.Gj(5,null,r,t,m),e.Kj()){for(p=o<100?null:new e1(o),u=t+o,a=t;a<u;++a)y=e.vj(a),p=e.Lj(y,p),p=p;p?(p.lj(f),p.mj()):e.Hj(f)}else e.Hj(f);else if(C1e(e,t,r),e.Kj()){for(p=o<100?null:new e1(o),u=t+o,a=t;a<u;++a)p=e.Lj(e.vj(a),p);p&&p.mj()}return!0}function rvt(e,t,r){var o,a,u,f,p;return e.Nj()?(a=null,u=e.Oj(),o=e.Gj(1,p=(f=e.Bj(t,e.Xi(t,r)),f),r,t,u),e.Kj()&&!(e.Wi()&&p?gr(p,r):me(p)===me(r))&&(p&&(a=e.Mj(p,a)),a=e.Lj(r,a)),a?(a.lj(o),a.mj()):e.Hj(o),p):(p=(f=e.Bj(t,e.Xi(t,r)),f),e.Kj()&&!(e.Wi()&&p?gr(p,r):me(p)===me(r))&&(a=null,p&&(a=e.Mj(p,null)),a=e.Lj(r,a),a&&a.mj()),p)}function A0e(e,t){var r,o,a,u,f,p,m,y,v;if(e.e=t,e.f=l(F(t,(p1(),S$)),237),Fwn(t),e.d=b.Math.max(t.e.c.length*16+t.c.c.length,256),!Ye(Ke(F(t,(ed(),I2e)))))for(v=e.e.e.c.length,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),y=p.d,y.a=XV(e.f)*v,y.b=XV(e.f)*v;for(r=t.b,u=new V(t.c);u.a<u.c.c.length;)if(a=l(q(u),292),o=l(F(a,M2e),15).a,o>0){for(f=0;f<o;f++)Fe(r,new jst(a));C0t(a)}}function ZAn(e,t){var r,o,a,u,f,p,m,y,v,T;for(t.Tg("Hypernodes processing",1),a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),p=new V(o.a);p.a<p.c.c.length;)if(f=l(q(p),9),Ye(Ke(F(f,(Ue(),gB))))&&f.j.c.length<=2){for(T=0,v=0,r=0,u=0,y=new V(f.j);y.a<y.c.c.length;)switch(m=l(q(y),12),m.j.g){case 1:++T;break;case 2:++v;break;case 3:++r;break;case 4:++u}T==0&&r==0&&c3n(e,f,u<=v)}t.Ug()}function ivt(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M;if(N=new ty(e.Yg()),Kl(t,sr,N),r&&!e.Wg().a.dc())for(v=new Eb,Kl(t,"logs",v),p=0,M=new qv(e.Wg().b.Jc());M.b.Ob();)R=In(M.b.Pb()),T=new ty(R),uy(v,p),UW(v,p,T),++p;if(o&&(y=new S9(e.Vg()),Kl(t,"executionTime",y)),!e.Xg().a.dc())for(f=new Eb,Kl(t,fQ,f),p=0,u=new qv(e.Xg().b.Jc());u.b.Ob();)a=l(u.b.Pb(),861),m=new aS,uy(f,p),UW(f,p,m),ivt(a,m,r,o),++p}function _0e(){_0e=K,_q(),XLt=new yWe,Z(X(YT,2),Pe,377,0,[Z(X(YT,1),a$,596,0,[new sO(A_t)])]),Z(X(YT,2),Pe,377,0,[Z(X(YT,1),a$,596,0,[new sO($Ee)])]),Z(X(YT,2),Pe,377,0,[Z(X(YT,1),a$,596,0,[new sO(__t)]),Z(X(YT,1),a$,596,0,[new sO($Ee)])]),new s1("-1"),Z(X(YT,2),Pe,377,0,[Z(X(YT,1),a$,596,0,[new sO("\\c+")])]),new s1("0"),new s1("0"),new s1("1"),new s1("0"),new s1(R_t)}function QAn(e,t,r){var o,a,u,f,p,m,y,v,T;for(r.Tg("Hyperedge merging",1),kEn(e,t),m=new Ji(t.b,0);m.b<m.d.gc();)if(p=(cn(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),26)),v=p.a,v.c.length!=0)for(o=null,a=null,u=null,f=null,y=0;y<v.c.length;y++)o=(at(y,v.c.length),l(v.c[y],9)),a=o.k,a==(Ht(),bi)&&f==bi&&(T=X_n(o,u),T.a&&(QSn(o,u,T.b,T.c),at(y,v.c.length),dle(v.c,y,1),--y,o=u,a=f)),u=o,f=a;r.Ug()}function e_n(e,t,r,o,a){var u,f,p,m,y,v,T;for(f=new V(t);f.a<f.c.c.length;){if(u=l(q(f),17),m=u.c,r.a._b(m))y=(g0(),z1);else if(o.a._b(m))y=(g0(),u2);else throw Y(new jt("Source port must be in one of the port sets."));if(v=u.d,r.a._b(v))T=(g0(),z1);else if(o.a._b(v))T=(g0(),u2);else throw Y(new jt("Target port must be in one of the port sets."));p=new Gmt(u,y,T),Jn(e.b,u,p),Rt(a.c,p)}}function GF(e){var t,r;return e.c&&e.c.Sh()&&(r=l(e.c,52),e.c=l(y1(e,r),146),e.c!=r&&(e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,9,2,r,e.c)),se(e.Cb,408)?e.Db>>16==-15&&e.Cb.Vh()&&oK(new rK(e.Cb,9,13,r,e.c,gg(Fc(l(e.Cb,62)),e))):se(e.Cb,89)&&e.Db>>16==-23&&e.Cb.Vh()&&(t=e.c,se(t,89)||(t=(_t(),Ml)),se(r,89)||(r=(_t(),Ml)),oK(new rK(e.Cb,9,10,r,t,gg(oa(l(e.Cb,29)),e)))))),e.c}function ovt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;if(t==r)return!0;if(t=kme(e,t),r=kme(e,r),o=IY(t),o){if(v=IY(r),v!=o)return v?(m=o.kk(),M=v.kk(),m==M&&m!=null):!1;if(f=(!t.d&&(t.d=new Ei(qo,t,1)),t.d),u=f.i,N=(!r.d&&(r.d=new Ei(qo,r,1)),r.d),u==N.i){for(y=0;y<u;++y)if(a=l(ie(f,y),88),T=l(ie(N,y),88),!ovt(e,a,T))return!1}return!0}else return p=t.e,R=r.e,p==R}function svt(e,t,r,o){var a,u,f,p,m,y,v,T;if(wp(e.e,t)){for(T=za(e.e.Ah(),t),u=l(e.g,123),v=null,m=-1,p=-1,a=0,y=0;y<e.i;++y)f=u[y],T.$l(f.Jk())&&(a==r&&(m=y),a==o&&(p=y,v=f.kd()),++a);if(m==-1)throw Y(new Ia(gQ+r+cm+a));if(p==-1)throw Y(new Ia(bQ+o+cm+a));return cC(e,m,p),Jc(e.e)&&LA(e,l1(e,7,t,Oe(o),v,r,!0)),v}else throw Y(new jt("The feature must be many-valued to support move"))}function avt(e,t,r,o){var a,u,f,p,m;switch(m=new To(t.n),m.a+=t.o.a/2,m.b+=t.o.b/2,p=ce(le(F(t,(Ue(),Zy)))),u=e.f,f=e.d,a=e.c,l(F(t,(Ie(),Hs)),64).g){case 1:m.a+=f.b+a.a-r/2,m.b=-o-p,t.n.b=-(f.d+p+a.b);break;case 2:m.a=u.a+f.b+f.c+p,m.b+=f.d+a.b-o/2,t.n.a=u.a+f.c+p-a.a;break;case 3:m.a+=f.b+a.a-r/2,m.b=u.b+f.d+f.a+p,t.n.b=u.b+f.a+p-a.b;break;case 4:m.a=-r-p,m.b+=f.d+a.b-o/2,t.n.a=-(f.b+p+a.a)}return m}function t_n(e,t,r){var o,a;o=t.c.i,a=r.d.i,o.k==(Ht(),bi)?(Te(e,(Ie(),Cd),l(F(o,Cd),12)),Te(e,Nl,l(F(o,Nl),12)),Te(e,Wy,Ke(F(o,Wy)))):o.k==ta?(Te(e,(Ie(),Cd),l(F(o,Cd),12)),Te(e,Nl,l(F(o,Nl),12)),Te(e,Wy,(Lt(),!0))):a.k==ta?(Te(e,(Ie(),Cd),l(F(a,Cd),12)),Te(e,Nl,l(F(a,Nl),12)),Te(e,Wy,(Lt(),!0))):(Te(e,(Ie(),Cd),t.c),Te(e,Nl,r.d))}function n_n(e){var t,r,o,a,u,f,p;for(e.o=new oE,o=new Ar,f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),yE(u).c.length==1&&Wr(o,u,o.c.b,o.c);for(;o.b!=0;)u=l(o.b==0?null:(cn(o.b!=0),Vu(o,o.a.a)),126),yE(u).c.length!=0&&(t=l(ze(yE(u),0),220),r=u.g.a.c.length>0,p=Wj(t,u),Cde(r?p.b:p.g,t),yE(p).c.length==1&&Wr(o,p,o.c.b,o.c),a=new Co(u,t),d1(e.o,a),Xa(e.e.a,u))}function cvt(e,t){var r,o,a,u,f,p,m;return o=b.Math.abs(mP(e.b).a-mP(t.b).a),p=b.Math.abs(mP(e.b).b-mP(t.b).b),a=0,m=0,r=1,f=1,o>e.b.b/2+t.b.b/2&&(a=b.Math.min(b.Math.abs(e.b.c-(t.b.c+t.b.b)),b.Math.abs(e.b.c+e.b.b-t.b.c)),r=1-a/o),p>e.b.a/2+t.b.a/2&&(m=b.Math.min(b.Math.abs(e.b.d-(t.b.d+t.b.a)),b.Math.abs(e.b.d+e.b.a-t.b.d)),f=1-m/p),u=b.Math.min(r,f),(1-u)*b.Math.sqrt(o*o+p*p)}function r_n(e){var t,r,o,a;for(qJ(e,e.e,e.f,(g0(),z1),!0,e.c,e.i),qJ(e,e.e,e.f,z1,!1,e.c,e.i),qJ(e,e.e,e.f,u2,!0,e.c,e.i),qJ(e,e.e,e.f,u2,!1,e.c,e.i),e_n(e,e.c,e.e,e.f,e.i),o=new Ji(e.i,0);o.b<o.d.gc();)for(t=(cn(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),134)),a=new Ji(e.i,o.b);a.b<a.d.gc();)r=(cn(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),134)),Kxn(t,r);w3n(e.i,l(F(e.d,(Ie(),DT)),237)),Mkn(e.i)}function kJ(e,t){var r,o;if(t!=null){if(o=I0(e),o)if(o.i&1){if(o==cc)return Hw(t);if(o==Rn)return se(t,15);if(o==Tv)return se(t,165);if(o==Ec)return se(t,224);if(o==al)return se(t,183);if(o==Ki)return zw(t);if(o==T2)return se(t,193);if(o==pw)return se(t,192)}else return t8(),r=l(Ut(EU,o),58),!r||r.dk(t);else if(se(t,57))return e.bl(l(t,57))}return!1}function x0e(){x0e=K;var e,t,r,o,a,u,f,p,m;for(mf=we(Ec,UE,30,255,15,1),Pg=we(al,Bf,30,64,15,1),t=0;t<255;t++)mf[t]=-1;for(r=90;r>=65;r--)mf[r]=r-65<<24>>24;for(o=122;o>=97;o--)mf[o]=o-97+26<<24>>24;for(a=57;a>=48;a--)mf[a]=a-48+52<<24>>24;for(mf[43]=62,mf[47]=63,u=0;u<=25;u++)Pg[u]=65+u&Ti;for(f=26,m=0;f<=51;++f,m++)Pg[f]=97+m&Ti;for(e=52,p=0;e<=61;++e,p++)Pg[e]=48+p&Ti;Pg[62]=43,Pg[63]=47}function uvt(e,t){var r,o,a,u,f,p;return a=yge(e),p=yge(t),a==p?e.e==t.e&&e.a<54&&t.a<54?e.f<t.f?-1:e.f>t.f?1:0:(o=e.e-t.e,r=(e.d>0?e.d:b.Math.floor((e.a-1)*S2t)+1)-(t.d>0?t.d:b.Math.floor((t.a-1)*S2t)+1),r>o+1?a:r<o-1?-a:(u=(!e.c&&(e.c=ZO(Gs(e.f))),e.c),f=(!t.c&&(t.c=ZO(Gs(t.f))),t.c),o<0?u=fE(u,Svt(-o)):o>0&&(f=fE(f,Svt(o))),n1t(u,f))):a<p?-1:1}function lvt(e){var t,r,o,a,u,f;return o=new ige,qs(o,e),me(F(o,(Ue(),xu)))===me((Si(),hf))&&Te(o,xu,qj(o)),F(o,(QP(),p4))==null&&(f=l(amt(e),176),Te(o,p4,I8(f.mf(p4)))),Te(o,(Ie(),wr),e),Te(o,xa,(t=l(md(Xee),10),new Hu(t,l(Gl(t,t.length),10),0))),a=sNn((Br(e)&&(n1(),new Yp(Br(e))),n1(),new U8(Br(e)?new Yp(Br(e)):null,e)),fs),u=l(F(o,jAe),100),r=o.d,uct(r,u),uct(r,a),o}function i_n(e,t,r){var o,a,u,f,p,m,y,v;for(r.Tg(Z2t,1),e.qf(t),u=0;e.sf(u)&&!r.Zg();){for(e.rf(),v=hh(Wu(Z(X(nl,1),It,22,0,[t.e,t.d,t.b])));an(v);)for(m=l(en(v),314),p=hh(Wu(Z(X(nl,1),It,22,0,[t.e,t.d,t.b])));an(p);)f=l(en(p),314),f!=m&&(a=e.pf(f,m),a&&mr(m.c,a));for(y=hh(Wu(Z(X(nl,1),It,22,0,[t.e,t.d,t.b])));an(y);)m=l(en(y),314),o=m.c,xmt(o,-e.d,-e.d,e.d,e.d),mr(m.d,o),o.a=0,o.b=0;++u}r.Ug()}function o_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(e.dc())return new ro;for(y=0,T=0,a=e.Jc();a.Ob();)o=l(a.Pb(),37),u=o.f,y=b.Math.max(y,u.a),T+=u.a*u.b;for(y=b.Math.max(y,b.Math.sqrt(T)*ce(le(F(l(e.Jc().Pb(),37),(Ue(),cB))))),N=0,R=0,m=0,r=t,p=e.Jc();p.Ob();)f=l(p.Pb(),37),v=f.f,N+v.a>y&&(N=0,R+=m+t,m=0),ex(f,N,R),r=b.Math.max(r,N+v.a),m=b.Math.max(m,v.b),N+=v.a+t;return new Me(r+t,R+m+t)}function k0e(e,t){var r,o,a,u,f,p,m;if(!Gd(e))throw Y(new ts(HTt));if(o=Gd(e),u=o.g,a=o.f,u<=0&&a<=0)return He(),Is;switch(p=e.i,m=e.j,t.g){case 2:case 1:if(p<0)return He(),Wt;if(p+e.g>u)return He(),Qt;break;case 4:case 3:if(m<0)return He(),Vt;if(m+e.f>a)return He(),dn}return f=(p+e.g/2)/u,r=(m+e.f/2)/a,f+r<=1&&f-r<=0?(He(),Wt):f+r>=1&&f-r>=0?(He(),Qt):r<.5?(He(),Vt):(He(),dn)}function s_n(e,t,r,o,a){var u,f;if(u=_o(Gi(t[0],Bo),Gi(o[0],Bo)),e[0]=On(u),u=c0(u,32),r>=a){for(f=1;f<a;f++)u=_o(u,_o(Gi(t[f],Bo),Gi(o[f],Bo))),e[f]=On(u),u=c0(u,32);for(;f<r;f++)u=_o(u,Gi(t[f],Bo)),e[f]=On(u),u=c0(u,32)}else{for(f=1;f<r;f++)u=_o(u,_o(Gi(t[f],Bo),Gi(o[f],Bo))),e[f]=On(u),u=c0(u,32);for(;f<a;f++)u=_o(u,Gi(o[f],Bo)),e[f]=On(u),u=c0(u,32)}Ea(u,0)!=0&&(e[f]=On(u))}function a_n(e,t){var r,o,a,u,f,p,m,y,v;for(t.Tg("Layer constraint edge reversal",1),f=new V(e.b);f.a<f.c.c.length;){for(u=l(q(f),26),v=-1,r=new je,y=QO(u.a),a=0;a<y.length;a++)o=l(F(y[a],(Ie(),hm)),316),v==-1?o!=(lp(),QE)&&(v=a):o==(lp(),QE)&&(Oi(y[a],null),S1(y[a],v++,u)),o==(lp(),kT)&&Rt(r.c,y[a]);for(m=new V(r);m.a<m.c.c.length;)p=l(q(m),9),Oi(p,null),Oi(p,u)}t.Ug()}function Ny(e){hr();var t,r,o,a,u,f;if(e.e!=4&&e.e!=5)throw Y(new jt("Token#complementRanges(): must be RANGE: "+e.e));for(u=e,kE(u),PC(u),o=u.b.length+2,u.b[0]==0&&(o-=2),r=u.b[u.b.length-1],r==Fx&&(o-=2),a=new bu(4),a.b=we(Rn,Qn,30,o,15,1),f=0,u.b[0]>0&&(a.b[f++]=0,a.b[f++]=u.b[0]-1),t=1;t<u.b.length-2;t+=2)a.b[f++]=u.b[t]+1,a.b[f++]=u.b[t+1]-1;return r!=Fx&&(a.b[f++]=r+1,a.b[f]=Fx),a.a=!0,a}function c_n(e,t){var r,o,a,u,f,p,m,y,v;for(t.Tg("Hierarchical port dummy size processing",1),m=new je,v=new je,o=ce(le(F(e,(Ue(),tv)))),r=o*2,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),m.c.length=0,v.c.length=0,p=new V(a.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(Ht(),yi)&&(y=l(F(f,(Ie(),Hs)),64),y==(He(),Vt)?Rt(m.c,f):y==dn&&Rt(v.c,f));L0t(m,!0,r),L0t(v,!1,r)}t.Ug()}function dvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(e.c.length==1)return 0;for(N=ce(le(t.a)),R=ce(le(t.b)),v=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),v+=p.g;for(r=(v-N+R)/2,u=0;r<u&&0<e.c.length;)u+=(at(0,e.c.length),l(e.c[0],19)).lh();for(o=u-r,T=r-(u-(at(0,e.c.length),l(e.c[0],19)).lh()),o>T?y=0:y=-1,t.a=N+o,f=0,a=y+1;a<e.c.length;a++)f+=(at(a,e.c.length),l(e.c[a],19)).lh();return t.b=R+f,y}function NJ(e,t,r){var o,a,u,f,p,m,y,v;if(o=r.gc(),o==0)return!1;if(e.Nj())if(y=e.Oj(),JY(e,t,r),f=o==1?e.Gj(3,null,r.Jc().Pb(),t,y):e.Gj(5,null,r,t,y),e.Kj()){for(p=o<100?null:new e1(o),u=t+o,a=t;a<u;++a)v=e.g[a],p=e.Lj(v,p),p=e.Sj(v,p);p?(p.lj(f),p.mj()):e.Hj(f)}else e.Hj(f);else if(JY(e,t,r),e.Kj()){for(p=o<100?null:new e1(o),u=t+o,a=t;a<u;++a)m=e.g[a],p=e.Lj(m,p);p&&p.mj()}return!0}function N0e(e,t,r,o){var a,u,f,p,m;for(f=new V(e.k);f.a<f.c.c.length;)a=l(q(f),135),(!o||a.c==(vd(),H1))&&(m=a.b,m.g<0&&a.d>0&&(GG(m,m.d-a.d),a.c==(vd(),H1)&&DZt(m,m.a-a.d),m.d<=0&&m.i>0&&Wr(t,m,t.c.b,t.c)));for(u=new V(e.f);u.a<u.c.c.length;)a=l(q(u),135),(!o||a.c==(vd(),H1))&&(p=a.a,p.g<0&&a.d>0&&(T9(p,p.i-a.d),a.c==(vd(),H1)&&LZt(p,p.b-a.d),p.i<=0&&p.d>0&&Wr(r,p,r.c.b,r.c)))}function u_n(e,t,r,o,a){var u,f,p,m,y,v,T,N,R;for(At(),ki(e,new UGe),f=UO(e),R=new je,N=new je,p=null,m=0;f.b!=0;)u=l(f.b==0?null:(cn(f.b!=0),Vu(f,f.a.a)),168),!p||hc(p)*eu(p)/2<hc(u)*eu(u)?(p=u,Rt(R.c,u)):(m+=hc(u)*eu(u),Rt(N.c,u),N.c.length>1&&(m>hc(p)*eu(p)/2||f.b==0)&&(T=new pj(N),v=hc(p)/eu(p),y=VJ(T,t,new oS,r,o,a,v),mr(wd(T.e),y),p=T,Rt(R.c,T),m=0,N.c.length=0));return li(R,N),R}function ca(e,t,r,o,a){eg();var u,f,p,m,y,v,T;if(she(e,"src"),she(r,"dest"),T=ru(e),m=ru(r),Cfe((T.i&4)!=0,"srcType is not an array"),Cfe((m.i&4)!=0,"destType is not an array"),v=T.c,f=m.c,Cfe(v.i&1?v==f:(f.i&1)==0,"Array types don't match"),Rpn(e,t,r,o,a),!(v.i&1)&&T!=m)if(y=HS(e),u=HS(r),me(e)===me(r)&&t<o)for(t+=a,p=o+a;p-- >o;)ii(u,p,y[--t]);else for(p=o+a;o<p;)ii(u,o++,y[t++]);else Eme(e,t,r,o,a,!0)}function fvt(e,t){var r,o,a,u,f,p,m,y,v;switch(t.Tg("Box layout",2),a=rO(le(ve(e,(_F(),$6t)))),u=l(ve(e,F6t),100),r=Ye(Ke(ve(e,Wke))),o=Ye(Ke(ve(e,Kke))),l(ve(e,lre),327).g){case 0:f=(v=new Tc((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),At(),ki(v,new SXe(o)),v),p=ome(e),m=le(ve(e,Vke)),(m==null||(Mt(m),m<=0))&&(m=1.3),y=t3n(f,a,u,p.a,p.b,r,(Mt(m),m)),M0(e,y.a,y.b,!1,!0);break;default:Bxn(e,a,u,r)}t.Ug()}function l_n(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M;for(N=Q0n(e,r),m=0;m<t;m++){for(Kw(a,r),R=new je,M=(cn(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),415)),v=N+m;v<e.b;v++)p=M,M=(cn(o.b<o.d.gc()),l(o.d.Xb(o.c=o.b++),415)),Fe(R,new Fwt(p,M,r));for(T=N+m;T<e.b;T++)cn(o.b>0),o.a.Xb(o.c=--o.b),T>N+m&&Mc(o);for(f=new V(R);f.a<f.c.c.length;)u=l(q(f),415),Kw(o,u);if(m<t-1)for(y=N+m;y<e.b;y++)cn(o.b>0),o.a.Xb(o.c=--o.b)}}function d_n(){hr();var e,t,r,o,a,u;if(Wre)return Wre;for(e=new bu(4),Iy(e,k1(DQ,!0)),$C(e,k1("M",!0)),$C(e,k1("C",!0)),u=new bu(4),o=0;o<11;o++)Sa(u,o,o);return t=new bu(4),Iy(t,k1("M",!0)),Sa(t,4448,4607),Sa(t,65438,65439),a=new b3(2),em(a,e),em(a,B4),r=new b3(2),r.Hm(dP(u,k1("L",!0))),r.Hm(t),r=new ay(3,r),r=new che(a,r),Wre=r,Wre}function Cy(e,t){var r,o,a,u,f,p,m,y;for(r=new RegExp(t,"g"),m=we(Je,Pe,2,0,6,1),o=0,y=e,u=null;;)if(p=r.exec(y),p==null||y==""){m[o]=y;break}else f=p.index,m[o]=(io(0,f,y.length),y.substr(0,f)),y=yl(y,f+p[0].length,y.length),r.lastIndex=0,u==y&&(m[o]=(io(0,1,y.length),y.substr(0,1)),y=(Jt(1,y.length+1),y.substr(1))),u=y,++o;if(e.length>0){for(a=m.length;a>0&&m[a-1]=="";)--a;a<m.length&&(m.length=a)}return m}function js(){js=K,ixe=new xb(20),rxe=new Mi((_n(),df),ixe),une=new Mi(Od,20),sxe=new Mi(kNe,3),gRt=new Mi(gk,bx),$B=new Mi(HL,Oe(1)),ARt=new Mi(Are,(Lt(),!0)),Q_e=BL,exe=(Si(),hf),cw=new Mi(Tm,exe),bRt=y4,mRt=bre,yRt=Am,vRt=lv,ERt=m2,SRt=q1,wRt=b2,nxe=v4,TRt=dv,cxe=(xme(),pRt),oxe=fRt,kRt=wk,NRt=aU,xRt=hv,_Rt=mk,axe=(VS(),bv),new Mi(VT,axe),l2=dRt,cne=lRt,Jf=hRt,Z_e=cRt,txe=uRt}function f_n(e){var t,r,o,a,u,f,p,m,y,v,T,N;if(p=Br(e),T=ewt(e),t=l(ve(e,(_n(),uDt)),15).a,p){for(v=Zi,o=new tn((!p.a&&(p.a=new ke(En,p,10,11)),p.a));o.e!=o.i.gc();)r=l(rn(o),19),m=ewt(r),m>v&&(v=m);for(y=b.Math.pow(4,t),v>y&&(y=v),N=(b.Math.log(y)-b.Math.log(1))/t,u=b.Math.exp(N),a=u,f=0;f<t;f++){if(T<a)return b.Math.pow(2,f);a*=u}return b.Math.pow(2,t-1)}else return 1}function h_n(e){var t,r,o,a,u,f,p,m,y,v,T;for(T=new aHe,T.d=0,f=new V(e.b);f.a<f.c.c.length;)u=l(q(f),26),T.d+=u.a.c.length;for(o=0,a=0,T.a=we(Rn,Qn,30,e.b.c.length,15,1),y=0,v=0,T.e=we(Rn,Qn,30,T.d,15,1),r=new V(e.b);r.a<r.c.c.length;)for(t=l(q(r),26),t.p=o++,T.a[t.p]=a++,v=0,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p=y++,T.e[p.p]=v++;return T.c=new YJe(T),T.b=uh(T.d),RAn(T,e),T.f=uh(T.d),OAn(T,e),T}function p_n(e){var t,r;if(t=In(ve(e,(_n(),zT))),!Bht(t,e)&&!Gu(e,fv)&&((!e.a&&(e.a=new ke(En,e,10,11)),e.a).i!=0||Ye(Ke(ve(e,UL)))))if(t==null||Ty(t).length==0){if(!Bht($t,e))throw r=zn(zn(new fu("Unable to load default layout algorithm "),$t)," for unconfigured node "),ZF(e,r),Y(new _f(r.a))}else throw r=zn(zn(new fu("Layout algorithm '"),t),"' not found for "),ZF(e,r),Y(new _f(r.a))}function CJ(e){var t,r,o,a,u,f,p,m,y,v,T,N,R;if(r=e.i,t=e.n,e.b==0)for(R=r.c+t.b,N=r.b-t.b-t.c,f=e.a,m=0,v=f.length;m<v;++m)a=f[m],hP(a,R,N);else o=B1t(e,!1),hP(e.a[0],r.c+t.b,o[0]),hP(e.a[2],r.c+r.b-t.c-o[2],o[2]),T=r.b-t.b-t.c,o[0]>0&&(T-=o[0]+e.c,o[0]+=e.c),o[2]>0&&(T-=o[2]+e.c),o[1]=b.Math.max(o[1],T),hP(e.a[1],r.c+t.b+o[0]-(o[1]-T)/2,o[1]);for(u=e.a,p=0,y=u.length;p<y;++p)a=u[p],se(a,338)&&l(a,338).hf()}function g_n(e){var t,r,o,a,u,f,p,m,y,v;for(v=we(Rn,Qn,30,e.b.c.length+1,15,1),y=new pi,o=0,u=new V(e.b);u.a<u.c.c.length;){for(a=l(q(u),26),v[o++]=y.a.gc(),m=new V(a.a);m.a<m.c.c.length;)for(f=l(q(m),9),r=new Ft(Gt(Or(f).a.Jc(),new D));an(r);)t=l(en(r),17),y.a.yc(t,y);for(p=new V(a.a);p.a<p.c.c.length;)for(f=l(q(p),9),r=new Ft(Gt(si(f).a.Jc(),new D));an(r);)t=l(en(r),17),y.a.Ac(t)!=null}return v}function hvt(e,t){var r,o,a,u;for(u=l(ze(e.n,e.n.c.length-1),211).d,e.p=b.Math.min(e.p,t.g),e.r=b.Math.max(e.r,u),e.g=b.Math.max(e.g,t.g+(e.b.c.length==1?0:e.i)),e.o=b.Math.min(e.o,t.f),e.e+=t.f+(e.b.c.length==1?0:e.i),e.f=b.Math.max(e.f,t.f),a=e.n.c.length>0?(e.n.c.length-1)*e.i:0,o=new V(e.n);o.a<o.c.c.length;)r=l(q(o),211),a+=r.a;e.d=a,e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),rbe(e.j)}function pvt(e,t){var r,o,a,u,f,p,m,y,v,T;if(v=Ke(F(t,(ed(),xkt))),v==null||(Mt(v),v)){for(T=we(cc,Ad,30,t.e.c.length,16,1),f=rEn(t),a=new Ar,y=new V(t.e);y.a<y.c.c.length;)p=l(q(y),156),r=Fme(e,p,null,null,T,f),r&&(qs(r,t),Wr(a,r,a.c.b,a.c));if(a.b>1)for(o=An(a,0);o.b!=o.d.c;)for(r=l(Sn(o),238),u=0,m=new V(r.e);m.a<m.c.c.length;)p=l(q(m),156),p.a=u++;return a}return Wl(Z(X(lCn,1),Y2t,238,0,[t]))}function Ff(e){var t,r,o,a,u,f,p;if(!e.g){if(p=new PG,t=L4,f=t.a.yc(e,t),f==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,Ff(r));t.a.Ac(e)!=null,t.a.gc()==0}for(a=p.i,u=(!e.s&&(e.s=new ke(ac,e,21,17)),new tn(e.s));u.e!=u.i.gc();++a)HZt(l(rn(u),454),a);ti(p,(!e.s&&(e.s=new ke(ac,e,21,17)),e.s)),gy(p),e.g=new gpt(e,p),e.i=l(p.g,258),e.i==null&&(e.i=Bre),e.p=null,Pc(e).b&=-5}return e.g}function b_n(e,t){var r,o,a,u,f,p,m,y,v;if(r=t.ni(e.a),r&&(m=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),"memberTypes")),m!=null)){for(y=new je,u=Cy(m,"\\w"),f=0,p=u.length;f<p;++f)a=u[f],o=a.lastIndexOf("#"),v=o==-1?Hde(e,t.hk(),a):o==0?u6(e,null,(Jt(1,a.length+1),a.substr(1))):u6(e,(io(0,o,a.length),a.substr(0,o)),(Jt(o+1,a.length+1),a.substr(o+1))),se(v,160)&&Fe(y,l(v,160));return y}return At(),At(),Ro}function IJ(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M;if(o=e.i,r=e.n,e.b==0)t=$1t(e,!1),pP(e.a[0],o.d+r.d,t[0]),pP(e.a[2],o.d+o.a-r.a-t[2],t[2]),N=o.a-r.d-r.a,T=N,t[0]>0&&(t[0]+=e.c,T-=t[0]),t[2]>0&&(T-=t[2]+e.c),t[1]=b.Math.max(t[1],T),pP(e.a[1],o.d+r.d+t[0]-(t[1]-T)/2,t[1]);else for(M=o.d+r.d,R=o.a-r.d-r.a,f=e.a,m=0,v=f.length;m<v;++m)a=f[m],pP(a,M,R);for(u=e.a,p=0,y=u.length;p<y;++p)a=u[p],se(a,338)&&l(a,338).jf()}function m_n(e,t,r,o,a){var u,f,p;if(r.f>=t.o&&r.f<=t.f||t.a*.5<=r.f&&t.a*1.5>=r.f){if(f=l(ze(t.n,t.n.c.length-1),211),f.e+f.d+r.g+a<=o&&(u=l(ze(t.n,t.n.c.length-1),211),u.f-e.f+r.f<=e.b||e.a.c.length==1))return v1e(t,r),!0;if(t.s+r.g<=o&&t.t+t.d+r.f+a<=e.f+e.b)return Fe(t.b,r),p=l(ze(t.n,t.n.c.length-1),211),Fe(t.n,new PP(t.s,p.f+p.a+t.i,t.i)),ebe(l(ze(t.n,t.n.c.length-1),211),r),hvt(t,r),!0}return!1}function qF(e,t,r,o){var a,u,f,p,m;if(m=za(e.e.Ah(),t),a=l(e.g,123),Mo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())&&gr(u,r))return!0}else if(r!=null){for(p=0;p<e.i;++p)if(u=a[p],m.$l(u.Jk())&&gr(r,u.kd()))return!0;if(o){for(f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())&&me(r)===me(_V(e,l(u.kd(),57))))return!0}}else for(f=0;f<e.i;++f)if(u=a[f],m.$l(u.Jk())&&u.kd()==null)return!1;return!1}function w_n(e,t){var r,o,a,u,f,p;if(r=t.ni(e.a),r&&(p=In(Td((!r.b&&(r.b=new Zc((_t(),Do),zs,r)),r.b),G7)),p!=null))switch(a=F8(p,Qa(35)),o=t.ok(),a==-1?(f=_3(e,mu(o)),u=p):a==0?(f=null,u=(Jt(1,p.length+1),p.substr(1))):(f=(io(0,a,p.length),p.substr(0,a)),u=(Jt(a+1,p.length+1),p.substr(a+1))),f0(is(e,t))){case 2:case 3:return xpn(e,o,f,u);case 0:case 4:case 5:case 6:return kpn(e,o,f,u)}return null}function gvt(e,t,r,o){var a,u,f,p;for(p=r,f=new V(t.a);f.a<f.c.c.length;){if(u=l(q(f),227),a=l(u.b,68),x0(e.b.c,a.b.c+a.b.b)<=0&&x0(a.b.c,e.b.c+e.b.b)<=0&&x0(e.b.d,a.b.d+a.b.a)<=0&&x0(a.b.d,e.b.d+e.b.a)<=0){if(x0(a.b.c,e.b.c+e.b.b)==0&&o.a<0||x0(a.b.c+a.b.b,e.b.c)==0&&o.a>0||x0(a.b.d,e.b.d+e.b.a)==0&&o.b<0||x0(a.b.d+a.b.a,e.b.d)==0&&o.b>0){p=0;break}}else p=b.Math.min(p,Qmt(e,a,o));p=b.Math.min(p,gvt(e,u,p,o))}return p}function C0e(e,t){var r,o,a,u,f,p,m;if(e.b<2)throw Y(new jt("The vector chain must contain at least a source and a target point."));for(a=(cn(e.b!=0),l(e.a.a.c,8)),NO(t,a.a,a.b),m=new SS((!t.a&&(t.a=new Ei(Iu,t,5)),t.a)),f=An(e,1);f.a<e.b-1;)p=l(Sn(f),8),m.e!=m.i.gc()?r=l(rn(m),373):(r=(t1(),o=new m9,o),Wgt(m,r)),fV(r,p.a,p.b);for(;m.e!=m.i.gc();)rn(m),wC(m);u=(cn(e.b!=0),l(e.c.b.c,8)),kO(t,u.a,u.b)}function bvt(e,t,r,o){var a,u,f,p,m,y;if(y=za(e.e.Ah(),t),f=l(e.g,123),wp(e.e,t)){if(t.Qi()&&(u=nx(e,t,o,se(t,104)&&(l(t,20).Bb&Io)!=0),u>=0&&u!=r))throw Y(new jt(GD));for(a=0,m=0;m<e.i;++m)if(p=f[m],y.$l(p.Jk())){if(a==r)return l(SE(e,m,(Mo(),l(t,69).vk()?l(o,76):gh(t,o))),76);++a}throw Y(new Ia(aI+r+cm+a))}else{for(m=0;m<e.i;++m)if(p=f[m],y.$l(p.Jk()))return Mo(),l(t,69).vk()?p:p.kd();return null}}function mvt(e,t){var r,o,a,u,f,p,m,y,v;for(r=0,a=new V((at(0,e.c.length),l(e.c[0],108)).g.b.j);a.a<a.c.c.length;)o=l(q(a),12),o.p=r++;for(t==(He(),Vt)?ki(e,new aUe):ki(e,new cUe),p=0,v=e.c.length-1;p<v;)f=(at(p,e.c.length),l(e.c[p],108)),y=(at(v,e.c.length),l(e.c[v],108)),u=t==Vt?f.c:f.a,m=t==Vt?y.a:y.c,ig(f,t,(Xl(),Vx),u),ig(y,t,qx,m),++p,--v;p==v&&ig((at(p,e.c.length),l(e.c[p],108)),t,(Xl(),Gy),null)}function y_n(e,t,r,o){var a,u,f,p,m,y;for(f=new Yvt(e,t,r),m=new Ji(o,0),a=!1;m.b<m.d.gc();)p=(cn(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),242)),p==t||p==r?Mc(m):!a&&ce(Hd(p.g,p.d[0]).a)>ce(Hd(f.g,f.d[0]).a)?(cn(m.b>0),m.a.Xb(m.c=--m.b),Kw(m,f),a=!0):p.e&&p.e.gc()>0&&(u=(!p.e&&(p.e=new je),p.e).Kc(t),y=(!p.e&&(p.e=new je),p.e).Kc(r),(u||y)&&((!p.e&&(p.e=new je),p.e).Ec(f),++f.c));a||Rt(o.c,f)}function v_n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;return T=e.a.i+e.a.g/2,N=e.a.i+e.a.g/2,M=t.i+t.g/2,G=t.j+t.f/2,p=new Me(M,G),y=l(ve(t,(_n(),GT)),8),y.a=y.a+T,y.b=y.b+N,u=(p.b-y.b)/(p.a-y.a),o=p.b-u*p.a,U=r.i+r.g/2,J=r.j+r.f/2,m=new Me(U,J),v=l(ve(r,GT),8),v.a=v.a+T,v.b=v.b+N,f=(m.b-v.b)/(m.a-v.a),a=m.b-f*m.a,R=(o-a)/(f-u),y.a<R&&p.a<R||R<y.a&&R<p.a?!1:!(v.a<R&&m.a<R||R<v.a&&R<m.a)}function E_n(e,t,r){var o,a,u,f;for(r.Tg(FSt,1),e.a=t,e.c=new je,u=b.Math.max(t.a.c.length,l(F(t,(Ie(),$1)),15).a);f=new pdt(e.c,e.d,e.b),GEn(f,t),zmn(f,t),e.d.b!=0;){for(e.rg(u,u*l(F(t,fL),15).a),a=new V(e.c);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!1),Te(o.c.i,(Ue(),UI),Oe(l(F(o.c.i,UI),15).a+1)),Te(t,CT,(Lt(),!0));tu(e.d),Zs(e.b),e.c.c.length=0}r.Ug(),r.ah("Execution Time: "+r.Vg())}function wvt(e,t,r,o){var a,u,f,p,m,y;if(!sy(t)){if(y=r.dh((se(t,18)?l(t,18).gc():yd(t.Jc()))/e.a|0),y.Tg(VSt,1),m=new WHe,p=0,o==(Si(),cs)||o==fs)for(f=t.Jc();f.Ob();)a=l(f.Pb(),41),m=Wu(Z(X(nl,1),It,22,0,[m,new Qh(a)])),p<a.f.a&&(p=a.f.a);else for(f=t.Jc();f.Ob();)a=l(f.Pb(),41),m=Wu(Z(X(nl,1),It,22,0,[m,new Qh(a)])),p<a.f.b&&(p=a.f.b);for(u=t.Jc();u.Ob();)a=l(u.Pb(),41),Te(a,(Nr(),FB),p);y.Ug(),wvt(e,m,r,o)}}function I0e(e,t,r){var o,a,u,f,p,m,y,v;this.a=e,this.b=t,this.c=r,this.e=Wl(Z(X(aCn,1),It,180,0,[new hS(e,t),new hS(t,r),new hS(r,e)])),this.f=Wl(Z(X($i,1),Pe,8,0,[e,t,r])),this.d=(o=Di(Ao(this.b),this.a),a=Di(Ao(this.c),this.a),u=Di(Ao(this.c),this.b),f=o.a*(this.a.a+this.b.a)+o.b*(this.a.b+this.b.b),p=a.a*(this.a.a+this.c.a)+a.b*(this.a.b+this.c.b),m=2*(o.a*u.b-o.b*u.a),y=(a.b*f-o.b*p)/m,v=(o.a*p-a.a*f)/m,new Me(y,v))}function mg(e,t){var r,o,a,u,f,p;for(u=e.c,f=e.d,mo(e,null),Yi(e,null),t&&Ye(Ke(F(f,(Ie(),ote))))?mo(e,E0e(f.i,(Fo(),Ba),(He(),Qt))):mo(e,f),t&&Ye(Ke(F(u,(Ie(),ate))))?Yi(e,E0e(u.i,(Fo(),Cc),(He(),Wt))):Yi(e,u),o=new V(e.b);o.a<o.c.c.length;)r=l(q(o),70),a=l(F(r,(Ue(),Yf)),281),a==(Kd(),vk)?Te(r,Yf,pv):a==pv&&Te(r,Yf,vk);p=Ye(Ke(F(e,(Ie(),Ag)))),Te(e,Ag,(Lt(),!p)),e.a=Gge(e.a)}function S_n(e,t){var r,o,a,u,f;return r=U_(l(F(t,(js(),cw)),87)),e.b.b==0?null:(f=l(Ac(Oa(new vt(null,new St(e.b,16)),new OHe),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),u=l(Ac(dr(new vt(null,new St(t.b,16)),new XJe(f)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),16),a=le(Xc(Zw(Oa(u.Mc(),new ZJe(r)),(h0(),h0(),YQ)))),o=l(Xc(hp(dr(u.Mc(),new $tt(r,a)))),41),o)}function T_n(e,t){var r,o,a,u,f,p;if(At(),ki(t,new Aue(!1)),r=new je,o=new je,e.a)Dkn(t,r,o);else{for(Fe(r,l(ze(t,t.c.length-1),19)),f=0,p=0,u=1;u<t.c.length;u++)f<=p?(Fe(r,l(ze(t,t.c.length-1-u),19)),f+=l(ze(t,t.c.length-1-u),19).lh()):(Fe(o,l(ze(t,t.c.length-1-u),19)),p+=l(ze(t,t.c.length-1-u),19).lh());vC(r)}for(ki(o,new Aue(!0)),li(r,o),a=0;a<t.c.length;a++)nu(t,a,(at(a,r.c.length),l(r.c[a],19)))}function A_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;r=o0(new Tb,e.f),y=e.i[t.c.i.p],R=e.i[t.d.i.p],m=t.c,N=t.d,p=m.a.b,T=N.a.b,y.b||(p+=m.n.b),R.b||(T+=N.n.b),v=bo(b.Math.max(0,p-T)),f=bo(b.Math.max(0,T-p)),M=(U=b.Math.max(1,l(F(t,(Ue(),FT)),15).a),G=ope(t.c.i.k,t.d.i.k),U*G),a=Ql($l(Ul(Bl(Hl(new gl,M),f),r),l(Ut(e.k,t.c),126))),u=Ql($l(Ul(Bl(Hl(new gl,M),v),r),l(Ut(e.k,t.d),126))),o=new Ott(a,u),e.c[t.p]=o}function __n(e,t){var r,o,a,u,f,p,m,y,v,T;for(r=new Qc(e.c,-100,new Qc(0,e.a,e.b)),o=new Qc(t.c,-100,new Qc(0,t.a,t.b)),f=r.c-o.c,m=r,y=o,v=m.c,T=y.c;m&&y.b;)y.b.a>m.a?(a=y.b.c,u=y.b.a-y.a,p=v-T-(m.a-y.a)*a/u,f=b.Math.max(f,p),m=m.b,m&&(v+=m.c)):(y=y.b,T+=y.c);for(m=r,y=o,v=m.c,T=y.c;y&&m.b;)m.b.a>y.a?(a=m.b.c,u=m.b.a-m.a,p=v-T+(y.a-m.a)*a/u,f=b.Math.max(f,p),y=y.b,y&&(T+=y.c)):(m=m.b,v+=m.c);return f}function x_n(e,t,r){var o,a,u,f,p,m;for(o=0,u=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));u.e!=u.i.gc();)a=l(rn(u),19),f="",(!a.n&&(a.n=new ke(Rs,a,1,7)),a.n).i==0||(f=l(ie((!a.n&&(a.n=new ke(Rs,a,1,7)),a.n),0),158).a),p=new urt(f),qs(p,a),Te(p,(p1(),_T),a),p.a=o++,p.d.a=a.i+a.g/2,p.d.b=a.j+a.f/2,p.e.a=b.Math.max(a.g,1),p.e.b=b.Math.max(a.f,1),Fe(t.e,p),ec(r.f,a,p),m=l(ve(a,(ed(),L2e)),103),m==(qi(),K1)&&(m=pf)}function yvt(e){var t,r,o;if(nE(l(F(e,(Ue(),Zr)),103)))for(r=new V(e.j);r.a<r.c.c.length;)t=l(q(r),12),t.j==(He(),Is)&&(o=l(F(t,(Ie(),Nc)),9),o?Ii(t,l(F(o,Hs),64)):t.e.c.length-t.g.c.length<0?Ii(t,Qt):Ii(t,Wt));else{for(r=new V(e.j);r.a<r.c.c.length;)t=l(q(r),12),o=l(F(t,(Ie(),Nc)),9),o?Ii(t,l(F(o,Hs),64)):t.e.c.length-t.g.c.length<0?Ii(t,(He(),Qt)):Ii(t,(He(),Wt));Te(e,Zr,(qi(),Sk))}}function k_n(e,t){var r,o,a,u,f,p,m;t.Tg("Layer constraint postprocessing",1),m=e.b,m.c.length!=0&&(o=(at(0,m.c.length),l(m.c[0],26)),f=l(ze(m,m.c.length-1),26),r=new ra(e),u=new ra(e),fAn(e,o,f,r,u),r.a.c.length==0||(oy(0,m.c.length),t3(m.c,0,r)),u.a.c.length==0||Rt(m.c,u)),br(e,(Ie(),ite))&&(a=new ra(e),p=new ra(e),nTn(e,a,p),a.a.c.length==0||(oy(0,m.c.length),t3(m.c,0,a)),p.a.c.length==0||Rt(m.c,p)),t.Ug()}function uD(e){var t,r,o;switch(e){case 91:case 93:case 45:case 94:case 44:case 92:o="\\"+String.fromCharCode(e&Ti);break;case 12:o="\\f";break;case 10:o="\\n";break;case 13:o="\\r";break;case 9:o="\\t";break;case 27:o="\\e";break;default:e<32?(r=(t=e>>>0,"0"+t.toString(16)),o="\\x"+yl(r,r.length-2,r.length)):e>=Io?(r=(t=e>>>0,"0"+t.toString(16)),o="\\v"+yl(r,r.length-6,r.length)):o=""+String.fromCharCode(e&Ti)}return o}function vvt(e,t){var r,o,a,u,f,p,m,y,v;for(u=new V(e.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(a.a);p.a<p.c.c.length;)for(f=l(q(p),9),f.k==(Ht(),ta)&&(m=(y=l(en(new Ft(Gt(si(f).a.Jc(),new D))),17),v=l(en(new Ft(Gt(Or(f).a.Jc(),new D))),17),!Ye(Ke(F(y,(Ie(),Ag))))||!Ye(Ke(F(v,Ag)))?t:cpt(t)),aT(f,m)),o=new Ft(Gt(Or(f).a.Jc(),new D));an(o);)r=l(en(o),17),m=Ye(Ke(F(r,(Ie(),Ag))))?cpt(t):t,npt(r,m)}function R0e(e){var t,r,o,a,u,f;for(this.e=new je,this.a=new je,r=e.b-1;r<3;r++)WA(e,0,l(sa(e,0),8));if(e.b<4)throw Y(new jt("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,QEn(this,e.b+this.b-1),f=new je,u=new V(this.e),t=0;t<this.b-1;t++)Fe(f,le(q(u)));for(a=An(e,0);a.b!=a.d.c;)o=l(Sn(a),8),Fe(f,le(q(u))),Fe(this.a,new Qat(o,f)),at(0,f.c.length),f.c.splice(0,1)}function Evt(e,t,r){var o,a,u,f;return e.Nj()?(a=null,u=e.Oj(),o=e.Gj(1,f=lK(e,t,r),r,t,u),e.Kj()&&!(e.Wi()&&f!=null?gr(f,r):me(f)===me(r))?(f!=null&&(a=e.Mj(f,a)),a=e.Lj(r,a),e.Rj()&&(a=e.Uj(f,r,a)),a?(a.lj(o),a.mj()):e.Hj(o)):(e.Rj()&&(a=e.Uj(f,r,a)),a?(a.lj(o),a.mj()):e.Hj(o)),f):(f=lK(e,t,r),e.Kj()&&!(e.Wi()&&f!=null?gr(f,r):me(f)===me(r))&&(a=null,f!=null&&(a=e.Mj(f,null)),a=e.Lj(r,a),a&&a.mj()),f)}function N_n(e,t){var r,o,a,u,f;if(t.Tg("Path-Like Graph Wrapping",1),e.b.c.length==0){t.Ug();return}if(a=new Cme(e),f=(a.i==null&&(a.i=vge(a,new Pce)),ce(a.i)*a.f),r=f/(a.i==null&&(a.i=vge(a,new Pce)),ce(a.i)),a.b>r){t.Ug();return}switch(l(F(e,(Ue(),Rte)),351).g){case 2:u=new Fce;break;case 0:u=new Mce;break;default:u=new $ce}if(o=u.mg(e,a),!u.ng())switch(l(F(e,TB),352).g){case 2:o=e0t(a,o);break;case 1:o=Ubt(a,o)}Txn(e,a,o),t.Ug()}function OC(e,t){var r,o,a,u,f,p,m,y;t%=24,e.q.getHours()!=t&&(o=new b.Date(e.q.getTime()),o.setDate(o.getDate()+1),p=e.q.getTimezoneOffset()-o.getTimezoneOffset(),p>0&&(m=p/60|0,y=p%60,a=e.q.getDate(),r=e.q.getHours(),r+m>=24&&++a,u=new b.Date(e.q.getFullYear(),e.q.getMonth(),a,t+m,e.q.getMinutes()+y,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(u.getTime()))),f=e.q.getTime(),e.q.setTime(f+36e5),e.q.getHours()!=t&&e.q.setTime(f)}function C_n(e,t){var r,o,a,u;if(tun(e.d,e.e),e.c.a.$b(),ce(le(F(t.j,(Ue(),bL))))!=0||ce(le(F(t.j,bL)))!=0)for(r=FE,me(F(t.j,Ch))!==me((bp(),U1))&&Te(t.j,(Ie(),F1),(Lt(),!0)),u=l(F(t.j,qI),15).a,a=0;a<u&&(o=H_n(e,t),!(o<r&&(r=o,yht(e),r==0)));a++);else for(r=ar,me(F(t.j,Ch))!==me((bp(),U1))&&Te(t.j,(Ie(),F1),(Lt(),!0)),u=l(F(t.j,qI),15).a,a=0;a<u&&(o=xvt(e,t),!(o<r&&(r=o,yht(e),r==0)));a++);}function I_n(e,t){var r,o,a,u,f,p,m,y;for(f=new je,p=0,r=0,m=0;p<t.c.length-1&&r<e.gc();){for(o=l(e.Xb(r),15).a+m;(at(p+1,t.c.length),l(t.c[p+1],15)).a<o;)++p;for(y=0,u=o-(at(p,t.c.length),l(t.c[p],15)).a,a=(at(p+1,t.c.length),l(t.c[p+1],15)).a-o,u>a&&++y,Fe(f,(at(p+y,t.c.length),l(t.c[p+y],15))),m+=(at(p+y,t.c.length),l(t.c[p+y],15)).a-o,++r;r<e.gc()&&l(e.Xb(r),15).a+m<=(at(p+y,t.c.length),l(t.c[p+y],15)).a;)++r;p+=1+y}return f}function R_n(e,t){var r,o,a,u,f;for(f=new Ft(Gt(si(t).a.Jc(),new D));an(f);)if(u=l(en(f),17),e.f.b==0?(a=u.c.i.k==(Ht(),Xr)&&!!u.c.i.c&&u.c.i.c.p==e.c,an(new Ft(Gt(si(u.c.i).a.Jc(),new D)))?(r=l(en(new Ft(Gt(si(u.c.i).a.Jc(),new D))),17).c.i.c,o=u.c.i.k==ta&&!!r&&r.p==e.c):o=!1):(a=u.c.i.k==(Ht(),Xr)&&u.c.i.p==e.c,o=u.c.i.k==ta&&l(en(new Ft(Gt(si(u.c.i).a.Jc(),new D))),17).c.i.p==e.c),a||o)return!0;return!1}function O_n(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(N=new je,J=WP(o),G=t*e.a,T=0,M=0,u=new pi,f=new pi,p=new je,re=0,oe=0,R=0,U=0,y=0,v=0;J.a.gc()!=0;)m=$gn(J,a,f),m&&(J.a.Ac(m)!=null,Rt(p.c,m),u.a.yc(m,u),M=e.f[m.p],re+=e.e[m.p]-M*e.b,T=e.c[m.p],oe+=T*e.b,v+=M*e.b,U+=e.e[m.p]),(!m||J.a.gc()==0||re>=G&&e.e[m.p]>M*e.b||oe>=r*G)&&(Rt(N.c,p),p=new je,wo(f,u),u.a.$b(),y-=v,R=b.Math.max(R,y*e.b+U),y+=oe,re=oe,oe=0,v=0,U=0);return new Co(R,N)}function RJ(e){var t,r,o,a,u,f,p;if(!e.d){if(p=new hqe,t=L4,u=t.a.yc(e,t),u==null){for(o=new tn(ds(e));o.e!=o.i.gc();)r=l(rn(o),29),ti(p,RJ(r));t.a.Ac(e)!=null,t.a.gc()==0}for(f=p.i,a=(!e.q&&(e.q=new ke(Dl,e,11,10)),new tn(e.q));a.e!=a.i.gc();++f)l(rn(a),408);ti(p,(!e.q&&(e.q=new ke(Dl,e,11,10)),e.q)),gy(p),e.d=new eE((l(ie(Ne((c1(),Bt).o),9),20),p.i),p.g),e.e=l(p.g,685),e.e==null&&(e.e=wLt),Pc(e).b&=-17}return e.d}function nx(e,t,r,o){var a,u,f,p,m,y;if(y=za(e.e.Ah(),t),m=0,a=l(e.g,123),Mo(),l(t,69).vk()){for(f=0;f<e.i;++f)if(u=a[f],y.$l(u.Jk())){if(gr(u,r))return m;++m}}else if(r!=null){for(p=0;p<e.i;++p)if(u=a[p],y.$l(u.Jk())){if(gr(r,u.kd()))return m;++m}if(o){for(m=0,f=0;f<e.i;++f)if(u=a[f],y.$l(u.Jk())){if(me(r)===me(_V(e,l(u.kd(),57))))return m;++m}}}else for(f=0;f<e.i;++f)if(u=a[f],y.$l(u.Jk())){if(u.kd()==null)return m;++m}return-1}function D_n(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U;if(r.Uh(t)&&(v=(R=t,R?l(o,52).di(R):null),v))if(U=r.Kh(t,e.a),M=t.t,M>1||M==-1)if(T=l(U,72),N=l(v,72),T.dc())N.$b();else for(f=!!Po(t),u=0,p=e.a?T.Jc():T.Gi();p.Ob();)y=l(p.Pb(),57),a=l(Wd(e,y),57),a?(f?(m=N.bd(a),m==-1?N.Ei(u,a):u!=m&&N.Si(u,a)):N.Ei(u,a),++u):e.b&&!f&&(N.Ei(u,y),++u);else U==null?v.Wb(null):(a=Wd(e,U),a==null?e.b&&!Po(t)&&v.Wb(U):v.Wb(a))}function L_n(e,t){var r,o,a,u,f,p,m,y;for(r=new B7e,a=new Ft(Gt(si(t).a.Jc(),new D));an(a);)if(o=l(en(a),17),!fo(o)&&(p=o.c.i,Mbe(p,_$))){if(y=r0e(e,p,_$,A$),y==-1)continue;r.b=b.Math.max(r.b,y),!r.a&&(r.a=new je),Fe(r.a,p)}for(f=new Ft(Gt(Or(t).a.Jc(),new D));an(f);)if(u=l(en(f),17),!fo(u)&&(m=u.d.i,Mbe(m,A$))){if(y=r0e(e,m,A$,_$),y==-1)continue;r.d=b.Math.max(r.d,y),!r.c&&(r.c=new je),Fe(r.c,m)}return r}function M_n(e,t,r,o){var a,u,f,p,m,y,v;if(r.d.i!=t.i){for(a=new Xd(e),Jh(a,(Ht(),bi)),Te(a,(Ie(),wr),r),Te(a,(Ue(),Zr),(qi(),fa)),Rt(o.c,a),f=new aa,As(f,a),Ii(f,(He(),Wt)),p=new aa,As(p,a),Ii(p,Qt),v=r.d,Yi(r,f),u=new p0,qs(u,r),Te(u,as,null),mo(u,p),Yi(u,v),y=new Ji(r.b,0);y.b<y.d.gc();)m=(cn(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),70)),me(F(m,Yf))===me((Kd(),pv))&&(Te(m,IT,r),Mc(y),Fe(u.b,m));W0t(a,f,p)}}function P_n(e,t,r,o){var a,u,f,p,m,y,v;if(r.c.i!=t.i)for(a=new Xd(e),Jh(a,(Ht(),bi)),Te(a,(Ie(),wr),r),Te(a,(Ue(),Zr),(qi(),fa)),Rt(o.c,a),f=new aa,As(f,a),Ii(f,(He(),Wt)),p=new aa,As(p,a),Ii(p,Qt),Yi(r,f),u=new p0,qs(u,r),Te(u,as,null),mo(u,p),Yi(u,t),W0t(a,f,p),y=new Ji(r.b,0);y.b<y.d.gc();)m=(cn(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),70)),v=l(F(m,Yf),281),v==(Kd(),pv)&&(br(m,IT)||Te(m,IT,r),Mc(y),Fe(u.b,m))}function Svt(e){Q_();var t,r,o,a;if(t=bo(e),e<yI.length)return yI[t];if(e<=50)return eD((jf(),KQ),t);if(e<=yg)return jS(eD(ST[1],t),t);if(e>1e6)throw Y(new F9("power of ten too big"));if(e<=ar)return jS(eD(ST[1],t),t);for(o=eD(ST[1],ar),a=o,r=Gs(e-ar),t=bo(e%ar);Ea(r,ar)>0;)a=fE(a,o),r=El(r,ar);for(a=fE(a,eD(ST[1],t)),a=jS(a,ar),r=Gs(e-ar);Ea(r,ar)>0;)a=jS(a,ar),r=El(r,ar);return a=jS(a,t),a}function Tvt(e){var t,r,o,a,u,f,p,m,y,v;for(m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),p.k==(Ht(),yi)&&(a=l(F(p,(Ie(),Hs)),64),a==(He(),Qt)||a==Wt))for(o=new Ft(Gt(Lf(p).a.Jc(),new D));an(o);)r=l(en(o),17),t=r.a,t.b!=0&&(y=r.c,y.i==p&&(u=(cn(t.b!=0),l(t.a.a.c,8)),u.b=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).b),v=r.d,v.i==p&&(f=(cn(t.b!=0),l(t.c.b.c,8)),f.b=xs(Z(X($i,1),Pe,8,0,[v.i.n,v.n,v.a])).b))}function DC(e,t,r,o){var a,u,f;if(this.j=new je,this.k=new je,this.b=new je,this.c=new je,this.e=new wS,this.i=new Lc,this.f=new ZG,this.d=new je,this.g=new je,Fe(this.b,e),Fe(this.b,t),this.e.c=b.Math.min(e.a,t.a),this.e.d=b.Math.min(e.b,t.b),this.e.b=b.Math.abs(e.a-t.a),this.e.a=b.Math.abs(e.b-t.b),a=l(F(o,(Ue(),as)),79),a)for(f=An(a,0);f.b!=f.d.c;)u=l(Sn(f),8),Kpe(u.a,e.a)&&Gn(this.i,u);r&&Fe(this.j,r),Fe(this.k,o)}function j_n(e,t,r,o){var a,u,f,p,m,y,v;for(p=-1,v=new V(e);v.a<v.c.c.length;)y=l(q(v),117),y.g=p--,a=On(UP(_P(dr(new vt(null,new St(y.f,16)),new dHe),new fHe)).d),u=On(UP(_P(dr(new vt(null,new St(y.k,16)),new hHe),new pHe)).d),f=a,m=u,o||(f=On(UP(_P(new vt(null,new St(y.f,16)),new gHe)).d),m=On(UP(_P(new vt(null,new St(y.k,16)),new uHe)).d)),y.d=f,y.a=a,y.i=m,y.b=u,m==0?Wr(r,y,r.c.b,r.c):f==0&&Wr(t,y,t.c.b,t.c)}function aT(e,t){var r,o,a,u,f,p;if(e.k==(Ht(),ta)&&(r=e.k==ta&&!BA(dr(l(F(e,(Ie(),OI)),16).Mc(),new RA(new d9))).zd((_b(),TT))?(vu(),qL):t,Te(e,(Ie(),OT),r),r!=(vu(),V1)))for(o=l(F(e,wr),17),p=ce(le(F(o,(Ue(),_g)))),f=0,r==Ih?f=e.o.b-b.Math.ceil(p/2):r==qL&&(f=b.Math.ceil(e.o.b-ce(le(F(ji(e),s2)))-p)/2,e.o.b-=ce(le(F(ji(e),s2))),e.o.b-=p),u=new V(e.j);u.a<u.c.c.length;)a=l(q(u),12),a.n.b=f}function Avt(e,t,r){var o,a,u,f,p,m,y,v,T;for(a=!0,f=new V(e.b);f.a<f.c.c.length;){for(u=l(q(f),26),y=Li,v=null,m=new V(u.a);m.a<m.c.c.length;)if(p=l(q(m),9),T=ce(t.p[p.p])+ce(t.d[p.p])-p.d.d,o=ce(t.p[p.p])+ce(t.d[p.p])+p.o.b+p.d.a,T>y&&o>y)v=p,y=ce(t.p[p.p])+ce(t.d[p.p])+p.o.b+p.d.a;else{a=!1,r.$g()&&r.ah("bk node placement breaks on "+p+" which should have been after "+v);break}if(!a)break}return r.$g()&&r.ah(t+" is feasible: "+a),a}function _vt(e,t){var r,o;o=l(ve(t,(_n(),Cp)),125),r=new Qc(0,t.j+t.f+o.a+e.b/2,new Qc(t.g/2,t.j+t.f+o.a+e.b/2,null)),Vn(t,(wh(),Sm),new Qc(-o.b-e.b/2+t.g/2,t.j-o.d-e.b/2,new Qc(-t.g/2,t.j-o.d,r))),r=new Qc(0,t.j+t.f+o.a,new Qc(-t.g/2,t.j+t.f+o.a+e.b/2,null)),Vn(t,av,new Qc(t.g/2+o.c+e.b/2,t.j-o.d,new Qc(t.g/2,t.j-o.d-e.b/2,r))),Vn(t,hk,t.i-o.b),Vn(t,fk,t.i+o.c+t.g),Vn(t,u6t,t.j-o.d),Vn(t,Yne,t.j+o.a+t.f),Vn(t,Xf,l(ve(t,Sm),107).b.b.a)}function O0e(e,t,r,o){var a,u,f,p,m,y,v,T,N;if(u=new Xd(e),Jh(u,(Ht(),_a)),Te(u,(Ue(),Zr),(qi(),fa)),a=0,t){for(f=new aa,Te(f,(Ie(),wr),t),Te(u,wr,t.i),Ii(f,(He(),Wt)),As(f,u),N=Df(t.e),y=N,v=0,T=y.length;v<T;++v)m=y[v],Yi(m,f);Te(t,Nc,u),++a}if(r){for(p=new aa,Te(u,(Ie(),wr),r.i),Te(p,wr,r),Ii(p,(He(),Qt)),As(p,u),N=Df(r.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],mo(m,p);Te(r,Nc,u),++a}return Te(u,(Ie(),rB),Oe(a)),Rt(o.c,u),u}function F_n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R;for(r=(y=new Zh(e.c.b).a.vc().Jc(),new Pw(y));r.a.Ob();)t=(p=l(r.a.Pb(),45),l(p.kd(),144)),a=t.a,a==null&&(a=""),o=Ynn(e.c,a),!o&&a.length==0&&(o=ygn(e)),o&&!my(o.c,t,!1)&&Gn(o.c,t);for(f=An(e.a,0);f.b!=f.d.c;)u=l(Sn(f),478),v=WW(e.c,u.a),R=WW(e.c,u.b),v&&R&&Gn(v.c,new Co(R,u.c));for(tu(e.a),N=An(e.b,0);N.b!=N.d.c;)T=l(Sn(N),478),t=Knn(e.c,T.a),m=WW(e.c,T.b),t&&m&&Oen(t,m,T.c);tu(e.b)}function $_n(e,t,r){var o,a,u,f,p,m,y,v,T;for(f=new Abt,y=Z(X(Rn,1),Qn,30,15,[0]),a=-1,u=0,o=0,m=0;m<e.b.c.length;++m)if(v=l(ze(e.b,m),439),v.b>0){if(a<0&&v.a&&(a=m,u=y[0],o=0),a>=0){if(p=v.b,m==a&&(p-=o++,p==0))return 0;if(!CEt(t,y,v,p,f)){m=a-1,y[0]=u;continue}}else if(a=-1,!CEt(t,y,v,0,f))return 0}else{if(a=-1,uo(v.c,0)==32){if(T=y[0],Xdt(t,y),y[0]>T)continue}else if(ocn(t,v.c,y[0])){y[0]+=v.c.length;continue}return 0}return CNn(f,r)?y[0]:0}function B_n(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(v=new bP(new TYe(r)),p=we(cc,Ad,30,e.f.e.c.length,16,1),ohe(p,p.length),r[t.a]=0,y=new V(e.f.e);y.a<y.c.c.length;)m=l(q(y),156),m.a!=t.a&&(r[m.a]=ar),xS(V_(v,m),fx);for(;v.b.c.length!=0;)for(T=l(hK(v),156),p[T.a]=!0,u=Mrt(new Eq(e.b,T),0);u.c;)a=l(qpe(u),292),N=fmn(a,T),!p[N.a]&&(br(a,(G6(),T$))?f=ce(le(F(a,T$))):f=e.c,o=r[T.a]+f,o<r[N.a]&&(r[N.a]=o,pht(v,N),xS(V_(v,N),fx)))}function D0e(e){var t,r,o,a,u,f,p,m;r=Ye(Ke(F(e,(ed(),wkt)))),u=e.a.c.d,p=e.a.d.d,r?(f=tp(Di(new Me(p.a,p.b),u),.5),m=tp(Ao(e.e),.5),t=Di(mr(new Me(u.a,u.b),f),m),Fde(e.d,t)):(a=ce(le(F(e.a,kkt))),o=e.d,u.a>=p.a?u.b>=p.b?(o.a=p.a+(u.a-p.a)/2+a,o.b=p.b+(u.b-p.b)/2-a-e.e.b):(o.a=p.a+(u.a-p.a)/2+a,o.b=u.b+(p.b-u.b)/2+a):u.b>=p.b?(o.a=u.a+(p.a-u.a)/2+a,o.b=p.b+(u.b-p.b)/2+a):(o.a=u.a+(p.a-u.a)/2+a,o.b=u.b+(p.b-u.b)/2-a-e.e.b))}function LC(e){var t,r,o,a,u,f,p,m;if(!e.f){if(m=new qce,p=new qce,t=L4,f=t.a.yc(e,t),f==null){for(u=new tn(ds(e));u.e!=u.i.gc();)a=l(rn(u),29),ti(m,LC(a));t.a.Ac(e)!=null,t.a.gc()==0}for(o=(!e.s&&(e.s=new ke(ac,e,21,17)),new tn(e.s));o.e!=o.i.gc();)r=l(rn(o),182),se(r,104)&&Tn(p,l(r,20));gy(p),e.r=new _ot(e,(l(ie(Ne((c1(),Bt).o),6),20),p.i),p.g),ti(m,e.r),gy(m),e.f=new eE((l(ie(Ne(Bt.o),5),20),m.i),m.g),Pc(e).b&=-3}return e.f}function VF(){VF=K,y3e=Z(X(al,1),Bf,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),KDt=new RegExp(`[
\r\f]+`);try{R4=Z(X(xCn,1),It,2093,0,[new eO((lde(),Zj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",jO((M9(),M9(),bI))))),new eO(Zj("yyyy-MM-dd'T'HH:mm:ss'.'SSS",jO(bI))),new eO(Zj("yyyy-MM-dd'T'HH:mm:ss",jO(bI))),new eO(Zj("yyyy-MM-dd'T'HH:mm",jO(bI))),new eO(Zj("yyyy-MM-dd",jO(bI)))])}catch(e){if(e=ui(e),!se(e,81))throw Y(e)}}function U_n(e){var t,r,o,a,u,f,p;for(r=null,p=null,o=l(F(e.b,(Ue(),vte)),349),o==(nC(),AL)&&(r=new je,p=new je),f=new V(e.d);f.a<f.c.c.length;)if(u=l(q(f),108),a=u.i,!!a)switch(u.e.g){case 0:t=l(U3(new fS(u.b)),64),o==AL&&t==(He(),Vt)?Rt(r.c,u):o==AL&&t==(He(),dn)?Rt(p.c,u):hEn(u,t);break;case 1:j2n(u);break;case 2:case 3:eAn(u);break;case 4:Wyn(u)}r&&(r.c.length==0||mvt(r,(He(),Vt)),p.c.length==0||mvt(p,(He(),dn)))}function H_n(e,t){var r,o,a,u;if(a=Bc(e.d,1)!=0,o=y0e(e,t),o==0&&Ye(Ke(F(t.j,(Ie(),F1)))))return 0;!Ye(Ke(F(t.j,(Ie(),F1))))&&!Ye(Ke(F(t.j,t2)))||me(F(t.j,(Ue(),Ch)))===me((bp(),U1))?t.c.kg(t.e,a):a=Ye(Ke(F(t.j,F1))),oD(e,t,a,!0),Ye(Ke(F(t.j,t2)))&&Te(t.j,t2,(Lt(),!1)),Ye(Ke(F(t.j,F1)))&&(Te(t.j,F1,(Lt(),!1)),Te(t.j,t2,!0)),r=y0e(e,t);do{if(wge(e),r==0)return 0;a=!a,u=r,oD(e,t,a,!1),r=y0e(e,t)}while(u>r);return u}function xvt(e,t){var r,o,a,u;if(a=Bc(e.d,1)!=0,o=kF(e,t),o==0&&Ye(Ke(F(t.j,(Ie(),F1)))))return 0;!Ye(Ke(F(t.j,(Ie(),F1))))&&!Ye(Ke(F(t.j,t2)))||me(F(t.j,(Ue(),Ch)))===me((bp(),U1))?t.c.kg(t.e,a):a=Ye(Ke(F(t.j,F1))),oD(e,t,a,!0),Ye(Ke(F(t.j,t2)))&&Te(t.j,t2,(Lt(),!1)),Ye(Ke(F(t.j,F1)))&&(Te(t.j,F1,(Lt(),!1)),Te(t.j,t2,!0)),r=kF(e,t);do{if(wge(e),r==0)return 0;a=!a,u=r,oD(e,t,a,!1),r=kF(e,t)}while(u>r);return u}function z_n(e,t,r){var o,a,u,f,p;if(o=l(F(e,(Ue(),mte)),24),r.a>t.a&&(o.Gc((Zb(),g4))?e.c.a+=(r.a-t.a)/2:o.Gc(b4)&&(e.c.a+=r.a-t.a)),r.b>t.b&&(o.Gc((Zb(),w4))?e.c.b+=(r.b-t.b)/2:o.Gc(m4)&&(e.c.b+=r.b-t.b)),l(F(e,(Ie(),xa)),24).Gc(($o(),rl))&&(r.a>t.a||r.b>t.b))for(p=new V(e.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(Ht(),yi)&&(a=l(F(f,Hs),64),a==(He(),Qt)?f.n.a+=r.a-t.a:a==dn&&(f.n.b+=r.b-t.b));u=e.d,e.f.a=r.a-u.b-u.c,e.f.b=r.b-u.d-u.a}function G_n(e,t,r){var o,a,u,f,p;if(o=l(F(e,(Ue(),mte)),24),r.a>t.a&&(o.Gc((Zb(),g4))?e.c.a+=(r.a-t.a)/2:o.Gc(b4)&&(e.c.a+=r.a-t.a)),r.b>t.b&&(o.Gc((Zb(),w4))?e.c.b+=(r.b-t.b)/2:o.Gc(m4)&&(e.c.b+=r.b-t.b)),l(F(e,(Ie(),xa)),24).Gc(($o(),rl))&&(r.a>t.a||r.b>t.b))for(f=new V(e.a);f.a<f.c.c.length;)u=l(q(f),9),u.k==(Ht(),yi)&&(a=l(F(u,Hs),64),a==(He(),Qt)?u.n.a+=r.a-t.a:a==dn&&(u.n.b+=r.b-t.b));p=e.d,e.f.a=r.a-p.b-p.c,e.f.b=r.b-p.d-p.a}function q_n(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(t=O0t(e),v=(p=new Xh(t).a.vc().Jc(),new A9(p));v.a.Ob();){for(y=(a=l(v.a.Pb(),45),l(a.jd(),9)),T=0,N=0,T=y.d.d,N=y.o.b+y.d.a,e.d[y.p]=0,r=y;(u=e.a[r.p])!=y;)o=Y1n(r,u),m=0,e.c==(If(),kg)?m=o.d.n.b+o.d.a.b-o.c.n.b-o.c.a.b:m=o.c.n.b+o.c.a.b-o.d.n.b-o.d.a.b,f=ce(e.d[r.p])+m,e.d[u.p]=f,T=b.Math.max(T,u.d.d-f),N=b.Math.max(N,f+u.o.b+u.d.a),r=u;r=y;do e.d[r.p]=ce(e.d[r.p])+T,r=e.a[r.p];while(r!=y);e.b[y.p]=T+N}}function L0e(e,t,r,o){var a,u,f,p,m,y,v,T,N;return m=Di(new Me(r.a,r.b),e),y=m.a*t.b-m.b*t.a,v=t.a*o.b-t.b*o.a,T=(m.a*o.b-m.b*o.a)/v,N=y/v,v==0?y==0?(a=mr(new Me(r.a,r.b),tp(new Me(o.a,o.b),.5)),u=h1(e,a),f=h1(mr(new Me(e.a,e.b),t),a),p=b.Math.sqrt(o.a*o.a+o.b*o.b)*.5,u<f&&u<=p?new Me(e.a,e.b):f<=p?mr(new Me(e.a,e.b),t):null):null:T>=0&&T<=1&&N>=0&&N<=1?mr(new Me(e.a,e.b),tp(new Me(t.a,t.b),T)):null}function MC(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(u=0,f=e.t,a=0,o=0,m=0,N=0,T=0,r&&(e.n.c.length=0,Fe(e.n,new PP(e.s,e.t,e.i))),p=0,v=new V(e.b);v.a<v.c.c.length;)y=l(q(v),19),u+y.g+(p>0?e.i:0)>t&&m>0&&(u=0,f+=m+e.i,a=b.Math.max(a,N),o+=m+e.i,m=0,N=0,r&&(++T,Fe(e.n,new PP(e.s,f,e.i))),p=0),N+=y.g+(p>0?e.i:0),m=b.Math.max(m,y.f),r&&ebe(l(ze(e.n,T),211),y),u+=y.g+(p>0?e.i:0),++p;return a=b.Math.max(a,N),o+=m,r&&(e.r=a,e.d=o,rbe(e.j)),new ql(e.s,e.t,a,o)}function WF(e){var t,r,o;return r=me(ve(e,(Ue(),jT)))===me((tD(),Hee))||me(ve(e,jT))===me(jee)||me(ve(e,jT))===me(Fee)||me(ve(e,jT))===me(Bee)||me(ve(e,jT))===me(zee)||me(ve(e,jT))===me(cL),o=me(ve(e,bB))===me((rD(),Dte))||me(ve(e,bB))===me(Mte)||me(ve(e,wL))===me((x1(),ak))||me(ve(e,wL))===me((x1(),KI)),t=me(ve(e,Ch))!==me((bp(),U1))||Ye(Ke(ve(e,tk)))||me(ve(e,jI))!==me((YS(),TI))||ce(le(ve(e,bL)))!=0||ce(le(ve(e,pte)))!=0,r||o||t}function IE(e){var t,r,o,a,u,f,p,m;if(!e.a){if(e.o=null,m=new aZe(e),t=new fqe,r=L4,p=r.a.yc(e,r),p==null){for(f=new tn(ds(e));f.e!=f.i.gc();)u=l(rn(f),29),ti(m,IE(u));r.a.Ac(e)!=null,r.a.gc()==0}for(a=(!e.s&&(e.s=new ke(ac,e,21,17)),new tn(e.s));a.e!=a.i.gc();)o=l(rn(a),182),se(o,336)&&Tn(t,l(o,38));gy(t),e.k=new Aot(e,(l(ie(Ne((c1(),Bt).o),7),20),t.i),t.g),ti(m,e.k),gy(m),e.a=new eE((l(ie(Ne(Bt.o),4),20),m.i),m.g),Pc(e).b&=-2}return e.a}function V_n(e){var t,r,o,a,u,f,p,m,y,v,T,N;if(p=e.d,T=l(F(e,(Ie(),MT)),16),t=l(F(e,NT),16),!(!T&&!t)){if(u=ce(le(wy(e,(Ue(),kte)))),f=ce(le(wy(e,GAe))),N=0,T){for(y=0,a=T.Jc();a.Ob();)o=l(a.Pb(),9),y=b.Math.max(y,o.o.b),N+=o.o.a;N+=u*(T.gc()-1),p.d+=y+f}if(r=0,t){for(y=0,a=t.Jc();a.Ob();)o=l(a.Pb(),9),y=b.Math.max(y,o.o.b),r+=o.o.a;r+=u*(t.gc()-1),p.a+=y+f}m=b.Math.max(N,r),m>e.o.a&&(v=(m-e.o.a)/2,p.b=b.Math.max(p.b,v),p.c=b.Math.max(p.c,v))}}function M0e(e,t,r,o){var a,u,f,p,m,y,v;if(v=za(e.e.Ah(),t),a=0,u=l(e.g,123),m=null,Mo(),l(t,69).vk()){for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(gr(f,r)){m=f;break}++a}}else if(r!=null){for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(gr(r,f.kd())){m=f;break}++a}}else for(p=0;p<e.i;++p)if(f=u[p],v.$l(f.Jk())){if(f.kd()==null){m=f;break}++a}return m&&(Jc(e.e)&&(y=t.Hk()?new GW(e.e,4,t,r,null,a,!0):l1(e,t.rk()?2:1,t,r,t.gk(),-1,!0),o?o.lj(y):o=y),o=aD(e,m,o)),o}function OJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,R,M,U;switch(M=0,U=0,m=a.c,p=a.b,v=r.f,R=r.g,t.g){case 0:M=o.i+o.g+f,e.c?U=Twn(M,u,o,f):U=o.j,N=b.Math.max(m,M+R),y=b.Math.max(p,U+v);break;case 1:U=o.j+o.f+f,e.c?M=Swn(U,u,o,f):M=o.i,N=b.Math.max(m,M+R),y=b.Math.max(p,U+v);break;case 2:M=m+f,U=0,N=m+f+R,y=b.Math.max(p,v);break;case 3:M=0,U=p+f,N=b.Math.max(m,R),y=p+f+v;break;default:throw Y(new jt("IllegalPlacementOption."))}return T=new B1e(e.a,N,y,t,M,U),T}function W_n(e){var t,r,o,a,u,f,p,m;for(u=new Gct,htn(u,(qS(),x6t)),o=(a=AK(e,we(Je,Pe,2,0,6,1)),new LN(new Ls(new Sq(e,a).b)));o.b<o.d.gc();)r=(cn(o.b<o.d.gc()),In(o.d.Xb(o.c=o.b++))),f=H0e(X1,r),f&&(t=op(e,r),t.re()?p=t.re().a:t.oe()?p=""+t.oe().a:t.pe()?p=""+t.pe().a:p=t.Ib(),m=B0e(f,p),m!=null&&((fc(f.j,(Jd(),ri))||fc(f.j,xt))&&C6(pK(u,En),f,m),fc(f.j,Rd)&&C6(pK(u,Ir),f,m),fc(f.j,Cg)&&C6(pK(u,Gc),f,m),fc(f.j,Np)&&C6(pK(u,Rs),f,m)));return u}function lD(e,t,r){var o,a,u,f,p,m,y,v;if(a=l(e.g,123),wp(e.e,t))return Mo(),l(t,69).vk()?new rP(t,e):new xO(t,e);for(y=za(e.e.Ah(),t),o=0,p=0;p<e.i;++p){if(u=a[p],f=u.Jk(),y.$l(f)){if(Mo(),l(t,69).vk())return u;if(f==(rT(),XT)||f==JT){for(m=new fu(ms(u.kd()));++p<e.i;)u=a[p],f=u.Jk(),(f==XT||f==JT)&&zn(m,ms(u.kd()));return dfe(l(t.Fk(),160),m.a)}else return v=u.kd(),v!=null&&r&&se(t,104)&&l(t,20).Bb&Io&&(v=TC(e,t,p,o,v)),v}++o}return t.gk()}function K_n(e){var t,r,o,a,u,f,p,m;for(a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new V(jb(o.a));f.a<f.c.c.length;)if(u=l(q(f),9),pft(u)&&(r=l(F(u,(Ie(),ew)),318),!r.g&&r.d))for(t=r,m=r.d;m;)cyt(m.i,m.k,!1,!0),d6(t.a),d6(m.i),d6(m.k),d6(m.b),Yi(m.c,t.c.d),Yi(t.c,null),Oi(t.a,null),Oi(m.i,null),Oi(m.k,null),Oi(m.b,null),p=new spe(t.i,m.a,t.e,m.j,m.f),p.k=t.k,p.n=t.n,p.b=t.b,p.c=m.c,p.g=t.g,p.d=m.d,Te(t.i,ew,p),Te(m.a,ew,p),m=m.d,t=p}function KF(e,t,r,o){var a,u,f,p,m,y;if(m=za(e.e.Ah(),t),u=l(e.g,123),wp(e.e,t)){for(a=0,p=0;p<e.i;++p)if(f=u[p],m.$l(f.Jk())){if(a==r)return Mo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&se(t,104)&&l(t,20).Bb&Io&&(y=TC(e,t,p,a,y)),y);++a}throw Y(new Ia(aI+r+cm+a))}else{for(a=0,p=0;p<e.i;++p){if(f=u[p],m.$l(f.Jk()))return Mo(),l(t,69).vk()?f:(y=f.kd(),y!=null&&o&&se(t,104)&&l(t,20).Bb&Io&&(y=TC(e,t,p,a,y)),y);++a}return t.gk()}}function DJ(){DJ=K,uxt=Z(X(Rn,1),Qn,30,15,[Zi,1162261467,BC,1220703125,362797056,1977326743,BC,387420489,i7,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,BC,1291467969,1544804416,1838265625,60466176]),lxt=Z(X(Rn,1),Qn,30,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function LJ(e,t){var r,o,a,u,f,p,m,y,v,T;if(f=e.e,m=t.e,m==0)return e;if(f==0)return t.e==0?t:new Ob(-t.e,t.d,t.a);if(u=e.d,p=t.d,u+p==2)return r=Gi(e.a[0],Bo),o=Gi(t.a[0],Bo),f<0&&(r=cg(r)),m<0&&(o=cg(o)),jf(),N8(El(r,o),0)?E1(El(r,o)):I3(E1(cg(El(r,o))));if(a=u!=p?u>p?1:-1:Kge(e.a,t.a,u),a==-1)T=-m,v=f==m?XW(t.a,p,e.a,u):QW(t.a,p,e.a,u);else if(T=f,f==m){if(a==0)return jf(),wI;v=XW(e.a,u,t.a,p)}else v=QW(e.a,u,t.a,p);return y=new Ob(T,v.length,v),F3(y),y}function Y_n(e,t){var r,o,a,u;if(u=lvt(t),!t.c&&(t.c=new ke(Gc,t,9,9)),ei(new vt(null,(!t.c&&(t.c=new ke(Gc,t,9,9)),new St(t.c,16))),new kYe(u)),a=l(F(u,(Ie(),xa)),24),Vkn(t,a),a.Gc(($o(),rl)))for(o=new tn((!t.c&&(t.c=new ke(Gc,t,9,9)),t.c));o.e!=o.i.gc();)r=l(rn(o),127),mNn(e,t,u,r);return l(ve(t,(Ue(),mm)),185).gc()!=0&&Jwt(t,u),Ye(Ke(F(u,$Ae)))&&a.Ec(tB),br(u,yL)&&vQe(new T1e(ce(le(F(u,yL)))),u),me(ve(t,Yy))===me((pp(),Ig))?$3n(e,t,u):TNn(e,t,u),u}function Ta(e,t){var r,o,a,u,f,p,m;if(e==null)return null;if(u=e.length,u==0)return"";for(m=we(al,Bf,30,u,15,1),io(0,u,e.length),io(0,u,m.length),Mst(e,0,u,m,0),r=null,p=t,a=0,f=0;a<u;a++)o=m[a],n2t(),o<=32&&te[o]&2?p?(!r&&(r=new ml(e)),vnn(r,a-f++)):(p=t,o!=32&&(!r&&(r=new ml(e)),RK(r,a-f,a-f+1," "))):p=!1;return p?r?(u=r.a.length,u>0?yl(r.a,0,u-1):""):(io(0,u-1,e.length),e.substr(0,u-1)):r?r.a:e}function J_n(e,t,r){var o,a,u;if(br(t,(Ue(),Cs))&&(me(F(t,Cs))===me((iu(),xp))||me(F(t,Cs))===me(gm))||br(r,Cs)&&(me(F(r,Cs))===me((iu(),xp))||me(F(r,Cs))===me(gm)))return 0;if(o=ji(t),a=PTn(e,t,r),a!=0)return a;if(br(t,(Ie(),Cr))&&br(r,Cr)){if(u=na(D0(t,r,o,l(F(o,$1),15).a),D0(r,t,o,l(F(o,$1),15).a)),me(F(o,FI))===me((b1(),lL))&&me(F(t,$I))!==me(F(r,$I))&&(u=0),u<0)return sD(e,t,r),u;if(u>0)return sD(e,r,t),u}return sEn(e,t,r)}function kvt(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(o=new Ft(Gt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),se(ie((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),196)||(m=Jo(l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),AC(r)||(f=t.i+t.g/2,p=t.j+t.f/2,v=m.i+m.g/2,T=m.j+m.f/2,N=new ro,N.a=v-f,N.b=T-p,u=new Me(N.a,N.b),G_(u,t.g,t.f),N.a-=u.a,N.b-=u.b,f=v-N.a,p=T-N.b,y=new Me(N.a,N.b),G_(y,m.g,m.f),N.a-=y.a,N.b-=y.b,v=f+N.a,T=p+N.b,a=kC(r),E0(a,f),S0(a,p),y0(a,v),v0(a,T),kvt(e,m)))}function Iy(e,t){var r,o,a,u,f;if(f=l(t,140),kE(e),kE(f),f.b!=null){if(e.c=!0,e.b==null){e.b=we(Rn,Qn,30,f.b.length,15,1),ca(f.b,0,e.b,0,f.b.length);return}for(u=we(Rn,Qn,30,e.b.length+f.b.length,15,1),r=0,o=0,a=0;r<e.b.length||o<f.b.length;)r>=e.b.length?(u[a++]=f.b[o++],u[a++]=f.b[o++]):o>=f.b.length?(u[a++]=e.b[r++],u[a++]=e.b[r++]):f.b[o]<e.b[r]||f.b[o]===e.b[r]&&f.b[o+1]<e.b[r+1]?(u[a++]=f.b[o++],u[a++]=f.b[o++]):(u[a++]=e.b[r++],u[a++]=e.b[r++]);e.b=u}}function X_n(e,t){var r,o,a,u,f,p,m,y,v,T;return r=Ye(Ke(F(e,(Ie(),Wy)))),p=Ye(Ke(F(t,Wy))),o=l(F(e,Cd),12),m=l(F(t,Cd),12),a=l(F(e,Nl),12),y=l(F(t,Nl),12),v=!!o&&o==m,T=!!a&&a==y,!r&&!p?new Sfe(l(q(new V(e.j)),12).p==l(q(new V(t.j)),12).p,v,T):(u=(!Ye(Ke(F(e,Wy)))||Ye(Ke(F(e,pL))))&&(!Ye(Ke(F(t,Wy)))||Ye(Ke(F(t,pL)))),f=(!Ye(Ke(F(e,Wy)))||!Ye(Ke(F(e,pL))))&&(!Ye(Ke(F(t,Wy)))||!Ye(Ke(F(t,pL)))),new Sfe(v&&u||T&&f,v,T))}function Nvt(e){var t,r,o,a,u,f,p,m;for(o=0,r=0,m=new Ar,t=0,p=new V(e.n);p.a<p.c.c.length;)f=l(q(p),211),f.c.c.length==0?Wr(m,f,m.c.b,m.c):(o=b.Math.max(o,f.d),r+=f.a+(t>0?e.i:0)),++t;for(g1e(e.n,m),e.d=r,e.r=o,e.g=0,e.f=0,e.e=0,e.o=Kr,e.p=Kr,u=new V(e.b);u.a<u.c.c.length;)a=l(q(u),19),e.p=b.Math.min(e.p,a.g),e.g=b.Math.max(e.g,a.g),e.f=b.Math.max(e.f,a.f),e.o=b.Math.min(e.o,a.f),e.e+=a.f+e.i;e.a=e.e/e.b.c.length-e.i*((e.b.c.length-1)/e.b.c.length),rbe(e.j)}function Cvt(e){var t,r,o,a;return e.Db&64?oY(e):(t=new fu(lEe),o=e.k,o?zn(zn((t.a+=' "',t),o),'"'):(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n.i>0&&(a=(!e.n&&(e.n=new ke(Rs,e,1,7)),l(ie(e.n,0),158)).a,!a||zn(zn((t.a+=' "',t),a),'"'))),r=(!e.b&&(e.b=new Tt(pn,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c.i<=1))),r?t.a+=" [":t.a+=" ",zn(t,_de(new bq,new tn(e.b))),r&&(t.a+="]"),t.a+=$X,r&&(t.a+="["),zn(t,_de(new bq,new tn(e.c))),r&&(t.a+="]"),t.a)}function Z_n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(Ee=e.c,ye=t.c,r=_s(Ee.a,e,0),o=_s(ye.a,t,0),oe=l(k0(e,(Fo(),Cc)).Jc().Pb(),12),ft=l(k0(e,Ba).Jc().Pb(),12),de=l(k0(t,Cc).Jc().Pb(),12),Ct=l(k0(t,Ba).Jc().Pb(),12),J=Df(oe.e),qe=Df(ft.g),re=Df(de.e),dt=Df(Ct.g),S1(e,o,ye),f=re,v=0,M=f.length;v<M;++v)a=f[v],Yi(a,oe);for(p=dt,T=0,U=p.length;T<U;++T)a=p[T],mo(a,ft);for(S1(t,r,Ee),m=J,N=0,G=m.length;N<G;++N)a=m[N],Yi(a,de);for(u=qe,y=0,R=u.length;y<R;++y)a=u[y],mo(a,Ct)}function Q_n(e){var t,r,o,a,u,f,p;for(f=l(ve(e,(cE(),d2)),19),o=new tn((!f.e&&(f.e=new Tt(Ir,f,7,4)),f.e));o.e!=o.i.gc();)r=l(rn(o),74),p=new Me(l(ie((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).j,l(ie((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).k),u=new Me(l(ie((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).b,l(ie((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171).c),a=new Me(u.a-p.a,u.b-p.b),t=b.Math.atan2(a.b,a.a),l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83).of((A1(),Sne),t)}function exn(e,t){var r,o,a,u,f,p,m,y,v;for(t.Tg("Interactive Node Reorderer",1),v=(!e.a&&(e.a=new ke(En,e,10,11)),e.a),p=new je,a=new tn(v);a.e!=a.i.gc();)r=l(rn(a),19),Gu(r,(ef(),OL))&&Rt(p.c,r);for(u=new V(p);u.a<u.c.c.length;)r=l(q(u),19),uj(v,r);for(At(),ki(p,new Fze),f=new V(p);f.a<f.c.c.length;)r=l(q(f),19),y=l(ve(r,(ef(),OL)),15).a,y=b.Math.min(y,v.i),aC(v,y,r);for(m=0,o=new tn(v);o.e!=o.i.gc();)r=l(rn(o),19),Vn(r,(ef(),Gxe),Oe(m)),++m;t.Ug()}function txn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(p=we(Rn,Qn,30,t.b.c.length,15,1),y=we(yee,Ce,252,t.b.c.length,0,1),m=we(Nh,vg,9,t.b.c.length,0,1),T=e.a,N=0,R=T.length;N<R;++N){for(v=T[N],U=0,f=new V(v.e);f.a<f.c.c.length;)a=l(q(f),9),o=sde(a.c),++p[o],M=ce(le(F(t,(Ue(),od)))),p[o]>0&&m[o]&&(M=iE(e.b,m[o],a)),U=b.Math.max(U,a.c.c.b+M);for(u=new V(v.e);u.a<u.c.c.length;)a=l(q(u),9),a.n.b=U+a.d.d,r=a.c,r.c.b=U+a.d.d+a.o.b+a.d.a,y[_s(r.b.b,r,0)]=a.k,m[_s(r.b.b,r,0)]=a}}function P0e(e,t,r){var o,a,u,f,p,m,y,v;return b.Math.abs(t.s-t.c)<Hf||b.Math.abs(r.s-r.c)<Hf?0:(o=Dwt(e,t.j,r.e),a=Dwt(e,r.j,t.e),u=o==-1||a==-1,f=0,u?(o==-1&&(new Pb((vd(),H1),r,t,1),++f),a==-1&&(new Pb((vd(),H1),t,r,1),++f)):(p=vE(t.j,r.s,r.c),p+=vE(r.e,t.s,t.c),m=vE(r.j,t.s,t.c),m+=vE(t.e,r.s,r.c),y=o+16*p,v=a+16*m,y<v?new Pb((vd(),ov),t,r,v-y):y>v?new Pb((vd(),ov),r,t,y-v):y>0&&v>0&&(new Pb((vd(),ov),t,r,0),new Pb(ov,r,t,0))),f)}function nxn(e,t,r){var o,a,u;for(e.a=new je,u=An(t.b,0);u.b!=u.d.c;){for(a=l(Sn(u),41);l(F(a,(js(),Jf)),15).a>e.a.c.length-1;)Fe(e.a,new Co(FE,ave));o=l(F(a,Jf),15).a,r==(Si(),cs)||r==fs?(a.e.a<ce(le(l(ze(e.a,o),49).a))&&VG(l(ze(e.a,o),49),a.e.a),a.e.a+a.f.a>ce(le(l(ze(e.a,o),49).b))&&qG(l(ze(e.a,o),49),a.e.a+a.f.a)):(a.e.b<ce(le(l(ze(e.a,o),49).a))&&VG(l(ze(e.a,o),49),a.e.b),a.e.b+a.f.b>ce(le(l(ze(e.a,o),49).b))&&qG(l(ze(e.a,o),49),a.e.b+a.f.b))}}function Ivt(e,t,r,o){var a,u,f,p,m,y,v;if(u=qj(o),p=Ye(Ke(F(o,(Ue(),DAe)))),(p||Ye(Ke(F(e,gB))))&&!nE(l(F(e,Zr),103)))a=WS(u),m=E0e(e,r,r==(Fo(),Ba)?a:P6(a));else switch(m=new aa,As(m,e),t?(v=m.n,v.a=t.a-e.n.a,v.b=t.b-e.n.b,xmt(v,0,0,e.o.a,e.o.b),Ii(m,Yyt(m,u))):(a=WS(u),Ii(m,r==(Fo(),Ba)?a:P6(a))),f=l(F(o,(Ie(),xa)),24),y=m.j,u.g){case 2:case 1:(y==(He(),Vt)||y==dn)&&f.Ec(($o(),ZE));break;case 4:case 3:(y==(He(),Qt)||y==Wt)&&f.Ec(($o(),ZE))}return m}function Rvt(e,t){var r,o,a,u,f,p;for(f=new hy(new Mw(e.f.b).a);f.b;){if(u=bE(f),a=l(u.jd(),598),t==1){if(a.yf()!=(Si(),il)&&a.yf()!=ff)continue}else if(a.yf()!=(Si(),cs)&&a.yf()!=fs)continue;switch(o=l(l(u.kd(),49).b,84),p=l(l(u.kd(),49).a,197),r=p.c,a.yf().g){case 2:o.g.c=e.e.a,o.g.b=b.Math.max(1,o.g.b+r);break;case 1:o.g.c=o.g.c+r,o.g.b=b.Math.max(1,o.g.b-r);break;case 4:o.g.d=e.e.b,o.g.a=b.Math.max(1,o.g.a+r);break;case 3:o.g.d=o.g.d+r,o.g.a=b.Math.max(1,o.g.a-r)}}}function rxn(e,t){var r,o,a,u,f,p,m,y,v,T;for(t.Tg("Simple node placement",1),T=l(F(e,(Ie(),n2)),317),p=0,u=new V(e.b);u.a<u.c.c.length;){for(o=l(q(u),26),f=o.c,f.b=0,r=null,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),r&&(f.b+=P1e(m,r,T.c)),f.b+=m.d.d+m.o.b+m.d.a,r=m;p=b.Math.max(p,f.b)}for(a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=o.c,v=(p-f.b)/2,r=null,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),r&&(v+=P1e(m,r,T.c)),v+=m.d.d,m.n.b=v,v+=m.o.b+m.d.a,r=m;t.Ug()}function Ovt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,z0),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Zze))),Le(e,z0,qZ,Ge(QB)),Le(e,z0,zve,Ge(Wne)),Le(e,z0,Gve,Ge(Vne)),Le(e,z0,VZ,Ge(yke)),Le(e,z0,WZ,Ge(qne)),Le(e,z0,B0,wke),Le(e,z0,$0,8),Le(e,z0,KZ,Ge(KOt)),Le(e,z0,qve,Ge(bke)),Le(e,z0,Vve,Ge(mke)),Le(e,z0,UD,(Lt(),!1))}function ixn(e,t){var r,o,a,u;for(zfn(t.b.j),ei(Oa(new vt(null,new St(t.d,16)),new fUe),new hUe),u=new V(t.d);u.a<u.c.c.length;){switch(a=l(q(u),108),a.e.g){case 0:r=l(ze(a.j,0),114).d.j,iue(a,l(Xc(NS(l(yr(a.k,r),16).Mc(),KE)),114)),rue(a,l(Xc(Zw(l(yr(a.k,r),16).Mc(),KE)),114));break;case 1:o=sbe(a),iue(a,l(Xc(NS(l(yr(a.k,o[0]),16).Mc(),KE)),114)),rue(a,l(Xc(Zw(l(yr(a.k,o[1]),16).Mc(),KE)),114));break;case 2:tvn(e,a);break;case 3:cSn(a);break;case 4:hSn(e,a)}Hfn(a)}e.a=null}function MJ(e,t,r){var o,a,u,f,p,m,y,v;return o=e.a.o==(zd(),cf)?Kr:Li,p=nvt(e,new Btt(t,r)),!p.a&&p.c?(Gn(e.d,p),o):p.a?(a=p.a.c,m=p.a.d,r?(y=e.a.c==(If(),aw)?m:a,u=e.a.c==aw?a:m,f=e.a.g[u.i.p],v=ce(e.a.p[f.p])+ce(e.a.d[u.i.p])+u.n.b+u.a.b-ce(e.a.d[y.i.p])-y.n.b-y.a.b):(y=e.a.c==(If(),kg)?m:a,u=e.a.c==kg?a:m,v=ce(e.a.p[e.a.g[u.i.p].p])+ce(e.a.d[u.i.p])+u.n.b+u.a.b-ce(e.a.d[y.i.p])-y.n.b-y.a.b),e.a.n[e.a.g[a.i.p].p]=(Lt(),!0),e.a.n[e.a.g[m.i.p].p]=!0,v):o}function oxn(e,t,r,o){var a,u,f,p,m,y,v,T;if(o.gc()==0)return!1;if(m=(Mo(),l(t,69).vk()),f=m?o:new w0(o.gc()),wp(e.e,t)){if(t.Qi())for(v=o.Jc();v.Ob();)y=v.Pb(),qF(e,t,y,se(t,104)&&(l(t,20).Bb&Io)!=0)||(u=gh(t,y),f.Ec(u));else if(!m)for(v=o.Jc();v.Ob();)y=v.Pb(),u=gh(t,y),f.Ec(u)}else{for(T=za(e.e.Ah(),t),a=l(e.g,123),p=0;p<e.i;++p)if(u=a[p],T.$l(u.Jk()))throw Y(new jt(YD));if(o.gc()>1)throw Y(new jt(YD));m||(u=gh(t,o.Jc().Pb()),f.Ec(u))}return Lge(e,eme(e,t,r),f)}function YF(e,t,r){var o,a,u,f,p,m,y,v;if(wp(e.e,t))m=(Mo(),l(t,69).vk()?new rP(t,e):new xO(t,e)),CF(m.c,m.b),m3(m,l(r,18));else{for(v=za(e.e.Ah(),t),o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],u=a.Jk(),v.$l(u)){if(u==(rT(),XT)||u==JT){for(y=X1e(e,t,r),p=f,y?ky(e,f):++f;f<e.i;)a=o[f],u=a.Jk(),u==XT||u==JT?ky(e,f):++f;y||l(SE(e,p,gh(t,r)),76)}else X1e(e,t,r)?ky(e,f):l(SE(e,f,(Mo(),l(t,69).vk()?l(r,76):gh(t,r))),76);return}X1e(e,t,r)||Tn(e,(Mo(),l(t,69).vk()?l(r,76):gh(t,r)))}}function Dvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(T=0;T<t.length;T++){for(p=e.Jc();p.Ob();)u=l(p.Pb(),223),u.fg(T,t);for(N=0;N<t[T].length;N++){for(m=e.Jc();m.Ob();)u=l(m.Pb(),223),u.gg(T,N,t);for(U=t[T][N].j,R=0;R<U.c.length;R++){for(y=e.Jc();y.Ob();)u=l(y.Pb(),223),u.hg(T,N,R,t);for(M=(at(R,U.c.length),l(U.c[R],12)),r=0,a=new Vd(M.b);Ts(a.a)||Ts(a.b);)for(o=l(Ts(a.a)?q(a.a):q(a.b),17),v=e.Jc();v.Ob();)u=l(v.Pb(),223),u.eg(T,N,R,r++,o,t)}}}for(f=e.Jc();f.Ob();)u=l(f.Pb(),223),u.dg()}function sxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;for(r.Tg(jSt,1),T=t.a,v=T.c.length,e.c=new je,e.d=we(cc,Ad,30,v,16,1),e.a=we(cc,Ad,30,v,16,1),e.b=new je,f=0,y=new V(T);y.a<y.c.c.length;)m=l(q(y),9),m.p=f,sy(si(m))&&Fe(e.c,m),++f;for(R=new V(e.c);R.a<R.c.c.length;)N=l(q(R),9),ime(e,N);for(u=0;u<v;u++)e.d[u]||(p=(at(u,T.c.length),l(T.c[u],9)),ime(e,p));for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!0),Te(t,(Ie(),CT),(Lt(),!0));e.c=null,e.d=null,e.a=null,e.b=null,r.Ug()}function axn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;for(r.Tg(jSt,1),e.c=t,T=t.a,v=T.c.length,e.d=new je,e.e=we(cc,Ad,30,v,16,1),e.a=we(cc,Ad,30,v,16,1),e.b=new je,f=0,y=new V(T);y.a<y.c.c.length;)m=l(q(y),9),m.p=f,sy(si(m))&&Fe(e.d,m),++f;for(R=new V(e.d);R.a<R.c.c.length;)N=l(q(R),9),h0e(e,N);for(u=0;u<v;u++)e.e[u]||(p=(at(u,T.c.length),l(T.c[u],9)),h0e(e,p));for(a=new V(e.b);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!0),Te(t,(Ie(),CT),(Lt(),!0));e.d=null,e.e=null,e.a=null,e.b=null,r.Ug()}function cxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;if(M=l(Ut(e.d,t),150),!M)throw Y(new xf("Edge did not exist in input."));return SJ(e,t),T=B_(M),f=aO((!t.a&&(t.a=new ke(jr,t,6,6)),t.a)),m=!f,m&&(U=new Eb,o=new Aat(e,T,U,t),etn((!t.a&&(t.a=new ke(jr,t,6,6)),t.a),o),Kl(M,pQ,null),Kl(M,pQ,U)),u=Gu(t,(_n(),g2)),u&&(N=l(ve(t,g2),79),p=!N||Zst(N),y=!p,y&&(R=new Eb,a=new lot(e,t,R),lo(N,a),Kl(M,"junctionPoints",R))),r=Wde(e,l(Ut(e.e,t),19)),v=r==(O_(),uU),v&&e_(M,"container",ry(t).k),null}function uxn(e,t){var r,o,a,u,f,p,m;for(e.b=ce(le(F(t,(Ue(),tv)))),e.c=ce(le(F(t,B1))),e.d=l(F(t,Ete),350),e.a=l(F(t,lB),285),Zbn(t),p=l(Ac(dr(dr(bs(bs(new vt(null,new St(t.b,16)),new k7e),new N7e),new C7e),new I7e),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),a=p.Jc();a.Ob();)r=l(a.Pb(),17),f=l(F(r,(Ie(),pm)),16),f.Ic(new jYe(e)),Te(r,pm,null);for(o=p.Jc();o.Ob();)r=l(o.Pb(),17),m=l(F(r,(Ie(),kTe)),17),u=l(F(r,r2),16),x3n(e,u,m),Te(r,r2,null)}function PJ(e,t){var r,o,a,u,f,p,m;if(e.a){if(p=e.a.ve(),m=null,p!=null?t.a+=""+p:(f=e.a.kk(),f!=null&&(u=Nf(f,Qa(91)),u!=-1?(m=(Jt(u,f.length+1),f.substr(u)),t.a+=""+yl(f==null?tc:(Mt(f),f),0,u)):t.a+=""+f)),e.d&&e.d.i!=0){for(a=!0,t.a+="<",o=new tn(e.d);o.e!=o.i.gc();)r=l(rn(o),88),a?a=!1:t.a+=ja,PJ(r,t);t.a+=">"}m!=null&&(t.a+=""+m)}else e.e?(p=e.e.zb,p!=null&&(t.a+=""+p)):(t.a+="?",e.b?(t.a+=" super ",PJ(e.b,t)):e.f&&(t.a+=" extends ",PJ(e.f,t)))}function lxn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function dxn(e){var t,r,o,a;if(o=YJ((!e.c&&(e.c=ZO(Gs(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return o;if(t=yge(e)<0?1:0,r=e.e,a=(o.length+1+b.Math.abs(bo(e.e)),new lS),t==1&&(a.a+="-"),e.e>0)if(r-=o.length-t,r>=0){for(a.a+="0.";r>fm.length;r-=fm.length)Yot(a,fm);kit(a,fm,bo(r)),zn(a,(Jt(t,o.length+1),o.substr(t)))}else r=t-r,zn(a,yl(o,t,bo(r))),a.a+=".",zn(a,ghe(o,bo(r)));else{for(zn(a,(Jt(t,o.length+1),o.substr(t)));r<-fm.length;r+=fm.length)Yot(a,fm);kit(a,fm,bo(-r))}return a.a}function jJ(e){var t,r,o,a,u,f,p,m,y;return!(e.k!=(Ht(),Xr)||e.j.c.length<=1||(u=l(F(e,(Ue(),Zr)),103),u==(qi(),fa))||(a=(vy(),(e.q?e.q:(At(),At(),xh))._b(ow)?o=l(F(e,ow),205):o=l(F(ji(e),zI),205),o),a==kB)||!(a==c2||a==a2)&&(f=ce(le(wy(e,GI))),t=l(F(e,EL),125),!t&&(t=new nfe(f,f,f,f)),y=ks(e,(He(),Wt)),m=t.d+t.a+(y.gc()-1)*f,m>e.o.b||(r=ks(e,Qt),p=t.d+t.a+(r.gc()-1)*f,p>e.o.b)))}function fxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;t.Tg("Orthogonal edge routing",1),y=ce(le(F(e,(Ue(),rv)))),r=ce(le(F(e,tv))),o=ce(le(F(e,B1))),N=new cW(0,r),G=0,f=new Ji(e.b,0),p=null,v=null,m=null,T=null;do v=f.b<f.d.gc()?(cn(f.b<f.d.gc()),l(f.d.Xb(f.c=f.b++),26)):null,T=v?v.a:null,p&&(F0e(p,G),G+=p.c.a),U=p?G+o:G,M=z0e(N,e,m,T,U),a=!p||C8(m,($F(),xL)),u=!v||C8(T,($F(),xL)),M>0?(R=(M-1)*r,p&&(R+=o),v&&(R+=o),R<y&&!a&&!u&&(R=y),G+=R):!a&&!u&&(G+=y),p=v,m=T;while(v);e.f.a=G,t.Ug()}function JF(e,t){var r,o,a,u,f,p,m,y,v,T;if(v=null,e.d&&(v=l(wa(e.d,t),146)),!v){if(u=e.a.si(),T=u.i,!e.d||WN(e.d)!=T){for(m=new hn,e.d&&X3(m,e.d),y=m.f.c+m.i.c,p=y;p<T;++p)o=l(ie(u,p),146),a=fg(e.e,o).ve(),r=l(a==null?ec(m.f,null,o):_0(m.i,a,o),146),r&&r!=o&&(a==null?ec(m.f,null,r):_0(m.i,a,r));if(m.f.c+m.i.c!=T)for(f=0;f<y;++f)o=l(ie(u,f),146),a=fg(e.e,o).ve(),r=l(a==null?ec(m.f,null,o):_0(m.i,a,o),146),r&&r!=o&&(a==null?ec(m.f,null,r):_0(m.i,a,r));e.d=m}v=l(wa(e.d,t),146)}return v}function FJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,R;return T=Ye(Ke(F(t,(Ue(),LAe)))),N=null,u==(Fo(),Cc)&&o.c.i==r?N=o.c:u==Ba&&o.d.i==r&&(N=o.d),y=f,!y||!T||N?(v=(He(),Is),N?v=N.j:nE(l(F(r,Zr),103))&&(v=u==Cc?Wt:Qt),m=hxn(e,t,r,u,v,o),p=JW((ji(r),o)),u==Cc?(mo(p,l(ze(m.j,0),12)),Yi(p,a)):(mo(p,a),Yi(p,l(ze(m.j,0),12))),y=new Sgt(o,p,m,l(F(m,(Ie(),wr)),12),u,!N)):(Fe(y.e,o),R=b.Math.max(ce(le(F(y.d,_g))),ce(le(F(o,_g)))),Te(y.d,_g,R)),yt(e.a,o,new Y8(y.d,t,u)),y}function $J(){$J=K;var e;C3e=new YZe,rLt=we(Je,Pe,2,0,6,1),tLt=Of(GS(33,58),GS(1,26)),nLt=Of(GS(97,122),GS(65,90)),A3e=GS(48,57),QDt=Of(tLt,0),eLt=Of(nLt,A3e),_3e=Of(Of(0,GS(1,6)),GS(33,38)),x3e=Of(Of(A3e,GS(65,70)),GS(97,102)),iLt=Of(QDt,iF("-_.!~*'()")),oLt=Of(eLt,Xj("-_.!~*'()")),iF(zAt),Xj(zAt),Of(iLt,iF(";:@&=+$,")),Of(oLt,Xj(";:@&=+$,")),k3e=iF(":/?#"),N3e=Xj(":/?#"),O4=iF("/?#"),D4=Xj("/?#"),e=new pi,e.a.yc("jar",e),e.a.yc("zip",e),e.a.yc("archive",e),SU=(At(),new PA(e))}function hxn(e,t,r,o,a,u){var f,p,m,y,v,T;return f=null,y=o==(Fo(),Cc)?u.c:u.d,m=qj(t),y.i==r?(f=l(Ut(e.b,y),9),f||(f=fD(y,l(F(r,(Ue(),Zr)),103),a,pAn(y),null,y.n,y.o,m,t),Te(f,(Ie(),wr),y),Jn(e.b,y,f))):(f=fD((v=new Q2,T=ce(le(F(t,(Ue(),od))))/2,C6(v,Zy,T),v),l(F(r,Zr),103),a,o==Cc?-1:1,null,new ro,new Me(0,0),m,t),p=iwn(f,r,o),Te(f,(Ie(),wr),p),Jn(e.b,p,f)),l(F(t,(Ie(),xa)),24).Ec(($o(),rl)),nE(l(F(t,(Ue(),Zr)),103))?Te(t,Zr,(qi(),Sk)):Te(t,Zr,(qi(),pf)),f}function rx(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;p=0,M=0,m=LP(e.g,e.g.length),u=e.e,f=e.j,o=e.b,a=e.c;do{for(R=0,v=new V(e.q);v.a<v.c.c.length;)y=l(q(v),9),N=tEt(e,y),r=!0,(e.r==(x1(),SL)||e.r==TL)&&(r=Ye(Ke(N.b))),l(N.a,15).a<0&&r?(++R,m=LP(e.g,e.g.length),e.e=e.e+l(N.a,15).a,M+=u-e.e,u=e.e+l(N.a,15).a,f=e.j,o=jb(e.b),a=jb(e.c)):(e.g=LP(m,m.length),e.e=u,e.b=(kn(o),o?new Tc(o):QA(new V(o))),e.c=(kn(a),a?new Tc(a):QA(new V(a))),e.j=f);++p,T=R!=0&&Ye(Ke(t.Kb(new Co(Oe(M),Oe(p)))))}while(T)}function pxn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;return f=e.f,N=t.f,p=f==(xC(),BT)||f==d4,R=N==BT||N==d4,m=f==h2||f==f4,M=N==h2||N==f4,y=f==h2||f==BT,U=N==h2||N==BT,p&&R?e.f==d4?e:t:m&&M?e.f==f4?e:t:y&&U?(f==h2?(T=e,v=t):(T=t,v=e),u=(G=r.j+r.f,J=T.e+o.f,re=b.Math.max(G,J),oe=re-b.Math.min(r.j,T.e),de=T.d+o.g-r.i,de*oe),a=(Ee=r.i+r.g,ye=v.d+o.g,qe=b.Math.max(Ee,ye),dt=qe-b.Math.min(r.i,v.d),ft=v.e+o.f-r.j,dt*ft),u<=a?e.f==h2?e:t:e.f==BT?e:t):e}function Lvt(e,t){var r,o,a,u,f,p,m,y,v,T;if(Te(t,(Nr(),lk),0),m=l(F(t,jB),41),t.d.b==0)m?(v=ce(le(F(m,Ng)))+e.b+y1e(e,m,t),Te(t,Ng,v)):Te(t,Ng,0);else{for(o=(u=An(new Qh(t).a.d,0),new Vv(u));oO(o.a);)r=l(Sn(o.a),65).c,Lvt(e,r);p=l(P8((f=An(new Qh(t).a.d,0),new Vv(f))),41),T=l(inn((a=An(new Qh(t).a.d,0),new Vv(a))),41),y=(ce(le(F(T,Ng)))+ce(le(F(p,Ng))))/2,m?(v=ce(le(F(m,Ng)))+e.b+y1e(e,m,t),Te(t,Ng,v),Te(t,lk,ce(le(F(t,Ng)))-y),Ikn(e,t)):Te(t,Ng,y)}}function gxn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R;if(y=new je,!br(e,(Ie(),rte)))return y;for(o=l(F(e,rte),16).Jc();o.Ob();)t=l(o.Pb(),9),Pxn(t,e),Rt(y.c,t);for(u=new V(e.b);u.a<u.c.c.length;)for(a=l(q(u),26),p=new V(a.a);p.a<p.c.c.length;)f=l(q(p),9),f.k==(Ht(),yi)&&(m=l(F(f,oB),9),m&&(v=new aa,As(v,f),T=l(F(f,Hs),64),Ii(v,T),N=l(ze(m.j,0),12),R=new p0,mo(R,v),Yi(R,N)));for(r=new V(y);r.a<r.c.c.length;)t=l(q(r),9),Oi(t,l(ze(e.b,e.b.c.length-1),26));return y}function bxn(e){var t,r,o,a,u,f,p,m,y,v,T;for(v=e.e.a.c.length,f=new V(e.e.a);f.a<f.c.c.length;)u=l(q(f),126),u.j=!1;for(e.i=we(Rn,Qn,30,v,15,1),e.g=we(Rn,Qn,30,v,15,1),e.n=new je,a=0,T=new je,m=new V(e.e.a);m.a<m.c.c.length;)p=l(q(m),126),p.d=a++,p.b.a.c.length==0&&Fe(e.n,p),li(T,p.g);for(t=0,o=new V(T);o.a<o.c.c.length;)r=l(q(o),220),r.c=t++,r.f=!1;y=T.c.length,e.b==null||e.b.length<y?(e.b=we(Ki,Xo,30,y,15,1),e.c=we(cc,Ad,30,y,16,1)):HN(e.c),e.d=T,e.p=new vV(py(e.d.c.length)),e.j=1}function mxn(e,t){var r,o,a,u,f,p,m,y,v;if(!(t.e.c.length<=1)){for(e.f=t,e.d=l(F(e.f,(G6(),F2e)),385),e.g=l(F(e.f,H2e),15).a,e.e=ce(le(F(e.f,$2e))),e.c=ce(le(F(e.f,T$))),Ost(e.b),a=new V(e.f.c);a.a<a.c.c.length;)o=l(q(a),292),g0e(e.b,o.c,o,null),g0e(e.b,o.d,o,null);for(p=e.f.e.c.length,e.a=Xw(Ki,[Pe,Xo],[109,30],15,[p,p],2),y=new V(e.f.e);y.a<y.c.c.length;)m=l(q(y),156),B_n(e,m,e.a[m.a]);for(e.i=Xw(Ki,[Pe,Xo],[109,30],15,[p,p],2),u=0;u<p;++u)for(f=0;f<p;++f)r=e.a[u][f],v=1/(r*r),e.i[u][f]=v}}function Mvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(p=t._g(),p||t.Tg(Z2t,1),r=l(F(e,(Ie(),cte)),16),f=1/r.gc(),t.$g())for(t.ah("ELK Layered uses the following "+r.gc()+" modules:"),R=0,N=r.Jc();N.Ob();)v=l(N.Pb(),43),o=(R<10?"0":"")+R++,t.ah(" Slot "+o+": "+Ab(ru(v)));for(T=r.Jc();T.Ob();){if(v=l(T.Pb(),43),t.Zg())return;v.If(e,t.dh(f))}for(u=new V(e.b);u.a<u.c.c.length;)a=l(q(u),26),li(e.a,a.a),a.a.c.length=0;for(y=new V(e.a);y.a<y.c.c.length;)m=l(q(y),9),Oi(m,null);e.b.c.length=0,p||t.Ug()}function wxn(e,t){var r,o,a,u,f,p,m,y,v;if(br(e.d.i,(Ue(),Xy)))return p=l(F(e.c.i,Xy),15),y=l(F(e.d.i,Xy),15),na(p.a,y.a)>0;for(p=l(F(e.c.i,Xy),15).a,u=l(Ac(dr(t.Mc(),new KYe(p)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),f=new Ar,v=new pi,Gn(f,e.c.i),gi(v,e.c.i);f.b!=0;){if(r=l(f.b==0?null:(cn(f.b!=0),Vu(f,f.a.a)),9),u.Gc(r))return!0;for(a=new Ft(Gt(Or(r).a.Jc(),new D));an(a);)o=l(en(a),17),m=o.d.i,v.a._b(m)||(v.a.yc(m,v),Wr(f,m,f.c.b,f.c))}return!1}function Pvt(e,t,r){var o,a,u,f,p,m,y,v,T;for(T=new je,v=new Jhe(0,r),u=0,vj(v,new HK(0,0,v,r)),a=0,y=new tn(e);y.e!=y.i.gc();)m=l(rn(y),19),o=l(ze(v.a,v.a.c.length-1),175),p=a+m.g+(l(ze(v.a,0),175).b.c.length==0?0:r),(p>t||Ye(Ke(ve(m,(ef(),DL)))))&&(a=0,u+=v.b+r,Rt(T.c,v),v=new Jhe(u,r),o=new HK(0,v.f,v,r),vj(v,o),a=0),o.b.c.length==0||!Ye(Ke(ve(Br(m),(ef(),Lne))))&&(m.f>=o.o&&m.f<=o.f||o.a*.5<=m.f&&o.a*1.5>=m.f)?v1e(o,m):(f=new HK(o.s+o.r+r,v.f,v,r),vj(v,f),v1e(f,m)),a=m.i+m.g;return Rt(T.c,v),T}function PC(e){var t,r,o,a;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,a=0;a<e.b.length;){for(t!=a?(e.b[t]=e.b[a++],e.b[t+1]=e.b[a++]):a+=2,r=e.b[t+1];a<e.b.length&&!(r+1<e.b[a]);)if(r+1==e.b[a])e.b[t+1]=e.b[a+1],r=e.b[t+1],a+=2;else if(r>=e.b[a+1])a+=2;else if(r<e.b[a+1])e.b[t+1]=e.b[a+1],r=e.b[t+1],a+=2;else throw Y(new Es("Token#compactRanges(): Internel Error: ["+e.b[t]+","+e.b[t+1]+"] ["+e.b[a]+","+e.b[a+1]+"]"));t+=2}t!=e.b.length&&(o=we(Rn,Qn,30,t,15,1),ca(e.b,0,o,0,t),e.b=o),e.a=!0}}function yxn(e,t){var r,o,a,u,f,p,m;for(f=kS(e.a).Jc();f.Ob();){if(u=l(f.Pb(),17),u.b.c.length>0)for(o=new Tc(l(yr(e.a,u),24)),At(),ki(o,new Eue(t)),a=new Ji(u.b,0);a.b<a.d.gc();){switch(r=(cn(a.b<a.d.gc()),l(a.d.Xb(a.c=a.b++),70)),p=-1,l(F(r,(Ue(),Yf)),281).g){case 1:p=o.c.length-1;break;case 0:p=U0n(o);break;case 2:p=0}p!=-1&&(m=(at(p,o.c.length),l(o.c[p],253)),Fe(m.b.b,r),l(F(ji(m.b.c.i),(Ie(),xa)),24).Ec(($o(),Zx)),l(F(ji(m.b.c.i),xa),24).Ec(Xx),Mc(a),Te(r,ATe,u))}mo(u,null),Yi(u,null)}}function vxn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(v=new je,N=new pi,f=t.b,a=0;a<f.c.length;a++){for(y=(at(a,f.c.length),l(f.c[a],26)).a,v.c.length=0,u=0;u<y.c.length;u++)p=e.a[a][u],p.p=u,p.k==(Ht(),_a)&&Rt(v.c,p),nu(l(ze(t.b,a),26).a,u,p),p.j.c.length=0,li(p.j,l(l(ze(e.b,a),16).Xb(u),18)),AS(l(F(p,(Ue(),Zr)),103))||Te(p,Zr,(qi(),_m));for(o=new V(v);o.a<o.c.c.length;)r=l(q(o),9),T=VTn(r),N.a.yc(T,N),N.a.yc(r,N)}for(m=N.a.ec().Jc();m.Ob();)p=l(m.Pb(),9),At(),ki(p.j,(N_(),FSe)),p.i=!0,dme(p)}function Exn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(t.Tg("Edge splitting",1),e.b.c.length<=2){t.Ug();return}for(u=new Ji(e.b,0),f=(cn(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26));u.b<u.d.gc();)for(a=f,f=(cn(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26)),m=new V(a.a);m.a<m.c.c.length;)for(p=l(q(m),9),v=new V(p.j);v.a<v.c.c.length;)for(y=l(q(v),12),o=new V(y.g);o.a<o.c.c.length;)r=l(q(o),17),N=r.d,T=N.i.c,T!=a&&T!=f&&gJ(r,(R=new Xd(e),Jh(R,(Ht(),bi)),Te(R,(Ie(),wr),r),Te(R,(Ue(),Zr),(qi(),fa)),Oi(R,f),R));t.Ug()}function jvt(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(t=Gd(e),u=Ye(Ke(ve(t,(Ue(),Jy)))),v=0,a=0,y=new tn((!e.e&&(e.e=new Tt(Ir,e,7,4)),e.e));y.e!=y.i.gc();)m=l(rn(y),74),p=R0(m),f=p&&u&&Ye(Ke(ve(m,bm))),N=Jo(l(ie((!m.c&&(m.c=new Tt(pn,m,5,8)),m.c),0),83)),p&&f?++a:p&&!f?++v:Br(N)==t||N==t?++a:++v;for(o=new tn((!e.d&&(e.d=new Tt(Ir,e,8,5)),e.d));o.e!=o.i.gc();)r=l(rn(o),74),p=R0(r),f=p&&u&&Ye(Ke(ve(r,bm))),T=Jo(l(ie((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),83)),p&&f?++v:p&&!f?++a:Br(T)==t||T==t?++v:++a;return v-a}function Fvt(e){var t,r,o,a,u;return e.g!=null?e.g:e.a<32?(e.g=BNn(Gs(e.f),bo(e.e)),e.g):(a=YJ((!e.c&&(e.c=ZO(Gs(e.f))),e.c),0),e.e==0?a:(t=(!e.c&&(e.c=ZO(Gs(e.f))),e.c).e<0?2:1,r=a.length,o=-e.e+r-t,u=new Qg,u.a+=""+a,e.e>0&&o>=-6?o>=0?CO(u,r-bo(e.e),"."):(RK(u,t-1,t-1,"0."),CO(u,t+1,Mf(fm,0,-bo(o)-1))):(r-t>=1&&(CO(u,t,"."),++r),CO(u,r,"E"),o>0&&CO(u,++r,"+"),CO(u,++r,""+x3(Gs(o)))),e.g=u.a,e.g))}function Sxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe;o=ce(le(F(t,(Ue(),PAe)))),Ee=l(F(t,qI),15).a,N=4,a=3,ye=20/Ee,R=!1,m=0,f=ar;do{for(u=m!=1,T=m!=0,qe=0,G=e.a,re=0,de=G.length;re<de;++re)M=G[re],M.f=null,dNn(e,M,u,T,o),qe+=b.Math.abs(M.a);do p=GAn(e,t);while(p);for(U=e.a,J=0,oe=U.length;J<oe;++J)if(M=U[J],r=nhe(M).a,r!=0)for(v=new V(M.e);v.a<v.c.c.length;)y=l(q(v),9),y.n.b+=r;m==0||m==1?(--N,N<=0&&(qe<f||-N>Ee)?(m=2,f=ar):m==0?(m=1,f=qe):(m=0,f=qe)):(R=qe>=f||f-qe<ye,f=qe,R&&--a)}while(!(R&&a<=0))}function BJ(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;for(M=new hn,u=e.a.ec().Jc();u.Ob();)o=l(u.Pb(),180),Jn(M,o,r.$e(o));for(f=(kn(e),e?new Tc(e):QA(e.a.ec().Jc())),ki(f,new wYe(M)),p=WP(f),m=new L8(t),R=new hn,ec(R.f,t,m);p.a.gc()!=0;){for(y=null,v=null,T=null,a=p.a.ec().Jc();a.Ob();)if(o=l(a.Pb(),180),ce(le(Ss(ns(M.f,o))))<=Kr){if(ma(R,o.a)&&!ma(R,o.b)){v=o.b,T=o.a,y=o;break}if(ma(R,o.b)&&!ma(R,o.a)){v=o.a,T=o.b,y=o;break}}if(!y)break;N=new L8(v),Fe(l(Ss(ns(R.f,T)),227).a,N),ec(R.f,v,N),p.a.Ac(y)!=null}return m}function em(e,t){var r,o,a,u,f,p;if(t){if(!e.a&&(e.a=new D9),e.e==2){O9(e.a,t);return}if(t.e==1){for(a=0;a<t.Nm();a++)em(e,t.Jm(a));return}if(p=e.a.a.c.length,p==0){O9(e.a,t);return}if(f=l(d0(e.a,p-1),122),!((f.e==0||f.e==10)&&(t.e==0||t.e==10))){O9(e.a,t);return}u=t.e==0?2:t.Km().length,f.e==0?(r=new GN,o=f.Im(),o>=Io?Wo(r,b1e(o)):i_(r,o&Ti),f=new NW(10,null,0),Bsn(e.a,f,p-1)):(r=(f.Km().length+u,new GN),Wo(r,f.Km())),t.e==0?(o=t.Im(),o>=Io?Wo(r,b1e(o)):i_(r,o&Ti)):Wo(r,t.Km()),l(f,521).b=r.a}}function Txn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(!r.dc()){for(p=0,N=0,o=r.Jc(),M=l(o.Pb(),15).a;p<t.f;){if(p==M&&(N=0,o.Ob()?M=l(o.Pb(),15).a:M=t.f+1),p!=N){for(G=l(ze(e.b,p),26),R=l(ze(e.b,N),26),U=jb(G.a),T=new V(U);T.a<T.c.c.length;)if(v=l(q(T),9),S1(v,R.a.c.length,R),N==0)for(f=jb(si(v)),u=new V(f);u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(e,(Ie(),CT),(Lt(),!0)),qvt(e,a,1)}++N,++p}for(m=new Ji(e.b,0);m.b<m.d.gc();)y=(cn(m.b<m.d.gc()),l(m.d.Xb(m.c=m.b++),26)),y.a.c.length==0&&Mc(m)}}function Axn(e,t,r){var o,a,u;if(a=l(F(t,(Ue(),lB)),285),a!=(W_(),NI)){switch(r.Tg("Horizontal Compaction",1),e.a=t,u=new Ydt,o=new v0t((u.d=t,u.c=l(F(u.d,kp),225),bTn(u),Nkn(u),ATn(u),u.a)),XQt(o,e.b),l(F(t,lAe),427).g){case 1:OQe(o,new mht(e.a));break;default:OQe(o,(Rhe(),Nxt))}switch(a.g){case 1:_C(o);break;case 2:_C(XF(o,(Si(),fs)));break;case 3:_C(RQe(XF(_C(o),(Si(),fs)),new SBe));break;case 4:_C(RQe(XF(_C(o),(Si(),fs)),new rJe(u)));break;case 5:_C(JQt(o,SNt))}XF(o,(Si(),cs)),o.e=!0,SNn(u),r.Ug()}}function _xn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(f=t.b,v=f.o,m=f.d,o=ce(le(oF(f,(Ue(),od)))),a=ce(le(oF(f,s2))),y=ce(le(oF(f,Cte))),p=new nq,Ofe(p,m.d,m.c,m.a,m.b),N=MTn(t,o,a,y),J=new V(t.d);J.a<J.c.c.length;){for(G=l(q(J),108),M=G.f.a.ec().Jc();M.Ob();)R=l(M.Pb(),342),u=R.a,T=Nwn(R),r=(re=new Lc,vmt(R,R.c,N,re),USn(R,T,N,re),vmt(R,R.d,N,re),re),r=e.lg(R,T,r),tu(u.a),wo(u.a,r),ei(new vt(null,new St(r,16)),new Ctt(v,p));U=G.i,U&&(WSn(G,U,N,a),oe=new To(U.g),G1e(v,p,oe),mr(oe,U.j),G1e(v,p,oe))}Ofe(m,p.d,p.c,p.a,p.b)}function xxn(e,t){Z_();var r,o,a,u,f,p;return u=t.c-(e.c+e.b),a=e.c-(t.c+t.b),f=e.d-(t.d+t.a),r=t.d-(e.d+e.a),o=b.Math.max(a,u),p=b.Math.max(f,r),Ud(),Yl(Gf),(b.Math.abs(o)<=Gf||o==0||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:kb(isNaN(o),isNaN(0)))>=0^(Yl(Gf),(b.Math.abs(p)<=Gf||p==0||isNaN(p)&&isNaN(0)?0:p<0?-1:p>0?1:kb(isNaN(p),isNaN(0)))>=0)?b.Math.max(p,o):(Yl(Gf),(b.Math.abs(o)<=Gf||o==0||isNaN(o)&&isNaN(0)?0:o<0?-1:o>0?1:kb(isNaN(o),isNaN(0)))>0?b.Math.sqrt(p*p+o*o):-b.Math.sqrt(p*p+o*o))}function kxn(e){var t,r,o,a;a=e.o,Ww(),e.A.dc()||gr(e.A,_2e)?t=a.b:(e.D?t=b.Math.max(a.b,EC(e.f)):t=EC(e.f),e.A.Gc((su(),JL))&&!e.B.Gc((Uc(),C4))&&(t=b.Math.max(t,EC(l(Ko(e.p,(He(),Qt)),256))),t=b.Math.max(t,EC(l(Ko(e.p,Wt),256)))),r=$ht(e),r&&(t=b.Math.max(t,r.b)),e.A.Gc(XL)&&(e.q==(qi(),Oh)||e.q==fa)&&(t=b.Math.max(t,tP(l(Ko(e.b,(He(),Qt)),129))),t=b.Math.max(t,tP(l(Ko(e.b,Wt),129))))),Ye(Ke(e.e.Rf().mf((_n(),lv))))?a.b=b.Math.max(a.b,t):a.b=t,o=e.f.i,o.d=0,o.a=t,IJ(e.f)}function Nxn(e,t,r,o,a,u,f,p){var m,y,v,T;switch(m=Wl(Z(X(vCn,1),It,241,0,[t,r,o,a])),T=null,e.b.g){case 1:T=Wl(Z(X(tke,1),It,527,0,[new OG,new IG,new RG]));break;case 0:T=Wl(Z(X(tke,1),It,527,0,[new RG,new IG,new OG]));break;case 2:T=Wl(Z(X(tke,1),It,527,0,[new IG,new OG,new RG]))}for(v=new V(T);v.a<v.c.c.length;)y=l(q(v),527),m.c.length>1&&(m=y.Gg(m,e.a,p));return m.c.length==1?l(ze(m,m.c.length-1),241):m.c.length==2?pxn((at(0,m.c.length),l(m.c[0],241)),(at(1,m.c.length),l(m.c[1],241)),f,u):null}function Cxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;a=new JR(e),u=new F0t,o=(n6(u.n),n6(u.p),Zs(u.c),n6(u.f),n6(u.o),Zs(u.q),Zs(u.d),Zs(u.g),Zs(u.k),Zs(u.e),Zs(u.i),Zs(u.j),Zs(u.r),Zs(u.b),N=a0t(u,a,null),uwt(u,a),N),t&&(m=new JR(t),f=W_n(m),Kbe(o,Z(X(Uke,1),It,528,0,[f]))),T=!1,v=!1,r&&(m=new JR(r),V7 in m.a&&(T=op(m,V7).oe().a),pAt in m.a&&(v=op(m,pAt).oe().a)),y=$Qe(Vft(new sS,T),v),Iyn(new lGe,o,y),V7 in a.a&&Kl(a,V7,null),(T||v)&&(p=new aS,ivt(y,p,T,v),Kl(a,V7,p)),R=new zXe(u),bpt(new lV(o),R),M=new GXe(u),bpt(new lV(o),M)}function Ixn(e,t,r){var o,a,u,f,p,m,y;for(r.Tg("Find roots",1),e.a.c.length=0,a=An(t.b,0);a.b!=a.d.c;)o=l(Sn(a),41),o.b.b==0&&(Te(o,(Nr(),G1),(Lt(),!0)),Fe(e.a,o));switch(e.a.c.length){case 0:u=new UK(0,t,"DUMMY_ROOT"),Te(u,(Nr(),G1),(Lt(),!0)),Te(u,nne,!0),Gn(t.b,u);break;case 1:break;default:for(f=new UK(0,t,L7),m=new V(e.a);m.a<m.c.c.length;)p=l(q(m),41),y=new Ihe(f,p),Te(y,(Nr(),nne),(Lt(),!0)),Gn(f.a.a,y),Gn(f.d,y),Gn(p.b,y),Te(p,G1,!1);Te(f,(Nr(),G1),(Lt(),!0)),Te(f,nne,!0),Gn(t.b,f)}r.Ug()}function $vt(e){var t,r,o,a,u,f;for(La(e.a,new Z2),r=new V(e.a);r.a<r.c.c.length;)t=l(q(r),227),o=Di(Ao(l(e.b,68).c),l(t.b,68).c),ckt?(f=l(e.b,68).b,u=l(t.b,68).b,b.Math.abs(o.a)>=b.Math.abs(o.b)?(o.b=0,u.d+u.a>f.d&&u.d<f.d+f.a&&Z8(o,b.Math.max(f.c-(u.c+u.b),u.c-(f.c+f.b)))):(o.a=0,u.c+u.b>f.c&&u.c<f.c+f.b&&Z8(o,b.Math.max(f.d-(u.d+u.a),u.d-(f.d+f.a))))):Z8(o,cvt(l(e.b,68),l(t.b,68))),a=b.Math.sqrt(o.a*o.a+o.b*o.b),a=zbt(vI,t,a,o),Z8(o,a),JV(l(t.b,68),o),La(t.a,new wue(o)),l(vI.b,68),Cpe(vI,x2e,t)}function Rxn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M;for(e.f=new eq,y=0,a=0,f=new V(e.e.b);f.a<f.c.c.length;)for(u=l(q(f),26),m=new V(u.a);m.a<m.c.c.length;){for(p=l(q(m),9),p.p=y++,o=new Ft(Gt(Or(p).a.Jc(),new D));an(o);)r=l(en(o),17),r.p=a++;for(t=jJ(p),N=new V(p.j);N.a<N.c.c.length;)T=l(q(N),12),t&&(M=T.a.b,M!=b.Math.floor(M)&&(v=M-$b(Gs(b.Math.round(M))),T.a.b-=v)),R=T.n.b+T.a.b,R!=b.Math.floor(R)&&(v=R-$b(Gs(b.Math.round(R))),T.n.b-=v)}e.g=y,e.b=a,e.i=we(bCn,It,410,y,0,1),e.c=we(gCn,It,651,a,0,1),e.d.a.$b()}function vn(e){var t,r,o,a,u,f,p,m,y;if(e.Nj())if(m=e.Oj(),e.i>0){if(t=new ede(e.i,e.g),r=e.i,u=r<100?null:new e1(r),e.Rj())for(o=0;o<e.i;++o)f=e.g[o],u=e.Tj(f,u);if(z3(e),a=r==1?e.Gj(4,ie(t,0),null,0,m):e.Gj(6,t,null,-1,m),e.Kj()){for(o=new ES(t);o.e!=o.i.gc();)u=e.Mj(SY(o),u);u?(u.lj(a),u.mj()):e.Hj(a)}else u?(u.lj(a),u.mj()):e.Hj(a)}else z3(e),e.Hj(e.Gj(6,(At(),Ro),null,-1,m));else if(e.Kj())if(e.i>0){for(p=e.g,y=e.i,z3(e),u=y<100?null:new e1(y),o=0;o<y;++o)f=p[o],u=e.Mj(f,u);u&&u.mj()}else z3(e);else z3(e)}function j0e(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(Wht(this),r==(g0(),z1)?gi(this.r,e):gi(this.w,e),v=Kr,y=Li,f=t.a.ec().Jc();f.Ob();)a=l(f.Pb(),49),p=l(a.a,457),o=l(a.b,17),m=o.c,m==e&&(m=o.d),p==z1?gi(this.r,m):gi(this.w,m),N=(He(),oc).Gc(m.j)?ce(le(F(m,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[m.i.n,m.n,m.a])).b,v=b.Math.min(v,N),y=b.Math.max(y,N);for(T=(He(),oc).Gc(e.j)?ce(le(F(e,(Ie(),ek)))):xs(Z(X($i,1),Pe,8,0,[e.i.n,e.n,e.a])).b,fmt(this,T,v,y),u=t.a.ec().Jc();u.Ob();)a=l(u.Pb(),49),Nmt(this,l(a.b,17));this.o=!1}function Oxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on;return r=e.l&8191,o=e.l>>13|(e.m&15)<<9,a=e.m>>4&8191,u=e.m>>17|(e.h&255)<<5,f=(e.h&1048320)>>8,p=t.l&8191,m=t.l>>13|(t.m&15)<<9,y=t.m>>4&8191,v=t.m>>17|(t.h&255)<<5,T=(t.h&1048320)>>8,dt=r*p,ft=o*p,Ct=a*p,Ot=u*p,on=f*p,m!=0&&(ft+=r*m,Ct+=o*m,Ot+=a*m,on+=u*m),y!=0&&(Ct+=r*y,Ot+=o*y,on+=a*y),v!=0&&(Ot+=r*v,on+=o*v),T!=0&&(on+=r*T),R=dt&Hc,M=(ft&511)<<13,N=R+M,G=dt>>22,J=ft>>9,re=(Ct&262143)<<4,oe=(Ot&31)<<17,U=G+J+re+oe,Ee=Ct>>18,ye=Ot>>5,qe=(on&4095)<<8,de=Ee+ye+qe,U+=N>>22,N&=Hc,de+=U>>22,U&=Hc,de&=Ep,Ua(N,U,de)}function Bvt(e){var t,r,o,a,u,f,p;if(p=l(ze(e.j,0),12),p.g.c.length!=0&&p.e.c.length!=0)throw Y(new ts("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(p.g.c.length!=0){for(u=Kr,r=new V(p.g);r.a<r.c.c.length;)t=l(q(r),17),f=t.d.i,o=l(F(f,(Ue(),wB)),125),u=b.Math.min(u,f.n.a-o.b);return new E9(kn(u))}if(p.e.c.length!=0){for(a=Li,r=new V(p.e);r.a<r.c.c.length;)t=l(q(r),17),f=t.c.i,o=l(F(f,(Ue(),wB)),125),a=b.Math.max(a,f.n.a+f.o.a+o.c);return new E9(kn(a))}return BN(),BN(),PQ}function Uvt(e){n0(e,new Qb(wq(iO(Qm(Jm(Zm(Xm(new vb,G0),"ELK VertiFlex"),"Tree layout algorithm that allows defining set vertical positions for nodes rather than automatically placing nodes on levels according to their topology."),new aGe),gve),xr((sT(),o5),Z(X(s5,1),Ce,235,0,[i5]))))),Le(e,G0,$0,20),Le(e,G0,B0,Bke),Le(e,G0,wx,Ge(g6t)),Le(e,G0,d7,Ge(m6t)),Le(e,G0,ID,(Lt(),!1)),Le(e,G0,yx,Ge($ke)),Le(e,G0,CZ,Ge(b6t)),Le(e,G0,Jve,Ge(pk)),Le(e,G0,Xve,Ge(tre)),Le(e,G0,Zve,Ge(Fke)),Le(e,G0,Qve,Ge(ere))}function Dxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(r.Tg("Interactive cycle breaking",1),T=new je,R=new V(t.a);R.a<R.c.c.length;)for(N=l(q(R),9),N.p=1,M=Sbe(N).a,v=k0(N,(Fo(),Ba)).Jc();v.Ob();)for(y=l(v.Pb(),12),u=new V(y.g);u.a<u.c.c.length;)o=l(q(u),17),U=o.d.i,U!=N&&(G=Sbe(U).a,G<M&&Rt(T.c,o));for(f=new V(T);f.a<f.c.c.length;)o=l(q(f),17),mg(o,!0);for(T.c.length=0,m=new V(t.a);m.a<m.c.c.length;)p=l(q(m),9),p.p>0&&Dmt(e,p,T);for(a=new V(T);a.a<a.c.c.length;)o=l(q(a),17),mg(o,!0);T.c.length=0,r.Ug()}function Hvt(e,t){var r,o,a,u,f,p,m;if(e.ml()){if(e.i>4)if(e.dk(t)){if(e.$k()){if(a=l(t,52),o=a.Bh(),m=o==e.e&&(e.kl()?a.vh(a.Ch(),e.gl())==e.hl():-1-a.Ch()==e.Jj()),e.ll()&&!m&&!o&&a.Gh()){for(u=0;u<e.i;++u)if(r=e.nl(l(e.g[u],57)),me(r)===me(t))return!0}return m}else if(e.kl()&&!e.jl()){if(f=l(t,57).Jh(Po(l(e.Jk(),20))),me(f)===me(e.e))return!0;if(f==null||!l(f,57).Sh())return!1}}else return!1;if(p=q_(e,t),e.ll()&&!p){for(u=0;u<e.i;++u)if(a=e.nl(l(e.g[u],57)),me(a)===me(t))return!0}return p}else return q_(e,t)}function Lxn(e,t){var r,o,a,u,f,p,m,y,v;for(r=0,v=new je,p=new V(t);p.a<p.c.c.length;){switch(f=l(q(p),12),Yge(e.b,e.d[f.p]),v.c.length=0,f.i.k.g){case 0:o=l(F(f,(Ie(),Nc)),9),La(o.j,new jJe(v));break;case 1:Otn(hp(dr(new vt(null,new St(f.i.j,16)),new FJe(f))),new $Je(v));break;case 3:a=l(F(f,(Ie(),wr)),12),Fe(v,new Co(a,Oe(f.e.c.length+f.g.c.length)))}for(y=new V(v);y.a<y.c.c.length;)m=l(q(y),49),u=lle(e,l(m.a,12)),u>e.d[f.p]&&(r+=lpe(e.b,u)*l(m.b,15).a,d1(e.a,Oe(u)));for(;!zN(e.a);)Gpe(e.b,l(CS(e.a),15).a)}return r}function Mxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(t.Tg(FSt,1),R=new je,v=b.Math.max(e.a.c.length,l(F(e,(Ie(),$1)),15).a),r=v*l(F(e,fL),15).a,p=me(F(e,(Ue(),PT)))===me((b1(),Vy)),U=new V(e.a);U.a<U.c.c.length;)for(M=l(q(U),9),o=new YR,m=p?iT(o,M,r,v):tT(o,M,v),N=k0(M,(Fo(),Ba)).Jc();N.Ob();)for(T=l(N.Pb(),12),f=new V(T.g);f.a<f.c.c.length;)a=l(q(f),17),G=a.d.i,y=p?iT(o,G,r,v):tT(o,G,v),y<m&&Rt(R.c,a);for(u=new V(R);u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(e,CT,(Lt(),!0));R.c.length=0,t.Ug()}function Pxn(e,t){var r,o,a,u,f,p,m,y,v,T;if(v=l(F(e,(Ie(),Hs)),64),o=l(ze(e.j,0),12),v==(He(),Vt)?Ii(o,dn):v==dn&&Ii(o,Vt),l(F(t,(Ue(),mm)),185).Gc((su(),xm))){if(m=ce(le(F(e,ok))),y=ce(le(F(e,sk))),f=ce(le(F(e,nv))),p=l(F(t,Qy),24),p.Gc((xc(),Rp)))for(r=y,T=e.o.a/2-o.n.a,u=new V(o.f);u.a<u.c.c.length;)a=l(q(u),70),a.n.b=r,a.n.a=T-a.o.a/2,r+=a.o.b+f;else if(p.Gc(Y1))for(u=new V(o.f);u.a<u.c.c.length;)a=l(q(u),70),a.n.a=m+e.o.a-o.n.a;jun(new _9((KN(),new mW(t,!1,!1,new l9))),new K8(null,e,!1))}}function jxn(e,t){var r,o,a,u,f,p,m,y,v;if(t.c.length!=0){for(At(),qV(t.c,t.c.length,null),a=new V(t),o=l(q(a),157);a.a<a.c.c.length;)r=l(q(a),157),Kpe(o.e.c,r.e.c)&&!(F1e(wit(o.e).b,r.e.d)||F1e(wit(r.e).b,o.e.d))?o=(li(o.k,r.k),li(o.b,r.b),li(o.c,r.c),wo(o.i,r.i),li(o.d,r.d),li(o.j,r.j),u=b.Math.min(o.e.c,r.e.c),f=b.Math.min(o.e.d,r.e.d),p=b.Math.max(o.e.c+o.e.b,r.e.c+r.e.b),m=p-u,y=b.Math.max(o.e.d+o.e.a,r.e.d+r.e.a),v=y-f,Tot(o.e,u,f,m,v),Hun(o.f,r.f),!o.a&&(o.a=r.a),li(o.g,r.g),Fe(o.g,r),o):(evt(e,o),o=r);evt(e,o)}}function Fxn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee;for(m=new je,u=new V(t.a);u.a<u.c.c.length;)for(a=l(q(u),9),p=new V(a.j);p.a<p.c.c.length;){for(f=l(q(p),12),v=null,oe=Df(f.g),de=0,Ee=oe.length;de<Ee;++de)re=oe[de],T_(re.d.i,r)||(J=FJ(e,t,r,re,re.c,(Fo(),Ba),v),J!=v&&Rt(m.c,J),J.c&&(v=J));for(y=null,M=Df(f.e),U=0,G=M.length;U<G;++U)R=M[U],T_(R.c.i,r)||(J=FJ(e,t,r,R,R.d,(Fo(),Cc),y),J!=y&&Rt(m.c,J),J.c&&(y=J))}for(N=new V(m);N.a<N.c.c.length;)T=l(q(N),447),_s(t.a,T.a,0)!=-1||Fe(t.a,T.a),T.c&&Rt(o.c,T)}function $xn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;for(p=new V(t);p.a<p.c.c.length;)u=l(q(p),242),u.e=null,u.c=0;for(m=null,f=new V(t);f.a<f.c.c.length;)if(u=l(q(f),242),T=u.d[0],!(r&&T.k!=(Ht(),Xr))){for(R=l(F(T,(Ie(),RT)),16).Jc();R.Ob();)N=l(R.Pb(),9),(!r||N.k==(Ht(),Xr))&&((!u.e&&(u.e=new je),u.e).Ec(e.b[N.c.p][N.p]),++e.b[N.c.p][N.p].c);if(!r&&T.k==(Ht(),Xr)){if(m)for(v=l(yr(e.d,m),24).Jc();v.Ob();)for(y=l(v.Pb(),9),a=l(yr(e.d,T),24).Jc();a.Ob();)o=l(a.Pb(),9),Vin(e.b[y.c.p][y.p]).Ec(e.b[o.c.p][o.p]),++e.b[o.c.p][o.p].c;m=T}}}function Bxn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G;for(T=new To(l(ve(e,(_F(),Yke)),8)),T.a=b.Math.max(T.a-r.b-r.c,0),T.b=b.Math.max(T.b-r.d-r.a,0),a=le(ve(e,Vke)),(a==null||(Mt(a),a<=0))&&(a=1.3),p=new je,M=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));M.e!=M.i.gc();)R=l(rn(M),19),f=new rit(R),Rt(p.c,f);switch(N=l(ve(e,lre),327),N.g){case 3:G=EAn(p,t,T.a,T.b,(y=o,Mt(a),y));break;case 1:G=u_n(p,t,T.a,T.b,(v=o,Mt(a),v));break;default:G=Hxn(p,t,T.a,T.b,(m=o,Mt(a),m))}u=new pj(G),U=VJ(u,t,r,T.a,T.b,o,(Mt(a),a)),M0(e,U.a,U.b,!1,!0)}function Uxn(e,t,r,o){var a,u,f,p,m,y;if(p=e.j,p==(He(),Is)&&t!=(qi(),pf)&&t!=(qi(),K1)&&(p=Yyt(e,r),Ii(e,p),!(e.q?e.q:(At(),At(),xh))._b((Ue(),Zy))&&p!=Is&&(e.n.a!=0||e.n.b!=0)&&Te(e,Zy,Xmn(e,p))),t==(qi(),Oh)){switch(y=0,p.g){case 1:case 3:u=e.i.o.a,u>0&&(y=e.n.a/u);break;case 2:case 4:a=e.i.o.b,a>0&&(y=e.n.b/a)}Te(e,(Ie(),nw),y)}if(m=e.o,f=e.a,o)f.a=o.a,f.b=o.b,e.d=!0;else if(t!=pf&&t!=K1&&p!=Is)switch(p.g){case 1:f.a=m.a/2;break;case 2:f.a=m.a,f.b=m.b/2;break;case 3:f.a=m.a/2,f.b=m.b;break;case 4:f.b=m.b/2}else f.a=m.a/2,f.b=m.b/2}function jC(e){var t,r,o,a,u,f,p,m,y,v;if(e.Nj())if(v=e.Cj(),m=e.Oj(),v>0)if(t=new Sge(e.nj()),r=v,u=r<100?null:new e1(r),LO(e,r,t.g),a=r==1?e.Gj(4,ie(t,0),null,0,m):e.Gj(6,t,null,-1,m),e.Kj()){for(o=new tn(t);o.e!=o.i.gc();)u=e.Mj(rn(o),u);u?(u.lj(a),u.mj()):e.Hj(a)}else u?(u.lj(a),u.mj()):e.Hj(a);else LO(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(At(),Ro),null,-1,m));else if(e.Kj())if(v=e.Cj(),v>0){for(p=e.Dj(),y=v,LO(e,v,p),u=y<100?null:new e1(y),o=0;o<y;++o)f=p[o],u=e.Mj(f,u);u&&u.mj()}else LO(e,e.Cj(),e.Dj());else LO(e,e.Cj(),e.Dj())}function Hxn(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G;for(p=we(Ki,Xo,30,e.c.length,15,1),N=new bP(new HGe),abe(N,e),y=0,U=new je;N.b.c.length!=0;)if(f=l(N.b.c.length==0?null:ze(N.b,0),168),y>1&&hc(f)*eu(f)/2>p[0]){for(u=0;u<U.c.length-1&&hc(f)*eu(f)/2>p[u];)++u;M=new Rf(U,0,u+1),T=new pj(M),v=hc(f)/eu(f),m=VJ(T,t,new oS,r,o,a,v),mr(wd(T.e),m),xS(V_(N,T),fx),R=new Rf(U,u+1,U.c.length),abe(N,R),U.c.length=0,y=0,ist(p,p.length,0)}else G=N.b.c.length==0?null:ze(N.b,0),G!=null&&SK(N,0),y>0&&(p[y]=p[y-1]),p[y]+=hc(f)*eu(f),++y,Rt(U.c,f);return U}function zxn(e,t){var r,o,a,u;r=t.b,u=new Tc(r.j),a=0,o=r.j,o.c.length=0,u0(l(Gb(e.b,(He(),Vt),(T0(),Q0)),16),r),a=H6(u,a,new JBe,o),u0(l(Gb(e.b,Vt,j1),16),r),a=H6(u,a,new XBe,o),u0(l(Gb(e.b,Vt,Z0),16),r),u0(l(Gb(e.b,Qt,Q0),16),r),u0(l(Gb(e.b,Qt,j1),16),r),a=H6(u,a,new ZBe,o),u0(l(Gb(e.b,Qt,Z0),16),r),u0(l(Gb(e.b,dn,Q0),16),r),a=H6(u,a,new QBe,o),u0(l(Gb(e.b,dn,j1),16),r),a=H6(u,a,new eUe,o),u0(l(Gb(e.b,dn,Z0),16),r),u0(l(Gb(e.b,Wt,Q0),16),r),a=H6(u,a,new VBe,o),u0(l(Gb(e.b,Wt,j1),16),r),u0(l(Gb(e.b,Wt,Z0),16),r)}function Gxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(t.Tg("Layer size calculation",1),v=Kr,y=Li,a=!1,p=new V(e.b);p.a<p.c.c.length;)if(f=l(q(p),26),m=f.c,m.a=0,m.b=0,f.a.c.length!=0){for(a=!0,N=new V(f.a);N.a<N.c.c.length;)T=l(q(N),9),M=T.o,R=T.d,m.a=b.Math.max(m.a,M.a+R.b+R.c);o=l(ze(f.a,0),9),U=o.n.b-o.d.d,o.k==(Ht(),yi)&&(U-=l(F(e,(Ue(),EL)),125).d),u=l(ze(f.a,f.a.c.length-1),9),r=u.n.b+u.o.b+u.d.a,u.k==yi&&(r+=l(F(e,(Ue(),EL)),125).a),m.b=r-U,v=b.Math.min(v,U),y=b.Math.max(y,r)}a||(v=0,y=0),e.f.b=y-v,e.c.b-=v,t.Ug()}function zvt(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(f=t.d,p=r.d;f.a-p.a==0&&f.b-p.b==0;)m=!1,se(t,254)&&se(r,254)&&!m?(y=l(t,254).a,v=Di(new To(nge(y)),tge(y)),o=2,a=new Me(v.a/b.Math.sqrt(v.a*v.a+v.b*v.b)*o,-v.b/b.Math.sqrt(v.a*v.a+v.b*v.b)*o),mr(f,a),T=l(r,254).a,N=Di(new To(nge(T)),tge(T)),o=v==N?-2:2,u=new Me(N.a/b.Math.sqrt(N.a*N.a+N.b*N.b)*o,-(N.b/b.Math.sqrt(N.a*N.a+N.b*N.b))*o),mr(f,u),m=!0):(f.a+=Bc(e,26)*UC+Bc(e,27)*HC-.5,f.b+=Bc(e,26)*UC+Bc(e,27)*HC-.5,p.a+=Bc(e,26)*UC+Bc(e,27)*HC-.5,p.b+=Bc(e,26)*UC+Bc(e,27)*HC-.5)}function qxn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(y=Syn(t),U=l(F(t,(Ue(),BI)),302),lo(y,new AYe(U)),G=l(F(t,mL),303),lo(y,new _Ye(G)),M=0,v=new je,u=new L3(y);u.a!=u.b;)a=l(Uj(u),37),nEt(e.c,a),N=l(F(a,(Ie(),cte)),16),M+=N.gc(),o=N.Jc(),Fe(v,new Co(a,o));for(r.Tg("Recursive hierarchical layout",M),R=l(l(ze(v,v.c.length-1),49).b,51);R.Ob();)for(m=new V(v);m.a<m.c.c.length;)for(p=l(q(m),49),N=l(p.b,51),f=l(p.a,37);N.Ob();)if(T=l(N.Pb(),43),se(T,456)){if(f.e)break;T.If(f,r.dh(1));break}else T.If(f,r.dh(1));r.Ug()}function F0e(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(u=0,f=0,y=new V(e.a);y.a<y.c.c.length;)p=l(q(y),9),u=b.Math.max(u,p.d.b),f=b.Math.max(f,p.d.c);for(m=new V(e.a);m.a<m.c.c.length;){switch(p=l(q(m),9),r=l(F(p,(Ue(),Kf)),259),r.g){case 1:M=0;break;case 2:M=1;break;case 5:M=.5;break;default:for(o=0,T=0,R=new V(p.j);R.a<R.c.c.length;)N=l(q(R),12),N.e.c.length==0||++o,N.g.c.length==0||++T;o+T==0?M=.5:M=T/(o+T)}G=e.c,v=p.o.a,J=(G.a-v)*M,M>.5?J-=f*2*(M-.5):M<.5&&(J+=u*2*(.5-M)),a=p.d.b,J<a&&(J=a),U=p.d.c,J>G.a-U-v&&(J=G.a-U-v),p.n.a=t+J}}function Vxn(e){var t,r,o,a,u;if(o=l(F(e,(Ue(),Cs)),166),o==(iu(),xp)){for(r=new Ft(Gt(si(e).a.Jc(),new D));an(r);)if(t=l(en(r),17),!_lt(t))throw Y(new _f(HX+z6(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(o==gm){for(u=new Ft(Gt(Or(e).a.Jc(),new D));an(u);)if(a=l(en(u),17),!_lt(a))throw Y(new _f(HX+z6(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function FC(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;if(e.e&&e.c.c<e.f)throw Y(new ts("Expected "+e.f+" phases to be configured; only found "+e.c.c));for(v=l(md(e.g),10),R=uh(e.f),u=v,p=0,y=u.length;p<y;++p)o=u[p],T=l(f6(e,o.g),173),T?Fe(R,l(Dgt(e,T),86)):R.c.push(null);for(M=new ci,ei(dr(Oa(dr(new vt(null,new St(R,16)),new dGe),new yXe(t)),new fGe),new vXe(M)),yu(M,e.a),r=new je,a=v,f=0,m=a.length;f<m;++f)o=a[f],li(r,ipt(e,AW(l(f6(M,o.g),22)))),N=l(ze(R,o.g),86),N&&Rt(r.c,N);return li(r,ipt(e,AW(l(f6(M,v[v.length-1].g+1),22)))),r}function Wxn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(N=new je,a=new je,U=null,p=t.Jc();p.Ob();)f=l(p.Pb(),15),u=new kJe(f.a),Rt(a.c,u),U&&(u.d=U,U.e=u),U=u;for(oe=g_n(e),v=0;v<a.c.length;++v){for(R=null,G=Ape((at(0,a.c.length),l(a.c[0],657))),r=null,o=Kr,T=1;T<e.b.c.length;++T)J=G?b.Math.abs(G.b-T):b.Math.abs(T-R.b)+1,M=R?b.Math.abs(T-R.b):J+1,M<J?(y=R,m=M):(y=G,m=J),re=(de=ce(le(F(e,(Ue(),JAe)))),oe[T]+b.Math.pow(m,de)),re<o&&(o=re,r=y,r.c=T),G&&T==G.b&&(R=G,G=Osn(G));r&&(Fe(N,Oe(r.c)),r.a=!0,Mgn(r))}return At(),qV(N.c,N.c.length,null),N}function $0e(e,t,r){var o,a,u,f,p,m;if(t.l==0&&t.m==0&&t.h==0)throw Y(new F9("divide by zero"));if(e.l==0&&e.m==0&&e.h==0)return r&&(D1=Ua(0,0,0)),Ua(0,0,0);if(t.h==ED&&t.m==0&&t.l==0)return r1n(e,r);if(m=!1,t.h>>19&&(t=k_(t),m=!m),f=I2n(t),u=!1,a=!1,o=!1,e.h==ED&&e.m==0&&e.l==0)if(a=!0,u=!0,f==-1)e=Hnt((m_(),JEe)),o=!0,m=!m;else return p=Ime(e,f),m&&$K(p),r&&(D1=Ua(0,0,0)),p;else e.h>>19&&(u=!0,e=k_(e),o=!0,m=!m);return f!=-1?Ipn(e,f,m,u,r):gbe(e,t)<0?(r&&(u?D1=k_(e):D1=Ua(e.l,e.m,e.h)),Ua(0,0,0)):AAn(o?e:Ua(e.l,e.m,e.h),t,m,u,a,r)}function UJ(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;if(f=e.e,m=t.e,f==0)return t;if(m==0)return e;if(u=e.d,p=t.d,u+p==2)return r=Gi(e.a[0],Bo),o=Gi(t.a[0],Bo),f==m?(v=_o(r,o),M=On(v),R=On(Rb(v,32)),R==0?new ap(f,M):new Ob(f,2,Z(X(Rn,1),Qn,30,15,[M,R]))):(jf(),N8(f<0?El(o,r):El(r,o),0)?E1(f<0?El(o,r):El(r,o)):I3(E1(cg(f<0?El(o,r):El(r,o)))));if(f==m)N=f,T=u>=p?QW(e.a,u,t.a,p):QW(t.a,p,e.a,u);else{if(a=u!=p?u>p?1:-1:Kge(e.a,t.a,u),a==0)return jf(),wI;a==1?(N=f,T=XW(e.a,u,t.a,p)):(N=m,T=XW(t.a,p,e.a,u))}return y=new Ob(N,T.length,T),F3(y),y}function Kxn(e,t){var r,o,a,u,f,p,m;if(!(e.g>t.f||t.g>e.f)){for(r=0,o=0,f=e.w.a.ec().Jc();f.Ob();)a=l(f.Pb(),12),JK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&++r;for(p=e.r.a.ec().Jc();p.Ob();)a=l(p.Pb(),12),JK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,t.g,t.f)&&--r;for(m=t.w.a.ec().Jc();m.Ob();)a=l(m.Pb(),12),JK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&++o;for(u=t.r.a.ec().Jc();u.Ob();)a=l(u.Pb(),12),JK(xs(Z(X($i,1),Pe,8,0,[a.i.n,a.n,a.a])).b,e.g,e.f)&&--o;r<o?new ZP(e,t,o-r):o<r?new ZP(t,e,r-o):(new ZP(t,e,0),new ZP(e,t,0))}}function Yxn(e){var t,r,o,a,u,f,p,m,y,v;for(t=new PG,r=new PG,y=wt(VD,(a=RC(e.b,Bn),a?In(Td((!a.b&&(a.b=new Zc((_t(),Do),zs,a)),a.b),Al)):null)),m=0;m<e.i;++m)p=l(e.g[m],182),se(p,104)?(f=l(p,20),f.Bb&Ws?(!(f.Bb&$f)||!y&&(u=RC(f,Bn),(u?In(Td((!u.b&&(u.b=new Zc((_t(),Do),zs,u)),u.b),G7)):null)==null))&&Tn(t,f):(v=Po(f),v&&v.Bb&Ws||(!(f.Bb&$f)||!y&&(o=RC(f,Bn),(o?In(Td((!o.b&&(o.b=new Zc((_t(),Do),zs,o)),o.b),G7)):null)==null))&&Tn(r,f))):(Mo(),l(p,69).vk()&&(p.qk()||(Tn(t,p),Tn(r,p))));gy(t),gy(r),e.a=l(t.g,258),l(r.g,258)}function RE(e,t,r){var o,a,u,f,p,m,y,v,T;if(Ur(t,r)>=0)return r;switch(f0(is(e,r))){case 2:{if(wt("",fg(e,r.ok()).ve())){if(m=WO(is(e,r)),p=c_(is(e,r)),v=Pme(e,t,m,p),v)return v;for(a=f0e(e,t),f=0,T=a.gc();f<T;++f)if(v=l(a.Xb(f),182),zme(oW(is(e,v)),m))return v}return null}case 4:{if(wt("",fg(e,r.ok()).ve())){for(o=r;o;o=Lun(is(e,o)))if(y=WO(is(e,o)),p=c_(is(e,o)),v=jme(e,t,y,p),v)return v;if(m=WO(is(e,r)),wt(lm,m))return ybe(e,t);for(u=AJ(e,t),f=0,T=u.gc();f<T;++f)if(v=l(u.Xb(f),182),zme(oW(is(e,v)),m))return v}return null}default:return null}}function Jxn(e,t,r){var o,a,u,f,p,m,y,v;if(r.gc()==0)return!1;if(p=(Mo(),l(t,69).vk()),u=p?r:new w0(r.gc()),wp(e.e,t)){if(t.Qi())for(y=r.Jc();y.Ob();)m=y.Pb(),qF(e,t,m,se(t,104)&&(l(t,20).Bb&Io)!=0)||(a=gh(t,m),u.Gc(a)||u.Ec(a));else if(!p)for(y=r.Jc();y.Ob();)m=y.Pb(),a=gh(t,m),u.Ec(a)}else{if(r.gc()>1)throw Y(new jt(YD));for(v=za(e.e.Ah(),t),o=l(e.g,123),f=0;f<e.i;++f)if(a=o[f],v.$l(a.Jk())){if(r.Gc(p?a:a.kd()))return!1;for(y=r.Jc();y.Ob();)m=y.Pb(),l(SE(e,f,p?l(m,76):gh(t,m)),76);return!0}p||(a=gh(t,r.Jc().Pb()),u.Ec(a))}return ti(e,u)}function Xxn(e,t){var r,o,a,u,f,p,m,y,v;for(v=new Ar,p=(y=new Zh(e.c).a.vc().Jc(),new Pw(y));p.a.Ob();)u=(a=l(p.a.Pb(),45),l(a.kd(),459)),u.b==0&&Wr(v,u,v.c.b,v.c);for(;v.b!=0;)for(u=l(v.b==0?null:(cn(v.b!=0),Vu(v,v.a.a)),459),u.a==null&&(u.a=0),o=new V(u.d);o.a<o.c.c.length;)r=l(q(o),659),r.b.a==null?r.b.a=ce(u.a)+r.a:t.o==(zd(),Em)?r.b.a=b.Math.min(ce(r.b.a),ce(u.a)+r.a):r.b.a=b.Math.max(ce(r.b.a),ce(u.a)+r.a),--r.b.b,r.b.b==0&&Gn(v,r.b);for(f=(m=new Zh(e.c).a.vc().Jc(),new Pw(m));f.a.Ob();)u=(a=l(f.a.Pb(),45),l(a.kd(),459)),t.i[u.c.p]=u.a}function Zxn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M;for(v=r+t.c.c.a,R=new V(t.j);R.a<R.c.c.length;){if(N=l(q(R),12),a=xs(Z(X($i,1),Pe,8,0,[N.i.n,N.n,N.a])),t.k==(Ht(),_a)&&(p=l(F(N,(Ie(),wr)),12),a.a=xs(Z(X($i,1),Pe,8,0,[p.i.n,p.n,p.a])).a,t.n.a=a.a),f=new Me(0,a.b),N.j==(He(),Qt))f.a=v;else if(N.j==Wt)f.a=r;else continue;if(M=b.Math.abs(a.a-f.a),!(M<=o&&!i0n(t)))for(u=N.g.c.length+N.e.c.length>1,y=new Vd(N.b);Ts(y.a)||Ts(y.b);)m=l(Ts(y.a)?q(y.a):q(y.b),17),T=m.c==N?m.d:m.c,b.Math.abs(xs(Z(X($i,1),Pe,8,0,[T.i.n,T.n,T.a])).b-f.b)>1&&OSn(e,m,f,u,N)}}function Qxn(e){var t,r,o,a,u,f;if(a=new Ji(e.e,0),o=new Ji(e.a,0),e.d)for(r=0;r<e.b;r++)cn(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(r=0;r<e.b-1;r++)cn(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),Mc(a);for(t=ce((cn(a.b<a.d.gc()),le(a.d.Xb(a.c=a.b++))));e.f-t>LZ;){for(u=t,f=0;b.Math.abs(t-u)<LZ;)++f,t=ce((cn(a.b<a.d.gc()),le(a.d.Xb(a.c=a.b++)))),cn(o.b<o.d.gc()),o.d.Xb(o.c=o.b++);f<e.b&&(cn(a.b>0),a.a.Xb(a.c=--a.b),l_n(e,e.b-f,u,o,a),cn(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),cn(o.b>0),o.a.Xb(o.c=--o.b)}if(!e.d)for(r=0;r<e.b-1;r++)cn(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),Mc(a);e.d=!0,e.c=!0}function Tr(){Tr=K,K3e=(cle(),Ks).b,kLt=l(ie(Ne(Ks.b),0),38),km=l(ie(Ne(Ks.b),1),38),xLt=l(ie(Ne(Ks.b),2),38),v2=Ks.bb,l(ie(Ne(Ks.bb),0),38),l(ie(Ne(Ks.bb),1),38),E2=Ks.fb,M4=l(ie(Ne(Ks.fb),0),38),l(ie(Ne(Ks.fb),1),38),l(ie(Ne(Ks.fb),2),20),hw=Ks.qb,$Lt=l(ie(Ne(Ks.qb),0),38),l(ie(Ne(Ks.qb),1),20),l(ie(Ne(Ks.qb),2),20),h5=l(ie(Ne(Ks.qb),3),38),p5=l(ie(Ne(Ks.qb),4),38),j4=l(ie(Ne(Ks.qb),6),38),P4=l(ie(Ne(Ks.qb),5),20),NLt=Ks.j,CLt=Ks.k,ILt=Ks.q,RLt=Ks.w,OLt=Ks.B,DLt=Ks.A,LLt=Ks.C,MLt=Ks.D,PLt=Ks._,jLt=Ks.cb,FLt=Ks.hb}function ekn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;e.c=0,e.b=0,o=2*t.c.a.c.length+1;e:for(T=r.Jc();T.Ob();){if(v=l(T.Pb(),12),p=v.j==(He(),Vt)||v.j==dn,R=0,p){if(N=l(F(v,(Ie(),Nc)),9),!N)continue;R+=STn(e,o,v,N)}else{for(y=new V(v.g);y.a<y.c.c.length;)if(m=l(q(y),17),a=m.d,a.i.c==t.c){Fe(e.a,v);continue e}else R+=e.g[a.p];for(f=new V(v.e);f.a<f.c.c.length;)if(u=l(q(f),17),a=u.c,a.i.c==t.c){Fe(e.a,v);continue e}else R-=e.g[a.p]}v.e.c.length+v.g.c.length>0?(e.f[v.p]=R/(v.e.c.length+v.g.c.length),e.c=b.Math.min(e.c,e.f[v.p]),e.b=b.Math.max(e.b,e.f[v.p])):p&&(e.f[v.p]=R)}}function tkn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function nkn(e,t,r){var o,a,u,f;for(r.Tg("Graph transformation ("+e.a+")",1),f=jb(t.a),u=new V(t.b);u.a<u.c.c.length;)a=l(q(u),26),li(f,a.a);if(o=l(F(t,(Ue(),bAe)),424),o==(m6(),Y$))switch(l(F(t,xu),87).g){case 2:$3(t,f);break;case 3:dC(t,f);break;case 4:e.a==(E_(),iL)?(dC(t,f),BW(t,f)):(BW(t,f),dC(t,f))}else if(e.a==(E_(),iL))switch(l(F(t,xu),87).g){case 2:$3(t,f),BW(t,f);break;case 3:dC(t,f),$3(t,f);break;case 4:$3(t,f),dC(t,f)}else switch(l(F(t,xu),87).g){case 2:$3(t,f),BW(t,f);break;case 3:$3(t,f),dC(t,f);break;case 4:dC(t,f),$3(t,f)}r.Ug()}function rkn(e){var t,r,o,a,u,f,p,m;for(u=new V(e.a.b);u.a<u.c.c.length;)a=l(q(u),84),a.b.c=a.g.c,a.b.d=a.g.d;for(m=new Me(Kr,Kr),t=new Me(Li,Li),o=new V(e.a.b);o.a<o.c.c.length;)r=l(q(o),84),m.a=b.Math.min(m.a,r.g.c),m.b=b.Math.min(m.b,r.g.d),t.a=b.Math.max(t.a,r.g.c+r.g.b),t.b=b.Math.max(t.b,r.g.d+r.g.a);for(p=SP(e.c).a.nc();p.Ob();)f=l(p.Pb(),49),r=l(f.b,84),m.a=b.Math.min(m.a,r.g.c),m.b=b.Math.min(m.b,r.g.d),t.a=b.Math.max(t.a,r.g.c+r.g.b),t.b=b.Math.max(t.b,r.g.d+r.g.a);e.d=z8(new Me(m.a,m.b)),e.e=Di(new Me(t.a,t.b),m),e.a.a.c.length=0,e.a.b.c.length=0}function Gvt(e,t,r){var o,a,u,f,p,m;for(Gu(t,(QS(),pk))?m=ce(le(ve(t,pk))):m=r,a=m+t.f+b.Math.max(l(ve(t,(_n(),Cp)),125).a,e.b),p=new tn((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e));p.e!=p.i.gc();)if(u=l(rn(p),74),o=l(ie((!u.c&&(u.c=new Tt(pn,u,5,8)),u.c),0),19),Gu(o,pk)&&a>ce(le(ve(o,pk)))+l(ve(o,Cp),125).d)throw Y(new _f("Invalid vertical constraints. Node "+o.k+" has a vertical constraint that is too low for its ancestors."));for(f=new tn((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e));f.e!=f.i.gc();)u=l(rn(f),74),o=l(ie((!u.c&&(u.c=new Tt(pn,u,5,8)),u.c),0),19),Gvt(e,o,a)}function ikn(e){q3();var t,r,o,a,u,f,p;for(p=new NZe,r=new V(e);r.a<r.c.c.length;)t=l(q(r),148),(!p.b||t.c>=p.b.c)&&(p.b=t),(!p.c||t.c<=p.c.c)&&(p.d=p.c,p.c=t),(!p.e||t.d>=p.e.d)&&(p.e=t),(!p.f||t.d<=p.f.d)&&(p.f=t);return o=new sF((x_(),X0)),e6(e,tNt,new Ls(Z(X(nL,1),It,378,0,[o]))),f=new sF(Uy),e6(e,eNt,new Ls(Z(X(nL,1),It,378,0,[f]))),a=new sF(By),e6(e,Qkt,new Ls(Z(X(nL,1),It,378,0,[a]))),u=new sF(VE),e6(e,Zkt,new Ls(Z(X(nL,1),It,378,0,[u]))),hJ(o.c,X0),hJ(a.c,By),hJ(u.c,VE),hJ(f.c,Uy),p.a.c.length=0,li(p.a,o.c),li(p.a,ou(a.c)),li(p.a,u.c),li(p.a,ou(f.c)),p}function okn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;for(t.Tg(cTt,1),R=ce(le(ve(e,(yh(),sv)))),f=ce(le(ve(e,(ef(),l4)))),p=l(ve(e,u4),100),mge((!e.a&&(e.a=new ke(En,e,10,11)),e.a)),v=Pvt((!e.a&&(e.a=new ke(En,e,10,11)),e.a),R,f),!e.a&&(e.a=new ke(En,e,10,11)),y=new V(v);y.a<y.c.c.length;)for(m=l(q(y),189),a=new V(m.a);a.a<a.c.c.length;)o=l(q(a),175),N=new Phe(o.s,o.t,ce(le(ve(e,l4)))),Tge(N,o),Fe(m.d,N);T=gbt(v,f),M=b.Math.max(T.a,ce(le(ve(e,c4)))-(p.b+p.c)),u=b.Math.max(T.b,ce(le(ve(e,VB)))-(p.d+p.a)),r=u-T.b,Vn(e,a4,r),Vn(e,$T,M),Vn(e,dk,u+r),Vn(e,WB,v),t.Ug()}function skn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U;for(y=new ch,v=new ch,M=new ch,U=new ch,m=ce(le(F(t,(Ue(),vm)))),u=ce(le(F(t,od))),p=new V(r);p.a<p.c.c.length;)if(f=l(q(p),9),T=l(F(f,(Ie(),Hs)),64),T==(He(),Vt))for(v.a.yc(f,v),a=new Ft(Gt(si(f).a.Jc(),new D));an(a);)o=l(en(a),17),gi(y,o.c.i);else if(T==dn)for(U.a.yc(f,U),a=new Ft(Gt(si(f).a.Jc(),new D));an(a);)o=l(en(a),17),gi(M,o.c.i);y.a.gc()!=0&&(N=new cW(2,u),R=z0e(N,t,y,v,-m-t.c.b),R>0&&(e.a=m+(R-1)*u,t.c.b+=e.a,t.f.b+=e.a)),M.a.gc()!=0&&(N=new cW(1,u),R=z0e(N,t,M,U,t.f.b+m-t.c.b),R>0&&(t.f.b+=m+(R-1)*u))}function qvt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(v=ce(le(F(e,(Ue(),ym)))),o=ce(le(F(e,VAe))),N=new DG,Te(N,ym,v+o),y=t,J=y.d,U=y.c.i,re=y.d.i,G=sde(U.c),oe=sde(re.c),a=new je,T=G;T<=oe;T++)p=new Xd(e),Jh(p,(Ht(),bi)),Te(p,(Ie(),wr),y),Te(p,Zr,(qi(),fa)),Te(p,SB,N),R=l(ze(e.b,T),26),T==G?S1(p,R.a.c.length-r,R):Oi(p,R),de=ce(le(F(y,_g))),de<0&&(de=0,Te(y,_g,de)),p.o.b=de,M=b.Math.floor(de/2),f=new aa,Ii(f,(He(),Wt)),As(f,p),f.n.b=M,m=new aa,Ii(m,Qt),As(m,p),m.n.b=M,Yi(y,f),u=new p0,qs(u,y),Te(u,as,null),mo(u,m),Yi(u,J),a0n(p,y,u),Rt(a.c,u),y=u;return a}function akn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;if(U=t.b.c.length,!(U<3)){for(R=we(Rn,Qn,30,U,15,1),T=0,v=new V(t.b);v.a<v.c.c.length;)y=l(q(v),26),R[T++]=y.a.c.length;for(N=new Ji(t.b,2),o=1;o<U-1;o++)for(r=(cn(N.b<N.d.gc()),l(N.d.Xb(N.c=N.b++),26)),M=new V(r.a),u=0,p=0,m=0;m<R[o+1];m++)if(oe=l(q(M),9),m==R[o+1]-1||Zbe(e,oe,o+1,o)){for(f=R[o]-1,Zbe(e,oe,o+1,o)&&(f=e.c.e[l(l(l(ze(e.c.b,oe.p),16).Xb(0),49).a,9).p]);p<=m;){if(re=l(ze(r.a,p),9),!Zbe(e,re,o+1,o))for(J=l(ze(e.c.b,re.p),16).Jc();J.Ob();)G=l(J.Pb(),49),a=e.c.e[l(G.a,9).p],(a<u||a>f)&&gi(e.b,l(G.b,17));++p}u=f}}}function HJ(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(m=l(bg(e,(He(),Wt)).Jc().Pb(),12).e,R=l(bg(e,Qt).Jc().Pb(),12).g,p=m.c.length,oe=qd(l(ze(e.j,0),12));p-- >0;){for(U=(at(0,m.c.length),l(m.c[0],17)),a=(at(0,R.c.length),l(R.c[0],17)),re=a.d.e,u=_s(re,a,0),oln(U,a.d,u),mo(a,null),Yi(a,null),M=U.a,t&&Gn(M,new To(oe)),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),Gn(M,new To(r));for(J=U.b,N=new V(a.b);N.a<N.c.c.length;)T=l(q(N),70),Rt(J.c,T);if(G=l(F(U,(Ue(),as)),79),f=l(F(a,as),79),f)for(G||(G=new Lc,Te(U,as,G)),v=An(f,0);v.b!=v.d.c;)y=l(Sn(v),8),Gn(G,new To(y))}}function ckn(e,t){var r,o,a,u,f,p,m,y;for(t.Tg("Sort By Input Model "+F(e,(Ue(),Ch)),1),u=0,a=new V(e.b);a.a<a.c.c.length;){for(o=l(q(a),26),o.p=u,y=u==0?0:u-1,m=l(ze(e.b,y),26),r=new xge(e,m,l(F(e,Ch),270),l(F(e,gte),353),(l(F(e,FI),330),!0)),swt(o.a,r),p=new V(o.a);p.a<p.c.c.length;)f=l(q(p),9),me(F(f,Zr))!==me((qi(),_m))&&me(F(f,Zr))!==me(fa)&&(At(),ki(f.j,new xgt(e,m,l(F(e,Ch),270),bbt(f),Ye(Ke(F(e,bte))))),t.ah("Node "+f+" ports: "+f.j));r=new xge(e,m,l(F(e,Ch),270),l(F(e,gte),353),(l(F(e,FI),330),!1)),swt(o.a,r),t.ah("Layer "+u+": "+o),++u}t.Ug()}function B0e(e,t){var r;if(t==null||wt(t,tc)||t.length==0&&e.k!=(_1(),UT))return null;switch(e.k.g){case 1:return tF(t,Ix)?(Lt(),Bx):tF(t,QZ)?(Lt(),L1):null;case 2:try{return Oe(Eu(t,Zi,ar))}catch(o){if(o=ui(o),se(o,133))return null;throw Y(o)}case 4:try{return Sy(t)}catch(o){if(o=ui(o),se(o,133))return null;throw Y(o)}case 3:return t;case 5:return Bpt(e),b0t(e,t);case 6:return Bpt(e),l2n(e,e.a,t);case 7:try{return r=gEn(e),r.ag(t),r}catch(o){if(o=ui(o),se(o,33))return null;throw Y(o)}default:throw Y(new ts("Invalid type set for this layout option."))}}function U0e(e){var t;switch(e.d){case 1:{if(e.Qj())return e.o!=-2;break}case 2:{if(e.Qj())return e.o==-2;break}case 3:case 5:case 4:case 6:case 7:return e.o>-2;default:return!1}switch(t=e.Pj(),e.p){case 0:return t!=null&&Ye(Ke(t))!=f3(e.k,0);case 1:return t!=null&&l(t,224).a!=On(e.k)<<24>>24;case 2:return t!=null&&l(t,183).a!=(On(e.k)&Ti);case 6:return t!=null&&f3(l(t,192).a,e.k);case 5:return t!=null&&l(t,15).a!=On(e.k);case 7:return t!=null&&l(t,193).a!=On(e.k)<<16>>16;case 3:return t!=null&&ce(le(t))!=e.j;case 4:return t!=null&&l(t,165).a!=e.j;default:return t==null?e.n!=null:!gr(t,e.n)}}function dD(e,t,r){var o,a,u,f;return e.ml()&&e.ll()&&(f=tW(e,l(r,57)),me(f)!==me(r))?(e.vj(t),e.Bj(t,wdt(e,t,f)),e.$k()&&(u=(a=l(r,52),e.kl()?e.il()?a.Qh(e.b,Po(l(kt(Ja(e.b),e.Jj()),20)).n,l(kt(Ja(e.b),e.Jj()).Fk(),29).ik(),null):a.Qh(e.b,Ur(a.Ah(),Po(l(kt(Ja(e.b),e.Jj()),20))),null,null):a.Qh(e.b,-1-e.Jj(),null,null)),!l(f,52).Mh()&&(u=(o=l(f,52),e.kl()?e.il()?o.Oh(e.b,Po(l(kt(Ja(e.b),e.Jj()),20)).n,l(kt(Ja(e.b),e.Jj()).Fk(),29).ik(),u):o.Oh(e.b,Ur(o.Ah(),Po(l(kt(Ja(e.b),e.Jj()),20))),null,u):o.Oh(e.b,-1-e.Jj(),null,u))),u&&u.mj()),Jc(e.b)&&e.Hj(e.Gj(9,r,f,t,!1)),f):r}function Vvt(e){var t,r,o,a,u,f,p,m,y,v;for(o=new je,f=new V(e.e.a);f.a<f.c.c.length;){for(a=l(q(f),126),v=0,a.k.c.length=0,r=new V(yE(a));r.a<r.c.c.length;)t=l(q(r),220),t.f&&(Fe(a.k,t),++v);v==1&&Rt(o.c,a)}for(u=new V(o);u.a<u.c.c.length;)for(a=l(q(u),126);a.k.c.length==1;){for(y=l(q(new V(a.k)),220),e.b[y.c]=y.g,p=y.d,m=y.e,r=new V(yE(a));r.a<r.c.c.length;)t=l(q(r),220),gr(t,y)||(t.f?p==t.d||m==t.e?e.b[y.c]-=e.b[t.c]-t.g:e.b[y.c]+=e.b[t.c]-t.g:a==p?t.d==a?e.b[y.c]+=t.g:e.b[y.c]-=t.g:t.d==a?e.b[y.c]-=t.g:e.b[y.c]+=t.g);Xa(p.k,y),Xa(m.k,y),p==a?a=y.e:a=y.d}}function Wvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(r=l(Ko(e.b,t),129),m=l(l(yr(e.r,t),24),85),m.dc()){r.n.b=0,r.n.c=0;return}for(y=e.u.Gc((xc(),Rp)),f=0,p=m.Jc(),v=null,T=0,N=0;p.Ob();)o=l(p.Pb(),116),a=ce(le(o.b.mf((G8(),w$)))),u=o.b.Kf().a,e.A.Gc((su(),xm))&&wyt(e,t),v?(R=N+v.d.c+e.w+o.d.b,f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(T-a)<=nf||T==a||isNaN(T)&&isNaN(a)?0:R/(a-T)))):e.C&&e.C.b>0&&(f=b.Math.max(f,xht(e.C.b+o.d.b,a))),v=o,T=a,N=u;e.C&&e.C.c>0&&(R=N+e.C.c,y&&(R+=v.d.c),f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(T-1)<=nf||T==1||isNaN(T)&&isNaN(1)?0:R/(1-T)))),r.n.b=0,r.a.a=f}function Kvt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(r=l(Ko(e.b,t),129),m=l(l(yr(e.r,t),24),85),m.dc()){r.n.d=0,r.n.a=0;return}for(y=e.u.Gc((xc(),Rp)),f=0,e.A.Gc((su(),xm))&&yyt(e,t),p=m.Jc(),v=null,N=0,T=0;p.Ob();)o=l(p.Pb(),116),u=ce(le(o.b.mf((G8(),w$)))),a=o.b.Kf().b,v?(R=T+v.d.a+e.w+o.d.d,f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(N-u)<=nf||N==u||isNaN(N)&&isNaN(u)?0:R/(u-N)))):e.C&&e.C.d>0&&(f=b.Math.max(f,xht(e.C.d+o.d.d,u))),v=o,N=u,T=a;e.C&&e.C.a>0&&(R=T+e.C.a,y&&(R+=v.d.a),f=b.Math.max(f,(Ud(),Yl(nf),b.Math.abs(N-1)<=nf||N==1||isNaN(N)&&isNaN(1)?0:R/(1-N)))),r.n.d=0,r.a.b=f}function Yvt(e,t,r){var o,a,u,f,p,m;for(this.g=e,p=t.d.length,m=r.d.length,this.d=we(Nh,vg,9,p+m,0,1),f=0;f<p;f++)this.d[f]=t.d[f];for(u=0;u<m;u++)this.d[p+u]=r.d[u];if(t.e){if(this.e=UO(t.e),this.e.Kc(r),r.e)for(a=r.e.Jc();a.Ob();)o=l(a.Pb(),242),o!=t&&(this.e.Gc(o)?--o.c:this.e.Ec(o))}else r.e&&(this.e=UO(r.e),this.e.Kc(t));this.f=t.f+r.f,this.a=t.a+r.a,this.a>0?bK(this,this.f/this.a):Hd(t.g,t.d[0]).a!=null&&Hd(r.g,r.d[0]).a!=null?bK(this,(ce(Hd(t.g,t.d[0]).a)+ce(Hd(r.g,r.d[0]).a))/2):Hd(t.g,t.d[0]).a!=null?bK(this,Hd(t.g,t.d[0]).a):Hd(r.g,r.d[0]).a!=null&&bK(this,Hd(r.g,r.d[0]).a)}function ukn(e,t,r,o,a,u,f,p){var m,y,v,T,N,R,M,U,G,J;if(M=!1,y=Gme(r.q,t.f+t.b-r.q.f),R=o.f>t.b&&p,J=a-(r.q.e+y-f),T=(m=MC(o,J,!1),m.a),R&&T>o.f)return!1;if(R){for(N=0,G=new V(t.d);G.a<G.c.c.length;)U=l(q(G),320),N+=Gme(U,o.f)+f;J=a-N}return J<o.g||(v=u==e.c.length-1&&J>=(at(u,e.c.length),l(e.c[u],189)).e,!R&&T>t.b&&!v)?!1:((v||R||T<=t.b)&&(v&&T>t.b?(r.d=T,c6(r,Tmt(r,T))):(Mbt(r.q,y),r.c=!0),c6(o,a-(r.s+r.r)),U6(o,r.q.e+r.q.d,t.f),vj(t,o),e.c.length>u&&(q6((at(u,e.c.length),l(e.c[u],189)),o),(at(u,e.c.length),l(e.c[u],189)).a.c.length==0&&sg(e,u)),M=!0),M)}function lkn(e){var t,r,o;for(mE(X1,Z(X(qE,1),It,139,0,[new Wce])),r=new Qce(e),o=0;o<r.a.length;++o)t=uy(r,o).re().a,wt(t,"layered")?mE(X1,Z(X(qE,1),It,139,0,[new jWe])):wt(t,"force")?mE(X1,Z(X(qE,1),It,139,0,[new EWe])):wt(t,"stress")?mE(X1,Z(X(qE,1),It,139,0,[new AWe])):wt(t,"mrtree")?mE(X1,Z(X(qE,1),It,139,0,[new rKe])):wt(t,"radial")?mE(X1,Z(X(qE,1),It,139,0,[new ZWe])):wt(t,"sporeOverlap")||wt(t,"sporeCompaction")?mE(X1,Z(X(qE,1),It,139,0,[new lKe])):wt(t,"rectpacking")?mE(X1,Z(X(qE,1),It,139,0,[new sKe])):wt(t,"vertiflex")&&mE(X1,Z(X(qE,1),It,139,0,[new fKe]))}function dkn(e,t){var r,o,a,u,f,p,m,y,v,T;for(e.a=new zst(_pn(E4)),o=new V(t.a);o.a<o.c.c.length;){for(r=l(q(o),847),p=new bY(Z(X(hee,1),It,84,0,[])),Fe(e.a.a,p),y=new V(r.d);y.a<y.c.c.length;)m=l(q(y),120),v=new Dde(e,m),G0e(v,l(F(r.c,(Ie(),_p)),24)),ma(e.g,r)||(Jn(e.g,r,new Me(m.c,m.d)),Jn(e.f,r,v)),Fe(e.a.b,v),$W(p,v);for(f=new V(r.b);f.a<f.c.c.length;)u=l(q(f),598),v=new Dde(e,u.Bf()),Jn(e.b,u,new Co(p,v)),G0e(v,l(F(r.c,(Ie(),_p)),24)),u.zf()&&(T=new q1e(e,u.zf(),1),G0e(T,l(F(r.c,_p),24)),a=new bY(Z(X(hee,1),It,84,0,[])),$W(a,T),yt(e.c,u.yf(),new Co(p,T)))}return e.a}function fkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;for(r.Tg("Breadth-first cycle removal",1),e.c=t,T=t.a,e.a=new Ar,e.e=new pi,e.d=new pi,e.f=we(cc,Ad,30,T.c.length,16,1),e.b=new je,p=0,v=new V(T);v.a<v.c.c.length;)y=l(q(v),9),y.p=p,sy(si(y))&&gi(e.e,y),sy(Or(y))&&gi(e.d,y),++p;for(R=e.e.a.ec().Jc();R.Ob();)N=l(R.Pb(),9),Gn(e.a,N),yhe(e);for(yhe(e),o=!0;o;){for(o=!1,f=0;f<T.c.length;f++)if(!e.f[f]){m=(at(f,T.c.length),l(T.c[f],9)),Gn(e.a,m),o=!0;break}yhe(e)}for(u=new V(e.b);u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(t,(Ie(),CT),(Lt(),!0));e.e=null,e.f=null,e.a=null,e.b=null,r.Ug()}function hkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(f=r.Jk(),se(f,104)&&l(f,20).Bb&Io&&(N=l(r.kd(),52),U=y1(e.e,N),U!=N)){if(v=gh(f,U),w3(e,t,WY(e,t,v)),T=null,Jc(e.e)&&(o=RE((mc(),ao),e.e.Ah(),f),o!=kt(e.e.Ah(),e.c))){for(G=za(e.e.Ah(),f),p=0,u=l(e.g,123),m=0;m<t;++m)a=u[m],G.$l(a.Jk())&&++p;T=new GW(e.e,9,o,N,U,p,!1),T.lj(new up(e.e,9,e.c,r,v,t,!1))}return M=l(f,20),R=Po(M),R?(T=N.Qh(e.e,Ur(N.Ah(),R),null,T),T=l(U,52).Oh(e.e,Ur(U.Ah(),R),null,T)):M.Bb&Ws&&(y=-1-Ur(e.e.Ah(),M),T=N.Qh(e.e,y,null,null),!l(U,52).Mh()&&(T=l(U,52).Oh(e.e,y,null,T))),T&&T.mj(),v}return r}function Jvt(e){var t;this.a=e,t=(Ht(),Z(X(yee,1),Ce,252,0,[Xr,bi,yi,_a,ta,af,rL,AI])).length,this.b=Xw(cre,[Pe,rve],[597,149],0,[t,t],2),this.c=Xw(cre,[Pe,rve],[597,149],0,[t,t],2),xW(this,Xr,(Ue(),vm),rv),Z3(this,Xr,bi,ym,B1),KO(this,Xr,_a,ym),KO(this,Xr,yi,ym),Z3(this,Xr,ta,vm,rv),xW(this,bi,od,tv),KO(this,bi,_a,od),KO(this,bi,yi,od),Z3(this,bi,ta,ym,B1),trt(this,_a,od),KO(this,_a,yi,od),KO(this,_a,ta,Nte),trt(this,yi,GI),Z3(this,yi,ta,sk,ok),xW(this,ta,od,od),xW(this,af,od,tv),Z3(this,af,Xr,ym,B1),Z3(this,af,ta,ym,B1),Z3(this,af,bi,ym,B1)}function pkn(e,t,r,o,a,u){var f;if(!(t==null||!cY(t,k3e,N3e)))throw Y(new jt("invalid scheme: "+t));if(!e&&!(r!=null&&Nf(r,Qa(35))==-1&&r.length>0&&(Jt(0,r.length),r.charCodeAt(0)!=47)))throw Y(new jt("invalid opaquePart: "+r));if(e&&!(t!=null&&VN(SU,t.toLowerCase()))&&!(r==null||!cY(r,O4,D4)))throw Y(new jt(GAt+r));if(e&&t!=null&&VN(SU,t.toLowerCase())&&!rwn(r))throw Y(new jt(GAt+r));if(!l1n(o))throw Y(new jt("invalid device: "+o));if(!ogn(a))throw f=a==null?"invalid segments: null":"invalid segment: "+Zpn(a),Y(new jt(f));if(!(u==null||Nf(u,Qa(35))==-1))throw Y(new jt("invalid query: "+u))}function Xvt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;if(N=new To(e.o),J=t.a/N.a,p=t.b/N.b,U=t.a-N.a,u=t.b-N.b,r)for(a=me(F(e,(Ue(),Zr)))===me((qi(),fa)),M=new V(e.j);M.a<M.c.c.length;)switch(R=l(q(M),12),R.j.g){case 1:a||(R.n.a*=J);break;case 2:R.n.a+=U,a||(R.n.b*=p);break;case 3:a||(R.n.a*=J),R.n.b+=u;break;case 4:a||(R.n.b*=p)}for(y=new V(e.b);y.a<y.c.c.length;)m=l(q(y),70),v=m.n.a+m.o.a/2,T=m.n.b+m.o.b/2,G=v/N.a,f=T/N.b,G+f>=1&&(G-f>0&&T>=0?(m.n.a+=U,m.n.b+=u*f):G-f<0&&v>=0&&(m.n.a+=U*G,m.n.b+=u));e.o.a=t.a,e.o.b=t.b,Te(e,(Ue(),mm),(su(),o=l(md(N4),10),new Hu(o,l(Gl(o,o.length),10),0)))}function gkn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;if(r.Tg("Network simplex layering",1),e.b=t,J=l(F(t,(Ue(),qI)),15).a*4,G=e.b.a,G.c.length<1){r.Ug();return}for(u=sAn(e,G),U=null,a=An(u,0);a.b!=a.d.c;){for(o=l(Sn(a),16),p=J*bo(b.Math.sqrt(o.gc())),f=vAn(o),_J(tle(ZQt(nle(MV(f),p),U),!0),r.dh(1)),N=e.b.b,M=new V(f.a);M.a<M.c.c.length;){for(R=l(q(M),126);N.c.length<=R.e;)Nb(N,N.c.length,new ra(e.b));v=l(R.f,9),Oi(v,l(ze(N,R.e),26))}if(u.b>1)for(U=we(Rn,Qn,30,e.b.b.c.length,15,1),T=0,y=new V(e.b.b);y.a<y.c.c.length;)m=l(q(y),26),U[T++]=m.a.c.length}G.c.length=0,e.a=null,e.b=null,e.c=null,r.Ug()}function bkn(e,t){var r,o,a,u,f,p,m,y,v,T;for(v=new je,T=new oE,u=null,a=0,o=0;o<t.length;++o)switch(r=t[o],Upn(u,r)&&(a=S1e(e,T,v,OB,a)),br(r,(Ie(),tw))&&(u=l(F(r,tw),9)),r.k.g){case 0:for(m=ude(_S(ks(r,(He(),Vt)),new Bce));EK(m);)f=l(Bpe(m),12),e.d[f.p]=a++,Rt(v.c,f);for(a=S1e(e,T,v,OB,a),y=ude(_S(ks(r,dn),new Bce));EK(y);)f=l(Bpe(y),12),e.d[f.p]=a++,Rt(v.c,f);break;case 3:ks(r,C_e).dc()||(f=l(ks(r,C_e).Xb(0),12),e.d[f.p]=a++,Rt(v.c,f)),ks(r,OB).dc()||d1(T,r);break;case 1:for(p=ks(r,(He(),Wt)).Jc();p.Ob();)f=l(p.Pb(),12),e.d[f.p]=a++,Rt(v.c,f);ks(r,Qt).Ic(new Mtt(T,r))}return S1e(e,T,v,OB,a),v}function H0e(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;if(t==null||t.length==0)return null;if(u=l(wa(e.f,t),21),!u){for(a=(R=new Zh(e.d).a.vc().Jc(),new Pw(R));a.a.Ob();)if(r=(f=l(a.a.Pb(),45),l(f.kd(),21)),p=r.f,M=t.length,wt(p.substr(p.length-M,M),t)&&(t.length==p.length||uo(p,p.length-t.length-1)==46)){if(u)return null;u=r}if(!u){for(o=(N=new Zh(e.d).a.vc().Jc(),new Pw(N));o.a.Ob();)if(r=(f=l(o.a.Pb(),45),l(f.kd(),21)),T=r.g,T!=null){for(m=T,y=0,v=m.length;y<v;++y)if(p=m[y],M=t.length,wt(p.substr(p.length-M,M),t)&&(t.length==p.length||uo(p,p.length-t.length-1)==46)){if(u)return null;u=r}}}u&&rs(e.f,t,u)}return u}function mkn(e,t){var r,o,a,u,f;for(r=new lS,f=!1,u=0;u<t.length;u++){if(o=(Jt(u,t.length),t.charCodeAt(u)),o==32){for(rF(e,r,0),r.a+=" ",rF(e,r,0);u+1<t.length&&(Jt(u+1,t.length),t.charCodeAt(u+1)==32);)++u;continue}if(f){o==39?u+1<t.length&&(Jt(u+1,t.length),t.charCodeAt(u+1)==39)?(r.a+=String.fromCharCode(o),++u):f=!1:r.a+=String.fromCharCode(o);continue}if(Nf("GyMLdkHmsSEcDahKzZv",Qa(o))>0){rF(e,r,0),r.a+=String.fromCharCode(o),a=G1n(t,u),rF(e,r,a),u+=a-1;continue}o==39?u+1<t.length&&(Jt(u+1,t.length),t.charCodeAt(u+1)==39)?(r.a+="'",++u):f=!0:r.a+=String.fromCharCode(o)}rF(e,r,0),Awn(e)}function wkn(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(oe=Sot(e),m=new je,u=e.c.length,y=u-1,v=u+1;oe.a.gc()!=0;){for(;r.b!=0;)J=(cn(r.b!=0),l(Vu(r,r.a.a),117)),oe.a.Ac(J)!=null,J.g=y--,N0e(J,t,r,o);for(;t.b!=0;)re=(cn(t.b!=0),l(Vu(t,t.a.a),117)),oe.a.Ac(re)!=null,re.g=v++,N0e(re,t,r,o);for(p=Zi,U=oe.a.ec().Jc();U.Ob();){if(M=l(U.Pb(),117),!o&&M.b>0&&M.a<=0){m.c.length=0,Rt(m.c,M);break}R=M.i-M.d,R>=p&&(R>p&&(m.c.length=0,p=R),Rt(m.c,M))}m.c.length!=0&&(f=l(ze(m,uF(a,m.c.length)),117),oe.a.Ac(f)!=null,f.g=v++,N0e(f,t,r,o),m.c.length=0)}for(G=e.c.length+1,N=new V(e);N.a<N.c.c.length;)T=l(q(N),117),T.g<u&&(T.g=T.g+G)}function ykn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(y=RZ,m=FE,J=new je,M=new V(t);M.a<M.c.c.length;){for(R=l(q(M),9),a=new je,p=new Ft(Gt(si(R).a.Jc(),new D));an(p);)u=l(en(p),17),G=u.d.i,U=u.c.i,G.c.p==r&&Rt(a.c,G),U.c.p==r&&Rt(a.c,U);for(f=new Ft(Gt(Or(R).a.Jc(),new D));an(f);)u=l(en(f),17),G=u.d.i,U=u.c.i,G.c.p==r&&Rt(a.c,G),U.c.p==r&&Rt(a.c,U);a.c.length==0?Rt(J.c,R):(At(),ki(a,e.b),N=ce(le(F(l(ze(a,a.c.length/2|0),9),(Ie(),i2)))),Te(R,i2,N),y=b.Math.min(y,N),m=b.Math.max(m,N))}for(o=(m+y)/2,T=new V(J);T.a<T.c.c.length;)v=l(q(T),9),Te(v,(Ie(),i2),o)}function vkn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(a=new V(e.a.b);a.a<a.c.c.length;)for(r=l(q(a),26),m=new V(r.a);m.a<m.c.c.length;)p=l(q(m),9),t.j[p.p]=p,t.i[p.p]=t.o==(zd(),cf)?Li:Kr;for(Zs(e.c),f=e.a.b,t.c==(If(),kg)&&(f=ou(f)),Xun(e.e,t,e.b),hO(t.p,null),u=f.Jc();u.Ob();)for(r=l(u.Pb(),26),y=r.a,t.o==(zd(),cf)&&(y=ou(y)),N=y.Jc();N.Ob();)T=l(N.Pb(),9),t.g[T.p]==T&&jEt(e,T,t);for(Xxn(e,t),o=f.Jc();o.Ob();)for(r=l(o.Pb(),26),N=new V(r.a);N.a<N.c.c.length;)T=l(q(N),9),t.p[T.p]=t.p[t.g[T.p].p],T==t.g[T.p]&&(v=ce(t.i[t.j[T.p].p]),(t.o==(zd(),cf)&&v>Li||t.o==Em&&v<Kr)&&(t.p[T.p]=ce(t.p[T.p])+v));e.e.wg()}function Ekn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(Ye(Ke(F(r,(Ue(),Jy)))))for(p=new V(r.j);p.a<p.c.c.length;)for(f=l(q(p),12),N=Df(f.g),y=N,v=0,T=y.length;v<T;++v)m=y[v],u=m.d.i==r,a=u&&Ye(Ke(F(m,bm))),a&&(M=m.c,R=l(Ut(e.b,M),9),R||(R=fD(M,(qi(),pf),M.j,-1,null,null,M.o,l(F(t,xu),87),t),Te(R,(Ie(),wr),M),Jn(e.b,M,R),Fe(t.a,R)),G=m.d,U=l(Ut(e.b,G),9),U||(U=fD(G,(qi(),pf),G.j,1,null,null,G.o,l(F(t,xu),87),t),Te(U,(Ie(),wr),G),Jn(e.b,G,U),Fe(t.a,U)),o=JW(m),mo(o,l(ze(R.j,0),12)),Yi(o,l(ze(U.j,0),12)),yt(e.a,m,new Y8(o,t,(Fo(),Ba))),l(F(t,(Ie(),xa)),24).Ec(($o(),rl)))}function Skn(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G;for(u=new je,y=new V(o);y.a<y.c.c.length;)if(p=l(q(y),447),f=null,p.f==(Fo(),Ba))for(M=new V(p.e);M.a<M.c.c.length;)R=l(q(M),17),G=R.d.i,ji(G)==t?Cft(e,t,p,R,p.b,R.d):!r||T_(G,r)?oyn(e,t,p,o,R):(N=FJ(e,t,r,R,p.b,Ba,f),N!=f&&Rt(u.c,N),N.c&&(f=N));else for(T=new V(p.e);T.a<T.c.c.length;)if(v=l(q(T),17),U=v.c.i,ji(U)==t)Cft(e,t,p,v,v.c,p.b);else{if(!r||T_(U,r))continue;N=FJ(e,t,r,v,p.b,Cc,f),N!=f&&Rt(u.c,N),N.c&&(f=N)}for(m=new V(u);m.a<m.c.c.length;)p=l(q(m),447),_s(t.a,p.a,0)!=-1||Fe(t.a,p.a),p.c&&Rt(a.c,p)}function Tkn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(a=l(F(e,(Nr(),i4)),19),y=ar,v=ar,p=Zi,m=Zi,oe=An(e.b,0);oe.b!=oe.d.c;)J=l(Sn(oe),41),R=J.e,M=J.f,y=b.Math.min(y,R.a-M.a/2),v=b.Math.min(v,R.b-M.b/2),p=b.Math.max(p,R.a+M.a/2),m=b.Math.max(m,R.b+M.b/2);for(N=l(ve(a,(js(),rxe)),100),re=An(e.b,0);re.b!=re.d.c;)J=l(Sn(re),41),T=F(J,i4),se(T,209)&&(u=l(T,19),Bu(u,J.e.a,J.e.b),nD(u,J));for(G=An(e.a,0);G.b!=G.d.c;)U=l(Sn(G),65),o=l(F(U,i4),74),o&&(t=U.a,r=kC(o),C0e(t,r));de=p-y+(N.b+N.c),f=m-v+(N.d+N.a),Ye(Ke(ve(a,(_n(),lv))))||M0(a,de,f,!1,!1),Vn(a,uv,de-(N.b+N.c)),Vn(a,cv,f-(N.d+N.a))}function Zvt(e){var t,r,o,a,u,f,p;for(t=0,u=new V(e.b.a);u.a<u.c.c.length;)o=l(q(u),197),o.b=0,o.c=0;for(ymt(e,0),uY(e,e.g),jF(e.c),Jue(e.c),r=(Si(),cs),cD(Wq(OE(cD(Wq(OE(cD(OE(e.c,r)),Egt(r)))),r))),OE(e.c,cs),nY(e,e.g),rmt(e,0),Rvt(e,0),owt(e,1),ymt(e,1),uY(e,e.d),jF(e.c),f=new V(e.b.a);f.a<f.c.c.length;)o=l(q(f),197),t+=b.Math.abs(o.c);for(p=new V(e.b.a);p.a<p.c.c.length;)o=l(q(p),197),o.b=0,o.c=0;for(r=il,cD(Wq(OE(cD(Wq(OE(cD(Jue(OE(e.c,r))),Egt(r)))),r))),OE(e.c,cs),nY(e,e.d),rmt(e,1),Rvt(e,1),owt(e,0),Jue(e.c),a=new V(e.b.a);a.a<a.c.c.length;)o=l(q(a),197),t+=b.Math.abs(o.c);return t}function Akn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(r=l(F(e,(Ue(),Zr)),103),f=e.f,u=e.d,p=f.a+u.b+u.c,m=0-u.d-e.c.b,v=f.b+u.d+u.a-e.c.b,y=new je,T=new je,a=new V(t);a.a<a.c.c.length;){switch(o=l(q(a),9),r.g){case 1:case 2:case 3:uSn(o);break;case 4:N=l(F(o,sw),8),R=N?N.a:0,o.n.a=p*ce(le(F(o,(Ie(),nw))))-R,Mj(o,!0,!1);break;case 5:M=l(F(o,sw),8),U=M?M.a:0,o.n.a=ce(le(F(o,(Ie(),nw))))-U,Mj(o,!0,!1),f.a=b.Math.max(f.a,o.n.a+o.o.a/2)}switch(l(F(o,(Ie(),Hs)),64).g){case 1:o.n.b=m,Rt(y.c,o);break;case 3:o.n.b=v,Rt(T.c,o)}}switch(r.g){case 1:case 2:cgt(y,e),cgt(T,e);break;case 3:ugt(y,e),ugt(T,e)}}function _kn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;for(r.Tg("Label dummy switching",1),o=l(F(t,(Ue(),hB)),233),Mhn(t),a=XEn(t,o),e.a=we(Ki,Xo,30,t.b.c.length,15,1),p=(eT(),Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,qy,JE,YE])),v=0,R=p.length;v<R;++v)if(u=p[v],(u==JE||u==YE||u==qy)&&!l(fc(a.a,u)?a.b[u.g]:null,16).dc()){Ghn(e,t);break}for(m=Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,qy,JE,YE]),T=0,M=m.length;T<M;++T)u=m[T],u==JE||u==YE||u==qy||Pyt(e,l(fc(a.a,u)?a.b[u.g]:null,16));for(f=Z(X(Yx,1),Ce,233,0,[Kx,xI,Wx,qy,JE,YE]),y=0,N=f.length;y<N;++y)u=f[y],(u==JE||u==YE||u==qy)&&Pyt(e,l(fc(a.a,u)?a.b[u.g]:null,16));e.a=null,r.Ug()}function Qvt(e,t){var r,o,a,u,f,p,m,y,v;if(y=t,!(y.b==null||e.b==null)){for(kE(e),PC(e),kE(y),PC(y),r=we(Rn,Qn,30,e.b.length+y.b.length,15,1),v=0,o=0,f=0;o<e.b.length&&f<y.b.length;)if(a=e.b[o],u=e.b[o+1],p=y.b[f],m=y.b[f+1],u<p)o+=2;else if(u>=p&&a<=m)p<=a&&u<=m?(r[v++]=a,r[v++]=u,o+=2):p<=a?(r[v++]=a,r[v++]=m,e.b[o]=m+1,f+=2):u<=m?(r[v++]=p,r[v++]=u,o+=2):(r[v++]=p,r[v++]=m,e.b[o]=m+1);else if(m<a)f+=2;else throw Y(new Es("Token#intersectRanges(): Internal Error: ["+e.b[o]+","+e.b[o+1]+"] & ["+y.b[f]+","+y.b[f+1]+"]"));for(;o<e.b.length;)r[v++]=e.b[o++],r[v++]=e.b[o++];e.b=we(Rn,Qn,30,v,15,1),ca(r,0,e.b,0,v)}}function xkn(e){var t,r,o,a,u,f,p;for(t=new je,e.g=new je,e.d=new je,f=new hy(new Mw(e.f.b).a);f.b;)u=bE(f),Fe(t,l(l(u.kd(),49).b,84)),ep(l(u.jd(),598).yf())?Fe(e.d,l(u.kd(),49)):Fe(e.g,l(u.kd(),49));for(uY(e,e.d),uY(e,e.g),e.c=new y0t(e.b),een(e.c,(wle(),Wkt)),nY(e,e.d),nY(e,e.g),li(t,e.c.a.b),e.e=new Me(Kr,Kr),e.a=new Me(Li,Li),o=new V(t);o.a<o.c.c.length;)r=l(q(o),84),e.e.a=b.Math.min(e.e.a,r.g.c),e.e.b=b.Math.min(e.e.b,r.g.d),e.a.a=b.Math.max(e.a.a,r.g.c+r.g.b),e.a.b=b.Math.max(e.a.b,r.g.d+r.g.a);rle(e.c,new o9),p=0;do a=Zvt(e),++p;while((p<2||a>wg)&&p<10);rle(e.c,new s9),Zvt(e),zsn(e.c),rkn(e.f)}function kkn(e,t){var r,o,a,u,f,p,m,y,v,T,N;switch(e.k.g){case 1:if(o=l(F(e,(Ie(),wr)),17),r=l(F(o,STe),79),r?Ye(Ke(F(o,Ag)))&&(r=Gge(r)):r=new Lc,y=l(F(e,Cd),12),y){if(v=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])),t<=v.a)return v.b;Wr(r,v,r.a,r.a.a)}if(T=l(F(e,Nl),12),T){if(N=xs(Z(X($i,1),Pe,8,0,[T.i.n,T.n,T.a])),N.a<=t)return N.b;Wr(r,N,r.c.b,r.c)}if(r.b>=2){for(m=An(r,0),f=l(Sn(m),8),p=l(Sn(m),8);p.a<t&&m.b!=m.d.c;)f=p,p=l(Sn(m),8);return f.b+(t-f.a)/(p.a-f.a)*(p.b-f.b)}break;case 3:switch(u=l(F(l(ze(e.j,0),12),(Ie(),wr)),12),a=u.i,u.j.g){case 1:return a.n.b;case 3:return a.n.b+a.o.b}}return Sbe(e).b}function Nkn(e){var t,r,o,a,u,f,p,m,y,v,T;for(f=new V(e.d.b);f.a<f.c.c.length;)for(u=l(q(f),26),m=new V(u.a);m.a<m.c.c.length;){if(p=l(q(m),9),Ye(Ke(F(p,(Ue(),PI))))&&!sy(Lf(p))){o=l(ncn(Lf(p)),17),v=o.c.i,v==p&&(v=o.d.i),T=new Co(v,Di(Ao(p.n),v.n)),Jn(e.b,p,T);continue}a=new ql(p.n.a-p.d.b,p.n.b-p.d.d,p.o.a+p.d.b+p.d.c,p.o.b+p.d.d+p.d.a),t=zrt(Jet(Ket(Yet(new Mue,p),a),TNt),e.a),Hrt(ken(Kft(new Lue,Z(X(b$,1),It,60,0,[t])),t),e.a),y=new ZG,Jn(e.e,t,y),r=yd(new Ft(Gt(si(p).a.Jc(),new D)))-yd(new Ft(Gt(Or(p).a.Jc(),new D))),r<0?I6(y,!0,(Si(),cs)):r>0&&I6(y,!0,(Si(),fs)),p.k==(Ht(),yi)&&tat(y),Jn(e.f,p,t)}}function eEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re;for(y=Kr,v=Kr,p=Li,m=Li,N=new V(t.i);N.a<N.c.c.length;)T=l(q(N),68),a=l(l(Ut(e.g,T.a),49).b,19),Bu(a,T.b.c,T.b.d),y=b.Math.min(y,a.i),v=b.Math.min(v,a.j),p=b.Math.max(p,a.i+a.g),m=b.Math.max(m,a.j+a.f);for(R=l(ve(e.c,(Y6(),VOt)),100),M0(e.c,p-y+(R.b+R.c),m-v+(R.d+R.a),!0,!0),Hbe(e.c,-y+R.b,-v+R.d),o=new tn(Sat(e.c));o.e!=o.i.gc();)r=l(rn(o),74),f=kC(r),M=QY(r),G=smt(r),U=new Me(M.i+M.g/2,M.j+M.f/2),u=new Me(G.i+G.g/2,G.j+G.f/2),J=Di(new Me(u.a,u.b),U),G_(J,M.g,M.f),mr(U,J),re=Di(new Me(U.a,U.b),u),G_(re,G.g,G.f),mr(u,re),NO(f,U.a,U.b),kO(f,u.a,u.b)}function tEt(e,t){var r,o,a,u,f,p,m,y,v,T;for(m=!0,a=0,y=e.g[t.p],v=t.o.b+e.o,r=e.d[t.p][2],nu(e.b,y,Oe(l(ze(e.b,y),15).a-1+r)),nu(e.c,y,ce(le(ze(e.c,y)))-v+r*e.f),++y,y>=e.j?(++e.j,Fe(e.b,Oe(1)),Fe(e.c,v)):(o=e.d[t.p][1],nu(e.b,y,Oe(l(ze(e.b,y),15).a+1-o)),nu(e.c,y,ce(le(ze(e.c,y)))+v-o*e.f)),(e.r==(x1(),SL)&&(l(ze(e.b,y),15).a>e.k||l(ze(e.b,y-1),15).a>e.k)||e.r==TL&&(ce(le(ze(e.c,y)))>e.n||ce(le(ze(e.c,y-1)))>e.n))&&(m=!1),f=new Ft(Gt(si(t).a.Jc(),new D));an(f);)u=l(en(f),17),p=u.c.i,e.g[p.p]==y&&(T=tEt(e,p),a=a+l(T.a,15).a,m=m&&Ye(Ke(T.b)));return e.g[t.p]=y,a=a+e.d[t.p][0],new Co(Oe(a),(Lt(),!!m))}function Ckn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;return N=e.c[t],R=e.c[r],M=l(F(N,(Ie(),RT)),16),!!M&&M.gc()!=0&&M.Gc(R)||(U=N.k!=(Ht(),bi)&&R.k!=bi,G=l(F(N,tw),9),J=l(F(R,tw),9),re=G!=J,oe=!!G&&G!=N||!!J&&J!=R,de=OY(N,(He(),Vt)),Ee=OY(R,dn),oe=oe|(OY(N,dn)||OY(R,Vt)),ye=oe&&re||de||Ee,U&&ye)||N.k==(Ht(),_a)&&R.k==Xr||R.k==(Ht(),_a)&&N.k==Xr?!1:(v=e.c[t],u=e.c[r],a=kbt(e.e,v,u,(He(),Wt)),m=kbt(e.i,v,u,Qt),eSn(e.f,v,u),y=Fpt(e.b,v,u)+l(a.a,15).a+l(m.a,15).a+e.f.d,p=Fpt(e.b,u,v)+l(a.b,15).a+l(m.b,15).a+e.f.b,e.a&&(T=l(F(v,wr),12),f=l(F(u,wr),12),o=dbt(e.g,T,f),y+=l(o.a,15).a,p+=l(o.b,15).a),y>p)}function nEt(e,t){var r,o,a,u,f;r=ce(le(F(t,(Ue(),od)))),r<2&&Te(t,od,2),o=l(F(t,xu),87),o==(Si(),hf)&&Te(t,xu,qj(t)),a=l(F(t,MIt),15),a.a==0?Te(t,(Ie(),DT),new sY):Te(t,(Ie(),DT),new KP(a.a)),u=Ke(F(t,HI)),u==null&&Te(t,HI,(Lt(),me(F(t,kp))===me((gp(),Ek)))),ei(new vt(null,new St(t.a,16)),new yue(e)),ei(bs(new vt(null,new St(t.b,16)),new i9),new vue(e)),f=new Jvt(t),Te(t,(Ie(),n2),f),M3(e.a),pu(e.a,(Vi(),id),l(F(t,jT),173)),pu(e.a,kh,l(F(t,bB),173)),pu(e.a,la,l(F(t,BI),173)),pu(e.a,da,l(F(t,vB),173)),pu(e.a,zo,Zhn(l(F(t,kp),225))),cde(e.a,_3n(t)),Te(t,cte,FC(e.a,t))}function z0e(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J;for(T=new hn,f=new je,zmt(e,r,e.d.zg(),f,T),zmt(e,o,e.d.Ag(),f,T),e.b=.2*(U=J0t(bs(new vt(null,new St(f,16)),new vHe)),G=J0t(bs(new vt(null,new St(f,16)),new EHe)),b.Math.min(U,G)),u=0,p=0;p<f.c.length-1;p++)for(m=(at(p,f.c.length),l(f.c[p],117)),M=p+1;M<f.c.length;M++)u+=P0e(e,m,(at(M,f.c.length),l(f.c[M],117)));for(N=l(F(t,(Ie(),DT)),237),u>=2&&(J=ywt(f,!0,N),!e.e&&(e.e=new JJe(e)),H1n(e.e,J,f,e.b)),Vbt(f,N),Pkn(f),R=-1,v=new V(f);v.a<v.c.c.length;)y=l(q(v),117),!(b.Math.abs(y.s-y.c)<Hf)&&(R=b.Math.max(R,y.o),e.d.xg(y,a,e.c));return e.d.a.a.$b(),R+1}function Ikn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(T=l(P8((f=An(new Qh(t).a.d,0),new Vv(f))),41),M=T?l(F(T,(Nr(),sne)),41):null,a=1;T&&M;){for(m=0,de=0,r=T,o=M,p=0;p<a;p++)r=ZW(r),o=ZW(o),de+=ce(le(F(r,(Nr(),lk)))),m+=ce(le(F(o,lk)));if(oe=ce(le(F(M,(Nr(),Ng)))),re=ce(le(F(T,Ng))),N=y1e(e,T,M),R=oe+m+e.b+N-re-de,0<R){for(y=t,v=0;y&&y!=o;)++v,y=l(F(y,jB),41);if(y)for(J=R/v,y=t;y!=o;)G=ce(le(F(y,Ng)))+R,Te(y,Ng,G),U=ce(le(F(y,lk)))+R,Te(y,lk,U),R-=J,y=l(F(y,jB),41);else return}++a,T.d.b==0?T=w0e(new Qh(t),a):T=l(P8((u=An(new Qh(T).a.d,0),new Vv(u))),41),M=T?l(F(T,sne),41):null}}function Rkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;for(t.Tg("Label dummy removal",1),o=ce(le(F(e,(Ue(),s2)))),a=ce(le(F(e,nv))),y=l(F(e,xu),87),m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),T=new Ji(p.a,0);T.b<T.d.gc();)v=(cn(T.b<T.d.gc()),l(T.d.Xb(T.c=T.b++),9)),v.k==(Ht(),ta)&&(N=l(F(v,(Ie(),wr)),17),M=ce(le(F(N,_g))),f=me(F(v,OT))===me((vu(),V1)),r=new To(v.n),f&&(r.b+=M+o),u=new Me(v.o.a,v.o.b+(v.k==ta&&!BA(dr(l(F(v,OI),16).Mc(),new RA(new d9))).zd((_b(),TT))?0:-M-o)),R=l(F(v,OI),16),y==(Si(),il)||y==ff?LEn(R,r,a,u,f,y):fgn(R,r,a,u),li(N.b,R),HJ(v,me(F(e,kp))===me((gp(),GL))),Mc(T));t.Ug()}function Okn(e){e.q||(e.q=!0,e.p=Ps(e,0),e.a=Ps(e,1),Lr(e.a,0),e.f=Ps(e,2),Lr(e.f,1),Jr(e.f,2),e.n=Ps(e,3),Jr(e.n,3),Jr(e.n,4),Jr(e.n,5),Jr(e.n,6),e.g=Ps(e,4),Lr(e.g,7),Jr(e.g,8),e.c=Ps(e,5),Lr(e.c,7),Lr(e.c,8),e.i=Ps(e,6),Lr(e.i,9),Lr(e.i,10),Lr(e.i,11),Lr(e.i,12),Jr(e.i,13),e.j=Ps(e,7),Lr(e.j,9),e.d=Ps(e,8),Lr(e.d,3),Lr(e.d,4),Lr(e.d,5),Lr(e.d,6),Jr(e.d,7),Jr(e.d,8),Jr(e.d,9),Jr(e.d,10),e.b=Ps(e,9),Jr(e.b,0),Jr(e.b,1),e.e=Ps(e,10),Jr(e.e,1),Jr(e.e,2),Jr(e.e,3),Jr(e.e,4),Lr(e.e,5),Lr(e.e,6),Lr(e.e,7),Lr(e.e,8),Lr(e.e,9),Lr(e.e,10),Jr(e.e,11),e.k=Ps(e,11),Jr(e.k,0),Jr(e.k,1),e.o=ir(e,12),e.s=ir(e,13))}function Dkn(e,t,r){var o,a,u,f,p,m,y,v;if(e.c.length!=0)for(e.c.length==1&&Fe(t,(at(0,e.c.length),l(e.c[0],19))),e.c.length==2&&(f=(at(0,e.c.length),l(e.c[0],19)),y=(at(1,e.c.length),l(e.c[1],19)),l(ve(f,(wh(),PL)),15).a>l(ve(y,PL),15).a?(Rt(t.c,y),Rt(r.c,f)):(Rt(t.c,f),Rt(r.c,y))),a=new je,v=new JGe,v.a=0,v.b=0,o=(at(0,e.c.length),l(e.c[0],19)),Rt(a.c,o),p=1;p<e.c.length;p++)m=(at(p,e.c.length),l(e.c[p],19)),vr(o.j,m.j)==0||(u=dvt(a,v),li(t,new Rf(a,0,u+1)),li(r,new Rf(a,u+1,a.c.length)),a=new je),Rt(a.c,m),o=m,p==e.c.length-1&&(u=dvt(a,v),li(t,new Rf(a,0,u+1)),li(r,new Rf(a,u+1,a.c.length)))}function G0e(e,t){t.dc()&&lh(e.j,!0,!0,!0,!0),gr(t,(He(),dd))&&lh(e.j,!0,!0,!0,!1),gr(t,ol)&&lh(e.j,!1,!0,!0,!0),gr(t,Nu)&&lh(e.j,!0,!0,!1,!0),gr(t,Rl)&&lh(e.j,!0,!1,!0,!0),gr(t,Ic)&&lh(e.j,!1,!0,!0,!1),gr(t,sl)&&lh(e.j,!1,!0,!1,!0),gr(t,Cu)&&lh(e.j,!0,!1,!1,!0),gr(t,fd)&&lh(e.j,!0,!1,!0,!1),gr(t,oc)&&lh(e.j,!0,!0,!0,!0),gr(t,Wa)&&lh(e.j,!0,!0,!0,!0),gr(t,oc)&&lh(e.j,!0,!0,!0,!0),gr(t,ic)&&lh(e.j,!0,!0,!0,!0),gr(t,sc)&&lh(e.j,!0,!0,!0,!0),gr(t,Rc)&&lh(e.j,!0,!0,!0,!0),gr(t,ka)&&lh(e.j,!0,!0,!0,!0)}function rEt(e,t,r){var o,a,u,f,p,m,y,v,T;if(e.a!=t.hk())throw Y(new jt(Dx+t.ve()+W0));if(o=fg((mc(),ao),t).Hl(),o)return o.hk().ti().oi(o,r);if(f=fg(ao,t).Jl(),f){if(r==null)return null;if(p=l(r,16),p.dc())return"";for(T=new Xp,u=p.Jc();u.Ob();)a=u.Pb(),Wo(T,f.hk().ti().oi(f,a)),T.a+=" ";return uV(T,T.a.length-1)}if(v=fg(ao,t).Kl(),!v.dc()){for(y=v.Jc();y.Ob();)if(m=l(y.Pb(),160),m.dk(r))try{if(T=m.hk().ti().oi(m,r),T!=null)return T}catch(N){if(N=ui(N),!se(N,102))throw Y(N)}throw Y(new jt("Invalid value: '"+r+"' for datatype :"+t.ve()))}return l(t,839).mk(),r==null?null:se(r,183)?""+l(r,183).a:ru(r)==d$?hrt(R4[0],l(r,208)):ms(r)}function iEt(e,t,r){var o,a,u,f;this.j=e,this.e=Rbe(e),this.o=this.j.e,this.i=!!this.o,this.p=this.i?l(ze(r,ji(this.o).p),221):null,a=l(F(e,(Ie(),xa)),24),this.g=a.Gc(($o(),rl)),this.b=new je,this.d=new qgt(this.e),f=l(F(this.j,DT),237),this.q=Vhn(t,f,this.e),this.k=new fct(this),u=Wl(Z(X(_Nt,1),It,223,0,[this,this.d,this.k,this.q])),t==(Kb(),_L)&&!Ye(Ke(F(e,(Ue(),tk))))?(o=new Lbe(this.e),Rt(u.c,o),this.c=new epe(o,f,l(this.q,411))):t==_L&&Ye(Ke(F(e,(Ue(),tk))))?(o=new Lbe(this.e),Rt(u.c,o),this.c=new bht(o,f,l(this.q,411))):t==IB?this.c=new jat(f):this.c=new Ntt(t,this),Fe(u,this.c),Dvt(u,this.e),this.s=o3n(this.k)}function Lkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(t.Tg("Interactive crossing minimization",1),f=0,u=new V(e.b);u.a<u.c.c.length;)o=l(q(u),26),o.p=f++;for(N=Rbe(e),G=new ole(N.length),Dvt(new Ls(Z(X(_Nt,1),It,223,0,[G])),N),U=0,f=0,a=new V(e.b);a.a<a.c.c.length;){for(o=l(q(a),26),r=0,T=0,v=new V(o.a);v.a<v.c.c.length;)for(m=l(q(v),9),m.n.a>0&&(r+=m.n.a+m.o.a/2,++T),M=new V(m.j);M.a<M.c.c.length;)R=l(q(M),12),R.p=U++;for(T>0&&(r/=T),J=we(Ki,Xo,30,o.a.c.length,15,1),p=0,y=new V(o.a);y.a<y.c.c.length;)m=l(q(y),9),m.p=p++,J[m.p]=kkn(m,r),m.k==(Ht(),bi)&&Te(m,(Ie(),TTe),J[m.p]);At(),ki(o.a,new NJe(J)),Byt(G,N,f,!0),++f}t.Ug()}function Mkn(e){var t,r,o,a,u,f,p,m,y,v;for(y=new Ar,p=new Ar,u=new V(e);u.a<u.c.c.length;)o=l(q(u),134),o.v=0,o.n=o.i.c.length,o.u=o.t.c.length,o.n==0&&Wr(y,o,y.c.b,y.c),o.u==0&&o.r.a.gc()==0&&Wr(p,o,p.c.b,p.c);for(f=-1;y.b!=0;)for(o=l(UY(y,0),134),r=new V(o.t);r.a<r.c.c.length;)t=l(q(r),275),v=t.b,v.v=b.Math.max(v.v,o.v+1),f=b.Math.max(f,v.v),--v.n,v.n==0&&Wr(y,v,y.c.b,y.c);if(f>-1){for(a=An(p,0);a.b!=a.d.c;)o=l(Sn(a),134),o.v=f;for(;p.b!=0;)for(o=l(UY(p,0),134),r=new V(o.i);r.a<r.c.c.length;)t=l(q(r),275),m=t.a,m.r.a.gc()==0&&(m.v=b.Math.min(m.v,o.v-1),--m.u,m.u==0&&Wr(p,m,p.c.b,p.c))}}function Pkn(e){var t,r,o,a,u,f,p,m,y,v;for(y=new je,p=new je,f=new V(e);f.a<f.c.c.length;)a=l(q(f),117),GG(a,a.f.c.length),T9(a,a.k.c.length),a.d==0&&Rt(y.c,a),a.i==0&&a.e.b==0&&Rt(p.c,a);for(o=-1;y.c.length!=0;)for(a=l(sg(y,0),117),r=new V(a.k);r.a<r.c.c.length;)t=l(q(r),135),v=t.b,oue(v,b.Math.max(v.o,a.o+1)),o=b.Math.max(o,v.o),GG(v,v.d-1),v.d==0&&Rt(y.c,v);if(o>-1){for(u=new V(p);u.a<u.c.c.length;)a=l(q(u),117),a.o=o;for(;p.c.length!=0;)for(a=l(sg(p,0),117),r=new V(a.f);r.a<r.c.c.length;)t=l(q(r),135),m=t.a,!(m.e.b>0)&&(oue(m,b.Math.min(m.o,a.o-1)),T9(m,m.i-1),m.i==0&&Rt(p.c,m))}}function oEt(e,t,r,o,a){var u,f,p,m;return m=Kr,f=!1,p=L0e(e,Di(new Me(t.a,t.b),e),mr(new Me(r.a,r.b),a),Di(new Me(o.a,o.b),r)),u=!!p&&!(b.Math.abs(p.a-e.a)<=q0&&b.Math.abs(p.b-e.b)<=q0||b.Math.abs(p.a-t.a)<=q0&&b.Math.abs(p.b-t.b)<=q0),p=L0e(e,Di(new Me(t.a,t.b),e),r,a),p&&((b.Math.abs(p.a-e.a)<=q0&&b.Math.abs(p.b-e.b)<=q0)==(b.Math.abs(p.a-t.a)<=q0&&b.Math.abs(p.b-t.b)<=q0)||u?m=b.Math.min(m,O3(Di(p,r))):f=!0),p=L0e(e,Di(new Me(t.a,t.b),e),o,a),p&&(f||(b.Math.abs(p.a-e.a)<=q0&&b.Math.abs(p.b-e.b)<=q0)==(b.Math.abs(p.a-t.a)<=q0&&b.Math.abs(p.b-t.b)<=q0)||u)&&(m=b.Math.min(m,O3(Di(p,o)))),m}function sEt(e){n0(e,new Qb(iO(Qm(Jm(Zm(Xm(new vb,C1),nSt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new r9),Ga))),Le(e,C1,wx,Ge(U2e)),Le(e,C1,ID,(Lt(),!0)),Le(e,C1,PE,Ge(Fkt)),Le(e,C1,mT,Ge($kt)),Le(e,C1,bT,Ge(Bkt)),Le(e,C1,Ex,Ge(jkt)),Le(e,C1,yx,Ge(z2e)),Le(e,C1,Sx,Ge(Ukt)),Le(e,C1,Cwe,Ge(B2e)),Le(e,C1,Rwe,Ge(F2e)),Le(e,C1,Owe,Ge($2e)),Le(e,C1,Dwe,Ge(H2e)),Le(e,C1,Iwe,Ge(T$))}function jkn(e){var t,r,o,a,u,f,p,m;for(t=null,o=new V(e);o.a<o.c.c.length;)r=l(q(o),242),ce(Hd(r.g,r.d[0]).a),r.b=null,r.e&&r.e.gc()>0&&r.c==0&&(!t&&(t=new je),Rt(t.c,r));if(t)for(;t.c.length!=0;){if(r=l(sg(t,0),242),r.b&&r.b.c.length>0){for(u=(!r.b&&(r.b=new je),new V(r.b));u.a<u.c.c.length;)if(a=l(q(u),242),rO(Hd(a.g,a.d[0]).a)==rO(Hd(r.g,r.d[0]).a)){if(_s(e,a,0)>_s(e,r,0))return new Co(a,r)}else if(ce(Hd(a.g,a.d[0]).a)>ce(Hd(r.g,r.d[0]).a))return new Co(a,r)}for(p=(!r.e&&(r.e=new je),r.e).Jc();p.Ob();)f=l(p.Pb(),242),m=(!f.b&&(f.b=new je),f.b),oy(0,m.c.length),t3(m.c,0,r),f.c==m.c.length&&Rt(t.c,f)}return null}function $C(e,t){var r,o,a,u,f,p,m,y,v;if(t.e==5){Qvt(e,t);return}if(y=t,!(y.b==null||e.b==null)){for(kE(e),PC(e),kE(y),PC(y),r=we(Rn,Qn,30,e.b.length+y.b.length,15,1),v=0,o=0,f=0;o<e.b.length&&f<y.b.length;)if(a=e.b[o],u=e.b[o+1],p=y.b[f],m=y.b[f+1],u<p)r[v++]=e.b[o++],r[v++]=e.b[o++];else if(u>=p&&a<=m)p<=a&&u<=m?o+=2:p<=a?(e.b[o]=m+1,f+=2):u<=m?(r[v++]=a,r[v++]=p-1,o+=2):(r[v++]=a,r[v++]=p-1,e.b[o]=m+1,f+=2);else if(m<a)f+=2;else throw Y(new Es("Token#subtractRanges(): Internal Error: ["+e.b[o]+","+e.b[o+1]+"] - ["+y.b[f]+","+y.b[f+1]+"]"));for(;o<e.b.length;)r[v++]=e.b[o++],r[v++]=e.b[o++];e.b=we(Rn,Qn,30,v,15,1),ca(r,0,e.b,0,v)}}function Fkn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(o=new V(e.e.b);o.a<o.c.c.length;)for(r=l(q(o),26),u=new V(r.a);u.a<u.c.c.length;)if(a=l(q(u),9),R=e.i[a.p],y=R.a.e,m=R.d.e,a.n.b=y,J=m-y-a.o.b,t=jJ(a),N=(vy(),(a.q?a.q:(At(),At(),xh))._b((Ue(),ow))?T=l(F(a,ow),205):T=l(F(ji(a),zI),205),T),t&&(N==c2||N==a2)&&(a.o.b+=J),t&&(N==Fte||N==c2||N==a2)){for(U=new V(a.j);U.a<U.c.c.length;)M=l(q(U),12),(He(),Wa).Gc(M.j)&&(v=l(Ut(e.k,M),126),M.n.b=v.e-y);for(p=new V(a.b);p.a<p.c.c.length;)f=l(q(p),70),G=l(F(a,iw),24),G.Gc((_y(),Il))?f.n.b+=J:G.Gc(Rh)&&(f.n.b+=J/2);(N==c2||N==a2)&&ks(a,(He(),dn)).Ic(new GJe(J))}}function $kn(e){var t,r,o,a,u,f,p;if(!e.A.dc()){if(e.A.Gc((su(),XL))&&(l(Ko(e.b,(He(),Vt)),129).k=!0,l(Ko(e.b,dn),129).k=!0,t=e.q!=(qi(),Oh)&&e.q!=fa,nue(l(Ko(e.b,Qt),129),t),nue(l(Ko(e.b,Wt),129),t),nue(e.g,t),e.A.Gc(xm)&&(l(Ko(e.b,Vt),129).j=!0,l(Ko(e.b,dn),129).j=!0,l(Ko(e.b,Qt),129).k=!0,l(Ko(e.b,Wt),129).k=!0,e.g.k=!0)),e.A.Gc(JL))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,p=e.B.Gc((Uc(),C4)),a=yY(),u=0,f=a.length;u<f;++u)o=a[u],r=l(Ko(e.i,o),319),r&&($1e(o)?(r.j=!0,r.k=!0):(r.j=!p,r.k=!p));e.A.Gc(gv)&&e.B.Gc((Uc(),QL))&&(e.g.j=!0,e.g.j=!0,e.a.j||(e.a.j=!0,e.a.k=!0,e.a.e=!0))}}function Bkn(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(y=new je,m=new V(t.a);m.a<m.c.c.length;)for(f=l(q(m),9),N=ks(f,(He(),Qt)).Jc();N.Ob();)for(T=l(N.Pb(),12),a=new V(T.g);a.a<a.c.c.length;)o=l(q(a),17),!(!fo(o)&&o.c.i.c==o.d.i.c||fo(o)||o.d.i.c!=r)&&Rt(y.c,o);for(p=ou(r.a).Jc();p.Ob();)for(f=l(p.Pb(),9),N=ks(f,(He(),Wt)).Jc();N.Ob();)for(T=l(N.Pb(),12),a=new V(T.e);a.a<a.c.c.length;)if(o=l(q(a),17),!(!fo(o)&&o.c.i.c==o.d.i.c||fo(o)||o.c.i.c!=t)&&y.c.length!=0){for(v=new Ji(y,y.c.length),u=(cn(v.b>0),l(v.a.Xb(v.c=--v.b),17));u!=o&&v.b>0;)e.a[u.p]=!0,e.a[o.p]=!0,u=(cn(v.b>0),l(v.a.Xb(v.c=--v.b),17));v.b>0&&Mc(v)}}function aEt(e,t,r){var o,a,u,f,p,m,y,v,T,N;if(r)for(o=-1,v=new Ji(t,0);v.b<v.d.gc();){if(p=(cn(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),9)),T=e.c[p.c.p][p.p].a,T==null){for(f=o+1,u=new Ji(t,v.b);u.b<u.d.gc();)if(N=Vtn(e,(cn(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),9))).a,N!=null){f=(Mt(N),N);break}T=(o+f)/2,e.c[p.c.p][p.p].a=T,e.c[p.c.p][p.p].d=(Mt(T),T),e.c[p.c.p][p.p].b=1}o=(Mt(T),T)}else{for(a=0,y=new V(t);y.a<y.c.c.length;)p=l(q(y),9),e.c[p.c.p][p.p].a!=null&&(a=b.Math.max(a,ce(e.c[p.c.p][p.p].a)));for(a+=2,m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),e.c[p.c.p][p.p].a==null&&(T=Bc(e.i,24)*_D*a-1,e.c[p.c.p][p.p].a=T,e.c[p.c.p][p.p].d=T,e.c[p.c.p][p.p].b=1)}}function Ukn(e){var t,r,o,a,u,f,p,m,y,v,T,N;for(a=new V(e.a.a.b);a.a<a.c.c.length;)for(o=l(q(a),60),m=o.c.Jc();m.Ob();)p=l(m.Pb(),60),o.a!=p.a&&(ep(e.a.d)?T=e.a.g.df(o,p):T=e.a.g.ef(o,p),u=o.b.a+o.d.b+T-p.b.a,u=b.Math.ceil(u),u=b.Math.max(0,u),Upe(o,p)?(f=o0(new Tb,e.d),y=bo(b.Math.ceil(p.b.a-o.b.a)),t=y-(p.b.a-o.b.a),v=PS(o).a,r=o,v||(v=PS(p).a,t=-t,r=p),v&&(r.b.a-=t,v.n.a-=t),Ql($l(Ul(Hl(Bl(new gl,b.Math.max(0,y)),1),f),e.c[o.a.d])),Ql($l(Ul(Hl(Bl(new gl,b.Math.max(0,-y)),1),f),e.c[p.a.d]))):(N=1,(se(o.g,157)&&se(p.g,9)||se(p.g,157)&&se(o.g,9))&&(N=2),Ql($l(Ul(Hl(Bl(new gl,bo(u)),N),e.c[o.a.d]),e.c[p.a.d]))))}function cEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;if(!e.b)return!1;for(f=null,N=null,m=new nK(null,null),a=1,m.a[1]=e.b,T=m;T.a[a];)y=a,p=N,N=T,T=T.a[a],o=e.a.Le(t,T.d),a=o<0?0:1,o==0&&(!r.c||ia(T.e,r.d))&&(f=T),!(T&&T.b)&&!Fw(T.a[a])&&(Fw(T.a[1-a])?N=N.a[y]=_j(T,a):Fw(T.a[1-a])||(R=N.a[1-y],R&&(!Fw(R.a[1-y])&&!Fw(R.a[y])?(N.b=!1,R.b=!0,T.b=!0):(u=p.a[1]==N?1:0,Fw(R.a[y])?p.a[u]=aut(N,y):Fw(R.a[1-y])&&(p.a[u]=_j(N,y)),T.b=p.a[u].b=!0,p.a[u].a[0].b=!1,p.a[u].a[1].b=!1))));return f&&(r.b=!0,r.d=f.e,T!=f&&(v=new nK(T.d,T.e),Wwn(e,m,f,v),N==f&&(N=v)),N.a[N.a[1]==T?1:0]=T.a[T.a[0]?0:1],--e.c),e.b=m.a[1],e.b&&(e.b.b=!1),r.b}function Hkn(e,t,r){var o,a,u,f,p,m,y,v,T;for(!r&&(r=wpn(t.q.getTimezoneOffset())),a=(t.q.getTimezoneOffset()-r.a)*6e4,p=new Zde(_o(Gs(t.q.getTime()),a)),m=p,p.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(a>0?a-=864e5:a+=864e5,m=new Zde(_o(Gs(t.q.getTime()),a))),v=new lS,y=e.a.length,u=0;u<y;)if(o=uo(e.a,u),o>=97&&o<=122||o>=65&&o<=90){for(f=u+1;f<y&&uo(e.a,f)==o;++f);B3n(v,o,f-u,p,m,r),u=f}else if(o==39){if(++u,u<y&&uo(e.a,u)==39){v.a+="'",++u;continue}for(T=!1;!T;){for(f=u;f<y&&uo(e.a,f)!=39;)++f;if(f>=y)throw Y(new jt("Missing trailing '"));f+1<y&&uo(e.a,f+1)==39?++f:T=!0,zn(v,yl(e.a,u,f)),u=f+1}}else v.a+=String.fromCharCode(o),++u;return v.a}function zkn(){er(wv,new Fqe),er(Kn,new Yqe),er(Ol,new sVe),er(Ld,new fVe),er($re,new hVe),er(TU,new pVe),er(Op,new gVe),er(I4,new bVe),er(r5,new Nqe),er(Dre,new Cqe),er(J1,new Iqe),er(Dl,new Rqe),er(Dd,new Oqe),er(lw,new Dqe),er(yv,new Lqe),er(ac,new Mqe),er(mv,new Pqe),er(zs,new jqe),er(qo,new $qe),er(Ka,new Bqe),er(Yr,new Uqe),er(X(Ec,1),new Hqe),er(ET,new zqe),er(mI,new Gqe),er(d$,new qqe),er(oCe,new Vqe),er(fi,new Wqe),er(v3e,new Kqe),er(T3e,new Jqe),er(V3e,new Xqe),er(AU,new Zqe),er(Ux,new Qqe),er(_i,new eVe),er(GEe,new tVe),er(Y0,new nVe),er(qEe,new rVe),er(H3e,new iVe),er(sCe,new oVe),er(J0,new aVe),er(Je,new cVe),er(S3e,new uVe),er(aCe,new lVe)}function uEt(e,t){var r,o,a,u,f,p,m,y,v;if(e==null)return tc;if(m=t.a.yc(e,t),m!=null)return"[...]";for(r=new qb(ja,"[","]"),a=e,u=0,f=a.length;u<f;++u)o=a[u],o!=null&&ru(o).i&4?Array.isArray(o)&&(v=b6(o),!(v>=14&&v<=16))?t.a._b(o)?(r.a?zn(r.a,r.b):r.a=new fu(r.d),p3(r.a,"[...]")):(p=HS(o),y=new Jw(t),cp(r,uEt(p,y))):se(o,172)?cp(r,_vn(l(o,172))):se(o,198)?cp(r,dwn(l(o,198))):se(o,203)?cp(r,wyn(l(o,203))):se(o,2090)?cp(r,fwn(l(o,2090))):se(o,54)?cp(r,Avn(l(o,54))):se(o,591)?cp(r,jvn(l(o,591))):se(o,838)?cp(r,Tvn(l(o,838))):se(o,109)&&cp(r,Svn(l(o,109))):cp(r,o==null?tc:ms(o));return r.a?r.e.length==0?r.a.a:r.a.a+(""+r.e):r.c}function ix(e,t){var r,o,a,u;u=e.F,t==null?(e.F=null,I_(e,null)):(e.F=(Mt(t),t),o=Nf(t,Qa(60)),o!=-1?(a=(io(0,o,t.length),t.substr(0,o)),Nf(t,Qa(46))==-1&&!wt(a,cT)&&!wt(a,cI)&&!wt(a,Y7)&&!wt(a,uI)&&!wt(a,lI)&&!wt(a,dI)&&!wt(a,fI)&&!wt(a,hI)&&(a=r_t),r=F8(t,Qa(62)),r!=-1&&(a+=""+(Jt(r+1,t.length+1),t.substr(r+1))),I_(e,a)):(a=t,Nf(t,Qa(46))==-1&&(o=Nf(t,Qa(91)),o!=-1&&(a=(io(0,o,t.length),t.substr(0,o))),!wt(a,cT)&&!wt(a,cI)&&!wt(a,Y7)&&!wt(a,uI)&&!wt(a,lI)&&!wt(a,dI)&&!wt(a,fI)&&!wt(a,hI)?(a=r_t,o!=-1&&(a+=""+(Jt(o,t.length+1),t.substr(o)))):a=t),I_(e,a),a==t&&(e.F=e.D))),e.Db&4&&!(e.Db&1)&&pr(e,new Pi(e,1,5,u,t))}function Gkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;if(e.c=e.e,M=Ke(F(t,(Ue(),PIt))),R=M==null||(Mt(M),M),u=l(F(t,(Ie(),xa)),24).Gc(($o(),rl)),a=l(F(t,Zr),103),r=!(a==(qi(),_m)||a==Oh||a==fa),R&&(r||!u)){for(T=new V(t.a);T.a<T.c.c.length;)y=l(q(T),9),y.p=0;for(N=new je,v=new V(t.a);v.a<v.c.c.length;)if(y=l(q(v),9),o=Vyt(e,y,null),o){for(m=new ige,qs(m,t),Te(m,_p,l(o.b,24)),Nhe(m.d,t.d),Te(m,nk,null),p=l(o.a,16).Jc();p.Ob();)f=l(p.Pb(),9),Fe(m.a,f),f.a=m;N.Ec(m)}u&&(me(F(t,jI))===me((YS(),mee))?e.c=e.b:me(F(t,jI))===me(wee)?e.c=e.d:e.c=e.a)}else N=new Ls(Z(X(oNt,1),iSt,37,0,[t]));return me(F(t,jI))!==me((YS(),TI))&&(At(),N.gd(new gG)),N}function lEt(e,t){var r,o,a,u,f,p,m,y,v,T;if(m=t.length-1,p=(Jt(m,t.length),t.charCodeAt(m)),p==93){if(f=Nf(t,Qa(91)),f>=0)return a=n1n(e,(io(1,f,t.length),t.substr(1,f-1))),v=(io(f+1,m,t.length),t.substr(f+1,m-(f+1))),b3n(e,v,a)}else{if(r=-1,t2e==null&&(t2e=new RegExp("\\d")),t2e.test(String.fromCharCode(p))&&(r=ffe(t,Qa(46),m-1),r>=0)){o=l(YW(e,Oft(e,(io(1,r,t.length),t.substr(1,r-1))),!1),61),y=0;try{y=Eu((Jt(r+1,t.length+1),t.substr(r+1)),Zi,ar)}catch(N){throw N=ui(N),se(N,133)?(u=N,Y(new sj(u))):Y(N)}if(y<o.gc())return T=o.Xb(y),se(T,76)&&(T=l(T,76).kd()),l(T,57)}if(r<0)return l(YW(e,Oft(e,(Jt(1,t.length+1),t.substr(1))),!1),57)}return null}function qkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(t.Tg("Label dummy insertions",1),T=new je,f=ce(le(F(e,(Ue(),s2)))),y=ce(le(F(e,nv))),v=l(F(e,xu),87),R=new V(e.a);R.a<R.c.c.length;)for(N=l(q(R),9),u=new Ft(Gt(Or(N).a.Jc(),new D));an(u);)if(a=l(en(u),17),a.c.i!=a.d.i&&mV(a.b,pNt)){for(U=Ffn(a),M=uh(a.b.c.length),r=m2n(e,a,U,M),Rt(T.c,r),o=r.o,p=new Ji(a.b,0);p.b<p.d.gc();)m=(cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),70)),me(F(m,Yf))===me((Kd(),yk))&&(v==(Si(),il)||v==ff?(o.a+=m.o.a+y,o.b=b.Math.max(o.b,m.o.b)):(o.a=b.Math.max(o.a,m.o.a),o.b+=m.o.b+y),Rt(M.c,m),Mc(p));v==(Si(),il)||v==ff?(o.a-=y,o.b+=f+U):o.b+=f-y+U}li(e.a,T),t.Ug()}function ox(e,t,r){var o,a,u,f,p,m,y;if(y=e.c,!t&&(t=O3e),e.c=t,e.Db&4&&!(e.Db&1)&&(m=new Pi(e,1,2,y,e.c),r?r.lj(m):r=m),y!=t){if(se(e.Cb,294))e.Db>>16==-10?r=l(e.Cb,294).Wk(t,r):e.Db>>16==-15&&(!t&&(t=(_t(),bf)),!y&&(y=(_t(),bf)),e.Cb.Vh()&&(m=new up(e.Cb,1,13,y,t,gg(Fc(l(e.Cb,62)),e),!1),r?r.lj(m):r=m));else if(se(e.Cb,89))e.Db>>16==-23&&(se(t,89)||(t=(_t(),Ml)),se(y,89)||(y=(_t(),Ml)),e.Cb.Vh()&&(m=new up(e.Cb,1,10,y,t,gg(oa(l(e.Cb,29)),e),!1),r?r.lj(m):r=m));else if(se(e.Cb,449))for(p=l(e.Cb,842),f=(!p.b&&(p.b=new C9(new sq)),p.b),u=(o=new hy(new Mw(f.a).a),new I9(o));u.a.b;)a=l(bE(u.a).jd(),88),r=ox(a,DF(a,p),r)}return r}function Vkn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(f=Ye(Ke(ve(e,(Ue(),Jy)))),N=l(ve(e,Qy),24),m=!1,y=!1,T=new tn((!e.c&&(e.c=new ke(Gc,e,9,9)),e.c));T.e!=T.i.gc()&&(!m||!y);){for(u=l(rn(T),127),p=0,a=hh(Wu(Z(X(nl,1),It,22,0,[(!u.d&&(u.d=new Tt(Ir,u,8,5)),u.d),(!u.e&&(u.e=new Tt(Ir,u,7,4)),u.e)])));an(a)&&(o=l(en(a),74),v=f&&R0(o)&&Ye(Ke(ve(o,bm))),r=Hvt((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),u)?e==Br(Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83))):e==Br(Jo(l(ie((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b),0),83))),!((v||r)&&(++p,p>1))););(p>0||N.Gc((xc(),Rp))&&(!u.n&&(u.n=new ke(Rs,u,1,7)),u.n).i>0)&&(m=!0),p>1&&(y=!0)}m&&t.Ec(($o(),rl)),y&&t.Ec(($o(),CI))}function dEt(e){var t,r,o,a,u,f,p,m,y,v,T,N;if(N=l(ve(e,(_n(),Am)),24),N.dc())return null;if(p=0,f=0,N.Gc((su(),XL))){for(v=l(ve(e,bk),103),o=2,r=2,a=2,u=2,t=Br(e)?l(ve(Br(e),Tm),87):l(ve(e,Tm),87),y=new tn((!e.c&&(e.c=new ke(Gc,e,9,9)),e.c));y.e!=y.i.gc();)if(m=l(rn(y),127),T=l(ve(m,w2),64),T==(He(),Is)&&(T=k0e(m,t),Vn(m,w2,T)),v==(qi(),fa))switch(T.g){case 1:o=b.Math.max(o,m.i+m.g);break;case 2:r=b.Math.max(r,m.j+m.f);break;case 3:a=b.Math.max(a,m.i+m.g);break;case 4:u=b.Math.max(u,m.j+m.f)}else switch(T.g){case 1:o+=m.g+2;break;case 2:r+=m.f+2;break;case 3:a+=m.g+2;break;case 4:u+=m.f+2}p=b.Math.max(o,a),f=b.Math.max(r,u)}return M0(e,p,f,!0,!0)}function Wkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(a=null,o=new V(t.a);o.a<o.c.c.length;)r=l(q(o),9),jJ(r)?u=(p=o0(lO(new Tb,r),e.f),m=o0(lO(new Tb,r),e.f),y=new khe(r,!0,p,m),v=r.o.b,T=(vy(),(r.q?r.q:(At(),At(),xh))._b((Ue(),ow))?N=l(F(r,ow),205):N=l(F(ji(r),zI),205),N),R=1e4,T==a2&&(R=1),M=Ql($l(Ul(Bl(Hl(new gl,R),bo(b.Math.ceil(v))),p),m)),T==c2&&gi(e.d,M),Gyt(e,ou(ks(r,(He(),Wt))),y),Gyt(e,ks(r,Qt),y),y):u=(U=o0(lO(new Tb,r),e.f),ei(dr(new vt(null,new St(r.j,16)),new UUe),new Dtt(e,U)),new khe(r,!1,U,U)),e.i[r.p]=u,a&&(f=a.c.d.a+iE(e.n,a.c,r)+r.d.d,a.b||(f+=a.c.o.b),Ql($l(Ul(Hl(Bl(new gl,bo(b.Math.ceil(f))),0),a.d),u.a))),a=u}function zJ(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(re=l(Ac(fj(dr(new vt(null,new St(t.d,16)),new bJe(r)),new mJe(r)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),T=ar,v=Zi,m=new V(t.b.j);m.a<m.c.c.length;)p=l(q(m),12),p.j==r&&(T=b.Math.min(T,p.p),v=b.Math.max(v,p.p));if(T==ar)for(f=0;f<re.gc();f++)Lpe(l(re.Xb(f),108),r,f);else for(oe=we(Rn,Qn,30,a.length,15,1),bsn(oe,oe.length),J=re.Jc();J.Ob();){for(G=l(J.Pb(),108),u=l(Ut(e.b,G),172),y=0,U=T;U<=v;U++)u[U]&&(y=b.Math.max(y,o[U]));if(G.i){for(R=G.i.c,de=new pi,N=0;N<a.length;N++)a[R][N]&&gi(de,Oe(oe[N]));for(;bl(de,Oe(y));)++y}for(Lpe(G,r,y),M=T;M<=v;M++)u[M]&&(o[M]=y+1);G.i&&(oe[G.i.c]=y)}}function fEt(e,t){var r,o,a,u,f,p,m,y;for(Te(t,(Ie(),DI),Oe(e.b)),Te(t,LT,Oe(e.b)),++e.b,Wnt(e.d,t),Te(t,aB,(Lt(),!0)),o=new Ft(Gt(Lf(t).a.Jc(),new D));an(o);)r=l(en(o),17),!(r.c.i!=t&&_s(e.a,r,0)==-1)&&(r.c.i==t&&_s(e.a,r,0)!=-1||(y=null,r.d.i==t?y=r.c.i:y=r.d.i,l(F(y,DI),15).a==-1?(fEt(e,y),Te(t,LT,Oe(b.Math.min(l(F(t,LT),15).a,l(F(y,LT),15).a)))):Ye(Ke(F(y,aB)))&&Te(t,LT,Oe(b.Math.min(l(F(t,LT),15).a,l(F(y,DI),15).a)))));if(me(F(t,LT))===me(F(t,DI))){m=new pi,u=null;do u=l(Jge(e.d),9),Te(u,aB,!1),m.a.yc(u,m);while(t!=u);if(m.a.gc()>1)for(a=e.e.b,Gn(e.e,m),p=m.a.ec().Jc();p.Ob();)f=l(p.Pb(),9),Jn(e.c,f,Oe(a))}}function Kkn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R;for(u=new T0t(t),T=wTn(e,t,u),R=b.Math.max(ce(le(F(t,(Ue(),_g)))),1),v=new V(T.a);v.a<v.c.c.length;)y=l(q(v),49),m=f1t(l(y.a,8),l(y.b,8),R),w=!0,w=w&a0(r,new Me(m.c,m.d)),w=w&a0(r,Vw(new Me(m.c,m.d),m.b,0)),w=w&a0(r,Vw(new Me(m.c,m.d),0,m.a)),w&a0(r,Vw(new Me(m.c,m.d),m.b,m.a));switch(N=u.d,p=f1t(l(T.b.a,8),l(T.b.b,8),R),N==(He(),Wt)||N==Qt?(o.c[N.g]=b.Math.min(o.c[N.g],p.d),o.b[N.g]=b.Math.max(o.b[N.g],p.d+p.a)):(o.c[N.g]=b.Math.min(o.c[N.g],p.c),o.b[N.g]=b.Math.max(o.b[N.g],p.c+p.b)),a=Li,f=u.c.i.d,N.g){case 4:a=f.c;break;case 2:a=f.b;break;case 1:a=f.a;break;case 3:a=f.d}return o.a[N.g]=b.Math.max(o.a[N.g],a),u}function Ykn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;if(u=l(F(e,(Ie(),wr)),74),!!u){for(o=e.a,a=new To(r),mr(a,O0n(e)),T_(e.d.i,e.c.i)?(N=e.c,T=xs(Z(X($i,1),Pe,8,0,[N.n,N.a])),Di(T,r)):T=qd(e.c),Wr(o,T,o.a,o.a.a),R=qd(e.d),F(e,lte)!=null&&mr(R,l(F(e,lte),8)),Wr(o,R,o.c.b,o.c),fy(o,a),f=kC(u),Sj(f,l(ie((!u.b&&(u.b=new Tt(pn,u,4,7)),u.b),0),83)),Tj(f,l(ie((!u.c&&(u.c=new Tt(pn,u,5,8)),u.c),0),83)),C0e(o,f),v=new V(e.b);v.a<v.c.c.length;)y=l(q(v),70),p=l(F(y,wr),158),Hb(p,y.o.a),Ub(p,y.o.b),Bu(p,y.n.a+a.a,y.n.b+a.b),Vn(p,(zS(),Tee),Ke(F(y,Tee)));m=l(F(e,(Ue(),as)),79),m?(fy(m,a),Vn(u,as,m)):Vn(u,as,null),t==(gp(),WT)?Vn(u,kp,WT):Vn(u,kp,null)}}function Jkn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re;for(R=t.c.length,N=0,T=new V(e.b);T.a<T.c.c.length;)if(v=l(q(T),26),J=v.a,J.c.length!=0){for(G=new V(J),y=0,re=null,a=l(q(G),9),u=null;a;){if(u=l(ze(t,a.p),264),u.c>=0){for(m=null,p=new Ji(v.a,y+1);p.b<p.d.gc()&&(f=(cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),9)),m=l(ze(t,f.p),264),!(m.d==u.d&&m.c<u.c));)m=null;m&&(re&&(nu(o,a.p,Oe(l(ze(o,a.p),15).a-1)),l(ze(r,re.p),16).Kc(u)),u=bwn(u,a,R++),Rt(t.c,u),Fe(r,new je),re?(l(ze(r,re.p),16).Ec(u),Fe(o,Oe(1))):Fe(o,Oe(0)))}M=null,G.a<G.c.c.length&&(M=l(q(G),9),U=l(ze(t,M.p),264),l(ze(r,a.p),16).Ec(U),nu(o,M.p,Oe(l(ze(o,M.p),15).a+1))),u.d=N,u.c=y++,re=a,a=M}++N}}function Xkn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;p=l(Ut(t.c,e),460),re=t.a.c,m=t.a.c+t.a.b,ft=p.f,Ct=p.a,f=ft<Ct,U=new Me(re,ft),oe=new Me(m,Ct),a=(re+m)/2,G=new Me(a,ft),de=new Me(a,Ct),u=G2n(e,ft,Ct),ye=qd(t.B),qe=new Me(a,u),dt=qd(t.D),r=Tpn(Z(X($i,1),Pe,8,0,[ye,qe,dt])),R=!1,J=t.B.i,J&&J.c&&p.d&&(y=f&&J.p<J.c.a.c.length-1||!f&&J.p>0,y?y&&(N=J.p,f?++N:--N,T=l(ze(J.c.a,N),9),o=dpt(T),R=!(xwt(o,ye,r[0])||vst(o,ye,r[0]))):R=!0),M=!1,Ee=t.D.i,Ee&&Ee.c&&p.e&&(v=f&&Ee.p>0||!f&&Ee.p<Ee.c.a.c.length-1,v?(N=Ee.p,f?--N:++N,T=l(ze(Ee.c.a,N),9),o=dpt(T),M=!(xwt(o,r[0],dt)||vst(o,r[0],dt))):M=!0),R&&M&&Gn(e.a,qe),R||K3(e.a,Z(X($i,1),Pe,8,0,[U,G])),M||K3(e.a,Z(X($i,1),Pe,8,0,[de,oe]))}function hEt(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt;if(r.c.length!=0){for(M=new je,R=new V(r);R.a<R.c.c.length;)N=l(q(R),19),Fe(M,new Me(N.i,N.j));for(o.bh(t,"Before removing overlaps");qbe(e,r);)IF(e,r,!1);if(o.bh(t,"After removing overlaps"),p=0,m=0,a=null,r.c.length!=0&&(a=(at(0,r.c.length),l(r.c[0],19)),p=a.i-(at(0,M.c.length),l(M.c[0],8)).a,m=a.j-(at(0,M.c.length),l(M.c[0],8)).b),f=b.Math.sqrt(p*p+m*m),T=lgn(r),u=1,T.a.gc()!=0){for(v=T.a.ec().Jc();v.Ob();)y=l(v.Pb(),19),U=e.f,G=U.i+U.g/2,J=U.j+U.f/2,re=y.i+y.g/2,oe=y.j+y.f/2,de=re-G,Ee=oe-J,ye=b.Math.sqrt(de*de+Ee*Ee),qe=de/ye,dt=Ee/ye,va(y,y.i+qe*f),gc(y,y.j+dt*f);o.bh(t,"Child movement "+u),++u}e.a&&e.a.Fg(new Tc(T)),hEt(e,t,new Tc(T),o)}}function Zkn(e,t){var r,o,a,u,f,p,m,y,v,T,N;if(!e.f[t.p]){for(e.f[t.p]=!0,m=new hn,a=me(F(e.c,(Ue(),PT)))===me((b1(),Vy)),o=new Ft(Gt(Or(t).a.Jc(),new D));an(o);)r=l(en(o),17),br(r.d.i,(Ie(),Cr))?(N=0,T=r.d.i,a?(p=l(F(e.c,$1),15).a,N=p*l(F(T,Ky),15).a+l(F(T,Cr),15).a):N=l(F(r.d.i,Cr),15).a,ma(m,Oe(N))?gi(l(Ut(m,Oe(N)),47),r):Jn(m,Oe(N),new Jw(new Ls(Z(X(zx,1),Tx,17,0,[r]))))):Jn(m,Oe(ar-(m.f.c+m.i.c)),new Jw(new Ls(Z(X(zx,1),Tx,17,0,[r]))));for(y=new Ode(new Xh(m)),f=y.a.ec().Jc();f.Ob();)u=l(f.Pb(),15).a,v=l(l(Ut(m,Oe(u)),47).a.ec().Jc().Pb(),17),!fo(v)&&(T=v.d.i,e.f[T.p]&&!bl(e.e,t)&&!bl(e.d,T)?li(e.b,l(Ut(m,Oe(u)),18)):Gn(e.a,T))}}function Qkn(e){var t,r,o,a;if(r=e.D!=null?e.D:e.B,t=Nf(r,Qa(91)),t!=-1){o=(io(0,t,r.length),r.substr(0,t)),a=new Xp;do a.a+="[";while((t=KA(r,91,++t))!=-1);wt(o,cT)?a.a+="Z":wt(o,cI)?a.a+="B":wt(o,Y7)?a.a+="C":wt(o,uI)?a.a+="D":wt(o,lI)?a.a+="F":wt(o,dI)?a.a+="I":wt(o,fI)?a.a+="J":wt(o,hI)?a.a+="S":(a.a+="L",a.a+=""+o,a.a+=";");try{return null}catch(u){if(u=ui(u),!se(u,63))throw Y(u)}}else if(Nf(r,Qa(46))==-1){if(wt(r,cT))return cc;if(wt(r,cI))return Ec;if(wt(r,Y7))return al;if(wt(r,uI))return Ki;if(wt(r,lI))return Tv;if(wt(r,dI))return Rn;if(wt(r,fI))return pw;if(wt(r,hI))return T2}return null}function eNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;for(T=new phe(new hue(e));T.c!=T.d.a.d;)for(v=Jdt(T),p=l(v.d,57),t=l(v.e,57),f=p.Ah(),U=0,de=(f.i==null&&Ff(f),f.i).length;U<de;++U)if(y=(u=(f.i==null&&Ff(f),f.i),U>=0&&U<u.length?u[U]:null),y.pk()&&!y.qk()){if(se(y,104))m=l(y,20),!(m.Bb&Ws)&&(ye=Po(m),!(ye&&ye.Bb&Ws))&&D_n(e,m,p,t);else if(Mo(),l(y,69).vk()&&(r=(Ee=y,l(Ee?l(t,52).di(Ee):null,164)),r))for(R=l(p.Jh(y),164),o=r.gc(),G=0,M=R.gc();G<M;++G)if(N=R.Rl(G),se(N,104)){if(oe=R.Sl(G),a=Wd(e,oe),a==null&&oe!=null){if(re=l(N,20),!e.b||re.Bb&Ws||Po(re))continue;a=oe}if(!r.Ml(N,a)){for(J=0;J<o;++J)if(r.Rl(J)==N&&me(r.Sl(J))===me(a)){r.Ri(r.gc()-1,J),--o;break}}}else r.Ml(R.Rl(G),R.Sl(G))}}function tNn(e,t,r){var o;if(r.Tg("StretchWidth layering",1),t.a.c.length==0){r.Ug();return}for(e.c=t,e.t=0,e.u=0,e.i=Kr,e.g=Li,e.d=ce(le(F(t,(Ue(),od)))),kbn(e),SEn(e),EEn(e),k0n(e),O1n(e),e.i=b.Math.max(1,e.i),e.g=b.Math.max(1,e.g),e.d=e.d/e.i,e.f=e.g/e.i,e.s=Gbn(e),o=new ra(e.c),Fe(e.c.b,o),e.r=jb(e.p),e.n=LP(e.k,e.k.length);e.r.c.length!=0;)e.o=egn(e),!e.o||mpt(e)&&e.b.a.gc()!=0?(twn(e,o),o=new ra(e.c),Fe(e.c.b,o),wo(e.a,e.b),e.b.a.$b(),e.t=e.u,e.u=0):mpt(e)?(e.c.b.c.length=0,o=new ra(e.c),Fe(e.c.b,o),e.t=0,e.u=0,e.b.a.$b(),e.a.a.$b(),++e.f,e.r=jb(e.p),e.n=LP(e.k,e.k.length)):(Oi(e.o,o),Xa(e.r,e.o),gi(e.b,e.o),e.t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p],e.u+=e.e[e.o.p]*e.d);t.a.c.length=0,vC(t.b),r.Ug()}function GJ(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;return m=e,v=Di(new Me(t.a,t.b),e),y=r,T=Di(new Me(o.a,o.b),r),N=m.a,G=m.b,M=y.a,re=y.b,R=v.a,J=v.b,U=T.a,oe=T.b,a=U*J-R*oe,Ud(),Yl(Gf),b.Math.abs(0-a)<=Gf||a==0||isNaN(0)&&isNaN(a)?!1:(f=1/a*((N-M)*J-(G-re)*R),p=1/a*-(-(N-M)*oe+(G-re)*U),u=(Yl(Gf),(b.Math.abs(0-f)<=Gf||f==0||isNaN(0)&&isNaN(f)?0:0<f?-1:0>f?1:kb(isNaN(0),isNaN(f)))<0&&(Yl(Gf),(b.Math.abs(f-1)<=Gf||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:kb(isNaN(f),isNaN(1)))<0)&&(Yl(Gf),(b.Math.abs(0-p)<=Gf||p==0||isNaN(0)&&isNaN(p)?0:0<p?-1:0>p?1:kb(isNaN(0),isNaN(p)))<0)&&(Yl(Gf),(b.Math.abs(p-1)<=Gf||p==1||isNaN(p)&&isNaN(1)?0:p<1?-1:p>1?1:kb(isNaN(p),isNaN(1)))<0)),u)}function nNn(e){var t,r,o,a,u,f,p,m,y,v,T;for(e.j=we(Rn,Qn,30,e.g,15,1),e.o=new je,ei(bs(new vt(null,new St(e.e.b,16)),new YUe),new qJe(e)),e.a=we(cc,Ad,30,e.b,16,1),L6(new vt(null,new St(e.e.b,16)),new WJe(e)),o=(T=new je,ei(dr(bs(new vt(null,new St(e.e.b,16)),new XUe),new VJe(e)),new Ltt(e,T)),T),m=new V(o);m.a<m.c.c.length;)if(p=l(q(m),504),!(p.c.length<=1)){if(p.c.length==2){Uvn(p),jJ((at(0,p.c.length),l(p.c[0],17)).d.i)||Fe(e.o,p);continue}if(!(uwn(p)||Jyn(p,new JUe)))for(y=new V(p),a=null;y.a<y.c.c.length;)t=l(q(y),17),r=e.c[t.p],!a||y.a>=y.c.c.length?v=ope((Ht(),Xr),bi):v=ope((Ht(),bi),bi),v*=2,u=r.a.g,r.a.g=b.Math.max(u,u+(v-u)),f=r.b.g,r.b.g=b.Math.max(f,f+(v-f)),a=t}}function XF(e,t){var r;if(e.e)throw Y(new ts((np(nee),RX+nee.k+OX)));if(!Gen(e.a,t))throw Y(new Es(L2t+t+M2t));if(t==e.d)return e;switch(r=e.d,e.d=t,r.g){case 0:switch(t.g){case 2:C0(e);break;case 1:w1(e),C0(e);break;case 4:AE(e),C0(e);break;case 3:AE(e),w1(e),C0(e)}break;case 2:switch(t.g){case 1:w1(e),vJ(e);break;case 4:AE(e),C0(e);break;case 3:AE(e),w1(e),C0(e)}break;case 1:switch(t.g){case 2:w1(e),vJ(e);break;case 4:w1(e),AE(e),C0(e);break;case 3:w1(e),AE(e),w1(e),C0(e)}break;case 4:switch(t.g){case 2:AE(e),C0(e);break;case 1:AE(e),w1(e),C0(e);break;case 3:w1(e),vJ(e)}break;case 3:switch(t.g){case 2:w1(e),AE(e),C0(e);break;case 1:w1(e),AE(e),w1(e),C0(e);break;case 4:w1(e),vJ(e)}}return e}function OE(e,t){var r;if(e.d)throw Y(new ts((np(bee),RX+bee.k+OX)));if(!qen(e.a,t))throw Y(new Es(L2t+t+M2t));if(t==e.c)return e;switch(r=e.c,e.c=t,r.g){case 0:switch(t.g){case 2:Wb(e);break;case 1:m1(e),Wb(e);break;case 4:_E(e),Wb(e);break;case 3:_E(e),m1(e),Wb(e)}break;case 2:switch(t.g){case 1:m1(e),EJ(e);break;case 4:_E(e),Wb(e);break;case 3:_E(e),m1(e),Wb(e)}break;case 1:switch(t.g){case 2:m1(e),EJ(e);break;case 4:m1(e),_E(e),Wb(e);break;case 3:m1(e),_E(e),m1(e),Wb(e)}break;case 4:switch(t.g){case 2:_E(e),Wb(e);break;case 1:_E(e),m1(e),Wb(e);break;case 3:m1(e),EJ(e)}break;case 3:switch(t.g){case 2:m1(e),_E(e),Wb(e);break;case 1:m1(e),_E(e),m1(e),Wb(e);break;case 4:m1(e),EJ(e)}}return e}function rNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(T=e.b,v=new Ji(T,0),Kw(v,new ra(e)),re=!1,f=1;v.b<v.d.gc();){for(y=(cn(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),26)),U=(at(f,T.c.length),l(T.c[f],26)),G=jb(y.a),J=G.c.length,M=new V(G);M.a<M.c.c.length;)N=l(q(M),9),Oi(N,U);if(re){for(R=ou(G).Jc();R.Ob();)for(N=l(R.Pb(),9),u=new V(jb(si(N)));u.a<u.c.c.length;)a=l(q(u),17),mg(a,!0),Te(e,(Ie(),CT),(Lt(),!0)),o=qvt(e,a,J),r=l(F(N,ew),318),oe=l(ze(o,o.c.length-1),17),r.k=oe.c.i,r.n=oe,r.b=a.d.i,r.c=a;re=!1}else G.c.length!=0&&(t=(at(0,G.c.length),l(G.c[0],9)),t.k==(Ht(),af)&&(re=!0,f=-1));++f}for(p=new Ji(e.b,0);p.b<p.d.gc();)m=(cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)),m.a.c.length==0&&Mc(p)}function ZF(e,t){var r,o,a,u,f,p,m,y;if(se(e.Bh(),176)?(ZF(l(e.Bh(),176),t),t.a+=" > "):t.a+="Root ",r=e.Ah().zb,wt(r.substr(0,3),"Elk")?zn(t,(Jt(3,r.length+1),r.substr(3))):t.a+=""+r,a=e.ih(),a){zn((t.a+=" ",t),a);return}if(se(e,363)&&(y=l(e,158).a,y)){zn((t.a+=" ",t),y);return}for(f=new tn(e.jh());f.e!=f.i.gc();)if(u=l(rn(f),158),y=u.a,y){zn((t.a+=" ",t),y);return}if(se(e,273)&&(o=l(e,74),!o.b&&(o.b=new Tt(pn,o,4,7)),o.b.i!=0&&(!o.c&&(o.c=new Tt(pn,o,5,8)),o.c.i!=0))){for(t.a+=" (",p=new SS((!o.b&&(o.b=new Tt(pn,o,4,7)),o.b));p.e!=p.i.gc();)p.e>0&&(t.a+=ja),ZF(l(rn(p),176),t);for(t.a+=$X,m=new SS((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c));m.e!=m.i.gc();)m.e>0&&(t.a+=ja),ZF(l(rn(m),176),t);t.a+=")"}}function iNn(e,t,r){var o,a,u,f,p,m,y,v;for(m=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));m.e!=m.i.gc();)for(p=l(rn(m),19),a=new Ft(Gt(mp(p).a.Jc(),new D));an(a);){if(o=l(en(a),74),!o.b&&(o.b=new Tt(pn,o,4,7)),!(o.b.i<=1&&(!o.c&&(o.c=new Tt(pn,o,5,8)),o.c.i<=1)))throw Y(new uS("Graph must not contain hyperedges."));if(!AC(o)&&p!=Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83)))for(y=new Iit,qs(y,o),Te(y,(p1(),_T),o),kZt(y,l(Ss(ns(r.f,p)),156)),NZt(y,l(Ut(r,Jo(l(ie((!o.c&&(o.c=new Tt(pn,o,5,8)),o.c),0),83))),156)),Fe(t.c,y),f=new tn((!o.n&&(o.n=new ke(Rs,o,1,7)),o.n));f.e!=f.i.gc();)u=l(rn(f),158),v=new Uut(y,u.a),qs(v,u),Te(v,_T,u),v.e.a=b.Math.max(u.g,1),v.e.b=b.Math.max(u.f,1),D0e(v),Fe(t.d,v)}}function oNn(e,t,r){var o,a,u,f,p,m,y,v,T,N;switch(r.Tg("Node promotion heuristic",1),e.i=t,e.r=l(F(t,(Ue(),wL)),246),e.r!=(x1(),ak)&&e.r!=KI?RNn(e):eTn(e),v=l(F(e.i,RAe),15).a,u=new m$e,e.r.g){case 2:case 1:rx(e,u);break;case 3:for(e.r=CB,rx(e,u),m=0,p=new V(e.b);p.a<p.c.c.length;)f=l(q(p),15),m=b.Math.max(m,f.a);m>e.k&&(e.r=SL,rx(e,u));break;case 4:for(e.r=CB,rx(e,u),y=0,a=new V(e.c);a.a<a.c.c.length;)o=le(q(a)),y=b.Math.max(y,(Mt(o),o));y>e.n&&(e.r=TL,rx(e,u));break;case 6:N=bo(b.Math.ceil(e.g.length*v/100)),rx(e,new GYe(N));break;case 5:T=bo(b.Math.ceil(e.e*v/100)),rx(e,new qYe(T));break;case 8:KEt(e,!0);break;case 9:KEt(e,!1);break;default:rx(e,u)}e.r!=ak&&e.r!=KI?vSn(e,t):$Tn(e,t),r.Ug()}function sNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(T=new K0e(e),Mcn(T,!(t==(Si(),il)||t==ff)),v=T.a,N=new oS,a=(Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])),f=0,m=a.length;f<m;++f)r=a[f],y=yV(v,Bs,r),y&&(N.d=b.Math.max(N.d,y.ff()));for(o=Z(X($y,1),Ce,240,0,[Bs,$a,Us]),u=0,p=o.length;u<p;++u)r=o[u],y=yV(v,Us,r),y&&(N.a=b.Math.max(N.a,y.ff()));for(U=Z(X($y,1),Ce,240,0,[Bs,$a,Us]),J=0,oe=U.length;J<oe;++J)R=U[J],y=yV(v,R,Bs),y&&(N.b=b.Math.max(N.b,y.gf()));for(M=Z(X($y,1),Ce,240,0,[Bs,$a,Us]),G=0,re=M.length;G<re;++G)R=M[G],y=yV(v,R,Us),y&&(N.c=b.Math.max(N.c,y.gf()));return N.d>0&&(N.d+=v.n.d,N.d+=v.d),N.a>0&&(N.a+=v.n.a,N.a+=v.d),N.b>0&&(N.b+=v.n.b,N.b+=v.d),N.c>0&&(N.c+=v.n.c,N.c+=v.d),N}function pEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M;for(N=r.d,T=r.c,u=new Me(r.f.a+r.d.b+r.d.c,r.f.b+r.d.d+r.d.a),f=u.b,y=new V(e.a);y.a<y.c.c.length;)if(p=l(q(y),9),p.k==(Ht(),yi)){switch(o=l(F(p,(Ie(),Hs)),64),a=l(F(p,vTe),8),v=p.n,o.g){case 2:v.a=r.f.a+N.c-T.a;break;case 4:v.a=-T.a-N.b}switch(M=0,o.g){case 2:case 4:t==(qi(),Oh)?(R=ce(le(F(p,nw))),v.b=u.b*R-l(F(p,(Ue(),sw)),8).b,M=v.b+a.b,Mj(p,!1,!0)):t==fa&&(v.b=ce(le(F(p,nw)))-l(F(p,(Ue(),sw)),8).b,M=v.b+a.b,Mj(p,!1,!0))}f=b.Math.max(f,M)}for(r.f.b+=f-u.b,m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),p.k==(Ht(),yi))switch(o=l(F(p,(Ie(),Hs)),64),v=p.n,o.g){case 1:v.b=-T.b-N.d;break;case 3:v.b=r.f.b+N.a-T.b}}function gEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U;if(y=__n(l(ve(t,(wh(),av)),107),l(ve(r,Sm),107)),va(r,t.i+y),ce(le(ve(e,Xf)))<ce(le(ve(r,Xf)))){for(N=l(ve(e,Sm),107),v=N.c+e.i;N.b;)N=N.b,v+=N.c;for(u=new Qc(l(ve(r,Sm),107).c,-100,l(ve(r,Sm),107).b),U=u.c+r.i;u.b.a<=N.a;)u=u.b,U+=u.c;p=u.b.c,m=u.b.a-u.a,f=(N.a-u.a)*p/m,M=-v+U+f,R=new Qc(u.b.c-f,u.b.a,u.b.b),XR(N,new Qc(M,N.a,R)),Vn(e,Xf,le(ve(r,Xf)))}if(ce(le(ve(r,Xf)))<ce(le(ve(t,Xf)))){for(T=l(ve(r,av),107),U=T.c+r.i;T.b;)T=T.b,U+=T.c;for(a=new Qc(l(ve(t,av),107).c,-100,l(ve(t,av),107).b),o=a.c+t.i;a.b.a<=T.a;)a=a.b,o+=a.c;p=a.b.c,m=a.b.a-a.a,f=(T.a-a.a)*p/m,M=o-U+f,R=new Qc(a.b.c-f,a.b.a,a.b.b),XR(T,new Qc(M,T.a,R)),Vn(r,Xf,le(ve(t,Xf)))}}function aNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;if(v=l(l(yr(e.r,t),24),85),v.gc()<=2||t==(He(),Qt)||t==(He(),Wt)){MEt(e,t);return}for(U=e.u.Gc((xc(),KT)),r=t==(He(),Vt)?(A0(),eL):(A0(),QD),J=t==Vt?(Za(),rd):(Za(),Nd),o=ile(wfe(r),e.s),G=t==Vt?Kr:Li,y=v.Jc();y.Ob();)p=l(y.Pb(),116),!(!p.c||p.c.d.c.length<=0)&&(M=p.b.Kf(),R=p.e,T=p.c,N=T.i,N.b=(u=T.n,T.e.a+u.b+u.c),N.a=(f=T.n,T.e.b+f.d+f.a),U?(N.c=R.a-(a=T.n,T.e.a+a.b+a.c)-e.s,U=!1):N.c=R.a+M.a+e.s,YO(J,Ewe),T.f=J,Ed(T,(_c(),nd)),Fe(o.d,new YV(N,h1e(o,N))),G=t==Vt?b.Math.min(G,R.b):b.Math.max(G,R.b+p.b.Kf().b));for(G+=t==Vt?-e.t:e.t,I1e((o.e=G,o)),m=v.Jc();m.Ob();)p=l(m.Pb(),116),!(!p.c||p.c.d.c.length<=0)&&(N=p.c.i,N.c-=p.e.a,N.d-=p.e.b)}function bEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(a=new je,U=new V(t.a);U.a<U.c.c.length;)if(M=l(q(U),9),R=M.e,R&&(o=bEt(e,R,M),li(a,o),Ekn(e,R,M),l(F(R,(Ie(),xa)),24).Gc(($o(),rl))))for(re=l(F(M,(Ue(),Zr)),103),N=l(F(M,Qy),185).Gc((xc(),Rp)),J=new V(M.j);J.a<J.c.c.length;)for(G=l(q(J),12),u=l(Ut(e.b,G),9),u||(u=fD(G,re,G.j,-(G.e.c.length-G.g.c.length),null,new ro,G.o,l(F(R,xu),87),R),Te(u,wr,G),Jn(e.b,G,u),Fe(R.a,u)),f=l(ze(u.j,0),12),v=new V(G.f);v.a<v.c.c.length;)y=l(q(v),70),p=new MQe,p.o.a=y.o.a,p.o.b=y.o.b,Fe(f.f,p),N||(oe=G.j,T=0,k3(l(F(M,Qy),24))&&(T=bme(y.n,y.o,G.o,0,oe)),re==(qi(),pf)||(He(),Wa).Gc(oe)?p.o.a=T:p.o.b=T);return m=new je,Skn(e,t,r,a,m),r&&Fxn(e,t,r,m),m}function q0e(e,t,r){var o,a,u,f,p,m,y,v,T;if(!e.c[t.c.p][t.p].e){for(e.c[t.c.p][t.p].e=!0,e.c[t.c.p][t.p].b=0,e.c[t.c.p][t.p].d=0,e.c[t.c.p][t.p].a=null,v=new V(t.j);v.a<v.c.c.length;)for(y=l(q(v),12),T=r?new DA(y):new tS(y),m=T.Jc();m.Ob();)p=l(m.Pb(),12),f=p.i,f.c==t.c?f!=t&&(q0e(e,f,r),e.c[t.c.p][t.p].b+=e.c[f.c.p][f.p].b,e.c[t.c.p][t.p].d+=e.c[f.c.p][f.p].d):(e.c[t.c.p][t.p].d+=e.g[p.p],++e.c[t.c.p][t.p].b);if(u=l(F(t,(Ie(),bTe)),16),u)for(a=u.Jc();a.Ob();)o=l(a.Pb(),9),t.c==o.c&&(q0e(e,o,r),e.c[t.c.p][t.p].b+=e.c[o.c.p][o.p].b,e.c[t.c.p][t.p].d+=e.c[o.c.p][o.p].d);e.c[t.c.p][t.p].b>0&&(e.c[t.c.p][t.p].d+=Bc(e.i,24)*_D*.07000000029802322-.03500000014901161,e.c[t.c.p][t.p].a=e.c[t.c.p][t.p].d/e.c[t.c.p][t.p].b)}}function cNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(M=new V(e);M.a<M.c.c.length;){for(R=l(q(M),9),ng(R.n),ng(R.o),_pe(R.f),_yt(R),TTn(R),G=new V(R.j);G.a<G.c.c.length;){for(U=l(q(G),12),ng(U.n),ng(U.a),ng(U.o),Ii(U,z1t(U.j)),u=l(F(U,(Ue(),xg)),15),u&&Te(U,xg,Oe(-u.a)),a=new V(U.g);a.a<a.c.c.length;){for(o=l(q(a),17),r=An(o.a,0);r.b!=r.d.c;)t=l(Sn(r),8),ng(t);if(m=l(F(o,as),79),m)for(p=An(m,0);p.b!=p.d.c;)f=l(Sn(p),8),ng(f);for(T=new V(o.b);T.a<T.c.c.length;)y=l(q(T),70),ng(y.n),ng(y.o)}for(N=new V(U.f);N.a<N.c.c.length;)y=l(q(N),70),ng(y.n),ng(y.o)}for(R.k==(Ht(),yi)&&(Te(R,(Ie(),Hs),z1t(l(F(R,Hs),64))),RSn(R)),v=new V(R.b);v.a<v.c.c.length;)y=l(q(v),70),_yt(y),ng(y.o),ng(y.n)}}function uNn(e){Ww();var t,r,o,a,u,f,p;for(o=e.f.n,f=lhe(e.r).a.nc();f.Ob();){if(u=l(f.Pb(),116),a=0,u.b.nf((_n(),zc))&&(a=ce(le(u.b.mf(zc))),a<0))switch(u.b.$f().g){case 1:o.d=b.Math.max(o.d,-a);break;case 3:o.a=b.Math.max(o.a,-a);break;case 2:o.c=b.Math.max(o.c,-a);break;case 4:o.b=b.Math.max(o.b,-a)}if(k3(e.u))switch(t=Lhn(u.b,a),p=!l(e.e.mf(q1),185).Gc((Uc(),ZL)),r=!1,u.b.$f().g){case 1:r=t>o.d,o.d=b.Math.max(o.d,t),p&&r&&(o.d=b.Math.max(o.d,o.a),o.a=o.d+a);break;case 3:r=t>o.a,o.a=b.Math.max(o.a,t),p&&r&&(o.a=b.Math.max(o.a,o.d),o.d=o.a+a);break;case 2:r=t>o.c,o.c=b.Math.max(o.c,t),p&&r&&(o.c=b.Math.max(o.b,o.c),o.b=o.c+a);break;case 4:r=t>o.b,o.b=b.Math.max(o.b,t),p&&r&&(o.b=b.Math.max(o.b,o.c),o.c=o.b+a)}}}function mEt(e,t){var r,o,a,u,f,p,m,y,v;return y="",t.length==0?e.le(uwe,nX,-1,-1):(v=Ty(t),wt(v.substr(0,3),"at ")&&(v=(Jt(3,v.length+1),v.substr(3))),v=v.replace(/\[.*?\]/g,""),f=v.indexOf("("),f==-1?(f=v.indexOf("@"),f==-1?(y=v,v=""):(y=Ty((Jt(f+1,v.length+1),v.substr(f+1))),v=Ty((io(0,f,v.length),v.substr(0,f))))):(r=v.indexOf(")",f),y=(io(f+1,r,v.length),v.substr(f+1,r-(f+1))),v=Ty((io(0,f,v.length),v.substr(0,f)))),f=Nf(v,Qa(46)),f!=-1&&(v=(Jt(f+1,v.length+1),v.substr(f+1))),(v.length==0||wt(v,"Anonymous function"))&&(v=nX),p=F8(y,Qa(58)),a=ffe(y,Qa(58),p-1),m=-1,o=-1,u=uwe,p!=-1&&a!=-1&&(u=(io(0,a,y.length),y.substr(0,a)),m=Jrt((io(a+1,p,y.length),y.substr(a+1,p-(a+1)))),o=Jrt((Jt(p+1,y.length+1),y.substr(p+1)))),e.le(u,v,m,o))}function lNn(e){var t,r,o,a,u,f,p,m,y,v,T;for(y=new V(e);y.a<y.c.c.length;){switch(m=l(q(y),9),f=l(F(m,(Ue(),Cs)),166),u=null,f.g){case 1:case 2:u=(Vb(),XE);break;case 3:case 4:u=(Vb(),Jx)}if(u)Te(m,(Ie(),iB),(Vb(),XE)),u==Jx?FF(m,f,(Fo(),Cc)):u==XE&&FF(m,f,(Fo(),Ba));else if(nE(l(F(m,Zr),103))&&m.j.c.length!=0){for(t=!0,T=new V(m.j);T.a<T.c.c.length;){if(v=l(q(T),12),!(v.j==(He(),Qt)&&v.e.c.length-v.g.c.length>0||v.j==Wt&&v.e.c.length-v.g.c.length<0)){t=!1;break}for(a=new V(v.g);a.a<a.c.c.length;)if(r=l(q(a),17),p=l(F(r.d.i,Cs),166),p==(iu(),MI)||p==gm){t=!1;break}for(o=new V(v.e);o.a<o.c.c.length;)if(r=l(q(o),17),p=l(F(r.c.i,Cs),166),p==(iu(),LI)||p==xp){t=!1;break}}t&&FF(m,f,(Fo(),YI))}}}function dNn(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;for(ye=0,R=0,T=new V(t.e);T.a<T.c.c.length;){for(v=l(q(T),9),N=0,p=0,m=r?l(F(v,DB),15).a:Zi,J=o?l(F(v,LB),15).a:Zi,y=b.Math.max(m,J),oe=new V(v.j);oe.a<oe.c.c.length;){if(re=l(q(oe),12),de=v.n.b+re.n.b+re.a.b,o)for(f=new V(re.g);f.a<f.c.c.length;)u=l(q(f),17),U=u.d,M=U.i,t!=e.a[M.p]&&(G=b.Math.max(l(F(M,DB),15).a,l(F(M,LB),15).a),Ee=l(F(u,(Ue(),FT)),15).a,Ee>=y&&Ee>=G&&(N+=M.n.b+U.n.b+U.a.b-de,++p));if(r)for(f=new V(re.e);f.a<f.c.c.length;)u=l(q(f),17),U=u.c,M=U.i,t!=e.a[M.p]&&(G=b.Math.max(l(F(M,DB),15).a,l(F(M,LB),15).a),Ee=l(F(u,(Ue(),FT)),15).a,Ee>=y&&Ee>=G&&(N+=M.n.b+U.n.b+U.a.b-de,++p))}p>0&&(ye+=N/p,++R)}R>0?(t.a=a*ye/R,t.g=R):(t.a=0,t.g=0)}function V0e(e,t,r,o){var a,u,f,p,m;return p=new K0e(t),rSn(p,o),a=!0,e&&e.nf((_n(),Tm))&&(u=l(e.mf((_n(),Tm)),87),a=u==(Si(),hf)||u==cs||u==fs),dyt(p,!1),La(p.e.Pf(),new mfe(p,!1,a)),kW(p,p.f,(Sd(),Bs),(He(),Vt)),kW(p,p.f,Us,dn),kW(p,p.g,Bs,Wt),kW(p,p.g,Us,Qt),k1t(p,Vt),k1t(p,dn),hat(p,Qt),hat(p,Wt),Ww(),f=p.A.Gc((su(),gv))&&p.B.Gc((Uc(),QL))?$gt(p):null,f&&ten(p.a,f),uNn(p),Emn(p),Smn(p),$kn(p),YAn(p),Kmn(p),mY(p,Vt),mY(p,dn),jTn(p),kxn(p),r&&(a1n(p),Ymn(p),mY(p,Qt),mY(p,Wt),m=p.B.Gc((Uc(),C4)),Jmt(p,m,Vt),Jmt(p,m,dn),Xmt(p,m,Qt),Xmt(p,m,Wt),ei(new vt(null,new St(new Zh(p.i),0)),new qR),ei(dr(new vt(null,lhe(p.r).a.oc()),new VR),new RN),awn(p),p.e.Nf(p.o),ei(new vt(null,lhe(p.r).a.oc()),new ON)),p.o}function fNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(y=Kr,o=new V(e.a.b);o.a<o.c.c.length;)t=l(q(o),84),y=b.Math.min(y,t.d.f.g.c+t.e.a);for(R=new Ar,f=new V(e.a.a);f.a<f.c.c.length;)u=l(q(f),197),u.i=y,u.e==0&&Wr(R,u,R.c.b,R.c);for(;R.b!=0;){for(u=l(R.b==0?null:(cn(R.b!=0),Vu(R,R.a.a)),197),a=u.f.g.c,N=u.a.a.ec().Jc();N.Ob();)v=l(N.Pb(),84),U=u.i+v.e.a,v.d.g||v.g.c<U?v.o=U:v.o=v.g.c;for(a-=u.f.o,u.b+=a,e.c==(Si(),fs)||e.c==ff?u.c+=a:u.c-=a,T=u.a.a.ec().Jc();T.Ob();)for(v=l(T.Pb(),84),m=v.f.Jc();m.Ob();)p=l(m.Pb(),84),ep(e.c)?M=e.f.wf(v,p):M=e.f.xf(v,p),p.d.i=b.Math.max(p.d.i,v.o+v.g.b+M-p.e.a),p.k||(p.d.i=b.Math.max(p.d.i,p.g.c-p.e.a)),--p.d.e,p.d.e==0&&Gn(R,p.d)}for(r=new V(e.a.b);r.a<r.c.c.length;)t=l(q(r),84),t.g.c=t.o}function wEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;for(r.Tg(YSt,1),N=(Nr(),rne),e.a==(tC(),BB)&&(N=q_e),v=0,At(),t.gd(new JG(N)),u=t.gc(),p=t.dd(t.gc()),y=!0;y&&p.Sb();)re=l(p.Ub(),41),l(F(re,N),15).a==0?--u:y=!1;if(ye=t.hd(0,u),f=new OV(ye),ye=t.hd(u,t.gc()),m=new OV(ye),f.b==0)for(U=An(m,0);U.b!=U.d.c;)M=l(Sn(U),41),Te(M,o4,Oe(v++));else for(T=f.b,Ee=An(f,0);Ee.b!=Ee.d.c;){for(de=l(Sn(Ee),41),Te(de,o4,Oe(v++)),o=MK(de),wEt(e,o,r.dh(1/T|0)),zb(o,She(new JG(o4))),R=new Ar,oe=An(o,0);oe.b!=oe.d.c;)for(re=l(Sn(oe),41),J=An(de.d,0);J.b!=J.d.c;)G=l(Sn(J),65),G.c==re&&Wr(R,G,R.c.b,R.c);for(tu(de.d),wo(de.d,R),p=An(m,m.b),a=de.d.b,y=!0;0<a&&y&&p.Sb();)re=l(p.Ub(),41),l(F(re,N),15).a==0?(Te(re,o4,Oe(v++)),--a,p.Qb()):y=!1}r.Ug()}function yEt(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(v=new Xd(r),qs(v,t),Te(v,(Ie(),wr),t),v.o.a=t.g,v.o.b=t.f,v.n.a=t.i,v.n.b=t.j,Fe(r.a,v),Jn(e.a,t,v),((!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0||Ye(Ke(ve(t,(Ue(),Jy)))))&&Te(v,mTe,(Lt(),!0)),y=l(F(r,xa),24),T=l(F(v,(Ue(),Zr)),103),T==(qi(),K1)?Te(v,Zr,pf):T!=pf&&y.Ec(($o(),Qx)),N=0,o=l(F(r,xu),87),m=new tn((!t.c&&(t.c=new ke(Gc,t,9,9)),t.c));m.e!=m.i.gc();)p=l(rn(m),127),a=Br(t),WF(a)&&!Ye(Ke(ve(t,dB)))&&Vn(p,Cr,Oe(N++)),Ye(Ke(ve(p,wm)))||wNn(e,p,v,y,o,T);for(f=new tn((!t.n&&(t.n=new ke(Rs,t,1,7)),t.n));f.e!=f.i.gc();)u=l(rn(f),158),!Ye(Ke(ve(u,wm)))&&u.a&&Fe(v.b,XK(u));return Ye(Ke(F(v,PI)))&&y.Ec(($o(),Q$)),Ye(Ke(F(v,gB)))&&(y.Ec(($o(),eB)),y.Ec(CI),Te(v,Zr,pf)),v}function hNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(t.Tg("Inverted port preprocessing",1),v=e.b,y=new Ji(v,0),r=null,oe=new je;y.b<y.d.gc();){for(re=r,r=(cn(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),26)),R=new V(oe);R.a<R.c.c.length;)T=l(q(R),9),Oi(T,re);for(oe.c.length=0,M=new V(r.a);M.a<M.c.c.length;)if(T=l(q(M),9),T.k==(Ht(),Xr)&&nE(l(F(T,(Ue(),Zr)),103))){for(J=o0e(T,(Fo(),Cc),(He(),Qt)).Jc();J.Ob();)for(U=l(J.Pb(),12),m=U.e,p=l(Yd(m,we(zx,Tx,17,m.c.length,0,1)),324),a=p,u=0,f=a.length;u<f;++u)o=a[u],P_n(e,U,o,oe);for(G=o0e(T,Ba,Wt).Jc();G.Ob();)for(U=l(G.Pb(),12),m=U.g,p=l(Yd(m,we(zx,Tx,17,m.c.length,0,1)),324),a=p,u=0,f=a.length;u<f;++u)o=a[u],M_n(e,U,o,oe)}}for(N=new V(oe);N.a<N.c.c.length;)T=l(q(N),9),Oi(T,r);t.Ug()}function pNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R;for(T=ce(le(ve(e,(A1(),Sne)))),Ye(Ke(ve(e,xxe)))&&(v=l(ve(e,(cE(),d2)),19),u=l(ie(a_(l(ie((!v.e&&(v.e=new Tt(Ir,v,7,4)),v.e),(!v.e&&(v.e=new Tt(Ir,v,7,4)),v.e).i-1),74)),0),19),o=l(ie(a_(l(ie((!v.e&&(v.e=new Tt(Ir,v,7,4)),v.e),0),74)),0),19),f=new Me(u.i+u.g/2,u.j+u.f/2),a=new Me(o.i+o.g/2,o.j+o.f/2),r=T,r<=0&&(r+=sm),N=b.Math.acos((f.a*a.a+f.b*a.b)/(b.Math.sqrt(f.a*f.a+f.b*f.b)*b.Math.sqrt(a.a*a.a+a.b*a.b))),N<=0&&(N+=sm),t=b.Math.atan2(f.b,f.a),t<=0&&(t+=sm),T=sve-(t-r+N/2)),m=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));m.e!=m.i.gc();)p=l(rn(m),19),y=new Me(p.i+p.g/2,p.j+p.f/2),R=y.a*b.Math.cos(T)-y.b*b.Math.sin(T),y.b=y.a*b.Math.sin(T)+y.b*b.Math.cos(T),y.a=R,Bu(p,y.a-p.g/2,y.b-p.f/2)}function gNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;if(U=e.n,G=e.o,N=e.d,T=ce(le(wy(e,(Ue(),kte)))),t){for(v=T*(t.gc()-1),R=0,m=t.Jc();m.Ob();)f=l(m.Pb(),9),v+=f.o.a,R=b.Math.max(R,f.o.b);for(J=U.a-(v-G.a)/2,u=U.b-N.d+R,o=G.a/(t.gc()+1),a=o,p=t.Jc();p.Ob();)f=l(p.Pb(),9),f.n.a=J,f.n.b=u-f.o.b,J+=f.o.a+T,y=Ewt(f),y.n.a=f.o.a/2-y.a.a,y.n.b=f.o.b,M=l(F(f,(Ie(),nB)),12),M.e.c.length+M.g.c.length==1&&(M.n.a=a-M.a.a,M.n.b=0,As(M,e)),a+=o}if(r){for(v=T*(r.gc()-1),R=0,m=r.Jc();m.Ob();)f=l(m.Pb(),9),v+=f.o.a,R=b.Math.max(R,f.o.b);for(J=U.a-(v-G.a)/2,u=U.b+G.b+N.a-R,o=G.a/(r.gc()+1),a=o,p=r.Jc();p.Ob();)f=l(p.Pb(),9),f.n.a=J,f.n.b=u,J+=f.o.a+T,y=Ewt(f),y.n.a=f.o.a/2-y.a.a,y.n.b=0,M=l(F(f,(Ie(),nB)),12),M.e.c.length+M.g.c.length==1&&(M.n.a=a-M.a.a,M.n.b=G.b,As(M,e)),a+=o}}function qJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,R,M,U,G,J,re,oe;for(N=null,o==(g0(),z1)?N=t:o==u2&&(N=r),U=N.a.ec().Jc();U.Ob();){for(M=l(U.Pb(),12),G=xs(Z(X($i,1),Pe,8,0,[M.i.n,M.n,M.a])).b,oe=new pi,p=new pi,y=new Vd(M.b);Ts(y.a)||Ts(y.b);)if(m=l(Ts(y.a)?q(y.a):q(y.b),17),Ye(Ke(F(m,(Ie(),Ag))))==a&&_s(u,m,0)!=-1){if(m.d==M?J=m.c:J=m.d,re=xs(Z(X($i,1),Pe,8,0,[J.i.n,J.n,J.a])).b,b.Math.abs(re-G)<.2)continue;re<G?t.a._b(J)?gi(oe,new Co(z1,m)):gi(oe,new Co(u2,m)):t.a._b(J)?gi(p,new Co(z1,m)):gi(p,new Co(u2,m))}if(oe.a.gc()>1)for(R=new j0e(M,oe,o),lo(oe,new jtt(e,R)),Rt(f.c,R),T=oe.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(u,v.b);if(p.a.gc()>1)for(R=new j0e(M,p,o),lo(p,new Ftt(e,R)),Rt(f.c,R),T=p.a.ec().Jc();T.Ob();)v=l(T.Pb(),49),Xa(u,v.b)}}function bNn(e,t){var r,o,a,u,f,p;if(l(F(t,(Ie(),xa)),24).Gc(($o(),rl))){for(p=new V(t.a);p.a<p.c.c.length;)u=l(q(p),9),u.k==(Ht(),Xr)&&(a=l(F(u,(Ue(),wB)),125),e.c=b.Math.min(e.c,u.n.a-a.b),e.a=b.Math.max(e.a,u.n.a+u.o.a+a.c),e.d=b.Math.min(e.d,u.n.b-a.d),e.b=b.Math.max(e.b,u.n.b+u.o.b+a.a));for(f=new V(t.a);f.a<f.c.c.length;)if(u=l(q(f),9),u.k!=(Ht(),Xr))switch(u.k.g){case 2:if(o=l(F(u,(Ue(),Cs)),166),o==(iu(),xp)){u.n.a=e.c-10,abt(u,new X7e).Jb(new FYe(u));break}if(o==gm){u.n.a=e.a+10,abt(u,new Z7e).Jb(new $Ye(u));break}if(r=l(F(u,hm),316),r==(lp(),QE)){Bvt(u).Jb(new BYe(u)),u.n.b=e.d-10;break}if(r==kT){Bvt(u).Jb(new UYe(u)),u.n.b=e.b+10;break}break;default:throw Y(new jt("The node type "+u.k+" is not supported by the "+fCn))}}}function mNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G;for(m=new Me(o.i+o.g/2,o.j+o.f/2),R=jvt(o),M=l(ve(t,(Ue(),Zr)),103),G=l(ve(o,rk),64),knt(S1t(o),Zy)||(o.i==0&&o.j==0?U=0:U=Uwn(o,G),Vn(o,Zy,U)),y=new Me(t.g,t.f),a=fD(o,M,G,R,y,m,new Me(o.g,o.f),l(F(r,xu),87),r),Te(a,(Ie(),wr),o),u=l(ze(a.j,0),12),IZt(u,DAn(o)),Te(a,Qy,(xc(),lt(Y1))),T=l(ve(t,Qy),185).Gc(Rp),p=new tn((!o.n&&(o.n=new ke(Rs,o,1,7)),o.n));p.e!=p.i.gc();)if(f=l(rn(p),158),!Ye(Ke(ve(f,wm)))&&f.a&&(N=XK(f),Fe(u.f,N),!T))switch(v=0,k3(l(ve(t,Qy),24))&&(v=bme(new Me(f.i,f.j),new Me(f.g,f.f),new Me(o.g,o.f),0,G)),G.g){case 2:case 4:N.o.a=v;break;case 1:case 3:N.o.b=v}Te(a,ok,le(ve(Br(t),ok))),Te(a,sk,le(ve(Br(t),sk))),Te(a,nv,le(ve(Br(t),nv))),Fe(r.a,a),Jn(e.a,o,a)}function wNn(e,t,r,o,a,u){var f,p,m,y,v,T;for(y=new aa,qs(y,t),Ii(y,l(ve(t,(Ue(),rk)),64)),Te(y,(Ie(),wr),t),As(y,r),T=y.o,T.a=t.g,T.b=t.f,v=y.n,v.a=t.i,v.b=t.j,Jn(e.a,t,y),f=hE(Oa(bs(new vt(null,(!t.e&&(t.e=new Tt(Ir,t,7,4)),new St(t.e,16))),new xG),new _G),new CYe(t)),f||(f=hE(Oa(bs(new vt(null,(!t.d&&(t.d=new Tt(Ir,t,8,5)),new St(t.d,16))),new kG),new f9),new IYe(t))),f||(f=hE(new vt(null,(!t.e&&(t.e=new Tt(Ir,t,7,4)),new St(t.e,16))),new KR)),Te(y,hL,(Lt(),!!f)),Uxn(y,u,a,l(ve(t,sw),8)),m=new tn((!t.n&&(t.n=new ke(Rs,t,1,7)),t.n));m.e!=m.i.gc();)p=l(rn(m),158),!Ye(Ke(ve(p,wm)))&&p.a&&Fe(y.f,XK(p));switch(a.g){case 2:case 1:(y.j==(He(),Vt)||y.j==dn)&&o.Ec(($o(),ZE));break;case 4:case 3:(y.j==(He(),Qt)||y.j==Wt)&&o.Ec(($o(),ZE))}return y}function yNn(e,t,r,o,a,u){var f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn;Ot=Ut(e.g,a),Ot==null&&(Ot=new aS,M=l(Ot,150),oe=t+"_s",de=oe+u,R=new ty(de),Kl(M,qf,R)),Ct=l(Ot,150),RS(r,Ct),qn=new aS,Mb(qn,"x",yF(e,o,a.j)),Mb(qn,"y",vF(e,o,a.k)),Kl(Ct,oAt,qn),dt=new aS,Mb(dt,"x",yF(e,o,a.b)),Mb(dt,"y",vF(e,o,a.c)),Kl(Ct,"endPoint",dt),N=aO((!a.a&&(a.a=new Ei(Iu,a,5)),a.a)),U=!N,U&&(qe=new Eb,f=new uot(e,o,qe),lo((!a.a&&(a.a=new Ei(Iu,a,5)),a.a),f),Kl(Ct,z7,qe)),y=_Y(a),Ee=!!y,Ee&&Ube(e.a,Ct,mEe,oJ(e,_Y(a))),re=xY(a),ye=!!re,ye&&Ube(e.a,Ct,bEe,oJ(e,xY(a))),v=(!a.e&&(a.e=new Tt(jr,a,10,9)),a.e).i==0,G=!v,G&&(ft=new Eb,p=new pnt(e,ft),lo((!a.e&&(a.e=new Tt(jr,a,10,9)),a.e),p),Kl(Ct,yEe,ft)),T=(!a.g&&(a.g=new Tt(jr,a,9,10)),a.g).i==0,J=!T,J&&(on=new Eb,m=new gnt(e,on),lo((!a.g&&(a.g=new Tt(jr,a,9,10)),a.g),m),Kl(Ct,wEe,on))}function vNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(t.Tg("Comment pre-processing",1),r=0,m=new V(e.a);m.a<m.c.c.length;)if(p=l(q(m),9),Ye(Ke(F(p,(Ue(),PI))))){for(++r,a=0,o=null,y=null,M=new V(p.j);M.a<M.c.c.length;)N=l(q(M),12),a+=N.e.c.length+N.g.c.length,N.e.c.length==1&&(o=l(ze(N.e,0),17),y=o.c),N.g.c.length==1&&(o=l(ze(N.g,0),17),y=o.d);if(a==1&&y.e.c.length+y.g.c.length==1&&!Ye(Ke(F(y.i,PI))))ZNn(p,o,y,y.i),C3(m);else{for(J=new je,R=new V(p.j);R.a<R.c.c.length;){for(N=l(q(R),12),T=new V(N.g);T.a<T.c.c.length;)v=l(q(T),17),v.d.g.c.length==0||Rt(J.c,v);for(f=new V(N.e);f.a<f.c.c.length;)u=l(q(f),17),u.c.e.c.length==0||Rt(J.c,u)}for(G=new V(J);G.a<G.c.c.length;)U=l(q(G),17),mg(U,!0)}}t.$g()&&t.ah("Found "+r+" comment boxes"),t.Ug()}function ENn(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(oe=0,M=0,R=0,N=1,re=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));re.e!=re.i.gc();)G=l(rn(re),19),N+=yd(new Ft(Gt(mp(G).a.Jc(),new D))),dt=G.g,M=b.Math.max(M,dt),T=G.f,R=b.Math.max(R,T),oe+=dt*T;for(U=(!e.a&&(e.a=new ke(En,e,10,11)),e.a).i,f=oe+2*o*o*N*U,u=b.Math.sqrt(f),m=b.Math.max(u*r,M),p=b.Math.max(u/r,R),J=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));J.e!=J.i.gc();)G=l(rn(J),19),ft=a.b+(Bc(t,26)*UC+Bc(t,27)*HC)*(m-G.g),Ct=a.b+(Bc(t,26)*UC+Bc(t,27)*HC)*(p-G.f),va(G,ft),gc(G,Ct);for(qe=m+(a.b+a.c),ye=p+(a.d+a.a),Ee=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));Ee.e!=Ee.i.gc();)for(de=l(rn(Ee),19),v=new Ft(Gt(mp(de).a.Jc(),new D));an(v);)y=l(en(v),74),AC(y)||k3n(y,t,qe,ye);qe+=a.b+a.c,ye+=a.d+a.a,M0(e,qe,ye,!1,!0)}function SNn(e){var t,r,o,a;for(ei(dr(new vt(null,new St(e.a.b,16)),new xBe),new kBe),$0n(e),ei(dr(new vt(null,new St(e.a.b,16)),new NBe),new CBe),e.c==(gp(),WT)&&(ei(dr(bs(new vt(null,new St(new Xh(e.f),1)),new IBe),new RBe),new aJe(e)),ei(dr(Oa(bs(bs(new vt(null,new St(e.d.b,16)),new OBe),new DBe),new LBe),new MBe),new uJe(e))),ei(dr(bs(new vt(null,new St(new Xh(e.f),1)),new PBe),new jBe),new lJe(e)),a=new Me(Kr,Kr),t=new Me(Li,Li),o=new V(e.a.b);o.a<o.c.c.length;)r=l(q(o),60),a.a=b.Math.min(a.a,r.d.c),a.b=b.Math.min(a.b,r.d.d),t.a=b.Math.max(t.a,r.d.c+r.d.b),t.b=b.Math.max(t.b,r.d.d+r.d.a);mr(wd(e.d.c),z8(new Me(a.a,a.b))),mr(wd(e.d.f),Di(new Me(t.a,t.b),a)),K2n(e,a,t),Zs(e.f),Zs(e.b),Zs(e.g),Zs(e.e),e.a.a.c.length=0,e.a.b.c.length=0,e.a=null,e.d=null}function W0e(e,t){Oot();var r,o,a,u,f,p,m;if(this.a=new mde(this),this.b=e,this.c=t,this.f=oW(is((mc(),ao),t)),this.f.dc())if((p=ybe(ao,e))==t)for(this.e=!0,this.d=new je,this.f=new cqe,this.f.Ec(lm),l(JF(h6(ao,mu(e)),""),29)==e&&this.f.Ec(_3(ao,mu(e))),a=AJ(ao,e).Jc();a.Ob();)switch(o=l(a.Pb(),182),f0(is(ao,o))){case 4:{this.d.Ec(o);break}case 5:{this.f.Fc(oW(is(ao,o)));break}}else if(Mo(),l(t,69).vk())for(this.e=!0,this.f=null,this.d=new je,f=0,m=(e.i==null&&Ff(e),e.i).length;f<m;++f)for(o=(r=(e.i==null&&Ff(e),e.i),f>=0&&f<r.length?r[f]:null),u=MS(is(ao,o));u;u=MS(is(ao,u)))u==t&&this.d.Ec(o);else f0(is(ao,t))==1&&p?(this.f=null,this.d=(rT(),ALt)):(this.f=null,this.e=!0,this.d=(At(),new WG(t)));else this.e=f0(is(ao,t))==5,this.f.Fb(zre)&&(this.f=zre)}function vEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;for(r=0,o=lmn(e,t),N=e.s,R=e.t,y=l(l(yr(e.r,t),24),85).Jc();y.Ob();)if(m=l(y.Pb(),116),!(!m.c||m.c.d.c.length<=0)){switch(M=m.b.Kf(),p=m.b.nf((_n(),zc))?ce(le(m.b.mf(zc))):0,v=m.c,T=v.i,T.b=(f=v.n,v.e.a+f.b+f.c),T.a=(u=v.n,v.e.b+u.d+u.a),t.g){case 1:T.c=m.a?(M.a-T.b)/2:M.a+N,T.d=M.b+p+o,Ed(v,(_c(),M1)),Cf(v,(Za(),Nd));break;case 3:T.c=m.a?(M.a-T.b)/2:M.a+N,T.d=-p-o-T.a,Ed(v,(_c(),M1)),Cf(v,(Za(),rd));break;case 2:T.c=-p-o-T.b,m.a?(a=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(M.b-a)/2):T.d=M.b+R,Ed(v,(_c(),nd)),Cf(v,(Za(),P1));break;case 4:T.c=M.a+p+o,m.a?(a=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(M.b-a)/2):T.d=M.b+R,Ed(v,(_c(),Wf)),Cf(v,(Za(),P1))}(t==(He(),Vt)||t==dn)&&(r=b.Math.max(r,T.a))}r>0&&(l(Ko(e.b,t),129).a.b=r)}function TNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(R=0,o=new pi,u=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));u.e!=u.i.gc();)a=l(rn(u),19),Ye(Ke(ve(a,(Ue(),wm))))||(T=Br(a),WF(T)&&!Ye(Ke(ve(a,dB)))&&(Vn(a,(Ie(),Cr),Oe(R)),++R,Gu(a,Ky)&&gi(o,l(ve(a,Ky),15))),yEt(e,a,r));for(Te(r,(Ie(),$1),Oe(R)),Te(r,fL,Oe(o.a.gc())),R=0,v=new tn((!t.b&&(t.b=new ke(Ir,t,12,3)),t.b));v.e!=v.i.gc();)m=l(rn(v),74),WF(t)&&(Vn(m,Cr,Oe(R)),++R),G=QY(m),J=smt(m),N=Ye(Ke(ve(G,(Ue(),Jy)))),U=!Ye(Ke(ve(m,wm))),M=N&&R0(m)&&Ye(Ke(ve(m,bm))),f=Br(G)==t&&Br(G)==Br(J),p=(Br(G)==t&&J==t)^(Br(J)==t&&G==t),U&&!M&&(p||f)&&Q0e(e,m,t,r);if(Br(t))for(y=new tn(Sat(Br(t)));y.e!=y.i.gc();)m=l(rn(y),74),G=QY(m),G==t&&R0(m)&&(M=Ye(Ke(ve(G,(Ue(),Jy))))&&Ye(Ke(ve(m,bm))),M&&Q0e(e,m,t,r))}function ANn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot;for(ye=new je,M=new V(e.b);M.a<M.c.c.length;)for(R=l(q(M),26),J=new V(R.a);J.a<J.c.c.length;)if(U=l(q(J),9),U.k==(Ht(),yi)&&br(U,(Ie(),oB))){for(re=null,de=null,oe=null,ft=new V(U.j);ft.a<ft.c.c.length;)switch(dt=l(q(ft),12),dt.j.g){case 4:re=dt;break;case 2:de=dt;break;default:oe=dt}for(Ee=l(ze(oe.g,0),17),v=new U9(Ee.a),y=new To(oe.n),mr(y,U.n),T=An(v,0),vP(T,y),qe=Gge(Ee.a),N=new To(oe.n),mr(N,U.n),Wr(qe,N,qe.c.b,qe.c),Ct=l(F(U,oB),9),Ot=l(ze(Ct.j,0),12),m=l(Yd(re.e,we(zx,Tx,17,0,0,1)),324),o=m,u=0,p=o.length;u<p;++u)t=o[u],Yi(t,Ot),KK(t.a,t.a.b,v);for(m=Df(de.g),r=m,a=0,f=r.length;a<f;++a)t=r[a],mo(t,Ot),KK(t.a,0,qe);mo(Ee,null),Yi(Ee,null),Rt(ye.c,U)}for(G=new V(ye);G.a<G.c.c.length;)U=l(q(G),9),Oi(U,null)}function _Nn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U;if(N=ce(le(F(e,(Ue(),ok)))),R=ce(le(F(e,sk))),T=ce(le(F(e,nv))),p=e.o,u=l(ze(e.j,0),12),f=u.n,U=Vyn(u,T),!!U){if(t.Gc((xc(),Rp)))switch(l(F(e,(Ie(),Hs)),64).g){case 1:U.c=(p.a-U.b)/2-f.a,U.d=R;break;case 3:U.c=(p.a-U.b)/2-f.a,U.d=-R-U.a;break;case 2:r&&u.e.c.length==0&&u.g.c.length==0?(v=o?U.a:l(ze(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=p.b+R-f.b,U.c=-N-U.b;break;case 4:r&&u.e.c.length==0&&u.g.c.length==0?(v=o?U.a:l(ze(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=p.b+R-f.b,U.c=N}else if(t.Gc(Y1))switch(l(F(e,(Ie(),Hs)),64).g){case 1:case 3:U.c=f.a+N;break;case 2:case 4:r&&!u.c?(v=o?U.a:l(ze(u.f,0),70).o.b,U.d=(p.b-v)/2-f.b):U.d=f.b+R}for(a=U.d,y=new V(u.f);y.a<y.c.c.length;)m=l(q(y),70),M=m.n,M.a=U.c,M.b=a,a+=m.o.b+T}}function K0e(e){var t;if(this.r=Ran(new GR,new kA),this.b=new uC(l(kn(Oo),299)),this.p=new uC(l(kn(Oo),299)),this.i=new uC(l(kn(ikt),299)),this.e=e,this.o=new To(e.Kf()),this.D=Ye(Ke(e.mf((_n(),wk)))),this.F=e.Wf()||Ye(Ke(e.mf(UL))),this.A=l(e.mf(Am),24),this.B=l(e.mf(q1),24),this.q=l(e.mf(bk),103),this.u=l(e.mf(dv),24),!Jwn(this.u))throw Y(new _f("Invalid port label placement: "+this.u));if(this.v=Ye(Ke(e.mf(ANe))),this.j=l(e.mf(b2),24),!p2n(this.j))throw Y(new _f("Invalid node label placement: "+this.j));this.n=l(gC(e,dNe),100),this.k=ce(le(gC(e,sU))),this.d=ce(le(gC(e,NNe))),this.w=ce(le(gC(e,DNe))),this.s=ce(le(gC(e,CNe))),this.t=ce(le(gC(e,INe))),this.C=l(gC(e,RNe),125),this.c=2*this.d,t=!this.B.Gc((Uc(),ZL)),this.f=new fC(0,t,0),this.g=new fC(1,t,0),lq(this.f,(Sd(),$a),this.g)}function xNn(){er(d5,new OVe),er(kU,new zVe),er(f5,new eWe),er(W3e,new dWe),er(Je,new gWe),er(X(Ec,1),new bWe),er(Yr,new mWe),er(ET,new wWe),er(Je,new EVe),er(Je,new SVe),er(Je,new TVe),er(fi,new AVe),er(Je,new _Ve),er(_u,new xVe),er(_u,new kVe),er(Je,new NVe),er(Ux,new CVe),er(Je,new RVe),er(Je,new DVe),er(Je,new LVe),er(Je,new MVe),er(Je,new PVe),er(X(Ec,1),new jVe),er(Je,new FVe),er(Je,new $Ve),er(_u,new BVe),er(_u,new UVe),er(Je,new HVe),er(_i,new GVe),er(Je,new qVe),er(Y0,new VVe),er(Je,new WVe),er(Je,new KVe),er(Je,new YVe),er(Je,new JVe),er(_u,new XVe),er(_u,new ZVe),er(Je,new QVe),er(Je,new tWe),er(Je,new nWe),er(Je,new rWe),er(Je,new iWe),er(Je,new oWe),er(J0,new sWe),er(Je,new aWe),er(Je,new cWe),er(Je,new uWe),er(J0,new lWe),er(Y0,new fWe),er(Je,new hWe),er(_i,new pWe)}function EEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;switch(v=new Lc,e.a.g){case 3:N=l(F(t.e,(Ie(),pm)),16),R=l(F(t.j,pm),16),M=l(F(t.f,pm),16),r=l(F(t.e,r2),16),o=l(F(t.j,r2),16),a=l(F(t.f,r2),16),f=new je,li(f,N),R.Ic(new TUe),li(f,ou(R)),li(f,M),u=new je,li(u,r),li(u,ou(o)),li(u,a),Te(t.f,pm,f),Te(t.f,r2,u),Te(t.f,kTe,t.f),Te(t.e,pm,null),Te(t.e,r2,null),Te(t.j,pm,null),Te(t.j,r2,null);break;case 1:wo(v,t.e.a),Gn(v,t.i.n),wo(v,ou(t.j.a)),Gn(v,t.a.n),wo(v,t.f.a);break;default:wo(v,t.e.a),wo(v,ou(t.j.a)),wo(v,t.f.a)}tu(t.f.a),wo(t.f.a,v),mo(t.f,t.e.c),p=l(F(t.e,(Ue(),as)),79),y=l(F(t.j,as),79),m=l(F(t.f,as),79),(p||y||m)&&(T=new Lc,ihe(T,m),ihe(T,y),ihe(T,p),Te(t.f,as,T)),mo(t.j,null),Yi(t.j,null),mo(t.e,null),Yi(t.e,null),Oi(t.a,null),Oi(t.i,null),t.g&&EEt(e,t.g)}function SEt(){SEt=K;var e,t,r;for(new j6(1,0),new j6(10,0),new j6(0,0),sxt=we(WQ,Pe,249,11,0,1),fm=we(al,Bf,30,100,15,1),u2e=Z(X(Ki,1),Xo,30,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),l2e=we(Rn,Qn,30,u2e.length,15,1),d2e=Z(X(Ki,1),Xo,30,15,[1,10,100,yg,1e4,TX,1e6,1e7,1e8,i7,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),f2e=we(Rn,Qn,30,d2e.length,15,1),h2e=we(WQ,Pe,249,11,0,1),e=0;e<h2e.length;e++)sxt[e]=new j6(e,0),h2e[e]=new j6(0,e),fm[e]=48;for(;e<fm.length;e++)fm[e]=48;for(r=0;r<l2e.length;r++)l2e[r]=hme(u2e[r]);for(t=0;t<f2e.length;t++)f2e[t]=hme(d2e[t]);Q_()}function kNn(){function e(){this.obj=this.createObject()}return e.prototype.createObject=function(t){return Object.create(null)},e.prototype.get=function(t){return this.obj[t]},e.prototype.set=function(t,r){this.obj[t]=r},e.prototype[xX]=function(t){delete this.obj[t]},e.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},e.prototype.entries=function(){var t=this.keys(),r=this,o=0;return{next:function(){if(o>=t.length)return{done:!0};var a=t[o++];return{value:[a,r.get(a)],done:!1}}}},mTn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(t){return this.obj[":"+t]},e.prototype.set=function(t,r){this.obj[":"+t]=r},e.prototype[xX]=function(t){delete this.obj[":"+t]},e.prototype.keys=function(){var t=[];for(var r in this.obj)r.charCodeAt(0)==58&&t.push(r.substring(1));return t}),e}function Nr(){Nr=K,i4=new lr(Nwe),new Pr("DEPTH",Oe(0)),rne=new Pr("FAN",Oe(0)),q_e=new Pr(WSt,Oe(0)),G1=new Pr("ROOT",(Lt(),!1)),sne=new Pr("LEFTNEIGHBOR",null),aRt=new Pr("RIGHTNEIGHBOR",null),jB=new Pr("LEFTSIBLING",null),ane=new Pr("RIGHTSIBLING",null),nne=new Pr("DUMMY",!1),new Pr("LEVEL",Oe(0)),K_e=new Pr("REMOVABLE_EDGES",new Ar),CL=new Pr("XCOOR",Oe(0)),IL=new Pr("YCOOR",Oe(0)),FB=new Pr("LEVELHEIGHT",0),Id=new Pr("LEVELMIN",0),sd=new Pr("LEVELMAX",0),ine=new Pr("GRAPH_XMIN",0),one=new Pr("GRAPH_YMIN",0),V_e=new Pr("GRAPH_XMAX",0),W_e=new Pr("GRAPH_YMAX",0),G_e=new Pr("COMPACT_LEVEL_ASCENSION",!1),tne=new Pr("COMPACT_CONSTRAINTS",new je),r4=new Pr("ID",""),o4=new Pr("POSITION",Oe(0)),Ng=new Pr("PRELIM",0),lk=new Pr("MODIFIER",0),uk=new lr(eSt),NL=new lr(tSt)}function NNn(e){x0e();var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(e==null)return null;if(T=e.length*8,T==0)return"";for(p=T%24,R=T/24|0,N=p!=0?R+1:R,u=null,u=we(al,Bf,30,N*4,15,1),y=0,v=0,t=0,r=0,o=0,f=0,a=0,m=0;m<R;m++)t=e[a++],r=e[a++],o=e[a++],v=(r&15)<<24>>24,y=(t&3)<<24>>24,M=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,U=r&-128?(r>>4^240)<<24>>24:r>>4<<24>>24,G=o&-128?(o>>6^252)<<24>>24:o>>6<<24>>24,u[f++]=Pg[M],u[f++]=Pg[U|y<<4],u[f++]=Pg[v<<2|G],u[f++]=Pg[o&63];return p==8?(t=e[a],y=(t&3)<<24>>24,M=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,u[f++]=Pg[M],u[f++]=Pg[y<<4],u[f++]=61,u[f++]=61):p==16&&(t=e[a],r=e[a+1],v=(r&15)<<24>>24,y=(t&3)<<24>>24,M=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,U=r&-128?(r>>4^240)<<24>>24:r>>4<<24>>24,u[f++]=Pg[M],u[f++]=Pg[U|y<<4],u[f++]=Pg[v<<2],u[f++]=61),Mf(u,0,u.length)}function CNn(e,t){var r,o,a,u,f,p,m;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Zi&&ape(t,e.p-N1),f=t.q.getDate(),XO(t,1),e.k>=0&&qcn(t,e.k),e.c>=0?XO(t,e.c):e.k>=0?(m=new Mge(t.q.getFullYear()-N1,t.q.getMonth(),35),o=35-m.q.getDate(),XO(t,b.Math.min(o,f))):XO(t,f),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),qtn(t,e.f==24&&e.g?0:e.f),e.j>=0&&_dn(t,e.j),e.n>=0&&$dn(t,e.n),e.i>=0&&Cnt(t,_o(yo(W6(Gs(t.q.getTime()),yg),yg),e.i)),e.a&&(a=new V9,ape(a,a.q.getFullYear()-N1-80),kq(Gs(t.q.getTime()),Gs(a.q.getTime()))&&ape(t,a.q.getFullYear()-N1+100)),e.d>=0){if(e.c==-1)r=(7+e.d-t.q.getDay())%7,r>3&&(r-=7),p=t.q.getMonth(),XO(t,t.q.getDate()+r),t.q.getMonth()!=p&&XO(t,t.q.getDate()+(r>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>Zi&&(u=t.q.getTimezoneOffset(),Cnt(t,_o(Gs(t.q.getTime()),(e.o-u)*60*yg))),!0}function TEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(a=F(t,(Ie(),wr)),!!se(a,209)){for(M=l(a,19),U=t.e,N=new To(t.c),u=t.d,N.a+=u.b,N.b+=u.d,de=l(ve(M,(Ue(),EB)),185),fc(de,(Uc(),fU))&&(R=l(ve(M,jAe),100),AZt(R,u.a),CZt(R,u.d),_Zt(R,u.b),xZt(R,u.c)),r=new je,v=new V(t.a);v.a<v.c.c.length;)for(m=l(q(v),9),se(F(m,wr),209)?DNn(m,N):se(F(m,wr),196)&&!U&&(o=l(F(m,wr),127),re=avt(t,m,o.g,o.f),Bu(o,re.a,re.b)),J=new V(m.j);J.a<J.c.c.length;)G=l(q(J),12),ei(dr(new vt(null,new St(G.g,16)),new RYe(m)),new OYe(r));if(U)for(J=new V(U.j);J.a<J.c.c.length;)G=l(q(J),12),ei(dr(new vt(null,new St(G.g,16)),new DYe(U)),new LYe(r));for(oe=l(ve(M,kp),225),p=new V(r);p.a<p.c.c.length;)f=l(q(p),17),Ykn(f,oe,N);for(LAn(t),y=new V(t.a);y.a<y.c.c.length;)m=l(q(y),9),T=m.e,T&&TEt(e,T)}}function AEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R;if(!l(l(yr(e.r,t),24),85).dc()){if(f=l(Ko(e.b,t),129),m=f.i,p=f.n,v=bJ(e,t),o=m.b-p.b-p.c,a=f.a.a,u=m.c+p.b,R=e.w,(v==(EE(),W1)||v==WL)&&l(l(yr(e.r,t),24),85).gc()==1&&(a=v==W1?a-2*e.w:a,v=A4),o<a&&!e.B.Gc((Uc(),hU)))v==W1?(R+=(o-a)/(l(l(yr(e.r,t),24),85).gc()+1),u+=R):R+=(o-a)/(l(l(yr(e.r,t),24),85).gc()-1);else switch(o<a&&(a=v==W1?a-2*e.w:a,v=A4),v.g){case 3:u+=(o-a)/2;break;case 4:u+=o-a;break;case 0:r=(o-a)/(l(l(yr(e.r,t),24),85).gc()+1),R+=b.Math.max(0,r),u+=R;break;case 1:r=(o-a)/(l(l(yr(e.r,t),24),85).gc()-1),R+=b.Math.max(0,r)}for(N=l(l(yr(e.r,t),24),85).Jc();N.Ob();)T=l(N.Pb(),116),T.e.a=u+T.d.b,T.e.b=(y=T.b,y.nf((_n(),zc))?y.$f()==(He(),Vt)?-y.Kf().b-ce(le(y.mf(zc))):ce(le(y.mf(zc))):y.$f()==(He(),Vt)?-y.Kf().b:0),u+=T.d.b+T.b.Kf().a+T.d.c+R}}function _Et(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M;if(!l(l(yr(e.r,t),24),85).dc()){if(f=l(Ko(e.b,t),129),m=f.i,p=f.n,T=bJ(e,t),o=m.a-p.d-p.a,a=f.a.b,u=m.d+p.d,M=e.w,y=e.o.a,(T==(EE(),W1)||T==WL)&&l(l(yr(e.r,t),24),85).gc()==1&&(a=T==W1?a-2*e.w:a,T=A4),o<a&&!e.B.Gc((Uc(),hU)))T==W1?(M+=(o-a)/(l(l(yr(e.r,t),24),85).gc()+1),u+=M):M+=(o-a)/(l(l(yr(e.r,t),24),85).gc()-1);else switch(o<a&&(a=T==W1?a-2*e.w:a,T=A4),T.g){case 3:u+=(o-a)/2;break;case 4:u+=o-a;break;case 0:r=(o-a)/(l(l(yr(e.r,t),24),85).gc()+1),M+=b.Math.max(0,r),u+=M;break;case 1:r=(o-a)/(l(l(yr(e.r,t),24),85).gc()-1),M+=b.Math.max(0,r)}for(R=l(l(yr(e.r,t),24),85).Jc();R.Ob();)N=l(R.Pb(),116),N.e.a=(v=N.b,v.nf((_n(),zc))?v.$f()==(He(),Wt)?-v.Kf().a-ce(le(v.mf(zc))):y+ce(le(v.mf(zc))):v.$f()==(He(),Wt)?-v.Kf().a:y),N.e.b=u+N.d.d,u+=N.d.d+N.b.Kf().b+N.d.a+M}}function INn(e,t){var r,o,a,u,f;for(t.Tg("Processor determine the coords for each level",1),o=new je,f=An(e.b,0);f.b!=f.d.c;){for(a=l(Sn(f),41);l(F(a,(js(),Jf)),15).a>o.c.length-1;)Fe(o,new Co(FE,ave));r=l(F(a,Jf),15).a,ep(l(F(e,cw),87))?(a.e.a<ce(le((at(r,o.c.length),l(o.c[r],49)).a))&&VG((at(r,o.c.length),l(o.c[r],49)),a.e.a),a.e.a+a.f.a>ce(le((at(r,o.c.length),l(o.c[r],49)).b))&&qG((at(r,o.c.length),l(o.c[r],49)),a.e.a+a.f.a)):(a.e.b<ce(le((at(r,o.c.length),l(o.c[r],49)).a))&&VG((at(r,o.c.length),l(o.c[r],49)),a.e.b),a.e.b+a.f.b>ce(le((at(r,o.c.length),l(o.c[r],49)).b))&&qG((at(r,o.c.length),l(o.c[r],49)),a.e.b+a.f.b))}for(u=An(e.b,0);u.b!=u.d.c;)a=l(Sn(u),41),r=l(F(a,(js(),Jf)),15).a,Te(a,(Nr(),Id),le((at(r,o.c.length),l(o.c[r],49)).a)),Te(a,sd,le((at(r,o.c.length),l(o.c[r],49)).b));t.Ug()}function RNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(e.o=ce(le(F(e.i,(Ue(),vm)))),e.f=ce(le(F(e.i,B1))),e.j=e.i.b.c.length,p=e.j-1,N=0,e.k=0,e.n=0,e.b=Wl(we(_i,Pe,15,e.j,0,1)),e.c=Wl(we(fi,Pe,347,e.j,7,1)),f=new V(e.i.b);f.a<f.c.c.length;){for(a=l(q(f),26),a.p=p,T=new V(a.a);T.a<T.c.c.length;)v=l(q(T),9),v.p=N,++N;--p}for(e.g=we(Rn,Qn,30,N,15,1),e.d=Xw(Rn,[Pe,Qn],[54,30],15,[N,3],2),e.p=new je,e.q=new je,t=0,e.e=0,u=new V(e.i.b);u.a<u.c.c.length;){for(a=l(q(u),26),p=a.p,o=0,U=0,m=a.a.c.length,y=0,T=new V(a.a);T.a<T.c.c.length;)v=l(q(T),9),N=v.p,e.g[N]=v.c.p,y+=v.o.b+e.o,r=yd(new Ft(Gt(si(v).a.Jc(),new D))),M=yd(new Ft(Gt(Or(v).a.Jc(),new D))),e.d[N][0]=M-r,e.d[N][1]=r,e.d[N][2]=M,o+=r,U+=M,r>0&&Fe(e.q,v),Fe(e.p,v);t-=o,R=m+t,y+=t*e.f,nu(e.b,p,Oe(R)),nu(e.c,p,y),e.k=b.Math.max(e.k,R),e.n=b.Math.max(e.n,y),e.e+=t,t+=U}}function xEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;if(t.b!=0){for(R=new Ar,p=null,M=null,o=bo(b.Math.floor(b.Math.log(t.b)*b.Math.LOG10E)+1),m=0,oe=An(t,0);oe.b!=oe.d.c;)for(J=l(Sn(oe),41),me(M)!==me(F(J,(Nr(),r4)))&&(M=In(F(J,r4)),m=0),M!=null?p=M+Hct(m++,o):p=Hct(m++,o),Te(J,r4,p),G=(a=An(new Qh(J).a.d,0),new Vv(a));oO(G.a);)U=l(Sn(G.a),65).c,Wr(R,U,R.c.b,R.c),Te(U,r4,p);for(N=new hn,f=0;f<p.length-o;f++)for(re=An(t,0);re.b!=re.d.c;)J=l(Sn(re),41),y=yl(In(F(J,(Nr(),r4))),0,f+1),r=(y==null?Ss(ns(N.f,null)):e3(N.i,y))!=null?l(y==null?Ss(ns(N.f,null)):e3(N.i,y),15).a+1:1,rs(N,y,Oe(r));for(T=new hy(new Mw(N).a);T.b;)v=bE(T),u=Oe(Ut(e.a,v.jd())!=null?l(Ut(e.a,v.jd()),15).a:0),rs(e.a,In(v.jd()),Oe(l(v.kd(),15).a+u.a)),u=l(Ut(e.b,v.jd()),15),(!u||u.a<l(v.kd(),15).a)&&rs(e.b,In(v.jd()),l(v.kd(),15));xEt(e,R)}}function ONn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(r.Tg("Breadth first model order layering",1),e.a=t,G=new je,U=new V(e.a.a);U.a<U.c.c.length;)R=l(q(U),9),R.k==(Ht(),Xr)&&Rt(G.c,R);for(At(),ki(G,new kUe),m=!0,a=new ra(e.a),o=null,Fe(e.a.b,a),M=new V(G);M.a<M.c.c.length;)if(R=l(q(M),9),m)Oi(R,a),m=!1;else{for(p=new Ft(Gt(si(R).a.Jc(),new D));an(p);)u=l(en(p),17),(u.c.i.k==(Ht(),Xr)&&u.c.i.c==a||u.c.i.k==ta&&l(en(new Ft(Gt(si(u.c.i).a.Jc(),new D))),17).c.i.c==a)&&(o=new ra(e.a),Fe(e.a.b,o),a=new ra(e.a),Fe(e.a.b,a));for(f=new Ft(Gt(si(R).a.Jc(),new D));an(f);)u=l(en(f),17),u.c.i.k==(Ht(),ta)&&!u.c.i.c&&Oi(u.c.i,o);Oi(R,a)}for(e.a.a.c.length=0,J=new je,T=new V(e.a.b);T.a<T.c.c.length;)y=l(q(T),26),y.a.c.length==0&&Rt(J.c,y);for(g1e(e.a.b,J),N=0,v=new V(e.a.b);v.a<v.c.c.length;)y=l(q(v),26),y.p=N,++N;r.Ug()}function He(){He=K;var e;Is=new _O(qC,0),Vt=new _O("NORTH",1),Qt=new _O("EAST",2),dn=new _O("SOUTH",3),Wt=new _O("WEST",4),gf=(At(),new PA((e=l(md(Oo),10),new Hu(e,l(Gl(e,e.length),10),0)))),dd=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[]))),ol=dg(xr(Qt,Z(X(Oo,1),ea,64,0,[]))),Nu=dg(xr(dn,Z(X(Oo,1),ea,64,0,[]))),Rl=dg(xr(Wt,Z(X(Oo,1),ea,64,0,[]))),oc=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[dn]))),Wa=dg(xr(Qt,Z(X(Oo,1),ea,64,0,[Wt]))),fd=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[Wt]))),Ic=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[Qt]))),Cu=dg(xr(dn,Z(X(Oo,1),ea,64,0,[Wt]))),sl=dg(xr(Qt,Z(X(Oo,1),ea,64,0,[dn]))),Rc=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[Qt,Wt]))),ic=dg(xr(Qt,Z(X(Oo,1),ea,64,0,[dn,Wt]))),sc=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[dn,Wt]))),vc=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[Qt,dn]))),ka=dg(xr(Vt,Z(X(Oo,1),ea,64,0,[Qt,dn,Wt])))}function DNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U;for(o=l(F(e,(Ie(),wr)),19),M=l(F(e,(Ue(),fB)),15).a,u=l(F(e,UI),15).a,Vn(o,fB,Oe(M)),Vn(o,UI,Oe(u)),va(o,e.n.a+t.a),gc(o,e.n.b+t.b),(l(ve(o,mm),185).gc()!=0||e.e||me(F(ji(e),vB))===me((hC(),WI))&&Knt((vy(),(e.q?e.q:(At(),At(),xh))._b(ow)?N=l(F(e,ow),205):N=l(F(ji(e),zI),205),N)))&&(Hb(o,e.o.a),Ub(o,e.o.b)),T=new V(e.j);T.a<T.c.c.length;)y=l(q(T),12),U=F(y,wr),se(U,196)&&(a=l(U,127),Bu(a,y.n.a,y.n.b),Vn(a,rk,y.j));for(R=l(F(e,iw),185).gc()!=0,m=new V(e.b);m.a<m.c.c.length;)f=l(q(m),70),(R||l(F(f,iw),185).gc()!=0)&&(r=l(F(f,wr),158),i0(r,f.o.a,f.o.b),Bu(r,f.n.a,f.n.b));if(!k3(l(F(e,Qy),24)))for(v=new V(e.j);v.a<v.c.c.length;)for(y=l(q(v),12),p=new V(y.f);p.a<p.c.c.length;)f=l(q(p),70),r=l(F(f,wr),158),Hb(r,f.o.a),Ub(r,f.o.b),Bu(r,f.n.a,f.n.b)}function LNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;for(t.Tg("Calculate Graph Size",1),t.bh(e,mve),T=FE,N=FE,y=RZ,v=RZ,U=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));U.e!=U.i.gc();)R=l(rn(U),19),re=R.i,oe=R.j,ft=R.g,p=R.f,m=l(ve(R,(_n(),Cp)),125),T=b.Math.min(T,re-m.b),N=b.Math.min(N,oe-m.d),y=b.Math.max(y,re+ft+m.c),v=b.Math.max(v,oe+p+m.a);for(J=l(ve(e,(_n(),df)),100),G=new Me(T-J.b,N-J.d),dt=y-T+(J.b+J.c),f=v-N+(J.d+J.a),Ye(Ke(ve(e,(A1(),Sxe))))&&(de=l(ve(e,(cE(),d2)),19),Ee=l(ve(de,Cp),125),ye=de.i+de.g/2+(Ee.b+Ee.c)/2-G.a,qe=de.j+de.f/2+(Ee.d+Ee.a)/2-G.b,a=dt-ye,u=f-qe,a<dt/2?(r=a-ye,dt+=r,G.a-=r):(r=ye-a,dt+=r),u<f/2?(o=u-qe,f+=o,G.b-=o):(o=qe-u,f+=o)),M=new tn((!e.a&&(e.a=new ke(En,e,10,11)),e.a));M.e!=M.i.gc();)R=l(rn(M),19),va(R,R.i-G.a),gc(R,R.j-G.b);Ye(Ke(ve(e,lv)))||(Hb(e,dt),Ub(e,f)),Vn(e,uv,dt-(J.b+J.c)),Vn(e,cv,f-(J.d+J.a)),t.bh(e,P7)}function MNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R;if(e.e.a.$b(),e.f.a.$b(),e.c.c.length=0,e.i.c.length=0,e.g.a.$b(),t)for(f=new V(t.a);f.a<f.c.c.length;)for(u=l(q(f),9),T=bg(u,(He(),Qt)).Jc();T.Ob();)for(v=l(T.Pb(),12),gi(e.e,v),a=new V(v.g);a.a<a.c.c.length;)o=l(q(a),17),!fo(o)&&(Fe(e.c,o),E1t(e,o),p=o.c.i.k,(p==(Ht(),Xr)||p==_a||p==yi||p==af)&&Fe(e.j,o),R=o.d,N=R.i.c,N==r?gi(e.f,R):N==t?gi(e.e,R):Xa(e.c,o));if(r)for(f=new V(r.a);f.a<f.c.c.length;){for(u=l(q(f),9),y=new V(u.j);y.a<y.c.c.length;)for(m=l(q(y),12),a=new V(m.g);a.a<a.c.c.length;)o=l(q(a),17),fo(o)&&gi(e.g,o);for(T=bg(u,(He(),Wt)).Jc();T.Ob();)for(v=l(T.Pb(),12),gi(e.f,v),a=new V(v.g);a.a<a.c.c.length;)o=l(q(a),17),!fo(o)&&(Fe(e.c,o),E1t(e,o),p=o.c.i.k,(p==(Ht(),Xr)||p==_a||p==yi||p==af)&&Fe(e.j,o),R=o.d,N=R.i.c,N==r?gi(e.f,R):N==t?gi(e.e,R):Xa(e.c,o))}}function PNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(r.Tg("Polyline edge routing",1),G=ce(le(F(t,(Ue(),yAe)))),R=ce(le(F(t,rv))),a=ce(le(F(t,tv))),o=b.Math.min(1,a/R),oe=0,m=0,t.b.c.length!=0&&(de=bwt(l(ze(t.b,0),26)),oe=.4*o*de),p=new Ji(t.b,0);p.b<p.d.gc();){for(f=(cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26)),u=C8(f,xL),u&&oe>0&&(oe-=R),F0e(f,oe),v=0,N=new V(f.a);N.a<N.c.c.length;){for(T=l(q(N),9),y=0,U=new Ft(Gt(Or(T).a.Jc(),new D));an(U);)M=l(en(U),17),J=qd(M.c).b,re=qd(M.d).b,f==M.d.i.c&&!fo(M)&&(Yvn(M,oe,.4*o*b.Math.abs(J-re)),M.c.j==(He(),Wt)&&(J=0,re=0)),y=b.Math.max(y,b.Math.abs(re-J));switch(T.k.g){case 0:case 4:case 1:case 3:case 5:Zxn(e,T,oe,G)}v=b.Math.max(v,y)}p.b<p.d.gc()&&(de=bwt((cn(p.b<p.d.gc()),l(p.d.Xb(p.c=p.b++),26))),v=b.Math.max(v,de),cn(p.b>0),p.a.Xb(p.c=--p.b)),m=.4*o*v,!u&&p.b<p.d.gc()&&(m+=R),oe+=f.c.a+m}e.a.a.$b(),t.f.a=oe,r.Ug()}function jNn(e){var t,r,o,a,u;switch(YO(e,fAt),(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i+(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i){case 0:throw Y(new jt("The edge must have at least one source or target."));case 1:return(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i==0?Br(Jo(l(ie((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))):Br(Jo(l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)))}if((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b).i==1&&(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c).i==1){if(a=Jo(l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83)),u=Jo(l(ie((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83)),Br(a)==Br(u))return Br(a);if(a==Br(u))return a;if(u==Br(a))return u}for(o=hh(Wu(Z(X(nl,1),It,22,0,[(!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),(!e.c&&(e.c=new Tt(pn,e,5,8)),e.c)]))),t=Jo(l(en(o),83));an(o);)if(r=Jo(l(en(o),83)),r!=t&&!ly(r,t)){if(Br(r)==Br(t))t=Br(r);else if(t=a2n(t,r),!t)return null}return t}function Y0e(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;if(N=t.length,N>0&&(m=(Jt(0,t.length),t.charCodeAt(0)),m!=64)){if(m==37&&(T=t.lastIndexOf("%"),y=!1,T!=0&&(T==N-1||(y=(Jt(T+1,t.length),t.charCodeAt(T+1)==46))))){if(f=(io(1,T,t.length),t.substr(1,T-1)),oe=wt("%",f)?null:J0e(f),o=0,y)try{o=Eu((Jt(T+2,t.length+1),t.substr(T+2)),Zi,ar)}catch(de){throw de=ui(de),se(de,133)?(p=de,Y(new sj(p))):Y(de)}for(G=hge(e.Dh());G.Ob();)if(M=Oj(G),se(M,508)&&(a=l(M,594),re=a.d,(oe==null?re==null:wt(oe,re))&&o--==0))return a;return null}if(v=t.lastIndexOf("."),R=v==-1?t:(io(0,v,t.length),t.substr(0,v)),r=0,v!=-1)try{r=Eu((Jt(v+1,t.length+1),t.substr(v+1)),Zi,ar)}catch(de){if(de=ui(de),se(de,133))R=t;else throw Y(de)}for(R=wt("%",R)?null:J0e(R),U=hge(e.Dh());U.Ob();)if(M=Oj(U),se(M,199)&&(u=l(M,199),J=u.ve(),(R==null?J==null:wt(R,J))&&r--==0))return u;return null}return lEt(e,t)}function FNn(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re;for(v=new hn,m=new b0,o=new V(e.a.a.b);o.a<o.c.c.length;)if(t=l(q(o),60),y=dE(t),y)ec(v.f,y,t);else if(re=PS(t),re)for(u=new V(re.k);u.a<u.c.c.length;)a=l(q(u),17),yt(m,a,t);for(r=new V(e.a.a.b);r.a<r.c.c.length;)if(t=l(q(r),60),y=dE(t),y){for(p=new Ft(Gt(Or(y).a.Jc(),new D));an(p);)if(f=l(en(p),17),!fo(f)&&(M=f.c,J=f.d,!((He(),oc).Gc(f.c.j)&&oc.Gc(f.d.j)))){if(U=l(Ut(v,f.d.i),60),Ql($l(Ul(Hl(Bl(new gl,0),100),e.c[t.a.d]),e.c[U.a.d])),M.j==Wt&&Sst((bc(),M))){for(N=l(yr(m,f),24).Jc();N.Ob();)if(T=l(N.Pb(),60),T.d.c<t.d.c){if(R=e.c[T.a.d],G=e.c[t.a.d],R==G)continue;Ql($l(Ul(Hl(Bl(new gl,1),100),R),G))}}if(J.j==Qt&&Tst((bc(),J))){for(N=l(yr(m,f),24).Jc();N.Ob();)if(T=l(N.Pb(),60),T.d.c>t.d.c){if(R=e.c[t.a.d],G=e.c[T.a.d],R==G)continue;Ql($l(Ul(Hl(Bl(new gl,1),100),R),G))}}}}}function $Nn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;if(N=l(l(yr(e.r,t),24),85),t==(He(),Qt)||t==Wt){vEt(e,t);return}for(u=t==Vt?(A0(),QD):(A0(),eL),de=t==Vt?(Za(),Nd):(Za(),rd),r=l(Ko(e.b,t),129),o=r.i,a=o.c+pE(Z(X(Ki,1),Xo,30,15,[r.n.b,e.C.b,e.k])),J=o.c+o.b-pE(Z(X(Ki,1),Xo,30,15,[r.n.c,e.C.c,e.k])),f=ile(wfe(u),e.t),re=t==Vt?Li:Kr,T=N.Jc();T.Ob();)y=l(T.Pb(),116),!(!y.c||y.c.d.c.length<=0)&&(G=y.b.Kf(),U=y.e,R=y.c,M=R.i,M.b=(m=R.n,R.e.a+m.b+m.c),M.a=(p=R.n,R.e.b+p.d+p.a),YO(de,Ewe),R.f=de,Ed(R,(_c(),nd)),M.c=U.a-(M.b-G.a)/2,Ee=b.Math.min(a,U.a),ye=b.Math.max(J,U.a+G.a),M.c<Ee?M.c=Ee:M.c+M.b>ye&&(M.c=ye-M.b),Fe(f.d,new YV(M,h1e(f,M))),re=t==Vt?b.Math.max(re,U.b+y.b.Kf().b):b.Math.min(re,U.b));for(re+=t==Vt?e.t:-e.t,oe=I1e((f.e=re,f)),oe>0&&(l(Ko(e.b,t),129).a.b=oe),v=N.Jc();v.Ob();)y=l(v.Pb(),116),!(!y.c||y.c.d.c.length<=0)&&(M=y.c.i,M.c-=y.e.a,M.d-=y.e.b)}function BNn(e,t){DJ();var r,o,a,u,f,p,m,y,v,T,N,R,M,U;if(m=Ea(e,0)<0,m&&(e=cg(e)),Ea(e,0)==0)switch(t){case 0:return"0";case 1:return dx;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return R=new Qg,t<0?R.a+="0E+":R.a+="0E",R.a+=t==Zi?"2147483648":""+-t,R.a}v=18,T=we(al,Bf,30,v+1,15,1),r=v,U=e;do y=U,U=W6(U,10),T[--r]=On(_o(48,El(y,yo(U,10))))&Ti;while(Ea(U,0)!=0);if(a=El(El(El(v,r),t),1),t==0)return m&&(T[--r]=45),Mf(T,r,v-r);if(t>0&&Ea(a,-6)>=0){if(Ea(a,0)>=0){for(u=r+On(a),p=v-1;p>=u;p--)T[p+1]=T[p];return T[++u]=46,m&&(T[--r]=45),Mf(T,r,v-r+1)}for(f=2;kq(f,_o(cg(a),1));f++)T[--r]=48;return T[--r]=46,T[--r]=48,m&&(T[--r]=45),Mf(T,r,v-r)}return M=r+1,o=v,N=new lS,m&&(N.a+="-"),o-M>=1?(Db(N,T[r]),N.a+=".",N.a+=Mf(T,r+1,v-r-1)):N.a+=Mf(T,r,v-r),N.a+="E",Ea(a,0)>0&&(N.a+="+"),N.a+=""+x3(a),N.a}function kEt(e){n0(e,new Qb(iO(Qm(Jm(Zm(Xm(new vb,Qu),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Rze),Qu))),Le(e,Qu,R7,Ge(rOt)),Le(e,Qu,$0,Ge(iOt)),Le(e,Qu,PE,Ge(QRt)),Le(e,Qu,mT,Ge(eOt)),Le(e,Qu,bT,Ge(tOt)),Le(e,Qu,Ex,Ge(ZRt)),Le(e,Qu,yx,Ge(Txe)),Le(e,Qu,Sx,Ge(nOt)),Le(e,Qu,BZ,Ge(vne)),Le(e,Qu,$Z,Ge(Ene)),Le(e,Qu,j7,Ge(_xe)),Le(e,Qu,UZ,Ge(Sne)),Le(e,Qu,HZ,Ge(xxe)),Le(e,Qu,xve,Ge(kxe)),Le(e,Qu,_ve,Ge(Axe)),Le(e,Qu,Eve,Ge(zB)),Le(e,Qu,Sve,Ge(GB)),Le(e,Qu,Tve,Ge(RL)),Le(e,Qu,Ave,Ge(Nxe)),Le(e,Qu,vve,Ge(Sxe))}function M0(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;if(G=new Me(e.g,e.f),U=ome(e),U.a=b.Math.max(U.a,t),U.b=b.Math.max(U.b,r),ye=U.a/G.a,v=U.b/G.b,de=U.a-G.a,m=U.b-G.b,o)for(f=Br(e)?l(ve(Br(e),(_n(),Tm)),87):l(ve(e,(_n(),Tm)),87),p=me(ve(e,(_n(),bk)))===me((qi(),fa)),re=new tn((!e.c&&(e.c=new ke(Gc,e,9,9)),e.c));re.e!=re.i.gc();)switch(J=l(rn(re),127),oe=l(ve(J,w2),64),oe==(He(),Is)&&(oe=k0e(J,f),Vn(J,w2,oe)),oe.g){case 1:p||va(J,J.i*ye);break;case 2:va(J,J.i+de),p||gc(J,J.j*v);break;case 3:p||va(J,J.i*ye),gc(J,J.j+m);break;case 4:p||gc(J,J.j*v)}if(i0(e,U.a,U.b),a)for(N=new tn((!e.n&&(e.n=new ke(Rs,e,1,7)),e.n));N.e!=N.i.gc();)T=l(rn(N),158),R=T.i+T.g/2,M=T.j+T.f/2,Ee=R/G.a,y=M/G.b,Ee+y>=1&&(Ee-y>0&&M>=0?(va(T,T.i+de),gc(T,T.j+m*y)):Ee-y<0&&R>=0&&(va(T,T.i+de*Ee),gc(T,T.j+m)));return Vn(e,(_n(),Am),(su(),u=l(md(N4),10),new Hu(u,l(Gl(u,u.length),10),0))),new Me(ye,v)}function QF(e){var t,r,o,a,u,f,p,m,y,v,T;if(e==null)throw Y(new kf(tc));if(y=e,u=e.length,m=!1,u>0&&(t=(Jt(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(Jt(1,e.length+1),e.substr(1)),--u,m=t==45)),u==0)throw Y(new kf(F0+y+'"'));for(;e.length>0&&(Jt(0,e.length),e.charCodeAt(0)==48);)e=(Jt(1,e.length+1),e.substr(1)),--u;if(u>(tvt(),ixt)[10])throw Y(new kf(F0+y+'"'));for(a=0;a<u;a++)if(r1t((Jt(a,e.length),e.charCodeAt(a)))==-1)throw Y(new kf(F0+y+'"'));for(T=0,f=o2e[10],v=VQ[10],p=cg(s2e[10]),r=!0,o=u%f,o>0&&(T=-parseInt((io(0,o,e.length),e.substr(0,o)),10),e=(Jt(o,e.length+1),e.substr(o)),u-=o,r=!1);u>=f;){if(o=parseInt((io(0,f,e.length),e.substr(0,f)),10),e=(Jt(f,e.length+1),e.substr(f)),u-=f,r)r=!1;else{if(Ea(T,p)<0)throw Y(new kf(F0+y+'"'));T=yo(T,v)}T=El(T,o)}if(Ea(T,0)>0)throw Y(new kf(F0+y+'"'));if(!m&&(T=cg(T),Ea(T,0)<0))throw Y(new kf(F0+y+'"'));return T}function J0e(e){$J();var t,r,o,a,u,f,p,m;if(e==null)return null;if(a=Nf(e,Qa(37)),a<0)return e;for(m=new fu((io(0,a,e.length),e.substr(0,a))),t=we(Ec,UE,30,4,15,1),p=0,o=0,f=e.length;a<f;a++)if(Jt(a,e.length),e.charCodeAt(a)==37&&e.length>a+2&&FK((Jt(a+1,e.length),e.charCodeAt(a+1)),_3e,x3e)&&FK((Jt(a+2,e.length),e.charCodeAt(a+2)),_3e,x3e))if(r=Kon((Jt(a+1,e.length),e.charCodeAt(a+1)),(Jt(a+2,e.length),e.charCodeAt(a+2))),a+=2,o>0?(r&192)==128?t[p++]=r<<24>>24:o=0:r>=128&&((r&224)==192?(t[p++]=r<<24>>24,o=2):(r&240)==224?(t[p++]=r<<24>>24,o=3):(r&248)==240&&(t[p++]=r<<24>>24,o=4)),o>0){if(p==o){switch(p){case 2:{Db(m,((t[0]&31)<<6|t[1]&63)&Ti);break}case 3:{Db(m,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&Ti);break}}p=0,o=0}}else{for(u=0;u<p;++u)Db(m,t[u]&Ti);p=0,m.a+=String.fromCharCode(r)}else{for(u=0;u<p;++u)Db(m,t[u]&Ti);p=0,Db(m,(Jt(a,e.length),e.charCodeAt(a)))}return m.a}function NEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M;if(R=Br(Jo(l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83))),M=Br(Jo(l(ie((!e.c&&(e.c=new Tt(pn,e,5,8)),e.c),0),83))),T=R==M,p=new ro,t=l(ve(e,(Fj(),GNe)),79),t&&t.b>=2){if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i==0)r=(t1(),a=new b9,a),Tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),r);else if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i>1)for(N=new SS((!e.a&&(e.a=new ke(jr,e,6,6)),e.a));N.e!=N.i.gc();)wC(N);C0e(t,l(ie((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171))}if(T)for(o=new tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a));o.e!=o.i.gc();)for(r=l(rn(o),171),y=new tn((!r.a&&(r.a=new Ei(Iu,r,5)),r.a));y.e!=y.i.gc();)m=l(rn(y),373),p.a=b.Math.max(p.a,m.a),p.b=b.Math.max(p.b,m.b);for(f=new tn((!e.n&&(e.n=new ke(Rs,e,1,7)),e.n));f.e!=f.i.gc();)u=l(rn(f),158),v=l(ve(u,S4),8),v&&Bu(u,v.a,v.b),T&&(p.a=b.Math.max(p.a,u.i+u.g),p.b=b.Math.max(p.b,u.j+u.f));return p}function CEt(e,t,r,o,a){var u,f,p;if(Xdt(e,t),f=t[0],u=uo(r.c,0),p=-1,Hge(r))if(o>0){if(f+o>e.length)return!1;p=NF((io(0,f+o,e.length),e.substr(0,f+o)),t)}else p=NF(e,t);switch(u){case 71:return p=xE(e,f,Z(X(Je,1),Pe,2,6,[g2t,b2t]),t),a.e=p,!0;case 77:return rTn(e,t,a,p,f);case 76:return iTn(e,t,a,p,f);case 69:return rvn(e,t,f,a);case 99:return ivn(e,t,f,a);case 97:return p=xE(e,f,Z(X(Je,1),Pe,2,6,["AM","PM"]),t),a.b=p,!0;case 121:return oTn(e,t,f,p,r,a);case 100:return p<=0?!1:(a.c=p,!0);case 83:return p<0?!1:m1n(p,f,t[0],a);case 104:p==12&&(p=0);case 75:case 72:return p<0?!1:(a.f=p,a.g=!1,!0);case 107:return p<0?!1:(a.f=p,a.g=!0,!0);case 109:return p<0?!1:(a.j=p,!0);case 115:return p<0?!1:(a.n=p,!0);case 90:if(f<e.length&&(Jt(f,e.length),e.charCodeAt(f)==90))return++t[0],a.o=0,!0;case 122:case 118:return Cwn(e,f,t,a);default:return!1}}function UNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt;for(oe=t.c.length,a=new CE(e.a,r,null,null),dt=we(Ki,Xo,30,oe,15,1),U=we(Ki,Xo,30,oe,15,1),M=we(Ki,Xo,30,oe,15,1),G=0,p=0;p<oe;p++)U[p]=ar,M[p]=Zi;for(m=0;m<oe;m++)for(o=(at(m,t.c.length),l(t.c[m],188)),dt[m]=fJ(o),dt[G]>dt[m]&&(G=m),T=new V(e.a.b);T.a<T.c.c.length;)for(v=l(q(T),26),re=new V(v.a);re.a<re.c.c.length;)J=l(q(re),9),ye=ce(o.p[J.p])+ce(o.d[J.p]),U[m]=b.Math.min(U[m],ye),M[m]=b.Math.max(M[m],ye+J.o.b);for(qe=we(Ki,Xo,30,oe,15,1),y=0;y<oe;y++)(at(y,t.c.length),l(t.c[y],188)).o==(zd(),Em)?qe[y]=U[G]-U[y]:qe[y]=M[G]-M[y];for(u=we(Ki,Xo,30,oe,15,1),R=new V(e.a.b);R.a<R.c.c.length;)for(N=l(q(R),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;){for(de=l(q(Ee),9),f=0;f<oe;f++)u[f]=ce((at(f,t.c.length),l(t.c[f],188)).p[de.p])+ce((at(f,t.c.length),l(t.c[f],188)).d[de.p])+qe[f];yZe(u,Pft(De.prototype.Ke,De,[])),a.p[de.p]=(u[1]+u[2])/2,a.d[de.p]=0}return a}function HNn(e,t,r){var o,a,u,f,p;switch(o=t.i,u=e.i.o,a=e.i.d,p=e.n,f=xs(Z(X($i,1),Pe,8,0,[p,e.a])),e.j.g){case 1:Cf(t,(Za(),rd)),o.d=-a.d-r-o.a,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vu(),Ih)?(Ed(t,(_c(),nd)),o.c=f.a-ce(le(F(e,e2)))-r-o.b):(Ed(t,(_c(),Wf)),o.c=f.a+ce(le(F(e,e2)))+r);break;case 2:Ed(t,(_c(),Wf)),o.c=u.a+a.c+r,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vu(),Ih)?(Cf(t,(Za(),rd)),o.d=f.b-ce(le(F(e,e2)))-r-o.a):(Cf(t,(Za(),Nd)),o.d=f.b+ce(le(F(e,e2)))+r);break;case 3:Cf(t,(Za(),Nd)),o.d=u.b+a.a+r,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vu(),Ih)?(Ed(t,(_c(),nd)),o.c=f.a-ce(le(F(e,e2)))-r-o.b):(Ed(t,(_c(),Wf)),o.c=f.a+ce(le(F(e,e2)))+r);break;case 4:Ed(t,(_c(),nd)),o.c=-a.b-r-o.b,l(l(ze(t.d,0),190).mf((Ie(),OT)),293)==(vu(),Ih)?(Cf(t,(Za(),rd)),o.d=f.b-ce(le(F(e,e2)))-r-o.a):(Cf(t,(Za(),Nd)),o.d=f.b+ce(le(F(e,e2)))+r)}}function zNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re;for(t.Tg("Interactive node layering",1),r=new je,N=new V(e.a);N.a<N.c.c.length;){for(v=l(q(N),9),m=v.n.a,p=m+v.o.a,p=b.Math.max(m+1,p),re=new Ji(r,0),o=null;re.b<re.d.gc();)if(G=(cn(re.b<re.d.gc()),l(re.d.Xb(re.c=re.b++),571)),G.c>=p){cn(re.b>0),re.a.Xb(re.c=--re.b);break}else G.a>m&&(o?(li(o.b,G.b),o.a=b.Math.max(o.a,G.a),Mc(re)):(Fe(G.b,v),G.c=b.Math.min(G.c,m),G.a=b.Math.max(G.a,p),o=G));o||(o=new MZe,o.c=m,o.a=p,Kw(re,o),Fe(o.b,v))}for(f=e.b,y=0,J=new V(r);J.a<J.c.c.length;)for(G=l(q(J),571),a=new ra(e),a.p=y++,Rt(f.c,a),R=new V(G.b);R.a<R.c.c.length;)v=l(q(R),9),Oi(v,a),v.p=0;for(T=new V(e.a);T.a<T.c.c.length;)if(v=l(q(T),9),v.p==0)for(U=fyt(v,e);U.a.gc()!=0;)M=l(U.a.ec().Jc().Pb(),9),U.a.Ac(M)!=null,wo(U,fyt(M,e));for(u=new Ji(f,0);u.b<u.d.gc();)(cn(u.b<u.d.gc()),l(u.d.Xb(u.c=u.b++),26)).a.c.length==0&&Mc(u);e.a.c.length=0,t.Ug()}function GNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U;for(r.Tg(eTt,1),!t.a&&(t.a=new ke(En,t,10,11)),o=ce(le(ve(t,(ef(),KB)))),v=ce(le(ve(t,l4))),N=l(ve(t,u4),100),R=new Zle(o,v),u=VEt(R,t,N),Ift(t,R),p=l(ve(t,Wxe),15).a;p>1;){if(a=J2n(t),T=u.g,M=l(ve(t,u4),100),U=ce(le(ve(t,KB))),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i>1&&ce(le(ve(t,(yh(),Rne))))!=Kr&&(u.c+(M.b+M.c))/(u.b+(M.d+M.a))<U?Vn(a,(yh(),sv),ce(le(ve(t,sv)))+ce(le(ve(t,Rne)))):(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i>1&&ce(le(ve(t,(yh(),Ine))))!=Kr&&(u.c+(M.b+M.c))/(u.b+(M.d+M.a))>U&&Vn(a,(yh(),sv),b.Math.max(ce(le(ve(t,c4))),ce(le(ve(a,sv)))-ce(le(ve(t,Ine))))),R=new Zle(o,v),m=VEt(R,a,N),y=m.g,y>=T&&y==y){for(f=0;f<(!a.a&&(a.a=new ke(En,a,10,11)),a.a).i;f++)f0t(e,l(ie((!a.a&&(a.a=new ke(En,a,10,11)),a.a),f),19),l(ie((!t.a&&(t.a=new ke(En,t,10,11)),t.a),f),19));Ift(t,R),Rcn(u,m.c),Ocn(u,m.b)}--p}Vn(t,(yh(),dk),u.b),Vn(t,$T,u.c),r.Ug()}function qNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;for(t.Tg("Compound graph postprocessor",1),r=Ye(Ke(F(e,(Ue(),Ite)))),p=l(F(e,(Ie(),yTe)),231),v=new pi,J=p.ec().Jc();J.Ob();){for(G=l(J.Pb(),17),f=new Tc(p.cc(G)),At(),ki(f,new Eue(e)),Ee=Dhn((at(0,f.c.length),l(f.c[0],253))),qe=kht(l(ze(f,f.c.length-1),253)),oe=Ee.i,T_(qe.i,oe)?re=oe.e:re=ji(oe),T=Ebn(G,f),tu(G.a),N=null,u=new V(f);u.a<u.c.c.length;)a=l(q(u),253),U=new ro,nme(U,a.a,re),R=a.b,o=new Lc,KK(o,0,R.a),fy(o,U),de=new To(qd(R.c)),ye=new To(qd(R.d)),mr(de,U),mr(ye,U),N&&(o.b==0?M=ye:M=(cn(o.b!=0),l(o.a.a.c,8)),dt=b.Math.abs(N.a-M.a)>Hf,ft=b.Math.abs(N.b-M.b)>Hf,(!r&&dt&&ft||r&&(dt||ft))&&Gn(G.a,de)),wo(G.a,o),o.b==0?N=de:N=(cn(o.b!=0),l(o.c.b.c,8)),ipn(R,T,U),kht(a)==qe&&(ji(qe.i)!=a.a&&(U=new ro,nme(U,ji(qe.i),re)),Te(G,lte,U)),vyn(R,G,re),v.a.yc(R,v);mo(G,Ee),Yi(G,qe)}for(y=v.a.ec().Jc();y.Ob();)m=l(y.Pb(),17),mo(m,null),Yi(m,null);t.Ug()}function VNn(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(a=l(F(e,(js(),cw)),87),v=a==(Si(),cs)||a==fs?ff:fs,r=l(Ac(dr(new vt(null,new St(e.b,16)),new jHe),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),m=l(Ac(Oa(r.Mc(),new iXe(t)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),16),m.Fc(l(Ac(Oa(r.Mc(),new oXe(t)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),18)),m.gd(new sXe(v)),N=new Qp(new aXe(a)),o=new hn,p=m.Jc();p.Ob();)f=l(p.Pb(),243),y=l(f.a,41),Ye(Ke(f.c))?(N.a.yc(y,(Lt(),L1))==null,new IA(N.a.Xc(y,!1)).a.gc()>0&&Jn(o,y,l(new IA(N.a.Xc(y,!1)).a.Tc(),41)),new IA(N.a.$c(y,!0)).a.gc()>1&&Jn(o,Fgt(N,y),y)):(new IA(N.a.Xc(y,!1)).a.gc()>0&&(u=l(new IA(N.a.Xc(y,!1)).a.Tc(),41),me(u)===me(Ss(ns(o.f,y)))&&l(F(y,(Nr(),tne)),16).Ec(u)),new IA(N.a.$c(y,!0)).a.gc()>1&&(T=Fgt(N,y),me(Ss(ns(o.f,T)))===me(y)&&l(F(T,(Nr(),tne)),16).Ec(y)),N.a.Ac(y)!=null)}function IEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(e.gc()==1)return l(e.Xb(0),238);if(e.gc()<=0)return new XP;for(a=e.Jc();a.Ob();){for(r=l(a.Pb(),238),M=0,v=ar,T=ar,m=Zi,y=Zi,R=new V(r.e);R.a<R.c.c.length;)N=l(q(R),156),M+=l(F(N,(ed(),AT)),15).a,v=b.Math.min(v,N.d.a-N.e.a/2),T=b.Math.min(T,N.d.b-N.e.b/2),m=b.Math.max(m,N.d.a+N.e.a/2),y=b.Math.max(y,N.d.b+N.e.b/2);Te(r,(ed(),AT),Oe(M)),Te(r,(p1(),SI),new Me(v,T)),Te(r,tL,new Me(m,y))}for(At(),e.gd(new Yh),U=new XP,qs(U,l(e.Xb(0),105)),p=0,re=0,u=e.Jc();u.Ob();)r=l(u.Pb(),238),G=Di(Ao(l(F(r,(p1(),tL)),8)),l(F(r,SI),8)),p=b.Math.max(p,G.a),re+=G.a*G.b;for(p=b.Math.max(p,b.Math.sqrt(re)*ce(le(F(U,(ed(),mkt))))),J=ce(le(F(U,E$))),oe=0,de=0,f=0,t=J,o=e.Jc();o.Ob();)r=l(o.Pb(),238),G=Di(Ao(l(F(r,(p1(),tL)),8)),l(F(r,SI),8)),oe+G.a>p&&(oe=0,de+=f+J,f=0),mAn(U,r,oe,de),t=b.Math.max(t,oe+G.a),f=b.Math.max(f,G.b),oe+=G.a+J;return U}function WNn(e){x0e();var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(e==null||(u=cj(e),M=Rgn(u),M%4!=0))return null;if(U=M/4|0,U==0)return we(Ec,UE,30,0,15,1);for(T=null,t=0,r=0,o=0,a=0,f=0,p=0,m=0,y=0,R=0,N=0,v=0,T=we(Ec,UE,30,U*3,15,1);R<U-1;R++){if(!cO(f=u[v++])||!cO(p=u[v++])||!cO(m=u[v++])||!cO(y=u[v++]))return null;t=mf[f],r=mf[p],o=mf[m],a=mf[y],T[N++]=(t<<2|r>>4)<<24>>24,T[N++]=((r&15)<<4|o>>2&15)<<24>>24,T[N++]=(o<<6|a)<<24>>24}return!cO(f=u[v++])||!cO(p=u[v++])?null:(t=mf[f],r=mf[p],m=u[v++],y=u[v++],mf[m]==-1||mf[y]==-1?m==61&&y==61?r&15?null:(G=we(Ec,UE,30,R*3+1,15,1),ca(T,0,G,0,R*3),G[N]=(t<<2|r>>4)<<24>>24,G):m!=61&&y==61?(o=mf[m],o&3?null:(G=we(Ec,UE,30,R*3+2,15,1),ca(T,0,G,0,R*3),G[N++]=(t<<2|r>>4)<<24>>24,G[N]=((r&15)<<4|o>>2&15)<<24>>24,G)):null:(o=mf[m],a=mf[y],T[N++]=(t<<2|r>>4)<<24>>24,T[N++]=((r&15)<<4|o>>2&15)<<24>>24,T[N++]=(o<<6|a)<<24>>24,T))}function KNn(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee;for(t.Tg(ESt,1),M=l(F(e,(Ue(),kp)),225),a=new V(e.b);a.a<a.c.c.length;)for(o=l(q(a),26),y=QO(o.a),f=y,p=0,m=f.length;p<m;++p)if(u=f[p],u.k==(Ht(),_a)){if(M==(gp(),WT))for(T=new V(u.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||tbn(v),v.g.c.length==0||nbn(v);else if(se(F(u,(Ie(),wr)),17))G=l(F(u,wr),17),J=l(bg(u,(He(),Wt)).Jc().Pb(),12),re=l(bg(u,Qt).Jc().Pb(),12),oe=l(F(J,wr),12),de=l(F(re,wr),12),mo(G,de),Yi(G,oe),Ee=new To(re.i.n),Ee.a=xs(Z(X($i,1),Pe,8,0,[de.i.n,de.n,de.a])).a,Gn(G.a,Ee),Ee=new To(J.i.n),Ee.a=xs(Z(X($i,1),Pe,8,0,[oe.i.n,oe.n,oe.a])).a,Gn(G.a,Ee);else{if(u.j.c.length>=2){for(U=!0,N=new V(u.j),r=l(q(N),12),R=null;N.a<N.c.c.length;)if(R=r,r=l(q(N),12),!gr(F(R,wr),F(r,wr))){U=!1;break}}else U=!1;for(T=new V(u.j);T.a<T.c.c.length;)v=l(q(T),12),v.e.c.length==0||ASn(v,U),v.g.c.length==0||_Sn(v,U)}Oi(u,null)}t.Ug()}function YNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee;for(p=new V(e.a.b);p.a<p.c.c.length;)for(u=l(q(p),26),oe=new V(u.a);oe.a<oe.c.c.length;)re=l(q(oe),9),t.g[re.p]=re,t.a[re.p]=re,t.d[re.p]=0;for(m=e.a.b,t.c==(If(),kg)&&(m=ou(m)),f=m.Jc();f.Ob();)for(u=l(f.Pb(),26),R=-1,N=u.a,t.o==(zd(),cf)&&(R=ar,N=ou(N)),Ee=N.Jc();Ee.Ob();)if(de=l(Ee.Pb(),9),T=null,t.c==kg?T=l(ze(e.b.f,de.p),16):T=l(ze(e.b.b,de.p),16),T.gc()>0)if(o=T.gc(),y=bo(b.Math.floor((o+1)/2))-1,a=bo(b.Math.ceil((o+1)/2))-1,t.o==cf)for(v=a;v>=y;v--)t.a[de.p]==de&&(U=l(T.Xb(v),49),M=l(U.a,9),!bl(r,U.b)&&R>e.b.e[M.p]&&(t.a[M.p]=de,t.g[de.p]=t.g[M.p],t.a[de.p]=t.g[de.p],t.f[t.g[de.p].p]=(Lt(),!!(Ye(t.f[t.g[de.p].p])&de.k==(Ht(),bi))),R=e.b.e[M.p]));else for(v=y;v<=a;v++)t.a[de.p]==de&&(J=l(T.Xb(v),49),G=l(J.a,9),!bl(r,J.b)&&R<e.b.e[G.p]&&(t.a[G.p]=de,t.g[de.p]=t.g[G.p],t.a[de.p]=t.g[de.p],t.f[t.g[de.p].p]=(Lt(),!!(Ye(t.f[t.g[de.p].p])&de.k==(Ht(),bi))),R=e.b.e[G.p]))}function REt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt;return oe=e.c[(at(0,t.c.length),l(t.c[0],17)).p],qe=e.c[(at(1,t.c.length),l(t.c[1],17)).p],oe.a.e.e-oe.a.a-(oe.b.e.e-oe.b.a)==0&&qe.a.e.e-qe.a.a-(qe.b.e.e-qe.b.a)==0||(J=oe.b.e.f,!se(J,9))?!1:(G=l(J,9),Ee=e.i[G.p],ye=G.c?_s(G.c.a,G,0):-1,u=Kr,ye>0&&(a=l(ze(G.c.a,ye-1),9),f=e.i[a.p],dt=b.Math.ceil(iE(e.n,a,G)),u=Ee.a.e-G.d.d-(f.a.e+a.o.b+a.d.a)-dt),y=Kr,ye<G.c.a.c.length-1&&(m=l(ze(G.c.a,ye+1),9),v=e.i[m.p],dt=b.Math.ceil(iE(e.n,m,G)),y=v.a.e-m.d.d-(Ee.a.e+G.o.b+G.d.a)-dt),r&&(Ud(),Yl(Gf),b.Math.abs(u-y)<=Gf||u==y||isNaN(u)&&isNaN(y))?!0:(o=aW(oe.a),p=-aW(oe.b),T=-aW(qe.a),re=aW(qe.b),U=oe.a.e.e-oe.a.a-(oe.b.e.e-oe.b.a)>0&&qe.a.e.e-qe.a.a-(qe.b.e.e-qe.b.a)<0,M=oe.a.e.e-oe.a.a-(oe.b.e.e-oe.b.a)<0&&qe.a.e.e-qe.a.a-(qe.b.e.e-qe.b.a)>0,R=oe.a.e.e+oe.b.a<qe.b.e.e+qe.a.a,N=oe.a.e.e+oe.b.a>qe.b.e.e+qe.a.a,de=0,!U&&!M&&(N?u+T>0?de=T:y-o>0&&(de=o):R&&(u+p>0?de=p:y-re>0&&(de=re))),Ee.a.e+=de,Ee.b&&(Ee.d.e+=de),!1))}function OEt(e,t,r){var o,a,u,f,p,m,y,v,T,N;if(o=new ql(t.Jf().a,t.Jf().b,t.Kf().a,t.Kf().b),a=new wS,e.c)for(f=new V(t.Pf());f.a<f.c.c.length;)u=l(q(f),190),a.c=u.Jf().a+t.Jf().a,a.d=u.Jf().b+t.Jf().b,a.b=u.Kf().a,a.a=u.Kf().b,yC(o,a);for(y=new V(t.Vf());y.a<y.c.c.length;){if(m=l(q(y),844),v=m.Jf().a+t.Jf().a,T=m.Jf().b+t.Jf().b,e.e&&(a.c=v,a.d=T,a.b=m.Kf().a,a.a=m.Kf().b,yC(o,a)),e.d)for(f=new V(m.Pf());f.a<f.c.c.length;)u=l(q(f),190),a.c=u.Jf().a+v,a.d=u.Jf().b+T,a.b=u.Kf().a,a.a=u.Kf().b,yC(o,a);if(e.b){if(N=new Me(-r,-r),l(t.mf((_n(),dv)),185).Gc((xc(),Y1)))for(f=new V(m.Pf());f.a<f.c.c.length;)u=l(q(f),190),N.a+=u.Kf().a+r,N.b+=u.Kf().b+r;N.a=b.Math.max(N.a,0),N.b=b.Math.max(N.b,0),Jyt(o,m.Uf(),m.Sf(),t,m,N,r)}}e.b&&Jyt(o,t.Uf(),t.Sf(),t,null,null,r),p=new PV(t.Tf()),p.d=b.Math.max(0,t.Jf().b-o.d),p.a=b.Math.max(0,o.d+o.a-(t.Jf().b+t.Kf().b)),p.b=b.Math.max(0,t.Jf().a-o.c),p.c=b.Math.max(0,o.c+o.b-(t.Jf().a+t.Kf().a)),t.Xf(p)}function JNn(){var e=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return e[34]='\\"',e[92]="\\\\",e[173]="\\u00ad",e[1536]="\\u0600",e[1537]="\\u0601",e[1538]="\\u0602",e[1539]="\\u0603",e[1757]="\\u06dd",e[1807]="\\u070f",e[6068]="\\u17b4",e[6069]="\\u17b5",e[8203]="\\u200b",e[8204]="\\u200c",e[8205]="\\u200d",e[8206]="\\u200e",e[8207]="\\u200f",e[8232]="\\u2028",e[8233]="\\u2029",e[8234]="\\u202a",e[8235]="\\u202b",e[8236]="\\u202c",e[8237]="\\u202d",e[8238]="\\u202e",e[8288]="\\u2060",e[8289]="\\u2061",e[8290]="\\u2062",e[8291]="\\u2063",e[8292]="\\u2064",e[8298]="\\u206a",e[8299]="\\u206b",e[8300]="\\u206c",e[8301]="\\u206d",e[8302]="\\u206e",e[8303]="\\u206f",e[65279]="\\ufeff",e[65529]="\\ufff9",e[65530]="\\ufffa",e[65531]="\\ufffb",e}function DEt(e){n0(e,new Qb(wq(iO(Qm(Jm(Zm(Xm(new vb,Ga),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new Wm),Ga),xr((sT(),o5),Z(X(s5,1),Ce,235,0,[i5]))))),Le(e,Ga,CD,Oe(1)),Le(e,Ga,$0,80),Le(e,Ga,jX,5),Le(e,Ga,mx,bx),Le(e,Ga,l7,Oe(1)),Le(e,Ga,WC,(Lt(),!0)),Le(e,Ga,B0,D2e),Le(e,Ga,wx,Ge(I2e)),Le(e,Ga,d7,Ge(L2e)),Le(e,Ga,ID,!1),Le(e,Ga,yx,Ge(O2e)),Le(e,Ga,vx,Ge(Ekt)),Le(e,Ga,bT,Ge(Skt)),Le(e,Ga,PE,Ge(vkt)),Le(e,Ga,Ex,Ge(ykt)),Le(e,Ga,Sx,Ge(Akt)),Le(e,Ga,u7,Ge(R2e)),Le(e,Ga,MX,Ge(uee)),Le(e,Ga,xwe,Ge(v$)),Le(e,Ga,PX,Ge(cee)),Le(e,Ga,kwe,Ge(M2e)),Le(e,Ga,RD,Ge(Ikt)),Le(e,Ga,OD,Ge(Rkt)),Le(e,Ga,DD,Ge(Ckt)),Le(e,Ga,LD,Ge(Nkt)),Le(e,Ga,U0,P2e)}function XNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J;for(R=l(ze((at(0,t.c.length),l(t.c[0],26)).a,o),9),r>0&&Oi(R,(at(r,t.c.length),l(t.c[r],26))),u=0,N=!0,J=ou(jb(si(R))),m=J.Jc();m.Ob();){for(p=l(m.Pb(),17),N=!1,T=p,y=0;y<r;y++)a=igt(e,T),o+u>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Oi(a,(at(y,t.c.length),l(t.c[y],26))):S1(a,o+u,(at(y,t.c.length),l(t.c[y],26))),T=gJ(T,a);r>0&&(u+=1)}if(N){for(y=0;y<r;y++)a=new Xd(e),Jh(a,(Ht(),rL)),o+u>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Oi(a,(at(y,t.c.length),l(t.c[y],26))):S1(a,o+u,(at(y,t.c.length),l(t.c[y],26)));r>0&&(u+=1)}for(f=!1,U=new Ft(Gt(Or(R).a.Jc(),new D));an(U);){for(M=l(en(U),17),T=M,v=r+1;v<t.c.length;v++)a=igt(e,T),Oi(a,(at(v,t.c.length),l(t.c[v],26))),T=gJ(T,a);for(y=0;y<=r;y++)f&&(G=new Xd(e),Jh(G,(Ht(),AI)),o+1>(at(y,t.c.length),l(t.c[y],26)).a.c.length?Oi(G,(at(y,t.c.length),l(t.c[y],26))):S1(G,o+1,(at(y,t.c.length),l(t.c[y],26))));f&&(u+=1),f=!0}return u>0?u-1:0}function k1(e,t){hr();var r,o,a,u,f,p,m,y,v,T,N,R,M;if(WN(xk)==0){for(T=we(kCn,Pe,122,zLt.length,0,1),f=0;f<T.length;f++)T[f]=new bu(4);for(o=new GN,u=0;u<X3e.length;u++){if(v=new bu(4),u<84?(p=u*2,R=(Jt(p,LQ.length),LQ.charCodeAt(p)),N=(Jt(p+1,LQ.length),LQ.charCodeAt(p+1)),Sa(v,R,N)):(p=(u-84)*2,Sa(v,Z3e[p],Z3e[p+1])),m=X3e[u],wt(m,"Specials")&&Sa(v,65520,65533),wt(m,j_t)&&(Sa(v,983040,1048573),Sa(v,1048576,1114109)),rs(xk,m,v),rs($4,m,Ny(v)),y=o.a.length,0<y?o.a=yl(o.a,0,0):0>y&&(o.a+=grt(we(al,Bf,30,-y,15,1))),o.a+="Is",Nf(m,Qa(32))>=0)for(a=0;a<m.length;a++)Jt(a,m.length),m.charCodeAt(a)!=32&&i_(o,(Jt(a,m.length),m.charCodeAt(a)));else o.a+=""+m;j1e(o.a,m,!0)}j1e(DQ,"Cn",!1),j1e(HEe,"Cn",!0),r=new bu(4),Sa(r,0,Fx),rs(xk,"ALL",r),rs($4,"ALL",Ny(r)),!Sv&&(Sv=new hn),rs(Sv,DQ,DQ),!Sv&&(Sv=new hn),rs(Sv,HEe,HEe),!Sv&&(Sv=new hn),rs(Sv,"ALL","ALL")}return M=l(wa(t?xk:$4,e),140),M}function LEt(e){n0(e,new Qb(wq(iO(Qm(Jm(Zm(Xm(new vb,Va),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new QHe),gve),lt((sT(),Lre))))),Le(e,Va,B0,ixe),Le(e,Va,$0,20),Le(e,Va,_Z,3),Le(e,Va,mx,bx),Le(e,Va,CD,Oe(1)),Le(e,Va,WC,(Lt(),!0)),Le(e,Va,UD,Ge(Q_e)),Le(e,Va,xZ,exe),Le(e,Va,wx,Ge(bRt)),Le(e,Va,O7,Ge(mRt)),Le(e,Va,PE,Ge(yRt)),Le(e,Va,vx,Ge(vRt)),Le(e,Va,mT,Ge(ERt)),Le(e,Va,bT,Ge(SRt)),Le(e,Va,Ex,Ge(wRt)),Le(e,Va,yx,Ge(nxe)),Le(e,Va,Sx,Ge(TRt)),Le(e,Va,fve,Ge(cxe)),Le(e,Va,pve,Ge(oxe)),Le(e,Va,RD,Ge(kRt)),Le(e,Va,OD,Ge(NRt)),Le(e,Va,DD,Ge(xRt)),Le(e,Va,LD,Ge(_Rt)),Le(e,Va,U0,axe),Le(e,Va,dve,Ge(l2)),Le(e,Va,hve,Ge(cne)),Le(e,Va,lve,Ge(Jf)),Le(e,Va,cve,Ge(Z_e)),Le(e,Va,uve,Ge(txe))}function MEt(e,t){var r,o,a,u,f,p,m,y,v,T,N;for(y=l(l(yr(e.r,t),24),85),f=Bwn(e,t),r=e.u.Gc((xc(),x4)),m=y.Jc();m.Ob();)if(p=l(m.Pb(),116),!(!p.c||p.c.d.c.length<=0)){switch(N=p.b.Kf(),v=p.c,T=v.i,T.b=(u=v.n,v.e.a+u.b+u.c),T.a=(a=v.n,v.e.b+a.d+a.a),t.g){case 1:p.a?(T.c=(N.a-T.b)/2,Ed(v,(_c(),M1))):f||r?(T.c=-T.b-e.s,Ed(v,(_c(),nd))):(T.c=N.a+e.s,Ed(v,(_c(),Wf))),T.d=-T.a-e.t,Cf(v,(Za(),rd));break;case 3:p.a?(T.c=(N.a-T.b)/2,Ed(v,(_c(),M1))):f||r?(T.c=-T.b-e.s,Ed(v,(_c(),nd))):(T.c=N.a+e.s,Ed(v,(_c(),Wf))),T.d=N.b+e.t,Cf(v,(Za(),Nd));break;case 2:p.a?(o=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(N.b-o)/2,Cf(v,(Za(),P1))):f||r?(T.d=-T.a-e.t,Cf(v,(Za(),rd))):(T.d=N.b+e.t,Cf(v,(Za(),Nd))),T.c=N.a+e.s,Ed(v,(_c(),Wf));break;case 4:p.a?(o=e.v?T.a:l(ze(v.d,0),190).Kf().b,T.d=(N.b-o)/2,Cf(v,(Za(),P1))):f||r?(T.d=-T.a-e.t,Cf(v,(Za(),rd))):(T.d=N.b+e.t,Cf(v,(Za(),Nd))),T.c=-T.b-e.s,Ed(v,(_c(),nd))}f=!1}}function ZNn(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re;if(N=!1,T=!1,nE(l(F(o,(Ue(),Zr)),103))){f=!1,p=!1;e:for(M=new V(o.j);M.a<M.c.c.length;)for(R=l(q(M),12),G=hh(Wu(Z(X(nl,1),It,22,0,[new DA(R),new tS(R)])));an(G);)if(U=l(en(G),12),!Ye(Ke(F(U.i,PI)))){if(R.j==(He(),Vt)){f=!0;break e}if(R.j==dn){p=!0;break e}}N=p&&!f,T=f&&!p}if(!N&&!T&&o.b.c.length!=0){for(v=0,y=new V(o.b);y.a<y.c.c.length;)m=l(q(y),70),v+=m.n.b+m.o.b/2;v/=o.b.c.length,re=v>=o.o.b/2}else re=!T;re?(J=l(F(o,(Ie(),MT)),16),J?N?u=J:(a=l(F(o,NT),16),a?J.gc()<=a.gc()?u=J:u=a:(u=new je,Te(o,NT,u))):(u=new je,Te(o,MT,u))):(a=l(F(o,(Ie(),NT)),16),a?T?u=a:(J=l(F(o,MT),16),J?a.gc()<=J.gc()?u=a:u=J:(u=new je,Te(o,MT,u))):(u=new je,Te(o,NT,u))),u.Ec(e),Te(e,(Ie(),nB),r),t.d==r?(Yi(t,null),r.e.c.length+r.g.c.length==0&&As(r,null),Dpn(r)):(mo(t,null),r.e.c.length+r.g.c.length==0&&As(r,null)),tu(t.a)}function QNn(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr;for(r.Tg("MinWidth layering",1),R=t.b,qe=t.a,Gr=l(F(t,(Ue(),CAe)),15).a,p=l(F(t,IAe),15).a,e.b=ce(le(F(t,od))),e.d=Kr,de=new V(qe);de.a<de.c.c.length;)re=l(q(de),9),re.k==(Ht(),Xr)&&(Ct=re.o.b,e.d=b.Math.min(e.d,Ct));for(e.d=b.Math.max(1,e.d),dt=qe.c.length,e.c=we(Rn,Qn,30,dt,15,1),e.f=we(Rn,Qn,30,dt,15,1),e.e=we(Ki,Xo,30,dt,15,1),y=0,e.a=0,Ee=new V(qe);Ee.a<Ee.c.c.length;)re=l(q(Ee),9),re.p=y++,e.c[re.p]=Vpt(si(re)),e.f[re.p]=Vpt(Or(re)),e.e[re.p]=re.o.b/e.d,e.a+=e.e[re.p];for(e.b/=e.d,e.a/=dt,ye=qvn(qe),ki(qe,She(new SJe(e))),U=Kr,M=ar,f=null,qn=Gr,on=Gr,u=p,a=p,Gr<0&&(qn=l(N_e.a.Gd(),15).a,on=l(N_e.b.Gd(),15).a),p<0&&(u=l(k_e.a.Gd(),15).a,a=l(k_e.b.Gd(),15).a),Ot=qn;Ot<=on;Ot++)for(o=u;o<=a;o++)ft=O_n(e,Ot,o,qe,ye),J=ce(le(ft.a)),N=l(ft.b,16),G=N.gc(),(J<U||J==U&&G<M)&&(U=J,M=G,f=N);for(T=f.Jc();T.Ob();){for(v=l(T.Pb(),16),m=new ra(t),oe=v.Jc();oe.Ob();)re=l(oe.Pb(),9),Oi(re,m);Rt(R.c,m)}vC(R),qe.c.length=0,r.Ug()}function e3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe;for(t.Tg(ESt,1),U=new je,ye=new je,y=new V(e.b);y.a<y.c.c.length;)for(m=l(q(y),26),J=-1,M=QO(m.a),T=M,N=0,R=T.length;N<R;++N)if(v=T[N],++J,!!(v.k==(Ht(),Xr)&&nE(l(F(v,(Ue(),Zr)),103)))){for(!AS(l(F(v,(Ue(),Zr)),103))&&me(F(ji(v),Ch))===me((bp(),U1))&&dSn(v),Te(v,(Ie(),tw),v),U.c.length=0,ye.c.length=0,r=new je,de=new Ar,_K(de,bg(v,(He(),Vt))),me(F(ji(v),Ch))!==me((bp(),U1))&&(de=Kbt(de)),FEt(e,de,U,ye,r),p=J,qe=v,u=new V(U);u.a<u.c.c.length;)o=l(q(u),9),S1(o,p,m),++J,Te(o,tw,v),f=l(ze(o.j,0),12),G=l(F(f,wr),12),Ye(Ke(F(G,hte)))||l(F(o,RT),16).Ec(qe);for(tu(de),oe=bg(v,dn).Jc();oe.Ob();)re=l(oe.Pb(),12),Wr(de,re,de.a,de.a.a);for(me(F(ji(v),Ch))!==me(U1)&&(de=Kbt(de)),FEt(e,de,ye,null,r),Ee=v,a=new V(ye);a.a<a.c.c.length;)o=l(q(a),9),S1(o,++J,m),Te(o,tw,v),f=l(ze(o.j,0),12),G=l(F(f,wr),12),Ye(Ke(F(G,hte)))||l(F(Ee,RT),16).Ec(o);r.c.length==0||Te(v,bTe,r)}t.Ug()}function t3n(e,t,r,o,a,u,f){var p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr;for(R=0,Ct=0,m=new V(e);m.a<m.c.c.length;)p=l(q(m),19),dEt(p),R=b.Math.max(R,p.g),Ct+=p.g*p.f;for(M=Ct/e.c.length,ft=Fmn(e,M),Ct+=e.c.length*ft,Ct+=b.Math.sqrt(Ct)*(r.a+r.d),Ct+=b.Math.sqrt(Ct)*r.c,R=b.Math.max(R,b.Math.sqrt(Ct*f))+r.b,qn=r.b,Gr=r.d,N=0,v=r.b+r.c,dt=new Ar,Gn(dt,Oe(0)),ye=new Ar,y=new Ji(e,0);y.b<y.d.gc();)p=(cn(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),on=p.g,T=p.f,qn+on>R&&(u&&(So(ye,N),So(dt,Oe(y.b-1))),qn=r.b,Gr+=N+t,N=0,v=b.Math.max(v,r.b+r.c+on)),va(p,qn),gc(p,Gr),v=b.Math.max(v,qn+on+r.c),N=b.Math.max(N,T),qn+=on+t;if(v=b.Math.max(v,o),Ot=Gr+N+r.a,Ot<a&&(N+=a-Ot,Ot=a),u)for(qn=r.b,y=new Ji(e,0),So(dt,Oe(e.c.length)),qe=An(dt,0),J=l(Sn(qe),15).a,So(ye,N),Ee=An(ye,0),de=0;y.b<y.d.gc();)y.b==J&&(qn=r.b,de=ce(le(Sn(Ee))),J=l(Sn(qe),15).a),p=(cn(y.b<y.d.gc()),l(y.d.Xb(y.c=y.b++),19)),re=p.f,Ub(p,de),U=de,y.b==J&&(G=v-qn-r.c,oe=p.g,Hb(p,G),ame(p,new Me(G,U),new Me(oe,re))),qn+=p.g+t;return new Me(v,Ot)}function n3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on;if(r.Tg("Spline edge routing",1),t.b.c.length==0){t.f.a=0,r.Ug();return}re=ce(le(F(t,(Ue(),rv)))),p=ce(le(F(t,B1))),f=ce(le(F(t,tv))),J=l(F(t,Ete),350),dt=J==(R_(),JI),qe=ce(le(F(t,EAe))),e.d=t,e.j.c.length=0,e.a.c.length=0,Zs(e.k),m=l(ze(t.b,0),26),v=C8(m.a,($F(),xL)),M=l(ze(t.b,t.b.c.length-1),26),T=C8(M.a,xL),U=new V(t.b),G=null,on=0;do{for(oe=U.a<U.c.c.length?l(q(U),26):null,MNn(e,G,oe),r_n(e),ft=YQt(Ohn(_P(dr(new vt(null,new St(e.i,16)),new SHe),new THe))),Ot=0,de=on,N=!G||v&&G==m,R=!oe||T&&oe==M,ft>0?(y=0,G&&(y+=p),y+=(ft-1)*f,oe&&(y+=p),dt&&oe&&(y=b.Math.max(y,bSn(oe,f,re,qe))),y<re&&!N&&!R&&(Ot=(re-y)/2,y=re),de+=y):!N&&!R&&(de+=re),oe&&F0e(oe,de),ye=new V(e.i);ye.a<ye.c.c.length;)Ee=l(q(ye),134),Ee.a.c=on,Ee.a.b=de-on,Ee.F=Ot,Ee.p=!G;li(e.a,e.i),on=de,oe&&(on+=oe.c.a),G=oe,N=R}while(oe);for(a=new V(e.j);a.a<a.c.c.length;)o=l(q(a),17),u=yhn(e,o),Te(o,(Ie(),r2),u),Ct=ISn(e,o),Te(o,pm,Ct);t.f.a=on,e.d=null,r.Ug()}function r3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(e.b=t,e.a=l(F(t,(Ue(),TAe)),15).a,e.c=l(F(t,_Ae),15).a,e.c==0&&(e.c=ar),G=new Ji(t.b,0);G.b<G.d.gc();){for(U=(cn(G.b<G.d.gc()),l(G.d.Xb(G.c=G.b++),26)),p=new je,v=-1,de=-1,oe=new V(U.a);oe.a<oe.c.c.length;)re=l(q(oe),9),yd(($O(),new Ft(Gt(Lf(re).a.Jc(),new D))))>=e.a&&(o=L_n(e,re),v=b.Math.max(v,o.b),de=b.Math.max(de,o.d),Fe(p,new Co(re,o)));for(dt=new je,y=0;y<v;++y)Nb(dt,0,(cn(G.b>0),G.a.Xb(G.c=--G.b),ft=new ra(e.b),Kw(G,ft),cn(G.b<G.d.gc()),G.d.Xb(G.c=G.b++),ft));for(f=new V(p);f.a<f.c.c.length;)if(a=l(q(f),49),R=l(a.b,573).a,!!R)for(N=new V(R);N.a<N.c.c.length;)T=l(q(N),9),cbe(e,T,A$,dt);for(r=new je,m=0;m<de;++m)Fe(r,(Ct=new ra(e.b),Kw(G,Ct),Ct));for(u=new V(p);u.a<u.c.c.length;)if(a=l(q(u),49),qe=l(a.b,573).c,!!qe)for(ye=new V(qe);ye.a<ye.c.c.length;)Ee=l(q(ye),9),cbe(e,Ee,_$,r)}for(J=new Ji(t.b,0);J.b<J.d.gc();)M=(cn(J.b<J.d.gc()),l(J.d.Xb(J.c=J.b++),26)),M.a.c.length==0&&Mc(J)}function PEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(U=e.i!=0,oe=!1,J=null,Jc(e.e)){if(v=t.gc(),v>0){for(N=v<100?null:new e1(v),y=new Sge(t),M=y.g,J=we(Rn,Qn,30,v,15,1),o=0,de=new w0(v),a=0;a<e.i;++a){p=e.g[a],R=p;e:for(re=0;re<2;++re){for(m=v;--m>=0;)if(R!=null?gr(R,M[m]):me(R)===me(M[m])){J.length<=o&&(G=J,J=we(Rn,Qn,30,2*J.length,15,1),ca(G,0,J,0,o)),J[o++]=a,Tn(de,M[m]);break e}if(R=R,me(R)===me(p))break}}if(y=de,M=de.g,v=o,o>J.length&&(G=J,J=we(Rn,Qn,30,o,15,1),ca(G,0,J,0,o)),o>0){for(oe=!0,u=0;u<o;++u)R=M[u],N=Zit(e,l(R,76),N);for(f=o;--f>=0;)ZS(e,J[f]);if(o!=v){for(a=v;--a>=o;)ZS(y,a);G=J,J=we(Rn,Qn,30,o,15,1),ca(G,0,J,0,o)}t=y}}}else for(t=Nmn(e,t),a=e.i;--a>=0;)t.Gc(e.g[a])&&(ZS(e,a),oe=!0);if(oe){if(J!=null){for(r=t.gc(),T=r==1?j3(e,4,t.Jc().Pb(),null,J[0],U):j3(e,6,t,J,J[0],U),N=r<100?null:new e1(r),a=t.Jc();a.Ob();)R=a.Pb(),N=pfe(e,l(R,76),N);N?(N.lj(T),N.mj()):pr(e.e,T)}else{for(N=frn(t.gc()),a=t.Jc();a.Ob();)R=a.Pb(),N=pfe(e,l(R,76),N);N&&N.mj()}return!0}else return!1}function i3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(r=new I1t(t),r.a||NAn(t),y=xTn(t),m=new b0,G=new Vwt,U=new V(t.a);U.a<U.c.c.length;)for(M=l(q(U),9),a=new Ft(Gt(Or(M).a.Jc(),new D));an(a);)o=l(en(a),17),(o.c.i.k==(Ht(),yi)||o.d.i.k==yi)&&(v=Kkn(e,o,y,G),yt(m,vY(v.d),v.a));for(f=new je,oe=l(F(r.c,(Ie(),_p)),24).Jc();oe.Ob();){switch(re=l(oe.Pb(),64),R=G.c[re.g],N=G.b[re.g],p=G.a[re.g],u=null,J=null,re.g){case 4:u=new ql(e.d.a,R,y.b.a-e.d.a,N-R),J=new ql(e.d.a,R,p,N-R),a0(y,new Me(u.c+u.b,u.d)),a0(y,new Me(u.c+u.b,u.d+u.a));break;case 2:u=new ql(y.a.a,R,e.c.a-y.a.a,N-R),J=new ql(e.c.a-p,R,p,N-R),a0(y,new Me(u.c,u.d)),a0(y,new Me(u.c,u.d+u.a));break;case 1:u=new ql(R,e.d.b,N-R,y.b.b-e.d.b),J=new ql(R,e.d.b,N-R,p),a0(y,new Me(u.c,u.d+u.a)),a0(y,new Me(u.c+u.b,u.d+u.a));break;case 3:u=new ql(R,y.a.b,N-R,e.c.b-y.a.b),J=new ql(R,e.c.b-p,N-R,p),a0(y,new Me(u.c,u.d)),a0(y,new Me(u.c+u.b,u.d))}u&&(T=new OZe,T.d=re,T.b=u,T.c=J,T.a=AW(l(yr(m,vY(re)),24)),Rt(f.c,T))}return li(r.b,f),r.d=tgn(ikn(y)),r}function jEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U;if(r.p[t.p]==null){p=!0,r.p[t.p]=0,f=t,U=r.o==(zd(),Em)?Li:Kr;do a=e.b.e[f.p],u=f.c.a.c.length,r.o==Em&&a>0||r.o==cf&&a<u-1?(m=null,y=null,r.o==cf?m=l(ze(f.c.a,a+1),9):m=l(ze(f.c.a,a-1),9),y=r.g[m.p],jEt(e,y,r),U=e.e.vg(U,t,f),r.j[t.p]==t&&(r.j[t.p]=r.j[y.p]),r.j[t.p]==r.j[y.p]?(M=iE(e.d,f,m),r.o==cf?(o=ce(r.p[t.p]),T=ce(r.p[y.p])+ce(r.d[m.p])-m.d.d-M-f.d.a-f.o.b-ce(r.d[f.p]),p?(p=!1,r.p[t.p]=b.Math.min(T,U)):r.p[t.p]=b.Math.min(o,b.Math.min(T,U))):(o=ce(r.p[t.p]),T=ce(r.p[y.p])+ce(r.d[m.p])+m.o.b+m.d.a+M+f.d.d-ce(r.d[f.p]),p?(p=!1,r.p[t.p]=b.Math.max(T,U)):r.p[t.p]=b.Math.max(o,b.Math.max(T,U)))):(M=ce(le(F(e.a,(Ue(),vm)))),R=wht(e,r.j[t.p]),v=wht(e,r.j[y.p]),r.o==cf?(N=ce(r.p[t.p])+ce(r.d[f.p])+f.o.b+f.d.a+M-(ce(r.p[y.p])+ce(r.d[m.p])-m.d.d),Bct(R,v,N)):(N=ce(r.p[t.p])+ce(r.d[f.p])-f.d.d-ce(r.p[y.p])-ce(r.d[m.p])-m.o.b-m.d.a-M,Bct(R,v,N)))):U=e.e.vg(U,t,f),f=r.a[f.p];while(f!=t);vQt(e.e,t)}}function o3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;if(r=ce(le(F(e.a.j,(Ue(),gAe)))),r<-1||!e.a.i||AS(l(F(e.a.o,Zr),103))||ks(e.a.o,(He(),Qt)).gc()<2&&ks(e.a.o,Wt).gc()<2)return!0;if(e.a.c.ig())return!1;for(Ee=0,de=0,oe=new je,m=e.a.e,y=0,v=m.length;y<v;++y){for(p=m[y],N=p,R=0,U=N.length;R<U;++R){if(T=N[R],T.k==(Ht(),_a)){Rt(oe.c,T);continue}for(o=e.b[T.c.p][T.p],T.k==yi?(o.b=1,l(F(T,(Ie(),wr)),12).j==(He(),Qt)&&(de+=o.a)):(ft=ks(T,(He(),Wt)),ft.dc()||!mV(ft,new DUe)?o.c=1:(a=ks(T,Qt),(a.dc()||!mV(a,new OUe))&&(Ee+=o.a))),f=new Ft(Gt(Or(T).a.Jc(),new D));an(f);)u=l(en(f),17),Ee+=o.c,de+=o.b,dt=u.d.i,Dpe(e,o,dt);for(J=Wu(Z(X(nl,1),It,22,0,[ks(T,(He(),Vt)),ks(T,dn)])),qe=new Ft(new xde(J.a.length,J.a));an(qe);)ye=l(en(qe),12),re=l(F(ye,(Ie(),Nc)),9),re&&(Ee+=o.c,de+=o.b,Dpe(e,o,re))}for(M=new V(oe);M.a<M.c.c.length;)for(T=l(q(M),9),o=e.b[T.c.p][T.p],f=new Ft(Gt(Or(T).a.Jc(),new D));an(f);)u=l(en(f),17),Ee+=o.c,de+=o.b,dt=u.d.i,Dpe(e,o,dt);oe.c.length=0}return t=Ee+de,G=t==0?Kr:(Ee-de)/t,G>=r}function s3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(oe=e.a,de=0,Ee=oe.length;de<Ee;++de){for(re=oe[de],y=ar,v=ar,M=new V(re.e);M.a<M.c.c.length;)N=l(q(M),9),f=N.c?_s(N.c.a,N,0):-1,f>0?(T=l(ze(N.c.a,f-1),9),dt=iE(e.b,N,T),G=N.n.b-N.d.d-(T.n.b+T.o.b+T.d.a+dt)):G=N.n.b-N.d.d,y=b.Math.min(G,y),f<N.c.a.c.length-1?(T=l(ze(N.c.a,f+1),9),dt=iE(e.b,N,T),J=T.n.b-T.d.d-(N.n.b+N.o.b+N.d.a+dt)):J=2*N.n.b,v=b.Math.min(J,v);for(m=ar,u=!1,a=l(ze(re.e,0),9),Ct=new V(a.j);Ct.a<Ct.c.c.length;)for(ft=l(q(Ct),12),U=a.n.b+ft.n.b+ft.a.b,o=new V(ft.e);o.a<o.c.c.length;)r=l(q(o),17),ye=r.c,t=ye.i.n.b+ye.n.b+ye.a.b-U,b.Math.abs(t)<b.Math.abs(m)&&b.Math.abs(t)<(t<0?y:v)&&(m=t,u=!0);for(p=l(ze(re.e,re.e.c.length-1),9),qe=new V(p.j);qe.a<qe.c.c.length;)for(ye=l(q(qe),12),U=p.n.b+ye.n.b+ye.a.b,o=new V(ye.g);o.a<o.c.c.length;)r=l(q(o),17),ft=r.d,t=ft.i.n.b+ft.n.b+ft.a.b-U,b.Math.abs(t)<b.Math.abs(m)&&b.Math.abs(t)<(t<0?y:v)&&(m=t,u=!0);if(u&&m!=0)for(R=new V(re.e);R.a<R.c.c.length;)N=l(q(R),9),N.n.b+=m}}function a3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on;for(oe=t,re=new b0,de=new b0,v=m0(oe,pQ),o=new _at(e,r,re,de),_mt(o.a,o.b,o.c,o.d,v),m=(qe=re.i,qe||(re.i=new aE(re,re.c))),ft=m.Jc();ft.Ob();)for(dt=l(ft.Pb(),171),a=l(yr(re,dt),24),U=a.Jc();U.Ob();)if(M=U.Pb(),Ee=l(gE(e.f,M),171),Ee)p=(!dt.e&&(dt.e=new Tt(jr,dt,10,9)),dt.e),Tn(p,Ee);else throw f=sp(oe,qf),N=aAt+M+cAt+f,R=N+Px,Y(new xf(R));for(y=(ye=de.i,ye||(de.i=new aE(de,de.c))),Ot=y.Jc();Ot.Ob();)for(Ct=l(Ot.Pb(),171),u=l(yr(de,Ct),24),J=u.Jc();J.Ob();)if(G=J.Pb(),Ee=l(gE(e.f,G),171),Ee)T=(!Ct.g&&(Ct.g=new Tt(jr,Ct,9,10)),Ct.g),Tn(T,Ee);else throw f=sp(oe,qf),N=aAt+G+cAt+f,R=N+Px,Y(new xf(R));!r.b&&(r.b=new Tt(pn,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Tt(pn,r,5,8)),r.c.i!=0)&&(!r.b&&(r.b=new Tt(pn,r,4,7)),r.b.i<=1&&(!r.c&&(r.c=new Tt(pn,r,5,8)),r.c.i<=1))&&(!r.a&&(r.a=new ke(jr,r,6,6)),r.a).i==1&&(on=l(ie((!r.a&&(r.a=new ke(jr,r,6,6)),r.a),0),171),!_Y(on)&&!xY(on)&&(Sj(on,l(ie((!r.b&&(r.b=new Tt(pn,r,4,7)),r.b),0),83)),Tj(on,l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83))))}function c3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;if(o=new je,a=ar,u=ar,f=ar,r)for(a=e.f.a,U=new V(t.j);U.a<U.c.c.length;)for(M=l(q(U),12),m=new V(M.g);m.a<m.c.c.length;)p=l(q(m),17),p.a.b!=0&&(v=l(YA(p.a),8),v.a<a&&(u=a-v.a,f=ar,o.c.length=0,a=v.a),v.a<=a&&(Rt(o.c,p),p.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(sa(p.a,1),8).b-v.b)))));else for(U=new V(t.j);U.a<U.c.c.length;)for(M=l(q(U),12),m=new V(M.e);m.a<m.c.c.length;)p=l(q(m),17),p.a.b!=0&&(N=l(zl(p.a),8),N.a>a&&(u=N.a-a,f=ar,o.c.length=0,a=N.a),N.a>=a&&(Rt(o.c,p),p.a.b>1&&(f=b.Math.min(f,b.Math.abs(l(sa(p.a,p.a.b-2),8).b-N.b)))));if(o.c.length!=0&&u>t.o.a/2&&f>t.o.b/2){for(R=new aa,As(R,t),Ii(R,(He(),Vt)),R.n.a=t.o.a/2,J=new aa,As(J,t),Ii(J,dn),J.n.a=t.o.a/2,J.n.b=t.o.b,m=new V(o);m.a<m.c.c.length;)p=l(q(m),17),r?(y=l(BV(p.a),8),G=p.a.b==0?qd(p.d):l(YA(p.a),8),G.b>=y.b?mo(p,J):mo(p,R)):(y=l(Fon(p.a),8),G=p.a.b==0?qd(p.c):l(zl(p.a),8),G.b>=y.b?Yi(p,J):Yi(p,R)),T=l(F(p,(Ue(),as)),79),T&&my(T,y,!0);t.n.a=a-t.o.a/2}}function u3n(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(p=An(e.b,0);p.b!=p.d.c;)if(f=l(Sn(p),41),!wt(f.c,L7))for(y=OEn(f,e),t==(Si(),cs)||t==fs?ki(y,new hze):ki(y,new pze),m=y.c.length,o=0;o<m;o++)v=(at(o,y.c.length),l(y.c[o],65)).c,wt(v.c,"n11"),!(Ye(Ke(F(f,(Nr(),G_e))))&&!ppt((at(o,y.c.length),l(y.c[o],65)),e))&&(a=m==1?.5:(o+1)/(m+1),t==cs?(u=ce(le(F(f,Id))),N=f.e.b+f.f.b*a,Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(b.Math.min(u,f.e.a-r),N)),Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(f.e.a,N))):t==fs?(u=ce(le(F(f,sd)))+r,N=f.e.b+f.f.b*a,Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(u,N)),Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(f.e.a+f.f.a,N))):t==il?(u=ce(le(F(f,Id))),T=f.e.a+f.f.a*a,Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,b.Math.min(f.e.b-r,u))),Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,f.e.b))):(u=ce(le(F(f,sd)))+r,T=f.e.a+f.f.a*a,Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,u)),Qv((at(o,y.c.length),l(y.c[o],65)).a,new Me(T,f.e.b+f.f.b))))}function fD(e,t,r,o,a,u,f,p,m){var y,v,T,N,R,M,U;switch(R=r,v=new Xd(m),Jh(v,(Ht(),yi)),Te(v,(Ie(),vTe),f),Te(v,(Ue(),Zr),(qi(),fa)),U=ce(le(e.mf(Zy))),Te(v,Zy,U),T=new aa,As(T,v),t!=pf&&t!=K1||(o>=0?R=WS(p):R=P6(WS(p)),e.of(rk,R)),y=new ro,N=!1,e.nf(sw)?(Fde(y,l(e.mf(sw),8)),N=!0):tnn(y,f.a/2,f.b/2),R.g){case 4:Te(v,Cs,(iu(),xp)),Te(v,iB,(Vb(),XE)),v.o.b=f.b,U<0&&(v.o.a=-U),Ii(T,(He(),Qt)),N||(y.a=f.a),y.a-=f.a;break;case 2:Te(v,Cs,(iu(),gm)),Te(v,iB,(Vb(),Jx)),v.o.b=f.b,U<0&&(v.o.a=-U),Ii(T,(He(),Wt)),N||(y.a=0);break;case 1:Te(v,hm,(lp(),QE)),v.o.a=f.a,U<0&&(v.o.b=-U),Ii(T,(He(),dn)),N||(y.b=f.b),y.b-=f.b;break;case 3:Te(v,hm,(lp(),kT)),v.o.a=f.a,U<0&&(v.o.b=-U),Ii(T,(He(),Vt)),N||(y.b=0)}if(Fde(T.n,y),Te(v,sw,y),t==_m||t==Oh||t==fa){if(M=0,t==_m&&e.nf(xg))switch(R.g){case 1:case 2:M=l(e.mf(xg),15).a;break;case 3:case 4:M=-l(e.mf(xg),15).a}else switch(R.g){case 4:case 2:M=u.b,t==Oh&&(M/=a.b);break;case 1:case 3:M=u.a,t==Oh&&(M/=a.a)}Te(v,nw,M)}return Te(v,Hs,R),v}function l3n(){ale();function e(o){var a=this;this.dispatch=function(u){var f=u.data;switch(f.cmd){case"algorithms":var p=D1e((At(),new CA(new Zh(X1.b))));o.postMessage({id:f.id,data:p});break;case"categories":var m=D1e((At(),new CA(new Zh(X1.c))));o.postMessage({id:f.id,data:m});break;case"options":var y=D1e((At(),new CA(new Zh(X1.d))));o.postMessage({id:f.id,data:y});break;case"register":lkn(f.algorithms),o.postMessage({id:f.id});break;case"layout":Cxn(f.graph,f.layoutOptions||{},f.options||{}),o.postMessage({id:f.id,data:f.graph});break}},this.saveDispatch=function(u){try{a.dispatch(u)}catch(f){o.postMessage({id:u.data.id,error:f})}}}function t(o){var a=this;this.dispatcher=new e({postMessage:function(u){a.onmessage({data:u})}}),this.postMessage=function(u){setTimeout(function(){a.dispatcher.saveDispatch({data:u})},0)}}if(typeof document===IX&&typeof self!==IX){var r=new e(self);self.onmessage=r.saveDispatch}else typeof c!==IX&&c.exports&&(Object.defineProperty(d,"__esModule",{value:!0}),c.exports={default:t,Worker:t})}function VJ(e,t,r,o,a,u,f){var p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr;for(U=0,Ct=0,y=new V(e.b);y.a<y.c.c.length;)m=l(q(y),168),m.c&&dEt(m.c),U=b.Math.max(U,hc(m)),Ct+=hc(m)*eu(m);for(G=Ct/e.b.c.length,ft=w0n(e.b,G),Ct+=e.b.c.length*ft,U=b.Math.max(U,b.Math.sqrt(Ct*f))+r.b,qn=r.b,Gr=r.d,R=0,T=r.b+r.c,dt=new Ar,Gn(dt,Oe(0)),ye=new Ar,v=new Ji(e.b,0),M=null,p=new je;v.b<v.d.gc();)m=(cn(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),on=hc(m),N=eu(m),qn+on>U&&(u&&(So(ye,R),So(dt,Oe(v.b-1)),Fe(e.d,M),p.c.length=0),qn=r.b,Gr+=R+t,R=0,T=b.Math.max(T,r.b+r.c+on)),Rt(p.c,m),A1t(m,qn,Gr),T=b.Math.max(T,qn+on+r.c),R=b.Math.max(R,N),qn+=on+t,M=m;if(li(e.a,p),Fe(e.d,l(ze(p,p.c.length-1),168)),T=b.Math.max(T,o),Ot=Gr+R+r.a,Ot<a&&(R+=a-Ot,Ot=a),u)for(qn=r.b,v=new Ji(e.b,0),So(dt,Oe(e.b.c.length)),qe=An(dt,0),re=l(Sn(qe),15).a,So(ye,R),Ee=An(ye,0),de=0;v.b<v.d.gc();)v.b==re&&(qn=r.b,de=ce(le(Sn(Ee))),re=l(Sn(qe),15).a),m=(cn(v.b<v.d.gc()),l(v.d.Xb(v.c=v.b++),168)),i1t(m,de),v.b==re&&(J=T-qn-r.c,oe=hc(m),o1t(m,J),Agt(m,(J-oe)/2,0)),qn+=hc(m)+t;return new Me(T,Ot)}function d3n(e){e.N||(e.N=!0,e.b=Ps(e,0),Jr(e.b,0),Jr(e.b,1),Jr(e.b,2),e.bb=Ps(e,1),Jr(e.bb,0),Jr(e.bb,1),e.fb=Ps(e,2),Jr(e.fb,3),Jr(e.fb,4),Lr(e.fb,5),e.qb=Ps(e,3),Jr(e.qb,0),Lr(e.qb,1),Lr(e.qb,2),Jr(e.qb,3),Jr(e.qb,4),Lr(e.qb,5),Jr(e.qb,6),e.a=ir(e,4),e.c=ir(e,5),e.d=ir(e,6),e.e=ir(e,7),e.f=ir(e,8),e.g=ir(e,9),e.i=ir(e,10),e.j=ir(e,11),e.k=ir(e,12),e.n=ir(e,13),e.o=ir(e,14),e.p=ir(e,15),e.q=ir(e,16),e.s=ir(e,17),e.r=ir(e,18),e.t=ir(e,19),e.u=ir(e,20),e.v=ir(e,21),e.w=ir(e,22),e.B=ir(e,23),e.A=ir(e,24),e.C=ir(e,25),e.D=ir(e,26),e.F=ir(e,27),e.G=ir(e,28),e.H=ir(e,29),e.J=ir(e,30),e.I=ir(e,31),e.K=ir(e,32),e.M=ir(e,33),e.L=ir(e,34),e.P=ir(e,35),e.Q=ir(e,36),e.R=ir(e,37),e.S=ir(e,38),e.T=ir(e,39),e.U=ir(e,40),e.V=ir(e,41),e.X=ir(e,42),e.W=ir(e,43),e.Y=ir(e,44),e.Z=ir(e,45),e.$=ir(e,46),e._=ir(e,47),e.ab=ir(e,48),e.cb=ir(e,49),e.db=ir(e,50),e.eb=ir(e,51),e.gb=ir(e,52),e.hb=ir(e,53),e.ib=ir(e,54),e.jb=ir(e,55),e.kb=ir(e,56),e.lb=ir(e,57),e.mb=ir(e,58),e.nb=ir(e,59),e.ob=ir(e,60),e.pb=ir(e,61))}function f3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(re=0,t.f.a==0)for(G=new V(e);G.a<G.c.c.length;)M=l(q(G),9),re=b.Math.max(re,M.n.a+M.o.a+M.d.c);else re=t.f.a-t.c.a;for(re-=t.c.a,U=new V(e);U.a<U.c.c.length;){switch(M=l(q(U),9),jN(M.n,re-M.o.a),Rfe(M.f),ebt(M),(M.q?M.q:(At(),At(),xh))._b((Ue(),ev))&&jN(l(F(M,ev),8),re-M.o.a),l(F(M,Kf),259).g){case 1:Te(M,Kf,(mh(),FL));break;case 2:Te(M,Kf,(mh(),jL))}for(J=M.o,de=new V(M.j);de.a<de.c.c.length;){for(oe=l(q(de),12),jN(oe.n,J.a-oe.o.a),jN(oe.a,oe.o.a),Ii(oe,Nht(oe.j)),f=l(F(oe,xg),15),f&&Te(oe,xg,Oe(-f.a)),u=new V(oe.g);u.a<u.c.c.length;){for(a=l(q(u),17),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.a=re-r.a;if(y=l(F(a,as),79),y)for(m=An(y,0);m.b!=m.d.c;)p=l(Sn(m),8),p.a=re-p.a;for(N=new V(a.b);N.a<N.c.c.length;)v=l(q(N),70),jN(v.n,re-v.o.a)}for(R=new V(oe.f);R.a<R.c.c.length;)v=l(q(R),70),jN(v.n,oe.o.a-v.o.a)}for(M.k==(Ht(),yi)&&(Te(M,(Ie(),Hs),Nht(l(F(M,Hs),64))),cyn(M)),T=new V(M.b);T.a<T.c.c.length;)v=l(q(T),70),ebt(v),jN(v.n,J.a-v.o.a)}}function h3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(re=0,t.f.b==0)for(G=new V(e);G.a<G.c.c.length;)M=l(q(G),9),re=b.Math.max(re,M.n.b+M.o.b+M.d.a);else re=t.f.b-t.c.b;for(re-=t.c.b,U=new V(e);U.a<U.c.c.length;){switch(M=l(q(U),9),PN(M.n,re-M.o.b),Ife(M.f),tbt(M),(M.q?M.q:(At(),At(),xh))._b((Ue(),ev))&&PN(l(F(M,ev),8),re-M.o.b),l(F(M,Kf),259).g){case 3:Te(M,Kf,(mh(),tU));break;case 4:Te(M,Kf,(mh(),rU))}for(J=M.o,de=new V(M.j);de.a<de.c.c.length;){for(oe=l(q(de),12),PN(oe.n,J.b-oe.o.b),PN(oe.a,oe.o.b),Ii(oe,Cht(oe.j)),f=l(F(oe,xg),15),f&&Te(oe,xg,Oe(-f.a)),u=new V(oe.g);u.a<u.c.c.length;){for(a=l(q(u),17),o=An(a.a,0);o.b!=o.d.c;)r=l(Sn(o),8),r.b=re-r.b;if(y=l(F(a,as),79),y)for(m=An(y,0);m.b!=m.d.c;)p=l(Sn(m),8),p.b=re-p.b;for(N=new V(a.b);N.a<N.c.c.length;)v=l(q(N),70),PN(v.n,re-v.o.b)}for(R=new V(oe.f);R.a<R.c.c.length;)v=l(q(R),70),PN(v.n,oe.o.b-v.o.b)}for(M.k==(Ht(),yi)&&(Te(M,(Ie(),Hs),Cht(l(F(M,Hs),64))),Lgn(M)),T=new V(M.b);T.a<T.c.c.length;)v=l(q(T),70),tbt(v),PN(v.n,J.b-v.o.b)}}function p3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn;for(re=new Ji(e.b,0),v=t.Jc(),M=0,y=l(v.Pb(),15).a,Ee=0,r=new pi,qe=new ch;re.b<re.d.gc();){for(J=(cn(re.b<re.d.gc()),l(re.d.Xb(re.c=re.b++),26)),de=new V(J.a);de.a<de.c.c.length;){for(oe=l(q(de),9),R=new Ft(Gt(Or(oe).a.Jc(),new D));an(R);)T=l(en(R),17),qe.a.yc(T,qe);for(N=new Ft(Gt(si(oe).a.Jc(),new D));an(N);)T=l(en(N),17),qe.a.Ac(T)!=null}if(M+1==y){for(a=new ra(e),Kw(re,a),u=new ra(e),Kw(re,u),ft=qe.a.ec().Jc();ft.Ob();)dt=l(ft.Pb(),17),r.a._b(dt)||(++Ee,r.a.yc(dt,r)),f=new Xd(e),Te(f,(Ue(),Zr),(qi(),Sk)),Oi(f,a),Jh(f,(Ht(),af)),U=new aa,As(U,f),Ii(U,(He(),Wt)),Ct=new aa,As(Ct,f),Ii(Ct,Qt),o=new Xd(e),Te(o,Zr,Sk),Oi(o,u),Jh(o,af),G=new aa,As(G,o),Ii(G,Wt),Ot=new aa,As(Ot,o),Ii(Ot,Qt),ye=new p0,mo(ye,dt.c),Yi(ye,U),Te(ye,(Ie(),Cr),l(F(dt,Cr),15)),qn=new p0,mo(qn,Ct),Yi(qn,G),Te(qn,Cr,l(F(dt,Cr),15)),mo(dt,Ot),p=new spe(f,o,ye,qn,dt),Te(f,ew,p),Te(o,ew,p),on=ye.c.i,on.k==af&&(m=l(F(on,ew),318),m.d=p,p.g=m);if(v.Ob())y=l(v.Pb(),15).a;else break}++M}return Oe(Ee)}function g3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(U=new je,N=new V(e.d.b);N.a<N.c.c.length;)for(T=l(q(N),26),M=new V(T.a);M.a<M.c.c.length;){for(R=l(q(M),9),a=l(Ut(e.f,R),60),m=new Ft(Gt(Or(R).a.Jc(),new D));an(m);)if(f=l(en(m),17),o=An(f.a,0),y=!0,v=null,o.b!=o.d.c){for(t=l(Sn(o),8),r=null,f.c.j==(He(),Vt)&&(G=new DC(t,new Me(t.a,a.d.d),a,f),G.f.a=!0,G.a=f.c,Rt(U.c,G)),f.c.j==dn&&(G=new DC(t,new Me(t.a,a.d.d+a.d.a),a,f),G.f.d=!0,G.a=f.c,Rt(U.c,G));o.b!=o.d.c;)r=l(Sn(o),8),Kpe(t.b,r.b)||(v=new DC(t,r,null,f),Rt(U.c,v),y&&(y=!1,r.b<a.d.d?v.f.a=!0:r.b>a.d.d+a.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))),o.b!=o.d.c&&(t=r);v&&(u=l(Ut(e.f,f.d.i),60),t.b<u.d.d?v.f.a=!0:t.b>u.d.d+u.d.a?v.f.d=!0:(v.f.d=!0,v.f.a=!0))}for(p=new Ft(Gt(si(R).a.Jc(),new D));an(p);)f=l(en(p),17),f.a.b!=0&&(t=l(zl(f.a),8),f.d.j==(He(),Vt)&&(G=new DC(t,new Me(t.a,a.d.d),a,f),G.f.a=!0,G.a=f.d,Rt(U.c,G)),f.d.j==dn&&(G=new DC(t,new Me(t.a,a.d.d+a.d.a),a,f),G.f.d=!0,G.a=f.d,Rt(U.c,G)))}return U}function b3n(e,t,r){var o,a,u,f,p,m,y,v,T,N;for(m=new je,T=t.length,f=$ge(r),y=0;y<T;++y){switch(v=Nde(t,Qa(61),y),o=Pgn(f,(io(y,v,t.length),t.substr(y,v-y))),a=DK(o),u=a.hk().ti(),uo(t,++v)){case 39:{p=KA(t,39,++v),Fe(m,new x8(o,vW((io(v,p,t.length),t.substr(v,p-v)),u,a))),y=p+1;break}case 34:{p=KA(t,34,++v),Fe(m,new x8(o,vW((io(v,p,t.length),t.substr(v,p-v)),u,a))),y=p+1;break}case 91:{N=new je,Fe(m,new x8(o,N));e:for(;;){switch(uo(t,++v)){case 39:{p=KA(t,39,++v),Fe(N,vW((io(v,p,t.length),t.substr(v,p-v)),u,a)),v=p+1;break}case 34:{p=KA(t,34,++v),Fe(N,vW((io(v,p,t.length),t.substr(v,p-v)),u,a)),v=p+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)N.c.push(null);else throw Y(new Es(ZTt));v+=3;break}}if(v<T)switch(Jt(v,t.length),t.charCodeAt(v)){case 44:break;case 93:break e;default:throw Y(new Es("Expecting , or ]"))}else break}y=v+1;break}case 110:{if(++v,t.indexOf("ull",v)==v)Fe(m,new x8(o,null));else throw Y(new Es(ZTt));y=v+3;break}}if(y<T){if(Jt(y,t.length),t.charCodeAt(y)!=44)throw Y(new Es("Expecting ,"))}else break}return ZSn(e,m,r)}function m3n(e){var t,r,o,a,u;switch(t=e.c,u=null,t){case 6:return e.Cm();case 13:return e.Dm();case 23:return e.um();case 22:return e.zm();case 18:return e.wm();case 8:fr(e),u=(hr(),Q3e);break;case 9:return e.cm(!0);case 19:return e.dm();case 10:switch(e.a){case 100:case 68:case 119:case 87:case 115:case 83:return u=e.bm(e.a),fr(e),u;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:r=e.am(),r<Io?u=(hr(),hr(),new dh(0,r)):u=pst(b1e(r));break;case 99:return e.mm();case 67:return e.hm();case 105:return e.pm();case 73:return e.im();case 103:return e.nm();case 88:return e.jm();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return e.em();case 80:case 112:if(u=wme(e,e.a),!u)throw Y(new Dn(jn((Cn(),yQ))));break;default:u=Rot(e.a)}fr(e);break;case 0:if(e.a==93||e.a==123||e.a==125)throw Y(new Dn(jn((Cn(),TEe))));u=Rot(e.a),o=e.a,fr(e),(o&64512)==TD&&e.c==0&&(e.a&64512)==56320&&(a=we(al,Bf,30,2,15,1),a[0]=o&Ti,a[1]=e.a&Ti,u=nW(pst(Mf(a,0,a.length)),0),fr(e));break;default:throw Y(new Dn(jn((Cn(),TEe))))}return u}function w3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot;for(ft=new Ar,ye=new Ar,G=-1,m=new V(e);m.a<m.c.c.length;){for(f=l(q(m),134),f.s=G--,v=0,oe=0,u=new V(f.t);u.a<u.c.c.length;)o=l(q(u),275),oe+=o.c;for(a=new V(f.i);a.a<a.c.c.length;)o=l(q(a),275),v+=o.c;f.n=v,f.u=oe,oe==0?Wr(ye,f,ye.c.b,ye.c):v==0&&Wr(ft,f,ft.c.b,ft.c)}for(Ot=WP(e),T=e.c.length,U=T+1,J=T-1,R=new je;Ot.a.gc()!=0;){for(;ye.b!=0;)Ee=(cn(ye.b!=0),l(Vu(ye,ye.a.a),134)),Ot.a.Ac(Ee)!=null,Ee.s=J--,$me(Ee,ft,ye);for(;ft.b!=0;)qe=(cn(ft.b!=0),l(Vu(ft,ft.a.a),134)),Ot.a.Ac(qe)!=null,qe.s=U++,$me(qe,ft,ye);for(M=Zi,y=Ot.a.ec().Jc();y.Ob();)f=l(y.Pb(),134),re=f.u-f.n,re>=M&&(re>M&&(R.c.length=0,M=re),Rt(R.c,f));R.c.length!=0&&(N=l(ze(R,uF(t,R.c.length)),134),Ot.a.Ac(N)!=null,N.s=U++,$me(N,ft,ye),R.c.length=0)}for(de=e.c.length+1,p=new V(e);p.a<p.c.c.length;)f=l(q(p),134),f.s<T&&(f.s+=de);for(dt=new V(e);dt.a<dt.c.c.length;)for(qe=l(q(dt),134),r=new Ji(qe.t,0);r.b<r.d.gc();)o=(cn(r.b<r.d.gc()),l(r.d.Xb(r.c=r.b++),275)),Ct=o.b,qe.s>Ct.s&&(Mc(r),Xa(Ct.i,o),o.c>0&&(o.a=Ct,Fe(Ct.t,o),o.b=qe,Fe(qe.i,o)))}function FEt(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot;for(U=new Da(t.b),de=new Da(t.b),N=new Da(t.b),dt=new Da(t.b),G=new Da(t.b),qe=An(t,0);qe.b!=qe.d.c;)for(Ee=l(Sn(qe),12),p=new V(Ee.g);p.a<p.c.c.length;)if(u=l(q(p),17),u.c.i==u.d.i){if(Ee.j==u.d.j){Rt(dt.c,u);continue}else if(Ee.j==(He(),Vt)&&u.d.j==dn){Rt(G.c,u);continue}}for(m=new V(G);m.a<m.c.c.length;)u=l(q(m),17),$An(e,u,r,o,(He(),Qt));for(f=new V(dt);f.a<f.c.c.length;)u=l(q(f),17),ft=new Xd(e),Jh(ft,(Ht(),_a)),Te(ft,(Ue(),Zr),(qi(),fa)),Te(ft,(Ie(),wr),u),Ct=new aa,Te(Ct,wr,u.d),Ii(Ct,(He(),Wt)),As(Ct,ft),Ot=new aa,Te(Ot,wr,u.c),Ii(Ot,Qt),As(Ot,ft),Te(u.c,Nc,ft),Te(u.d,Nc,ft),mo(u,null),Yi(u,null),Rt(r.c,ft),Te(ft,rB,Oe(2));for(ye=An(t,0);ye.b!=ye.d.c;)Ee=l(Sn(ye),12),y=Ee.e.c.length>0,J=Ee.g.c.length>0,y&&J?Rt(N.c,Ee):y?Rt(U.c,Ee):J&&Rt(de.c,Ee);for(M=new V(U);M.a<M.c.c.length;)R=l(q(M),12),Fe(a,O0e(e,R,null,r));for(oe=new V(de);oe.a<oe.c.c.length;)re=l(q(oe),12),Fe(a,O0e(e,null,re,r));for(T=new V(N);T.a<T.c.c.length;)v=l(q(T),12),Fe(a,O0e(e,v,v,r))}function WJ(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(N=Kr,R=Kr,v=0,T=0,m=new je,p=new tn((!e.b&&(e.b=new ke(Ir,e,12,3)),e.b));p.e!=p.i.gc();)u=l(rn(p),74),m=Wu(Z(X(nl,1),It,22,0,[m,(!u.n&&(u.n=new ke(Rs,u,1,7)),u.n)]));for(oe=hh(Wu(Z(X(nl,1),It,22,0,[(!e.n&&(e.n=new ke(Rs,e,1,7)),e.n),(!e.a&&(e.a=new ke(En,e,10,11)),e.a),m])));an(oe);)re=l(en(oe),278),y=l(re.mf((_n(),Cp)),125),N>re.mh()-y.b&&(N=re.mh()-y.b),R>re.nh()-y.d&&(R=re.nh()-y.d),v<re.mh()+re.lh()+y.c&&(v=re.mh()+re.lh()+y.c),T<re.nh()+re.kh()+y.a&&(T=re.nh()+re.kh()+y.a);for(f=new tn((!e.b&&(e.b=new ke(Ir,e,12,3)),e.b));f.e!=f.i.gc();)for(u=l(rn(f),74),J=new tn((!u.a&&(u.a=new ke(jr,u,6,6)),u.a));J.e!=J.i.gc();)for(G=l(rn(J),171),M=G.j,o=G.b,U=G.k,a=G.c,N=b.Math.min(N,M),N=b.Math.min(N,o),v=b.Math.max(v,M),v=b.Math.max(v,o),R=b.Math.min(R,U),R=b.Math.min(R,a),T=b.Math.max(T,U),T=b.Math.max(T,a),r=new tn((!G.a&&(G.a=new Ei(Iu,G,5)),G.a));r.e!=r.i.gc();)t=l(rn(r),373),N=b.Math.min(N,t.a),v=b.Math.max(v,t.a),R=b.Math.min(R,t.b),T=b.Math.max(T,t.b);Vn(e,(_n(),uv),v-N),Vn(e,cv,T-R)}function $Et(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr;for(R=l(F(e,(p1(),_T)),19),oe=ar,de=ar,J=Zi,re=Zi,ye=new V(e.e);ye.a<ye.c.c.length;)Ee=l(q(ye),156),Ot=Ee.d,on=Ee.e,oe=b.Math.min(oe,Ot.a-on.a/2),de=b.Math.min(de,Ot.b-on.b/2),J=b.Math.max(J,Ot.a+on.a/2),re=b.Math.max(re,Ot.b+on.b/2);for(r=new V(e.b);r.a<r.c.c.length;)t=l(q(r),254),Ot=t.d,on=t.e,oe=b.Math.min(oe,Ot.a-on.a/2),de=b.Math.min(de,Ot.b-on.b/2),J=b.Math.max(J,Ot.a+on.a/2),re=b.Math.max(re,Ot.b+on.b/2);for(Ct=l(ve(R,(ed(),Tkt)),100),ft=new Me(Ct.b-oe,Ct.d-de),y=new V(e.e);y.a<y.c.c.length;)m=l(q(y),156),dt=F(m,_T),se(dt,209)&&(U=l(dt,19),qe=mr(new To(m.d),ft),Bu(U,qe.a-U.g/2,qe.b-U.f/2));for(u=new V(e.c);u.a<u.c.c.length;)a=l(q(u),292),T=l(F(a,_T),74),N=kC(T),qn=new To(tge(a)),mr(qn,ft),NO(N,qn.a,qn.b),La(a.a,new gtt(ft,N)),o=new To(nge(a)),mr(o,ft),kO(N,o.a,o.b);for(p=new V(e.d);p.a<p.c.c.length;)f=l(q(p),448),M=l(F(f,_T),158),G=mr(new To(f.d),ft),Bu(M,G.a,G.b);Gr=J-oe+(Ct.b+Ct.c),v=re-de+(Ct.d+Ct.a),Ye(Ke(ve(R,(_n(),lv))))||M0(R,Gr,v,!1,!0),Vn(R,uv,Gr-(Ct.b+Ct.c)),Vn(R,cv,v-(Ct.d+Ct.a))}function y3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;for(r.Tg("Depth first model order layering",1),e.d=t,G=new je,U=new V(e.d.a);U.a<U.c.c.length;)R=l(q(U),9),R.k==(Ht(),Xr)&&Rt(G.c,R);for(At(),ki(G,new NUe),f=!0,e.b=new ra(e.d),e.a=null,Fe(e.d.b,e.b),e.b.p=0,e.c=0,e.f=new Ar,M=new V(G);M.a<M.c.c.length;)if(R=l(q(M),9),f)Oi(R,e.b),f=!1;else if(R_n(e,R))if(N=e.c,N=N1t(N,R),o=N+2,v=N-e.c,e.f.b==0)e0e(e,o,R);else if(v>0){for(oe=An(e.f,0);oe.b!=oe.d.c;)re=l(Sn(oe),9),re.p+=N-e.e;tme(e),tu(e.f),e0e(e,o,R)}else{for(Gn(e.f,R),R.p=o,e.e=b.Math.max(e.e,o),u=new Ft(Gt(si(R).a.Jc(),new D));an(u);)a=l(en(u),17),!a.c.i.c&&a.c.i.k==(Ht(),ta)&&(Gn(e.f,a.c.i),a.c.i.p=o-1);e.c=o}else tme(e),tu(e.f),o=0,an(new Ft(Gt(si(R).a.Jc(),new D)))?(N=0,N=N1t(N,R),o=N+2,e0e(e,o,R)):(Gn(e.f,R),R.p=0,e.e=b.Math.max(e.e,0),e.b=l(ze(e.d.b,0),26),e.c=0);for(e.f.b==0||tme(e),e.d.a.c.length=0,J=new je,y=new V(e.d.b);y.a<y.c.c.length;)p=l(q(y),26),p.a.c.length==0&&Rt(J.c,p);for(g1e(e.d.b,J),T=0,m=new V(e.d.b);m.a<m.c.c.length;)p=l(q(m),26),p.p=T,++T;r.Ug()}function v3n(e,t,r){var o,a,u,f,p,m,y,v,T;if(r.Tg("Network simplex node placement",1),e.e=t,e.n=l(F(t,(Ie(),n2)),317),Rxn(e),own(e),ei(bs(new vt(null,new St(e.e.b,16)),new HUe),new zJe(e)),ei(dr(bs(dr(bs(new vt(null,new St(e.e.b,16)),new nHe),new rHe),new iHe),new oHe),new HJe(e)),Ye(Ke(F(e.e,(Ue(),HI))))&&(f=r.dh(1),f.Tg("Straight Edges Pre-Processing",1),nNn(e),f.Ug()),zbn(e.f),u=l(F(t,qI),15).a*e.f.a.c.length,_J(tle(nle(MV(e.f),u),!1),r.dh(1)),e.d.a.gc()!=0){for(f=r.dh(1),f.Tg("Flexible Where Space Processing",1),p=l(Xc(NS(Oa(new vt(null,new St(e.f.a,16)),new zUe),new jUe)),15).a,m=l(Xc(Zw(Oa(new vt(null,new St(e.f.a,16)),new GUe),new FUe)),15).a,y=m-p,v=o0(new Tb,e.f),T=o0(new Tb,e.f),Ql($l(Ul(Bl(Hl(new gl,2e4),y),v),T)),ei(dr(dr(iW(e.i),new VUe),new WUe),new mat(p,v,y,T)),a=e.d.a.ec().Jc();a.Ob();)o=l(a.Pb(),220),o.g=1;_J(tle(nle(MV(e.f),u),!1),f.dh(1)),f.Ug()}Ye(Ke(F(t,HI)))&&(f=r.dh(1),f.Tg("Straight Edges Post-Processing",1),Kyn(e),f.Ug()),Fkn(e),e.e=null,e.f=null,e.i=null,e.c=null,Zs(e.k),e.j=null,e.a=null,e.o=null,e.d.a.$b(),r.Ug()}function BEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;return T=o_n(Ya(e,(He(),gf)),t),M=TE(Ya(e,dd),t),de=TE(Ya(e,Nu),t),dt=pF(Ya(e,Rl),t),N=pF(Ya(e,ol),t),re=TE(Ya(e,fd),t),U=TE(Ya(e,Ic),t),ye=TE(Ya(e,Cu),t),Ee=TE(Ya(e,sl),t),ft=pF(Ya(e,Wa),t),J=TE(Ya(e,oc),t),oe=TE(Ya(e,Rc),t),qe=TE(Ya(e,ic),t),Ct=pF(Ya(e,sc),t),R=pF(Ya(e,vc),t),G=TE(Ya(e,ka),t),r=pE(Z(X(Ki,1),Xo,30,15,[re.a,dt.a,ye.a,Ct.a])),o=pE(Z(X(Ki,1),Xo,30,15,[M.a,T.a,de.a,G.a])),a=J.a,u=pE(Z(X(Ki,1),Xo,30,15,[U.a,N.a,Ee.a,R.a])),y=pE(Z(X(Ki,1),Xo,30,15,[re.b,M.b,U.b,oe.b])),m=pE(Z(X(Ki,1),Xo,30,15,[dt.b,T.b,N.b,G.b])),v=ft.b,p=pE(Z(X(Ki,1),Xo,30,15,[ye.b,de.b,Ee.b,qe.b])),ag(Ya(e,gf),r+a,y+v),ag(Ya(e,ka),r+a,y+v),ag(Ya(e,dd),r+a,0),ag(Ya(e,Nu),r+a,y+v+m),ag(Ya(e,Rl),0,y+v),ag(Ya(e,ol),r+a+o,y+v),ag(Ya(e,Ic),r+a+o,0),ag(Ya(e,Cu),0,y+v+m),ag(Ya(e,sl),r+a+o,y+v+m),ag(Ya(e,Wa),0,y),ag(Ya(e,oc),r,0),ag(Ya(e,ic),0,y+v+m),ag(Ya(e,vc),r+a+o,0),f=new ro,f.a=pE(Z(X(Ki,1),Xo,30,15,[r+o+a+u,ft.a,oe.a,qe.a])),f.b=pE(Z(X(Ki,1),Xo,30,15,[y+m+v+p,J.b,Ct.b,R.b])),f}function E3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr,Oc,us;if(Ct=null,on=t,Ot=Wft(e,Put(r),on),v_(Ot,sp(on,qf)),qn=l(gE(e.n,nT(op(on,aQ))),19),N=op(on,"sourcePort"),o=null,N&&(o=nT(N)),Gr=l(gE(e.p,o),127),!qn)throw p=B_(on),M="An edge must have a source node (edge id: '"+p,U=M+Px,Y(new xf(U));if(Gr&&!ia(Gd(Gr),qn))throw m=sp(on,qf),G="The source port of an edge must be a port of the edge's source node (edge id: '"+m,J=G+Px,Y(new xf(J));if(dt=(!Ot.b&&(Ot.b=new Tt(pn,Ot,4,7)),Ot.b),u=null,Gr?u=Gr:u=qn,Tn(dt,u),Oc=l(gE(e.n,nT(op(on,EEe))),19),R=op(on,"targetPort"),a=null,R&&(a=nT(R)),us=l(gE(e.p,a),127),!Oc)throw T=B_(on),re="An edge must have a target node (edge id: '"+T,oe=re+Px,Y(new xf(oe));if(us&&!ia(Gd(us),Oc))throw y=sp(on,qf),de="The target port of an edge must be a port of the edge's target node (edge id: '"+y,Ee=de+Px,Y(new xf(Ee));if(ft=(!Ot.c&&(Ot.c=new Tt(pn,Ot,5,8)),Ot.c),f=null,us?f=us:f=Oc,Tn(ft,f),(!Ot.b&&(Ot.b=new Tt(pn,Ot,4,7)),Ot.b).i==0||(!Ot.c&&(Ot.c=new Tt(pn,Ot,5,8)),Ot.c).i==0)throw v=sp(on,qf),ye=sAt+v,qe=ye+Px,Y(new xf(qe));return SF(on,Ot),HEn(on,Ot),Ct=BK(e,on,Ot),Ct}function UEt(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(re=new Me(Kr,Kr),t=new Me(Li,Li),dt=new V(e);dt.a<dt.c.c.length;)qe=l(q(dt),8),re.a=b.Math.min(re.a,qe.a),re.b=b.Math.min(re.b,qe.b),t.a=b.Math.max(t.a,qe.a),t.b=b.Math.max(t.b,qe.b);for(N=new Me(t.a-re.a,t.b-re.b),y=new Me(re.a-50,re.b-N.a-50),v=new Me(re.a-50,t.b+N.a+50),T=new Me(t.a+N.b/2+50,re.b+N.b/2),R=new I0e(y,v,T),ye=new pi,u=new je,r=new je,ye.a.yc(R,ye),Ct=new V(e);Ct.a<Ct.c.c.length;){for(ft=l(q(Ct),8),u.c.length=0,Ee=ye.a.ec().Jc();Ee.Ob();)oe=l(Ee.Pb(),322),o=oe.d,h1(o,oe.a),x0(h1(oe.d,ft),h1(oe.d,oe.a))<0&&Rt(u.c,oe);for(r.c.length=0,de=new V(u);de.a<de.c.c.length;)for(oe=l(q(de),322),G=new V(oe.e);G.a<G.c.c.length;){for(M=l(q(G),180),f=!0,m=new V(u);m.a<m.c.c.length;)p=l(q(m),322),p!=oe&&(ia(M,ze(p.e,0))||ia(M,ze(p.e,1))||ia(M,ze(p.e,2)))&&(f=!1);f&&Rt(r.c,M)}for(tmt(ye,u),lo(ye,new mb),U=new V(r);U.a<U.c.c.length;)M=l(q(U),180),gi(ye,new I0e(ft,M.a,M.b))}for(J=new pi,lo(ye,new mYe(J)),a=J.a.ec().Jc();a.Ob();)M=l(a.Pb(),180),(aj(R,M.a)||aj(R,M.b))&&a.Qb();return lo(J,new Jg),J}function Qs(){Qs=K,WQe(),VDt=Bi.a,l(ie(Ne(Bi.a),0),20),GDt=Bi.f,l(ie(Ne(Bi.f),0),20),l(ie(Ne(Bi.f),1),38),qDt=Bi.n,l(ie(Ne(Bi.n),0),38),l(ie(Ne(Bi.n),1),38),l(ie(Ne(Bi.n),2),38),l(ie(Ne(Bi.n),3),38),b3e=Bi.g,l(ie(Ne(Bi.g),0),20),l(ie(Ne(Bi.g),1),38),zDt=Bi.c,l(ie(Ne(Bi.c),0),20),l(ie(Ne(Bi.c),1),20),m3e=Bi.i,l(ie(Ne(Bi.i),0),20),l(ie(Ne(Bi.i),1),20),l(ie(Ne(Bi.i),2),20),l(ie(Ne(Bi.i),3),20),l(ie(Ne(Bi.i),4),38),w3e=Bi.j,l(ie(Ne(Bi.j),0),20),g3e=Bi.d,l(ie(Ne(Bi.d),0),20),l(ie(Ne(Bi.d),1),20),l(ie(Ne(Bi.d),2),20),l(ie(Ne(Bi.d),3),20),l(ie(Ne(Bi.d),4),38),l(ie(Ne(Bi.d),5),38),l(ie(Ne(Bi.d),6),38),l(ie(Ne(Bi.d),7),38),HDt=Bi.b,l(ie(Ne(Bi.b),0),38),l(ie(Ne(Bi.b),1),38),mU=Bi.e,l(ie(Ne(Bi.e),0),38),l(ie(Ne(Bi.e),1),38),l(ie(Ne(Bi.e),2),38),l(ie(Ne(Bi.e),3),38),l(ie(Ne(Bi.e),4),20),l(ie(Ne(Bi.e),5),20),l(ie(Ne(Bi.e),6),20),l(ie(Ne(Bi.e),7),20),l(ie(Ne(Bi.e),8),20),l(ie(Ne(Bi.e),9),20),l(ie(Ne(Bi.e),10),38),Dh=Bi.k,l(ie(Ne(Bi.k),0),38),l(ie(Ne(Bi.k),1),38)}function X0e(e){var t,r,o,a,u;switch(t=e.c,t){case 11:return e.tm();case 12:return e.vm();case 14:return e.xm();case 15:return e.Am();case 16:return e.ym();case 17:return e.Bm();case 21:return fr(e),hr(),hr(),B4;case 10:switch(e.a){case 65:return e.fm();case 90:return e.km();case 122:return e.rm();case 98:return e.lm();case 66:return e.gm();case 60:return e.qm();case 62:return e.om()}}switch(u=m3n(e),t=e.c,t){case 3:return e.Gm(u);case 4:return e.Em(u);case 5:return e.Fm(u);case 0:if(e.a==123&&e.d<e.j){if(a=e.d,o=0,r=-1,(t=uo(e.i,a++))>=48&&t<=57){for(o=t-48;a<e.j&&(t=uo(e.i,a++))>=48&&t<=57;)if(o=o*10+t-48,o<0)throw Y(new Dn(jn((Cn(),kEe))))}else throw Y(new Dn(jn((Cn(),MAt))));if(r=o,t==44){if(a>=e.j)throw Y(new Dn(jn((Cn(),jAt))));if((t=uo(e.i,a++))>=48&&t<=57){for(r=t-48;a<e.j&&(t=uo(e.i,a++))>=48&&t<=57;)if(r=r*10+t-48,r<0)throw Y(new Dn(jn((Cn(),kEe))));if(o>r)throw Y(new Dn(jn((Cn(),FAt))))}else r=-1}if(t!=125)throw Y(new Dn(jn((Cn(),PAt))));e._l(a)?(u=(hr(),hr(),new ay(9,u)),e.d=a+1):(u=(hr(),hr(),new ay(3,u)),e.d=a),u.Mm(o),u.Lm(r),fr(e)}}return u}function S3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee;for(a=1,R=new je,o=0;o<e.b.c.length;o++){if(t=Gyn(l(ze(e.b,o),26)),oe=mmn(l(ze(e.b,o),26)),v=gmn(l(ze(e.b,o),26)),v){for(y=0,r=0,U=new V(l(ze(e.b,o),26).a);U.a<U.c.c.length;)M=l(q(U),9),y=b.Math.max(y,M.o.a),r+=M.o.b;if(r/=l(ze(e.b,o),26).a.c.length,y+=b.Math.max(2*ce(le(F(e,(Ue(),B1)))),b.Math.max(l(ze(e.b,o),26).a.c.length*ce(le(F(e,tv))),ce(le(F(e,rv))))),r+=b.Math.max(ce(le(F(e,vm))),ce(le(F(e,ym)))),y/r>=l(ze(e.b,o),26).a.c.length/4)continue}if(l(ze(e.b,o),26).a.c.length>t){for(de=new je,Fe(de,l(ze(e.b,o),26)),f=0;f<t-1;f++)T=new ra(e),Fe(R,new Co(T,Oe(o+f+a))),Rt(de.c,T);for(a+=t-1,re=(at(0,de.c.length),l(de.c[0],26)).a.c.length,u=0,G=0,Ee=0;u<re;++u,++G,Ee++)M=l(ze((at(0,de.c.length),l(de.c[0],26)).a,G),9),M.k!=(Ht(),AI)?G+=XNn(e,de,Ee%t,G):(u-=1,Ee-=1),oe&&M.k==bi&&(Ee=-1)}}for(N=new V(R);N.a<N.c.c.length;)T=l(q(N),49),Nb(e.b,l(T.b,15).a,l(T.a,26));for(m=new V(e.b);m.a<m.c.c.length;)for(p=l(q(m),26),J=new Ji(p.a,0);J.b<J.d.gc();)M=(cn(J.b<J.d.gc()),l(J.d.Xb(J.c=J.b++),9)),(M.k==(Ht(),rL)||M.k==AI)&&Mc(J)}function P0(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(r==null)return null;if(e.a!=t.hk())throw Y(new jt(Dx+t.ve()+W0));if(se(t,462)){if(G=dTn(l(t,682),r),!G)throw Y(new jt(oQ+r+"' is not a valid enumerator of '"+t.ve()+"'"));return G}switch(fg((mc(),ao),t).Ll()){case 2:{r=Ta(r,!1);break}case 3:{r=Ta(r,!0);break}}if(o=fg(ao,t).Hl(),o)return o.hk().ti().qi(o,r);if(N=fg(ao,t).Jl(),N){for(G=new je,y=VK(r),v=0,T=y.length;v<T;++v)m=y[v],Fe(G,N.hk().ti().qi(N,m));return G}if(U=fg(ao,t).Kl(),!U.dc()){for(M=U.Jc();M.Ob();){R=l(M.Pb(),160);try{if(G=R.hk().ti().qi(R,r),G!=null)return G}catch(J){if(J=ui(J),!se(J,63))throw Y(J)}}throw Y(new jt(oQ+r+"' does not match any member types of the union datatype '"+t.ve()+"'"))}if(l(t,839).mk(),a=Xpn(t.ik()),!a)return null;if(a==mI){f=0;try{f=Eu(r,Zi,ar)&Ti}catch(J){if(J=ui(J),se(J,133))u=cj(r),f=u[0];else throw Y(J)}return A6(f)}if(a==d$){for(p=0;p<R4.length;++p)try{return rtt(R4[p],r)}catch(J){if(J=ui(J),!se(J,33))throw Y(J)}throw Y(new jt(oQ+r+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Y(new jt(oQ+r+"' is invalid. "))}function KJ(){KJ=K,_r=new b0,yt(_r,(He(),gf),ka),yt(_r,Rl,ka),yt(_r,Rl,sc),yt(_r,ol,vc),yt(_r,ol,ka),yt(_r,dd,ka),yt(_r,dd,Rc),yt(_r,Nu,ic),yt(_r,Nu,ka),yt(_r,oc,Wa),yt(_r,oc,ka),yt(_r,oc,Rc),yt(_r,oc,ic),yt(_r,Wa,oc),yt(_r,Wa,sc),yt(_r,Wa,vc),yt(_r,Wa,ka),yt(_r,fd,fd),yt(_r,fd,Rc),yt(_r,fd,sc),yt(_r,Ic,Ic),yt(_r,Ic,Rc),yt(_r,Ic,vc),yt(_r,Cu,Cu),yt(_r,Cu,ic),yt(_r,Cu,sc),yt(_r,sl,sl),yt(_r,sl,ic),yt(_r,sl,vc),yt(_r,Rc,dd),yt(_r,Rc,oc),yt(_r,Rc,fd),yt(_r,Rc,Ic),yt(_r,Rc,ka),yt(_r,Rc,Rc),yt(_r,Rc,sc),yt(_r,Rc,vc),yt(_r,ic,Nu),yt(_r,ic,oc),yt(_r,ic,Cu),yt(_r,ic,sl),yt(_r,ic,ic),yt(_r,ic,sc),yt(_r,ic,vc),yt(_r,ic,ka),yt(_r,sc,Rl),yt(_r,sc,Wa),yt(_r,sc,fd),yt(_r,sc,Cu),yt(_r,sc,Rc),yt(_r,sc,ic),yt(_r,sc,sc),yt(_r,sc,ka),yt(_r,vc,ol),yt(_r,vc,Wa),yt(_r,vc,Ic),yt(_r,vc,sl),yt(_r,vc,Rc),yt(_r,vc,ic),yt(_r,vc,vc),yt(_r,vc,ka),yt(_r,ka,gf),yt(_r,ka,Rl),yt(_r,ka,ol),yt(_r,ka,dd),yt(_r,ka,Nu),yt(_r,ka,oc),yt(_r,ka,Wa),yt(_r,ka,Rc),yt(_r,ka,ic),yt(_r,ka,sc),yt(_r,ka,vc),yt(_r,ka,ka)}function Z0e(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt;for(e.d=new Me(Kr,Kr),e.c=new Me(Li,Li),N=t.Jc();N.Ob();)for(v=l(N.Pb(),37),oe=new V(v.a);oe.a<oe.c.c.length;)re=l(q(oe),9),e.d.a=b.Math.min(e.d.a,re.n.a-re.d.b),e.d.b=b.Math.min(e.d.b,re.n.b-re.d.d),e.c.a=b.Math.max(e.c.a,re.n.a+re.o.a+re.d.c),e.c.b=b.Math.max(e.c.b,re.n.b+re.o.b+re.d.a);for(p=new IZe,T=t.Jc();T.Ob();)v=l(T.Pb(),37),o=i3n(e,v),Fe(p.a,o),o.a=o.a|!l(F(o.c,(Ie(),_p)),24).dc();for(e.b=(WK(),dt=new sG,dt.f=new nht(r),dt.b=dkn(dt.f,p),dt),xkn((M=e.b,new sS,M)),e.e=new ro,e.a=e.b.f.e,f=new V(p.a);f.a<f.c.c.length;)for(a=l(q(f),847),de=Lcn(e.b,a),WTn(a.c,de.a,de.b),G=new V(a.c.a);G.a<G.c.c.length;)U=l(q(G),9),U.k==(Ht(),yi)&&(J=Bme(e,U.n,l(F(U,(Ie(),Hs)),64)),mr(wd(U.n),J));for(u=new V(p.a);u.a<u.c.c.length;)for(a=l(q(u),847),y=new V(Ign(a));y.a<y.c.c.length;)for(m=l(q(y),17),qe=new U9(m.a),WA(qe,0,qd(m.c)),Gn(qe,qd(m.d)),R=null,ye=An(qe,0);ye.b!=ye.d.c;){if(Ee=l(Sn(ye),8),!R){R=Ee;continue}Ype(R.a,Ee.a)?(e.e.a=b.Math.min(e.e.a,R.a),e.a.a=b.Math.max(e.a.a,R.a)):Ype(R.b,Ee.b)&&(e.e.b=b.Math.min(e.e.b,R.b),e.a.b=b.Math.max(e.a.b,R.b)),R=Ee}z8(e.e),mr(e.a,e.e)}function T3n(e,t){var r,o,a,u,f,p,m,y;if(r=0,f=0,u=t.length,p=null,y=new lS,f<u&&(Jt(f,t.length),t.charCodeAt(f)==43)&&(++f,++r,f<u&&(Jt(f,t.length),t.charCodeAt(f)==43||(Jt(f,t.length),t.charCodeAt(f)==45))))throw Y(new kf(F0+t+'"'));for(;f<u&&(Jt(f,t.length),t.charCodeAt(f)!=46)&&(Jt(f,t.length),t.charCodeAt(f)!=101)&&(Jt(f,t.length),t.charCodeAt(f)!=69);)++f;if(y.a+=""+yl(t==null?tc:(Mt(t),t),r,f),f<u&&(Jt(f,t.length),t.charCodeAt(f)==46)){for(++f,r=f;f<u&&(Jt(f,t.length),t.charCodeAt(f)!=101)&&(Jt(f,t.length),t.charCodeAt(f)!=69);)++f;e.e=f-r,y.a+=""+yl(t==null?tc:(Mt(t),t),r,f)}else e.e=0;if(f<u&&(Jt(f,t.length),t.charCodeAt(f)==101||(Jt(f,t.length),t.charCodeAt(f)==69))&&(++f,r=f,f<u&&(Jt(f,t.length),t.charCodeAt(f)==43)&&(++f,f<u&&(Jt(f,t.length),t.charCodeAt(f)!=45)&&++r),p=(io(r,u,t.length),t.substr(r,u-r)),e.e=e.e-Eu(p,Zi,ar),e.e!=bo(e.e)))throw Y(new kf("Scale out of range."));if(m=y.a,m.length<16){if(e.f=(p2e==null&&(p2e=new RegExp("^[+-]?\\d*$","i")),p2e.test(m)?parseInt(m,10):NaN),isNaN(e.f))throw Y(new kf(F0+t+'"'));e.a=hme(e.f)}else Sgn(e,new s1(m));for(e.d=y.a.length,a=0;a<y.a.length&&(o=uo(y.a,a),!(o!=45&&o!=48));++a)--e.d;e.d==0&&(e.d=1)}function A3n(e){xn(e.b,_l,Z(X(Je,1),Pe,2,6,[K0,"ConsistentTransient"])),xn(e.a,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedSourceURI"])),xn(e.o,_l,Z(X(Je,1),Pe,2,6,[K0,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),xn(e.p,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),xn(e.v,_l,Z(X(Je,1),Pe,2,6,[K0,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),xn(e.R,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedName"])),xn(e.T,_l,Z(X(Je,1),Pe,2,6,[K0,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),xn(e.U,_l,Z(X(Je,1),Pe,2,6,[K0,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),xn(e.W,_l,Z(X(Je,1),Pe,2,6,[K0,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),xn(e.bb,_l,Z(X(Je,1),Pe,2,6,[K0,"ValidDefaultValueLiteral"])),xn(e.eb,_l,Z(X(Je,1),Pe,2,6,[K0,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),xn(e.H,_l,Z(X(Je,1),Pe,2,6,[K0,"ConsistentType ConsistentBounds ConsistentArguments"]))}function _3n(e){var t,r,o,a,u;switch(r=l(F(e,(Ie(),xa)),24),t=D8(zkt),a=l(F(e,(Ue(),Yy)),348),a==(pp(),Ig)&&yu(t,Gkt),Ye(Ke(F(e,Ste)))?$n(t,(Vi(),id),(Xi(),See)):$n(t,(Vi(),la),(Xi(),See)),F(e,(QP(),p4))!=null&&yu(t,qkt),(Ye(Ke(F(e,xAe)))||Ye(Ke(F(e,SAe))))&&Ra(t,(Vi(),zo),(Xi(),dSe)),l(F(e,xu),87).g){case 2:case 3:case 4:Ra($n(t,(Vi(),id),(Xi(),hSe)),zo,fSe)}switch(r.Gc(($o(),Q$))&&Ra($n($n(t,(Vi(),id),(Xi(),lSe)),da,cSe),zo,uSe),me(F(e,wL))!==me((x1(),NB))&&$n(t,(Vi(),la),(Xi(),NSe)),r.Gc(tB)&&($n(t,(Vi(),id),(Xi(),OSe)),$n(t,kh,ISe),$n(t,la,RSe)),me(F(e,lB))!==me((W_(),NI))&&me(F(e,kp))!==me((gp(),GL))&&Ra(t,(Vi(),zo),(Xi(),SSe)),Ye(Ke(F(e,AAe)))&&$n(t,(Vi(),la),(Xi(),ESe)),Ye(Ke(F(e,yte)))&&$n(t,(Vi(),la),(Xi(),DSe)),D2n(e)&&(me(F(e,Yy))===me(Ig)?o=l(F(e,mL),303):o=l(F(e,wte),303),u=o==(__(),Zee)?(Xi(),CSe):(Xi(),PSe),$n(t,(Vi(),da),u)),l(F(e,OAe),428).g==1&&$n(t,(Vi(),da),(Xi(),rSe)),l(F(e,QAe),383).g){case 1:$n(t,(Vi(),da),(Xi(),LSe));break;case 2:Ra($n($n(t,(Vi(),la),(Xi(),iSe)),da,oSe),zo,sSe)}return me(F(e,Ch))!==me((bp(),U1))&&$n(t,(Vi(),la),(Xi(),MSe)),t}function x3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;if(!t.dc()){if(a=new Lc,p=r||l(t.Xb(0),17),M=p.c,NC(),N=M.i.k,!(N==(Ht(),Xr)||N==_a||N==yi||N==af))throw Y(new jt("The target node of the edge must be a normal node or a northSouthPort."));for(So(a,xs(Z(X($i,1),Pe,8,0,[M.i.n,M.n,M.a]))),(He(),oc).Gc(M.j)&&(G=ce(le(F(M,(Ie(),ek)))),T=new Me(xs(Z(X($i,1),Pe,8,0,[M.i.n,M.n,M.a])).a,G),Wr(a,T,a.c.b,a.c)),v=null,o=!1,m=t.Jc();m.Ob();)f=l(m.Pb(),17),u=f.a,u.b!=0&&(o?(y=tp(mr(v,(cn(u.b!=0),l(u.a.a.c,8))),.5),Wr(a,y,a.c.b,a.c),o=!1):o=!0,v=Ao((cn(u.b!=0),l(u.c.b.c,8))),wo(a,u),tu(u));U=p.d,oc.Gc(U.j)&&(G=ce(le(F(U,(Ie(),ek)))),T=new Me(xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).a,G),Wr(a,T,a.c.b,a.c)),So(a,xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a]))),e.d==(R_(),Yte)&&(J=(cn(a.b!=0),l(a.a.a.c,8)),re=l(sa(a,1),8),oe=new OW(qge(M.j)),oe.a*=5,oe.b*=5,de=Di(new Me(re.a,re.b),J),Ee=new Me(IW(oe.a,de.a),IW(oe.b,de.b)),mr(Ee,J),ye=An(a,1),vP(ye,Ee),qe=(cn(a.b!=0),l(a.c.b.c,8)),dt=l(sa(a,a.b-2),8),oe=new OW(qge(U.j)),oe.a*=5,oe.b*=5,de=Di(new Me(dt.a,dt.b),qe),ft=new Me(IW(oe.a,de.a),IW(oe.b,de.b)),mr(ft,qe),WA(a,a.b-1,ft)),R=new R0e(a),wo(p.a,U1t(R))}}function k3n(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr,Oc,us,Ru,A2,jg,hd,Dp;if(oe=l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83),Ee=oe.mh(),ye=oe.nh(),de=oe.lh()/2,U=oe.kh()/2,se(oe,196)&&(re=l(oe,127),Ee+=Gd(re).i,Ee+=Gd(re).i),Ee+=de,ye+=U,Ot=l(ie((!e.b&&(e.b=new Tt(pn,e,4,7)),e.b),0),83),qn=Ot.mh(),Gr=Ot.nh(),on=Ot.lh()/2,qe=Ot.kh()/2,se(Ot,196)&&(Ct=l(Ot,127),qn+=Gd(Ct).i,qn+=Gd(Ct).i),qn+=on,Gr+=qe,(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i==0)p=(t1(),y=new b9,y),Tn((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),p);else if((!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i>1)for(M=new SS((!e.a&&(e.a=new ke(jr,e,6,6)),e.a));M.e!=M.i.gc();)wC(M);for(f=l(ie((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),G=qn,qn>Ee+de?G=Ee+de:qn<Ee-de&&(G=Ee-de),J=Gr,Gr>ye+U?J=ye+U:Gr<ye-U&&(J=ye-U),G>Ee-de&&G<Ee+de&&J>ye-U&&J<ye+U&&(G=Ee+de),E0(f,G),S0(f,J),dt=Ee,Ee>qn+on?dt=qn+on:Ee<qn-on&&(dt=qn-on),ft=ye,ye>Gr+qe?ft=Gr+qe:ye<Gr-qe&&(ft=Gr-qe),dt>qn-on&&dt<qn+on&&ft>Gr-qe&&ft<Gr+qe&&(ft=Gr+qe),y0(f,dt),v0(f,ft),vn((!f.a&&(f.a=new Ei(Iu,f,5)),f.a)),u=uF(t,5),oe==Ot&&++u,Ru=dt-G,hd=ft-J,Oc=b.Math.sqrt(Ru*Ru+hd*hd),T=Oc*.20000000298023224,A2=Ru/(u+1),Dp=hd/(u+1),us=G,jg=J,v=0;v<u;v++)us+=A2,jg+=Dp,N=us+Bc(t,24)*_D*T-T/2,N<0?N=1:N>r&&(N=r-1),R=jg+Bc(t,24)*_D*T-T/2,R<0?R=1:R>o&&(R=o-1),a=(t1(),m=new m9,m),bj(a,N),gj(a,R),Tn((!f.a&&(f.a=new Ei(Iu,f,5)),f.a),a)}function YJ(e,t){DJ();var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe;if(oe=e.e,v=e.d,a=e.a,oe==0)switch(t){case 0:return"0";case 1:return dx;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return J=new Qg,J.a+="0E",J.a+=-t,J.a}if(U=v*10+1+7,G=we(al,Bf,30,U+1,15,1),r=U,v==1)if(u=a[0],u<0){qe=Gi(u,Bo);do T=qe,qe=W6(qe,10),G[--r]=48+On(El(T,yo(qe,10)))&Ti;while(Ea(qe,0)!=0)}else{qe=u;do T=qe,qe=qe/10|0,G[--r]=48+(T-qe*10)&Ti;while(qe!=0)}else{de=we(Rn,Qn,30,v,15,1),ye=v,ca(a,0,de,0,ye);e:for(;;){for(re=0,p=ye-1;p>=0;p--)Ee=_o(fh(re,32),Gi(de[p],Bo)),R=Ewn(Ee),de[p]=On(R),re=On(c0(R,32));M=On(re),N=r;do G[--r]=48+M%10&Ti;while((M=M/10|0)!=0&&r!=0);for(o=9-N+r,f=0;f<o&&r>0;f++)G[--r]=48;for(m=ye-1;de[m]==0;m--)if(m==0)break e;ye=m+1}for(;G[r]==48;)++r}return y=oe<0,y&&(G[--r]=45),Mf(G,r,U-r)}function HEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;switch(e.c=t,e.g=new hn,r=(n1(),new Yp(e.c)),o=new _9(r),N1e(o),oe=In(ve(e.c,(Y6(),yke))),m=l(ve(e.c,Vne),331),Ee=l(ve(e.c,Wne),432),f=l(ve(e.c,bke),480),de=l(ve(e.c,qne),433),e.j=ce(le(ve(e.c,WOt))),p=e.a,m.g){case 0:p=e.a;break;case 1:p=e.b;break;case 2:p=e.i;break;case 3:p=e.e;break;case 4:p=e.f;break;default:throw Y(new jt($7+(m.f!=null?m.f:""+m.g)))}if(e.d=new oct(p,Ee,f),Te(e.d,(S_(),EI),Ke(ve(e.c,qOt))),e.d.c=Ye(Ke(ve(e.c,mke))),NP(e.c).i==0)return e.d;for(T=new tn(NP(e.c));T.e!=T.i.gc();){for(v=l(rn(T),19),R=v.g/2,N=v.f/2,ye=new Me(v.i+R,v.j+N);ma(e.g,ye);)Vw(ye,(b.Math.random()-.5)*Hf,(b.Math.random()-.5)*Hf);U=l(ve(v,(_n(),Cp)),125),G=new Cct(ye,new ql(ye.a-R-e.j/2-U.b,ye.b-N-e.j/2-U.d,v.g+e.j+(U.b+U.c),v.f+e.j+(U.d+U.a))),Fe(e.d.i,G),Jn(e.g,ye,new Co(G,v))}switch(de.g){case 0:if(oe==null)e.d.d=l(ze(e.d.i,0),68);else for(re=new V(e.d.i);re.a<re.c.c.length;)G=l(q(re),68),M=l(l(Ut(e.g,G.a),49).b,19).ih(),M!=null&&wt(M,oe)&&(e.d.d=G);break;case 1:for(a=new Me(e.c.g,e.c.f),a.a*=.5,a.b*=.5,Vw(a,e.c.i,e.c.j),u=Kr,J=new V(e.d.i);J.a<J.c.c.length;)G=l(q(J),68),y=h1(G.a,a),y<u&&(u=y,e.d.d=G);break;default:throw Y(new jt($7+(de.f!=null?de.f:""+de.g)))}return e.d}function zEt(e){n0(e,new Qb(Qm(Jm(Zm(Xm(new vb,kc),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new zze))),Le(e,kc,mx,1.3),Le(e,kc,vx,(Lt(),!1)),Le(e,kc,B0,Yxe),Le(e,kc,$0,15),Le(e,kc,I7,Ge(xOt)),Le(e,kc,PE,Ge(COt)),Le(e,kc,mT,Ge(ROt)),Le(e,kc,bT,Ge(OOt)),Le(e,kc,Ex,Ge(NOt)),Le(e,kc,yx,Ge(Dne)),Le(e,kc,Sx,Ge(DOt)),Le(e,kc,Pve,Ge(Qxe)),Le(e,kc,jve,Ge(Zxe)),Le(e,kc,Mve,Ge(Mne)),Le(e,kc,Lve,Ge(eke)),Le(e,kc,Fve,Ge(Kxe)),Le(e,kc,$ve,Ge(Lne)),Le(e,kc,Bve,Ge(Wxe)),Le(e,kc,Uve,Ge(Xxe)),Le(e,kc,wx,Ge(qxe)),Le(e,kc,O7,Ge(kOt)),Le(e,kc,Rve,Ge(OL)),Le(e,kc,Ive,Ge(Gxe)),Le(e,kc,Ove,Ge(DL)),Le(e,kc,Cve,Ge(Jxe)),Le(e,kc,Dve,Ge(Vxe))}function N3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr,Oc,us,Ru;for(r.Tg("Greedy cycle removal",1),e.b=t,oe=t.a,Ru=oe.c.length,e.a=we(Rn,Qn,30,Ru,15,1),e.d=we(Rn,Qn,30,Ru,15,1),e.c=we(Rn,Qn,30,Ru,15,1),y=0,J=new V(oe);J.a<J.c.c.length;){for(U=l(q(J),9),U.p=y,ft=new V(U.j);ft.a<ft.c.c.length;){for(ye=l(q(ft),12),p=new V(ye.e);p.a<p.c.c.length;)o=l(q(p),17),o.c.i!=U&&(on=l(F(o,(Ue(),ik)),15).a,e.a[y]+=on>0?on+1:1);for(f=new V(ye.g);f.a<f.c.c.length;)o=l(q(f),17),o.d.i!=U&&(on=l(F(o,(Ue(),ik)),15).a,e.d[y]+=on>0?on+1:1)}e.d[y]==0?Gn(e.f,U):e.a[y]==0&&Gn(e.g,U),++y}for(M=-1,R=1,T=new je,e.e=l(F(t,(Ie(),DT)),237);Ru>0;){for(;e.f.b!=0;)Gr=l(BV(e.f),9),e.c[Gr.p]=M--,m0e(e,Gr),--Ru;for(;e.g.b!=0;)Oc=l(BV(e.g),9),e.c[Oc.p]=R++,m0e(e,Oc),--Ru;if(Ru>0){for(N=Zi,re=new V(oe);re.a<re.c.c.length;)U=l(q(re),9),e.c[U.p]==0&&(de=e.d[U.p]-e.a[U.p],de>=N&&(de>N&&(T.c.length=0,N=de),Rt(T.c,U)));v=e.qg(T),e.c[v.p]=R++,m0e(e,v),--Ru}}for(qn=oe.c.length+1,y=0;y<oe.c.length;y++)e.c[y]<0&&(e.c[y]+=qn);for(G=new V(oe);G.a<G.c.c.length;)for(U=l(q(G),9),Ot=vut(U.j),qe=Ot,dt=0,Ct=qe.length;dt<Ct;++dt)for(ye=qe[dt],Ee=Df(ye.g),a=Ee,u=0,m=a.length;u<m;++u)o=a[u],us=o.d.i.p,e.c[U.p]>e.c[us]&&(mg(o,!0),Te(t,CT,(Lt(),!0)));e.a=null,e.d=null,e.c=null,tu(e.g),tu(e.f),r.Ug()}function GEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;for(Ee=l(ie((!e.a&&(e.a=new ke(jr,e,6,6)),e.a),0),171),v=new Lc,de=new hn,ye=Zyt(Ee),ec(de.f,Ee,ye),N=new hn,o=new Ar,M=hh(Wu(Z(X(nl,1),It,22,0,[(!t.d&&(t.d=new Tt(Ir,t,8,5)),t.d),(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e)])));an(M);){if(R=l(en(M),74),(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i!=1)throw Y(new jt(zTt+(!e.a&&(e.a=new ke(jr,e,6,6)),e.a).i));R!=e&&(G=l(ie((!R.a&&(R.a=new ke(jr,R,6,6)),R.a),0),171),Wr(o,G,o.c.b,o.c),U=l(Ss(ns(de.f,G)),13),U||(U=Zyt(G),ec(de.f,G,U)),T=r?Di(new To(l(ze(ye,ye.c.length-1),8)),l(ze(U,U.c.length-1),8)):Di(new To((at(0,ye.c.length),l(ye.c[0],8))),(at(0,U.c.length),l(U.c[0],8))),ec(N.f,G,T))}if(o.b!=0)for(J=l(ze(ye,r?ye.c.length-1:0),8),y=1;y<ye.c.length;y++){for(re=l(ze(ye,r?ye.c.length-1-y:y),8),a=An(o,0);a.b!=a.d.c;)G=l(Sn(a),171),U=l(Ss(ns(de.f,G)),13),U.c.length<=y?gK(a):(oe=mr(new To(l(ze(U,r?U.c.length-1-y:y),8)),l(Ss(ns(N.f,G)),8)),(re.a!=oe.a||re.b!=oe.b)&&(u=re.a-J.a,p=re.b-J.b,f=oe.a-J.a,m=oe.b-J.b,f*p==m*u&&(u==0||isNaN(u)?u:u<0?-1:1)==(f==0||isNaN(f)?f:f<0?-1:1)&&(p==0||isNaN(p)?p:p<0?-1:1)==(m==0||isNaN(m)?m:m<0?-1:1)?(b.Math.abs(u)<b.Math.abs(f)||b.Math.abs(p)<b.Math.abs(m))&&Wr(v,re,v.c.b,v.c):y>1&&Wr(v,J,v.c.b,v.c),gK(a)));J=re}return v}function qEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(r.Tg(YSt,1),Ct=l(Ac(dr(new vt(null,new St(t,16)),new aze),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),v=l(Ac(dr(new vt(null,new St(t,16)),new uXe(t)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),16),M=l(Ac(dr(new vt(null,new St(t,16)),new cXe(t)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),16),U=we(PB,M7,41,t.gc(),0,1),f=0;f<v.gc();f++)a=l(v.Xb(f),41),ft=l(F(a,(js(),l2)),15).a,ft>=0&&ft<v.gc()&&!U[ft]&&(U[ft]=a,v.ed(f),--f);for(p=0;p<v.gc();p++)for(a=l(v.Xb(p),41),ft=l(F(a,(js(),l2)),15).a,N=0;;N++){if(R=ft+N,R<U.length&&R>=0&&!U[R]){U[R]=a,v.ed(p),--p;break}if(R=ft-N,R<U.length&&R>=0&&!U[R]){U[R]=a,v.ed(p),--p;break}}for(M.gd(new cze),m=U.length-1;m>=0;m--)!U[m]&&!M.dc()&&(U[m]=l(M.Xb(0),41),M.ed(0));for(y=0;y<U.length;y++)!U[y]&&!Ct.dc()&&(U[y]=l(Ct.Xb(0),41),Ct.ed(0));for(u=0;u<U.length;u++)Te(U[u],(Nr(),o4),Oe(u));for(T=l(C1n(dr(new vt(null,new St(t,16)),new uze)),526),ye=T,qe=0,dt=ye.length;qe<dt;++qe){for(Ee=ye[qe],o=MK(Ee),qEt(e,o,r.dh(1/T.length|0)),At(),zb(o,new JG((Nr(),o4))),G=new Ar,de=An(o,0);de.b!=de.d.c;)for(oe=l(Sn(de),41),re=An(Ee.d,0);re.b!=re.d.c;)J=l(Sn(re),65),J.c==oe&&Wr(G,J,G.c.b,G.c);tu(Ee.d),wo(Ee.d,G)}r.Ug()}function VEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;for(oe=ce(le(ve(t,(yh(),sv)))),R=ce(le(ve(t,c4))),N=ce(le(ve(t,VB))),mge((!t.a&&(t.a=new ke(En,t,10,11)),t.a)),J=Pvt((!t.a&&(t.a=new ke(En,t,10,11)),t.a),oe,e.b),G=0;G<J.c.length;G++)if(m=(at(G,J.c.length),l(J.c[G],189)),G!=0&&(M=(at(G-1,J.c.length),l(J.c[G-1],189)),Ypt(m,M.f+M.b+e.b)),U=R3n(G,J,oe,e.b,Ye(Ke(ve(t,(ef(),Lne))))),Ye(Ke(U.b))){for(u=new V(m.a);u.a<u.c.c.length;)a=l(q(u),175),a.c=!1,a.k=!1,Nvt(a);m.d=new je,m.e=oe,--G}else if(s0n(e,m),G+1<J.c.length&&(e.e=b.Math.max(m.e+e.b+l(ze((at(G+1,J.c.length),l(J.c[G+1],189)).a,0),175).r-oe,e.c),e.f=b.Math.min(m.e+e.b+l(ze((at(G+1,J.c.length),l(J.c[G+1],189)).a,0),175).r-oe,e.d),m.d.c.length!=0&&(e.c=b.Math.max(e.c,l(ze(m.d,m.d.c.length-1),320).d+(m.d.c.length<=1?0:e.b)),e.d=b.Math.min(e.c,l(ze(m.d,m.d.c.length-1),320).d+(m.d.c.length<=1?0:e.b)))),J.c.length==1)for(T=l(ze(m.d,m.d.c.length-1),320),v=l(ze(T.a,T.a.c.length-1),175),p=new V(v.n);p.a<p.c.c.length;)f=l(q(p),211),e.c=b.Math.max(e.c,v.r-f.d),e.d=b.Math.min(e.d,v.r-f.d),e.e=b.Math.max(e.e,f.d+e.b),e.f=b.Math.min(e.f,f.d+e.b);return re=gbt(J,e.b),de=b.Math.max(re.a,R-(r.b+r.c)),y=b.Math.max(re.b,N-(r.d+r.a)),o=y-re.b,Vn(t,a4,o),Vn(t,WB,J),new $fe(e.a,de,re.b+o,(xC(),LL))}function C3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on;if(qe=l(F(e,(Ue(),Zr)),103),qe!=(qi(),pf)&&qe!=K1){for(M=e.b,R=M.c.length,v=new Da((wu(R+2,tX),dj(_o(_o(5,R+2),(R+2)/10|0)))),U=new Da((wu(R+2,tX),dj(_o(_o(5,R+2),(R+2)/10|0)))),Fe(v,new hn),Fe(v,new hn),Fe(U,new je),Fe(U,new je),ye=new je,t=0;t<R;t++)for(r=(at(t,M.c.length),l(M.c[t],26)),dt=(at(t,v.c.length),l(v.c[t],93)),G=new hn,Rt(v.c,G),Ct=(at(t,U.c.length),l(U.c[t],16)),re=new je,Rt(U.c,re),a=new V(r.a);a.a<a.c.c.length;){if(o=l(q(a),9),f1e(o)){Rt(ye.c,o);continue}for(y=new Ft(Gt(si(o).a.Jc(),new D));an(y);)p=l(en(y),17),Ot=p.c.i,f1e(Ot)&&(ft=l(dt.xc(F(Ot,(Ie(),wr))),9),ft||(ft=i0t(e,Ot),dt.yc(F(Ot,wr),ft),Ct.Ec(ft)),mo(p,l(ze(ft.j,1),12)));for(m=new Ft(Gt(Or(o).a.Jc(),new D));an(m);)p=l(en(m),17),on=p.d.i,f1e(on)&&(J=l(Ut(G,F(on,(Ie(),wr))),9),J||(J=i0t(e,on),Jn(G,F(on,wr),J),Rt(re.c,J)),Yi(p,l(ze(J.j,0),12)))}for(T=0;T<U.c.length;T++)if(oe=(at(T,U.c.length),l(U.c[T],16)),!oe.dc())for(N=null,T==0?(N=new ra(e),oy(0,M.c.length),t3(M.c,0,N)):T==v.c.length-1?(N=new ra(e),Rt(M.c,N)):N=(at(T-1,M.c.length),l(M.c[T-1],26)),f=oe.Jc();f.Ob();)u=l(f.Pb(),9),Oi(u,N);for(Ee=new V(ye);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),Oi(de,null);Te(e,(Ie(),rte),ye)}}function I3n(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr,Oc,us;for(Gr=new je,M=new V(t.b);M.a<M.c.c.length;)for(N=l(q(M),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;){for(de=l(q(Ee),9),de.p=-1,T=Zi,dt=Zi,Ct=new V(de.j);Ct.a<Ct.c.c.length;){for(ft=l(q(Ct),12),a=new V(ft.e);a.a<a.c.c.length;)r=l(q(a),17),Ot=l(F(r,(Ue(),FT)),15).a,T=b.Math.max(T,Ot);for(o=new V(ft.g);o.a<o.c.c.length;)r=l(q(o),17),Ot=l(F(r,(Ue(),FT)),15).a,dt=b.Math.max(dt,Ot)}Te(de,DB,Oe(T)),Te(de,LB,Oe(dt))}for(J=0,R=new V(t.b);R.a<R.c.c.length;)for(N=l(q(R),26),Ee=new V(N.a);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),de.p<0&&(qn=new Fue,qn.b=J++,vyt(e,de,qn),Rt(Gr.c,qn));for(qe=uh(Gr.c.length),v=uh(Gr.c.length),f=0;f<Gr.c.length;f++)Fe(qe,new je),Fe(v,Oe(0));for(Jkn(t,Gr,qe,v),Oc=l(Yd(Gr,we(C4t,BSt,264,Gr.c.length,0,1)),846),ye=l(Yd(qe,we(_u,Ly,16,qe.c.length,0,1)),200),y=we(Rn,Qn,30,v.c.length,15,1),p=0;p<y.length;p++)y[p]=(at(p,v.c.length),l(v.c[p],15)).a;for(re=0,oe=new je,m=0;m<Oc.length;m++)y[m]==0&&Rt(oe.c,Oc[m]);for(G=we(Rn,Qn,30,Oc.length,15,1);oe.c.length!=0;)for(qn=l(sg(oe,0),264),G[qn.b]=re++;!ye[qn.b].dc();)us=l(ye[qn.b].ed(0),264),--y[us.b],y[us.b]==0&&Rt(oe.c,us);for(e.a=we(C4t,BSt,264,Oc.length,0,1),u=0;u<Oc.length;u++)for(U=Oc[u],on=G[u],e.a[on]=U,U.b=on,Ee=new V(U.e);Ee.a<Ee.c.c.length;)de=l(q(Ee),9),de.p=on;return e.a}function R3n(e,t,r,o,a){var u,f,p,m,y,v,T,N,R,M,U,G,J;for(U=!1,m=!1,N=e+1,M=(at(e,t.c.length),l(t.c[e],189)),p=M.a,y=null,f=0;f<M.a.c.length;f++)if(u=(at(f,p.c.length),l(p.c[f],175)),!u.c){if(u.b.c.length==0){eg(),q6(M,u),--f,U=!0;continue}if(u.k||(y&&hF(y),y=new Phe(y?y.e+y.d+o:0,M.f,o),U6(u,y.e+y.d,M.f),Fe(M.d,y),Tge(y,u),u.k=!0),v=null,v=(J=null,f<M.a.c.length-1?J=l(ze(M.a,f+1),175):N<t.c.length&&(at(N,t.c.length),l(t.c[N],189)).a.c.length!=0&&(J=l(ze((at(N,t.c.length),l(t.c[N],189)).a,0),175)),J),G=!1,v&&(G=!gr(v.j,M)),v){if(v.b.c.length!=0&&!Ye(Ke(l(ze(v.b,0),19).mf((ef(),DL)))))c6(u,r-u.s),hF(u.q),U=U|lyn(M,u,v,r,o);else{q6(M,v);break}if(v.b.c.length==0)for(t.c.length>N&&q6((at(N,t.c.length),l(t.c[N],189)),v),v=null;t.c.length>N&&(at(N,t.c.length),l(t.c[N],189)).a.c.length==0;)Xa(t,(at(N,t.c.length),t.c[N]));if(!v){--f;continue}if(!Ye(Ke(l(ze(v.b,0),19).mf((ef(),DL))))&&UAn(t,M,u,v,G,r,N,o)){U=!0;continue}if(G){if(R=M.b,T=v.f,!Ye(Ke(l(ze(v.b,0),19).mf(DL)))&&ukn(t,M,u,v,r,N,o,a)){if(U=!0,R<T){m=!0,v.j=M;break}continue}else if(Qge(M,u)){u.c=!0,U=!0;continue}}else if(Qge(M,u)){u.c=!0,U=!0;continue}if(U)continue}if(Qge(M,u)){u.c=!0,U=!0,v&&(v.k=!1);continue}else hF(u.q)}return new Co((Lt(),!!U),!!m)}function fr(e){var t,r,o;if(e.d>=e.j){e.a=-1,e.c=1;return}if(t=uo(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(o=10,e.d>=e.j)throw Y(new Dn(jn((Cn(),W7))));e.a=uo(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d<e.j&&uo(e.i,e.d)==91?(++e.d,o=24):o=0;break;case 91:if((e.e&512)!=512&&e.d<e.j&&uo(e.i,e.d)==58){++e.d,o=20;break}default:(t&64512)==TD&&e.d<e.j&&(r=uo(e.i,e.d),(r&64512)==56320&&(e.a=Io+(t-TD<<10)+r-56320,++e.d)),o=0}e.c=o;return}switch(t){case 124:o=2;break;case 42:o=3;break;case 43:o=4;break;case 63:o=5;break;case 41:o=7;break;case 46:o=8;break;case 91:o=9;break;case 94:o=11;break;case 36:o=12;break;case 40:if(o=6,e.d>=e.j||uo(e.i,e.d)!=63)break;if(++e.d>=e.j)throw Y(new Dn(jn((Cn(),wQ))));switch(t=uo(e.i,e.d++),t){case 58:o=13;break;case 61:o=14;break;case 33:o=15;break;case 91:o=19;break;case 62:o=18;break;case 60:if(e.d>=e.j)throw Y(new Dn(jn((Cn(),wQ))));if(t=uo(e.i,e.d++),t==61)o=16;else if(t==33)o=17;else throw Y(new Dn(jn((Cn(),mAt))));break;case 35:for(;e.d<e.j&&(t=uo(e.i,e.d++),t!=41););if(t!=41)throw Y(new Dn(jn((Cn(),wAt))));o=21;break;default:if(t==45||97<=t&&t<=122||65<=t&&t<=90){--e.d,o=22;break}else if(t==40){o=23;break}throw Y(new Dn(jn((Cn(),wQ))))}break;case 92:if(o=10,e.d>=e.j)throw Y(new Dn(jn((Cn(),W7))));e.a=uo(e.i,e.d++);break;default:o=0}e.c=o}function O3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G;if(r.Tg("Process compaction",1),!!Ye(Ke(F(t,(js(),Z_e))))){for(a=l(F(t,cw),87),R=ce(le(F(t,une))),nxn(e,t,a),VNn(t,R/2/2),M=t.b,zb(M,new tXe(a)),y=An(M,0);y.b!=y.d.c;)if(m=l(Sn(y),41),!Ye(Ke(F(m,(Nr(),G1))))){if(o=kTn(m,a),U=S_n(m,t),T=0,N=0,o)switch(G=o.e,a.g){case 2:T=G.a-R-m.f.a,U.e.a-R-m.f.a<T&&(T=U.e.a-R-m.f.a),N=T+m.f.a;break;case 1:T=G.a+o.f.a+R,U.e.a+R>T&&(T=U.e.a+U.f.a+R),N=T+m.f.a;break;case 4:T=G.b-R-m.f.b,U.e.b-R-m.f.b<T&&(T=U.e.b-R-m.f.b),N=T+m.f.b;break;case 3:T=G.b+o.f.b+R,U.e.b+R>T&&(T=U.e.b+U.f.b+R),N=T+m.f.b}else if(U)switch(a.g){case 2:T=U.e.a-R-m.f.a,N=T+m.f.a;break;case 1:T=U.e.a+U.f.a+R,N=T+m.f.a;break;case 4:T=U.e.b-R-m.f.b,N=T+m.f.b;break;case 3:T=U.e.b+U.f.b+R,N=T+m.f.b}me(F(t,cne))===me((eC(),kL))?(u=T,f=N,p=hp(dr(new vt(null,new St(e.a,16)),new Utt(u,f))),p.a!=null?a==(Si(),cs)||a==fs?m.e.a=T:m.e.b=T:(a==(Si(),cs)||a==il?p=hp(dr(Mft(new vt(null,new St(e.a,16))),new nXe(u))):p=hp(dr(Mft(new vt(null,new St(e.a,16))),new rXe(u))),p.a!=null&&(a==cs||a==fs?m.e.a=ce(le((cn(p.a!=null),l(p.a,49)).a)):m.e.b=ce(le((cn(p.a!=null),l(p.a,49)).a)))),p.a!=null&&(v=_s(e.a,(cn(p.a!=null),p.a),0),v>0&&v!=l(F(m,Jf),15).a&&(Te(m,G_e,(Lt(),!0)),Te(m,Jf,Oe(v))))):a==(Si(),cs)||a==fs?m.e.a=T:m.e.b=T}r.Ug()}}function D3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee;if(r.Tg("Coffman-Graham Layering",1),t.a.c.length==0){r.Ug();return}for(Ee=l(F(t,(Ue(),NAe)),15).a,m=0,f=0,N=new V(t.a);N.a<N.c.c.length;)for(T=l(q(N),9),T.p=m++,u=new Ft(Gt(Or(T).a.Jc(),new D));an(u);)a=l(en(u),17),a.p=f++;for(e.d=we(cc,Ad,30,m,16,1),e.a=we(cc,Ad,30,f,16,1),e.b=we(Rn,Qn,30,m,15,1),e.e=we(Rn,Qn,30,m,15,1),e.f=we(Rn,Qn,30,m,15,1),yj(e.c),B0n(e,t),M=new bP(new vJe(e)),de=new V(t.a);de.a<de.c.c.length;){for(re=l(q(de),9),u=new Ft(Gt(si(re).a.Jc(),new D));an(u);)a=l(en(u),17),e.a[a.p]||++e.b[re.p];e.b[re.p]==0&&xS(V_(M,re),fx)}for(p=0;M.b.c.length!=0;)for(re=l(hK(M),9),e.f[re.p]=p++,u=new Ft(Gt(Or(re).a.Jc(),new D));an(u);)a=l(en(u),17),!e.a[a.p]&&(G=a.d.i,--e.b[G.p],yt(e.c,G,Oe(e.f[re.p])),e.b[G.p]==0&&xS(V_(M,G),fx));for(R=new bP(new EJe(e)),oe=new V(t.a);oe.a<oe.c.c.length;){for(re=l(q(oe),9),u=new Ft(Gt(Or(re).a.Jc(),new D));an(u);)a=l(en(u),17),e.a[a.p]||++e.e[re.p];e.e[re.p]==0&&xS(V_(R,re),fx)}for(v=new je,o=pat(t,v);R.b.c.length!=0;)for(J=l(hK(R),9),(o.a.c.length>=Ee||!P1n(J,o))&&(o=pat(t,v)),Oi(J,o),u=new Ft(Gt(si(J).a.Jc(),new D));an(u);)a=l(en(u),17),!e.a[a.p]&&(U=a.c.i,--e.e[U.p],e.e[U.p]==0&&xS(V_(R,U),fx));for(y=v.c.length-1;y>=0;--y)Fe(t.b,(at(y,v.c.length),l(v.c[y],26)));t.a.c.length=0,r.Ug()}function WEt(e){var t,r,o,a,u,f,p,m,y;for(e.b=1,fr(e),t=null,e.c==0&&e.a==94?(fr(e),t=(hr(),hr(),new bu(4)),Sa(t,0,Fx),p=new bu(4)):p=(hr(),hr(),new bu(4)),a=!0;(y=e.c)!=1;){if(y==0&&e.a==93&&!a){t&&($C(t,p),p=t);break}if(r=e.a,o=!1,y==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Iy(p,tx(r)),o=!0;break;case 105:case 73:case 99:case 67:r=(Iy(p,tx(r)),-1),r<0&&(o=!0);break;case 112:case 80:if(m=wme(e,r),!m)throw Y(new Dn(jn((Cn(),yQ))));Iy(p,m),o=!0;break;default:r=n0e(e)}else if(y==24&&!a){if(t&&($C(t,p),p=t),u=WEt(e),$C(p,u),e.c!=0||e.a!=93)throw Y(new Dn(jn((Cn(),kAt))));break}if(fr(e),!o){if(y==0){if(r==91)throw Y(new Dn(jn((Cn(),_Ee))));if(r==93)throw Y(new Dn(jn((Cn(),xEe))));if(r==45&&!a&&e.a!=93)throw Y(new Dn(jn((Cn(),vQ))))}if(e.c!=0||e.a!=45||r==45&&a)Sa(p,r,r);else{if(fr(e),(y=e.c)==1)throw Y(new Dn(jn((Cn(),K7))));if(y==0&&e.a==93)Sa(p,r,r),Sa(p,45,45);else{if(y==0&&e.a==93||y==24)throw Y(new Dn(jn((Cn(),vQ))));if(f=e.a,y==0){if(f==91)throw Y(new Dn(jn((Cn(),_Ee))));if(f==93)throw Y(new Dn(jn((Cn(),xEe))));if(f==45)throw Y(new Dn(jn((Cn(),vQ))))}else y==10&&(f=n0e(e));if(fr(e),r>f)throw Y(new Dn(jn((Cn(),IAt))));Sa(p,r,f)}}}a=!1}if(e.c==1)throw Y(new Dn(jn((Cn(),K7))));return kE(p),PC(p),e.b=0,fr(e),p}function KEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;de=!1;do for(de=!1,u=t?new Xh(e.a.b).a.gc()-2:1;t?u>=0:u<new Xh(e.a.b).a.gc();u+=t?-1:1)for(a=rpe(e.a,Oe(u)),R=0;R<a.b;R++)if(T=l(sa(a,R),9),!!br(T,(Ie(),Cr))&&!(V0n(e.a,Oe(u))&&e.r==(x1(),ak)||W0n(e.a,Oe(u))&&e.r==(x1(),KI))){for(oe=!0,J=0;J<a.b;J++)G=l(sa(a,J),9),br(G,Cr)&&(t&&l(F(T,Cr),15).a<l(F(G,Cr),15).a||!t&&l(F(T,Cr),15).a>l(F(G,Cr),15).a)&&(oe=!1);if(oe){for(m=t?u+1:u-1,p=rpe(e.a,Oe(m)),f=!1,re=!0,o=!1,v=An(p,0);v.b!=v.d.c;)y=l(Sn(v),9),br(y,Cr)?y.p!=T.p&&(f=f|(t?l(F(y,Cr),15).a<l(F(T,Cr),15).a:l(F(y,Cr),15).a>l(F(T,Cr),15).a),re=!1):!f&&re&&y.k==(Ht(),ta)&&(o=!0,t?N=l(en(new Ft(Gt(si(y).a.Jc(),new D))),17).c.i:N=l(en(new Ft(Gt(Or(y).a.Jc(),new D))),17).d.i,N==T&&(t?r=l(en(new Ft(Gt(Or(y).a.Jc(),new D))),17).d.i:r=l(en(new Ft(Gt(si(y).a.Jc(),new D))),17).c.i,(t?l(qw(e.a,r),15).a-l(qw(e.a,N),15).a:l(qw(e.a,N),15).a-l(qw(e.a,r),15).a)<=2&&(re=!1)));if(o&&re&&(t?r=l(en(new Ft(Gt(Or(T).a.Jc(),new D))),17).d.i:r=l(en(new Ft(Gt(si(T).a.Jc(),new D))),17).c.i,(t?l(qw(e.a,r),15).a-l(qw(e.a,T),15).a:l(qw(e.a,T),15).a-l(qw(e.a,r),15).a)<=2&&r.k==(Ht(),Xr)&&(re=!1)),f||re){for(U=Swt(e,T,t);U.a.gc()!=0;)M=l(U.a.ec().Jc().Pb(),9),U.a.Ac(M)!=null,wo(U,Swt(e,M,t));--R,de=!0}}}while(de)}function L3n(e){xn(e.c,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#decimal"])),xn(e.d,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#integer"])),xn(e.e,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#boolean"])),xn(e.f,Bn,Z(X(Je,1),Pe,2,6,[ho,"EBoolean",sr,"EBoolean:Object"])),xn(e.i,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#byte"])),xn(e.g,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#hexBinary"])),xn(e.j,Bn,Z(X(Je,1),Pe,2,6,[ho,"EByte",sr,"EByte:Object"])),xn(e.n,Bn,Z(X(Je,1),Pe,2,6,[ho,"EChar",sr,"EChar:Object"])),xn(e.t,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#double"])),xn(e.u,Bn,Z(X(Je,1),Pe,2,6,[ho,"EDouble",sr,"EDouble:Object"])),xn(e.F,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#float"])),xn(e.G,Bn,Z(X(Je,1),Pe,2,6,[ho,"EFloat",sr,"EFloat:Object"])),xn(e.I,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#int"])),xn(e.J,Bn,Z(X(Je,1),Pe,2,6,[ho,"EInt",sr,"EInt:Object"])),xn(e.N,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#long"])),xn(e.O,Bn,Z(X(Je,1),Pe,2,6,[ho,"ELong",sr,"ELong:Object"])),xn(e.Z,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#short"])),xn(e.$,Bn,Z(X(Je,1),Pe,2,6,[ho,"EShort",sr,"EShort:Object"])),xn(e._,Bn,Z(X(Je,1),Pe,2,6,[ho,"http://www.w3.org/2001/XMLSchema#string"]))}function Ue(){Ue=K,kte=(_n(),eDt),GAe=tDt,vL=nDt,od=rDt,s2=xNe,ym=kNe,nv=NNe,ok=CNe,sk=INe,Nte=sU,vm=Od,Cte=iDt,GI=DNe,SB=qT,yL=(ewe(),qCt),tv=VCt,B1=WCt,rv=KCt,LIt=new Mi(HL,Oe(0)),ik=HCt,zAe=zCt,FT=GCt,QAe=bIt,VAe=XCt,WAe=eIt,Rte=aIt,KAe=rIt,YAe=oIt,TB=vIt,Ote=mIt,XAe=fIt,JAe=lIt,ZAe=pIt,OAe=ACt,Tte=vCt,mB=yCt,Ate=SCt,ow=PCt,zI=jCt,Ete=K3t,EAe=J3t,$It=wk,BIt=aU,FIt=hv,jIt=mk,qAe=(VS(),bv),new Mi(VT,qAe),FAe=new xb(12),jAe=new Mi(df,FAe),wAe=(gp(),Ek),kp=new Mi(rNe,wAe),Zy=new Mi(zc,0),MIt=new Mi(Tre,Oe(1)),cB=new Mi(gk,bx),wm=oU,Zr=bk,rk=w2,kIt=BL,Kf=U6t,Yy=p2,PIt=new Mi(Are,(Lt(),!0)),Jy=UL,bm=gre,mm=Am,EB=q1,xte=lv,mAe=(Si(),hf),xu=new Mi(Tm,mAe),iw=b2,yB=dNe,Qy=dv,DIt=Sre,UAe=ANe,BAe=(EE(),WL),new Mi(yNe,BAe),IIt=wre,RIt=yre,OIt=vre,CIt=mre,Ite=JCt,bB=wCt,wL=mCt,qI=YCt,Cs=lCt,jT=B3t,BI=$3t,tk=A3t,pAe=_3t,wte=C3t,mL=x3t,yte=j3t,DAe=_Ct,LAe=xCt,kAe=iCt,vB=BCt,_te=CCt,Ste=Q3t,PAe=LCt,vAe=V3t,vte=W3t,mte=$L,MAe=kCt,lB=s3t,lAe=o3t,uB=i3t,AAe=nCt,TAe=tCt,_Ae=rCt,nk=m2,as=g2,_g=q6t,Yf=pre,o2=iU,gAe=R3t,xg=Ere,PI=G6t,gB=W6t,sw=ENe,$Ae=J6t,Xy=X6t,CAe=fCt,IAe=pCt,ev=GT,hte=r3t,RAe=bCt,pB=z3t,hB=H3t,wB=Cp,NAe=aCt,HI=RCt,EL=RNe,bAe=U3t,HAe=UCt,yAe=G3t,AIt=D3t,_It=L3t,NIt=uCt,xIt=M3t,xAe=bre,UI=dCt,fB=P3t,Ch=T3t,gte=v3t,bL=c3t,pte=u3t,dB=E3t,jI=a3t,bte=S3t,Ky=y3t,$I=w3t,TIt=m3t,PT=l3t,FI=b3t,hAe=g3t,dAe=d3t,fAe=h3t,SAe=eCt}function M3n(e,t,r,o,a,u,f){var p,m,y,v,T,N,R,M;return N=l(o.a,15).a,R=l(o.b,15).a,T=e.b,M=e.c,p=0,v=0,t==(Si(),cs)||t==fs?(v=wO(Tgt(ny(Oa(new vt(null,new St(r.b,16)),new yze),new nze))),T.e.b+T.f.b/2>v?(y=++R,p=ce(le(Xc(Zw(Oa(new vt(null,new St(r.b,16)),new Gtt(a,y)),new rze))))):(m=++N,p=ce(le(Xc(NS(Oa(new vt(null,new St(r.b,16)),new qtt(a,m)),new ize)))))):(v=wO(Tgt(ny(Oa(new vt(null,new St(r.b,16)),new fze),new eze))),T.e.a+T.f.a/2>v?(y=++R,p=ce(le(Xc(Zw(Oa(new vt(null,new St(r.b,16)),new ztt(a,y)),new oze))))):(m=++N,p=ce(le(Xc(NS(Oa(new vt(null,new St(r.b,16)),new Htt(a,m)),new lze)))))),t==cs?(So(e.a,new Me(ce(le(F(T,(Nr(),Id))))-a,p)),So(e.a,new Me(M.e.a+M.f.a+a+u,p)),So(e.a,new Me(M.e.a+M.f.a+a+u,M.e.b+M.f.b/2)),So(e.a,new Me(M.e.a+M.f.a,M.e.b+M.f.b/2))):t==fs?(So(e.a,new Me(ce(le(F(T,(Nr(),sd))))+a,T.e.b+T.f.b/2)),So(e.a,new Me(T.e.a+T.f.a+a,p)),So(e.a,new Me(M.e.a-a-u,p)),So(e.a,new Me(M.e.a-a-u,M.e.b+M.f.b/2)),So(e.a,new Me(M.e.a,M.e.b+M.f.b/2))):t==il?(So(e.a,new Me(p,ce(le(F(T,(Nr(),Id))))-a)),So(e.a,new Me(p,M.e.b+M.f.b+a+u)),So(e.a,new Me(M.e.a+M.f.a/2,M.e.b+M.f.b+a+u)),So(e.a,new Me(M.e.a+M.f.a/2,M.e.b+M.f.b+a))):(e.a.b==0||(l(zl(e.a),8).b=ce(le(F(T,(Nr(),sd))))+a*l(f.b,15).a),So(e.a,new Me(p,ce(le(F(T,(Nr(),sd))))+a*l(f.b,15).a)),So(e.a,new Me(p,M.e.b-a*l(f.a,15).a-u))),new Co(Oe(N),Oe(R))}function P3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R;if(f=!0,T=null,o=null,a=null,t=!1,R=rLt,y=null,u=null,p=0,m=wY(e,p,k3e,N3e),m<e.length&&(Jt(m,e.length),e.charCodeAt(m)==58)&&(T=(io(p,m,e.length),e.substr(p,m-p)),p=m+1),r=T!=null&&VN(SU,T.toLowerCase()),r){if(m=e.lastIndexOf("!/"),m==-1)throw Y(new jt("no archive separator"));f=!0,o=yl(e,p,++m),p=m}else p>=0&&wt(e.substr(p,2),"//")?(p+=2,m=wY(e,p,O4,D4),o=(io(p,m,e.length),e.substr(p,m-p)),p=m):T!=null&&(p==e.length||(Jt(p,e.length),e.charCodeAt(p)!=47))&&(f=!1,m=Nde(e,Qa(35),p),m==-1&&(m=e.length),o=(io(p,m,e.length),e.substr(p,m-p)),p=m);if(!r&&p<e.length&&(Jt(p,e.length),e.charCodeAt(p)==47)&&(m=wY(e,p+1,O4,D4),v=(io(p+1,m,e.length),e.substr(p+1,m-(p+1))),v.length>0&&uo(v,v.length-1)==58&&(a=v,p=m)),p<e.length&&(Jt(p,e.length),e.charCodeAt(p)==47)&&(++p,t=!0),p<e.length&&(Jt(p,e.length),e.charCodeAt(p)!=63)&&(Jt(p,e.length),e.charCodeAt(p)!=35)){for(N=new je;p<e.length&&(Jt(p,e.length),e.charCodeAt(p)!=63)&&(Jt(p,e.length),e.charCodeAt(p)!=35);)m=wY(e,p,O4,D4),Fe(N,(io(p,m,e.length),e.substr(p,m-p))),p=m,p<e.length&&(Jt(p,e.length),e.charCodeAt(p)==47)&&(Qpn(e,++p)||N.c.push(""));R=we(Je,Pe,2,N.c.length,6,1),Yd(N,R)}return p<e.length&&(Jt(p,e.length),e.charCodeAt(p)==63)&&(m=KA(e,35,++p),m==-1&&(m=e.length),y=(io(p,m,e.length),e.substr(p,m-p)),p=m),p<e.length&&(u=ghe(e,++p)),pkn(f,T,o,a,R,y),new wJ(f,T,o,a,t,R,y,u)}function hD(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(ma(e.b,t)){if(bl(l(Ut(e.b,t),47),r))return 1}else Jn(e.b,t,new pi);if(ma(e.b,r)){if(bl(l(Ut(e.b,r),47),t))return-1}else Jn(e.b,r,new pi);if(ma(e.g,t)){if(bl(l(Ut(e.g,t),47),r))return-1}else Jn(e.g,t,new pi);if(ma(e.g,r)){if(bl(l(Ut(e.b,r),47),t))return 1}else Jn(e.g,r,new pi);if(e.e==(bp(),Hte)||!br(t,(Ie(),Cr))||!br(r,(Ie(),Cr))){for(N=null,v=new V(t.j);v.a<v.c.c.length;)if(m=l(q(v),12),m.e.c.length!=0&&l(ze(m.e,0),17).c.i.c.p==t.c.p-1){N=l(ze(m.e,0),17).c;break}for(M=null,y=new V(r.j);y.a<y.c.c.length;)if(m=l(q(y),12),m.e.c.length!=0&&l(ze(m.e,0),17).c.i.c.p==r.c.p-1){M=l(ze(m.e,0),17).c;break}if(N&&M){if(T=N.i,R=M.i,T&&T==R){for(G=new V(T.j);G.a<G.c.c.length;){if(U=l(q(G),12),U==N)return au(e,r,t),-1;if(U==M)return au(e,t,r),1}return a=qY(e,t),f=qY(e,r),a>f?(au(e,t,r),1):(au(e,r,t),-1)}for(re=e.f,oe=0,de=re.length;oe<de;++oe){if(J=re[oe],J==T)return au(e,r,t),-1;if(J==R)return au(e,t,r),1}}if(N&&!M||!N&&M){if(o=JEt(e,t,r),o!=0)return o>0?au(e,t,r):au(e,r,t),o;if(!br(t,(Ie(),Cr))||!br(r,Cr))return u=qY(e,t),p=qY(e,r),u>p?(au(e,t,r),1):(au(e,r,t),-1)}if(!N&&!M&&(o=JEt(e,t,r),o!=0))return o>0?au(e,t,r):au(e,r,t),o}return br(t,(Ie(),Cr))&&br(r,Cr)?(u=D0(t,r,e.c,l(F(e.c,$1),15).a),p=D0(r,t,e.c,l(F(e.c,$1),15).a),u>p?(au(e,t,r),1):(au(e,r,t),-1)):(au(e,r,t),-1)}function YEt(){YEt=K,KJ(),Wn=new b0,yt(Wn,(He(),dd),gf),yt(Wn,Rl,gf),yt(Wn,Ic,gf),yt(Wn,fd,gf),yt(Wn,sc,gf),yt(Wn,Rc,gf),yt(Wn,fd,dd),yt(Wn,gf,ol),yt(Wn,dd,ol),yt(Wn,Rl,ol),yt(Wn,Ic,ol),yt(Wn,oc,ol),yt(Wn,fd,ol),yt(Wn,sc,ol),yt(Wn,Rc,ol),yt(Wn,Wa,ol),yt(Wn,gf,Nu),yt(Wn,dd,Nu),yt(Wn,ol,Nu),yt(Wn,Rl,Nu),yt(Wn,Ic,Nu),yt(Wn,oc,Nu),yt(Wn,fd,Nu),yt(Wn,Wa,Nu),yt(Wn,Cu,Nu),yt(Wn,sc,Nu),yt(Wn,vc,Nu),yt(Wn,Rc,Nu),yt(Wn,dd,Rl),yt(Wn,Ic,Rl),yt(Wn,fd,Rl),yt(Wn,Rc,Rl),yt(Wn,dd,Ic),yt(Wn,Rl,Ic),yt(Wn,fd,Ic),yt(Wn,Ic,Ic),yt(Wn,sc,Ic),yt(Wn,gf,sl),yt(Wn,dd,sl),yt(Wn,ol,sl),yt(Wn,Nu,sl),yt(Wn,Rl,sl),yt(Wn,Ic,sl),yt(Wn,oc,sl),yt(Wn,fd,sl),yt(Wn,Cu,sl),yt(Wn,Wa,sl),yt(Wn,Rc,sl),yt(Wn,sc,sl),yt(Wn,ka,sl),yt(Wn,gf,Cu),yt(Wn,dd,Cu),yt(Wn,ol,Cu),yt(Wn,Rl,Cu),yt(Wn,Ic,Cu),yt(Wn,oc,Cu),yt(Wn,fd,Cu),yt(Wn,Wa,Cu),yt(Wn,Rc,Cu),yt(Wn,vc,Cu),yt(Wn,ka,Cu),yt(Wn,dd,Wa),yt(Wn,Rl,Wa),yt(Wn,Ic,Wa),yt(Wn,fd,Wa),yt(Wn,Cu,Wa),yt(Wn,Rc,Wa),yt(Wn,sc,Wa),yt(Wn,gf,ic),yt(Wn,dd,ic),yt(Wn,ol,ic),yt(Wn,Rl,ic),yt(Wn,Ic,ic),yt(Wn,oc,ic),yt(Wn,fd,ic),yt(Wn,Wa,ic),yt(Wn,Rc,ic),yt(Wn,dd,sc),yt(Wn,ol,sc),yt(Wn,Nu,sc),yt(Wn,Ic,sc),yt(Wn,gf,vc),yt(Wn,dd,vc),yt(Wn,Nu,vc),yt(Wn,Rl,vc),yt(Wn,Ic,vc),yt(Wn,oc,vc),yt(Wn,fd,vc),yt(Wn,fd,ka),yt(Wn,Ic,ka),yt(Wn,Wa,gf),yt(Wn,Wa,Rl),yt(Wn,Wa,ol),yt(Wn,oc,gf),yt(Wn,oc,dd),yt(Wn,oc,Nu)}function j3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;switch(r.Tg("Brandes & Koepf node placement",1),e.a=t,e.c=h_n(t),o=l(F(t,(Ue(),_te)),284),R=Ye(Ke(F(t,HI))),e.d=o==(K6(),Z$)&&!R||o==Jee,akn(e,t),Ee=null,ye=null,J=null,re=null,G=(wu(4,Oy),new Da(4)),l(F(t,_te),284).g){case 3:J=new CE(t,e.c.d,(zd(),Em),(If(),kg)),Rt(G.c,J);break;case 1:re=new CE(t,e.c.d,(zd(),cf),(If(),kg)),Rt(G.c,re);break;case 4:Ee=new CE(t,e.c.d,(zd(),Em),(If(),aw)),Rt(G.c,Ee);break;case 2:ye=new CE(t,e.c.d,(zd(),cf),(If(),aw)),Rt(G.c,ye);break;default:J=new CE(t,e.c.d,(zd(),Em),(If(),kg)),re=new CE(t,e.c.d,cf,kg),Ee=new CE(t,e.c.d,Em,aw),ye=new CE(t,e.c.d,cf,aw),Rt(G.c,Ee),Rt(G.c,ye),Rt(G.c,J),Rt(G.c,re)}for(a=new Ptt(t,e.c),p=new V(G);p.a<p.c.c.length;)u=l(q(p),188),YNn(a,u,e.b),q_n(u);for(N=new pbt(t,e.c),m=new V(G);m.a<m.c.c.length;)u=l(q(m),188),vkn(N,u);if(r.$g())for(y=new V(G);y.a<y.c.c.length;)u=l(q(y),188),r.ah(u+" size is "+fJ(u));if(T=null,e.d&&(v=UNn(e,G,e.c.d),Avt(t,v,r)&&(T=v)),!T)for(y=new V(G);y.a<y.c.c.length;)u=l(q(y),188),Avt(t,u,r)&&(!T||fJ(T)>fJ(u))&&(T=u);for(!T&&(T=(at(0,G.c.length),l(G.c[0],188))),U=new V(t.b);U.a<U.c.c.length;)for(M=l(q(U),26),de=new V(M.a);de.a<de.c.c.length;)oe=l(q(de),9),oe.n.b=ce(T.p[oe.p])+ce(T.d[oe.p]);for(r.$g()&&(r.ah("Chosen node placement: "+T),r.ah("Blocks: "+O0t(T)),r.ah("Classes: "+CEn(T,r)),r.ah("Marked edges: "+e.b)),f=new V(G);f.a<f.c.c.length;)u=l(q(f),188),u.g=null,u.b=null,u.a=null,u.d=null,u.j=null,u.i=null,u.p=null;qln(e.c),e.b.a.$b(),r.Ug()}function JEt(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;if(t.k==(Ht(),bi)&&r.k==Xr)return u=l(ze(l(vS(hp(dr(new vt(null,new St(t.j,16)),new p9))),12).e,0),17).c,a=u.i,p=l(ze(l(vS(hp(dr(new vt(null,new St(t.j,16)),new g9))),12).g,0),17).d,f=p.i,o=t.c.p,a.c.p!=o&&f.c.p!=o?0:a==r||f==r?(au(e,t,r),1):hD(e,a,r);if(t.k==Xr&&r.k==bi)return u=l(ze(l(vS(hp(dr(new vt(null,new St(r.j,16)),new p9))),12).e,0),17).c,a=u.i,p=l(ze(l(vS(hp(dr(new vt(null,new St(r.j,16)),new g9))),12).g,0),17).d,f=p.i,o=t.c.p,a.c.p!=o&&f.c.p!=o?0:a==t||f==t?(au(e,r,t),-1):hD(e,t,a);if(t.k==bi&&r.k==bi){if(N=l(ze(l(vS(hp(dr(new vt(null,new St(t.j,16)),new p9))),12).e,0),17).c,R=l(ze(l(vS(hp(dr(new vt(null,new St(t.j,16)),new g9))),12).g,0),17).d,M=N.i,U=R.i,m=t.c.p,v=!1,T=!1,de=l(ze(l(vS(hp(dr(new vt(null,new St(r.j,16)),new p9))),12).e,0),17).c,Ee=l(ze(l(vS(hp(dr(new vt(null,new St(r.j,16)),new g9))),12).g,0),17).d,ye=de.i,qe=Ee.i,G=r.c.p,re=!1,oe=!1,y=t,J=r,M.c.p==m?(v=!0,y=M):U.c.p==m&&(T=!0,y=U),ye.c.p==G?(re=!0,J=ye):qe.c.p==G&&(oe=!0,J=qe),y==J)if(e.a){if(v&&re)return Ct=e2t(new jpe(e.c,e.f,e.e,null,oe),N,de),Ct>0?(au(e,r,t),1):(au(e,t,r),-1);if(v&&oe)return au(e,r,t),1;if(T&&re)return au(e,t,r),-1;if(T&&oe)return 0}else for(ft=new V(y.j);ft.a<ft.c.c.length;){if(dt=l(q(ft),12),N==dt)return au(e,r,t),-1;if(de==dt)return au(e,t,r),1}return hD(e,y,J)}else return 0}function F3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on;if(e.c.length==1)return O1t((at(0,e.c.length),l(e.c[0],121))),at(0,e.c.length),l(e.c[0],121);if(e.c.length<=0)return new i6;for(m=new V(e);m.a<m.c.c.length;){for(f=l(q(m),121),re=0,M=ar,U=ar,N=Zi,R=Zi,J=An(f.b,0);J.b!=J.d.c;)G=l(Sn(J),41),re+=l(F(G,(js(),$B)),15).a,M=b.Math.min(M,G.e.a),U=b.Math.min(U,G.e.b),N=b.Math.max(N,G.e.a+G.f.a),R=b.Math.max(R,G.e.b+G.f.b);Te(f,(js(),$B),Oe(re)),Te(f,(Nr(),uk),new Me(M,U)),Te(f,NL,new Me(N,R))}for(At(),ki(e,new xHe),Ee=new i6,qs(Ee,(at(0,e.c.length),l(e.c[0],105))),T=0,Ct=0,y=new V(e);y.a<y.c.c.length;)f=l(q(y),121),ye=Di(Ao(l(F(f,(Nr(),NL)),8)),l(F(f,uk),8)),T=b.Math.max(T,ye.a),Ct+=ye.a*ye.b;for(T=b.Math.max(T,b.Math.sqrt(Ct)*ce(le(F(Ee,(js(),gRt))))),qe=ce(le(F(Ee,une))),Ot=0,on=0,v=0,t=qe,p=new V(e);p.a<p.c.c.length;)f=l(q(p),121),ye=Di(Ao(l(F(f,(Nr(),NL)),8)),l(F(f,uk),8)),Ot+ye.a>T&&(Ot=0,on+=v+qe,v=0),jyt(Ee,f,Ot,on),t=b.Math.max(t,Ot+ye.a),v=b.Math.max(v,ye.b),Ot+=ye.a+qe;for(de=new hn,r=new hn,ft=new V(e);ft.a<ft.c.c.length;)for(dt=l(q(ft),121),o=Ye(Ke(F(dt,(_n(),BL)))),oe=dt.q?dt.q:xh,u=oe.vc().Jc();u.Ob();)a=l(u.Pb(),45),ma(de,a.jd())?me(l(a.jd(),149).Rg())!==me(a.kd())&&(o&&ma(r,a.jd())?(eg(),""+l(a.jd(),149).Og()):(Jn(de,l(a.jd(),149),a.kd()),Te(Ee,l(a.jd(),149),a.kd()),o&&Jn(r,l(a.jd(),149),a.kd()))):(Jn(de,l(a.jd(),149),a.kd()),Te(Ee,l(a.jd(),149),a.kd()));return iyt(Ee,new LG),O1t(Ee),Ee}function e7(e,t){switch(e.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new Fat(e.b,e.a,t,e.c);case 1:return new j8(e.a,t,Ur(t.Ah(),e.c));case 43:return new Trt(e.a,t,Ur(t.Ah(),e.c));case 3:return new Ei(e.a,t,Ur(t.Ah(),e.c));case 45:return new dc(e.a,t,Ur(t.Ah(),e.c));case 41:return new pc(l(Sl(e.c),29),e.a,t,Ur(t.Ah(),e.c));case 50:return new eht(l(Sl(e.c),29),e.a,t,Ur(t.Ah(),e.c));case 5:return new afe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 47:return new $it(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 7:return new ke(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 49:return new TS(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 9:return new Art(e.a,t,Ur(t.Ah(),e.c));case 11:return new xrt(e.a,t,Ur(t.Ah(),e.c));case 13:return new Ede(e.a,t,Ur(t.Ah(),e.c));case 15:return new Q8(e.a,t,Ur(t.Ah(),e.c));case 17:return new _rt(e.a,t,Ur(t.Ah(),e.c));case 19:return new sE(e.a,t,Ur(t.Ah(),e.c));case 21:return new vde(e.a,t,Ur(t.Ah(),e.c));case 23:return new zO(e.a,t,Ur(t.Ah(),e.c));case 25:return new Hit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 27:return new Tt(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 29:return new Uit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 31:return new Bit(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 33:return new ufe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 35:return new cfe(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 37:return new IV(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 39:return new wP(e.a,t,Ur(t.Ah(),e.c),e.d.n);case 40:return new ni(t,Ur(t.Ah(),e.c));default:throw Y(new Es("Unknown feature style: "+e.e))}}function $3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn;for(p=new Ar,qe=l(F(r,(Ue(),xu)),87),G=0,o=new pi,wo(p,(!t.a&&(t.a=new ke(En,t,10,11)),t.a));p.b!=0;)T=l(p.b==0?null:(cn(p.b!=0),Vu(p,p.a.a)),19),v=Br(T),WF(v)&&!Ye(Ke(ve(T,dB)))&&(Vn(T,(Ie(),Cr),Oe(G++)),Gu(T,Ky)&&gi(o,l(ve(T,Ky),15))),re=!Ye(Ke(ve(T,wm))),re&&(R=(!T.a&&(T.a=new ke(En,T,10,11)),T.a).i!=0,U=kwn(T),M=me(ve(T,Yy))===me((pp(),Ig)),qn=!Gu(T,(_n(),zT))||Slt(In(ve(T,zT))),Ee=null,qn&&M&&(R||U)&&(Ee=lvt(T),Te(Ee,xu,qe),br(Ee,yL)&&vQe(new T1e(ce(le(F(Ee,yL)))),Ee),l(ve(T,mm),185).gc()!=0&&(N=Ee,ei(new vt(null,(!T.c&&(T.c=new ke(Gc,T,9,9)),new St(T.c,16))),new NYe(N)),Jwt(T,Ee))),dt=r,ft=l(Ut(e.a,Br(T)),9),ft&&(dt=ft.e),de=yEt(e,T,dt),Ee&&(de.e=Ee,Ee.e=de,wo(p,(!T.a&&(T.a=new ke(En,T,10,11)),T.a))));for(Te(r,(Ie(),$1),Oe(G)),Te(r,fL,Oe(o.a.gc())),G=0,Wr(p,t,p.c.b,p.c);p.b!=0;){for(f=l(p.b==0?null:(cn(p.b!=0),Vu(p,p.a.a)),19),y=new tn((!f.b&&(f.b=new ke(Ir,f,12,3)),f.b));y.e!=y.i.gc();)m=l(rn(y),74),Ayt(m),WF(t)&&Vn(m,Cr,Oe(G++)),Ot=Jo(l(ie((!m.b&&(m.b=new Tt(pn,m,4,7)),m.b),0),83)),on=Jo(l(ie((!m.c&&(m.c=new Tt(pn,m,5,8)),m.c),0),83)),!(Ye(Ke(ve(m,wm)))||Ye(Ke(ve(Ot,wm)))||Ye(Ke(ve(on,wm))))&&(J=R0(m)&&Ye(Ke(ve(Ot,Jy)))&&Ye(Ke(ve(m,bm))),ye=f,J||ly(on,Ot)?ye=Ot:ly(Ot,on)&&(ye=on),dt=r,ft=l(Ut(e.a,ye),9),ft&&(dt=ft.e),oe=Q0e(e,m,ye,dt),Te(oe,wTe,$Sn(e,m,t,r)));if(M=me(ve(f,Yy))===me((pp(),Ig)),M)for(u=new tn((!f.a&&(f.a=new ke(En,f,10,11)),f.a));u.e!=u.i.gc();)a=l(rn(u),19),qn=!Gu(a,(_n(),zT))||Slt(In(ve(a,zT))),Ct=me(ve(a,Yy))===me(Ig),qn&&Ct&&Wr(p,a,p.c.b,p.c)}}function XEt(e){var t,r,o,a,u,f,p,m;for(u=0,a=e.a.b,m=An(e.a,0);m.b!=m.d.c;){if(p=l(Sn(m),243),f=(u+1)/(a+1),!e.c&&!e.d)return;e.c&&!e.d?(e.g=!0,e.b==(Si(),cs)?(o=e.c.e.b+e.c.f.b+e.e*(u+1),t=new Me(ce(le(F(e.c,(Nr(),sd))))+e.e,o),r=new Me(ce(le(F(e.c,Id)))-e.e,o)):e.b==fs?(o=e.c.e.b+e.c.f.b+e.e*(u+1),t=new Me(ce(le(F(e.c,(Nr(),Id))))-e.e,o),r=new Me(ce(le(F(e.c,sd)))+e.e,o)):e.b==il?(o=e.c.e.a+e.c.f.a+e.e*(u+1),t=new Me(o,ce(le(F(e.c,(Nr(),sd))))+e.e),r=new Me(o,ce(le(F(e.c,Id)))-e.e)):(o=e.c.e.a+e.c.f.a+e.e*(u+1),t=new Me(o,ce(le(F(e.c,(Nr(),Id))))-e.e),r=new Me(o,ce(le(F(e.c,sd)))+e.e))):e.c&&e.d?e.b==(Si(),cs)?(o=e.d.e.b*f+(e.c.e.b+e.c.f.b)*(1-f),t=new Me(ce(le(F(e.c,(Nr(),sd))))+e.e,o),r=new Me(ce(le(F(e.c,Id)))-e.e,o)):e.b==fs?(o=e.d.e.b*f+(e.c.e.b+e.c.f.b)*(1-f),t=new Me(ce(le(F(e.c,(Nr(),Id))))-e.e,o),r=new Me(ce(le(F(e.c,sd)))+e.e,o)):e.b==il?(o=e.d.e.a*f+(e.c.e.a+e.c.f.a)*(1-f),t=new Me(o,ce(le(F(e.c,(Nr(),sd))))+e.e),r=new Me(o,ce(le(F(e.c,Id)))-e.e)):(o=e.d.e.a*f+(e.c.e.a+e.c.f.a)*(1-f),t=new Me(o,ce(le(F(e.c,(Nr(),Id))))-e.e),r=new Me(o,ce(le(F(e.c,sd)))+e.e)):(e.f=!0,e.b==(Si(),cs)?(o=e.d.e.b-e.e*(u+1),t=new Me(ce(le(F(e.d,(Nr(),sd))))+e.e,o),r=new Me(ce(le(F(e.d,Id)))-e.e,o)):e.b==fs?(o=e.d.e.b-e.e*(u+1),t=new Me(ce(le(F(e.d,(Nr(),Id))))-e.e,o),r=new Me(ce(le(F(e.d,sd)))+e.e,o)):e.b==il?(o=e.d.e.a-e.e*(u+1),t=new Me(o,ce(le(F(e.d,(Nr(),sd))))+e.e),r=new Me(o,ce(le(F(e.d,Id)))-e.e)):(o=e.d.e.a-e.e*(u+1),t=new Me(o,ce(le(F(e.d,(Nr(),Id))))-e.e),r=new Me(o,ce(le(F(e.d,sd)))+e.e))),l(p.a,8).a=t.a,l(p.a,8).b=t.b,p.b.a=r.a,p.b.b=r.b,++u}}function B3n(e,t,r,o,a,u){var f,p,m,y,v,T,N,R,M,U,G,J;switch(t){case 71:p=o.q.getFullYear()-N1>=-1900?1:0,r>=4?zn(e,Z(X(Je,1),Pe,2,6,[g2t,b2t])[p]):zn(e,Z(X(Je,1),Pe,2,6,["BC","AD"])[p]);break;case 121:pbn(e,r,o);break;case 77:bAn(e,r,o);break;case 107:m=a.q.getHours(),m==0?bh(e,24,r):bh(e,m,r);break;case 83:O2n(e,r,a);break;case 69:v=o.q.getDay(),r==5?zn(e,Z(X(Je,1),Pe,2,6,["S","M","T","W","T","F","S"])[v]):r==4?zn(e,Z(X(Je,1),Pe,2,6,[gX,bX,mX,wX,yX,vX,EX])[v]):zn(e,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[v]);break;case 97:a.q.getHours()>=12&&a.q.getHours()<24?zn(e,Z(X(Je,1),Pe,2,6,["AM","PM"])[1]):zn(e,Z(X(Je,1),Pe,2,6,["AM","PM"])[0]);break;case 104:T=a.q.getHours()%12,T==0?bh(e,12,r):bh(e,T,r);break;case 75:N=a.q.getHours()%12,bh(e,N,r);break;case 72:R=a.q.getHours(),bh(e,R,r);break;case 99:M=o.q.getDay(),r==5?zn(e,Z(X(Je,1),Pe,2,6,["S","M","T","W","T","F","S"])[M]):r==4?zn(e,Z(X(Je,1),Pe,2,6,[gX,bX,mX,wX,yX,vX,EX])[M]):r==3?zn(e,Z(X(Je,1),Pe,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[M]):bh(e,M,1);break;case 76:U=o.q.getMonth(),r==5?zn(e,Z(X(Je,1),Pe,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[U]):r==4?zn(e,Z(X(Je,1),Pe,2,6,[iX,oX,sX,aX,lT,cX,uX,lX,dX,fX,hX,pX])[U]):r==3?zn(e,Z(X(Je,1),Pe,2,6,["Jan","Feb","Mar","Apr",lT,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[U]):bh(e,U+1,r);break;case 81:G=o.q.getMonth()/3|0,r<4?zn(e,Z(X(Je,1),Pe,2,6,["Q1","Q2","Q3","Q4"])[G]):zn(e,Z(X(Je,1),Pe,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[G]);break;case 100:J=o.q.getDate(),bh(e,J,r);break;case 109:y=a.q.getMinutes(),bh(e,y,r);break;case 115:f=a.q.getSeconds(),bh(e,f,r);break;case 122:r<4?zn(e,u.c[0]):zn(e,u.c[1]);break;case 118:zn(e,u.b);break;case 90:r<3?zn(e,Ovn(u)):r==3?zn(e,Pvn(u)):zn(e,Bvn(u.a));break;default:return!1}return!0}function Q0e(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn;if(Ayt(t),m=l(ie((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b),0),83),v=l(ie((!t.c&&(t.c=new Tt(pn,t,5,8)),t.c),0),83),p=Jo(m),y=Jo(v),f=(!t.a&&(t.a=new ke(jr,t,6,6)),t.a).i==0?null:l(ie((!t.a&&(t.a=new ke(jr,t,6,6)),t.a),0),171),qe=l(Ut(e.a,p),9),Ot=l(Ut(e.a,y),9),dt=null,on=null,se(m,196)&&(ye=l(Ut(e.a,m),248),se(ye,12)?dt=l(ye,12):se(ye,9)&&(qe=l(ye,9),dt=l(ze(qe.j,0),12))),se(v,196)&&(Ct=l(Ut(e.a,v),248),se(Ct,12)?on=l(Ct,12):se(Ct,9)&&(Ot=l(Ct,9),on=l(ze(Ot.j,0),12))),!qe||!Ot)throw Y(new uS("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(U=new p0,qs(U,t),Te(U,(Ie(),wr),t),Te(U,(Ue(),as),null),R=l(F(o,xa),24),qe==Ot&&R.Ec(($o(),II)),dt||(Ee=(Fo(),Ba),ft=null,f&&nE(l(F(qe,Zr),103))&&(ft=new Me(f.j,f.k),Hut(ft,ry(t)),glt(ft,r),ly(y,p)&&(Ee=Cc,mr(ft,qe.n))),dt=Ivt(qe,ft,Ee,o)),on||(Ee=(Fo(),Cc),qn=null,f&&nE(l(F(Ot,Zr),103))&&(qn=new Me(f.b,f.c),Hut(qn,ry(t)),glt(qn,r)),on=Ivt(Ot,qn,Ee,ji(Ot))),mo(U,dt),Yi(U,on),(dt.e.c.length>1||dt.g.c.length>1||on.e.c.length>1||on.g.c.length>1)&&R.Ec(($o(),CI)),N=new tn((!t.n&&(t.n=new ke(Rs,t,1,7)),t.n));N.e!=N.i.gc();)if(T=l(rn(N),158),!Ye(Ke(ve(T,wm)))&&T.a)switch(G=XK(T),Fe(U.b,G),l(F(G,Yf),281).g){case 1:case 2:R.Ec(($o(),Zx));break;case 0:R.Ec(($o(),Xx)),Te(G,Yf,(Kd(),yk))}if(u=l(F(o,BI),302),J=l(F(o,vB),329),a=u==(lC(),aL)||J==(hC(),Bte),f&&(!f.a&&(f.a=new Ei(Iu,f,5)),f.a).i!=0&&a){for(re=Ryn(f),M=new Lc,de=An(re,0);de.b!=de.d.c;)oe=l(Sn(de),8),Gn(M,new To(oe));Te(U,STe,M)}return U}function U3n(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr;for(ft=0,Ct=0,qe=new hn,Ee=l(Xc(Zw(Oa(new vt(null,new St(e.b,16)),new dze),new tze)),15).a+1,dt=we(Rn,Qn,30,Ee,15,1),G=we(Rn,Qn,30,Ee,15,1),U=0;U<Ee;U++)dt[U]=0,G[U]=0;for(m=l(Ac(Uhe(new vt(null,new St(e.a,16))),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),v=m.Jc();v.Ob();)if(y=l(v.Pb(),65),on=l(F(y.b,(js(),Jf)),15).a,Gr=l(F(y.c,Jf),15).a,de=Gr-on,de>1)for(p=on+1;p<Gr;p++){if(T=p,ye=l(Ac(dr(new vt(null,new St(e.b,16)),new lXe(T)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[nc]))),16),M=0,t==(Si(),cs)||t==fs){for(ye.gd(new mze),M=0;M<ye.gc()&&(J=(p-on)/(Gr-on),!(l(ye.Xb(M),41).e.b>y.b.e.b*(1-J)+y.c.e.b*J));M++);if(ye.gc()>0&&(qn=y.a.b==0?Ao(y.b.e):l(zl(y.a),8),oe=mr(Ao(l(ye.Xb(ye.gc()-1),41).e),l(ye.Xb(ye.gc()-1),41).f),N=mr(Ao(l(ye.Xb(0),41).e),l(ye.Xb(0),41).f),M>=ye.gc()-1&&qn.b>oe.b&&y.c.e.b>oe.b||M<=0&&qn.b<N.a&&y.c.e.b<N.b))continue}else{for(ye.gd(new wze),M=0;M<ye.gc()&&(J=(p-on)/(Gr-on),!(l(ye.Xb(M),41).e.a>y.b.e.a*(1-J)+y.c.e.a*J));M++);if(ye.gc()>0&&(qn=y.a.b==0?Ao(y.b.e):l(zl(y.a),8),oe=mr(Ao(l(ye.Xb(ye.gc()-1),41).e),l(ye.Xb(ye.gc()-1),41).f),N=mr(Ao(l(ye.Xb(0),41).e),l(ye.Xb(0),41).f),M>=ye.gc()-1&&qn.a>oe.a&&y.c.e.a>oe.a||M<=0&&qn.a<N.a&&y.c.e.a<N.a))continue}a=new ro,u=new ro,Gn(y.a,a),Gn(y.a,u),f=new FV(a,u,y),re=Of(fh(p,32),Gi(M,Bo)),ma(qe,yy(re))?(R=l(Ut(qe,yy(re)),669),Gn(R.a,f),ep(R.b)?zb(R.a,new vze):zb(R.a,new Eze),XEt(R)):(R=new W1t(M==0?null:l(ye.Xb(M-1),41),M==ye.gc()?null:l(ye.Xb(M),41),f,e),Jn(qe,yy(re),R)),t==cs||t==fs?(R.f&&R.d.e.b<=ce(le(F(e,(Nr(),one))))&&++ft,R.g&&R.c.e.b+R.c.f.b>=ce(le(F(e,(Nr(),W_e))))&&++Ct):(R.f&&R.d.e.a<=ce(le(F(e,(Nr(),ine))))&&++ft,R.g&&R.c.e.a+R.c.f.a>=ce(le(F(e,(Nr(),V_e))))&&++Ct)}else de==0?gme(y):de<0&&(++dt[on],++G[Gr],Ot=M3n(y,t,e,new Co(Oe(ft),Oe(Ct)),r,o,new Co(Oe(G[Gr]),Oe(dt[on]))),ft=l(Ot.a,15).a,Ct=l(Ot.b,15).a)}function H3n(e){e.gb||(e.gb=!0,e.b=Ps(e,0),Jr(e.b,18),Lr(e.b,19),e.a=Ps(e,1),Jr(e.a,1),Lr(e.a,2),Lr(e.a,3),Lr(e.a,4),Lr(e.a,5),e.o=Ps(e,2),Jr(e.o,8),Jr(e.o,9),Lr(e.o,10),Lr(e.o,11),Lr(e.o,12),Lr(e.o,13),Lr(e.o,14),Lr(e.o,15),Lr(e.o,16),Lr(e.o,17),Lr(e.o,18),Lr(e.o,19),Lr(e.o,20),Lr(e.o,21),Lr(e.o,22),Lr(e.o,23),os(e.o),os(e.o),os(e.o),os(e.o),os(e.o),os(e.o),os(e.o),os(e.o),os(e.o),os(e.o),e.p=Ps(e,3),Jr(e.p,2),Jr(e.p,3),Jr(e.p,4),Jr(e.p,5),Lr(e.p,6),Lr(e.p,7),os(e.p),os(e.p),e.q=Ps(e,4),Jr(e.q,8),e.v=Ps(e,5),Lr(e.v,9),os(e.v),os(e.v),os(e.v),e.w=Ps(e,6),Jr(e.w,2),Jr(e.w,3),Jr(e.w,4),Lr(e.w,5),e.B=Ps(e,7),Lr(e.B,1),os(e.B),os(e.B),os(e.B),e.Q=Ps(e,8),Lr(e.Q,0),os(e.Q),e.R=Ps(e,9),Jr(e.R,1),e.S=Ps(e,10),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),os(e.S),e.T=Ps(e,11),Lr(e.T,10),Lr(e.T,11),Lr(e.T,12),Lr(e.T,13),Lr(e.T,14),os(e.T),os(e.T),e.U=Ps(e,12),Jr(e.U,2),Jr(e.U,3),Lr(e.U,4),Lr(e.U,5),Lr(e.U,6),Lr(e.U,7),os(e.U),e.V=Ps(e,13),Lr(e.V,10),e.W=Ps(e,14),Jr(e.W,18),Jr(e.W,19),Jr(e.W,20),Lr(e.W,21),Lr(e.W,22),Lr(e.W,23),e.bb=Ps(e,15),Jr(e.bb,10),Jr(e.bb,11),Jr(e.bb,12),Jr(e.bb,13),Jr(e.bb,14),Jr(e.bb,15),Jr(e.bb,16),Lr(e.bb,17),os(e.bb),os(e.bb),e.eb=Ps(e,16),Jr(e.eb,2),Jr(e.eb,3),Jr(e.eb,4),Jr(e.eb,5),Jr(e.eb,6),Jr(e.eb,7),Lr(e.eb,8),Lr(e.eb,9),e.ab=Ps(e,17),Jr(e.ab,0),Jr(e.ab,1),e.H=Ps(e,18),Lr(e.H,0),Lr(e.H,1),Lr(e.H,2),Lr(e.H,3),Lr(e.H,4),Lr(e.H,5),os(e.H),e.db=Ps(e,19),Lr(e.db,2),e.c=ir(e,20),e.d=ir(e,21),e.e=ir(e,22),e.f=ir(e,23),e.i=ir(e,24),e.g=ir(e,25),e.j=ir(e,26),e.k=ir(e,27),e.n=ir(e,28),e.r=ir(e,29),e.s=ir(e,30),e.t=ir(e,31),e.u=ir(e,32),e.fb=ir(e,33),e.A=ir(e,34),e.C=ir(e,35),e.D=ir(e,36),e.F=ir(e,37),e.G=ir(e,38),e.I=ir(e,39),e.J=ir(e,40),e.L=ir(e,41),e.M=ir(e,42),e.N=ir(e,43),e.O=ir(e,44),e.P=ir(e,45),e.X=ir(e,46),e.Y=ir(e,47),e.Z=ir(e,48),e.$=ir(e,49),e._=ir(e,50),e.cb=ir(e,51),e.K=ir(e,52))}function ZEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe;if(_vt(e,t),(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i!=0){for(p=new je,R=0;R<(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i;R++)a=l(ie(a_(l(ie((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),R),74)),0),19),ZEt(e,a),Rt(p.c,a);for(m=p.c.length,M=0;M<p.c.length-1;M++)gEt((at(0,p.c.length),l(p.c[0],19)),(at(M,p.c.length),l(p.c[M],19)),(at(M+1,p.c.length),l(p.c[M+1],19)));for(G=((at(0,p.c.length),l(p.c[0],19)).mh()+(at(0,p.c.length),l(p.c[0],19)).lh()/2+l(ze(p,p.c.length-1),19).mh()+l(ze(p,p.c.length-1),19).lh()/2-t.g)/2-t.i,f=new V(p);f.a<f.c.c.length;)a=l(q(f),19),va(a,a.i-G),Vn(a,(wh(),uw),l(ve(a,Sm),107).a);for(N=0;N<m-1&&(at(N,p.c.length),l(p.c[N],19)).mh()+(at(N,p.c.length),l(p.c[N],19)).lh()+l((at(N,p.c.length),l(p.c[N],19)).mf((_n(),Cp)),125).c-t.g/2<=0;)++N;for(y=ce(le((at(N,p.c.length),l(p.c[N],19)).mf((wh(),uw)))),o=0;o<m;o++)y<ce(le((at(o,p.c.length),l(p.c[o],19)).mf(uw)))?(at(o,p.c.length),l(p.c[o],19)).of(uw,y):y=ce(le((at(o,p.c.length),l(p.c[o],19)).mf(uw)));for(N=m-1;N>0&&(at(N,p.c.length),l(p.c[N],19)).mh()-l((at(N,p.c.length),l(p.c[N],19)).mf((_n(),Cp)),125).b-t.g/2>=0;)--N;if(N<m)for(r=N;r>=0;r--)y<ce(le((at(r,p.c.length),l(p.c[r],19)).mf(uw)))?(at(r,p.c.length),l(p.c[r],19)).of(uw,y):y=ce(le((at(r,p.c.length),l(p.c[r],19)).mf(uw)));for(U=l((at(0,p.c.length),l(p.c[0],19)).mf(Sm),107),v=l(ve(t,Sm),107),re=(at(0,p.c.length),l(p.c[0],19)).mh()+U.c-v.c,J=new Qc(0,U.a,U.b),XR(v.b.b.b,new Qc(re,ce(le((at(0,p.c.length),l(p.c[0],19)).mf(uw))),J)),T=l(ve(t,av),107),oe=l((at(m-1,p.c.length),l(p.c[m-1],19)).mf(av),107),re=(at(m-1,p.c.length),l(p.c[m-1],19)).mh()+oe.c-T.c,J=new Qc(0,oe.a,oe.b),XR(T.b.b.b,new Qc(re,ce(le((at(m-1,p.c.length),l(p.c[m-1],19)).mf(uw))),J)),u=new V(p);u.a<u.c.c.length;)a=l(q(u),19),Vn(t,Xf,b.Math.max(ce(le(ve(t,Xf))),ce(le(ve(a,Xf))))),Vn(t,hk,b.Math.min(ce(le(ve(t,hk))),a.i+ce(le(ve(a,hk))))),Vn(t,fk,b.Math.max(ce(le(ve(t,fk))),a.i+ce(le(ve(a,fk)))));Vn(t,Yne,le(ve(t,Xf)))}}function QEt(e,t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;if(_vt(e,t),(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i!=0){for(f=new je,v=0;v<(!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e).i;v++)o=l(ie(a_(l(ie((!t.e&&(t.e=new Tt(Ir,t,7,4)),t.e),v),74)),0),19),QEt(e,o),Rt(f.c,o);for(T_n(e,f),T=0;T<f.c.length-1;T++)gEt((at(0,f.c.length),l(f.c[0],19)),(at(T,f.c.length),l(f.c[T],19)),(at(T+1,f.c.length),l(f.c[T+1],19)));for(Ee=0,G=0,J=0;Ee<f.c.length&&(at(Ee,f.c.length),l(f.c[Ee],19)).nh()>=G;)(at(Ee,f.c.length),l(f.c[Ee],19)).nh()>G&&(J=Ee,G=(at(Ee,f.c.length),l(f.c[Ee],19)).nh()),Ee+=1;if(re=0,Ee>0&&(re=((at(J,f.c.length),l(f.c[J],19)).mh()+(at(Ee-1,f.c.length),l(f.c[Ee-1],19)).mh()+(at(Ee-1,f.c.length),l(f.c[Ee-1],19)).lh())/2-t.i-t.g/2),!Ye(Ke(ve(t,(QS(),ere))))){if(r=((at(0,f.c.length),l(f.c[0],19)).mh()+l(ze(f,f.c.length-1),19).mh()+l(ze(f,f.c.length-1),19).lh()-t.g)/2-t.i,r<re){for(y=0;y<J;y++)for(N=y+1;N<J+1;N++)for(dt=l((at(y,f.c.length),l(f.c[y],19)).mf((wh(),av)),107),ft=(at(y,f.c.length),l(f.c[y],19)).mh()+dt.c,ye=(at(N,f.c.length),l(f.c[N],19)).mh()+(at(N,f.c.length),l(f.c[N],19)).lh()/2;dt&&dt.a<G;)oe=ye-t.g/2+(ye-ft)*(t.j+t.f-G)/(G-dt.a),r=b.Math.max(r,oe),dt=dt.b,dt&&(ft+=dt.c);re=r}if(r>re){for(y=Ee;y<f.c.length;y++)for(N=Ee-1;N<y;N++)for(M=l((at(y,f.c.length),l(f.c[y],19)).mf((wh(),Sm)),107),U=(at(y,f.c.length),l(f.c[y],19)).mh()+M.c,ye=(at(N,f.c.length),l(f.c[N],19)).mh()+(at(N,f.c.length),l(f.c[N],19)).lh()/2;M&&M.a<G;)oe=ye-t.g/2+(ye-U)*(t.j+t.f-G)/(G-M.a),r=b.Math.min(r,oe),M=M.b,M&&(U+=M.c);re=r}}for(u=new V(f);u.a<u.c.c.length;)o=l(q(u),19),va(o,o.i-re);for(p=l(ve(t,(wh(),Sm)),107),R=l((at(0,f.c.length),l(f.c[0],19)).mf(Sm),107),de=(at(0,f.c.length),l(f.c[0],19)).mh()+R.c-p.c,XR(p.b.b.b,new Qc(de,R.a,R.b)),m=l(ve(t,av),107),qe=l(l(ze(f,f.c.length-1),19).mf(av),107),de=l(ze(f,f.c.length-1),19).mh()+qe.c-m.c,XR(m.b.b.b,new Qc(de,qe.a,qe.b)),a=new V(f);a.a<a.c.c.length;)o=l(q(a),19),Vn(t,Xf,b.Math.max(ce(le(ve(t,Xf))),ce(le(ve(o,Xf))))),Vn(t,hk,b.Math.min(ce(le(ve(t,hk))),o.i+ce(le(ve(o,hk))))),Vn(t,fk,b.Math.max(ce(le(ve(t,fk))),o.i+ce(le(ve(o,fk)))));Vn(t,Yne,le(ve(t,Xf)))}}function z3n(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M;for(T=An(e.b,0);T.b!=T.d.c;)if(v=l(Sn(T),41),!wt(v.c,L7))for(u=l(Ac(new vt(null,new St(Jvn(v,e),16)),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),16),t==(Si(),cs)||t==fs?u.gd(new gze):u.gd(new bze),M=u.gc(),a=0;a<M;a++)f=M==1?.5:(1+a)/(M+1),t==cs?(y=ce(le(F(v,(Nr(),sd)))),v.e.a+v.f.a+o<y?So(l(u.Xb(a),65).a,new Me(y+r,v.e.b+v.f.b*f)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,R=v.e.b+v.f.b/2,o>0&&b.Math.abs(m-R)/(b.Math.abs(p-N)/40)>50&&(R>m?So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a+o/5.3,v.e.b+v.f.b*f-o/2)):So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a+o/5.3,v.e.b+v.f.b*f+o/2)))),So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a,v.e.b+v.f.b*f))):t==fs?(y=ce(le(F(v,(Nr(),Id)))),v.e.a-o>y?So(l(u.Xb(a),65).a,new Me(y-r,v.e.b+v.f.b*f)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,R=v.e.b+v.f.b/2,o>0&&b.Math.abs(m-R)/(b.Math.abs(p-N)/40)>50&&(R>m?So(l(u.Xb(a),65).a,new Me(v.e.a-o/5.3,v.e.b+v.f.b*f-o/2)):So(l(u.Xb(a),65).a,new Me(v.e.a-o/5.3,v.e.b+v.f.b*f+o/2)))),So(l(u.Xb(a),65).a,new Me(v.e.a,v.e.b+v.f.b*f))):t==il?(y=ce(le(F(v,(Nr(),sd)))),v.e.b+v.f.b+o<y?So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,y+r)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,R=v.e.b+v.f.b/2,o>0&&b.Math.abs(p-N)/(b.Math.abs(m-R)/40)>50&&(N>p?So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f-o/2,v.e.b+o/5.3+v.f.b)):So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f+o/2,v.e.b+o/5.3+v.f.b)))),So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,v.e.b+v.f.b))):(y=ce(le(F(v,(Nr(),Id)))),ppt(l(u.Xb(a),65),e)?So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,l(zl(l(u.Xb(a),65).a),8).b)):v.e.b-o>y?So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,y-r)):l(u.Xb(a),65).a.b>0&&(p=l(zl(l(u.Xb(a),65).a),8).a,N=v.e.a+v.f.a/2,m=l(zl(l(u.Xb(a),65).a),8).b,R=v.e.b+v.f.b/2,o>0&&b.Math.abs(p-N)/(b.Math.abs(m-R)/40)>50&&(N>p?So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f-o/2,v.e.b-o/5.3)):So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f+o/2,v.e.b-o/5.3)))),So(l(u.Xb(a),65).a,new Me(v.e.a+v.f.a*f,v.e.b)))}function e2t(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye;if(f=t,N=r,ma(e.a,f)){if(bl(l(Ut(e.a,f),47),N))return 1}else Jn(e.a,f,new pi);if(ma(e.a,N)){if(bl(l(Ut(e.a,N),47),f))return-1}else Jn(e.a,N,new pi);if(ma(e.e,f)){if(bl(l(Ut(e.e,f),47),N))return-1}else Jn(e.e,f,new pi);if(ma(e.e,N)){if(bl(l(Ut(e.a,N),47),f))return 1}else Jn(e.e,N,new pi);if(f.j!=N.j)return Ee=ctn(f.j,N.j),Ee>0?Zu(e,f,N,1):Zu(e,N,f,1),Ee;if(ye=1,f.e.c.length!=0&&N.e.c.length!=0){if((f.j==(He(),Wt)&&N.j==Wt||f.j==Vt&&N.j==Vt||f.j==dn&&N.j==dn)&&(ye=-ye),v=l(ze(f.e,0),17).c,G=l(ze(N.e,0),17).c,m=v.i,M=G.i,m==M)for(oe=new V(m.j);oe.a<oe.c.c.length;){if(re=l(q(oe),12),v==re)return Zu(e,N,f,ye),-ye;if(G==re)return Zu(e,f,N,ye),ye}if(v.i.k==(Ht(),bi)&&G.i.k==bi&&m.c.p==M.c.p&&m.c.p==f.i.c.p&&(de=m.c,a=ogt(de,m,M),a!=0))return f.j==Qt&&N.j==Qt&&(ye=-ye),a>0?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye);if(o=ogt(l(Ac(iW(e.d),jc(new es,new ls,new Ci,Z(X(rc,1),Ce,132,0,[(Yu(),nc)]))),22),m,M),o!=0)return o>0?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye);if(e.c&&(Ee=M1t(e,f,N),Ee!=0))return Ee>0?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye)}return f.g.c.length!=0&&N.g.c.length!=0?((f.j==(He(),Wt)&&N.j==Wt||f.j==dn&&N.j==dn)&&(ye=-ye),T=l(F(f,(Ie(),ste)),9),J=l(F(N,ste),9),e.f==(bp(),zte)&&T&&J&&br(T,Cr)&&br(J,Cr)?(p=D0(T,J,e.b,l(F(e.b,$1),15).a),R=D0(J,T,e.b,l(F(e.b,$1),15).a),p>R?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye)):e.c&&(Ee=M1t(e,f,N),Ee!=0)?Ee>0?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye):(y=0,U=0,br(l(ze(f.g,0),17),Cr)&&(y=D0(l(ze(f.g,0),248),l(ze(N.g,0),248),e.b,f.g.c.length+f.e.c.length)),br(l(ze(N.g,0),17),Cr)&&(U=D0(l(ze(N.g,0),248),l(ze(f.g,0),248),e.b,N.g.c.length+N.e.c.length)),T&&T==J||e.g&&(e.g._b(T)&&(y=l(e.g.xc(T),15).a),e.g._b(J)&&(U=l(e.g.xc(J),15).a)),y>U?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye))):f.e.c.length!=0&&N.g.c.length!=0?(Zu(e,f,N,ye),1):f.g.c.length!=0&&N.e.c.length!=0?(Zu(e,N,f,ye),-1):br(f,(Ie(),Cr))&&br(N,Cr)?(u=f.i.j.c.length,p=D0(f,N,e.b,u),R=D0(N,f,e.b,u),(f.j==(He(),Wt)&&N.j==Wt||f.j==dn&&N.j==dn)&&(ye=-ye),p>R?(Zu(e,f,N,ye),ye):(Zu(e,N,f,ye),-ye)):(Zu(e,N,f,ye),-ye)}function Ie(){Ie=K;var e,t;wr=new lr(Nwe),wTe=new lr("coordinateOrigin"),cte=new lr("processors"),mTe=new Pr("compoundNode",(Lt(),!1)),hL=new Pr("insideConnections",!1),STe=new lr("originalBendpoints"),TTe=new lr("originalDummyNodePosition"),ATe=new lr("originalLabelEdge"),OI=new lr("representedLabels"),RI=new lr("endLabels"),IT=new lr("endLabel.origin"),OT=new Pr("labelSide",(vu(),VL)),e2=new Pr("maxEdgeThickness",0),Ag=new Pr("reversed",!1),DT=new lr(Q2t),Cd=new Pr("longEdgeSource",null),Nl=new Pr("longEdgeTarget",null),Wy=new Pr("longEdgeHasLabelDummies",!1),pL=new Pr("longEdgeBeforeLabelDummy",!1),iB=new Pr("edgeConstraint",(Vb(),Gee)),tw=new lr("inLayerLayoutUnit"),hm=new Pr("inLayerConstraint",(lp(),dL)),RT=new Pr("inLayerSuccessorConstraint",new je),ETe=new Pr("inLayerSuccessorConstraintBetweenNonDummies",!1),Nc=new lr("portDummy"),rB=new Pr("crossingHint",Oe(0)),xa=new Pr("graphProperties",(t=l(md(Xee),10),new Hu(t,l(Gl(t,t.length),10),0))),Hs=new Pr("externalPortSide",(He(),Is)),vTe=new Pr("externalPortSize",new ro),rte=new lr("externalPortReplacedDummies"),oB=new lr("externalPortReplacedDummy"),_p=new Pr("externalPortConnections",(e=l(md(Oo),10),new Hu(e,l(Gl(e,e.length),10),0))),nw=new Pr(K2t,0),bTe=new lr("barycenterAssociates"),MT=new lr("TopSideComments"),NT=new lr("BottomSideComments"),nB=new lr("CommentConnectionPort"),ote=new Pr("inputCollect",!1),ate=new Pr("outputCollect",!1),CT=new Pr("cyclic",!1),yTe=new lr("crossHierarchyMap"),lte=new lr("targetOffset"),new Pr("splineLabelSize",new ro),n2=new lr("spacings"),sB=new Pr("partitionConstraint",!1),ew=new lr("breakingPoint.info"),kTe=new lr("splines.survivingEdge"),pm=new lr("splines.route.start"),r2=new lr("splines.edgeChain"),xTe=new lr("originalPortConstraints"),rw=new lr("selfLoopHolder"),ek=new lr("splines.nsPortY"),Cr=new lr("modelOrder"),$1=new lr("modelOrder.maximum"),fL=new lr("modelOrderGroups.cb.number"),ste=new lr("longEdgeTargetNode"),F1=new Pr(_St,!1),t2=new Pr(_St,!1),ite=new lr("layerConstraints.hiddenNodes"),_Te=new lr("layerConstraints.opposidePort"),ute=new lr("targetNode.modelOrder"),LT=new Pr("tarjan.lowlink",Oe(ar)),DI=new Pr("tarjan.id",Oe(-1)),aB=new Pr("tarjan.onstack",!1),e3t=new Pr("partOfCycle",!1),i2=new lr("medianHeuristic.weight")}function _n(){_n=K;var e,t;zT=new lr(vTt),fv=new lr(ETt),Zke=(mh(),ure),U6t=new ht(Fye,Zke),gk=new ht(mx,null),H6t=new lr(oEe),eNe=(Zb(),xr(fre,Z(X(hre,1),Ce,300,0,[dre]))),$L=new ht(I7,eNe),BL=new ht(UD,(Lt(),!1)),tNe=(Si(),hf),Tm=new ht(xZ,tNe),iNe=(gp(),_re),rNe=new ht(BD,iNe),V6t=new ht(rEe,!1),sNe=(pp(),lU),p2=new ht(C7,sNe),mNe=new xb(12),df=new ht(B0,mNe),y4=new ht(wx,!1),bre=new ht(O7,!1),v4=new ht(yx,!1),SNe=(qi(),K1),bk=new ht(d7,SNe),GT=new lr(R7),HL=new lr(CD),Tre=new lr(l7),Are=new lr(WC),uNe=new Lc,g2=new ht(Yye,uNe),G6t=new ht(Qye,!1),W6t=new ht(eve,!1),new ht(STt,0),lNe=new FN,Cp=new ht(CZ,lNe),oU=new ht(Pye,!1),Q6t=new ht(TTt,1),uv=new lr(ATt),cv=new lr(_Tt),wk=new ht(RD,!1),new ht(xTt,!0),Oe(0),new ht(kTt,Oe(100)),new ht(NTt,!1),Oe(0),new ht(CTt,Oe(4e3)),Oe(0),new ht(ITt,Oe(400)),new ht(RTt,!1),new ht(OTt,!1),new ht(DTt,!0),new ht(LTt,!1),Qke=(Yj(),Rre),z6t=new ht(iEe,Qke),cNe=(V3(),YL),Y6t=new ht(MTt,cNe),aNe=(O_(),zL),K6t=new ht(PTt,aNe),eDt=new ht(Aye,10),tDt=new ht(_ye,10),nDt=new ht(xye,20),rDt=new ht(kye,10),xNe=new ht(jX,2),kNe=new ht(_Z,10),NNe=new ht(Nye,0),sU=new ht(Rye,5),CNe=new ht(Cye,1),INe=new ht(Iye,1),Od=new ht($0,20),iDt=new ht(Oye,10),DNe=new ht(Dye,10),qT=new lr(Lye),ONe=new Jnt,RNe=new ht(nve,ONe),X6t=new lr(NZ),wNe=!1,J6t=new ht(kZ,wNe),fNe=new xb(5),dNe=new ht(Uye,fNe),hNe=(_y(),t=l(md(Go),10),new Hu(t,l(Gl(t,t.length),10),0)),b2=new ht(Ex,hNe),vNe=(EE(),W1),yNe=new ht(Gye,vNe),wre=new lr(qye),yre=new lr(Vye),vre=new lr(Wye),mre=new lr(Kye),pNe=(e=l(md(N4),10),new Hu(e,l(Gl(e,e.length),10),0)),Am=new ht(PE,pNe),bNe=lt((Uc(),Tk)),q1=new ht(bT,bNe),gNe=new Me(0,0),m2=new ht(mT,gNe),lv=new ht(vx,!1),nNe=(Kd(),yk),pre=new ht(Xye,nNe),iU=new ht(ID,!1),Oe(1),new ht(jTt,null),ENe=new lr(tve),Ere=new lr(Zye),_Ne=(He(),Is),w2=new ht(jye,_Ne),zc=new lr(Mye),TNe=(xc(),lt(Y1)),dv=new ht(Sx,TNe),Sre=new ht(Hye,!1),ANe=new ht(zye,!0),Oe(1),uDt=new ht(eQ,Oe(3)),Oe(1),dDt=new ht(sEe,Oe(4)),aU=new ht(OD,1),cU=new ht(tQ,null),hv=new ht(DD,150),mk=new ht(LD,1.414),VT=new ht(U0,null),oDt=new ht(aEe,1),UL=new ht($ye,!1),gre=new ht(Bye,!1),q6t=new ht(Jye,1),oNe=(AF(),kre),new ht(FTt,oNe),Z6t=!0,lDt=(VP(),Ire),aDt=(VS(),bv),cDt=bv,sDt=bv}function Xi(){Xi=K,hSe=new wi("DIRECTION_PREPROCESSOR",0),lSe=new wi("COMMENT_PREPROCESSOR",1),WE=new wi("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),Eee=new wi("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),OSe=new wi("PARTITION_PREPROCESSOR",4),I$=new wi("LABEL_DUMMY_INSERTER",5),B$=new wi("SELF_LOOP_PREPROCESSOR",6),zy=new wi("LAYER_CONSTRAINT_PREPROCESSOR",7),ISe=new wi("PARTITION_MIDPROCESSOR",8),ESe=new wi("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),NSe=new wi("NODE_PROMOTION",10),Hy=new wi("LAYER_CONSTRAINT_POSTPROCESSOR",11),RSe=new wi("PARTITION_POSTPROCESSOR",12),wSe=new wi("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),DSe=new wi("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),iSe=new wi("BREAKING_POINT_INSERTER",15),L$=new wi("LONG_EDGE_SPLITTER",16),See=new wi("PORT_SIDE_PROCESSOR",17),N$=new wi("INVERTED_PORT_PROCESSOR",18),j$=new wi("PORT_LIST_SORTER",19),MSe=new wi("SORT_BY_INPUT_ORDER_OF_MODEL",20),P$=new wi("NORTH_SOUTH_PORT_PREPROCESSOR",21),oSe=new wi("BREAKING_POINT_PROCESSOR",22),CSe=new wi(mSt,23),PSe=new wi(wSt,24),F$=new wi("SELF_LOOP_PORT_RESTORER",25),rSe=new wi("ALTERNATING_LAYER_UNZIPPER",26),LSe=new wi("SINGLE_EDGE_GRAPH_WRAPPER",27),C$=new wi("IN_LAYER_CONSTRAINT_PROCESSOR",28),gSe=new wi("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),xSe=new wi("LABEL_AND_NODE_SIZE_PROCESSOR",30),_Se=new wi("INNERMOST_NODE_MARGIN_CALCULATOR",31),U$=new wi("SELF_LOOP_ROUTER",32),cSe=new wi("COMMENT_NODE_MARGIN_CALCULATOR",33),k$=new wi("END_LABEL_PREPROCESSOR",34),O$=new wi("LABEL_DUMMY_SWITCHER",35),aSe=new wi("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),Gx=new wi("LABEL_SIDE_SELECTOR",37),TSe=new wi("HYPEREDGE_DUMMY_MERGER",38),ySe=new wi("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),kSe=new wi("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),_I=new wi("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),dSe=new wi("CONSTRAINTS_POSTPROCESSOR",42),uSe=new wi("COMMENT_POSTPROCESSOR",43),ASe=new wi("HYPERNODE_PROCESSOR",44),vSe=new wi("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),D$=new wi("LONG_EDGE_JOINER",46),$$=new wi("SELF_LOOP_POSTPROCESSOR",47),sSe=new wi("BREAKING_POINT_REMOVER",48),M$=new wi("NORTH_SOUTH_PORT_POSTPROCESSOR",49),SSe=new wi("HORIZONTAL_COMPACTOR",50),R$=new wi("LABEL_DUMMY_REMOVER",51),bSe=new wi("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),pSe=new wi("END_LABEL_SORTER",53),xT=new wi("REVERSED_EDGE_RESTORER",54),x$=new wi("END_LABEL_POSTPROCESSOR",55),mSe=new wi("HIERARCHICAL_NODE_RESIZER",56),fSe=new wi("DIRECTION_POSTPROCESSOR",57)}function G3n(e,t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr,Oc,us,Ru,A2,jg,hd,Dp,cl,QT,U4,Lp,Md,Fg,Nm,Cm,eA,Im,Rm,Mp,Av,cCe,gw,H4,Kre,tA,z4,_v,G4,Yre,e5t;for(cCe=0,qn=t,us=0,jg=qn.length;us<jg;++us)for(Ot=qn[us],Fg=new V(Ot.j);Fg.a<Fg.c.c.length;){for(Md=l(q(Fg),12),Cm=0,p=new V(Md.g);p.a<p.c.c.length;)f=l(q(p),17),Ot.c!=f.d.i.c&&++Cm;Cm>0&&(e.a[Md.p]=cCe++)}for(z4=0,Gr=r,Ru=0,hd=Gr.length;Ru<hd;++Ru){for(Ot=Gr[Ru],Dp=0,Fg=new V(Ot.j);Fg.a<Fg.c.c.length&&(Md=l(q(Fg),12),Md.j==(He(),Vt));)for(p=new V(Md.e);p.a<p.c.c.length;)if(f=l(q(p),17),Ot.c!=f.c.i.c){++Dp;break}for(QT=0,eA=new Ji(Ot.j,Ot.j.c.length);eA.b>0;){for(Md=(cn(eA.b>0),l(eA.a.Xb(eA.c=--eA.b),12)),Cm=0,p=new V(Md.e);p.a<p.c.c.length;)f=l(q(p),17),Ot.c!=f.c.i.c&&++Cm;Cm>0&&(Md.j==(He(),Vt)?(e.a[Md.p]=z4,++z4):(e.a[Md.p]=z4+Dp+QT,++QT))}z4+=QT}for(Nm=new hn,M=new ch,on=t,Oc=0,A2=on.length;Oc<A2;++Oc)for(Ot=on[Oc],Kre=new V(Ot.j);Kre.a<Kre.c.c.length;)for(H4=l(q(Kre),12),p=new V(H4.g);p.a<p.c.c.length;)if(f=l(q(p),17),G4=f.d,Ot.c!=G4.i.c)if(gw=l(Ss(ns(Nm.f,H4)),470),_v=l(Ss(ns(Nm.f,G4)),470),!gw&&!_v)R=new Lit,M.a.yc(R,M),Fe(R.a,f),Fe(R.d,H4),ec(Nm.f,H4,R),Fe(R.d,G4),ec(Nm.f,G4,R);else if(!gw)Fe(_v.a,f),Fe(_v.d,H4),ec(Nm.f,H4,_v);else if(!_v)Fe(gw.a,f),Fe(gw.d,G4),ec(Nm.f,G4,gw);else if(gw==_v)Fe(gw.a,f);else{for(Fe(gw.a,f),Lp=new V(_v.d);Lp.a<Lp.c.c.length;)U4=l(q(Lp),12),ec(Nm.f,U4,gw);li(gw.a,_v.a),li(gw.d,_v.d),M.a.Ac(_v)!=null}for(U=l(pC(M,we(pCn,{3:1,4:1,5:1,2024:1},470,M.a.gc(),0,1)),2024),Ct=t[0].c,Av=r[0].c,v=U,T=0,N=v.length;T<N;++T)for(y=v[T],y.e=cCe,y.f=z4,Fg=new V(y.d);Fg.a<Fg.c.c.length;)Md=l(q(Fg),12),Im=e.a[Md.p],Md.i.c==Ct?(Im<y.e&&(y.e=Im),Im>y.b&&(y.b=Im)):Md.i.c==Av&&(Im<y.f&&(y.f=Im),Im>y.c&&(y.c=Im));for(g_(U,0,U.length,null),tA=we(Rn,Qn,30,U.length,15,1),o=we(Rn,Qn,30,z4+1,15,1),J=0;J<U.length;J++)tA[J]=U[J].f,o[tA[J]]=1;for(u=0,re=0;re<o.length;re++)o[re]==1?o[re]=u:--u;for(Rm=0,oe=0;oe<tA.length;oe++)tA[oe]+=o[tA[oe]],Rm=b.Math.max(Rm,tA[oe]+1);for(m=1;m<Rm;)m*=2;for(e5t=2*m-1,m-=1,Yre=we(Rn,Qn,30,e5t,15,1),a=0,dt=0;dt<tA.length;dt++)for(qe=tA[dt]+m,++Yre[qe];qe>0;)qe%2>0&&(a+=Yre[qe+1]),qe=(qe-1)/2|0,++Yre[qe];for(ft=we(A4t,It,371,U.length*2,0,1),de=0;de<U.length;de++)ft[2*de]=new xP(U[de],U[de].e,U[de].b,(H3(),QI)),ft[2*de+1]=new xP(U[de],U[de].b,U[de].e,ZI);for(g_(ft,0,ft.length,null),cl=0,Ee=0;Ee<ft.length;Ee++)switch(ft[Ee].d.g){case 0:++cl;break;case 1:--cl,a+=cl}for(Mp=we(A4t,It,371,U.length*2,0,1),ye=0;ye<U.length;ye++)Mp[2*ye]=new xP(U[ye],U[ye].f,U[ye].c,(H3(),QI)),Mp[2*ye+1]=new xP(U[ye],U[ye].c,U[ye].f,ZI);for(g_(Mp,0,Mp.length,null),cl=0,G=0;G<Mp.length;G++)switch(Mp[G].d.g){case 0:++cl;break;case 1:--cl,a+=cl}return a}function hr(){hr=K,B4=new Km(7),eCe=new dh(8,94),new dh(8,64),tCe=new dh(8,36),qLt=new dh(8,65),VLt=new dh(8,122),WLt=new dh(8,90),YLt=new dh(8,98),GLt=new dh(8,66),KLt=new dh(8,60),JLt=new dh(8,62),Q3e=new Km(11),CU=new bu(4),Sa(CU,48,57),kk=new bu(4),Sa(kk,48,57),Sa(kk,65,90),Sa(kk,95,95),Sa(kk,97,122),ZT=new bu(4),Sa(ZT,9,9),Sa(ZT,10,10),Sa(ZT,12,12),Sa(ZT,13,13),Sa(ZT,32,32),nCe=Ny(CU),iCe=Ny(kk),rCe=Ny(ZT),xk=new hn,$4=new hn,zLt=Z(X(Je,1),Pe,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),X3e=Z(X(Je,1),Pe,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",j_t,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),Z3e=Z(X(Rn,1),Qn,30,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function t7(){t7=K,nkt=new Ku("OUT_T_L",0,(_c(),Wf),(Za(),rd),(Sd(),Bs),Bs,Z(X(kl,1),It,24,0,[xr((_y(),ud),Z(X(Go,1),Ce,96,0,[ld,ad]))])),tkt=new Ku("OUT_T_C",1,M1,rd,Bs,$a,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[ld,Ip])),xr(ud,Z(X(Go,1),Ce,96,0,[ld,Ip,Cl]))])),rkt=new Ku("OUT_T_R",2,nd,rd,Bs,Us,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[ld,cd]))])),Wxt=new Ku("OUT_B_L",3,Wf,Nd,Us,Bs,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[Il,ad]))])),Vxt=new Ku("OUT_B_C",4,M1,Nd,Us,$a,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[Il,Ip])),xr(ud,Z(X(Go,1),Ce,96,0,[Il,Ip,Cl]))])),Kxt=new Ku("OUT_B_R",5,nd,Nd,Us,Us,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[Il,cd]))])),Xxt=new Ku("OUT_L_T",6,nd,Nd,Bs,Bs,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[ad,ld,Cl]))])),Jxt=new Ku("OUT_L_C",7,nd,P1,$a,Bs,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[ad,Rh])),xr(ud,Z(X(Go,1),Ce,96,0,[ad,Rh,Cl]))])),Yxt=new Ku("OUT_L_B",8,nd,rd,Us,Bs,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[ad,Il,Cl]))])),ekt=new Ku("OUT_R_T",9,Wf,Nd,Bs,Us,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[cd,ld,Cl]))])),Qxt=new Ku("OUT_R_C",10,Wf,P1,$a,Us,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[cd,Rh])),xr(ud,Z(X(Go,1),Ce,96,0,[cd,Rh,Cl]))])),Zxt=new Ku("OUT_R_B",11,Wf,rd,Us,Us,Z(X(kl,1),It,24,0,[xr(ud,Z(X(Go,1),Ce,96,0,[cd,Il,Cl]))])),Gxt=new Ku("IN_T_L",12,Wf,Nd,Bs,Bs,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[ld,ad])),xr(ku,Z(X(Go,1),Ce,96,0,[ld,ad,Cl]))])),zxt=new Ku("IN_T_C",13,M1,Nd,Bs,$a,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[ld,Ip])),xr(ku,Z(X(Go,1),Ce,96,0,[ld,Ip,Cl]))])),qxt=new Ku("IN_T_R",14,nd,Nd,Bs,Us,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[ld,cd])),xr(ku,Z(X(Go,1),Ce,96,0,[ld,cd,Cl]))])),Uxt=new Ku("IN_C_L",15,Wf,P1,$a,Bs,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[Rh,ad])),xr(ku,Z(X(Go,1),Ce,96,0,[Rh,ad,Cl]))])),Bxt=new Ku("IN_C_C",16,M1,P1,$a,$a,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[Rh,Ip])),xr(ku,Z(X(Go,1),Ce,96,0,[Rh,Ip,Cl]))])),Hxt=new Ku("IN_C_R",17,nd,P1,$a,Us,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[Rh,cd])),xr(ku,Z(X(Go,1),Ce,96,0,[Rh,cd,Cl]))])),Fxt=new Ku("IN_B_L",18,Wf,rd,Us,Bs,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[Il,ad])),xr(ku,Z(X(Go,1),Ce,96,0,[Il,ad,Cl]))])),jxt=new Ku("IN_B_C",19,M1,rd,Us,$a,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[Il,Ip])),xr(ku,Z(X(Go,1),Ce,96,0,[Il,Ip,Cl]))])),$xt=new Ku("IN_B_R",20,nd,rd,Us,Us,Z(X(kl,1),It,24,0,[xr(ku,Z(X(Go,1),Ce,96,0,[Il,cd])),xr(ku,Z(X(Go,1),Ce,96,0,[Il,cd,Cl]))])),iee=new Ku(qC,21,null,null,null,null,Z(X(kl,1),It,24,0,[]))}function ewe(){ewe=K,HTe=(m6(),Y$),U3t=new ht(Pwe,HTe),Q3t=new ht(jwe,(Lt(),!1)),KTe=(HP(),nte),iCt=new ht(b7,KTe),_Ct=new ht(Fwe,!1),xCt=new ht($we,!0),r3t=new ht(Bwe,!1),oAe=(g6(),Gte),UCt=new ht(Uwe,oAe),Oe(1),YCt=new ht(Hwe,Oe(7)),JCt=new ht(zwe,!1),eCt=new ht(Gwe,!1),UTe=(tD(),$ee),B3t=new ht(jD,UTe),XTe=(rD(),Pte),wCt=new ht(FD,XTe),YTe=(iu(),gL),lCt=new ht(qwe,YTe),Oe(-1),uCt=new ht(Vwe,null),Oe(-1),dCt=new ht(Wwe,Oe(-1)),Oe(-1),fCt=new ht(GX,Oe(4)),Oe(-1),pCt=new ht(qX,Oe(2)),JTe=(x1(),NB),mCt=new ht(VX,JTe),Oe(0),bCt=new ht(WX,Oe(0)),aCt=new ht(KX,Oe(ar)),BTe=(lC(),kI),$3t=new ht(XC,BTe),A3t=new ht(Kwe,!1),R3t=new ht(YX,.1),j3t=new ht(JX,!1),D3t=new ht(Ywe,null),L3t=new ht(Jwe,null),Oe(-1),M3t=new ht(Xwe,null),Oe(-1),P3t=new ht(Zwe,Oe(-1)),Oe(0),_3t=new ht(Qwe,Oe(40)),$Te=(__(),Qee),C3t=new ht(XX,$Te),FTe=uL,x3t=new ht(m7,FTe),iAe=(hC(),VI),BCt=new ht(jE,iAe),RCt=new lr(w7),tAe=(l6(),X$),kCt=new ht(ZX,tAe),nAe=(K6(),Z$),CCt=new ht(QX,nAe),LCt=new ht(eZ,.3),PCt=new lr(tZ),rAe=(vy(),kB),jCt=new ht(nZ,rAe),qTe=(Dj(),Vte),V3t=new ht(eye,qTe),VTe=(nC(),Kte),W3t=new ht(tye,VTe),WTe=(R_(),JI),K3t=new ht(y7,WTe),J3t=new ht(v7,.2),G3t=new ht(rZ,2),qCt=new ht(nye,null),WCt=new ht(rye,10),VCt=new ht(iye,10),KCt=new ht(oye,20),Oe(0),HCt=new ht(sye,Oe(0)),Oe(0),zCt=new ht(aye,Oe(0)),Oe(0),GCt=new ht(cye,Oe(0)),i3t=new ht(iZ,!1),RTe=(W_(),NI),s3t=new ht(uye,RTe),ITe=(nj(),Mee),o3t=new ht(lye,ITe),nCt=new ht(E7,!1),Oe(0),tCt=new ht(oZ,Oe(16)),Oe(0),rCt=new ht(sZ,Oe(5)),cAe=(Lj(),Xte),bIt=new ht(Sp,cAe),XCt=new ht(S7,10),eIt=new ht(T7,1),aAe=(wj(),K$),aIt=new ht(ZC,aAe),rIt=new lr(aZ),sAe=Oe(1),Oe(0),oIt=new ht(cZ,sAe),uAe=(mj(),Jte),vIt=new ht(A7,uAe),mIt=new lr(_7),fIt=new ht(x7,!0),lIt=new ht(k7,2),pIt=new ht(uZ,!0),eAe=(qP(),fte),ACt=new ht(lZ,eAe),vCt=new ht(dZ,!1),ZTe=Oe(2),Oe(1),yCt=new ht(fZ,ZTe),QTe=!0,SCt=new ht(hZ,QTe),GTe=(xF(),J$),z3t=new ht(dye,GTe),zTe=(eT(),Kx),H3t=new ht(fye,zTe),jTe=(bp(),U1),T3t=new ht(N7,jTe),S3t=new ht(hye,!1),E3t=new ht($D,!1),OTe=(YS(),TI),a3t=new ht(pZ,OTe),PTe=(rC(),jte),v3t=new ht(pye,PTe),c3t=new ht(gZ,0),u3t=new ht(bZ,0),y3t=new ht(mZ,Oe(0)),w3t=new ht(wZ,Oe(0)),m3t=new ht(yZ,Oe(0)),DTe=(b1(),lL),l3t=new ht(gye,DTe),d3t=new lr(vZ),h3t=new lr(EZ),MTe=lL,b3t=new ht(bye,MTe),LTe=IP(zan(Z(X(_i,1),Pe,15,0,[Oe(1),Oe(2),Oe(6),Oe(7),Oe(10),Oe(11)]))),g3t=new ht(mye,LTe),sCt=Uee,oCt=aL,hCt=_B,gCt=_B,cCt=Lte,O3t=(pp(),Ig),F3t=kI,I3t=kI,k3t=kI,N3t=Ig,OCt=WI,DCt=VI,NCt=VI,ICt=VI,MCt=Ute,$Ct=WI,FCt=WI,Y3t=(gp(),WT),X3t=WT,Z3t=JI,q3t=GL,ZCt=ck,QCt=iv,tIt=ck,nIt=iv,cIt=ck,uIt=iv,iIt=Pee,sIt=K$,EIt=ck,SIt=iv,wIt=ck,yIt=iv,hIt=iv,dIt=iv,gIt=iv,ECt=Oe(2),TCt=dte,f3t=cL,p3t=cL}function _t(){_t=K,vv=(c1(),Bt).b,l(ie(Ne(Bt.b),0),38),l(ie(Ne(Bt.b),1),20),Og=Bt.a,l(ie(Ne(Bt.a),0),38),l(ie(Ne(Bt.a),1),20),l(ie(Ne(Bt.a),2),20),l(ie(Ne(Bt.a),3),20),l(ie(Ne(Bt.a),4),20),Z1=Bt.o,l(ie(Ne(Bt.o),0),38),l(ie(Ne(Bt.o),1),38),uLt=l(ie(Ne(Bt.o),2),20),l(ie(Ne(Bt.o),3),20),l(ie(Ne(Bt.o),4),20),l(ie(Ne(Bt.o),5),20),l(ie(Ne(Bt.o),6),20),l(ie(Ne(Bt.o),7),20),l(ie(Ne(Bt.o),8),20),l(ie(Ne(Bt.o),9),20),l(ie(Ne(Bt.o),10),20),l(ie(Ne(Bt.o),11),20),l(ie(Ne(Bt.o),12),20),l(ie(Ne(Bt.o),13),20),l(ie(Ne(Bt.o),14),20),l(ie(Ne(Bt.o),15),20),l(ie(Sr(Bt.o),0),62),l(ie(Sr(Bt.o),1),62),l(ie(Sr(Bt.o),2),62),l(ie(Sr(Bt.o),3),62),l(ie(Sr(Bt.o),4),62),l(ie(Sr(Bt.o),5),62),l(ie(Sr(Bt.o),6),62),l(ie(Sr(Bt.o),7),62),l(ie(Sr(Bt.o),8),62),l(ie(Sr(Bt.o),9),62),cLt=Bt.p,l(ie(Ne(Bt.p),0),38),l(ie(Ne(Bt.p),1),38),l(ie(Ne(Bt.p),2),38),l(ie(Ne(Bt.p),3),38),l(ie(Ne(Bt.p),4),20),l(ie(Ne(Bt.p),5),20),l(ie(Sr(Bt.p),0),62),l(ie(Sr(Bt.p),1),62),lLt=Bt.q,l(ie(Ne(Bt.q),0),38),Q1=Bt.v,l(ie(Ne(Bt.v),0),20),l(ie(Sr(Bt.v),0),62),l(ie(Sr(Bt.v),1),62),l(ie(Sr(Bt.v),2),62),Dg=Bt.w,l(ie(Ne(Bt.w),0),38),l(ie(Ne(Bt.w),1),38),l(ie(Ne(Bt.w),2),38),l(ie(Ne(Bt.w),3),20),eb=Bt.B,l(ie(Ne(Bt.B),0),20),l(ie(Sr(Bt.B),0),62),l(ie(Sr(Bt.B),1),62),l(ie(Sr(Bt.B),2),62),dLt=Bt.Q,l(ie(Ne(Bt.Q),0),20),l(ie(Sr(Bt.Q),0),62),fLt=Bt.R,l(ie(Ne(Bt.R),0),38),Ml=Bt.S,l(ie(Sr(Bt.S),0),62),l(ie(Sr(Bt.S),1),62),l(ie(Sr(Bt.S),2),62),l(ie(Sr(Bt.S),3),62),l(ie(Sr(Bt.S),4),62),l(ie(Sr(Bt.S),5),62),l(ie(Sr(Bt.S),6),62),l(ie(Sr(Bt.S),7),62),l(ie(Sr(Bt.S),8),62),l(ie(Sr(Bt.S),9),62),l(ie(Sr(Bt.S),10),62),l(ie(Sr(Bt.S),11),62),l(ie(Sr(Bt.S),12),62),l(ie(Sr(Bt.S),13),62),l(ie(Sr(Bt.S),14),62),Lg=Bt.T,l(ie(Ne(Bt.T),0),20),l(ie(Ne(Bt.T),2),20),hLt=l(ie(Ne(Bt.T),3),20),l(ie(Ne(Bt.T),4),20),l(ie(Sr(Bt.T),0),62),l(ie(Sr(Bt.T),1),62),l(ie(Ne(Bt.T),1),20),Mg=Bt.U,l(ie(Ne(Bt.U),0),38),l(ie(Ne(Bt.U),1),38),l(ie(Ne(Bt.U),2),20),l(ie(Ne(Bt.U),3),20),l(ie(Ne(Bt.U),4),20),l(ie(Ne(Bt.U),5),20),l(ie(Sr(Bt.U),0),62),Ev=Bt.V,l(ie(Ne(Bt.V),0),20),y2=Bt.W,l(ie(Ne(Bt.W),0),38),l(ie(Ne(Bt.W),1),38),l(ie(Ne(Bt.W),2),38),l(ie(Ne(Bt.W),3),20),l(ie(Ne(Bt.W),4),20),l(ie(Ne(Bt.W),5),20),pLt=Bt.bb,l(ie(Ne(Bt.bb),0),38),l(ie(Ne(Bt.bb),1),38),l(ie(Ne(Bt.bb),2),38),l(ie(Ne(Bt.bb),3),38),l(ie(Ne(Bt.bb),4),38),l(ie(Ne(Bt.bb),5),38),l(ie(Ne(Bt.bb),6),38),l(ie(Ne(Bt.bb),7),20),l(ie(Sr(Bt.bb),0),62),l(ie(Sr(Bt.bb),1),62),gLt=Bt.eb,l(ie(Ne(Bt.eb),0),38),l(ie(Ne(Bt.eb),1),38),l(ie(Ne(Bt.eb),2),38),l(ie(Ne(Bt.eb),3),38),l(ie(Ne(Bt.eb),4),38),l(ie(Ne(Bt.eb),5),38),l(ie(Ne(Bt.eb),6),20),l(ie(Ne(Bt.eb),7),20),Do=Bt.ab,l(ie(Ne(Bt.ab),0),38),l(ie(Ne(Bt.ab),1),38),dw=Bt.H,l(ie(Ne(Bt.H),0),20),l(ie(Ne(Bt.H),1),20),l(ie(Ne(Bt.H),2),20),l(ie(Ne(Bt.H),3),20),l(ie(Ne(Bt.H),4),20),l(ie(Ne(Bt.H),5),20),l(ie(Sr(Bt.H),0),62),fw=Bt.db,l(ie(Ne(Bt.db),0),20),bf=Bt.M}function q3n(e){var t;e.O||(e.O=!0,Ma(e,"type"),kj(e,"ecore.xml.type"),Nj(e,lm),t=l(Y_((r1(),Ll),lm),2023),Tn(ds(e.fb),e.b),Ms(e.b,d5,"AnyType",!1,!1,!0),oi(l(ie(Ne(e.b),0),38),e.wb.D,VD,null,0,-1,d5,!1,!1,!0,!1,!1,!1),oi(l(ie(Ne(e.b),1),38),e.wb.D,"any",null,0,-1,d5,!0,!0,!0,!1,!1,!0),oi(l(ie(Ne(e.b),2),38),e.wb.D,"anyAttribute",null,0,-1,d5,!1,!1,!0,!1,!1,!1),Ms(e.bb,kU,w_t,!1,!1,!0),oi(l(ie(Ne(e.bb),0),38),e.gb,"data",null,0,1,kU,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),1),38),e.gb,EEe,null,1,1,kU,!1,!1,!0,!1,!0,!1),Ms(e.fb,f5,y_t,!1,!1,!0),oi(l(ie(Ne(e.fb),0),38),t.gb,"rawValue",null,0,1,f5,!0,!0,!0,!1,!0,!0),oi(l(ie(Ne(e.fb),1),38),t.a,sI,null,0,1,f5,!0,!0,!0,!1,!0,!0),Mr(l(ie(Ne(e.fb),2),20),e.wb.q,null,"instanceType",1,1,f5,!1,!1,!0,!1,!1,!1,!1),Ms(e.qb,W3e,v_t,!1,!1,!0),oi(l(ie(Ne(e.qb),0),38),e.wb.D,VD,null,0,-1,null,!1,!1,!0,!1,!1,!1),Mr(l(ie(Ne(e.qb),1),20),e.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.qb),2),20),e.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.qb),3),38),e.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),oi(l(ie(Ne(e.qb),4),38),e.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Mr(l(ie(Ne(e.qb),5),20),e.bb,null,D_t,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oi(l(ie(Ne(e.qb),6),38),e.gb,dQ,null,0,-2,null,!0,!0,!0,!1,!1,!0),rr(e.a,Ri,"AnySimpleType",!0),rr(e.c,Je,"AnyURI",!0),rr(e.d,X(Ec,1),"Base64Binary",!0),rr(e.e,cc,"Boolean",!0),rr(e.f,Yr,"BooleanObject",!0),rr(e.g,Ec,"Byte",!0),rr(e.i,ET,"ByteObject",!0),rr(e.j,Je,"Date",!0),rr(e.k,Je,"DateTime",!0),rr(e.n,WQ,"Decimal",!0),rr(e.o,Ki,"Double",!0),rr(e.p,fi,"DoubleObject",!0),rr(e.q,Je,"Duration",!0),rr(e.s,_u,"ENTITIES",!0),rr(e.r,_u,"ENTITIESBase",!0),rr(e.t,Je,jEe,!0),rr(e.u,Tv,"Float",!0),rr(e.v,Ux,"FloatObject",!0),rr(e.w,Je,"GDay",!0),rr(e.B,Je,"GMonth",!0),rr(e.A,Je,"GMonthDay",!0),rr(e.C,Je,"GYear",!0),rr(e.D,Je,"GYearMonth",!0),rr(e.F,X(Ec,1),"HexBinary",!0),rr(e.G,Je,"ID",!0),rr(e.H,Je,"IDREF",!0),rr(e.J,_u,"IDREFS",!0),rr(e.I,_u,"IDREFSBase",!0),rr(e.K,Rn,"Int",!0),rr(e.M,GE,"Integer",!0),rr(e.L,_i,"IntObject",!0),rr(e.P,Je,"Language",!0),rr(e.Q,pw,"Long",!0),rr(e.R,Y0,"LongObject",!0),rr(e.S,Je,"Name",!0),rr(e.T,Je,s$,!0),rr(e.U,GE,"NegativeInteger",!0),rr(e.V,Je,BEe,!0),rr(e.X,_u,"NMTOKENS",!0),rr(e.W,_u,"NMTOKENSBase",!0),rr(e.Y,GE,"NonNegativeInteger",!0),rr(e.Z,GE,"NonPositiveInteger",!0),rr(e.$,Je,"NormalizedString",!0),rr(e._,Je,"NOTATION",!0),rr(e.ab,Je,"PositiveInteger",!0),rr(e.cb,Je,"QName",!0),rr(e.db,T2,"Short",!0),rr(e.eb,J0,"ShortObject",!0),rr(e.gb,Je,awe,!0),rr(e.hb,Je,"Time",!0),rr(e.ib,Je,"Token",!0),rr(e.jb,T2,"UnsignedByte",!0),rr(e.kb,J0,"UnsignedByteObject",!0),rr(e.lb,pw,"UnsignedInt",!0),rr(e.mb,Y0,"UnsignedIntObject",!0),rr(e.nb,GE,"UnsignedLong",!0),rr(e.ob,Rn,"UnsignedShort",!0),rr(e.pb,_i,"UnsignedShortObject",!0),e1e(e,lm),V3n(e))}function twe(e,t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct,Ot,on,qn,Gr,Oc,us,Ru,A2,jg,hd,Dp,cl,QT,U4,Lp,Md,Fg,Nm,Cm,eA,Im,Rm,Mp,Av;if(o.Zg()||Ye(Ke(ve(t,(_n(),oU)))))return At(),At(),Ro;if(qe=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i!=0,ft=gvn(t),dt=!ft.dc(),qe||dt){if(a=l(ve(t,fv),144),!a)throw Y(new _f("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(Im=Qle(a,(sT(),vU)),d1t(t),!qe&&dt&&!Im)return At(),At(),Ro;if(oe=new je,me(ve(t,p2))===me((pp(),Ig))&&(Qle(a,yU)||Qle(a,wU))){if(Ye(Ke(ve(t,wk))))throw Y(new _f("Topdown layout cannot be used together with hierarchy handling."));for(A2=myt(e,t),jg=new Ar,wo(jg,(!t.a&&(t.a=new ke(En,t,10,11)),t.a));jg.b!=0;)us=l(jg.b==0?null:(cn(jg.b!=0),Vu(jg,jg.a.a)),19),d1t(us),eA=me(ve(us,p2))===me(T4),eA||Gu(us,zT)&&!hpe(a,ve(us,fv))?(G=twe(e,us,r,o),li(oe,G),Vn(us,p2,T4),Myt(us)):wo(jg,(!us.a&&(us.a=new ke(En,us,10,11)),us.a))}else{if(A2=(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i,Ye(Ke(ve(t,wk)))){if(Rm=o.dh(1),Rm.Tg(gTt,1),ve(t,VT)==null)throw Y(new _f(t.k+" has not been assigned a top-down node type."));if(l(ve(t,VT),283)==(VS(),bv)||l(ve(t,VT),283)==bU)for(re=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));re.e!=re.i.gc();)J=l(rn(re),19),Oc=l(ve(J,fv),144),Dp=l(ve(J,df),100),(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i>0&&JO(Oc.f),ve(J,cU)!=null&&(!J.a&&(J.a=new ke(En,J,10,11)),!!J.a)&&(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i>0?(p=l(ve(J,cU),525),Cm=p.Sg(J),i0(J,b.Math.max(J.g,Cm.a+Dp.b+Dp.c),b.Math.max(J.f,Cm.b+Dp.d+Dp.a))):(!J.a&&(J.a=new ke(En,J,10,11)),J.a).i!=0&&(Cm=new Me(ce(le(ve(J,hv))),ce(le(ve(J,hv)))/ce(le(ve(J,mk)))),i0(J,b.Math.max(J.g,Cm.a+Dp.b+Dp.c),b.Math.max(J.f,Cm.b+Dp.d+Dp.a)));if(hd=l(ve(t,df),100),R=t.g-(hd.b+hd.c),N=t.f-(hd.d+hd.a),Rm.ah("Available Child Area: ("+R+"|"+N+")"),Vn(t,gk,R/N),g1t(t,a,o.dh(A2)),l(ve(t,VT),283)==bU&&(WJ(t),i0(t,hd.b+ce(le(ve(t,uv)))+hd.c,hd.d+ce(le(ve(t,cv)))+hd.a)),Rm.ah("Executed layout algorithm: "+In(ve(t,zT))+" on node "+t.k),l(ve(t,VT),283)==bv){if(R<0||N<0)throw Y(new _f("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+t.k));for(Gu(t,uv)||Gu(t,cv)||WJ(t),U=ce(le(ve(t,uv))),M=ce(le(ve(t,cv))),Rm.ah("Desired Child Area: ("+U+"|"+M+")"),QT=R/U,U4=N/M,cl=b.Math.min(QT,b.Math.min(U4,ce(le(ve(t,oDt))))),Vn(t,aU,cl),Rm.ah(t.k+" -- Local Scale Factor (X|Y): ("+QT+"|"+U4+")"),de=l(ve(t,$L),24),u=0,f=0,cl<QT&&(de.Gc((Zb(),g4))?u=(R/2-U*cl/2)/cl:de.Gc(b4)&&(u=(R-U*cl)/cl)),cl<U4&&(de.Gc((Zb(),w4))?f=(N/2-M*cl/2)/cl:de.Gc(m4)&&(f=(N-M*cl)/cl)),Mp=u+(hd.b/cl-hd.b),Av=f+(hd.d/cl-hd.d),Rm.ah("Shift: ("+Mp+"|"+Av+")"),Ru=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));Ru.e!=Ru.i.gc();)us=l(rn(Ru),19),va(us,us.i+Mp),gc(us,us.j+Av);for(ye=new tn((!t.b&&(t.b=new ke(Ir,t,12,3)),t.b));ye.e!=ye.i.gc();){for(Ee=l(rn(ye),74),Md=new tn((!Ee.a&&(Ee.a=new ke(jr,Ee,6,6)),Ee.a));Md.e!=Md.i.gc();)for(Lp=l(rn(Md),171),NO(Lp,Lp.j+Mp,Lp.k+Av),kO(Lp,Lp.b+Mp,Lp.c+Av),y=new tn((!Lp.a&&(Lp.a=new Ei(Iu,Lp,5)),Lp.a));y.e!=y.i.gc();)m=l(rn(y),373),fV(m,m.a+Mp,m.b+Av);for(Gr=new tn((!Ee.n&&(Ee.n=new ke(Rs,Ee,1,7)),Ee.n));Gr.e!=Gr.i.gc();)qn=l(rn(Gr),158),Bu(qn,qn.i+Mp,qn.j+Av);for(on=l(ve(Ee,g2),79),Ot=An(on,0);Ot.b!=Ot.d.c;)Ct=l(Sn(Ot),8),Ct.a+=Mp,Ct.b+=Av;Vn(Ee,g2,on)}}Rm.Ug()}for(T=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));T.e!=T.i.gc();)v=l(rn(T),19),G=twe(e,v,r,o),li(oe,G),Myt(v)}if(o.Zg())return At(),At(),Ro;for(Nm=new V(oe);Nm.a<Nm.c.c.length;)Fg=l(q(Nm),74),Vn(Fg,oU,(Lt(),!0));return Ye(Ke(ve(t,wk)))||g1t(t,a,o.dh(A2)),kAn(oe),dt&&Im?ft:(At(),At(),Ro)}else return At(),At(),Ro}function DE(e,t){var r,o;return S2||(S2=new hn,_k=new hn,o=(hr(),hr(),new bu(4)),$6(o,`
\r\r `),rs(S2,IQ,o),rs(_k,IQ,Ny(o)),o=new bu(4),$6(o,M_t),rs(S2,gI,o),rs(_k,gI,Ny(o)),o=new bu(4),$6(o,M_t),rs(S2,gI,o),rs(_k,gI,Ny(o)),o=new bu(4),$6(o,P_t),Iy(o,l(wa(S2,gI),122)),rs(S2,CQ,o),rs(_k,CQ,Ny(o)),o=new bu(4),$6(o,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),rs(S2,RQ,o),rs(_k,RQ,Ny(o)),o=new bu(4),$6(o,P_t),Sa(o,95,95),Sa(o,58,58),rs(S2,OQ,o),rs(_k,OQ,Ny(o))),r=l(wa(t?S2:_k,e),140),r}function t2t(e){n0(e,new Qb(wq(iO(Qm(Jm(Zm(Xm(new vb,$t),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new xUe),$t),xr((sT(),Pre),Z(X(s5,1),Ce,235,0,[vU,o5,i5,Mre,yU,wU]))))),Le(e,$t,Aye,Ge(kte)),Le(e,$t,_ye,Ge(GAe)),Le(e,$t,xye,Ge(vL)),Le(e,$t,kye,Ge(od)),Le(e,$t,jX,Ge(s2)),Le(e,$t,_Z,Ge(ym)),Le(e,$t,Nye,Ge(nv)),Le(e,$t,Cye,Ge(ok)),Le(e,$t,Iye,Ge(sk)),Le(e,$t,Rye,Ge(Nte)),Le(e,$t,$0,Ge(vm)),Le(e,$t,Oye,Ge(Cte)),Le(e,$t,Dye,Ge(GI)),Le(e,$t,Lye,Ge(SB)),Le(e,$t,nye,Ge(yL)),Le(e,$t,iye,Ge(tv)),Le(e,$t,rye,Ge(B1)),Le(e,$t,oye,Ge(rv)),Le(e,$t,CD,Oe(0)),Le(e,$t,sye,Ge(ik)),Le(e,$t,aye,Ge(zAe)),Le(e,$t,cye,Ge(FT)),Le(e,$t,Sp,Ge(QAe)),Le(e,$t,S7,Ge(VAe)),Le(e,$t,T7,Ge(WAe)),Le(e,$t,ZC,Ge(Rte)),Le(e,$t,aZ,Ge(KAe)),Le(e,$t,cZ,Ge(YAe)),Le(e,$t,A7,Ge(TB)),Le(e,$t,_7,Ge(Ote)),Le(e,$t,x7,Ge(XAe)),Le(e,$t,k7,Ge(JAe)),Le(e,$t,uZ,Ge(ZAe)),Le(e,$t,lZ,Ge(OAe)),Le(e,$t,dZ,Ge(Tte)),Le(e,$t,fZ,Ge(mB)),Le(e,$t,hZ,Ge(Ate)),Le(e,$t,tZ,Ge(ow)),Le(e,$t,nZ,Ge(zI)),Le(e,$t,y7,Ge(Ete)),Le(e,$t,v7,Ge(EAe)),Le(e,$t,RD,Ge($It)),Le(e,$t,OD,Ge(BIt)),Le(e,$t,DD,Ge(FIt)),Le(e,$t,LD,Ge(jIt)),Le(e,$t,U0,qAe),Le(e,$t,B0,FAe),Le(e,$t,BD,wAe),Le(e,$t,Mye,0),Le(e,$t,l7,Oe(1)),Le(e,$t,mx,bx),Le(e,$t,Pye,Ge(wm)),Le(e,$t,d7,Ge(Zr)),Le(e,$t,jye,Ge(rk)),Le(e,$t,UD,Ge(kIt)),Le(e,$t,Fye,Ge(Kf)),Le(e,$t,C7,Ge(Yy)),Le(e,$t,WC,(Lt(),!0)),Le(e,$t,$ye,Ge(Jy)),Le(e,$t,Bye,Ge(bm)),Le(e,$t,PE,Ge(mm)),Le(e,$t,bT,Ge(EB)),Le(e,$t,vx,Ge(xte)),Le(e,$t,xZ,mAe),Le(e,$t,Ex,Ge(iw)),Le(e,$t,Uye,Ge(yB)),Le(e,$t,Sx,Ge(Qy)),Le(e,$t,Hye,Ge(DIt)),Le(e,$t,zye,Ge(UAe)),Le(e,$t,Gye,BAe),Le(e,$t,qye,Ge(IIt)),Le(e,$t,Vye,Ge(RIt)),Le(e,$t,Wye,Ge(OIt)),Le(e,$t,Kye,Ge(CIt)),Le(e,$t,zwe,Ge(Ite)),Le(e,$t,FD,Ge(bB)),Le(e,$t,VX,Ge(wL)),Le(e,$t,Hwe,Ge(qI)),Le(e,$t,qwe,Ge(Cs)),Le(e,$t,jD,Ge(jT)),Le(e,$t,XC,Ge(BI)),Le(e,$t,Kwe,Ge(tk)),Le(e,$t,Qwe,Ge(pAe)),Le(e,$t,XX,Ge(wte)),Le(e,$t,m7,Ge(mL)),Le(e,$t,JX,Ge(yte)),Le(e,$t,Fwe,Ge(DAe)),Le(e,$t,$we,Ge(LAe)),Le(e,$t,b7,Ge(kAe)),Le(e,$t,jE,Ge(vB)),Le(e,$t,QX,Ge(_te)),Le(e,$t,jwe,Ge(Ste)),Le(e,$t,eZ,Ge(PAe)),Le(e,$t,eye,Ge(vAe)),Le(e,$t,tye,Ge(vte)),Le(e,$t,I7,Ge(mte)),Le(e,$t,ZX,Ge(MAe)),Le(e,$t,uye,Ge(lB)),Le(e,$t,lye,Ge(lAe)),Le(e,$t,iZ,Ge(uB)),Le(e,$t,E7,Ge(AAe)),Le(e,$t,oZ,Ge(TAe)),Le(e,$t,sZ,Ge(_Ae)),Le(e,$t,mT,Ge(nk)),Le(e,$t,Yye,Ge(as)),Le(e,$t,Jye,Ge(_g)),Le(e,$t,Xye,Ge(Yf)),Le(e,$t,ID,Ge(o2)),Le(e,$t,YX,Ge(gAe)),Le(e,$t,Zye,Ge(xg)),Le(e,$t,Qye,Ge(PI)),Le(e,$t,eve,Ge(gB)),Le(e,$t,tve,Ge(sw)),Le(e,$t,kZ,Ge($Ae)),Le(e,$t,NZ,Ge(Xy)),Le(e,$t,GX,Ge(CAe)),Le(e,$t,qX,Ge(IAe)),Le(e,$t,R7,Ge(ev)),Le(e,$t,Bwe,Ge(hte)),Le(e,$t,WX,Ge(RAe)),Le(e,$t,dye,Ge(pB)),Le(e,$t,fye,Ge(hB)),Le(e,$t,CZ,Ge(wB)),Le(e,$t,KX,Ge(NAe)),Le(e,$t,w7,Ge(HI)),Le(e,$t,nve,Ge(EL)),Le(e,$t,Pwe,Ge(bAe)),Le(e,$t,Uwe,Ge(HAe)),Le(e,$t,rZ,Ge(yAe)),Le(e,$t,Ywe,Ge(AIt)),Le(e,$t,Jwe,Ge(_It)),Le(e,$t,Vwe,Ge(NIt)),Le(e,$t,Xwe,Ge(xIt)),Le(e,$t,O7,Ge(xAe)),Le(e,$t,Wwe,Ge(UI)),Le(e,$t,Zwe,Ge(fB)),Le(e,$t,N7,Ge(Ch)),Le(e,$t,pye,Ge(gte)),Le(e,$t,gZ,Ge(bL)),Le(e,$t,bZ,Ge(pte)),Le(e,$t,$D,Ge(dB)),Le(e,$t,pZ,Ge(jI)),Le(e,$t,hye,Ge(bte)),Le(e,$t,mZ,Ge(Ky)),Le(e,$t,wZ,Ge($I)),Le(e,$t,yZ,Ge(TIt)),Le(e,$t,gye,Ge(PT)),Le(e,$t,bye,Ge(FI)),Le(e,$t,mye,Ge(hAe)),Le(e,$t,vZ,Ge(dAe)),Le(e,$t,EZ,Ge(fAe)),Le(e,$t,Gwe,Ge(SAe))}function V3n(e){xn(e.a,Bn,Z(X(Je,1),Pe,2,6,[sr,"anySimpleType"])),xn(e.b,Bn,Z(X(Je,1),Pe,2,6,[sr,"anyType",Al,VD])),xn(l(ie(Ne(e.b),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,AQ,sr,":mixed"])),xn(l(ie(Ne(e.b),1),38),Bn,Z(X(Je,1),Pe,2,6,[Al,AQ,MEe,xQ,sr,":1",E_t,"lax"])),xn(l(ie(Ne(e.b),2),38),Bn,Z(X(Je,1),Pe,2,6,[Al,m_t,MEe,xQ,sr,":2",E_t,"lax"])),xn(e.c,Bn,Z(X(Je,1),Pe,2,6,[sr,"anyURI",xl,kd])),xn(e.d,Bn,Z(X(Je,1),Pe,2,6,[sr,"base64Binary",xl,kd])),xn(e.e,Bn,Z(X(Je,1),Pe,2,6,[sr,cT,xl,kd])),xn(e.f,Bn,Z(X(Je,1),Pe,2,6,[sr,"boolean:Object",ho,cT])),xn(e.g,Bn,Z(X(Je,1),Pe,2,6,[sr,cI])),xn(e.i,Bn,Z(X(Je,1),Pe,2,6,[sr,"byte:Object",ho,cI])),xn(e.j,Bn,Z(X(Je,1),Pe,2,6,[sr,"date",xl,kd])),xn(e.k,Bn,Z(X(Je,1),Pe,2,6,[sr,"dateTime",xl,kd])),xn(e.n,Bn,Z(X(Je,1),Pe,2,6,[sr,"decimal",xl,kd])),xn(e.o,Bn,Z(X(Je,1),Pe,2,6,[sr,uI,xl,kd])),xn(e.p,Bn,Z(X(Je,1),Pe,2,6,[sr,"double:Object",ho,uI])),xn(e.q,Bn,Z(X(Je,1),Pe,2,6,[sr,"duration",xl,kd])),xn(e.s,Bn,Z(X(Je,1),Pe,2,6,[sr,"ENTITIES",ho,S_t,PEe,"1"])),xn(e.r,Bn,Z(X(Je,1),Pe,2,6,[sr,S_t,_Q,jEe])),xn(e.t,Bn,Z(X(Je,1),Pe,2,6,[sr,jEe,ho,s$])),xn(e.u,Bn,Z(X(Je,1),Pe,2,6,[sr,lI,xl,kd])),xn(e.v,Bn,Z(X(Je,1),Pe,2,6,[sr,"float:Object",ho,lI])),xn(e.w,Bn,Z(X(Je,1),Pe,2,6,[sr,"gDay",xl,kd])),xn(e.B,Bn,Z(X(Je,1),Pe,2,6,[sr,"gMonth",xl,kd])),xn(e.A,Bn,Z(X(Je,1),Pe,2,6,[sr,"gMonthDay",xl,kd])),xn(e.C,Bn,Z(X(Je,1),Pe,2,6,[sr,"gYear",xl,kd])),xn(e.D,Bn,Z(X(Je,1),Pe,2,6,[sr,"gYearMonth",xl,kd])),xn(e.F,Bn,Z(X(Je,1),Pe,2,6,[sr,"hexBinary",xl,kd])),xn(e.G,Bn,Z(X(Je,1),Pe,2,6,[sr,"ID",ho,s$])),xn(e.H,Bn,Z(X(Je,1),Pe,2,6,[sr,"IDREF",ho,s$])),xn(e.J,Bn,Z(X(Je,1),Pe,2,6,[sr,"IDREFS",ho,T_t,PEe,"1"])),xn(e.I,Bn,Z(X(Je,1),Pe,2,6,[sr,T_t,_Q,"IDREF"])),xn(e.K,Bn,Z(X(Je,1),Pe,2,6,[sr,dI])),xn(e.M,Bn,Z(X(Je,1),Pe,2,6,[sr,FEe])),xn(e.L,Bn,Z(X(Je,1),Pe,2,6,[sr,"int:Object",ho,dI])),xn(e.P,Bn,Z(X(Je,1),Pe,2,6,[sr,"language",ho,kQ,NQ,A_t])),xn(e.Q,Bn,Z(X(Je,1),Pe,2,6,[sr,fI])),xn(e.R,Bn,Z(X(Je,1),Pe,2,6,[sr,"long:Object",ho,fI])),xn(e.S,Bn,Z(X(Je,1),Pe,2,6,[sr,"Name",ho,kQ,NQ,$Ee])),xn(e.T,Bn,Z(X(Je,1),Pe,2,6,[sr,s$,ho,"Name",NQ,__t])),xn(e.U,Bn,Z(X(Je,1),Pe,2,6,[sr,"negativeInteger",ho,x_t,XD,"-1"])),xn(e.V,Bn,Z(X(Je,1),Pe,2,6,[sr,BEe,ho,kQ,NQ,"\\c+"])),xn(e.X,Bn,Z(X(Je,1),Pe,2,6,[sr,"NMTOKENS",ho,k_t,PEe,"1"])),xn(e.W,Bn,Z(X(Je,1),Pe,2,6,[sr,k_t,_Q,BEe])),xn(e.Y,Bn,Z(X(Je,1),Pe,2,6,[sr,UEe,ho,FEe,ZD,"0"])),xn(e.Z,Bn,Z(X(Je,1),Pe,2,6,[sr,x_t,ho,FEe,XD,"0"])),xn(e.$,Bn,Z(X(Je,1),Pe,2,6,[sr,N_t,ho,JJ,xl,"replace"])),xn(e._,Bn,Z(X(Je,1),Pe,2,6,[sr,"NOTATION",xl,kd])),xn(e.ab,Bn,Z(X(Je,1),Pe,2,6,[sr,"positiveInteger",ho,UEe,ZD,"1"])),xn(e.bb,Bn,Z(X(Je,1),Pe,2,6,[sr,"processingInstruction_._type",Al,"empty"])),xn(l(ie(Ne(e.bb),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,sr,"data"])),xn(l(ie(Ne(e.bb),1),38),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,sr,EEe])),xn(e.cb,Bn,Z(X(Je,1),Pe,2,6,[sr,"QName",xl,kd])),xn(e.db,Bn,Z(X(Je,1),Pe,2,6,[sr,hI])),xn(e.eb,Bn,Z(X(Je,1),Pe,2,6,[sr,"short:Object",ho,hI])),xn(e.fb,Bn,Z(X(Je,1),Pe,2,6,[sr,"simpleAnyType",Al,WD])),xn(l(ie(Ne(e.fb),0),38),Bn,Z(X(Je,1),Pe,2,6,[sr,":3",Al,WD])),xn(l(ie(Ne(e.fb),1),38),Bn,Z(X(Je,1),Pe,2,6,[sr,":4",Al,WD])),xn(l(ie(Ne(e.fb),2),20),Bn,Z(X(Je,1),Pe,2,6,[sr,":5",Al,WD])),xn(e.gb,Bn,Z(X(Je,1),Pe,2,6,[sr,JJ,xl,"preserve"])),xn(e.hb,Bn,Z(X(Je,1),Pe,2,6,[sr,"time",xl,kd])),xn(e.ib,Bn,Z(X(Je,1),Pe,2,6,[sr,kQ,ho,N_t,xl,kd])),xn(e.jb,Bn,Z(X(Je,1),Pe,2,6,[sr,C_t,XD,"255",ZD,"0"])),xn(e.kb,Bn,Z(X(Je,1),Pe,2,6,[sr,"unsignedByte:Object",ho,C_t])),xn(e.lb,Bn,Z(X(Je,1),Pe,2,6,[sr,I_t,XD,"4294967295",ZD,"0"])),xn(e.mb,Bn,Z(X(Je,1),Pe,2,6,[sr,"unsignedInt:Object",ho,I_t])),xn(e.nb,Bn,Z(X(Je,1),Pe,2,6,[sr,"unsignedLong",ho,UEe,XD,R_t,ZD,"0"])),xn(e.ob,Bn,Z(X(Je,1),Pe,2,6,[sr,O_t,XD,"65535",ZD,"0"])),xn(e.pb,Bn,Z(X(Je,1),Pe,2,6,[sr,"unsignedShort:Object",ho,O_t])),xn(e.qb,Bn,Z(X(Je,1),Pe,2,6,[sr,"",Al,VD])),xn(l(ie(Ne(e.qb),0),38),Bn,Z(X(Je,1),Pe,2,6,[Al,AQ,sr,":mixed"])),xn(l(ie(Ne(e.qb),1),20),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,sr,"xmlns:prefix"])),xn(l(ie(Ne(e.qb),2),20),Bn,Z(X(Je,1),Pe,2,6,[Al,n$,sr,"xsi:schemaLocation"])),xn(l(ie(Ne(e.qb),3),38),Bn,Z(X(Je,1),Pe,2,6,[Al,r$,sr,"cDATA",i$,KD])),xn(l(ie(Ne(e.qb),4),38),Bn,Z(X(Je,1),Pe,2,6,[Al,r$,sr,"comment",i$,KD])),xn(l(ie(Ne(e.qb),5),20),Bn,Z(X(Je,1),Pe,2,6,[Al,r$,sr,D_t,i$,KD])),xn(l(ie(Ne(e.qb),6),38),Bn,Z(X(Je,1),Pe,2,6,[Al,r$,sr,dQ,i$,KD]))}function jn(e){return wt("_UI_EMFDiagnostic_marker",e)?"EMF Problem":wt("_UI_CircularContainment_diagnostic",e)?"An object may not circularly contain itself":wt(gAt,e)?"Wrong character.":wt(bAt,e)?"Invalid reference number.":wt(W7,e)?"A character is required after \\.":wt(wQ,e)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":wt(mAt,e)?"'(?<' or '(?<!' is expected.":wt(wAt,e)?"A comment is not terminated.":wt(um,e)?"')' is expected.":wt(SEe,e)?"Unexpected end of the pattern in a modifier group.":wt(yAt,e)?"':' is expected.":wt(vAt,e)?"Unexpected end of the pattern in a conditional group.":wt(EAt,e)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":wt(SAt,e)?"There are more than three choices in a conditional group.":wt(TAt,e)?"A character in U+0040-U+005f must follow \\c.":wt(AAt,e)?"A '{' is required before a character category.":wt(_At,e)?"A property name is not closed by '}'.":wt(TEe,e)?"Unexpected meta character.":wt(yQ,e)?"Unknown property.":wt(AEe,e)?"A POSIX character class must be closed by ':]'.":wt(K7,e)?"Unexpected end of the pattern in a character class.":wt(xAt,e)?"Unknown name for a POSIX character class.":wt("parser.cc.4",e)?"'-' is invalid here.":wt(kAt,e)?"']' is expected.":wt(_Ee,e)?"'[' is invalid in a character class. Write '\\['.":wt(xEe,e)?"']' is invalid in a character class. Write '\\]'.":wt(vQ,e)?"'-' is an invalid character range. Write '\\-'.":wt(NAt,e)?"'[' is expected.":wt(CAt,e)?"')' or '-[' or '+[' or '&[' is expected.":wt(IAt,e)?"The range end code point is less than the start code point.":wt(Sg,e)?"Invalid Unicode hex notation.":wt(RAt,e)?"Overflow in a hex notation.":wt(OAt,e)?"'\\x{' must be closed by '}'.":wt(DAt,e)?"Invalid Unicode code point.":wt(LAt,e)?"An anchor must not be here.":wt(tl,e)?"This expression is not supported in the current option setting.":wt(MAt,e)?"Invalid quantifier. A digit is expected.":wt(PAt,e)?"Invalid quantifier. Invalid quantity or a '}' is missing.":wt(jAt,e)?"Invalid quantifier. A digit or '}' is expected.":wt(FAt,e)?"Invalid quantifier. A min quantity must be <= a max quantity.":wt(kEe,e)?"Invalid quantifier. A quantity value overflow.":wt("_UI_PackageRegistry_extensionpoint",e)?"Ecore Package Registry for Generated Packages":wt("_UI_DynamicPackageRegistry_extensionpoint",e)?"Ecore Package Registry for Dynamic Packages":wt("_UI_FactoryRegistry_extensionpoint",e)?"Ecore Factory Override Registry":wt("_UI_URIExtensionParserRegistry_extensionpoint",e)?"URI Extension Parser Registry":wt("_UI_URIProtocolParserRegistry_extensionpoint",e)?"URI Protocol Parser Registry":wt("_UI_URIContentParserRegistry_extensionpoint",e)?"URI Content Parser Registry":wt("_UI_ContentHandlerRegistry_extensionpoint",e)?"Content Handler Registry":wt("_UI_URIMappingRegistry_extensionpoint",e)?"URI Converter Mapping Registry":wt("_UI_PackageRegistryImplementation_extensionpoint",e)?"Ecore Package Registry Implementation":wt("_UI_ValidationDelegateRegistry_extensionpoint",e)?"Validation Delegate Registry":wt("_UI_SettingDelegateRegistry_extensionpoint",e)?"Feature Setting Delegate Factory Registry":wt("_UI_InvocationDelegateRegistry_extensionpoint",e)?"Operation Invocation Delegate Factory Registry":wt("_UI_EClassInterfaceNotAbstract_diagnostic",e)?"A class that is an interface must also be abstract":wt("_UI_EClassNoCircularSuperTypes_diagnostic",e)?"A class may not be a super type of itself":wt("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",e)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":wt("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",e)?"The opposite of the opposite may not be a reference different from this one":wt("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",e)?"The opposite must be a feature of the reference's type":wt("_UI_EReferenceTransientOppositeNotTransient_diagnostic",e)?"The opposite of a transient reference must be transient if it is proxy resolving":wt("_UI_EReferenceOppositeBothContainment_diagnostic",e)?"The opposite of a containment reference must not be a containment reference":wt("_UI_EReferenceConsistentUnique_diagnostic",e)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":wt("_UI_ETypedElementNoType_diagnostic",e)?"The typed element must have a type":wt("_UI_EAttributeNoDataType_diagnostic",e)?"The generic attribute type must not refer to a class":wt("_UI_EReferenceNoClass_diagnostic",e)?"The generic reference type must not refer to a data type":wt("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",e)?"A generic type can't refer to both a type parameter and a classifier":wt("_UI_EGenericTypeNoClass_diagnostic",e)?"A generic super type must refer to a class":wt("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",e)?"A generic type in this context must refer to a classifier or a type parameter":wt("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",e)?"A generic type may have bounds only when used as a type argument":wt("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",e)?"A generic type must not have both a lower and an upper bound":wt("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",e)?"A generic type with bounds must not also refer to a type parameter or classifier":wt("_UI_EGenericTypeNoArguments_diagnostic",e)?"A generic type may have arguments only if it refers to a classifier":wt("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",e)?"A generic type may only refer to a type parameter that is in scope":e}function W3n(e){var t,r,o,a,u,f,p,m,y,v,T,N,R,M,U;e.r||(e.r=!0,Ma(e,"graph"),kj(e,"graph"),Nj(e,Lx),k6(e.o,"T"),Tn(ds(e.a),e.p),Tn(ds(e.f),e.a),Tn(ds(e.n),e.f),Tn(ds(e.g),e.n),Tn(ds(e.c),e.n),Tn(ds(e.i),e.c),Tn(ds(e.j),e.c),Tn(ds(e.d),e.f),Tn(ds(e.e),e.a),Ms(e.p,uCn,X2t,!0,!0,!1),M=wE(e.p,e.p,"setProperty"),U=rpt(M),y=ip(e.o),v=(r=(o=new Ym,o),r),Tn((!y.d&&(y.d=new Ei(qo,y,1)),y.d),v),T=yW(U),kbe(v,T),mF(M,y,pEe),y=yW(U),mF(M,y,sI),M=wE(e.p,null,"getProperty"),U=rpt(M),y=ip(e.o),v=yW(U),Tn((!y.d&&(y.d=new Ei(qo,y,1)),y.d),v),mF(M,y,pEe),y=yW(U),R=Zd(M,y,null),R&&R.mj(),M=wE(e.p,e.wb.e,"hasProperty"),y=ip(e.o),v=(a=(u=new Ym,u),a),Tn((!y.d&&(y.d=new Ei(qo,y,1)),y.d),v),mF(M,y,pEe),M=wE(e.p,e.p,"copyProperties"),ss(M,e.p,aQ),M=wE(e.p,null,"getAllProperties"),y=ip(e.wb.P),v=ip(e.o),Tn((!y.d&&(y.d=new Ei(qo,y,1)),y.d),v),T=(f=(p=new Ym,p),f),Tn((!v.d&&(v.d=new Ei(qo,v,1)),v.d),T),v=ip(e.wb.M),Tn((!y.d&&(y.d=new Ei(qo,y,1)),y.d),v),N=Zd(M,y,null),N&&N.mj(),Ms(e.a,Ak,GTt,!0,!1,!0),Mr(l(ie(Ne(e.a),0),20),e.k,null,nAt,0,-1,Ak,!1,!1,!0,!0,!1,!1,!1),Ms(e.f,t5,VTt,!0,!1,!0),Mr(l(ie(Ne(e.f),0),20),e.g,l(ie(Ne(e.g),0),20),"labels",0,-1,t5,!1,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.f),1),38),e.wb._,rAt,null,0,1,t5,!1,!1,!0,!1,!0,!1),Ms(e.n,n5,"ElkShape",!0,!1,!0),oi(l(ie(Ne(e.n),0),38),e.wb.t,cQ,dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.n),1),38),e.wb.t,uQ,dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.n),2),38),e.wb.t,"x",dx,1,1,n5,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.n),3),38),e.wb.t,"y",dx,1,1,n5,!1,!1,!0,!1,!0,!1),M=wE(e.n,null,"setDimensions"),ss(M,e.wb.t,uQ),ss(M,e.wb.t,cQ),M=wE(e.n,null,"setLocation"),ss(M,e.wb.t,"x"),ss(M,e.wb.t,"y"),Ms(e.g,Rs,dEe,!1,!1,!0),Mr(l(ie(Ne(e.g),0),20),e.f,l(ie(Ne(e.f),0),20),lQ,0,1,Rs,!1,!1,!0,!1,!1,!1,!1),oi(l(ie(Ne(e.g),1),38),e.wb._,dQ,"",0,1,Rs,!1,!1,!0,!1,!0,!1),Ms(e.c,pn,WTt,!0,!1,!0),Mr(l(ie(Ne(e.c),0),20),e.d,l(ie(Ne(e.d),1),20),"outgoingEdges",0,-1,pn,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.c),1),20),e.d,l(ie(Ne(e.d),2),20),"incomingEdges",0,-1,pn,!1,!1,!0,!1,!0,!1,!1),Ms(e.i,En,fEe,!1,!1,!0),Mr(l(ie(Ne(e.i),0),20),e.j,l(ie(Ne(e.j),0),20),"ports",0,-1,En,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.i),1),20),e.i,l(ie(Ne(e.i),2),20),fQ,0,-1,En,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.i),2),20),e.i,l(ie(Ne(e.i),1),20),lQ,0,1,En,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.i),3),20),e.d,l(ie(Ne(e.d),0),20),"containedEdges",0,-1,En,!1,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.i),4),38),e.wb.e,iAt,null,0,1,En,!0,!0,!1,!1,!0,!0),Ms(e.j,Gc,hEe,!1,!1,!0),Mr(l(ie(Ne(e.j),0),20),e.i,l(ie(Ne(e.i),0),20),lQ,0,1,Gc,!1,!1,!0,!1,!1,!1,!1),Ms(e.d,Ir,lEe,!1,!1,!0),Mr(l(ie(Ne(e.d),0),20),e.i,l(ie(Ne(e.i),3),20),"containingNode",0,1,Ir,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.d),1),20),e.c,l(ie(Ne(e.c),0),20),gEe,0,-1,Ir,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.d),2),20),e.c,l(ie(Ne(e.c),1),20),hQ,0,-1,Ir,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.d),3),20),e.e,l(ie(Ne(e.e),5),20),pQ,0,-1,Ir,!1,!1,!0,!0,!1,!1,!1),oi(l(ie(Ne(e.d),4),38),e.wb.e,"hyperedge",null,0,1,Ir,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.d),5),38),e.wb.e,iAt,null,0,1,Ir,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.d),6),38),e.wb.e,"selfloop",null,0,1,Ir,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.d),7),38),e.wb.e,"connected",null,0,1,Ir,!0,!0,!1,!1,!0,!0),Ms(e.b,Iu,qTt,!1,!1,!0),oi(l(ie(Ne(e.b),0),38),e.wb.t,"x",dx,1,1,Iu,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.b),1),38),e.wb.t,"y",dx,1,1,Iu,!1,!1,!0,!1,!0,!1),M=wE(e.b,null,"set"),ss(M,e.wb.t,"x"),ss(M,e.wb.t,"y"),Ms(e.e,jr,KTt,!1,!1,!0),oi(l(ie(Ne(e.e),0),38),e.wb.t,"startX",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.e),1),38),e.wb.t,"startY",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.e),2),38),e.wb.t,"endX",null,0,1,jr,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.e),3),38),e.wb.t,"endY",null,0,1,jr,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.e),4),20),e.b,null,z7,0,-1,jr,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.e),5),20),e.d,l(ie(Ne(e.d),3),20),lQ,0,1,jr,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.e),6),20),e.c,null,bEe,0,1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.e),7),20),e.c,null,mEe,0,1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.e),8),20),e.e,l(ie(Ne(e.e),9),20),wEe,0,-1,jr,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.e),9),20),e.e,l(ie(Ne(e.e),8),20),yEe,0,-1,jr,!1,!1,!0,!1,!0,!1,!1),oi(l(ie(Ne(e.e),10),38),e.wb._,rAt,null,0,1,jr,!1,!1,!0,!1,!0,!1),M=wE(e.e,null,"setStartLocation"),ss(M,e.wb.t,"x"),ss(M,e.wb.t,"y"),M=wE(e.e,null,"setEndLocation"),ss(M,e.wb.t,"x"),ss(M,e.wb.t,"y"),Ms(e.k,dm,"ElkPropertyToValueMapEntry",!1,!1,!1),y=ip(e.o),v=(m=(t=new Ym,t),m),Tn((!y.d&&(y.d=new Ei(qo,y,1)),y.d),v),P0t(l(ie(Ne(e.k),0),38),y,"key",dm,!1,!1,!0,!1),oi(l(ie(Ne(e.k),1),38),e.s,sI,null,0,1,dm,!1,!1,!0,!1,!0,!1),rr(e.o,cre,"IProperty",!0),rr(e.s,Ri,"PropertyValue",!0),e1e(e,Lx))}function n2t(){n2t=K,te=we(Ec,UE,30,Io,15,1),te[9]=35,te[10]=19,te[13]=19,te[32]=51,te[33]=49,te[34]=33,be(te,35,38,49),te[38]=1,be(te,39,45,49),be(te,45,47,-71),te[47]=49,be(te,48,58,-71),te[58]=61,te[59]=49,te[60]=1,te[61]=49,te[62]=33,be(te,63,65,49),be(te,65,91,-3),be(te,91,93,33),te[93]=1,te[94]=33,te[95]=-3,te[96]=33,be(te,97,123,-3),be(te,123,183,33),te[183]=-87,be(te,184,192,33),be(te,192,215,-19),te[215]=33,be(te,216,247,-19),te[247]=33,be(te,248,306,-19),be(te,306,308,33),be(te,308,319,-19),be(te,319,321,33),be(te,321,329,-19),te[329]=33,be(te,330,383,-19),te[383]=33,be(te,384,452,-19),be(te,452,461,33),be(te,461,497,-19),be(te,497,500,33),be(te,500,502,-19),be(te,502,506,33),be(te,506,536,-19),be(te,536,592,33),be(te,592,681,-19),be(te,681,699,33),be(te,699,706,-19),be(te,706,720,33),be(te,720,722,-87),be(te,722,768,33),be(te,768,838,-87),be(te,838,864,33),be(te,864,866,-87),be(te,866,902,33),te[902]=-19,te[903]=-87,be(te,904,907,-19),te[907]=33,te[908]=-19,te[909]=33,be(te,910,930,-19),te[930]=33,be(te,931,975,-19),te[975]=33,be(te,976,983,-19),be(te,983,986,33),te[986]=-19,te[987]=33,te[988]=-19,te[989]=33,te[990]=-19,te[991]=33,te[992]=-19,te[993]=33,be(te,994,1012,-19),be(te,1012,1025,33),be(te,1025,1037,-19),te[1037]=33,be(te,1038,1104,-19),te[1104]=33,be(te,1105,1117,-19),te[1117]=33,be(te,1118,1154,-19),te[1154]=33,be(te,1155,1159,-87),be(te,1159,1168,33),be(te,1168,1221,-19),be(te,1221,1223,33),be(te,1223,1225,-19),be(te,1225,1227,33),be(te,1227,1229,-19),be(te,1229,1232,33),be(te,1232,1260,-19),be(te,1260,1262,33),be(te,1262,1270,-19),be(te,1270,1272,33),be(te,1272,1274,-19),be(te,1274,1329,33),be(te,1329,1367,-19),be(te,1367,1369,33),te[1369]=-19,be(te,1370,1377,33),be(te,1377,1415,-19),be(te,1415,1425,33),be(te,1425,1442,-87),te[1442]=33,be(te,1443,1466,-87),te[1466]=33,be(te,1467,1470,-87),te[1470]=33,te[1471]=-87,te[1472]=33,be(te,1473,1475,-87),te[1475]=33,te[1476]=-87,be(te,1477,1488,33),be(te,1488,1515,-19),be(te,1515,1520,33),be(te,1520,1523,-19),be(te,1523,1569,33),be(te,1569,1595,-19),be(te,1595,1600,33),te[1600]=-87,be(te,1601,1611,-19),be(te,1611,1619,-87),be(te,1619,1632,33),be(te,1632,1642,-87),be(te,1642,1648,33),te[1648]=-87,be(te,1649,1720,-19),be(te,1720,1722,33),be(te,1722,1727,-19),te[1727]=33,be(te,1728,1743,-19),te[1743]=33,be(te,1744,1748,-19),te[1748]=33,te[1749]=-19,be(te,1750,1765,-87),be(te,1765,1767,-19),be(te,1767,1769,-87),te[1769]=33,be(te,1770,1774,-87),be(te,1774,1776,33),be(te,1776,1786,-87),be(te,1786,2305,33),be(te,2305,2308,-87),te[2308]=33,be(te,2309,2362,-19),be(te,2362,2364,33),te[2364]=-87,te[2365]=-19,be(te,2366,2382,-87),be(te,2382,2385,33),be(te,2385,2389,-87),be(te,2389,2392,33),be(te,2392,2402,-19),be(te,2402,2404,-87),be(te,2404,2406,33),be(te,2406,2416,-87),be(te,2416,2433,33),be(te,2433,2436,-87),te[2436]=33,be(te,2437,2445,-19),be(te,2445,2447,33),be(te,2447,2449,-19),be(te,2449,2451,33),be(te,2451,2473,-19),te[2473]=33,be(te,2474,2481,-19),te[2481]=33,te[2482]=-19,be(te,2483,2486,33),be(te,2486,2490,-19),be(te,2490,2492,33),te[2492]=-87,te[2493]=33,be(te,2494,2501,-87),be(te,2501,2503,33),be(te,2503,2505,-87),be(te,2505,2507,33),be(te,2507,2510,-87),be(te,2510,2519,33),te[2519]=-87,be(te,2520,2524,33),be(te,2524,2526,-19),te[2526]=33,be(te,2527,2530,-19),be(te,2530,2532,-87),be(te,2532,2534,33),be(te,2534,2544,-87),be(te,2544,2546,-19),be(te,2546,2562,33),te[2562]=-87,be(te,2563,2565,33),be(te,2565,2571,-19),be(te,2571,2575,33),be(te,2575,2577,-19),be(te,2577,2579,33),be(te,2579,2601,-19),te[2601]=33,be(te,2602,2609,-19),te[2609]=33,be(te,2610,2612,-19),te[2612]=33,be(te,2613,2615,-19),te[2615]=33,be(te,2616,2618,-19),be(te,2618,2620,33),te[2620]=-87,te[2621]=33,be(te,2622,2627,-87),be(te,2627,2631,33),be(te,2631,2633,-87),be(te,2633,2635,33),be(te,2635,2638,-87),be(te,2638,2649,33),be(te,2649,2653,-19),te[2653]=33,te[2654]=-19,be(te,2655,2662,33),be(te,2662,2674,-87),be(te,2674,2677,-19),be(te,2677,2689,33),be(te,2689,2692,-87),te[2692]=33,be(te,2693,2700,-19),te[2700]=33,te[2701]=-19,te[2702]=33,be(te,2703,2706,-19),te[2706]=33,be(te,2707,2729,-19),te[2729]=33,be(te,2730,2737,-19),te[2737]=33,be(te,2738,2740,-19),te[2740]=33,be(te,2741,2746,-19),be(te,2746,2748,33),te[2748]=-87,te[2749]=-19,be(te,2750,2758,-87),te[2758]=33,be(te,2759,2762,-87),te[2762]=33,be(te,2763,2766,-87),be(te,2766,2784,33),te[2784]=-19,be(te,2785,2790,33),be(te,2790,2800,-87),be(te,2800,2817,33),be(te,2817,2820,-87),te[2820]=33,be(te,2821,2829,-19),be(te,2829,2831,33),be(te,2831,2833,-19),be(te,2833,2835,33),be(te,2835,2857,-19),te[2857]=33,be(te,2858,2865,-19),te[2865]=33,be(te,2866,2868,-19),be(te,2868,2870,33),be(te,2870,2874,-19),be(te,2874,2876,33),te[2876]=-87,te[2877]=-19,be(te,2878,2884,-87),be(te,2884,2887,33),be(te,2887,2889,-87),be(te,2889,2891,33),be(te,2891,2894,-87),be(te,2894,2902,33),be(te,2902,2904,-87),be(te,2904,2908,33),be(te,2908,2910,-19),te[2910]=33,be(te,2911,2914,-19),be(te,2914,2918,33),be(te,2918,2928,-87),be(te,2928,2946,33),be(te,2946,2948,-87),te[2948]=33,be(te,2949,2955,-19),be(te,2955,2958,33),be(te,2958,2961,-19),te[2961]=33,be(te,2962,2966,-19),be(te,2966,2969,33),be(te,2969,2971,-19),te[2971]=33,te[2972]=-19,te[2973]=33,be(te,2974,2976,-19),be(te,2976,2979,33),be(te,2979,2981,-19),be(te,2981,2984,33),be(te,2984,2987,-19),be(te,2987,2990,33),be(te,2990,2998,-19),te[2998]=33,be(te,2999,3002,-19),be(te,3002,3006,33),be(te,3006,3011,-87),be(te,3011,3014,33),be(te,3014,3017,-87),te[3017]=33,be(te,3018,3022,-87),be(te,3022,3031,33),te[3031]=-87,be(te,3032,3047,33),be(te,3047,3056,-87),be(te,3056,3073,33),be(te,3073,3076,-87),te[3076]=33,be(te,3077,3085,-19),te[3085]=33,be(te,3086,3089,-19),te[3089]=33,be(te,3090,3113,-19),te[3113]=33,be(te,3114,3124,-19),te[3124]=33,be(te,3125,3130,-19),be(te,3130,3134,33),be(te,3134,3141,-87),te[3141]=33,be(te,3142,3145,-87),te[3145]=33,be(te,3146,3150,-87),be(te,3150,3157,33),be(te,3157,3159,-87),be(te,3159,3168,33),be(te,3168,3170,-19),be(te,3170,3174,33),be(te,3174,3184,-87),be(te,3184,3202,33),be(te,3202,3204,-87),te[3204]=33,be(te,3205,3213,-19),te[3213]=33,be(te,3214,3217,-19),te[3217]=33,be(te,3218,3241,-19),te[3241]=33,be(te,3242,3252,-19),te[3252]=33,be(te,3253,3258,-19),be(te,3258,3262,33),be(te,3262,3269,-87),te[3269]=33,be(te,3270,3273,-87),te[3273]=33,be(te,3274,3278,-87),be(te,3278,3285,33),be(te,3285,3287,-87),be(te,3287,3294,33),te[3294]=-19,te[3295]=33,be(te,3296,3298,-19),be(te,3298,3302,33),be(te,3302,3312,-87),be(te,3312,3330,33),be(te,3330,3332,-87),te[3332]=33,be(te,3333,3341,-19),te[3341]=33,be(te,3342,3345,-19),te[3345]=33,be(te,3346,3369,-19),te[3369]=33,be(te,3370,3386,-19),be(te,3386,3390,33),be(te,3390,3396,-87),be(te,3396,3398,33),be(te,3398,3401,-87),te[3401]=33,be(te,3402,3406,-87),be(te,3406,3415,33),te[3415]=-87,be(te,3416,3424,33),be(te,3424,3426,-19),be(te,3426,3430,33),be(te,3430,3440,-87),be(te,3440,3585,33),be(te,3585,3631,-19),te[3631]=33,te[3632]=-19,te[3633]=-87,be(te,3634,3636,-19),be(te,3636,3643,-87),be(te,3643,3648,33),be(te,3648,3654,-19),be(te,3654,3663,-87),te[3663]=33,be(te,3664,3674,-87),be(te,3674,3713,33),be(te,3713,3715,-19),te[3715]=33,te[3716]=-19,be(te,3717,3719,33),be(te,3719,3721,-19),te[3721]=33,te[3722]=-19,be(te,3723,3725,33),te[3725]=-19,be(te,3726,3732,33),be(te,3732,3736,-19),te[3736]=33,be(te,3737,3744,-19),te[3744]=33,be(te,3745,3748,-19),te[3748]=33,te[3749]=-19,te[3750]=33,te[3751]=-19,be(te,3752,3754,33),be(te,3754,3756,-19),te[3756]=33,be(te,3757,3759,-19),te[3759]=33,te[3760]=-19,te[3761]=-87,be(te,3762,3764,-19),be(te,3764,3770,-87),te[3770]=33,be(te,3771,3773,-87),te[3773]=-19,be(te,3774,3776,33),be(te,3776,3781,-19),te[3781]=33,te[3782]=-87,te[3783]=33,be(te,3784,3790,-87),be(te,3790,3792,33),be(te,3792,3802,-87),be(te,3802,3864,33),be(te,3864,3866,-87),be(te,3866,3872,33),be(te,3872,3882,-87),be(te,3882,3893,33),te[3893]=-87,te[3894]=33,te[3895]=-87,te[3896]=33,te[3897]=-87,be(te,3898,3902,33),be(te,3902,3904,-87),be(te,3904,3912,-19),te[3912]=33,be(te,3913,3946,-19),be(te,3946,3953,33),be(te,3953,3973,-87),te[3973]=33,be(te,3974,3980,-87),be(te,3980,3984,33),be(te,3984,3990,-87),te[3990]=33,te[3991]=-87,te[3992]=33,be(te,3993,4014,-87),be(te,4014,4017,33),be(te,4017,4024,-87),te[4024]=33,te[4025]=-87,be(te,4026,4256,33),be(te,4256,4294,-19),be(te,4294,4304,33),be(te,4304,4343,-19),be(te,4343,4352,33),te[4352]=-19,te[4353]=33,be(te,4354,4356,-19),te[4356]=33,be(te,4357,4360,-19),te[4360]=33,te[4361]=-19,te[4362]=33,be(te,4363,4365,-19),te[4365]=33,be(te,4366,4371,-19),be(te,4371,4412,33),te[4412]=-19,te[4413]=33,te[4414]=-19,te[4415]=33,te[4416]=-19,be(te,4417,4428,33),te[4428]=-19,te[4429]=33,te[4430]=-19,te[4431]=33,te[4432]=-19,be(te,4433,4436,33),be(te,4436,4438,-19),be(te,4438,4441,33),te[4441]=-19,be(te,4442,4447,33),be(te,4447,4450,-19),te[4450]=33,te[4451]=-19,te[4452]=33,te[4453]=-19,te[4454]=33,te[4455]=-19,te[4456]=33,te[4457]=-19,be(te,4458,4461,33),be(te,4461,4463,-19),be(te,4463,4466,33),be(te,4466,4468,-19),te[4468]=33,te[4469]=-19,be(te,4470,4510,33),te[4510]=-19,be(te,4511,4520,33),te[4520]=-19,be(te,4521,4523,33),te[4523]=-19,be(te,4524,4526,33),be(te,4526,4528,-19),be(te,4528,4535,33),be(te,4535,4537,-19),te[4537]=33,te[4538]=-19,te[4539]=33,be(te,4540,4547,-19),be(te,4547,4587,33),te[4587]=-19,be(te,4588,4592,33),te[4592]=-19,be(te,4593,4601,33),te[4601]=-19,be(te,4602,7680,33),be(te,7680,7836,-19),be(te,7836,7840,33),be(te,7840,7930,-19),be(te,7930,7936,33),be(te,7936,7958,-19),be(te,7958,7960,33),be(te,7960,7966,-19),be(te,7966,7968,33),be(te,7968,8006,-19),be(te,8006,8008,33),be(te,8008,8014,-19),be(te,8014,8016,33),be(te,8016,8024,-19),te[8024]=33,te[8025]=-19,te[8026]=33,te[8027]=-19,te[8028]=33,te[8029]=-19,te[8030]=33,be(te,8031,8062,-19),be(te,8062,8064,33),be(te,8064,8117,-19),te[8117]=33,be(te,8118,8125,-19),te[8125]=33,te[8126]=-19,be(te,8127,8130,33),be(te,8130,8133,-19),te[8133]=33,be(te,8134,8141,-19),be(te,8141,8144,33),be(te,8144,8148,-19),be(te,8148,8150,33),be(te,8150,8156,-19),be(te,8156,8160,33),be(te,8160,8173,-19),be(te,8173,8178,33),be(te,8178,8181,-19),te[8181]=33,be(te,8182,8189,-19),be(te,8189,8400,33),be(te,8400,8413,-87),be(te,8413,8417,33),te[8417]=-87,be(te,8418,8486,33),te[8486]=-19,be(te,8487,8490,33),be(te,8490,8492,-19),be(te,8492,8494,33),te[8494]=-19,be(te,8495,8576,33),be(te,8576,8579,-19),be(te,8579,12293,33),te[12293]=-87,te[12294]=33,te[12295]=-19,be(te,12296,12321,33),be(te,12321,12330,-19),be(te,12330,12336,-87),te[12336]=33,be(te,12337,12342,-87),be(te,12342,12353,33),be(te,12353,12437,-19),be(te,12437,12441,33),be(te,12441,12443,-87),be(te,12443,12445,33),be(te,12445,12447,-87),be(te,12447,12449,33),be(te,12449,12539,-19),te[12539]=33,be(te,12540,12543,-87),be(te,12543,12549,33),be(te,12549,12589,-19),be(te,12589,19968,33),be(te,19968,40870,-19),be(te,40870,44032,33),be(te,44032,55204,-19),be(te,55204,TD,33),be(te,57344,65534,33)}function K3n(e){var t,r,o,a,u,f,p;e.hb||(e.hb=!0,Ma(e,"ecore"),kj(e,"ecore"),Nj(e,_l),k6(e.fb,"E"),k6(e.L,"T"),k6(e.P,"K"),k6(e.P,"V"),k6(e.cb,"E"),Tn(ds(e.b),e.bb),Tn(ds(e.a),e.Q),Tn(ds(e.o),e.p),Tn(ds(e.p),e.R),Tn(ds(e.q),e.p),Tn(ds(e.v),e.q),Tn(ds(e.w),e.R),Tn(ds(e.B),e.Q),Tn(ds(e.R),e.Q),Tn(ds(e.T),e.eb),Tn(ds(e.U),e.R),Tn(ds(e.V),e.eb),Tn(ds(e.W),e.bb),Tn(ds(e.bb),e.eb),Tn(ds(e.eb),e.R),Tn(ds(e.db),e.R),Ms(e.b,wv,KAt,!1,!1,!0),oi(l(ie(Ne(e.b),0),38),e.e,"iD",null,0,1,wv,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.b),1),20),e.q,null,"eAttributeType",1,1,wv,!0,!0,!1,!1,!0,!1,!0),Ms(e.a,Kn,qAt,!1,!1,!0),oi(l(ie(Ne(e.a),0),38),e._,aQ,null,0,1,Kn,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.a),1),20),e.ab,null,"details",0,-1,Kn,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.a),2),20),e.Q,l(ie(Ne(e.Q),0),20),"eModelElement",0,1,Kn,!0,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.a),3),20),e.S,null,"contents",0,-1,Kn,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.a),4),20),e.S,null,"references",0,-1,Kn,!1,!1,!0,!1,!0,!1,!1),Ms(e.o,Ol,"EClass",!1,!1,!0),oi(l(ie(Ne(e.o),0),38),e.e,"abstract",null,0,1,Ol,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.o),1),38),e.e,"interface",null,0,1,Ol,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.o),2),20),e.o,null,"eSuperTypes",0,-1,Ol,!1,!1,!0,!1,!0,!0,!1),Mr(l(ie(Ne(e.o),3),20),e.T,l(ie(Ne(e.T),0),20),"eOperations",0,-1,Ol,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.o),4),20),e.b,null,"eAllAttributes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),5),20),e.W,null,"eAllReferences",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),6),20),e.W,null,"eReferences",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),7),20),e.b,null,"eAttributes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),8),20),e.W,null,"eAllContainments",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),9),20),e.T,null,"eAllOperations",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),10),20),e.bb,null,"eAllStructuralFeatures",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),11),20),e.o,null,"eAllSuperTypes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.o),12),20),e.b,null,"eIDAttribute",0,1,Ol,!0,!0,!1,!1,!1,!1,!0),Mr(l(ie(Ne(e.o),13),20),e.bb,l(ie(Ne(e.bb),7),20),"eStructuralFeatures",0,-1,Ol,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.o),14),20),e.H,null,"eGenericSuperTypes",0,-1,Ol,!1,!1,!0,!0,!1,!0,!1),Mr(l(ie(Ne(e.o),15),20),e.H,null,"eAllGenericSuperTypes",0,-1,Ol,!0,!0,!1,!1,!0,!1,!0),p=Yo(l(ie(Sr(e.o),0),62),e.e,"isSuperTypeOf"),ss(p,e.o,"someClass"),Yo(l(ie(Sr(e.o),1),62),e.I,"getFeatureCount"),p=Yo(l(ie(Sr(e.o),2),62),e.bb,s_t),ss(p,e.I,"featureID"),p=Yo(l(ie(Sr(e.o),3),62),e.I,a_t),ss(p,e.bb,pI),p=Yo(l(ie(Sr(e.o),4),62),e.bb,s_t),ss(p,e._,"featureName"),Yo(l(ie(Sr(e.o),5),62),e.I,"getOperationCount"),p=Yo(l(ie(Sr(e.o),6),62),e.T,"getEOperation"),ss(p,e.I,"operationID"),p=Yo(l(ie(Sr(e.o),7),62),e.I,c_t),ss(p,e.T,DEe),p=Yo(l(ie(Sr(e.o),8),62),e.T,"getOverride"),ss(p,e.T,DEe),p=Yo(l(ie(Sr(e.o),9),62),e.H,"getFeatureType"),ss(p,e.bb,pI),Ms(e.p,Ld,YAt,!0,!1,!0),oi(l(ie(Ne(e.p),0),38),e._,"instanceClassName",null,0,1,Ld,!1,!0,!0,!0,!0,!1),t=ip(e.L),r=Zhe(),Tn((!t.d&&(t.d=new Ei(qo,t,1)),t.d),r),P0t(l(ie(Ne(e.p),1),38),t,"instanceClass",Ld,!0,!0,!1,!0),oi(l(ie(Ne(e.p),2),38),e.M,u_t,null,0,1,Ld,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.p),3),38),e._,"instanceTypeName",null,0,1,Ld,!1,!0,!0,!0,!0,!1),Mr(l(ie(Ne(e.p),4),20),e.U,l(ie(Ne(e.U),3),20),"ePackage",0,1,Ld,!0,!1,!1,!1,!0,!1,!1),Mr(l(ie(Ne(e.p),5),20),e.db,null,l_t,0,-1,Ld,!1,!1,!0,!0,!0,!1,!1),p=Yo(l(ie(Sr(e.p),0),62),e.e,d_t),ss(p,e.M,pD),Yo(l(ie(Sr(e.p),1),62),e.I,"getClassifierID"),Ms(e.q,$re,"EDataType",!1,!1,!0),oi(l(ie(Ne(e.q),0),38),e.e,"serializable",Ix,0,1,$re,!1,!1,!0,!1,!0,!1),Ms(e.v,TU,"EEnum",!1,!1,!0),Mr(l(ie(Ne(e.v),0),20),e.w,l(ie(Ne(e.w),3),20),"eLiterals",0,-1,TU,!1,!1,!0,!0,!1,!1,!1),p=Yo(l(ie(Sr(e.v),0),62),e.w,f_t),ss(p,e._,sr),p=Yo(l(ie(Sr(e.v),1),62),e.w,f_t),ss(p,e.I,sI),p=Yo(l(ie(Sr(e.v),2),62),e.w,"getEEnumLiteralByLiteral"),ss(p,e._,"literal"),Ms(e.w,Op,JAt,!1,!1,!0),oi(l(ie(Ne(e.w),0),38),e.I,sI,null,0,1,Op,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.w),1),38),e.A,"instance",null,0,1,Op,!0,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.w),2),38),e._,"literal",null,0,1,Op,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.w),3),20),e.v,l(ie(Ne(e.v),0),20),"eEnum",0,1,Op,!0,!1,!1,!1,!1,!1,!1),Ms(e.B,I4,"EFactory",!1,!1,!0),Mr(l(ie(Ne(e.B),0),20),e.U,l(ie(Ne(e.U),2),20),"ePackage",1,1,I4,!0,!1,!0,!1,!1,!1,!1),p=Yo(l(ie(Sr(e.B),0),62),e.S,"create"),ss(p,e.o,"eClass"),p=Yo(l(ie(Sr(e.B),1),62),e.M,"createFromString"),ss(p,e.q,"eDataType"),ss(p,e._,"literalValue"),p=Yo(l(ie(Sr(e.B),2),62),e._,"convertToString"),ss(p,e.q,"eDataType"),ss(p,e.M,"instanceValue"),Ms(e.Q,r5,YTt,!0,!1,!0),Mr(l(ie(Ne(e.Q),0),20),e.a,l(ie(Ne(e.a),2),20),"eAnnotations",0,-1,r5,!1,!1,!0,!0,!1,!1,!1),p=Yo(l(ie(Sr(e.Q),0),62),e.a,"getEAnnotation"),ss(p,e._,aQ),Ms(e.R,Dre,JTt,!0,!1,!0),oi(l(ie(Ne(e.R),0),38),e._,sr,null,0,1,Dre,!1,!1,!0,!1,!0,!1),Ms(e.S,J1,"EObject",!1,!1,!0),Yo(l(ie(Sr(e.S),0),62),e.o,"eClass"),Yo(l(ie(Sr(e.S),1),62),e.e,"eIsProxy"),Yo(l(ie(Sr(e.S),2),62),e.X,"eResource"),Yo(l(ie(Sr(e.S),3),62),e.S,"eContainer"),Yo(l(ie(Sr(e.S),4),62),e.bb,"eContainingFeature"),Yo(l(ie(Sr(e.S),5),62),e.W,"eContainmentFeature"),p=Yo(l(ie(Sr(e.S),6),62),null,"eContents"),t=ip(e.fb),r=ip(e.S),Tn((!t.d&&(t.d=new Ei(qo,t,1)),t.d),r),a=Zd(p,t,null),a&&a.mj(),p=Yo(l(ie(Sr(e.S),7),62),null,"eAllContents"),t=ip(e.cb),r=ip(e.S),Tn((!t.d&&(t.d=new Ei(qo,t,1)),t.d),r),u=Zd(p,t,null),u&&u.mj(),p=Yo(l(ie(Sr(e.S),8),62),null,"eCrossReferences"),t=ip(e.fb),r=ip(e.S),Tn((!t.d&&(t.d=new Ei(qo,t,1)),t.d),r),f=Zd(p,t,null),f&&f.mj(),p=Yo(l(ie(Sr(e.S),9),62),e.M,"eGet"),ss(p,e.bb,pI),p=Yo(l(ie(Sr(e.S),10),62),e.M,"eGet"),ss(p,e.bb,pI),ss(p,e.e,"resolve"),p=Yo(l(ie(Sr(e.S),11),62),null,"eSet"),ss(p,e.bb,pI),ss(p,e.M,"newValue"),p=Yo(l(ie(Sr(e.S),12),62),e.e,"eIsSet"),ss(p,e.bb,pI),p=Yo(l(ie(Sr(e.S),13),62),null,"eUnset"),ss(p,e.bb,pI),p=Yo(l(ie(Sr(e.S),14),62),e.M,"eInvoke"),ss(p,e.T,DEe),t=ip(e.fb),r=Zhe(),Tn((!t.d&&(t.d=new Ei(qo,t,1)),t.d),r),mF(p,t,"arguments"),fan(p,e.K),Ms(e.T,Dl,ZAt,!1,!1,!0),Mr(l(ie(Ne(e.T),0),20),e.o,l(ie(Ne(e.o),3),20),h_t,0,1,Dl,!0,!1,!1,!1,!1,!1,!1),Mr(l(ie(Ne(e.T),1),20),e.db,null,l_t,0,-1,Dl,!1,!1,!0,!0,!0,!1,!1),Mr(l(ie(Ne(e.T),2),20),e.V,l(ie(Ne(e.V),0),20),"eParameters",0,-1,Dl,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.T),3),20),e.p,null,"eExceptions",0,-1,Dl,!1,!1,!0,!1,!0,!0,!1),Mr(l(ie(Ne(e.T),4),20),e.H,null,"eGenericExceptions",0,-1,Dl,!1,!1,!0,!0,!1,!0,!1),Yo(l(ie(Sr(e.T),0),62),e.I,c_t),p=Yo(l(ie(Sr(e.T),1),62),e.e,"isOverrideOf"),ss(p,e.T,"someOperation"),Ms(e.U,Dd,"EPackage",!1,!1,!0),oi(l(ie(Ne(e.U),0),38),e._,"nsURI",null,0,1,Dd,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.U),1),38),e._,"nsPrefix",null,0,1,Dd,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.U),2),20),e.B,l(ie(Ne(e.B),0),20),"eFactoryInstance",1,1,Dd,!0,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.U),3),20),e.p,l(ie(Ne(e.p),4),20),"eClassifiers",0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),Mr(l(ie(Ne(e.U),4),20),e.U,l(ie(Ne(e.U),5),20),"eSubpackages",0,-1,Dd,!1,!1,!0,!0,!0,!1,!1),Mr(l(ie(Ne(e.U),5),20),e.U,l(ie(Ne(e.U),4),20),"eSuperPackage",0,1,Dd,!0,!1,!1,!1,!0,!1,!1),p=Yo(l(ie(Sr(e.U),0),62),e.p,"getEClassifier"),ss(p,e._,sr),Ms(e.V,lw,QAt,!1,!1,!0),Mr(l(ie(Ne(e.V),0),20),e.T,l(ie(Ne(e.T),2),20),"eOperation",0,1,lw,!0,!1,!1,!1,!1,!1,!1),Ms(e.W,yv,e_t,!1,!1,!0),oi(l(ie(Ne(e.W),0),38),e.e,"containment",null,0,1,yv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.W),1),38),e.e,"container",null,0,1,yv,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.W),2),38),e.e,"resolveProxies",Ix,0,1,yv,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.W),3),20),e.W,null,"eOpposite",0,1,yv,!1,!1,!0,!1,!0,!1,!1),Mr(l(ie(Ne(e.W),4),20),e.o,null,"eReferenceType",1,1,yv,!0,!0,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.W),5),20),e.b,null,"eKeys",0,-1,yv,!1,!1,!0,!1,!0,!1,!1),Ms(e.bb,ac,WAt,!0,!1,!0),oi(l(ie(Ne(e.bb),0),38),e.e,"changeable",Ix,0,1,ac,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),1),38),e.e,"volatile",null,0,1,ac,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),2),38),e.e,"transient",null,0,1,ac,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),3),38),e._,"defaultValueLiteral",null,0,1,ac,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),4),38),e.M,u_t,null,0,1,ac,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.bb),5),38),e.e,"unsettable",null,0,1,ac,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.bb),6),38),e.e,"derived",null,0,1,ac,!1,!1,!0,!1,!0,!1),Mr(l(ie(Ne(e.bb),7),20),e.o,l(ie(Ne(e.o),13),20),h_t,0,1,ac,!0,!1,!1,!1,!1,!1,!1),Yo(l(ie(Sr(e.bb),0),62),e.I,a_t),p=Yo(l(ie(Sr(e.bb),1),62),null,"getContainerClass"),t=ip(e.L),r=Zhe(),Tn((!t.d&&(t.d=new Ei(qo,t,1)),t.d),r),o=Zd(p,t,null),o&&o.mj(),Ms(e.eb,mv,VAt,!0,!1,!0),oi(l(ie(Ne(e.eb),0),38),e.e,"ordered",Ix,0,1,mv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),1),38),e.e,"unique",Ix,0,1,mv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),2),38),e.I,"lowerBound",null,0,1,mv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),3),38),e.I,"upperBound","1",0,1,mv,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.eb),4),38),e.e,"many",null,0,1,mv,!0,!0,!1,!1,!0,!0),oi(l(ie(Ne(e.eb),5),38),e.e,"required",null,0,1,mv,!0,!0,!1,!1,!0,!0),Mr(l(ie(Ne(e.eb),6),20),e.p,null,"eType",0,1,mv,!1,!0,!0,!1,!0,!0,!1),Mr(l(ie(Ne(e.eb),7),20),e.H,null,"eGenericType",0,1,mv,!1,!0,!0,!0,!1,!0,!1),Ms(e.ab,dm,"EStringToStringMapEntry",!1,!1,!1),oi(l(ie(Ne(e.ab),0),38),e._,"key",null,0,1,dm,!1,!1,!0,!1,!0,!1),oi(l(ie(Ne(e.ab),1),38),e._,sI,null,0,1,dm,!1,!1,!0,!1,!0,!1),Ms(e.H,qo,XAt,!1,!1,!0),Mr(l(ie(Ne(e.H),0),20),e.H,null,"eUpperBound",0,1,qo,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.H),1),20),e.H,null,"eTypeArguments",0,-1,qo,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.H),2),20),e.p,null,"eRawType",1,1,qo,!0,!1,!1,!1,!0,!1,!0),Mr(l(ie(Ne(e.H),3),20),e.H,null,"eLowerBound",0,1,qo,!1,!1,!0,!0,!1,!1,!1),Mr(l(ie(Ne(e.H),4),20),e.db,null,"eTypeParameter",0,1,qo,!1,!1,!0,!1,!1,!1,!1),Mr(l(ie(Ne(e.H),5),20),e.p,null,"eClassifier",0,1,qo,!1,!1,!0,!1,!0,!1,!1),p=Yo(l(ie(Sr(e.H),0),62),e.e,d_t),ss(p,e.M,pD),Ms(e.db,Ka,t_t,!1,!1,!0),Mr(l(ie(Ne(e.db),0),20),e.H,null,"eBounds",0,-1,Ka,!1,!1,!0,!0,!1,!1,!1),rr(e.c,WQ,"EBigDecimal",!0),rr(e.d,GE,"EBigInteger",!0),rr(e.e,cc,"EBoolean",!0),rr(e.f,Yr,"EBooleanObject",!0),rr(e.i,Ec,"EByte",!0),rr(e.g,X(Ec,1),"EByteArray",!0),rr(e.j,ET,"EByteObject",!0),rr(e.k,al,"EChar",!0),rr(e.n,mI,"ECharacterObject",!0),rr(e.r,d$,"EDate",!0),rr(e.s,oCe,"EDiagnosticChain",!1),rr(e.t,Ki,"EDouble",!0),rr(e.u,fi,"EDoubleObject",!0),rr(e.fb,v3e,"EEList",!1),rr(e.A,T3e,"EEnumerator",!1),rr(e.C,V3e,"EFeatureMap",!1),rr(e.D,AU,"EFeatureMapEntry",!1),rr(e.F,Tv,"EFloat",!0),rr(e.G,Ux,"EFloatObject",!0),rr(e.I,Rn,"EInt",!0),rr(e.J,_i,"EIntegerObject",!0),rr(e.L,GEe,"EJavaClass",!0),rr(e.M,Ri,"EJavaObject",!0),rr(e.N,pw,"ELong",!0),rr(e.O,Y0,"ELongObject",!0),rr(e.P,qEe,"EMap",!1),rr(e.X,H3e,"EResource",!1),rr(e.Y,sCe,"EResourceSet",!1),rr(e.Z,T2,"EShort",!0),rr(e.$,J0,"EShortObject",!0),rr(e._,Je,"EString",!0),rr(e.cb,S3e,"ETreeIterator",!1),rr(e.K,aCe,"EInvocationTargetException",!1),e1e(e,_l))}var pD="object",cT="boolean",nwe="number",JJ="string",XJ="function",ar=2147483647,Fs="java.lang",gD={3:1},bD="com.google.common.base",ja=", ",r2t="%s (%s) must not be negative",It={3:1,4:1,5:1},i2t="negative size: ",rwe="no calls to next() since the last call to remove()",o2t="Optional.of(",tc="null",sx={206:1,51:1},mt="com.google.common.collect",ax={206:1,51:1,130:1},tm={231:1,3:1},Wi={51:1},gn="java.util",j0={93:1},Ry={22:1,32:1,18:1},tf=2042,wc={22:1,32:1,18:1,24:1},yp=2048,iwe={93:1,141:1,136:1},s2t={22:1,32:1,18:1,24:1,85:1},owe={22:1,32:1,18:1,279:1,24:1,85:1},vh={51:1,130:1},ZJ={359:1,45:1},a2t="AbstractMapEntry",c2t="expectedValuesPerKey",Pe={3:1,6:1,4:1,5:1},$f=16384,Tu={163:1},nn={42:1},mD={204:1},wD={l:4194303,m:4194303,h:524287},QJ={257:1,3:1,34:1},u2t="range unbounded on this side",Eh={22:1},l2t={22:1,18:1},swe={3:1,22:1,32:1,18:1},cx={312:1,3:1,22:1,32:1,18:1,16:1,59:1},n7={3:1,4:1,5:1,178:1},ux={3:1,93:1},eX={22:1,18:1,24:1},uT={3:1,22:1,32:1,18:1,24:1},d2t={22:1,18:1,24:1,85:1},Sh=461845907,Th=-862048943,yD={3:1,6:1,4:1,5:1,178:1},f2t="expectedSize",BC=1073741824,Oy="initialArraySize",Ce={3:1,6:1,4:1,10:1,5:1},lx={22:1,32:1,56:1,18:1,16:1},tX="arraySize",Tl=1024,h2t={22:1,32:1,56:1,18:1,16:1,59:1},Mn={48:1},r7={376:1},wg=1e-4,Zi=-2147483648,p2t="__noinit__",vp={3:1,102:1,63:1,81:1},vD="com.google.gwt.core.client.impl",awe="String",cwe="com.google.gwt.core.client",nX="anonymous",rX="fnStack",uwe="Unknown",Bf={203:1,3:1,4:1},yg=1e3,Ti=65535,iX="January",oX="February",sX="March",aX="April",lT="May",cX="June",uX="July",lX="August",dX="September",fX="October",hX="November",pX="December",N1=1900,Qn={54:1,3:1,4:1},g2t="Before Christ",b2t="Anno Domini",gX="Sunday",bX="Monday",mX="Tuesday",wX="Wednesday",yX="Thursday",vX="Friday",EX="Saturday",lwe="com.google.gwt.i18n.shared",m2t="DateTimeFormat",SX="com.google.gwt.i18n.client",w2t="DefaultDateTimeFormatInfo",y2t={3:1,4:1,34:1,208:1},dT="com.google.gwt.json.client",Hc=4194303,Ep=1048575,ED=524288,fT=4194304,nm=17592186044416,i7=1e9,SD=-17592186044416,dwe="java.io",o7={3:1,102:1,99:1,63:1,81:1},v2t={3:1,298:1,81:1},F0='For input string: "',Kr=1/0,Li=-1/0,Dy=4096,E2t={3:1,4:1,591:1},$t="org.eclipse.elk.layered",Io=65536,TD=55296,Xo={109:1,3:1,4:1},TX=1e5,S2t=.3010299956639812,Bo=4294967295,dx="0.0",AX={45:1},fx="Unable to add element to queue",T2t={3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1},A2t={3:1,22:1,32:1,56:1,18:1,16:1,59:1},_2t={22:1,18:1,16:1},_X={3:1,50:1},AD={191:1},LE={3:1,4:1,93:1},fwe={3:1,4:1,22:1,32:1,18:1,47:1,24:1},xX="delete",UC=14901161193847656e-24,HC=11102230246251565e-32,kX=15525485,_D=5960464477539063e-23,hwe=16777216,s7=16777215,pwe=", length: ",x2t={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1},gwe="subMap: ",k2t=" less than ",NX={3:1,34:1,23:1,310:1},CX="java.util.function",zC="java.util.logging",N2t={3:1,4:1,5:1,848:1},IX="undefined",Uo="java.util.stream",bwe={524:1,684:1},a7="fromIndex: ",C2t=" > toIndex: ",mwe=", toIndex: ",wwe="Index: ",ywe=", Size: ",hx="org.eclipse.elk.alg.common",Un={50:1},I2t="org.eclipse.elk.alg.common.compaction",R2t="Scanline/EventHandler",Ah="org.eclipse.elk.alg.common.compaction.oned",O2t="CNode belongs to another CGroup.",D2t="ISpacingsHandler/1",RX="The ",OX=" instance has been finished already.",L2t="The direction ",M2t=" is not supported by the CGraph instance.",P2t="OneDimensionalCompactor",j2t="OneDimensionalCompactor/lambda$0$Type",F2t="Quadruplet",$2t="ScanlineConstraintCalculator",B2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler",U2t="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",H2t="ScanlineConstraintCalculator/Timestamp",z2t="ScanlineConstraintCalculator/lambda$0$Type",Uf={181:1,48:1},GC="org.eclipse.elk.alg.common.networksimplex",Ad={172:1,3:1,4:1},G2t="org.eclipse.elk.alg.common.nodespacing",rm="org.eclipse.elk.alg.common.nodespacing.cellsystem",px="CENTER",q2t={219:1,338:1},vwe={3:1,4:1,5:1,599:1},hT="LEFT",pT="RIGHT",Ewe="Vertical alignment cannot be null",Swe="BOTTOM",c7="org.eclipse.elk.alg.common.nodespacing.internal",qC="UNDEFINED",nf=.01,xD="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",V2t="LabelPlacer/lambda$0$Type",W2t="LabelPlacer/lambda$1$Type",K2t="portRatioOrPosition",gx="org.eclipse.elk.alg.common.overlaps",DX="DOWN",gT="org.eclipse.elk.alg.common.spore",Ly={3:1,4:1,5:1,200:1},Y2t={3:1,6:1,4:1,5:1,91:1,111:1},LX="org.eclipse.elk.alg.force",Twe="ComponentsProcessor",J2t="ComponentsProcessor/1",Awe="ElkGraphImporter/lambda$0$Type",im={207:1},ME="org.eclipse.elk.core",kD="org.eclipse.elk.graph.properties",X2t="IPropertyHolder",ND="org.eclipse.elk.alg.force.graph",Z2t="Component Layout",_we="org.eclipse.elk.alg.force.model",Ns="org.eclipse.elk.core.data",u7="org.eclipse.elk.force.model",xwe="org.eclipse.elk.force.iterations",kwe="org.eclipse.elk.force.repulsivePower",MX="org.eclipse.elk.force.temperature",Hf=.001,PX="org.eclipse.elk.force.repulsion",td={139:1},VC="org.eclipse.elk.alg.force.options",bx=1.600000023841858,Ga="org.eclipse.elk.force",CD="org.eclipse.elk.priority",$0="org.eclipse.elk.spacing.nodeNode",jX="org.eclipse.elk.spacing.edgeLabel",mx="org.eclipse.elk.aspectRatio",l7="org.eclipse.elk.randomSeed",WC="org.eclipse.elk.separateConnectedComponents",B0="org.eclipse.elk.padding",wx="org.eclipse.elk.interactive",d7="org.eclipse.elk.portConstraints",ID="org.eclipse.elk.edgeLabels.inline",yx="org.eclipse.elk.omitNodeMicroLayout",vx="org.eclipse.elk.nodeSize.fixedGraphSize",bT="org.eclipse.elk.nodeSize.options",PE="org.eclipse.elk.nodeSize.constraints",Ex="org.eclipse.elk.nodeLabels.placement",Sx="org.eclipse.elk.portLabels.placement",RD="org.eclipse.elk.topdownLayout",OD="org.eclipse.elk.topdown.scaleFactor",DD="org.eclipse.elk.topdown.hierarchicalNodeWidth",LD="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",U0="org.eclipse.elk.topdown.nodeType",Nwe="origin",Q2t="random",eSt="boundingBox.upLeft",tSt="boundingBox.lowRight",Cwe="org.eclipse.elk.stress.fixed",Iwe="org.eclipse.elk.stress.desiredEdgeLength",Rwe="org.eclipse.elk.stress.dimension",Owe="org.eclipse.elk.stress.epsilon",Dwe="org.eclipse.elk.stress.iterationLimit",C1="org.eclipse.elk.stress",nSt="ELK Stress",mT="org.eclipse.elk.nodeSize.minimum",f7="org.eclipse.elk.alg.force.stress",rSt="Layered layout",wT="org.eclipse.elk.alg.layered",MD="org.eclipse.elk.alg.layered.compaction.components",KC="org.eclipse.elk.alg.layered.compaction.oned",h7="org.eclipse.elk.alg.layered.compaction.oned.algs",om="org.eclipse.elk.alg.layered.compaction.recthull",rf="org.eclipse.elk.alg.layered.components",_d="NONE",FX="MODEL_ORDER",ea={3:1,6:1,4:1,10:1,5:1,128:1},iSt={3:1,6:1,4:1,5:1,137:1,91:1,111:1},p7="org.eclipse.elk.alg.layered.compound",kr={43:1},ua="org.eclipse.elk.alg.layered.graph",$X=" -> ",oSt="Not supported by LGraph",Lwe="Port side is undefined",Tx={3:1,6:1,4:1,5:1,324:1,137:1,91:1,111:1},vg={3:1,6:1,4:1,5:1,137:1,201:1,212:1,91:1,111:1},sSt={3:1,6:1,4:1,5:1,137:1,2021:1,212:1,91:1,111:1},aSt=`([{"' \r
`,cSt=`)]}"' \r
`,uSt="The given string contains parts that cannot be parsed as numbers.",PD="org.eclipse.elk.core.math",lSt={3:1,4:1,125:1,216:1,419:1},dSt={3:1,4:1,100:1,216:1,419:1},Eg="org.eclipse.elk.alg.layered.graph.transform",fSt="ElkGraphImporter",hSt="ElkGraphImporter/lambda$1$Type",pSt="ElkGraphImporter/lambda$2$Type",gSt="ElkGraphImporter/lambda$4$Type",Xt="org.eclipse.elk.alg.layered.intermediate",bSt="Node margin calculation",mSt="ONE_SIDED_GREEDY_SWITCH",wSt="TWO_SIDED_GREEDY_SWITCH",BX="No implementation is available for the layout processor ",UX="IntermediateProcessorStrategy",HX="Node '",ySt="FIRST_SEPARATE",vSt="LAST_SEPARATE",ESt="Odd port side processing",di="org.eclipse.elk.alg.layered.intermediate.compaction",YC="org.eclipse.elk.alg.layered.intermediate.greedyswitch",_h="org.eclipse.elk.alg.layered.p3order.counting",JC={223:1},yT="org.eclipse.elk.alg.layered.intermediate.loops",Au="org.eclipse.elk.alg.layered.intermediate.loops.ordering",I1="org.eclipse.elk.alg.layered.intermediate.loops.routing",g7="org.eclipse.elk.alg.layered.intermediate.preserveorder",zf="org.eclipse.elk.alg.layered.intermediate.wrapping",$s="org.eclipse.elk.alg.layered.options",zX="INTERACTIVE",Mwe="GREEDY",SSt="DEPTH_FIRST",TSt="EDGE_LENGTH",ASt="SELF_LOOPS",_St="firstTryWithInitialOrder",Pwe="org.eclipse.elk.layered.directionCongruency",jwe="org.eclipse.elk.layered.feedbackEdges",b7="org.eclipse.elk.layered.interactiveReferencePoint",Fwe="org.eclipse.elk.layered.mergeEdges",$we="org.eclipse.elk.layered.mergeHierarchyEdges",Bwe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Uwe="org.eclipse.elk.layered.portSortingStrategy",Hwe="org.eclipse.elk.layered.thoroughness",zwe="org.eclipse.elk.layered.unnecessaryBendpoints",Gwe="org.eclipse.elk.layered.generatePositionAndLayerIds",jD="org.eclipse.elk.layered.cycleBreaking.strategy",FD="org.eclipse.elk.layered.layering.strategy",qwe="org.eclipse.elk.layered.layering.layerConstraint",Vwe="org.eclipse.elk.layered.layering.layerChoiceConstraint",Wwe="org.eclipse.elk.layered.layering.layerId",GX="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",qX="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",VX="org.eclipse.elk.layered.layering.nodePromotion.strategy",WX="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",KX="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",XC="org.eclipse.elk.layered.crossingMinimization.strategy",Kwe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",YX="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",JX="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Ywe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Jwe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Xwe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Zwe="org.eclipse.elk.layered.crossingMinimization.positionId",Qwe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",XX="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",m7="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",jE="org.eclipse.elk.layered.nodePlacement.strategy",w7="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",ZX="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",QX="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",eZ="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",tZ="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",nZ="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",eye="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",tye="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",y7="org.eclipse.elk.layered.edgeRouting.splines.mode",v7="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",rZ="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",nye="org.eclipse.elk.layered.spacing.baseValue",rye="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",iye="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",oye="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",sye="org.eclipse.elk.layered.priority.direction",aye="org.eclipse.elk.layered.priority.shortness",cye="org.eclipse.elk.layered.priority.straightness",iZ="org.eclipse.elk.layered.compaction.connectedComponents",uye="org.eclipse.elk.layered.compaction.postCompaction.strategy",lye="org.eclipse.elk.layered.compaction.postCompaction.constraints",E7="org.eclipse.elk.layered.highDegreeNodes.treatment",oZ="org.eclipse.elk.layered.highDegreeNodes.threshold",sZ="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Sp="org.eclipse.elk.layered.wrapping.strategy",S7="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",T7="org.eclipse.elk.layered.wrapping.correctionFactor",ZC="org.eclipse.elk.layered.wrapping.cutting.strategy",aZ="org.eclipse.elk.layered.wrapping.cutting.cuts",cZ="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",A7="org.eclipse.elk.layered.wrapping.validify.strategy",_7="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",x7="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",k7="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",uZ="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",lZ="org.eclipse.elk.layered.layerUnzipping.strategy",dZ="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",fZ="org.eclipse.elk.layered.layerUnzipping.layerSplit",hZ="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",dye="org.eclipse.elk.layered.edgeLabels.sideSelection",fye="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",N7="org.eclipse.elk.layered.considerModelOrder.strategy",hye="org.eclipse.elk.layered.considerModelOrder.portModelOrder",$D="org.eclipse.elk.layered.considerModelOrder.noModelOrder",pZ="org.eclipse.elk.layered.considerModelOrder.components",pye="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",gZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",bZ="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",mZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",wZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",yZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",gye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",vZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",EZ="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",bye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",mye="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",SZ="layering",xSt="layering.minWidth",kSt="layering.nodePromotion",Ax="crossingMinimization",C7="org.eclipse.elk.hierarchyHandling",NSt="crossingMinimization.greedySwitch",CSt="nodePlacement",ISt="nodePlacement.bk",RSt="edgeRouting",BD="org.eclipse.elk.edgeRouting",of="spacing",wye="priority",yye="compaction",OSt="compaction.postCompaction",DSt="Specifies whether and how post-process compaction is applied.",vye="highDegreeNodes",Eye="wrapping",LSt="wrapping.cutting",MSt="wrapping.validify",Sye="wrapping.multiEdge",TZ="layerUnzipping",AZ="edgeLabels",QC="considerModelOrder",_x="considerModelOrder.groupModelOrder",Tye="Group ID of the Node Type",Aye="org.eclipse.elk.spacing.commentComment",_ye="org.eclipse.elk.spacing.commentNode",xye="org.eclipse.elk.spacing.componentComponent",kye="org.eclipse.elk.spacing.edgeEdge",_Z="org.eclipse.elk.spacing.edgeNode",Nye="org.eclipse.elk.spacing.labelLabel",Cye="org.eclipse.elk.spacing.labelPortHorizontal",Iye="org.eclipse.elk.spacing.labelPortVertical",Rye="org.eclipse.elk.spacing.labelNode",Oye="org.eclipse.elk.spacing.nodeSelfLoop",Dye="org.eclipse.elk.spacing.portPort",Lye="org.eclipse.elk.spacing.individual",Mye="org.eclipse.elk.port.borderOffset",Pye="org.eclipse.elk.noLayout",jye="org.eclipse.elk.port.side",UD="org.eclipse.elk.debugMode",Fye="org.eclipse.elk.alignment",$ye="org.eclipse.elk.insideSelfLoops.activate",Bye="org.eclipse.elk.insideSelfLoops.yo",xZ="org.eclipse.elk.direction",Uye="org.eclipse.elk.nodeLabels.padding",Hye="org.eclipse.elk.portLabels.nextToPortIfPossible",zye="org.eclipse.elk.portLabels.treatAsGroup",Gye="org.eclipse.elk.portAlignment.default",qye="org.eclipse.elk.portAlignment.north",Vye="org.eclipse.elk.portAlignment.south",Wye="org.eclipse.elk.portAlignment.west",Kye="org.eclipse.elk.portAlignment.east",I7="org.eclipse.elk.contentAlignment",Yye="org.eclipse.elk.junctionPoints",Jye="org.eclipse.elk.edge.thickness",Xye="org.eclipse.elk.edgeLabels.placement",Zye="org.eclipse.elk.port.index",Qye="org.eclipse.elk.commentBox",eve="org.eclipse.elk.hypernode",tve="org.eclipse.elk.port.anchor",kZ="org.eclipse.elk.partitioning.activate",NZ="org.eclipse.elk.partitioning.partition",R7="org.eclipse.elk.position",CZ="org.eclipse.elk.margins",nve="org.eclipse.elk.spacing.portsSurrounding",O7="org.eclipse.elk.interactiveLayout",Vs="org.eclipse.elk.core.util",rve={3:1,4:1,5:1,597:1},PSt="NETWORK_SIMPLEX",ive="SIMPLE",IZ="No implementation is available for the node placer ",Fi={86:1,43:1},H0="org.eclipse.elk.alg.layered.p1cycles",jSt="Depth-first cycle removal",FSt="Model order cycle breaking",Tp="org.eclipse.elk.alg.layered.p2layers",ove={411:1,223:1},$St={838:1,3:1,4:1},qa="org.eclipse.elk.alg.layered.p3order",FE=17976931348623157e292,RZ=5e-324,Ho="org.eclipse.elk.alg.layered.p4nodes",BSt={3:1,4:1,5:1,846:1},Gf=1e-5,R1="org.eclipse.elk.alg.layered.p4nodes.bk",OZ="org.eclipse.elk.alg.layered.p5edges",xd="org.eclipse.elk.alg.layered.p5edges.orthogonal",DZ="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",LZ=1e-6,My="org.eclipse.elk.alg.layered.p5edges.splines",MZ=.09999999999999998,D7=1e-8,USt=4.71238898038469,HSt=1.5707963267948966,sve=3.141592653589793,Ap="org.eclipse.elk.alg.mrtree",zSt="Tree layout",GSt="P4_EDGE_ROUTING",PZ=.10000000149011612,L7="SUPER_ROOT",eI="org.eclipse.elk.alg.mrtree.graph",ave=-17976931348623157e292,Aa="org.eclipse.elk.alg.mrtree.intermediate",qSt="Processor compute fanout",M7={3:1,6:1,4:1,5:1,526:1,91:1,111:1},VSt="Set neighbors in level",HD="org.eclipse.elk.alg.mrtree.options",WSt="DESCENDANTS",cve="org.eclipse.elk.mrtree.compaction",uve="org.eclipse.elk.mrtree.edgeEndTextureLength",lve="org.eclipse.elk.mrtree.treeLevel",dve="org.eclipse.elk.mrtree.positionConstraint",fve="org.eclipse.elk.mrtree.weighting",hve="org.eclipse.elk.mrtree.edgeRoutingMode",pve="org.eclipse.elk.mrtree.searchOrder",KSt="Position Constraint",Va="org.eclipse.elk.mrtree",gve="org.eclipse.elk.tree",YSt="Processor arrange level",xx="org.eclipse.elk.alg.mrtree.p2order",cu="org.eclipse.elk.alg.mrtree.p4route",bve="org.eclipse.elk.alg.radial",JSt="The given graph is not a tree!",sm=6.283185307179586,mve="Before",P7="After",wve="org.eclipse.elk.alg.radial.intermediate",XSt="COMPACTION",jZ="org.eclipse.elk.alg.radial.intermediate.compaction",ZSt={3:1,4:1,5:1,91:1},yve="org.eclipse.elk.alg.radial.intermediate.optimization",FZ="No implementation is available for the layout option ",tI="org.eclipse.elk.alg.radial.options",QSt="CompactionStrategy",vve="org.eclipse.elk.radial.centerOnRoot",Eve="org.eclipse.elk.radial.orderId",Sve="org.eclipse.elk.radial.radius",j7="org.eclipse.elk.radial.rotate",$Z="org.eclipse.elk.radial.compactor",BZ="org.eclipse.elk.radial.compactionStepSize",Tve="org.eclipse.elk.radial.sorter",Ave="org.eclipse.elk.radial.wedgeCriteria",_ve="org.eclipse.elk.radial.optimizationCriteria",UZ="org.eclipse.elk.radial.rotation.targetAngle",HZ="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",xve="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",eTt="Compaction",kve="rotation",Qu="org.eclipse.elk.radial",tTt="org.eclipse.elk.alg.radial.p1position.wedge",Nve="org.eclipse.elk.alg.radial.sorting",nTt=5.497787143782138,rTt=3.9269908169872414,iTt=2.356194490192345,oTt="org.eclipse.elk.alg.rectpacking",nI="org.eclipse.elk.alg.rectpacking.intermediate",zZ="org.eclipse.elk.alg.rectpacking.options",Cve="org.eclipse.elk.rectpacking.trybox",Ive="org.eclipse.elk.rectpacking.currentPosition",Rve="org.eclipse.elk.rectpacking.desiredPosition",Ove="org.eclipse.elk.rectpacking.inNewRow",Dve="org.eclipse.elk.rectpacking.orderBySize",Lve="org.eclipse.elk.rectpacking.widthApproximation.strategy",Mve="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Pve="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",jve="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Fve="org.eclipse.elk.rectpacking.packing.strategy",$ve="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Bve="org.eclipse.elk.rectpacking.packing.compaction.iterations",Uve="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",GZ="widthApproximation",sTt="Compaction Strategy",aTt="packing.compaction",kc="org.eclipse.elk.rectpacking",kx="org.eclipse.elk.alg.rectpacking.p1widthapproximation",F7="org.eclipse.elk.alg.rectpacking.p2packing",cTt="No Compaction",Hve="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",zD="org.eclipse.elk.alg.rectpacking.util",$7="No implementation available for ",Py="org.eclipse.elk.alg.spore",jy="org.eclipse.elk.alg.spore.options",z0="org.eclipse.elk.sporeCompaction",qZ="org.eclipse.elk.underlyingLayoutAlgorithm",zve="org.eclipse.elk.processingOrder.treeConstruction",Gve="org.eclipse.elk.processingOrder.spanningTreeCostFunction",VZ="org.eclipse.elk.processingOrder.preferredRoot",WZ="org.eclipse.elk.processingOrder.rootSelection",KZ="org.eclipse.elk.structure.structureExtractionStrategy",qve="org.eclipse.elk.compaction.compactionStrategy",Vve="org.eclipse.elk.compaction.orthogonal",Wve="org.eclipse.elk.overlapRemoval.maxIterations",Kve="org.eclipse.elk.overlapRemoval.runScanline",YZ="processingOrder",uTt="overlapRemoval",Nx="org.eclipse.elk.sporeOverlap",lTt="org.eclipse.elk.alg.spore.p1structure",JZ="org.eclipse.elk.alg.spore.p2processingorder",XZ="org.eclipse.elk.alg.spore.p3execution",Yve="org.eclipse.elk.alg.vertiflex",Jve="org.eclipse.elk.vertiflex.verticalConstraint",Xve="org.eclipse.elk.vertiflex.layoutStrategy",Zve="org.eclipse.elk.vertiflex.layerDistance",Qve="org.eclipse.elk.vertiflex.considerNodeModelOrder",eEe="org.eclipse.elk.alg.vertiflex.options",G0="org.eclipse.elk.vertiflex",dTt="org.eclipse.elk.alg.vertiflex.p1yplacement",ZZ="org.eclipse.elk.alg.vertiflex.p2relative",fTt="org.eclipse.elk.alg.vertiflex.p3absolute",hTt="BendEdgeRouter",tEe="org.eclipse.elk.alg.vertiflex.p4edgerouting",pTt="StraightEdgeRouter",gTt="Topdown Layout",bTt="Invalid index: ",Cx="org.eclipse.elk.core.alg",$E={343:1},Fy={297:1},mTt="Make sure its type is registered with the ",nEe=" utility class.",Ix="true",QZ="false",wTt="Couldn't clone property '",q0=.05,Fa="org.eclipse.elk.core.options",yTt=1.2999999523162842,V0="org.eclipse.elk.box",rEe="org.eclipse.elk.expandNodes",iEe="org.eclipse.elk.box.packingMode",vTt="org.eclipse.elk.algorithm",ETt="org.eclipse.elk.resolvedAlgorithm",oEe="org.eclipse.elk.bendPoints",Y3n="org.eclipse.elk.labelManager",STt="org.eclipse.elk.softwrappingFuzziness",TTt="org.eclipse.elk.scaleFactor",ATt="org.eclipse.elk.childAreaWidth",_Tt="org.eclipse.elk.childAreaHeight",xTt="org.eclipse.elk.animate",kTt="org.eclipse.elk.animTimeFactor",NTt="org.eclipse.elk.layoutAncestors",CTt="org.eclipse.elk.maxAnimTime",ITt="org.eclipse.elk.minAnimTime",RTt="org.eclipse.elk.progressBar",OTt="org.eclipse.elk.validateGraph",DTt="org.eclipse.elk.validateOptions",LTt="org.eclipse.elk.zoomToFit",MTt="org.eclipse.elk.json.shapeCoords",PTt="org.eclipse.elk.json.edgeCoords",J3n="org.eclipse.elk.font.name",jTt="org.eclipse.elk.font.size",eQ="org.eclipse.elk.topdown.sizeCategories",sEe="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",tQ="org.eclipse.elk.topdown.sizeApproximator",aEe="org.eclipse.elk.topdown.scaleCap",FTt="org.eclipse.elk.edge.type",$Tt="partitioning",BTt="nodeLabels",B7="portAlignment",nQ="nodeSize",rQ="port",cEe="portLabels",Rx="topdown",UTt="insideSelfLoops",uEe="INHERIT",Ox="org.eclipse.elk.fixed",U7="org.eclipse.elk.random",H7={3:1,34:1,23:1,525:1,290:1},HTt="port must have a parent node to calculate the port side",zTt="The edge needs to have exactly one edge section. Found: ",rI="org.eclipse.elk.core.util.adapters",el="org.eclipse.emf.ecore",BE="org.eclipse.elk.graph",GTt="EMapPropertyHolder",qTt="ElkBendPoint",VTt="ElkGraphElement",WTt="ElkConnectableShape",lEe="ElkEdge",KTt="ElkEdgeSection",YTt="EModelElement",JTt="ENamedElement",dEe="ElkLabel",fEe="ElkNode",hEe="ElkPort",XTt={95:1,94:1},vT="org.eclipse.emf.common.notify.impl",O1="The feature '",iI="' is not a valid changeable feature",ZTt="Expecting null",iQ="' is not a valid feature",QTt="The feature ID",eAt=" is not a valid feature ID",Ws=32768,tAt={110:1,95:1,94:1,57:1,52:1,101:1},zt="org.eclipse.emf.ecore.impl",am="org.eclipse.elk.graph.impl",oI="Recursive containment not allowed for ",Dx="The datatype '",W0="' is not a valid classifier",oQ="The value '",UE={198:1,3:1,4:1},sQ="The class '",Lx="http://www.eclipse.org/elk/ElkGraph",pEe="property",sI="value",aQ="source",nAt="properties",rAt="identifier",cQ="height",uQ="width",lQ="parent",dQ="text",fQ="children",iAt="hierarchical",gEe="sources",hQ="targets",pQ="sections",z7="bendPoints",bEe="outgoingShape",mEe="incomingShape",wEe="outgoingSections",yEe="incomingSections",ko="org.eclipse.emf.common.util",vEe="Severe implementation error in the Json to ElkGraph importer.",qf="id",oo="org.eclipse.elk.graph.json",Mx="Unhandled parameter types: ",oAt="startPoint",sAt="An edge must have at least one source and one target (edge id: '",Px="').",aAt="Referenced edge section does not exist: ",cAt=" (edge id: '",EEe="target",uAt="sourcePoint",lAt="targetPoint",G7="group",sr="name",dAt="connectableShape cannot be null",fAt="edge cannot be null",hAt="Passed edge is not 'simple'.",q7="org.eclipse.elk.graph.util",GD="The 'no duplicates' constraint is violated",gQ="targetIndex=",cm=", size=",bQ="sourceIndex=",Vf={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},mQ={3:1,4:1,22:1,32:1,56:1,18:1,51:1,16:1,59:1,71:1,67:1,61:1,592:1},V7="logging",pAt="measureExecutionTime",gAt="parser.parse.1",bAt="parser.parse.2",W7="parser.next.1",wQ="parser.next.2",mAt="parser.next.3",wAt="parser.next.4",um="parser.factor.1",SEe="parser.factor.2",yAt="parser.factor.3",vAt="parser.factor.4",EAt="parser.factor.5",SAt="parser.factor.6",TAt="parser.atom.1",AAt="parser.atom.2",_At="parser.atom.3",TEe="parser.atom.4",yQ="parser.atom.5",AEe="parser.cc.1",K7="parser.cc.2",xAt="parser.cc.3",kAt="parser.cc.5",_Ee="parser.cc.6",xEe="parser.cc.7",vQ="parser.cc.8",NAt="parser.ope.1",CAt="parser.ope.2",IAt="parser.ope.3",Sg="parser.descape.1",RAt="parser.descape.2",OAt="parser.descape.3",DAt="parser.descape.4",LAt="parser.descape.5",tl="parser.process.1",MAt="parser.quantifier.1",PAt="parser.quantifier.2",jAt="parser.quantifier.3",FAt="parser.quantifier.4",kEe="parser.quantifier.5",$At="org.eclipse.emf.common.notify",NEe={420:1,683:1},BAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1},qD={374:1,152:1},aI="index=",EQ={3:1,4:1,5:1,131:1},UAt={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,61:1},CEe={3:1,6:1,4:1,5:1,200:1},HAt={3:1,4:1,5:1,178:1,375:1},zAt=";/?:@&=+$,",GAt="invalid authority: ",qAt="EAnnotation",VAt="ETypedElement",WAt="EStructuralFeature",KAt="EAttribute",YAt="EClassifier",JAt="EEnumLiteral",XAt="EGenericType",ZAt="EOperation",QAt="EParameter",e_t="EReference",t_t="ETypeParameter",Fr="org.eclipse.emf.ecore.util",SQ={78:1},IEe={3:1,22:1,18:1,16:1,61:1,593:1,78:1,72:1,98:1},n_t="org.eclipse.emf.ecore.util.FeatureMap$Entry",yc=8192,cI="byte",Y7="char",uI="double",lI="float",dI="int",fI="long",hI="short",r_t="java.lang.Object",HE={3:1,4:1,5:1,258:1},REe={3:1,4:1,5:1,685:1},i_t={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},ws={3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,72:1,98:1},VD="mixed",Bn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Al="kind",o_t={3:1,4:1,5:1,686:1},OEe={3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1,78:1,72:1,98:1},J7={22:1,32:1,56:1,18:1,16:1,61:1,72:1},X7={51:1,130:1,289:1},Z7={76:1,345:1},Q7="The value of type '",e$="' must be of type '",zE=1318,_l="http://www.eclipse.org/emf/2002/Ecore",t$=-32768,K0="constraints",ho="baseType",s_t="getEStructuralFeature",a_t="getFeatureID",pI="feature",c_t="getOperationID",DEe="operation",u_t="defaultValue",l_t="eTypeParameters",d_t="isInstance",f_t="getEEnumLiteral",h_t="eContainingClass",tr={58:1},p_t={3:1,4:1,5:1,123:1},g_t="org.eclipse.emf.ecore.resource",b_t={95:1,94:1,595:1,2013:1},TQ="org.eclipse.emf.ecore.resource.impl",LEe="unspecified",WD="simple",n$="attribute",m_t="attributeWildcard",r$="element",AQ="elementWildcard",kd="collapse",_Q="itemType",i$="namespace",KD="##targetNamespace",xl="whiteSpace",MEe="wildcards",lm="http://www.eclipse.org/emf/2003/XMLType",xQ="##any",jx="uninitialized",YD="The multiplicity constraint is violated",o$="org.eclipse.emf.ecore.xml.type",w_t="ProcessingInstruction",y_t="SimpleAnyType",v_t="XMLTypeDocumentRoot",Ai="org.eclipse.emf.ecore.xml.type.impl",JD="INF",E_t="processing",S_t="ENTITIES_._base",PEe="minLength",jEe="ENTITY",s$="NCName",T_t="IDREFS_._base",FEe="integer",kQ="token",NQ="pattern",A_t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",$Ee="\\i\\c*",__t="[\\i-[:]][\\c-[:]]*",x_t="nonPositiveInteger",XD="maxInclusive",BEe="NMTOKEN",k_t="NMTOKENS_._base",UEe="nonNegativeInteger",ZD="minInclusive",N_t="normalizedString",C_t="unsignedByte",I_t="unsignedInt",R_t="18446744073709551615",O_t="unsignedShort",D_t="processingInstruction",Tg="org.eclipse.emf.ecore.xml.type.internal",Fx=1114111,L_t="Internal Error: shorthands: \\u",gI="xml:isDigit",CQ="xml:isWord",IQ="xml:isSpace",RQ="xml:isNameChar",OQ="xml:isInitialNameChar",M_t="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",P_t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",j_t="Private Use",DQ="ASSIGNED",LQ="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",HEe="UNASSIGNED",$x={3:1,122:1},F_t="org.eclipse.emf.ecore.xml.type.util",a$={3:1,4:1,5:1,377:1},zEe="org.eclipse.xtext.xbase.lib",$_t="Cannot add elements to a Range",B_t="Cannot set elements in a Range",U_t="Cannot remove elements from a Range",H_t="user.agent",h,c$,MQ;b.goog=b.goog||{},b.goog.global=b.goog.global||b,c$={},x(1,null,{},E),h.Fb=function(t){return Unt(this,t)},h.Gb=function(){return this.Pm},h.Hb=function(){return s0(this)},h.Ib=function(){var t;return Ab(ru(this))+"@"+(t=Rr(this)>>>0,t.toString(16))},h.equals=function(e){return this.Fb(e)},h.hashCode=function(){return this.Hb()},h.toString=function(){return this.Ib()};var z_t,G_t,q_t;x(299,1,{299:1,2103:1},Pge),h.te=function(t){var r;return r=new Pge,r.i=4,t>1?r.c=wct(this,t-1):r.c=this,r},h.ue=function(){return np(this),this.b},h.ve=function(){return Ab(this)},h.we=function(){return np(this),this.k},h.xe=function(){return(this.i&4)!=0},h.ye=function(){return(this.i&1)!=0},h.Ib=function(){return Vpe(this)},h.i=0;var Ri=k(Fs,"Object",1),GEe=k(Fs,"Class",299);x(2075,1,gD),k(bD,"Optional",2075),x(1172,2075,gD,S),h.Fb=function(t){return t===this},h.Hb=function(){return 2040732332},h.Ib=function(){return"Optional.absent()"},h.Jb=function(t){return kn(t),BN(),PQ};var PQ;k(bD,"Absent",1172),x(634,1,{},bq),k(bD,"Joiner",634);var X3n=Hr(bD,"Predicate");x(584,1,{181:1,584:1,3:1,48:1},yKe),h.Mb=function(t){return Ept(this,t)},h.Lb=function(t){return Ept(this,t)},h.Fb=function(t){var r;return se(t,584)?(r=l(t,584),Ome(this.a,r.a)):!1},h.Hb=function(){return Uge(this.a)+306654252},h.Ib=function(){return qyn(this.a)},k(bD,"Predicates/AndPredicate",584),x(416,2075,{416:1,3:1},E9),h.Fb=function(t){var r;return se(t,416)?(r=l(t,416),gr(this.a,r.a)):!1},h.Hb=function(){return 1502476572+Rr(this.a)},h.Ib=function(){return o2t+this.a+")"},h.Jb=function(t){return new E9(CP(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},k(bD,"Present",416),x(206,1,sx),h.Nb=function(t){so(this,t)},h.Qb=function(){kQe()},k(mt,"UnmodifiableIterator",206),x(2055,206,ax),h.Qb=function(){kQe()},h.Rb=function(t){throw Y(new Nn)},h.Wb=function(t){throw Y(new Nn)},k(mt,"UnmodifiableListIterator",2055),x(394,2055,ax),h.Ob=function(){return this.b<this.c},h.Sb=function(){return this.b>0},h.Pb=function(){if(this.b>=this.c)throw Y(new vs);return this.Xb(this.b++)},h.Tb=function(){return this.b},h.Ub=function(){if(this.b<=0)throw Y(new vs);return this.Xb(--this.b)},h.Vb=function(){return this.b-1},h.b=0,h.c=0,k(mt,"AbstractIndexedListIterator",394),x(709,206,sx),h.Ob=function(){return EK(this)},h.Pb=function(){return Bpe(this)},h.e=1,k(mt,"AbstractIterator",709),x(2063,1,{231:1}),h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.Fb=function(t){return zK(this,t)},h.Hb=function(){return Rr(this.Zb())},h.dc=function(){return this.gc()==0},h.ec=function(){return kS(this)},h.Ib=function(){return ms(this.Zb())},k(mt,"AbstractMultimap",2063),x(737,2063,tm),h.$b=function(){yj(this)},h._b=function(t){return zQe(this,t)},h.ac=function(){return new HA(this,this.c)},h.ic=function(t){return this.hc()},h.bc=function(){return new aE(this,this.c)},h.jc=function(){return this.mc(this.hc())},h.kc=function(){return new fQe(this)},h.lc=function(){return XY(this.c.vc().Lc(),new C,64,this.d)},h.cc=function(t){return yr(this,t)},h.fc=function(t){return O6(this,t)},h.gc=function(){return this.d},h.mc=function(t){return At(),new CA(t)},h.nc=function(){return new dQe(this)},h.oc=function(){return XY(this.c.Bc().Lc(),new _,64,this.d)},h.pc=function(t,r){return new tj(this,t,r,null)},h.d=0,k(mt,"AbstractMapBasedMultimap",737),x(1678,737,tm),h.hc=function(){return new Da(this.a)},h.jc=function(){return At(),At(),Ro},h.cc=function(t){return l(yr(this,t),16)},h.fc=function(t){return l(O6(this,t),16)},h.Zb=function(){return DS(this)},h.Fb=function(t){return zK(this,t)},h.qc=function(t){return l(yr(this,t),16)},h.rc=function(t){return l(O6(this,t),16)},h.mc=function(t){return IP(l(t,16))},h.pc=function(t,r){return Nut(this,t,l(r,16),null)},k(mt,"AbstractListMultimap",1678),x(743,1,Wi),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.c.Ob()||this.e.Ob()},h.Pb=function(){var t;return this.e.Ob()||(t=l(this.c.Pb(),45),this.b=t.jd(),this.a=l(t.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},h.Qb=function(){this.e.Qb(),l(wl(this.a),18).dc()&&this.c.Qb(),--this.d.d},k(mt,"AbstractMapBasedMultimap/Itr",743),x(1110,743,Wi,dQe),h.sc=function(t,r){return r},k(mt,"AbstractMapBasedMultimap/1",1110),x(1111,1,{},_),h.Kb=function(t){return l(t,18).Lc()},k(mt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1111),x(1112,743,Wi,fQe),h.sc=function(t,r){return new t0(t,r)},k(mt,"AbstractMapBasedMultimap/2",1112);var qEe=Hr(gn,"Map");x(2044,1,j0),h.wc=function(t){S6(this,t)},h.$b=function(){this.vc().$b()},h.tc=function(t){return DY(this,t)},h._b=function(t){return!!Ibe(this,t,!1)},h.uc=function(t){var r,o,a;for(o=this.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),a=r.kd(),me(t)===me(a)||t!=null&&gr(t,a))return!0;return!1},h.Fb=function(t){var r,o,a;if(t===this)return!0;if(!se(t,93)||(a=l(t,93),this.gc()!=a.gc()))return!1;for(o=a.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),!this.tc(r))return!1;return!0},h.xc=function(t){return Ss(Ibe(this,t,!1))},h.Hb=function(){return Dge(this.vc())},h.dc=function(){return this.gc()==0},h.ec=function(){return new Xh(this)},h.yc=function(t,r){throw Y(new Jp("Put not supported on this map"))},h.zc=function(t){X3(this,t)},h.Ac=function(t){return Ss(Ibe(this,t,!0))},h.gc=function(){return this.vc().gc()},h.Ib=function(){return qbt(this)},h.Bc=function(){return new Zh(this)},k(gn,"AbstractMap",2044),x(2064,2044,j0),h.bc=function(){return new G9(this)},h.vc=function(){return hst(this)},h.ec=function(){var t;return t=this.g,t||(this.g=this.bc())},h.Bc=function(){var t;return t=this.i,t||(this.i=new Uet(this))},k(mt,"Maps/ViewCachingAbstractMap",2064),x(398,2064,j0,HA),h.xc=function(t){return Mfn(this,t)},h.Ac=function(t){return Vpn(this,t)},h.$b=function(){this.d==this.e.c?this.e.$b():oP(new Bfe(this))},h._b=function(t){return fgt(this.d,t)},h.Dc=function(){return new vKe(this)},h.Cc=function(){return this.Dc()},h.Fb=function(t){return this===t||gr(this.d,t)},h.Hb=function(){return Rr(this.d)},h.ec=function(){return this.e.ec()},h.gc=function(){return this.d.gc()},h.Ib=function(){return ms(this.d)},k(mt,"AbstractMapBasedMultimap/AsMap",398);var nl=Hr(Fs,"Iterable");x(32,1,Ry),h.Ic=function(t){lo(this,t)},h.Lc=function(){return new St(this,0)},h.Mc=function(){return new vt(null,this.Lc())},h.Ec=function(t){throw Y(new Jp("Add not supported on this collection"))},h.Fc=function(t){return wo(this,t)},h.$b=function(){_he(this)},h.Gc=function(t){return my(this,t,!1)},h.Hc=function(t){return N6(this,t)},h.dc=function(){return this.gc()==0},h.Kc=function(t){return my(this,t,!0)},h.Nc=function(){return Zfe(this)},h.Oc=function(t){return pC(this,t)},h.Ib=function(){return Qd(this)},k(gn,"AbstractCollection",32);var kl=Hr(gn,"Set");x(tf,32,wc),h.Lc=function(){return new St(this,1)},h.Fb=function(t){return s1t(this,t)},h.Hb=function(){return Dge(this)},k(gn,"AbstractSet",tf),x(2047,tf,wc),k(mt,"Sets/ImprovedAbstractSet",2047),x(yp,2047,wc),h.$b=function(){this.Pc().$b()},h.Gc=function(t){return Ugt(this,t)},h.dc=function(){return this.Pc().dc()},h.Kc=function(t){var r;return this.Gc(t)&&se(t,45)?(r=l(t,45),this.Pc().ec().Kc(r.jd())):!1},h.gc=function(){return this.Pc().gc()},k(mt,"Maps/EntrySet",yp),x(1108,yp,wc,vKe),h.Gc=function(t){return c1e(this.a.d.vc(),t)},h.Jc=function(){return new Bfe(this.a)},h.Pc=function(){return this.a},h.Kc=function(t){var r;return c1e(this.a.d.vc(),t)?(r=l(wl(l(t,45)),45),Tdn(this.a.e,r.jd()),!0):!1},h.Lc=function(){return BO(this.a.d.vc().Lc(),new EKe(this.a))},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1108),x(1109,1,{},EKe),h.Kb=function(t){return mlt(this.a,l(t,45))},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1109),x(741,1,Wi,Bfe),h.Nb=function(t){so(this,t)},h.Pb=function(){var t;return t=l(this.b.Pb(),45),this.a=l(t.kd(),18),mlt(this.c,t)},h.Ob=function(){return this.b.Ob()},h.Qb=function(){XA(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},k(mt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",741),x(534,2047,wc,G9),h.$b=function(){this.b.$b()},h.Gc=function(t){return this.b._b(t)},h.Ic=function(t){kn(t),this.b.wc(new $Ke(t))},h.dc=function(){return this.b.dc()},h.Jc=function(){return new UN(this.b.vc().Jc())},h.Kc=function(t){return this.b._b(t)?(this.b.Ac(t),!0):!1},h.gc=function(){return this.b.gc()},k(mt,"Maps/KeySet",534),x(333,534,wc,aE),h.$b=function(){var t;oP((t=this.b.vc().Jc(),new fle(this,t)))},h.Hc=function(t){return this.b.ec().Hc(t)},h.Fb=function(t){return this===t||gr(this.b.ec(),t)},h.Hb=function(){return Rr(this.b.ec())},h.Jc=function(){var t;return t=this.b.vc().Jc(),new fle(this,t)},h.Kc=function(t){var r,o;return o=0,r=l(this.b.Ac(t),18),r&&(o=r.gc(),r.$b(),this.a.d-=o),o>0},h.Lc=function(){return this.b.ec().Lc()},k(mt,"AbstractMapBasedMultimap/KeySet",333),x(742,1,Wi,fle),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.c.Ob()},h.Pb=function(){return this.a=l(this.c.Pb(),45),this.a.jd()},h.Qb=function(){var t;XA(!!this.a),t=l(this.a.kd(),18),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},k(mt,"AbstractMapBasedMultimap/KeySet/1",742),x(492,398,{93:1,136:1},DO),h.bc=function(){return this.Qc()},h.ec=function(){return this.Sc()},h.Qc=function(){return new uO(this.c,this.Uc())},h.Rc=function(){return this.Uc().Rc()},h.Sc=function(){var t;return t=this.b,t||(this.b=this.Qc())},h.Tc=function(){return this.Uc().Tc()},h.Uc=function(){return l(this.d,136)},k(mt,"AbstractMapBasedMultimap/SortedAsMap",492),x(442,492,iwe,E3),h.bc=function(){return new UA(this.a,l(l(this.d,136),141))},h.Qc=function(){return new UA(this.a,l(l(this.d,136),141))},h.ec=function(){var t;return t=this.b,l(t||(this.b=new UA(this.a,l(l(this.d,136),141))),279)},h.Sc=function(){var t;return t=this.b,l(t||(this.b=new UA(this.a,l(l(this.d,136),141))),279)},h.Uc=function(){return l(l(this.d,136),141)},h.Vc=function(t){return l(l(this.d,136),141).Vc(t)},h.Wc=function(t){return l(l(this.d,136),141).Wc(t)},h.Xc=function(t,r){return new E3(this.a,l(l(this.d,136),141).Xc(t,r))},h.Yc=function(t){return l(l(this.d,136),141).Yc(t)},h.Zc=function(t){return l(l(this.d,136),141).Zc(t)},h.$c=function(t,r){return new E3(this.a,l(l(this.d,136),141).$c(t,r))},k(mt,"AbstractMapBasedMultimap/NavigableAsMap",442),x(491,333,s2t,uO),h.Lc=function(){return this.b.ec().Lc()},k(mt,"AbstractMapBasedMultimap/SortedKeySet",491),x(397,491,owe,UA),k(mt,"AbstractMapBasedMultimap/NavigableKeySet",397),x(543,32,Ry,tj),h.Ec=function(t){var r,o;return $c(this),o=this.d.dc(),r=this.d.Ec(t),r&&(++this.f.d,o&&PO(this)),r},h.Fc=function(t){var r,o,a;return t.dc()?!1:(a=($c(this),this.d.gc()),r=this.d.Fc(t),r&&(o=this.d.gc(),this.f.d+=o-a,a==0&&PO(this)),r)},h.$b=function(){var t;t=($c(this),this.d.gc()),t!=0&&(this.d.$b(),this.f.d-=t,fP(this))},h.Gc=function(t){return $c(this),this.d.Gc(t)},h.Hc=function(t){return $c(this),this.d.Hc(t)},h.Fb=function(t){return t===this?!0:($c(this),gr(this.d,t))},h.Hb=function(){return $c(this),Rr(this.d)},h.Jc=function(){return $c(this),new kfe(this)},h.Kc=function(t){var r;return $c(this),r=this.d.Kc(t),r&&(--this.f.d,fP(this)),r},h.gc=function(){return Nnt(this)},h.Lc=function(){return $c(this),this.d.Lc()},h.Ib=function(){return $c(this),ms(this.d)},k(mt,"AbstractMapBasedMultimap/WrappedCollection",543);var _u=Hr(gn,"List");x(739,543,{22:1,32:1,18:1,16:1},Qfe),h.gd=function(t){zb(this,t)},h.Lc=function(){return $c(this),this.d.Lc()},h._c=function(t,r){var o;$c(this),o=this.d.dc(),l(this.d,16)._c(t,r),++this.a.d,o&&PO(this)},h.ad=function(t,r){var o,a,u;return r.dc()?!1:(u=($c(this),this.d.gc()),o=l(this.d,16).ad(t,r),o&&(a=this.d.gc(),this.a.d+=a-u,u==0&&PO(this)),o)},h.Xb=function(t){return $c(this),l(this.d,16).Xb(t)},h.bd=function(t){return $c(this),l(this.d,16).bd(t)},h.cd=function(){return $c(this),new ort(this)},h.dd=function(t){return $c(this),new Cat(this,t)},h.ed=function(t){var r;return $c(this),r=l(this.d,16).ed(t),--this.a.d,fP(this),r},h.fd=function(t,r){return $c(this),l(this.d,16).fd(t,r)},h.hd=function(t,r){return $c(this),Nut(this.a,this.e,l(this.d,16).hd(t,r),this.b?this.b:this)},k(mt,"AbstractMapBasedMultimap/WrappedList",739),x(1107,739,{22:1,32:1,18:1,16:1,59:1},Vrt),k(mt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1107),x(626,1,Wi,kfe),h.Nb=function(t){so(this,t)},h.Ob=function(){return u_(this),this.b.Ob()},h.Pb=function(){return u_(this),this.b.Pb()},h.Qb=function(){Irt(this)},k(mt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",626),x(740,626,vh,ort,Cat),h.Qb=function(){Irt(this)},h.Rb=function(t){var r;r=Nnt(this.a)==0,(u_(this),l(this.b,130)).Rb(t),++this.a.a.d,r&&PO(this.a)},h.Sb=function(){return(u_(this),l(this.b,130)).Sb()},h.Tb=function(){return(u_(this),l(this.b,130)).Tb()},h.Ub=function(){return(u_(this),l(this.b,130)).Ub()},h.Vb=function(){return(u_(this),l(this.b,130)).Vb()},h.Wb=function(t){(u_(this),l(this.b,130)).Wb(t)},k(mt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",740),x(738,543,s2t,zde),h.Lc=function(){return $c(this),this.d.Lc()},k(mt,"AbstractMapBasedMultimap/WrappedSortedSet",738),x(1106,738,owe,Xnt),k(mt,"AbstractMapBasedMultimap/WrappedNavigableSet",1106),x(1105,543,wc,pit),h.Lc=function(){return $c(this),this.d.Lc()},k(mt,"AbstractMapBasedMultimap/WrappedSet",1105),x(1114,1,{},C),h.Kb=function(t){return Ndn(l(t,45))},k(mt,"AbstractMapBasedMultimap/lambda$1$Type",1114),x(1113,1,{},SKe),h.Kb=function(t){return new t0(this.a,t)},k(mt,"AbstractMapBasedMultimap/lambda$2$Type",1113);var dm=Hr(gn,"Map/Entry");x(359,1,ZJ),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),rp(this.jd(),r.jd())&&rp(this.kd(),r.kd())):!1},h.Hb=function(){var t,r;return t=this.jd(),r=this.kd(),(t==null?0:Rr(t))^(r==null?0:Rr(r))},h.ld=function(t){throw Y(new Nn)},h.Ib=function(){return this.jd()+"="+this.kd()},k(mt,a2t,359),x(2065,32,Ry),h.$b=function(){this.md().$b()},h.Gc=function(t){var r;return se(t,45)?(r=l(t,45),Jun(this.md(),r.jd(),r.kd())):!1},h.Kc=function(t){var r;return se(t,45)?(r=l(t,45),uut(this.md(),r.jd(),r.kd())):!1},h.gc=function(){return this.md().d},k(mt,"Multimaps/Entries",2065),x(744,2065,Ry,Xce),h.Jc=function(){return this.a.kc()},h.md=function(){return this.a},h.Lc=function(){return this.a.lc()},k(mt,"AbstractMultimap/Entries",744),x(745,744,wc,Vue),h.Lc=function(){return this.a.lc()},h.Fb=function(t){return Jbe(this,t)},h.Hb=function(){return vht(this)},k(mt,"AbstractMultimap/EntrySet",745),x(746,32,Ry,Zce),h.$b=function(){this.a.$b()},h.Gc=function(t){return Hpn(this.a,t)},h.Jc=function(){return this.a.nc()},h.gc=function(){return this.a.d},h.Lc=function(){return this.a.oc()},k(mt,"AbstractMultimap/Values",746),x(2066,32,{841:1,22:1,32:1,18:1}),h.Ic=function(t){kn(t),uE(this).Ic(new WKe(t))},h.Lc=function(){var t;return t=uE(this).Lc(),XY(t,new z,64|t.wd()&1296,this.a.d)},h.Ec=function(t){return Zue(),!0},h.Fc=function(t){return kn(this),kn(t),se(t,544)?Qun(l(t,841)):!t.dc()&&fK(this,t.Jc())},h.Gc=function(t){var r;return r=l(by(DS(this.a),t),18),(r?r.gc():0)>0},h.Fb=function(t){return zEn(this,t)},h.Hb=function(){return Rr(uE(this))},h.dc=function(){return uE(this).dc()},h.Kc=function(t){return d0t(this,t,1)>0},h.Ib=function(){return ms(uE(this))},k(mt,"AbstractMultiset",2066),x(2068,2047,wc),h.$b=function(){yj(this.a.a)},h.Gc=function(t){var r,o;return se(t,493)?(o=l(t,421),l(o.a.kd(),18).gc()<=0?!1:(r=Rct(this.a,o.a.jd()),r==l(o.a.kd(),18).gc())):!1},h.Kc=function(t){var r,o,a,u;return se(t,493)&&(o=l(t,421),r=o.a.jd(),a=l(o.a.kd(),18).gc(),a!=0)?(u=this.a,$vn(u,r,a)):!1},k(mt,"Multisets/EntrySet",2068),x(1120,2068,wc,TKe),h.Jc=function(){return new mQe(hst(DS(this.a.a)).Jc())},h.gc=function(){return DS(this.a.a).gc()},k(mt,"AbstractMultiset/EntrySet",1120),x(625,737,tm),h.hc=function(){return this.nd()},h.jc=function(){return this.od()},h.cc=function(t){return this.pd(t)},h.fc=function(t){return this.qd(t)},h.Zb=function(){var t;return t=this.f,t||(this.f=this.ac())},h.od=function(){return At(),At(),p$},h.Fb=function(t){return zK(this,t)},h.pd=function(t){return l(yr(this,t),24)},h.qd=function(t){return l(O6(this,t),24)},h.mc=function(t){return At(),new PA(l(t,24))},h.pc=function(t,r){return new pit(this,t,l(r,24))},k(mt,"AbstractSetMultimap",625),x(1706,625,tm),h.hc=function(){return new Qp(this.b)},h.nd=function(){return new Qp(this.b)},h.jc=function(){return dhe(new Qp(this.b))},h.od=function(){return dhe(new Qp(this.b))},h.cc=function(t){return l(l(yr(this,t),24),85)},h.pd=function(t){return l(l(yr(this,t),24),85)},h.fc=function(t){return l(l(O6(this,t),24),85)},h.qd=function(t){return l(l(O6(this,t),24),85)},h.mc=function(t){return se(t,279)?dhe(l(t,279)):(At(),new Rde(l(t,85)))},h.Zb=function(){var t;return t=this.f,t||(this.f=se(this.c,141)?new E3(this,l(this.c,141)):se(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c))},h.pc=function(t,r){return se(r,279)?new Xnt(this,t,l(r,279)):new zde(this,t,l(r,85))},k(mt,"AbstractSortedSetMultimap",1706),x(1707,1706,tm),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=se(this.c,141)?new E3(this,l(this.c,141)):se(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c)),136),141)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=se(this.c,141)?new UA(this,l(this.c,141)):se(this.c,136)?new uO(this,l(this.c,136)):new aE(this,this.c)),85),279)},h.bc=function(){return se(this.c,141)?new UA(this,l(this.c,141)):se(this.c,136)?new uO(this,l(this.c,136)):new aE(this,this.c)},k(mt,"AbstractSortedKeySortedSetMultimap",1707),x(2088,1,{2025:1}),h.Fb=function(t){return I0n(this,t)},h.Hb=function(){var t;return Dge((t=this.g,t||(this.g=new $G(this))))},h.Ib=function(){var t;return qbt((t=this.f,t||(this.f=new Sde(this))))},k(mt,"AbstractTable",2088),x(676,tf,wc,$G),h.$b=function(){NQe()},h.Gc=function(t){var r,o;return se(t,471)?(r=l(t,694),o=l(by(Bst(this.a),o1(r.c.e,r.b)),93),!!o&&c1e(o.vc(),new t0(o1(r.c.c,r.a),$S(r.c,r.b,r.a)))):!1},h.Jc=function(){return ecn(this.a)},h.Kc=function(t){var r,o;return se(t,471)?(r=l(t,694),o=l(by(Bst(this.a),o1(r.c.e,r.b)),93),!!o&&_gn(o.vc(),new t0(o1(r.c.c,r.a),$S(r.c,r.b,r.a)))):!1},h.gc=function(){return Hot(this.a)},h.Lc=function(){return rln(this.a)},k(mt,"AbstractTable/CellSet",676),x(2004,32,Ry,AKe),h.$b=function(){NQe()},h.Gc=function(t){return vwn(this.a,t)},h.Jc=function(){return tcn(this.a)},h.gc=function(){return Hot(this.a)},h.Lc=function(){return iut(this.a)},k(mt,"AbstractTable/Values",2004),x(1679,1678,tm),k(mt,"ArrayListMultimapGwtSerializationDependencies",1679),x(510,1679,tm,gq,qhe),h.hc=function(){return new Da(this.a)},h.a=0,k(mt,"ArrayListMultimap",510),x(675,2088,{675:1,2025:1,3:1},l0t),k(mt,"ArrayTable",675),x(2e3,394,ax,krt),h.Xb=function(t){return new Ige(this.a,t)},k(mt,"ArrayTable/1",2e3),x(2001,1,{},_Ke),h.rd=function(t){return new Ige(this.a,t)},k(mt,"ArrayTable/1methodref$getCell$Type",2001),x(2089,1,{694:1}),h.Fb=function(t){var r;return t===this?!0:se(t,471)?(r=l(t,694),rp(o1(this.c.e,this.b),o1(r.c.e,r.b))&&rp(o1(this.c.c,this.a),o1(r.c.c,r.a))&&rp($S(this.c,this.b,this.a),$S(r.c,r.b,r.a))):!1},h.Hb=function(){return $j(Z(X(Ri,1),It,1,5,[o1(this.c.e,this.b),o1(this.c.c,this.a),$S(this.c,this.b,this.a)]))},h.Ib=function(){return"("+o1(this.c.e,this.b)+","+o1(this.c.c,this.a)+")="+$S(this.c,this.b,this.a)},k(mt,"Tables/AbstractCell",2089),x(471,2089,{471:1,694:1},Ige),h.a=0,h.b=0,h.d=0,k(mt,"ArrayTable/2",471),x(2003,1,{},xKe),h.rd=function(t){return Edt(this.a,t)},k(mt,"ArrayTable/2methodref$getValue$Type",2003),x(2002,394,ax,Nrt),h.Xb=function(t){return Edt(this.a,t)},k(mt,"ArrayTable/3",2002),x(2056,2044,j0),h.$b=function(){oP(this.kc())},h.vc=function(){return new HKe(this)},h.lc=function(){return new vat(this.kc(),this.gc())},k(mt,"Maps/IteratorBasedAbstractMap",2056),x(834,2056,j0),h.$b=function(){throw Y(new Nn)},h._b=function(t){return GQe(this.c,t)},h.kc=function(){return new Crt(this,this.c.b.c.gc())},h.lc=function(){return zV(this.c.b.c.gc(),16,new kKe(this))},h.xc=function(t){var r;return r=l(S3(this.c,t),15),r?this.td(r.a):null},h.dc=function(){return this.c.b.c.dc()},h.ec=function(){return ZV(this.c)},h.yc=function(t,r){var o;if(o=l(S3(this.c,t),15),!o)throw Y(new jt(this.sd()+" "+t+" not in "+ZV(this.c)));return this.ud(o.a,r)},h.Ac=function(t){throw Y(new Nn)},h.gc=function(){return this.c.b.c.gc()},k(mt,"ArrayTable/ArrayMap",834),x(1999,1,{},kKe),h.rd=function(t){return Ust(this.a,t)},k(mt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1999),x(1997,359,ZJ,Tet),h.jd=function(){return bnn(this.a,this.b)},h.kd=function(){return this.a.td(this.b)},h.ld=function(t){return this.a.ud(this.b,t)},h.b=0,k(mt,"ArrayTable/ArrayMap/1",1997),x(1998,394,ax,Crt),h.Xb=function(t){return Ust(this.a,t)},k(mt,"ArrayTable/ArrayMap/2",1998),x(1996,834,j0,Ist),h.sd=function(){return"Column"},h.td=function(t){return $S(this.b,this.a,t)},h.ud=function(t,r){return opt(this.b,this.a,t,r)},h.a=0,k(mt,"ArrayTable/Row",1996),x(835,834,j0,Sde),h.td=function(t){return new Ist(this.a,t)},h.yc=function(t,r){return l(r,93),$Qt()},h.ud=function(t,r){return l(r,93),BQt()},h.sd=function(){return"Row"},k(mt,"ArrayTable/RowMap",835),x(1138,1,Tu,Aet),h.yd=function(t){return(this.a.wd()&-262&t)!=0},h.wd=function(){return this.a.wd()&-262},h.xd=function(){return this.a.xd()},h.Nb=function(t){this.a.Nb(new xet(t,this.b))},h.zd=function(t){return this.a.zd(new _et(t,this.b))},k(mt,"CollectSpliterators/1",1138),x(1139,1,nn,_et),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},k(mt,"CollectSpliterators/1/lambda$0$Type",1139),x(1140,1,nn,xet),h.Ad=function(t){this.a.Ad(this.b.Kb(t))},k(mt,"CollectSpliterators/1/lambda$1$Type",1140),x(1135,1,Tu,Jit),h.yd=function(t){return((16464|this.b)&t)!=0},h.wd=function(){return 16464|this.b},h.xd=function(){return this.a.xd()},h.Nb=function(t){this.a.Oe(new Net(t,this.c))},h.zd=function(t){return this.a.Pe(new ket(t,this.c))},h.b=0,k(mt,"CollectSpliterators/1WithCharacteristics",1135),x(1136,1,mD,ket),h.Bd=function(t){this.a.Ad(this.b.rd(t))},k(mt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1136),x(1137,1,mD,Net),h.Bd=function(t){this.a.Ad(this.b.rd(t))},k(mt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1137),x(1131,1,Tu),h.yd=function(t){return(this.a&t)!=0},h.wd=function(){return this.a},h.xd=function(){return this.e&&(this.b=fde(this.b,this.e.xd())),fde(this.b,0)},h.Nb=function(t){this.e&&(this.e.Nb(t),this.e=null),this.c.Nb(new Cet(this,t)),this.b=0},h.zd=function(t){for(;;){if(this.e&&this.e.zd(t))return f3(this.b,wD)&&(this.b=El(this.b,1)),!0;if(this.e=null,!this.c.zd(new LKe(this)))return!1}},h.a=0,h.b=0,k(mt,"CollectSpliterators/FlatMapSpliterator",1131),x(1133,1,nn,LKe),h.Ad=function(t){crn(this.a,t)},k(mt,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1133),x(1134,1,nn,Cet),h.Ad=function(t){Dan(this.a,this.b,t)},k(mt,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1134),x(1132,1131,Tu,Cut),k(mt,"CollectSpliterators/FlatMapSpliteratorOfObject",1132),x(257,1,QJ),h.Dd=function(t){return this.Cd(l(t,257))},h.Cd=function(t){var r;return t==(cq(),FQ)?1:t==(aq(),jQ)?-1:(r=(nP(),E6(this.a,t.a)),r!=0?r:(Lt(),se(this,517)==se(t,517)?0:se(this,517)?1:-1))},h.Gd=function(){return this.a},h.Fb=function(t){return nbe(this,t)},k(mt,"Cut",257),x(1810,257,QJ,lQe),h.Cd=function(t){return t==this?0:1},h.Ed=function(t){throw Y(new Cue)},h.Fd=function(t){t.a+="+∞)"},h.Gd=function(){throw Y(new ts(u2t))},h.Hb=function(){return eg(),z1e(this)},h.Hd=function(t){return!1},h.Ib=function(){return"+∞"};var jQ;k(mt,"Cut/AboveAll",1810),x(517,257,{257:1,517:1,3:1,34:1},Drt),h.Ed=function(t){ba((t.a+="(",t),this.a)},h.Fd=function(t){Db(ba(t,this.a),93)},h.Hb=function(){return~Rr(this.a)},h.Hd=function(t){return nP(),E6(this.a,t)<0},h.Ib=function(){return"/"+this.a+"\\"},k(mt,"Cut/AboveValue",517),x(1809,257,QJ,uQe),h.Cd=function(t){return t==this?0:-1},h.Ed=function(t){t.a+="(-∞"},h.Fd=function(t){throw Y(new Cue)},h.Gd=function(){throw Y(new ts(u2t))},h.Hb=function(){return eg(),z1e(this)},h.Hd=function(t){return!0},h.Ib=function(){return"-∞"};var FQ;k(mt,"Cut/BelowAll",1809),x(1811,257,QJ,Lrt),h.Ed=function(t){ba((t.a+="[",t),this.a)},h.Fd=function(t){Db(ba(t,this.a),41)},h.Hb=function(){return Rr(this.a)},h.Hd=function(t){return nP(),E6(this.a,t)<=0},h.Ib=function(){return"\\"+this.a+"/"},k(mt,"Cut/BelowValue",1811),x(539,1,Eh),h.Ic=function(t){lo(this,t)},h.Ib=function(){return zgn(l(CP(this,"use Optional.orNull() instead of Optional.or(null)"),22).Jc())},k(mt,"FluentIterable",539),x(438,539,Eh,g3),h.Jc=function(){return new Ft(Gt(this.a.Jc(),new D))},k(mt,"FluentIterable/2",438),x(36,1,{},D),h.Kb=function(t){return l(t,22).Jc()},h.Fb=function(t){return this===t},k(mt,"FluentIterable/2/0methodref$iterator$Type",36),x(1051,539,Eh,$nt),h.Jc=function(){return hh(this)},k(mt,"FluentIterable/3",1051),x(721,394,ax,xde),h.Xb=function(t){return this.a[t].Jc()},k(mt,"FluentIterable/3/1",721),x(2049,1,{}),h.Ib=function(){return ms(this.Id().b)},k(mt,"ForwardingObject",2049),x(2050,2049,l2t),h.Id=function(){return this.Jd()},h.Ic=function(t){lo(this,t)},h.Lc=function(){return new St(this,0)},h.Mc=function(){return new vt(null,this.Lc())},h.Ec=function(t){return this.Jd(),YQe()},h.Fc=function(t){return this.Jd(),JQe()},h.$b=function(){this.Jd(),XQe()},h.Gc=function(t){return this.Jd().Gc(t)},h.Hc=function(t){return this.Jd().Hc(t)},h.dc=function(){return this.Jd().b.dc()},h.Jc=function(){return this.Jd().Jc()},h.Kc=function(t){return this.Jd(),ZQe()},h.gc=function(){return this.Jd().b.gc()},h.Nc=function(){return this.Jd().Nc()},h.Oc=function(t){return this.Jd().Oc(t)},k(mt,"ForwardingCollection",2050),x(2057,32,swe),h.Jc=function(){return this.Md()},h.Ec=function(t){throw Y(new Nn)},h.Fc=function(t){throw Y(new Nn)},h.Kd=function(){var t;return t=this.c,t||(this.c=this.Ld())},h.$b=function(){throw Y(new Nn)},h.Gc=function(t){return t!=null&&my(this,t,!1)},h.Ld=function(){switch(this.gc()){case 0:return sP(),UQ;case 1:return new kV(kn(this.Md().Pb()));default:return new xfe(this,this.Nc())}},h.Kc=function(t){throw Y(new Nn)},k(mt,"ImmutableCollection",2057),x(1271,2057,swe,MKe),h.Jc=function(){return BS(new qv(this.a.b.Jc()))},h.Gc=function(t){return t!=null&&VN(this.a,t)},h.Hc=function(t){return ple(this.a,t)},h.dc=function(){return this.a.b.dc()},h.Md=function(){return BS(new qv(this.a.b.Jc()))},h.gc=function(){return this.a.b.gc()},h.Nc=function(){return this.a.b.Nc()},h.Oc=function(t){return gle(this.a,t)},h.Ib=function(){return ms(this.a.b)},k(mt,"ForwardingImmutableCollection",1271),x(312,2057,cx),h.Jc=function(){return this.Md()},h.cd=function(){return this.Nd(0)},h.dd=function(t){return this.Nd(t)},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.hd=function(t,r){return this.Od(t,r)},h._c=function(t,r){throw Y(new Nn)},h.ad=function(t,r){throw Y(new Nn)},h.Kd=function(){return this},h.Fb=function(t){return DEn(this,t)},h.Hb=function(){return Xhn(this)},h.bd=function(t){return t==null?-1:cmn(this,t)},h.Md=function(){return this.Nd(0)},h.Nd=function(t){return EV(this,t)},h.ed=function(t){throw Y(new Nn)},h.fd=function(t,r){throw Y(new Nn)},h.Od=function(t,r){var o;return Vj((o=new Bet(this),new Rf(o,t,r)))},k(mt,"ImmutableList",312),x(2084,312,cx),h.Jc=function(){return BS(this.Pd().Jc())},h.hd=function(t,r){return Vj(this.Pd().hd(t,r))},h.Gc=function(t){return t!=null&&this.Pd().Gc(t)},h.Hc=function(t){return this.Pd().Hc(t)},h.Fb=function(t){return gr(this.Pd(),t)},h.Xb=function(t){return o1(this,t)},h.Hb=function(){return Rr(this.Pd())},h.bd=function(t){return this.Pd().bd(t)},h.dc=function(){return this.Pd().dc()},h.Md=function(){return BS(this.Pd().Jc())},h.gc=function(){return this.Pd().gc()},h.Od=function(t,r){return Vj(this.Pd().hd(t,r))},h.Nc=function(){return this.Pd().Oc(we(Ri,It,1,this.Pd().gc(),5,1))},h.Oc=function(t){return this.Pd().Oc(t)},h.Ib=function(){return ms(this.Pd())},k(mt,"ForwardingImmutableList",2084),x(724,1,ux),h.vc=function(){return Cb(this)},h.wc=function(t){S6(this,t)},h.ec=function(){return ZV(this)},h.Bc=function(){return this.Td()},h.$b=function(){throw Y(new Nn)},h._b=function(t){return this.xc(t)!=null},h.uc=function(t){return this.Td().Gc(t)},h.Rd=function(){return new IKe(this)},h.Sd=function(){return new RKe(this)},h.Fb=function(t){return zpn(this,t)},h.Hb=function(){return Cb(this).Hb()},h.dc=function(){return this.gc()==0},h.yc=function(t,r){return UQt()},h.Ac=function(t){throw Y(new Nn)},h.Ib=function(){return pyn(this)},h.Td=function(){return this.e?this.e:this.e=this.Sd()},h.c=null,h.d=null,h.e=null,k(mt,"ImmutableMap",724),x(725,724,ux),h._b=function(t){return GQe(this,t)},h.uc=function(t){return Get(this.b,t)},h.Qd=function(){return zpt(new DKe(this))},h.Rd=function(){return zpt(uat(this.b))},h.Sd=function(){return new MKe(cat(this.b))},h.Fb=function(t){return qet(this.b,t)},h.xc=function(t){return S3(this,t)},h.Hb=function(){return Rr(this.b.c)},h.dc=function(){return this.b.c.dc()},h.gc=function(){return this.b.c.gc()},h.Ib=function(){return ms(this.b.c)},k(mt,"ForwardingImmutableMap",725),x(2051,2050,eX),h.Id=function(){return this.Ud()},h.Jd=function(){return this.Ud()},h.Lc=function(){return new St(this,1)},h.Fb=function(t){return t===this||this.Ud().Fb(t)},h.Hb=function(){return this.Ud().Hb()},k(mt,"ForwardingSet",2051),x(1066,2051,eX,DKe),h.Id=function(){return s_(this.a.b)},h.Jd=function(){return s_(this.a.b)},h.Gc=function(t){if(se(t,45)&&l(t,45).jd()==null)return!1;try{return zet(s_(this.a.b),t)}catch(r){if(r=ui(r),se(r,214))return!1;throw Y(r)}},h.Ud=function(){return s_(this.a.b)},h.Oc=function(t){var r,o;return r=Jat(s_(this.a.b),t),s_(this.a.b).b.gc()<r.length&&(o=r,ii(o,s_(this.a.b).b.gc(),null)),r},k(mt,"ForwardingImmutableMap/1",1066),x(2058,2057,uT),h.Jc=function(){return this.Md()},h.Lc=function(){return new St(this,1)},h.Fb=function(t){return Jbe(this,t)},h.Hb=function(){return vht(this)},k(mt,"ImmutableSet",2058),x(716,2058,uT),h.Jc=function(){return BS(new qv(this.a.b.Jc()))},h.Gc=function(t){return t!=null&&VN(this.a,t)},h.Hc=function(t){return ple(this.a,t)},h.Hb=function(){return Rr(this.a.b)},h.dc=function(){return this.a.b.dc()},h.Md=function(){return BS(new qv(this.a.b.Jc()))},h.gc=function(){return this.a.b.gc()},h.Nc=function(){return this.a.b.Nc()},h.Oc=function(t){return gle(this.a,t)},h.Ib=function(){return ms(this.a.b)},k(mt,"ForwardingImmutableSet",716),x(2052,2051,d2t),h.Id=function(){return this.b},h.Jd=function(){return this.b},h.Ud=function(){return this.b},h.Lc=function(){return new i8(this)},k(mt,"ForwardingSortedSet",2052),x(535,2056,ux,dF),h.zc=function(t){X3(this,t)},h.Bc=function(){var t;return t=this.d,new gV(t||(this.d=new zG(this)))},h.$b=function(){n6(this)},h._b=function(t){return!!Y3(this,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))))},h.uc=function(t){return Nft(this,t)},h.kc=function(){return new Frt(this,this)},h.wc=function(t){lct(this,t)},h.xc=function(t){return gE(this,t)},h.ec=function(){return new bV(this)},h.yc=function(t,r){return zF(this,t,r)},h.Ac=function(t){var r;return r=Y3(this,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15)))),r?(NE(this,r),r.e=null,r.c=null,r.i):null},h.gc=function(){return this.i},h.vd=function(){var t;return t=this.d,new gV(t||(this.d=new zG(this)))},h.f=0,h.g=0,h.i=0,k(mt,"HashBiMap",535),x(536,1,Wi),h.Nb=function(t){so(this,t)},h.Ob=function(){return Rut(this)},h.Pb=function(){var t;if(!Rut(this))throw Y(new vs);return t=l(wl(this.c),309),this.c=t.c,this.f=t,--this.d,this.Vd(t)},h.Qb=function(){if(this.e.g!=this.b)throw Y(new $u);if(!this.f)throw Y(new ts(rwe));NE(this.e,this.f),this.b=this.e.g,this.f=null},h.b=0,h.d=0,h.f=null,k(mt,"HashBiMap/Itr",536),x(1016,536,Wi,Frt),h.Vd=function(t){return new Iet(this,t)},k(mt,"HashBiMap/1",1016),x(1017,359,ZJ,Iet),h.jd=function(){return this.a.g},h.kd=function(){return this.a.i},h.ld=function(t){var r,o,a;return o=this.a.i,a=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),a==this.a.f&&(me(t)===me(o)||t!=null&&gr(t,o))?t:(spt(!J3(this.b.a,t,a),t),NE(this.b.a,this.a),r=new AP(this.a.g,this.a.a,t,a),Z6(this.b.a,r,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=r),this.a=r,o)},k(mt,"HashBiMap/1/MapEntry",1017),x(247,359,{359:1,247:1,3:1,45:1},t0),h.jd=function(){return this.g},h.kd=function(){return this.i},h.ld=function(t){throw Y(new Nn)},k(mt,"ImmutableEntry",247),x(309,247,{359:1,309:1,247:1,3:1,45:1},AP),h.a=0,h.f=0;var $Q=k(mt,"HashBiMap/BiEntry",309);x(616,2056,ux,zG),h.zc=function(t){X3(this,t)},h.Bc=function(){return new bV(this.a)},h.$b=function(){n6(this.a)},h._b=function(t){return Nft(this.a,t)},h.kc=function(){return new $rt(this,this.a)},h.wc=function(t){kn(t),lct(this.a,new PKe(t))},h.xc=function(t){return Ej(this,t)},h.ec=function(){return new gV(this)},h.yc=function(t,r){return BAn(this.a,t,r)},h.Ac=function(t){var r;return r=J3(this.a,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15)))),r?(NE(this.a,r),r.e=null,r.c=null,r.g):null},h.gc=function(){return this.a.i},h.vd=function(){return new bV(this.a)},k(mt,"HashBiMap/Inverse",616),x(1013,536,Wi,$rt),h.Vd=function(t){return new Ret(this,t)},k(mt,"HashBiMap/Inverse/1",1013),x(1014,359,ZJ,Ret),h.jd=function(){return this.a.i},h.kd=function(){return this.a.g},h.ld=function(t){var r,o,a;return a=this.a.g,r=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),r==this.a.a&&(me(t)===me(a)||t!=null&&gr(t,a))?t:(spt(!Y3(this.b.a.a,t,r),t),NE(this.b.a.a,this.a),o=new AP(t,r,this.a.i,this.a.f),this.a=o,Z6(this.b.a.a,o,null),this.b.b=this.b.a.a.g,a)},k(mt,"HashBiMap/Inverse/1/InverseEntry",1014),x(617,534,wc,gV),h.Jc=function(){return new hQe(this.a.a)},h.Kc=function(t){var r;return r=J3(this.a.a,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15)))),r?(NE(this.a.a,r),!0):!1},k(mt,"HashBiMap/Inverse/InverseKeySet",617),x(1012,536,Wi,hQe),h.Vd=function(t){return t.i},k(mt,"HashBiMap/Inverse/InverseKeySet/1",1012),x(1015,1,{},PKe),h.Wd=function(t,r){mQt(this.a,t,r)},k(mt,"HashBiMap/Inverse/lambda$0$Type",1015),x(615,534,wc,bV),h.Jc=function(){return new pQe(this.a)},h.Kc=function(t){var r;return r=Y3(this.a,t,On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15)))),r?(NE(this.a,r),r.e=null,r.c=null,!0):!1},k(mt,"HashBiMap/KeySet",615),x(1011,536,Wi,pQe),h.Vd=function(t){return t.g},k(mt,"HashBiMap/KeySet/1",1011),x(1104,625,tm),k(mt,"HashMultimapGwtSerializationDependencies",1104),x(274,1104,tm,b0),h.hc=function(){return new H9(py(this.a))},h.nd=function(){return new H9(py(this.a))},h.a=2,k(mt,"HashMultimap",274),x(2076,312,cx),h.Gc=function(t){return this.Xd().Gc(t)},h.dc=function(){return this.Xd().dc()},h.gc=function(){return this.Xd().gc()},k(mt,"ImmutableAsList",2076),x(2009,725,ux),h.Td=function(){return new nS(this.a)},h.Bc=function(){return new nS(this.a)},h.vd=function(){return new nS(this.a)},k(mt,"ImmutableBiMap",2009),x(2054,1,{}),k(mt,"ImmutableCollection/Builder",2054),x(1027,716,uT,gQe),k(mt,"ImmutableEnumSet",1027),x(971,394,ax,Yit),h.Xb=function(t){return this.a.Xb(t)},k(mt,"ImmutableList/1",971),x(970,2054,{},Tit),k(mt,"ImmutableList/Builder",970),x(620,206,sx,BG),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return l(this.a.Pb(),45).jd()},k(mt,"ImmutableMap/1",620),x(1046,1,{},O),h.Kb=function(t){return l(t,45).jd()},k(mt,"ImmutableMap/2methodref$getKey$Type",1046),x(1045,1,{},Ait),k(mt,"ImmutableMap/Builder",1045),x(2077,2058,uT),h.Kd=function(){var t;return t=this.b,t||(this.b=new UG(this))},h.Ld=function(){return new xfe(this,pC(this,we(Ri,It,1,this.gc(),5,1)))},k(mt,"ImmutableSet/CachingAsList",2077),x(2078,2077,uT),h.Jc=function(){var t;return t=Cb(this.a).Md(),new BG(t)},h.Ld=function(){return new UG(this)},h.Ic=function(t){var r,o;for(kn(t),o=this.gc(),r=0;r<o;r++)t.Ad(l(Cb(this.a).Kd().Xb(r),45).jd())},h.Md=function(){var t;return t=this.b,EV(t||(this.b=new UG(this)),0)},h.Lc=function(){return zV(this.gc(),1296,new OKe(this))},k(mt,"IndexedImmutableSet",2078),x(1207,2078,uT,IKe),h.Jc=function(){var t;return t=Cb(this.a).Md(),new BG(t)},h.Gc=function(t){return this.a._b(t)},h.Ic=function(t){kn(t),S6(this.a,new CKe(t))},h.Md=function(){var t;return t=Cb(this.a).Md(),new BG(t)},h.gc=function(){return this.a.gc()},h.Lc=function(){return BO(Cb(this.a).Lc(),new O)},k(mt,"ImmutableMapKeySet",1207),x(1208,1,{},CKe),h.Wd=function(t,r){this.a.Ad(t)},k(mt,"ImmutableMapKeySet/lambda$0$Type",1208),x(1204,2057,swe,RKe),h.Jc=function(){return new UV(this)},h.Kd=function(){var t;return t=Cb(this.a).Kd(),new Met(this,t)},h.Gc=function(t){return t!=null&&C0n(new UV(this),t)},h.Md=function(){return new UV(this)},h.gc=function(){return this.a.gc()},h.Lc=function(){return BO(Cb(this.a).Lc(),new L)},k(mt,"ImmutableMapValues",1204),x(1205,1,{},L),h.Kb=function(t){return l(t,45).kd()},k(mt,"ImmutableMapValues/0methodref$getValue$Type",1205),x(635,206,sx,UV),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return l(this.a.Pb(),45).kd()},k(mt,"ImmutableMapValues/1",635),x(1206,2076,cx,Met),h.Xd=function(){return this.a},h.Xb=function(t){return l(this.b.Xb(t),45).kd()},k(mt,"ImmutableMapValues/2",1206),x(1209,1,{},OKe),h.rd=function(t){return Vst(this.a,t)},k(mt,"IndexedImmutableSet/0methodref$get$Type",1209),x(636,2076,cx,UG),h.Xd=function(){return this.a},h.Xb=function(t){return Vst(this.a,t)},h.gc=function(){return this.a.a.gc()},k(mt,"IndexedImmutableSet/1",636),x(1047,539,Eh,xot),h.Ic=function(t){kn(t),this.b.Ic(new Oet(this.a,t))},h.Jc=function(){return ude(this)},k(mt,"Iterables/4",1047),x(1048,1,nn,Oet),h.Ad=function(t){zen(this.b,this.a,t)},k(mt,"Iterables/4/lambda$0$Type",1048),x(1049,539,Eh,kot),h.Ic=function(t){kn(t),lo(this.a,new Let(t,this.b))},h.Jc=function(){return Gt(new tn(this.a),this.b)},k(mt,"Iterables/5",1049),x(1050,1,nn,Let),h.Ad=function(t){this.a.Ad(Ynt(t))},k(mt,"Iterables/5/lambda$0$Type",1050),x(1068,206,sx,jKe),h.Ob=function(){return this.a.Ob()},h.Pb=function(){return this.a.Pb()},k(mt,"Iterators/1",1068),x(1069,709,sx,Det),h.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},k(mt,"Iterators/5",1069),x(486,1,Wi),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.b.Ob()},h.Pb=function(){return this.Yd(this.b.Pb())},h.Qb=function(){this.b.Qb()},k(mt,"TransformedIterator",486),x(1070,486,Wi,Prt),h.Yd=function(t){return this.a.Kb(t)},k(mt,"Iterators/6",1070),x(1067,394,ax,Not),h.Xb=function(t){return this.a[t]};var V_t;k(mt,"Iterators/ArrayItr",1067),x(35,1,{35:1,51:1},Ft),h.Nb=function(t){so(this,t)},h.Ob=function(){return an(this)},h.Pb=function(){return en(this)},h.Qb=function(){if(!this.c)throw Y(new ts(rwe));this.c.Qb(),this.c=null},k(mt,"Iterators/ConcatenatedIterator",35),x(23,1,{3:1,34:1,23:1}),h.Dd=function(t){return EQe(this,l(t,23))},h.Fb=function(t){return this===t},h.Hb=function(){return s0(this)},h.Ib=function(){return SV(this)},h.g=0;var bn=k(Fs,"Enum",23);x(541,23,{541:1,3:1,34:1,23:1,51:1},yrt),h.Nb=function(t){so(this,t)},h.Ob=function(){return!1},h.Pb=function(){throw Y(new vs)},h.Qb=function(){XA(!1)};var BQ,W_t=fn(mt,"Iterators/EmptyModifiableIterator",541,bn,Zsn,wnn),K_t;x(727,206,sx,tue),h.Ob=function(){return!this.a},h.Pb=function(){if(this.a)throw Y(new vs);return this.a=!0,this.b},h.a=!1,k(mt,"Iterators/SingletonIterator",727),x(1894,625,tm),k(mt,"LinkedHashMultimapGwtSerializationDependencies",1894),x(1895,1894,tm,qpt),h.hc=function(){return new vV(py(this.b))},h.$b=function(){yj(this),tO(this.a,this.a)},h.nd=function(){return new vV(py(this.b))},h.ic=function(t){return new Dpt(this,t,this.b)},h.kc=function(){return new hhe(this)},h.lc=function(){var t;return new St((t=this.g,l(t||(this.g=new Vue(this)),24)),17)},h.ec=function(){var t;return t=this.i,t||(this.i=new aE(this,this.c))},h.nc=function(){return new Kue(new hhe(this))},h.oc=function(){var t;return BO(new St((t=this.g,l(t||(this.g=new Vue(this)),24)),17),new B)},h.b=2,k(mt,"LinkedHashMultimap",1895),x(1898,1,{},B),h.Kb=function(t){return l(t,45).kd()},k(mt,"LinkedHashMultimap/0methodref$getValue$Type",1898),x(826,1,Wi,hhe),h.Nb=function(t){so(this,t)},h.Pb=function(){return Khn(this)},h.Ob=function(){return this.a!=this.b.a},h.Qb=function(){XA(!!this.c),uut(this.b,this.c.g,this.c.i),this.c=null},k(mt,"LinkedHashMultimap/1",826),x(229,247,{359:1,247:1,229:1,600:1,3:1,45:1},The),h.Zd=function(){return l(wl(this.f),600)},h.$d=function(t){this.c=t},h._d=function(t){this.f=t},h.d=0;var Y_t=k(mt,"LinkedHashMultimap/ValueEntry",229);x(1896,2047,{600:1,22:1,32:1,18:1,24:1},Dpt),h.Ec=function(t){var r,o,a,u,f;for(f=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),r=f&this.b.length-1,u=this.b[r],o=u;o;o=o.a)if(o.d==f&&rp(o.i,t))return!1;return a=new The(this.c,t,f,u),DQe(this.d,a),a.f=this,this.d=a,tO(l(wl(this.g.a.b),229),a),tO(a,this.g.a),this.b[r]=a,++this.f,++this.e,x0n(this),!0},h.$b=function(){var t,r;for(hO(this.b,null),this.f=0,t=this.a;t!=this;t=t.Zd())r=l(t,229),tO(l(wl(r.b),229),l(wl(r.e),229));this.a=this,this.d=this,++this.e},h.Gc=function(t){var r,o;for(o=On(yo(Sh,ph(On(yo(t==null?0:Rr(t),Th)),15))),r=this.b[o&this.b.length-1];r;r=r.a)if(r.d==o&&rp(r.i,t))return!0;return!1},h.Ic=function(t){var r;for(kn(t),r=this.a;r!=this;r=r.Zd())t.Ad(l(r,229).i)},h.Zd=function(){return this.a},h.Jc=function(){return new nat(this)},h.Kc=function(t){return Mwt(this,t)},h.$d=function(t){this.d=t},h._d=function(t){this.a=t},h.gc=function(){return this.f},h.e=0,h.f=0,k(mt,"LinkedHashMultimap/ValueSet",1896),x(1897,1,Wi,nat),h.Nb=function(t){so(this,t)},h.Ob=function(){return Hfe(this),this.b!=this.c},h.Pb=function(){var t,r;if(Hfe(this),this.b==this.c)throw Y(new vs);return t=l(this.b,229),r=t.i,this.d=t,this.b=l(wl(t.f),600),r},h.Qb=function(){Hfe(this),XA(!!this.d),Mwt(this.c,this.d.i),this.a=this.c.e,this.d=null},h.a=0,k(mt,"LinkedHashMultimap/ValueSet/1",1897),x(774,2063,tm,Pnt),h.Zb=function(){var t;return t=this.f,t||(this.f=new xle(this))},h.Fb=function(t){return zK(this,t)},h.cc=function(t){return new Eq(this,t)},h.fc=function(t){return kpe(this,t)},h.$b=function(){Ost(this)},h._b=function(t){return Het(this,t)},h.ac=function(){return new xle(this)},h.bc=function(){return new UKe(this)},h.qc=function(t){return new Eq(this,t)},h.dc=function(){return!this.a},h.rc=function(t){return kpe(this,t)},h.gc=function(){return this.d},h.c=0,h.d=0,k(mt,"LinkedListMultimap",774),x(56,32,lx),h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h._c=function(t,r){throw Y(new Jp("Add not supported on this list"))},h.Ec=function(t){return this._c(this.gc(),t),!0},h.ad=function(t,r){var o,a,u;for(Mt(r),o=!1,u=r.Jc();u.Ob();)a=u.Pb(),this._c(t++,a),o=!0;return o},h.$b=function(){this.ae(0,this.gc())},h.Fb=function(t){return Ome(this,t)},h.Hb=function(){return Uge(this)},h.bd=function(t){return Zft(this,t)},h.Jc=function(){return new LN(this)},h.cd=function(){return this.dd(0)},h.dd=function(t){return new Ji(this,t)},h.ed=function(t){throw Y(new Jp("Remove not supported on this list"))},h.ae=function(t,r){var o,a;for(a=this.dd(t),o=t;o<r;++o)a.Pb(),a.Qb()},h.fd=function(t,r){throw Y(new Jp("Set not supported on this list"))},h.hd=function(t,r){return new Rf(this,t,r)},h.j=0,k(gn,"AbstractList",56),x(2041,56,lx),h._c=function(t,r){WA(this,t,r)},h.ad=function(t,r){return Ppt(this,t,r)},h.Xb=function(t){return sa(this,t)},h.Jc=function(){return this.dd(0)},h.ed=function(t){return UY(this,t)},h.fd=function(t,r){var o,a;o=this.dd(t);try{return a=o.Pb(),o.Wb(r),a}catch(u){throw u=ui(u),se(u,113)?Y(new Ia("Can't set element "+t)):Y(u)}},k(gn,"AbstractSequentialList",2041),x(643,2041,lx,Eq),h.dd=function(t){return Mrt(this,t)},h.gc=function(){var t;return t=l(Ut(this.a.b,this.b),263),t?t.a:0},k(mt,"LinkedListMultimap/1",643),x(1292,2047,wc,UKe),h.Gc=function(t){return Het(this.a,t)},h.Jc=function(){return new Aht(this.a)},h.Kc=function(t){return!kpe(this.a,t).a.dc()},h.gc=function(){return WN(this.a.b)},k(mt,"LinkedListMultimap/1KeySetImpl",1292),x(1291,1,Wi,Aht),h.Nb=function(t){so(this,t)},h.Ob=function(){return zfe(this),!!this.c},h.Pb=function(){if(zfe(this),!this.c)throw Y(new vs);this.a=this.c,gi(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!gi(this.d,this.c.a));return this.a.a},h.Qb=function(){zfe(this),XA(!!this.a),oP(new cK(this.e,this.a.a)),this.a=null,this.b=this.e.c},h.b=0,k(mt,"LinkedListMultimap/DistinctKeyIterator",1291),x(263,1,{263:1},Ohe),h.a=0,k(mt,"LinkedListMultimap/KeyList",263),x(501,359,{359:1,501:1,45:1},Pet),h.jd=function(){return this.a},h.kd=function(){return this.f},h.ld=function(t){var r;return r=this.f,this.f=t,r},k(mt,"LinkedListMultimap/Node",501),x(562,1,vh,cK,$mt),h.Nb=function(t){so(this,t)},h.Rb=function(t){this.e=g0e(this.f,this.b,t,this.c),++this.d,this.a=null},h.Ob=function(){return!!this.c},h.Sb=function(){return!!this.e},h.Pb=function(){return qpe(this)},h.Tb=function(){return this.d},h.Ub=function(){return oft(this)},h.Vb=function(){return this.d-1},h.Qb=function(){XA(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,R2n(this.f,this.a),this.a=null},h.Wb=function(t){Ade(!!this.a),this.a.f=t},h.d=0,k(mt,"LinkedListMultimap/ValueForKeyIterator",562),x(1023,56,lx),h._c=function(t,r){this.a._c(t,r)},h.ad=function(t,r){return this.a.ad(t,r)},h.Gc=function(t){return this.a.Gc(t)},h.Xb=function(t){return this.a.Xb(t)},h.ed=function(t){return this.a.ed(t)},h.fd=function(t,r){return this.a.fd(t,r)},h.gc=function(){return this.a.gc()},k(mt,"Lists/AbstractListWrapper",1023),x(Tl,1023,h2t),k(mt,"Lists/RandomAccessListWrapper",Tl),x(1026,Tl,h2t,Bet),h.dd=function(t){return this.a.dd(t)},k(mt,"Lists/1",1026),x(437,56,{437:1,22:1,32:1,56:1,18:1,16:1},hle),h._c=function(t,r){this.a._c(n_(this,t),r)},h.$b=function(){this.a.$b()},h.Xb=function(t){return this.a.Xb(fhe(this,t))},h.Jc=function(){return $ct(this,0)},h.dd=function(t){return $ct(this,t)},h.ed=function(t){return this.a.ed(fhe(this,t))},h.ae=function(t,r){(but(t,r,this.a.gc()),ou(this.a.hd(n_(this,r),n_(this,t)))).$b()},h.fd=function(t,r){return this.a.fd(fhe(this,t),r)},h.gc=function(){return this.a.gc()},h.hd=function(t,r){return but(t,r,this.a.gc()),ou(this.a.hd(n_(this,r),n_(this,t)))},k(mt,"Lists/ReverseList",437),x(1022,437,{437:1,22:1,32:1,56:1,18:1,16:1,59:1},bQe),k(mt,"Lists/RandomAccessReverseList",1022),x(1025,1,vh,jet),h.Nb=function(t){so(this,t)},h.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},h.Ob=function(){return this.c.Sb()},h.Sb=function(){return this.c.Ob()},h.Pb=function(){if(!this.c.Sb())throw Y(new vs);return this.a=!0,this.c.Ub()},h.Tb=function(){return n_(this.b,this.c.Tb())},h.Ub=function(){if(!this.c.Ob())throw Y(new vs);return this.a=!0,this.c.Pb()},h.Vb=function(){return n_(this.b,this.c.Tb())-1},h.Qb=function(){XA(this.a),this.c.Qb(),this.a=!1},h.Wb=function(t){Ade(this.a),this.c.Wb(t)},h.a=!1,k(mt,"Lists/ReverseList/1",1025),x(436,486,Wi,UN),h.Yd=function(t){return r8(t)},k(mt,"Maps/1",436),x(708,486,Wi,Kue),h.Yd=function(t){return l(t,45).kd()},k(mt,"Maps/2",708),x(967,486,Wi,jrt),h.Yd=function(t){return new t0(t,qQe(this.a,t))},k(mt,"Maps/3",967),x(964,yp,wc,HKe),h.Ic=function(t){TQt(this.a,t)},h.Jc=function(){return this.a.kc()},h.Pc=function(){return this.a},h.Lc=function(){return this.a.lc()},k(mt,"Maps/IteratorBasedAbstractMap/1",964),x(965,1,{},$Ke),h.Wd=function(t,r){this.a.Ad(t)},k(mt,"Maps/KeySet/lambda$0$Type",965),x(963,32,Ry,Uet),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a.uc(t)},h.Ic=function(t){kn(t),this.a.wc(new BKe(t))},h.dc=function(){return this.a.dc()},h.Jc=function(){return new Kue(this.a.vc().Jc())},h.Kc=function(t){var r,o;try{return my(this,t,!0)}catch(a){if(a=ui(a),se(a,46)){for(o=this.a.vc().Jc();o.Ob();)if(r=l(o.Pb(),45),rp(t,r.kd()))return this.a.Ac(r.jd()),!0;return!1}else throw Y(a)}},h.gc=function(){return this.a.gc()},k(mt,"Maps/Values",963),x(966,1,{},BKe),h.Wd=function(t,r){this.a.Ad(r)},k(mt,"Maps/Values/lambda$0$Type",966),x(747,2064,j0,xle),h.xc=function(t){return this.a._b(t)?this.a.cc(t):null},h.Ac=function(t){return this.a._b(t)?this.a.fc(t):null},h.$b=function(){this.a.$b()},h._b=function(t){return this.a._b(t)},h.Dc=function(){return new GKe(this)},h.Cc=function(){return this.Dc()},h.dc=function(){return this.a.dc()},h.ec=function(){return this.a.ec()},h.gc=function(){return this.a.ec().gc()},k(mt,"Multimaps/AsMap",747),x(1115,yp,wc,GKe),h.Jc=function(){return Htn(this.a.a.ec(),new FKe(this))},h.Pc=function(){return this.a},h.Kc=function(t){var r;return Ugt(this,t)?(r=l(wl(l(t,45)),45),DQt(this.a,r.jd()),!0):!1},k(mt,"Multimaps/AsMap/EntrySet",1115),x(1119,1,{},FKe),h.Kb=function(t){return qQe(this,t)},h.Fb=function(t){return this===t},k(mt,"Multimaps/AsMap/EntrySet/lambda$0$Type",1119),x(544,2066,{544:1,841:1,22:1,32:1,18:1},qKe),h.$b=function(){yj(this.a)},h.Gc=function(t){return zQe(this.a,t)},h.Ic=function(t){kn(t),lo(R3(this.a),new zKe(t))},h.Jc=function(){return new UN(R3(this.a).a.kc())},h.gc=function(){return this.a.d},h.Lc=function(){return BO(R3(this.a).Lc(),new $)},k(mt,"Multimaps/Keys",544),x(1117,1,{},$),h.Kb=function(t){return l(t,45).jd()},k(mt,"Multimaps/Keys/0methodref$getKey$Type",1117),x(1116,486,Wi,mQe),h.Yd=function(t){return new VKe(l(t,45))},k(mt,"Multimaps/Keys/1",1116),x(2067,1,{421:1}),h.Fb=function(t){var r;return se(t,493)?(r=l(t,421),l(this.a.kd(),18).gc()==l(r.a.kd(),18).gc()&&rp(this.a.jd(),r.a.jd())):!1},h.Hb=function(){var t;return t=this.a.jd(),(t==null?0:Rr(t))^l(this.a.kd(),18).gc()},h.Ib=function(){var t,r;return r=y3(this.a.jd()),t=l(this.a.kd(),18).gc(),t==1?r:r+" x "+t},k(mt,"Multisets/AbstractEntry",2067),x(493,2067,{493:1,421:1},VKe),k(mt,"Multimaps/Keys/1/1",493),x(1118,1,nn,zKe),h.Ad=function(t){this.a.Ad(l(t,45).jd())},k(mt,"Multimaps/Keys/lambda$1$Type",1118),x(1121,1,nn,P),h.Ad=function(t){asn(l(t,421))},k(mt,"Multiset/lambda$0$Type",1121),x(748,1,nn,WKe),h.Ad=function(t){Ufn(this.a,l(t,421))},k(mt,"Multiset/lambda$1$Type",748),x(1122,1,{},j),k(mt,"Multisets/0methodref$add$Type",1122),x(749,1,{},z),h.Kb=function(t){return uln(l(t,421))},k(mt,"Multisets/lambda$1$Type",749),x(2085,1,gD),k(mt,"RangeGwtSerializationDependencies",2085),x(511,2085,{181:1,511:1,3:1,48:1},K1e),h.Lb=function(t){return mst(this,l(t,34))},h.Mb=function(t){return mst(this,l(t,34))},h.Fb=function(t){var r;return se(t,511)?(r=l(t,511),nbe(this.a,r.a)&&nbe(this.b,r.b)):!1},h.Hb=function(){return this.a.Hb()*31+this.b.Hb()},h.Ib=function(){return $ut(this.a,this.b)},k(mt,"Range",511),x(649,2076,cx,xfe),h.dd=function(t){return EV(this.b,t)},h.Xd=function(){return this.a},h.Xb=function(t){return o1(this.b,t)},h.Nd=function(t){return EV(this.b,t)},k(mt,"RegularImmutableAsList",649),x(652,2084,cx,PW),h.Pd=function(){return this.a};var UQ;k(mt,"RegularImmutableList",652),x(540,725,ux,Sle,Tle);var J_t;k(mt,"RegularImmutableMap",540),x(726,716,uT,Ale);var VEe;k(mt,"RegularImmutableSet",726),x(2053,tf,wc),h.Jc=function(){return new xhe(this.a,this.b)},h.Ec=function(t){throw Y(new Nn)},h.Fc=function(t){throw Y(new Nn)},h.$b=function(){throw Y(new Nn)},h.Kc=function(t){throw Y(new Nn)},k(mt,"Sets/SetView",2053),x(968,2053,wc,$et),h.Jc=function(){return new xhe(this.a,this.b)},h.Gc=function(t){return VV(this.a,t)&&this.b.Gc(t)},h.Hc=function(t){return N6(this.a,t)&&this.b.Hc(t)},h.dc=function(){return _1t(this.b,this.a)},h.gc=function(){return T6(this)},h.Mc=function(){return dr(new vt(null,new St(this.a,1)),new KKe(this.b))},k(mt,"Sets/2",968),x(969,1,Mn,KKe),h.Mb=function(t){return this.a.Gc(t)},k(mt,"Sets/2/0methodref$contains$Type",969),x(710,709,sx,xhe),h.Yb=function(){for(var t;dde(this.a);)if(t=U3(this.a),this.c.Gc(t))return t;return this.e=2,null},k(mt,"Sets/2/1",710),x(613,2052,{613:1,3:1,22:1,18:1,279:1,24:1,85:1},ict),h.Id=function(){return this.b},h.Jd=function(){return this.b},h.Ud=function(){return this.b},h.Ic=function(t){this.a.Ic(t)},h.Mc=function(){return this.a.Mc()},k(mt,"Sets/UnmodifiableNavigableSet",613),x(2010,2009,ux,lat),h.Td=function(){return new nS(this.a)},h.Bc=function(){return new nS(this.a)},h.vd=function(){return new nS(this.a)},k(mt,"SingletonImmutableBiMap",2010),x(653,2084,cx,kV),h.Pd=function(){return this.a},k(mt,"SingletonImmutableList",653),x(360,2058,uT,nS),h.Jc=function(){return new tue(this.a)},h.Gc=function(t){return gr(this.a,t)},h.Md=function(){return new tue(this.a)},h.gc=function(){return 1},k(mt,"SingletonImmutableSet",360),x(1129,1,{},A),h.Kb=function(t){return l(t,163)},k(mt,"Streams/lambda$0$Type",1129),x(1130,1,r7,YKe),h.be=function(){F0n(this.a)},k(mt,"Streams/lambda$1$Type",1130),x(1708,1707,tm,Bat),h.Zb=function(){var t;return t=this.f,l(l(t||(this.f=se(this.c,141)?new E3(this,l(this.c,141)):se(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c)),136),141)},h.hc=function(){return new Qp(this.b)},h.nd=function(){return new Qp(this.b)},h.ec=function(){var t;return t=this.i,l(l(t||(this.i=se(this.c,141)?new UA(this,l(this.c,141)):se(this.c,136)?new uO(this,l(this.c,136)):new aE(this,this.c)),85),279)},h.ac=function(){return se(this.c,141)?new E3(this,l(this.c,141)):se(this.c,136)?new DO(this,l(this.c,136)):new HA(this,this.c)},h.ic=function(t){return t==null&&this.a.Le(t,t),new Qp(this.b)},k(mt,"TreeMultimap",1708),x(81,1,{3:1,81:1}),h.ce=function(t){return new Error(t)},h.de=function(){return this.e},h.ee=function(){var t,r,o;for(o=(this.k==null&&(this.k=we(HQ,Pe,81,0,0,1)),this.k),r=we(Ri,It,1,o.length,5,1),t=0;t<o.length;t++)r[t]=o[t].e;return r},h.fe=function(){return this.f},h.ge=function(){return this.g},h.he=function(){NQt(this,Zun(this.ce(OP(this,this.g)))),vZe(this)},h.Ib=function(){return OP(this,this.ge())},h.e=p2t,h.i=!1,h.n=!0;var HQ=k(Fs,"Throwable",81);x(102,81,{3:1,102:1,81:1}),k(Fs,"Exception",102),x(63,102,vp,Sb,Es),k(Fs,"RuntimeException",63),x(603,63,vp),k(Fs,"JsException",603),x(865,603,vp),k(vD,"JavaScriptExceptionBase",865),x(477,865,{477:1,3:1,102:1,63:1,81:1},Gpt),h.ge=function(){return X0n(this),this.c},h.ie=function(){return me(this.b)===me(WEe)?null:this.b};var WEe;k(cwe,"JavaScriptException",477);var X_t=k(cwe,"JavaScriptObject$",0),zQ;x(2026,1,{}),k(cwe,"Scheduler",2026);var u$=0,Z_t=0,l$=-1;x(892,2026,{},ee);var KEe;k(vD,"SchedulerImpl",892);var GQ;x(2037,1,{}),k(vD,"StackTraceCreator/Collector",2037),x(866,2037,{},ne),h.je=function(t){var r={},o=[];t[rX]=o;for(var a=arguments.callee.caller;a;){var u=(l_(),a.name||(a.name=Zfn(a.toString())));o.push(u);var f=":"+u,p=r[f];if(p){var m,y;for(m=0,y=p.length;m<y;m++)if(p[m]===a)return}(p||(r[f]=[])).push(a),a=a.caller}},h.ke=function(t){var r,o,a,u;for(a=(l_(),t&&t[rX]?t[rX]:[]),o=a.length,u=we(c2e,Pe,325,o,0,1),r=0;r<o;r++)u[r]=new wW(a[r],null,-1);return u},k(vD,"StackTraceCreator/CollectorLegacy",866),x(2038,2037,{}),h.je=function(t){},h.le=function(t,r,o,a){return new wW(r,t+"@"+a,o<0?-1:o)},h.ke=function(t){var r,o,a,u,f,p;if(u=Tmn(t),f=we(c2e,Pe,325,0,0,1),r=0,a=u.length,a==0)return f;for(p=mEt(this,u[0]),wt(p.d,nX)||(f[r++]=p),o=1;o<a;o++)f[r++]=mEt(this,u[o]);return f},k(vD,"StackTraceCreator/CollectorModern",2038),x(867,2038,{},Q),h.le=function(t,r,o,a){return new wW(r,t,-1)},k(vD,"StackTraceCreator/CollectorModernNoSourceMap",867),x(1055,1,{}),k(lwe,m2t,1055),x(622,1055,{622:1},Hst);var YEe;k(SX,m2t,622),x(2080,1,{}),k(lwe,w2t,2080),x(2081,2080,{}),k(SX,w2t,2081),x(1101,1,{},ae);var bI;k(SX,"LocaleInfo",1101),x(2006,1,{},he),h.a=0,k(SX,"TimeZone",2006),x(1268,2081,{},ue),k("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1268),x(439,1,{439:1},yot),h.a=!1,h.b=0,k(lwe,"DateTimeFormat/PatternPart",439),x(208,1,y2t,V9,Mge,Zde),h.Dd=function(t){return Kun(this,l(t,208))},h.Fb=function(t){return se(t,208)&&d3(Gs(this.q.getTime()),Gs(l(t,208).q.getTime()))},h.Hb=function(){var t;return t=Gs(this.q.getTime()),On(jW(t,Rb(t,32)))},h.Ib=function(){var t,r,o;return o=-this.q.getTimezoneOffset(),t=(o>=0?"+":"")+(o/60|0),r=O8(b.Math.abs(o)%60),(imt(),dxt)[this.q.getDay()]+" "+fxt[this.q.getMonth()]+" "+O8(this.q.getDate())+" "+O8(this.q.getHours())+":"+O8(this.q.getMinutes())+":"+O8(this.q.getSeconds())+" GMT"+t+r+" "+this.q.getFullYear()};var d$=k(gn,"Date",208);x(1994,208,y2t,Abt),h.a=!1,h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,h.g=!1,h.i=0,h.j=0,h.k=0,h.n=0,h.o=0,h.p=0,k("com.google.gwt.i18n.shared.impl","DateRecord",1994),x(2043,1,{}),h.ne=function(){return null},h.oe=function(){return null},h.pe=function(){return null},h.qe=function(){return null},h.re=function(){return null},k(dT,"JSONValue",2043),x(142,2043,{142:1},Eb,Qce),h.Fb=function(t){return se(t,142)?Khe(this.a,l(t,142).a):!1},h.me=function(){return aQt},h.Hb=function(){return Dhe(this.a)},h.ne=function(){return this},h.Ib=function(){var t,r,o;for(o=new fu("["),r=0,t=this.a.length;r<t;r++)r>0&&(o.a+=","),ba(o,uy(this,r));return o.a+="]",o.a},k(dT,"JSONArray",142),x(482,2043,{482:1},eue),h.me=function(){return cQt},h.oe=function(){return this},h.Ib=function(){return Lt(),""+this.a},h.a=!1;var Q_t,ext;k(dT,"JSONBoolean",482),x(990,63,vp,wQe),k(dT,"JSONException",990),x(1028,2043,{},pe),h.me=function(){return fQt},h.Ib=function(){return tc};var txt;k(dT,"JSONNull",1028),x(266,2043,{266:1},S9),h.Fb=function(t){return se(t,266)?this.a==l(t,266).a:!1},h.me=function(){return uQt},h.Hb=function(){return mS(this.a)},h.pe=function(){return this},h.Ib=function(){return this.a+""},h.a=0,k(dT,"JSONNumber",266),x(150,2043,{150:1},aS,JR),h.Fb=function(t){return se(t,150)?Khe(this.a,l(t,150).a):!1},h.me=function(){return lQt},h.Hb=function(){return Dhe(this.a)},h.qe=function(){return this},h.Ib=function(){var t,r,o,a,u,f,p;for(p=new fu("{"),t=!0,f=AK(this,we(Je,Pe,2,0,6,1)),o=f,a=0,u=o.length;a<u;++a)r=o[a],t?t=!1:p.a+=ja,zn(p,_0t(r)),p.a+=":",ba(p,op(this,r));return p.a+="}",p.a},k(dT,"JSONObject",150),x(601,tf,wc,Sq),h.Gc=function(t){return zi(t)&&KQt(this.a,In(t))},h.Jc=function(){return new LN(new Ls(this.b))},h.gc=function(){return this.b.length},k(dT,"JSONObject/1",601);var qQ;x(213,2043,{213:1},ty),h.Fb=function(t){return se(t,213)?wt(this.a,l(t,213).a):!1},h.me=function(){return dQt},h.Hb=function(){return lg(this.a)},h.re=function(){return this},h.Ib=function(){return _0t(this.a)},k(dT,"JSONString",213);var D1,JEe,nxt,XEe,ZEe;x(2039,1,{524:1}),k(dwe,"OutputStream",2039),x(2040,2039,{524:1}),k(dwe,"FilterOutputStream",2040),x(868,2040,{524:1},ge),k(dwe,"PrintStream",868),x(423,1,{475:1}),h.Ib=function(){return this.a},k(Fs,"AbstractStringBuilder",423),x(530,63,vp,F9),k(Fs,"ArithmeticException",530),x(99,63,o7,Iue,Ia),k(Fs,"IndexOutOfBoundsException",99),x(650,99,o7,_Ze,ele),k(Fs,"ArrayIndexOutOfBoundsException",650),x(529,63,vp,QG,_Qe),k(Fs,"ArrayStoreException",529),x(298,81,v2t,fq),k(Fs,"Error",298),x(202,298,v2t,Cue,fpe),k(Fs,"AssertionError",202),z_t={3:1,476:1,34:1};var L1,Bx,Yr=k(Fs,"Boolean",476);x(245,1,{3:1,245:1});var QEe;k(Fs,"Number",245),x(224,245,{3:1,224:1,34:1,245:1},eYe),h.Dd=function(t){return qQt(this,l(t,224))},h.se=function(){return this.a},h.Fb=function(t){return se(t,224)&&l(t,224).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var ET=k(Fs,"Byte",224),e2e;x(183,1,{3:1,183:1,34:1},cue),h.Dd=function(t){return VQt(this,l(t,183))},h.Fb=function(t){return se(t,183)&&l(t,183).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return String.fromCharCode(this.a)},h.a=0;var t2e,mI=k(Fs,"Character",183),n2e;x(214,63,{3:1,214:1,102:1,63:1,81:1},EZe,MA),k(Fs,"ClassCastException",214),G_t={3:1,34:1,347:1,245:1};var fi=k(Fs,"Double",347);x(165,245,{3:1,34:1,165:1,245:1},QR,Oue),h.Dd=function(t){return ntn(this,l(t,165))},h.se=function(){return this.a},h.Fb=function(t){return se(t,165)&&Git(this.a,l(t,165).a)},h.Hb=function(){return bo(this.a)},h.Ib=function(){return""+this.a},h.a=0;var Ux=k(Fs,"Float",165);x(33,63,{3:1,102:1,33:1,63:1,81:1},nO,jt,Upt),k(Fs,"IllegalArgumentException",33),x(73,63,vp,lc,ts),k(Fs,"IllegalStateException",73),x(15,245,{3:1,34:1,15:1,245:1},uue),h.Dd=function(t){return ode(this,l(t,15))},h.se=function(){return this.a},h.Fb=function(t){return se(t,15)&&l(t,15).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var _i=k(Fs,"Integer",15),r2e,rxt;x(192,245,{3:1,34:1,192:1,245:1},lue),h.Dd=function(t){return rtn(this,l(t,192))},h.se=function(){return $b(this.a)},h.Fb=function(t){return se(t,192)&&d3(l(t,192).a,this.a)},h.Hb=function(){return Qnn(this.a)},h.Ib=function(){return""+x3(this.a)},h.a=0;var Y0=k(Fs,"Long",192),i2e;x(2119,1,{}),x(1891,63,vp,xQe),k(Fs,"NegativeArraySizeException",1891),x(174,603,{3:1,102:1,174:1,63:1,81:1},rS,cS),h.ce=function(t){return new TypeError(t)},k(Fs,"NullPointerException",174);var o2e,VQ,ixt,s2e;x(133,33,{3:1,102:1,33:1,133:1,63:1,81:1},kf),k(Fs,"NumberFormatException",133),x(193,245,{3:1,34:1,245:1,193:1},aue),h.Dd=function(t){return WQt(this,l(t,193))},h.se=function(){return this.a},h.Fb=function(t){return se(t,193)&&l(t,193).a==this.a},h.Hb=function(){return this.a},h.Ib=function(){return""+this.a},h.a=0;var J0=k(Fs,"Short",193),a2e;x(325,1,{3:1,325:1},wW),h.Fb=function(t){var r;return se(t,325)?(r=l(t,325),this.c==r.c&&this.d==r.d&&this.a==r.a&&this.b==r.b):!1},h.Hb=function(){return $j(Z(X(Ri,1),It,1,5,[Oe(this.c),this.a,this.d,this.b]))},h.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},h.c=0;var c2e=k(Fs,"StackTraceElement",325);q_t={3:1,475:1,34:1,2:1};var Je=k(Fs,awe,2);x(112,423,{475:1},Xp,GN,ml),k(Fs,"StringBuffer",112),x(106,423,{475:1},Qg,lS,fu),k(Fs,"StringBuilder",106),x(698,99,o7,Que),k(Fs,"StringIndexOutOfBoundsException",698),x(2124,1,{});var oxt;x(46,63,{3:1,102:1,63:1,81:1,46:1},Nn,Jp),k(Fs,"UnsupportedOperationException",46),x(249,245,{3:1,34:1,245:1,249:1},j6,ule),h.Dd=function(t){return uvt(this,l(t,249))},h.se=function(){return Sy(Fvt(this))},h.Fb=function(t){var r;return this===t?!0:se(t,249)?(r=l(t,249),this.e==r.e&&uvt(this,r)==0):!1},h.Hb=function(){var t;return this.b!=0?this.b:this.a<54?(t=Gs(this.f),this.b=On(Gi(t,-1)),this.b=33*this.b+On(Gi(c0(t,32),-1)),this.b=17*this.b+bo(this.e),this.b):(this.b=17*Qpt(this.c)+bo(this.e),this.b)},h.Ib=function(){return Fvt(this)},h.a=0,h.b=0,h.d=0,h.e=0,h.f=0;var sxt,fm,u2e,l2e,d2e,f2e,h2e,p2e,WQ=k("java.math","BigDecimal",249);x(92,245,{3:1,34:1,245:1,92:1},ap,hut,Ob,l1t,s1),h.Dd=function(t){return n1t(this,l(t,92))},h.se=function(){return Sy(YJ(this,0))},h.Fb=function(t){return k1e(this,t)},h.Hb=function(){return Qpt(this)},h.Ib=function(){return YJ(this,0)},h.b=-2,h.c=0,h.d=0,h.e=0;var axt,f$,cxt,KQ,h$,wI,GE=k("java.math","BigInteger",92),uxt,lxt,ST,yI;x(487,2044,j0),h.$b=function(){Zs(this)},h._b=function(t){return ma(this,t)},h.uc=function(t){return jpt(this,t,this.i)||jpt(this,t,this.f)},h.vc=function(){return new Mw(this)},h.xc=function(t){return Ut(this,t)},h.yc=function(t,r){return Jn(this,t,r)},h.Ac=function(t){return FS(this,t)},h.gc=function(){return WN(this)},h.g=0,k(gn,"AbstractHashMap",487),x(307,tf,wc,Mw),h.$b=function(){this.a.$b()},h.Gc=function(t){return mut(this,t)},h.Jc=function(){return new hy(this.a)},h.Kc=function(t){var r;return mut(this,t)?(r=l(t,45).jd(),this.a.Ac(r),!0):!1},h.gc=function(){return this.a.gc()},k(gn,"AbstractHashMap/EntrySet",307),x(308,1,Wi,hy),h.Nb=function(t){so(this,t)},h.Pb=function(){return bE(this)},h.Ob=function(){return this.b},h.Qb=function(){Wdt(this)},h.b=!1,h.d=0,k(gn,"AbstractHashMap/EntrySetIterator",308),x(422,1,Wi,LN),h.Nb=function(t){so(this,t)},h.Ob=function(){return Nq(this)},h.Pb=function(){return Che(this)},h.Qb=function(){Mc(this)},h.b=0,h.c=-1,k(gn,"AbstractList/IteratorImpl",422),x(97,422,vh,Ji),h.Qb=function(){Mc(this)},h.Rb=function(t){Kw(this,t)},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Ub=function(){return cn(this.b>0),this.a.Xb(this.c=--this.b)},h.Vb=function(){return this.b-1},h.Wb=function(t){Gw(this.c!=-1),this.a.fd(this.c,t)},k(gn,"AbstractList/ListIteratorImpl",97),x(217,56,lx,Rf),h._c=function(t,r){oy(t,this.b),this.c._c(this.a+t,r),++this.b},h.Xb=function(t){return at(t,this.b),this.c.Xb(this.a+t)},h.ed=function(t){var r;return at(t,this.b),r=this.c.ed(this.a+t),--this.b,r},h.fd=function(t,r){return at(t,this.b),this.c.fd(this.a+t,r)},h.gc=function(){return this.b},h.a=0,h.b=0,k(gn,"AbstractList/SubList",217),x(234,tf,wc,Xh),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a._b(t)},h.Jc=function(){var t;return t=this.a.vc().Jc(),new A9(t)},h.Kc=function(t){return this.a._b(t)?(this.a.Ac(t),!0):!1},h.gc=function(){return this.a.gc()},k(gn,"AbstractMap/1",234),x(533,1,Wi,A9),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),45),t.jd()},h.Qb=function(){this.a.Qb()},k(gn,"AbstractMap/1/1",533),x(232,32,Ry,Zh),h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a.uc(t)},h.Jc=function(){var t;return t=this.a.vc().Jc(),new Pw(t)},h.gc=function(){return this.a.gc()},k(gn,"AbstractMap/2",232),x(305,1,Wi,Pw),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a.Ob()},h.Pb=function(){var t;return t=l(this.a.Pb(),45),t.kd()},h.Qb=function(){this.a.Qb()},k(gn,"AbstractMap/2/1",305),x(483,1,{483:1,45:1}),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),ia(this.d,r.jd())&&ia(this.e,r.kd())):!1},h.jd=function(){return this.d},h.kd=function(){return this.e},h.Hb=function(){return rE(this.d)^rE(this.e)},h.ld=function(t){return tfe(this,t)},h.Ib=function(){return this.d+"="+this.e},k(gn,"AbstractMap/AbstractEntry",483),x(392,483,{483:1,392:1,45:1},n8),k(gn,"AbstractMap/SimpleEntry",392),x(2061,1,AX),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),ia(this.jd(),r.jd())&&ia(this.kd(),r.kd())):!1},h.Hb=function(){return rE(this.jd())^rE(this.kd())},h.Ib=function(){return this.jd()+"="+this.kd()},k(gn,a2t,2061),x(2069,2044,iwe),h.Vc=function(t){return yq(this.Ce(t))},h.tc=function(t){return blt(this,t)},h._b=function(t){return efe(this,t)},h.vc=function(){return new KG(this)},h.Rc=function(){return Rst(this.Ee())},h.Wc=function(t){return yq(this.Fe(t))},h.xc=function(t){var r;return r=t,Ss(this.De(r))},h.Yc=function(t){return yq(this.Ge(t))},h.ec=function(){return new tYe(this)},h.Tc=function(){return Rst(this.He())},h.Zc=function(t){return yq(this.Ie(t))},k(gn,"AbstractNavigableMap",2069),x(627,tf,wc,KG),h.Gc=function(t){return se(t,45)&&blt(this.b,l(t,45))},h.Jc=function(){return this.b.Be()},h.Kc=function(t){var r;return se(t,45)?(r=l(t,45),this.b.Je(r)):!1},h.gc=function(){return this.b.gc()},k(gn,"AbstractNavigableMap/EntrySet",627),x(1127,tf,owe,tYe),h.Lc=function(){return new i8(this)},h.$b=function(){this.a.$b()},h.Gc=function(t){return efe(this.a,t)},h.Jc=function(){var t;return t=this.a.vc().b.Be(),new nYe(t)},h.Kc=function(t){return efe(this.a,t)?(this.a.Ac(t),!0):!1},h.gc=function(){return this.a.gc()},k(gn,"AbstractNavigableMap/NavigableKeySet",1127),x(1128,1,Wi,nYe),h.Nb=function(t){so(this,t)},h.Ob=function(){return Nq(this.a.a)},h.Pb=function(){var t;return t=Yrt(this.a),t.jd()},h.Qb=function(){eot(this.a)},k(gn,"AbstractNavigableMap/NavigableKeySet/1",1128),x(2082,32,Ry),h.Ec=function(t){return xS(V_(this,t),fx),!0},h.Fc=function(t){return Mt(t),HO(t!=this,"Can't add a queue to itself"),wo(this,t)},h.$b=function(){for(;hK(this)!=null;);},k(gn,"AbstractQueue",2082),x(315,32,{4:1,22:1,32:1,18:1},oE,Eut),h.Ec=function(t){return npe(this,t),!0},h.$b=function(){cpe(this)},h.Gc=function(t){return ept(new L3(this),t)},h.dc=function(){return zN(this)},h.Jc=function(){return new L3(this)},h.Kc=function(t){return Ucn(new L3(this),t)},h.gc=function(){return this.c-this.b&this.a.length-1},h.Lc=function(){return new St(this,272)},h.Oc=function(t){var r;return r=this.c-this.b&this.a.length-1,t.length<r&&(t=B9(new Array(r),t)),ght(this,t,r),t.length>r&&ii(t,r,null),t},h.b=0,h.c=0,k(gn,"ArrayDeque",315),x(451,1,Wi,L3),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a!=this.b},h.Pb=function(){return Uj(this)},h.Qb=function(){Qft(this)},h.a=0,h.b=0,h.c=-1,k(gn,"ArrayDeque/IteratorImpl",451),x(13,56,T2t,je,Da,Tc),h._c=function(t,r){Nb(this,t,r)},h.Ec=function(t){return Fe(this,t)},h.ad=function(t,r){return Zge(this,t,r)},h.Fc=function(t){return li(this,t)},h.$b=function(){jw(this.c,0)},h.Gc=function(t){return _s(this,t,0)!=-1},h.Ic=function(t){La(this,t)},h.Xb=function(t){return ze(this,t)},h.bd=function(t){return _s(this,t,0)},h.dc=function(){return this.c.length==0},h.Jc=function(){return new V(this)},h.ed=function(t){return sg(this,t)},h.Kc=function(t){return Xa(this,t)},h.ae=function(t,r){jct(this,t,r)},h.fd=function(t,r){return nu(this,t,r)},h.gc=function(){return this.c.length},h.gd=function(t){ki(this,t)},h.Nc=function(){return eP(this.c)},h.Oc=function(t){return Yd(this,t)};var Z3n=k(gn,"ArrayList",13);x(7,1,Wi,V),h.Nb=function(t){so(this,t)},h.Ob=function(){return Ts(this)},h.Pb=function(){return q(this)},h.Qb=function(){C3(this)},h.a=0,h.b=-1,k(gn,"ArrayList/1",7),x(2091,b.Function,{},De),h.Ke=function(t,r){return vr(t,r)},x(124,56,A2t,Ls),h.Gc=function(t){return Zft(this,t)!=-1},h.Ic=function(t){var r,o,a,u;for(Mt(t),o=this.a,a=0,u=o.length;a<u;++a)r=o[a],t.Ad(r)},h.Xb=function(t){return Kot(this,t)},h.fd=function(t,r){var o;return o=(at(t,this.a.length),this.a[t]),ii(this.a,t,r),o},h.gc=function(){return this.a.length},h.gd=function(t){qV(this.a,this.a.length,t)},h.Nc=function(){return m1t(this,we(Ri,It,1,this.a.length,5,1))},h.Oc=function(t){return m1t(this,t)},k(gn,"Arrays/ArrayList",124);var Ro,xh,p$;x(945,56,A2t,Re),h.Gc=function(t){return!1},h.Xb=function(t){return ide(t)},h.Jc=function(){return At(),zA(),Hx},h.cd=function(){return At(),zA(),Hx},h.gc=function(){return 0},k(gn,"Collections/EmptyList",945),x(946,1,vh,Ae),h.Nb=function(t){so(this,t)},h.Rb=function(t){throw Y(new Nn)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw Y(new vs)},h.Tb=function(){return 0},h.Ub=function(){throw Y(new vs)},h.Vb=function(){return-1},h.Qb=function(){throw Y(new lc)},h.Wb=function(t){throw Y(new lc)};var Hx;k(gn,"Collections/EmptyListIterator",946),x(948,2044,ux,xe),h._b=function(t){return!1},h.uc=function(t){return!1},h.vc=function(){return At(),p$},h.xc=function(t){return null},h.ec=function(){return At(),p$},h.gc=function(){return 0},h.Bc=function(){return At(),Ro},k(gn,"Collections/EmptyMap",948),x(947,tf,uT,Se),h.Gc=function(t){return!1},h.Jc=function(){return At(),zA(),Hx},h.gc=function(){return 0},k(gn,"Collections/EmptySet",947),x(604,56,{3:1,22:1,32:1,56:1,18:1,16:1},WG),h.Gc=function(t){return ia(this.a,t)},h.Xb=function(t){return at(t,1),this.a},h.gc=function(){return 1},k(gn,"Collections/SingletonList",604),x(379,1,l2t,CA),h.Ic=function(t){lo(this,t)},h.Lc=function(){return new St(this,0)},h.Mc=function(){return new vt(null,this.Lc())},h.Ec=function(t){return YQe()},h.Fc=function(t){return JQe()},h.$b=function(){XQe()},h.Gc=function(t){return VN(this,t)},h.Hc=function(t){return ple(this,t)},h.dc=function(){return this.b.dc()},h.Jc=function(){return new qv(this.b.Jc())},h.Kc=function(t){return ZQe()},h.gc=function(){return this.b.gc()},h.Nc=function(){return this.b.Nc()},h.Oc=function(t){return gle(this,t)},h.Ib=function(){return ms(this.b)},k(gn,"Collections/UnmodifiableCollection",379),x(326,1,Wi,qv),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.b.Ob()},h.Pb=function(){return this.b.Pb()},h.Qb=function(){QQe()},k(gn,"Collections/UnmodifiableCollectionIterator",326),x(532,379,_2t,B8),h.Lc=function(){return new St(this,16)},h._c=function(t,r){throw Y(new Nn)},h.ad=function(t,r){throw Y(new Nn)},h.Fb=function(t){return gr(this.a,t)},h.Xb=function(t){return this.a.Xb(t)},h.Hb=function(){return Rr(this.a)},h.bd=function(t){return this.a.bd(t)},h.dc=function(){return this.a.dc()},h.cd=function(){return new Ide(this.a.dd(0))},h.dd=function(t){return new Ide(this.a.dd(t))},h.ed=function(t){throw Y(new Nn)},h.fd=function(t,r){throw Y(new Nn)},h.gd=function(t){throw Y(new Nn)},h.hd=function(t,r){return new B8(this.a.hd(t,r))},k(gn,"Collections/UnmodifiableList",532),x(701,326,vh,Ide),h.Qb=function(){QQe()},h.Rb=function(t){throw Y(new Nn)},h.Sb=function(){return this.a.Sb()},h.Tb=function(){return this.a.Tb()},h.Ub=function(){return this.a.Ub()},h.Vb=function(){return this.a.Vb()},h.Wb=function(t){throw Y(new Nn)},k(gn,"Collections/UnmodifiableListIterator",701),x(605,1,j0,YG),h.wc=function(t){S6(this,t)},h.$b=function(){throw Y(new Nn)},h._b=function(t){return this.c._b(t)},h.uc=function(t){return Get(this,t)},h.vc=function(){return s_(this)},h.Fb=function(t){return qet(this,t)},h.xc=function(t){return this.c.xc(t)},h.Hb=function(){return Rr(this.c)},h.dc=function(){return this.c.dc()},h.ec=function(){return uat(this)},h.yc=function(t,r){throw Y(new Nn)},h.Ac=function(t){throw Y(new Nn)},h.gc=function(){return this.c.gc()},h.Ib=function(){return ms(this.c)},h.Bc=function(){return cat(this)},k(gn,"Collections/UnmodifiableMap",605),x(391,379,eX,PA),h.Lc=function(){return new St(this,1)},h.Fb=function(t){return gr(this.b,t)},h.Hb=function(){return Rr(this.b)},k(gn,"Collections/UnmodifiableSet",391),x(949,391,eX,CQe),h.Gc=function(t){return zet(this,t)},h.Hc=function(t){return this.b.Hc(t)},h.Jc=function(){var t;return t=this.b.Jc(),new rYe(t)},h.Nc=function(){var t;return t=this.b.Nc(),zut(t,t.length),t},h.Oc=function(t){return Jat(this,t)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet",949),x(950,1,Wi,rYe),h.Nb=function(t){so(this,t)},h.Pb=function(){return new due(l(this.a.Pb(),45))},h.Ob=function(){return this.a.Ob()},h.Qb=function(){throw Y(new Nn)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",950),x(699,1,AX,due),h.Fb=function(t){return this.a.Fb(t)},h.jd=function(){return this.a.jd()},h.kd=function(){return this.a.kd()},h.Hb=function(){return this.a.Hb()},h.ld=function(t){throw Y(new Nn)},h.Ib=function(){return ms(this.a)},k(gn,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",699),x(606,532,{22:1,18:1,16:1,59:1},mq),k(gn,"Collections/UnmodifiableRandomAccessList",606),x(700,391,d2t,Rde),h.Lc=function(){return new i8(this)},h.Fb=function(t){return gr(this.a,t)},h.Hb=function(){return Rr(this.a)},k(gn,"Collections/UnmodifiableSortedSet",700),x(850,1,_X,We),h.Le=function(t,r){var o;return o=Gut(l(t,12),l(r,12)),o!=0?o:Qyt(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gn,"Comparator/lambda$0$Type",850);var g2e,YQ,b2e;x(763,1,_X,ut),h.Le=function(t,r){return psn(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return h0(),b2e},k(gn,"Comparators/NaturalOrderComparator",763),x(1203,1,_X,Be),h.Le=function(t,r){return gsn(l(t,34),l(r,34))},h.Fb=function(t){return this===t},h.Me=function(){return h0(),YQ},k(gn,"Comparators/ReverseNaturalOrderComparator",1203),x(55,1,_X,Pn),h.Fb=function(t){return this===t},h.Le=function(t,r){return this.a.Le(r,t)},h.Me=function(){return this.a},k(gn,"Comparators/ReversedComparator",55),x(179,63,vp,$u),k(gn,"ConcurrentModificationException",179);var dxt,fxt;x(1364,1,AD,bt),h.Ne=function(t){Vgt(this,t)},h.Ib=function(){return"DoubleSummaryStatistics[count = "+x3(this.a)+", avg = "+(xq(this.a,0)?Epe(this)/$b(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+Epe(this)+"]"},h.a=0,h.b=Li,h.c=Kr,h.d=0,h.e=0,h.f=0,k(gn,"DoubleSummaryStatistics",1364),x(1864,63,vp,SZe),k(gn,"EmptyStackException",1864),x(453,2044,j0,uC),h.yc=function(t,r){return Qde(this,t,r)},h.$b=function(){eat(this)},h._b=function(t){return att(this,t)},h.uc=function(t){var r,o;for(o=new fS(this.a);o.a<o.c.a.length;)if(r=U3(o),ia(t,this.b[r.g]))return!0;return!1},h.vc=function(){return new oYe(this)},h.xc=function(t){return Ko(this,t)},h.Ac=function(t){return Vhe(this,t)},h.gc=function(){return this.a.c},k(gn,"EnumMap",453),x(1304,tf,wc,oYe),h.$b=function(){eat(this.a)},h.Gc=function(t){return wut(this,t)},h.Jc=function(){return new Wot(this.a)},h.Kc=function(t){var r;return wut(this,t)?(r=l(t,45).jd(),Vhe(this.a,r),!0):!1},h.gc=function(){return this.a.a.c},k(gn,"EnumMap/EntrySet",1304),x(1305,1,Wi,Wot),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.b=U3(this.a),new utt(this.c,this.b)},h.Ob=function(){return dde(this.a)},h.Qb=function(){Gw(!!this.b),Vhe(this.c,this.b),this.b=null},k(gn,"EnumMap/EntrySetIterator",1305),x(1306,2061,AX,utt),h.jd=function(){return this.a},h.kd=function(){return this.b.b[this.a.g]},h.ld=function(t){return Ufe(this.b.b,this.a.g,t)},k(gn,"EnumMap/MapEntry",1306),x(185,tf,{22:1,32:1,18:1,185:1,24:1});var hxt=k(gn,"EnumSet",185);x(167,185,{22:1,32:1,18:1,185:1,167:1,24:1},Hu),h.Ec=function(t){return Jl(this,l(t,23))},h.Gc=function(t){return VV(this,t)},h.Jc=function(){return new fS(this)},h.Kc=function(t){return ost(this,t)},h.gc=function(){return this.c},h.c=0,k(gn,"EnumSet/EnumSetImpl",167),x(357,1,Wi,fS),h.Nb=function(t){so(this,t)},h.Pb=function(){return U3(this)},h.Ob=function(){return dde(this)},h.Qb=function(){Gw(this.b!=-1),ii(this.c.b,this.b,null),--this.c.c,this.b=-1},h.a=-1,h.b=-1,k(gn,"EnumSet/EnumSetImpl/IteratorImpl",357),x(44,487,LE,hn,dS,Gnt),h.ze=function(t,r){return me(t)===me(r)||t!=null&&gr(t,r)},h.Ae=function(t){var r;return t==null?0:(r=Rr(t),r|0)},k(gn,"HashMap",44),x(47,tf,fwe,pi,H9,Jw),h.Ec=function(t){return gi(this,t)},h.$b=function(){this.a.$b()},h.Gc=function(t){return bl(this,t)},h.dc=function(){return this.a.gc()==0},h.Jc=function(){return this.a.ec().Jc()},h.Kc=function(t){return yde(this,t)},h.gc=function(){return this.a.gc()};var Q3n=k(gn,"HashSet",47);x(1884,1,mD,Nt),h.Bd=function(t){Hht(this,t)},h.Ib=function(){return"IntSummaryStatistics[count = "+x3(this.a)+", avg = "+(xq(this.a,0)?$b(this.d)/$b(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+x3(this.d)+"]"},h.a=0,h.b=Zi,h.c=ar,h.d=0,k(gn,"IntSummaryStatistics",1884),x(1054,1,Eh,qnt),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new Rpe(this)},h.c=0,k(gn,"InternalHashCodeMap",1054),x(723,1,Wi,Rpe),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.d=this.a[this.c++],this.d},h.Ob=function(){var t;return this.c<this.a.length?!0:(t=this.b.next(),t.done?!1:(this.a=t.value[1],this.c=0,!0))},h.Qb=function(){_me(this.e,this.d.jd()),this.c!=0&&--this.c},h.c=0,h.d=null,k(gn,"InternalHashCodeMap/1",723);var pxt;x(1052,1,Eh,Vnt),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new dpe(this)},h.c=0,h.d=0,k(gn,"InternalStringMap",1052),x(722,1,Wi,dpe),h.Nb=function(t){so(this,t)},h.Pb=function(){return this.c=this.a,this.a=this.b.next(),new rot(this.d,this.c,this.d.d)},h.Ob=function(){return!this.a.done},h.Qb=function(){qht(this.d,this.c.value[0])},k(gn,"InternalStringMap/1",722),x(1053,2061,AX,rot),h.jd=function(){return this.b.value[0]},h.kd=function(){return this.a.d!=this.c?e3(this.a,this.b.value[0]):this.b.value[1]},h.ld=function(t){return _0(this.a,this.b.value[0],t)},h.c=0,k(gn,"InternalStringMap/2",1053),x(226,44,LE,f1,Ipe),h.$b=function(){xit(this)},h._b=function(t){return ctt(this,t)},h.uc=function(t){var r;for(r=this.d.a;r!=this.d;){if(ia(r.e,t))return!0;r=r.a}return!1},h.vc=function(){return new hue(this)},h.xc=function(t){return Wd(this,t)},h.yc=function(t,r){return Jb(this,t,r)},h.Ac=function(t){return Vdt(this,t)},h.gc=function(){return WN(this.e)},h.c=!1,k(gn,"LinkedHashMap",226),x(395,392,{483:1,392:1,395:1,45:1},Xrt,Nfe),k(gn,"LinkedHashMap/ChainEntry",395),x(711,tf,wc,hue),h.$b=function(){xit(this.a)},h.Gc=function(t){return yut(this,t)},h.Jc=function(){return new phe(this)},h.Kc=function(t){var r;return yut(this,t)?(r=l(t,45).jd(),Vdt(this.a,r),!0):!1},h.gc=function(){return WN(this.a.e)},k(gn,"LinkedHashMap/EntrySet",711),x(712,1,Wi,phe),h.Nb=function(t){so(this,t)},h.Pb=function(){return Jdt(this)},h.Ob=function(){return this.c!=this.d.a.d},h.Qb=function(){Gw(!!this.a),LV(this.d.a.e.g,this.b),jfe(this.a),FS(this.d.a.e,this.a.d),this.b=this.d.a.e.g,this.a=null},h.b=0,k(gn,"LinkedHashMap/EntrySet/EntryIterator",712),x(184,47,fwe,ch,vV,qfe);var eCn=k(gn,"LinkedHashSet",184);x(66,2041,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1},Ar,OV),h.Ec=function(t){return Gn(this,t)},h.$b=function(){tu(this)},h.dd=function(t){return An(this,t)},h.gc=function(){return this.b},h.b=0;var tCn=k(gn,"LinkedList",66);x(972,1,vh,oot),h.Nb=function(t){so(this,t)},h.Rb=function(t){vP(this,t)},h.Ob=function(){return oO(this)},h.Sb=function(){return this.b.b!=this.d.a},h.Pb=function(){return Sn(this)},h.Tb=function(){return this.a},h.Ub=function(){return sut(this)},h.Vb=function(){return this.a-1},h.Qb=function(){gK(this)},h.Wb=function(t){Gw(!!this.c),this.c.c=t},h.a=0,h.c=null,k(gn,"LinkedList/ListIteratorImpl",972),x(614,1,{},pt),k(gn,"LinkedList/Node",614),x(2036,1,{});var m2e,gxt;k(gn,"Locale",2036),x(863,2036,{},Kt),h.Ib=function(){return""},k(gn,"Locale/1",863),x(864,2036,{},Et),h.Ib=function(){return"unknown"},k(gn,"Locale/4",864),x(113,63,{3:1,102:1,63:1,81:1,113:1},vs,fat),k(gn,"NoSuchElementException",113),x(461,1,{461:1},uq),h.Fb=function(t){var r;return t===this?!0:se(t,461)?(r=l(t,461),ia(this.a,r.a)):!1},h.Hb=function(){return rE(this.a)},h.Ib=function(){return this.a!=null?o2t+y3(this.a)+")":"Optional.empty()"};var w2e;k(gn,"Optional",461),x(405,1,{405:1},jnt,TV),h.Fb=function(t){var r;return t===this?!0:se(t,405)?(r=l(t,405),this.a==r.a&&vr(this.b,r.b)==0):!1},h.Hb=function(){return this.a?bo(this.b):0},h.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},h.a=!1,h.b=0;var JQ;k(gn,"OptionalDouble",405),x(514,1,{514:1},Fnt,eit),h.Fb=function(t){var r;return t===this?!0:se(t,514)?(r=l(t,514),this.a==r.a&&na(this.b,r.b)==0):!1},h.Hb=function(){return this.a?this.b:0},h.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},h.a=!1,h.b=0;var bxt;k(gn,"OptionalInt",514),x(500,2082,Ry,bP),h.Fc=function(t){return abe(this,t)},h.$b=function(){jw(this.b.c,0)},h.Gc=function(t){return(t==null?-1:_s(this.b,t,0))!=-1},h.Jc=function(){return new iYe(this)},h.Kc=function(t){return pht(this,t)},h.gc=function(){return this.b.c.length},h.Lc=function(){return new St(this,256)},h.Nc=function(){return eP(this.b.c)},h.Oc=function(t){return Yd(this.b,t)},k(gn,"PriorityQueue",500),x(1272,1,Wi,iYe),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.a<this.c.b.c.length},h.Pb=function(){return cn(this.a<this.c.b.c.length),this.b=this.a++,ze(this.c.b,this.b)},h.Qb=function(){Gw(this.b!=-1),SK(this.c,this.a=this.b),this.b=-1},h.a=0,h.b=-1,k(gn,"PriorityQueue/1",1272),x(237,1,{237:1},sY,KP),h.a=0,h.b=0;var y2e,v2e,nCn=0;k(gn,"Random",237),x(27,1,Tu,St,ey,vat),h.yd=function(t){return(this.a&t)!=0},h.wd=function(){return this.a},h.xd=function(){return ehe(this),this.c},h.Nb=function(t){ehe(this),this.d.Nb(t)},h.zd=function(t){return bft(this,t)},h.a=0,h.c=0,k(gn,"Spliterators/IteratorSpliterator",27),x(484,27,Tu,i8),k(gn,"SortedSet/1",484),x(607,1,AD,pue),h.Ne=function(t){this.a.Ad(t)},k(gn,"Spliterator/OfDouble/0methodref$accept$Type",607),x(608,1,AD,gue),h.Ne=function(t){this.a.Ad(t)},k(gn,"Spliterator/OfDouble/1methodref$accept$Type",608),x(609,1,mD,bue),h.Bd=function(t){this.a.Ad(Oe(t))},k(gn,"Spliterator/OfInt/2methodref$accept$Type",609),x(610,1,mD,mue),h.Bd=function(t){this.a.Ad(Oe(t))},k(gn,"Spliterator/OfInt/3methodref$accept$Type",610),x(623,1,Tu),h.Nb=function(t){sle(this,t)},h.yd=function(t){return(this.d&t)!=0},h.wd=function(){return this.d},h.xd=function(){return this.e},h.d=0,h.e=0,k(gn,"Spliterators/BaseSpliterator",623),x(731,623,Tu),h.Oe=function(t){Kv(this,t)},h.Nb=function(t){se(t,191)?Kv(this,l(t,191)):Kv(this,new gue(t))},h.zd=function(t){return se(t,191)?this.Pe(l(t,191)):this.Pe(new pue(t))},k(gn,"Spliterators/AbstractDoubleSpliterator",731),x(730,623,Tu),h.Oe=function(t){Kv(this,t)},h.Nb=function(t){se(t,204)?Kv(this,l(t,204)):Kv(this,new mue(t))},h.zd=function(t){return se(t,204)?this.Pe(l(t,204)):this.Pe(new bue(t))},k(gn,"Spliterators/AbstractIntSpliterator",730),x(489,623,Tu),k(gn,"Spliterators/AbstractSpliterator",489),x(702,1,Tu),h.Nb=function(t){sle(this,t)},h.yd=function(t){return(this.b&t)!=0},h.wd=function(){return this.b},h.xd=function(){return this.d-this.c},h.b=0,h.c=0,h.d=0,k(gn,"Spliterators/BaseArraySpliterator",702),x(952,702,Tu,Lot),h.Qe=function(t,r){zQt(this,l(t,42),r)},h.Nb=function(t){pW(this,t)},h.zd=function(t){return ej(this,t)},k(gn,"Spliterators/ArraySpliterator",952),x(703,702,Tu,Wit),h.Qe=function(t,r){GQt(this,l(t,191),r)},h.Oe=function(t){pW(this,t)},h.Nb=function(t){se(t,191)?pW(this,l(t,191)):pW(this,new gue(t))},h.Pe=function(t){return ej(this,t)},h.zd=function(t){return se(t,191)?ej(this,l(t,191)):ej(this,new pue(t))},k(gn,"Spliterators/DoubleArraySpliterator",703),x(2045,1,Tu),h.Nb=function(t){sle(this,t)},h.yd=function(t){return(16448&t)!=0},h.wd=function(){return 16448},h.xd=function(){return 0};var mxt;k(gn,"Spliterators/EmptySpliterator",2045),x(951,2045,Tu,Dt),h.Oe=function(t){Jce(t)},h.Nb=function(t){se(t,204)?Jce(l(t,204)):Jce(new mue(t))},h.Pe=function(t){return _le(t)},h.zd=function(t){return se(t,204)?_le(l(t,204)):_le(new bue(t))},k(gn,"Spliterators/EmptySpliterator/OfInt",951),x(581,56,x2t,D9),h._c=function(t,r){t_(t,this.a.c.length+1),Nb(this.a,t,r)},h.Ec=function(t){return Fe(this.a,t)},h.ad=function(t,r){return t_(t,this.a.c.length+1),Zge(this.a,t,r)},h.Fc=function(t){return li(this.a,t)},h.$b=function(){jw(this.a.c,0)},h.Gc=function(t){return _s(this.a,t,0)!=-1},h.Hc=function(t){return N6(this.a,t)},h.Ic=function(t){La(this.a,t)},h.Xb=function(t){return t_(t,this.a.c.length),ze(this.a,t)},h.bd=function(t){return _s(this.a,t,0)},h.dc=function(){return this.a.c.length==0},h.Jc=function(){return new V(this.a)},h.ed=function(t){return t_(t,this.a.c.length),sg(this.a,t)},h.ae=function(t,r){jct(this.a,t,r)},h.fd=function(t,r){return t_(t,this.a.c.length),nu(this.a,t,r)},h.gc=function(){return this.a.c.length},h.gd=function(t){ki(this.a,t)},h.hd=function(t,r){return new Rf(this.a,t,r)},h.Nc=function(){return eP(this.a.c)},h.Oc=function(t){return Yd(this.a,t)},h.Ib=function(){return Qd(this.a)},k(gn,"Vector",581),x(582,581,x2t,L9),k(gn,"Stack",582),x(215,1,{215:1},qb),h.Ib=function(){return out(this)},k(gn,"StringJoiner",215),x(545,2069,{3:1,93:1,141:1,136:1},Wet,eW),h.$b=function(){yQe(this)},h.Be=function(){return new fut(this)},h.vc=function(){return new qrt(this)},h.Ce=function(t){return $_(this,t,!0)},h.De=function(t){return Opt(this,t)},h.Ee=function(){return $pe(this)},h.Fe=function(t){return B6(this,t,!0)},h.Ge=function(t){return $_(this,t,!1)},h.He=function(){return Sdt(this)},h.Ie=function(t){return B6(this,t,!1)},h.Xc=function(t,r){return Pct(this,t,r)},h.yc=function(t,r){return wpt(this,t,r)},h.Ac=function(t){return rct(this,t)},h.Je=function(t){return Npe(this,t)},h.gc=function(){return this.c},h.$c=function(t,r){return Mct(this,t,r)},h.c=0,k(gn,"TreeMap",545),x(546,1,Wi,fut,xK),h.Nb=function(t){so(this,t)},h.Pb=function(){return Yrt(this)},h.Ob=function(){return Nq(this.a)},h.Qb=function(){eot(this)},k(gn,"TreeMap/EntryIterator",546),x(1123,627,wc,qrt),h.$b=function(){yQe(this.a)},k(gn,"TreeMap/EntrySet",1123),x(443,392,{483:1,392:1,45:1,443:1},nK),h.b=!1;var rCn=k(gn,"TreeMap/Node",443);x(628,1,{},Yt),h.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},h.a=!1,h.b=!1,h.c=!1,k(gn,"TreeMap/State",628),x(629,2069,iwe,nJ),h.Be=function(){return new xK(this.c,this.f,this.b,this.a,this.e,this.d)},h.vc=function(){return new KG(this)},h.Ce=function(t){return X8(this,$_(this.c,t,!0))},h.De=function(t){return X8(this,Opt(this.c,t))},h.Ee=function(){var t;return this.f.Re()?this.a?t=$_(this.c,this.b,!0):t=$_(this.c,this.b,!1):t=$pe(this.c),t&&TP(this,t.d)?t:null},h.Fe=function(t){return X8(this,B6(this.c,t,!0))},h.Ge=function(t){return X8(this,$_(this.c,t,!1))},h.He=function(){var t;return this.f.Se()?this.d?t=B6(this.c,this.e,!0):t=B6(this.c,this.e,!1):t=Sdt(this.c),t&&TP(this,t.d)?t:null},h.Ie=function(t){return X8(this,B6(this.c,t,!1))},h.Xc=function(t,r){if(this.f.Se()&&this.c.a.Le(t,this.e)>0)throw Y(new jt(gwe+t+" greater than "+this.e));return this.f.Re()?nct(this.c,this.b,this.a,t,r):Pct(this.c,t,r)},h.yc=function(t,r){if(!BY(this.c,this.f,t,this.b,this.a,this.e,this.d))throw Y(new jt(t+" outside the range "+this.b+" to "+this.e));return wpt(this.c,t,r)},h.Ac=function(t){var r;return r=t,BY(this.c,this.f,r,this.b,this.a,this.e,this.d)?rct(this.c,r):null},h.Je=function(t){return TP(this,t.jd())&&Npe(this.c,t)},h.gc=function(){var t,r,o;if(this.f.Re()?this.a?r=$_(this.c,this.b,!0):r=$_(this.c,this.b,!1):r=$pe(this.c),!(r&&TP(this,r.d)&&r))return 0;for(t=0,o=new xK(this.c,this.f,this.b,this.a,this.e,this.d);Nq(o.a);o.b=l(Che(o.a),45))++t;return t},h.$c=function(t,r){if(this.f.Re()&&this.c.a.Le(t,this.b)<0)throw Y(new jt(gwe+t+k2t+this.b));return this.f.Se()?nct(this.c,t,r,this.e,this.d):Mct(this.c,t,r)},h.a=!1,h.d=!1,k(gn,"TreeMap/SubMap",629),x(310,23,NX,o8),h.Re=function(){return!1},h.Se=function(){return!1};var XQ,ZQ,QQ,eee,g$=fn(gn,"TreeMap/SubMapType",310,bn,hln,krn);x(1124,310,NX,Znt),h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/1",1124,g$,null,null),x(1125,310,NX,lrt),h.Re=function(){return!0},h.Se=function(){return!0},fn(gn,"TreeMap/SubMapType/2",1125,g$,null,null),x(1126,310,NX,Qnt),h.Re=function(){return!0},fn(gn,"TreeMap/SubMapType/3",1126,g$,null,null);var wxt;x(143,tf,{3:1,22:1,32:1,18:1,279:1,24:1,85:1,143:1},tq,Ode,Qp,IA),h.Lc=function(){return new i8(this)},h.Ec=function(t){return qO(this,t)},h.$b=function(){this.a.$b()},h.Gc=function(t){return this.a._b(t)},h.Jc=function(){return this.a.ec().Jc()},h.Kc=function(t){return wV(this,t)},h.gc=function(){return this.a.gc()};var iCn=k(gn,"TreeSet",143);x(1063,1,{},sYe),h.Te=function(t,r){return Vnn(this.a,t,r)},k(CX,"BinaryOperator/lambda$0$Type",1063),x(1064,1,{},aYe),h.Te=function(t,r){return Wnn(this.a,t,r)},k(CX,"BinaryOperator/lambda$1$Type",1064),x(944,1,{},Zn),h.Kb=function(t){return t},k(CX,"Function/lambda$0$Type",944),x(390,1,Mn,RA),h.Mb=function(t){return!this.a.Mb(t)},k(CX,"Predicate/lambda$2$Type",390),x(574,1,{574:1});var yxt=k(zC,"Handler",574);x(2086,1,gD),h.ve=function(){return"DUMMY"},h.Ib=function(){return this.ve()};var E2e;k(zC,"Level",2086),x(1689,2086,gD,Yn),h.ve=function(){return"INFO"},k(zC,"Level/LevelInfo",1689),x(1841,1,{},xZe);var tee;k(zC,"LogManager",1841),x(1883,1,gD,sot),h.b=null,k(zC,"LogRecord",1883),x(515,1,{515:1},VW),h.e=!1;var vxt=!1,Ext=!1,sf=!1,Sxt=!1,Txt=!1;k(zC,"Logger",515),x(827,574,{574:1},Er),k(zC,"SimpleConsoleLogHandler",827),x(132,23,{3:1,34:1,23:1,132:1},Cq);var S2e,nc,T2e,rc=fn(Uo,"Collector/Characteristics",132,bn,Xcn,Nrn),Axt;x(753,1,{},ahe),k(Uo,"CollectorImpl",753),x(1061,1,{},Ln),h.Te=function(t,r){return Tgn(l(t,215),l(r,215))},k(Uo,"Collectors/10methodref$merge$Type",1061),x(1062,1,{},Xs),h.Kb=function(t){return out(l(t,215))},k(Uo,"Collectors/11methodref$toString$Type",1062),x(153,1,{},ls),h.Wd=function(t,r){l(t,18).Ec(r)},k(Uo,"Collectors/20methodref$add$Type",153),x(155,1,{},es),h.Ve=function(){return new je},k(Uo,"Collectors/21methodref$ctor$Type",155),x(1060,1,{},Ca),h.Wd=function(t,r){cp(l(t,215),l(r,475))},k(Uo,"Collectors/9methodref$add$Type",1060),x(1059,1,{},vot),h.Ve=function(){return new qb(this.a,this.b,this.c)},k(Uo,"Collectors/lambda$15$Type",1059),x(154,1,{},Ci),h.Te=function(t,r){return Aen(l(t,18),l(r,18))},k(Uo,"Collectors/lambda$45$Type",154),x(542,1,{}),h.Ye=function(){D3(this)},h.d=!1,k(Uo,"TerminatableStream",542),x(775,542,bwe,qde),h.Ye=function(){D3(this)},k(Uo,"DoubleStreamImpl",775),x(1309,731,Tu,Eot),h.Pe=function(t){return emn(this,l(t,191))},h.a=null,k(Uo,"DoubleStreamImpl/2",1309),x(1310,1,AD,cYe),h.Ne=function(t){wtn(this.a,t)},k(Uo,"DoubleStreamImpl/2/lambda$0$Type",1310),x(1307,1,AD,uYe),h.Ne=function(t){mtn(this.a,t)},k(Uo,"DoubleStreamImpl/lambda$0$Type",1307),x(1308,1,AD,lYe),h.Ne=function(t){Vgt(this.a,t)},k(Uo,"DoubleStreamImpl/lambda$2$Type",1308),x(1363,730,Tu,wlt),h.Pe=function(t){return iln(this,l(t,204))},h.a=0,h.b=0,h.c=0,k(Uo,"IntStream/5",1363),x(800,542,bwe,Vde),h.Ye=function(){D3(this)},h.Ze=function(){return u1(this),this.a},k(Uo,"IntStreamImpl",800),x(801,542,bwe,ble),h.Ye=function(){D3(this)},h.Ze=function(){return u1(this),wde(),mxt},k(Uo,"IntStreamImpl/Empty",801),x(1668,1,mD,dYe),h.Bd=function(t){Hht(this.a,t)},k(Uo,"IntStreamImpl/lambda$4$Type",1668);var oCn=Hr(Uo,"Stream");x(28,542,{524:1,684:1,840:1},vt),h.Ye=function(){D3(this)};var TT;k(Uo,"StreamImpl",28),x(1083,489,Tu,Kit),h.zd=function(t){for(;tfn(this);){if(this.a.zd(t))return!0;D3(this.b),this.b=null,this.a=null}return!1},k(Uo,"StreamImpl/1",1083),x(1084,1,nn,fYe),h.Ad=function(t){jon(this.a,l(t,840))},k(Uo,"StreamImpl/1/lambda$0$Type",1084),x(1085,1,Mn,hYe),h.Mb=function(t){return gi(this.a,t)},k(Uo,"StreamImpl/1methodref$add$Type",1085),x(1086,489,Tu,Rat),h.zd=function(t){var r;return this.a||(r=new je,this.b.a.Nb(new pYe(r)),At(),ki(r,this.c),this.a=new St(r,16)),bft(this.a,t)},h.a=null,k(Uo,"StreamImpl/5",1086),x(1087,1,nn,pYe),h.Ad=function(t){Fe(this.a,t)},k(Uo,"StreamImpl/5/2methodref$add$Type",1087),x(732,489,Tu,Ppe),h.zd=function(t){for(this.b=!1;!this.b&&this.c.zd(new ltt(this,t)););return this.b},h.b=!1,k(Uo,"StreamImpl/FilterSpliterator",732),x(1077,1,nn,ltt),h.Ad=function(t){Rsn(this.a,this.b,t)},k(Uo,"StreamImpl/FilterSpliterator/lambda$0$Type",1077),x(1072,731,Tu,klt),h.Pe=function(t){return lrn(this,l(t,191))},k(Uo,"StreamImpl/MapToDoubleSpliterator",1072),x(1076,1,nn,dtt),h.Ad=function(t){Ben(this.a,this.b,t)},k(Uo,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1076),x(1071,730,Tu,Nlt),h.Pe=function(t){return drn(this,l(t,204))},k(Uo,"StreamImpl/MapToIntSpliterator",1071),x(1075,1,nn,ftt),h.Ad=function(t){Uen(this.a,this.b,t)},k(Uo,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1075),x(729,489,Tu,Tpe),h.zd=function(t){return Vit(this,t)},k(Uo,"StreamImpl/MapToObjSpliterator",729),x(1074,1,nn,htt),h.Ad=function(t){Hen(this.a,this.b,t)},k(Uo,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1074),x(1073,489,Tu,rht),h.zd=function(t){for(;xq(this.b,0);){if(!this.a.zd(new Qr))return!1;this.b=El(this.b,1)}return this.a.zd(t)},h.b=0,k(Uo,"StreamImpl/SkipSpliterator",1073),x(1078,1,nn,Qr),h.Ad=function(t){},k(Uo,"StreamImpl/SkipSpliterator/lambda$0$Type",1078),x(624,1,nn,Hi),h.Ad=function(t){JKe(this,t)},k(Uo,"StreamImpl/ValueConsumer",624),x(1079,1,nn,ai),h.Ad=function(t){_b()},k(Uo,"StreamImpl/lambda$0$Type",1079),x(1080,1,nn,ju),h.Ad=function(t){_b()},k(Uo,"StreamImpl/lambda$1$Type",1080),x(1081,1,{},gYe),h.Te=function(t,r){return Drn(this.a,t,r)},k(Uo,"StreamImpl/lambda$4$Type",1081),x(1082,1,nn,ptt),h.Ad=function(t){irn(this.b,this.a,t)},k(Uo,"StreamImpl/lambda$5$Type",1082),x(1088,1,nn,bYe),h.Ad=function(t){tpn(this.a,l(t,376))},k(Uo,"TerminatableStream/lambda$0$Type",1088),x(2121,1,{}),x(1993,1,{},Ui),k("javaemul.internal","ConsoleLogger",1993);var sCn=0;x(2113,1,{}),x(1817,1,nn,mb),h.Ad=function(t){l(t,322)},k(hx,"BowyerWatsonTriangulation/lambda$0$Type",1817),x(1818,1,nn,mYe),h.Ad=function(t){wo(this.a,l(t,322).e)},k(hx,"BowyerWatsonTriangulation/lambda$1$Type",1818),x(1819,1,nn,Jg),h.Ad=function(t){l(t,180)},k(hx,"BowyerWatsonTriangulation/lambda$2$Type",1819),x(1814,1,Un,wYe),h.Le=function(t,r){return Wln(this.a,l(t,180),l(r,180))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(hx,"NaiveMinST/lambda$0$Type",1814),x(401,1,{},OA),k(hx,"NodeMicroLayout",401),x(180,1,{180:1},hS),h.Fb=function(t){var r;return se(t,180)?(r=l(t,180),ia(this.a,r.a)&&ia(this.b,r.b)||ia(this.a,r.b)&&ia(this.b,r.a)):!1},h.Hb=function(){return rE(this.a)+rE(this.b)};var aCn=k(hx,"TEdge",180);x(322,1,{322:1},I0e),h.Fb=function(t){var r;return se(t,322)?(r=l(t,322),aj(this,r.a)&&aj(this,r.b)&&aj(this,r.c)):!1},h.Hb=function(){return rE(this.a)+rE(this.b)+rE(this.c)},k(hx,"TTriangle",322),x(227,1,{227:1},L8),k(hx,"Tree",227),x(1195,1,{},kct),k(I2t,"Scanline",1195);var _xt=Hr(I2t,R2t);x(1745,1,{},mft),k(Ah,"CGraph",1745),x(321,1,{321:1},hct),h.b=0,h.c=0,h.d=0,h.g=0,h.i=0,h.k=Li,k(Ah,"CGroup",321),x(821,1,{},Lue),k(Ah,"CGroup/CGroupBuilder",821),x(60,1,{60:1},Cit),h.Ib=function(){var t;return this.j?In(this.j.Kb(this)):(np(b$),b$.o+"@"+(t=s0(this)>>>0,t.toString(16)))},h.f=0,h.i=Li;var b$=k(Ah,"CNode",60);x(820,1,{},Mue),k(Ah,"CNode/CNodeBuilder",820);var xxt;x(1568,1,{},Wh),h.df=function(t,r){return 0},h.ef=function(t,r){return 0},k(Ah,D2t,1568),x(1847,1,{},wb),h.af=function(t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G;for(v=Kr,a=new V(t.a.b);a.a<a.c.c.length;)r=l(q(a),60),v=b.Math.min(v,r.a.j.d.c+r.b.a);for(M=new Ar,p=new V(t.a.a);p.a<p.c.c.length;)f=l(q(p),321),f.k=v,f.g==0&&Wr(M,f,M.c.b,M.c);for(;M.b!=0;){for(f=l(M.b==0?null:(cn(M.b!=0),Vu(M,M.a.a)),321),u=f.j.d.c,R=f.a.a.ec().Jc();R.Ob();)T=l(R.Pb(),60),G=f.k+T.b.a,!sgn(t,f,t.d)||T.d.c<G?T.i=G:T.i=T.d.c;for(u-=f.j.i,f.b+=u,t.d==(Si(),fs)||t.d==ff?f.c+=u:f.c-=u,N=f.a.a.ec().Jc();N.Ob();)for(T=l(N.Pb(),60),y=T.c.Jc();y.Ob();)m=l(y.Pb(),60),ep(t.d)?U=t.g.df(T,m):U=t.g.ef(T,m),m.a.k=b.Math.max(m.a.k,T.i+T.d.b+U-m.b.a),Uat(t,m,t.d)&&(m.a.k=b.Math.max(m.a.k,m.d.c-m.b.a)),--m.a.g,m.a.g==0&&Gn(M,m.a)}for(o=new V(t.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.d.c=r.i},k(Ah,"LongestPathCompaction",1847),x(1743,1,{},v0t),h.e=!1;var kxt,Nxt,Cxt,nee=k(Ah,P2t,1743);x(1744,1,nn,yYe),h.Ad=function(t){hpn(this.a,l(t,49))},k(Ah,j2t,1744),x(1848,1,{},Wp),h.bf=function(t){var r,o,a,u,f,p,m;for(o=new V(t.a.b);o.a<o.c.c.length;)r=l(q(o),60),r.c.$b();for(u=new V(t.a.b);u.a<u.c.c.length;)for(a=l(q(u),60),p=new V(t.a.b);p.a<p.c.c.length;)f=l(q(p),60),a!=f&&(a.a&&a.a==f.a||(ep(t.d)?m=t.g.ef(a,f):m=t.g.df(a,f),(f.d.c>a.d.c||a.d.c==f.d.c&&a.d.b<f.d.b)&&$1n(f.d.d+f.d.a+m,a.d.d)&&F1e(f.d.d,a.d.d+a.d.a+m)&&a.c.Ec(f)))},k(Ah,"QuadraticConstraintCalculation",1848),x(520,1,{520:1},ZG),h.a=!1,h.b=!1,h.c=!1,h.d=!1,k(Ah,F2t,520),x(811,1,{},Vfe),h.bf=function(t){this.c=t,X6(this,new X2)},k(Ah,$2t,811),x(1771,1,{690:1},Gat),h._e=function(t){Xyn(this,l(t,466))},k(Ah,B2t,1771),x(1772,1,Un,Lw),h.Le=function(t,r){return Lan(l(t,60),l(r,60))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ah,U2t,1772),x(466,1,{466:1},Cle),h.a=!1,k(Ah,H2t,466),x(1773,1,Un,Kh),h.Le=function(t,r){return h0n(l(t,466),l(r,466))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ah,z2t,1773),x(1774,1,Uf,X2),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},k(Ah,"ScanlineConstraintCalculator/lambda$1$Type",1774),x(220,1,{220:1},Xg),h.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},h.a=1,h.b=0,h.c=0,h.f=!1,h.g=0;var Ixt=k(GC,"NEdge",220);x(186,1,{},gl),k(GC,"NEdge/NEdgeBuilder",186),x(658,1,{},eq),k(GC,"NGraph",658),x(126,1,{126:1},Olt),h.c=-1,h.d=0,h.e=0,h.i=-1,h.j=!1;var A2e=k(GC,"NNode",126);x(802,1,_2t,Due),h.Ic=function(t){lo(this,t)},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new vt(null,new St(this,16))},h._c=function(t,r){++this.b,Nb(this.a,t,r)},h.Ec=function(t){return $8(this,t)},h.ad=function(t,r){return++this.b,Zge(this.a,t,r)},h.Fc=function(t){return++this.b,li(this.a,t)},h.$b=function(){++this.b,jw(this.a.c,0)},h.Gc=function(t){return _s(this.a,t,0)!=-1},h.Hc=function(t){return N6(this.a,t)},h.Xb=function(t){return ze(this.a,t)},h.bd=function(t){return _s(this.a,t,0)},h.dc=function(){return this.a.c.length==0},h.Jc=function(){return BS(new V(this.a))},h.cd=function(){throw Y(new Nn)},h.dd=function(t){throw Y(new Nn)},h.ed=function(t){return++this.b,sg(this.a,t)},h.Kc=function(t){return Cde(this,t)},h.fd=function(t,r){return++this.b,nu(this.a,t,r)},h.gc=function(){return this.a.c.length},h.hd=function(t,r){return new Rf(this.a,t,r)},h.Nc=function(){return eP(this.a.c)},h.Oc=function(t){return Yd(this.a,t)},h.b=0,k(GC,"NNode/ChangeAwareArrayList",802),x(276,1,{},Tb),k(GC,"NNode/NNodeBuilder",276),x(1677,1,{},yb),h.a=!1,h.f=ar,h.j=0,k(GC,"NetworkSimplex",1677),x(1290,1,nn,vYe),h.Ad=function(t){V0e(this.a,l(t,692),!0,!1)},k(G2t,"NodeLabelAndSizeCalculator/lambda$0$Type",1290),x(561,1,{},_9),h.b=!0,h.c=!0,h.d=!0,h.e=!0,k(G2t,"NodeMarginCalculator",561),x(219,1,{219:1}),h.j=!1,h.k=!1;var Rxt=k(rm,"Cell",219);x(129,219,{129:1,219:1},Nit),h.ff=function(){return tP(this)},h.gf=function(){var t;return t=this.n,this.a.a+t.b+t.c},k(rm,"AtomicCell",129),x(240,23,{3:1,34:1,23:1,240:1},Iq);var Bs,$a,Us,$y=fn(rm,"ContainerArea",240,bn,Zcn,Crn),Oxt;x(338,219,q2t),k(rm,"ContainerCell",338),x(1516,338,q2t,Ggt),h.ff=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].ff()):t=_1e(this,Q1t(this,!0)),t>0?t+this.n.d+this.n.a:0},h.gf=function(){var t,r,o,a,u;if(u=0,this.e)this.b?u=this.b.a:this.a[1][1]&&(u=this.a[1][1].gf());else if(this.g)u=_1e(this,HY(this,null,!0));else for(r=(Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])),o=0,a=r.length;o<a;++o)t=r[o],u=b.Math.max(u,_1e(this,HY(this,t,!0)));return u>0?u+this.n.b+this.n.c:0},h.hf=function(){var t,r,o,a,u;if(this.g)for(t=HY(this,null,!1),o=(Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])),a=0,u=o.length;a<u;++a)r=o[a],qwt(this,r,t);else for(o=(Sd(),Z(X($y,1),Ce,240,0,[Bs,$a,Us])),a=0,u=o.length;a<u;++a)r=o[a],t=HY(this,r,!1),qwt(this,r,t)},h.jf=function(){var t,r,o,a;r=this.i,t=this.n,a=Q1t(this,!1),ype(this,(Sd(),Bs),r.d+t.d,a),ype(this,Us,r.d+r.a-t.a-a[2],a),o=r.a-t.d-t.a,a[0]>0&&(a[0]+=this.d,o-=a[0]),a[2]>0&&(a[2]+=this.d,o-=a[2]),this.c.a=b.Math.max(0,o),this.c.d=r.d+t.d+(this.c.a-o)/2,a[1]=b.Math.max(a[1],o),ype(this,$a,r.d+t.d+a[0]-(a[1]-o)/2,a)},h.b=null,h.d=0,h.e=!1,h.f=!1,h.g=!1;var ree=0,m$=0;k(rm,"GridContainerCell",1516),x(464,23,{3:1,34:1,23:1,464:1},Rq);var M1,Wf,nd,Dxt=fn(rm,"HorizontalLabelAlignment",464,bn,Qcn,Irn),Lxt;x(319,219,{219:1,319:1},sct,wft,Xat),h.ff=function(){return Iot(this)},h.gf=function(){return Ffe(this)},h.a=0,h.c=!1;var cCn=k(rm,"LabelCell",319);x(256,338,{219:1,338:1,256:1},fC),h.ff=function(){return EC(this)},h.gf=function(){return SC(this)},h.hf=function(){CJ(this)},h.jf=function(){IJ(this)},h.b=0,h.c=0,h.d=!1,k(rm,"StripContainerCell",256),x(1672,1,Mn,Zg),h.Mb=function(t){return PQt(l(t,219))},k(rm,"StripContainerCell/lambda$0$Type",1672),x(1673,1,{},CN),h.We=function(t){return l(t,219).gf()},k(rm,"StripContainerCell/lambda$1$Type",1673),x(1674,1,Mn,IN),h.Mb=function(t){return jQt(l(t,219))},k(rm,"StripContainerCell/lambda$2$Type",1674),x(1675,1,{},Kp),h.We=function(t){return l(t,219).ff()},k(rm,"StripContainerCell/lambda$3$Type",1675),x(465,23,{3:1,34:1,23:1,465:1},Oq);var rd,P1,Nd,Mxt=fn(rm,"VerticalLabelAlignment",465,bn,eun,Rrn),Pxt;x(794,1,{},K0e),h.c=0,h.d=0,h.k=0,h.s=0,h.t=0,h.v=!1,h.w=0,h.D=!1,h.F=!1,k(c7,"NodeContext",794),x(1514,1,Un,GR),h.Le=function(t,r){return znt(l(t,64),l(r,64))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(c7,"NodeContext/0methodref$comparePortSides$Type",1514),x(1515,1,Un,kA),h.Le=function(t,r){return jwn(l(t,116),l(r,116))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(c7,"NodeContext/1methodref$comparePortContexts$Type",1515),x(169,23,{3:1,34:1,23:1,169:1},Ku);var jxt,Fxt,$xt,Bxt,Uxt,Hxt,zxt,Gxt,qxt,Vxt,Wxt,Kxt,Yxt,Jxt,Xxt,Zxt,Qxt,ekt,tkt,nkt,rkt,iee,ikt=fn(c7,"NodeLabelLocation",169,bn,yY,Orn),okt;x(116,1,{116:1},k0t),h.a=!1,k(c7,"PortContext",116),x(1519,1,nn,qR),h.Ad=function(t){cet(l(t,319))},k(xD,V2t,1519),x(1520,1,Mn,VR),h.Mb=function(t){return!!l(t,116).c},k(xD,W2t,1520),x(1521,1,nn,RN),h.Ad=function(t){cet(l(t,116).c)},k(xD,"LabelPlacer/lambda$2$Type",1521);var _2e;x(1518,1,nn,ON),h.Ad=function(t){Ww(),gQt(l(t,116))},k(xD,"NodeLabelAndSizeUtilities/lambda$0$Type",1518),x(795,1,nn,mfe),h.Ad=function(t){Cen(this.b,this.c,this.a,l(t,190))},h.a=!1,h.c=!1,k(xD,"NodeLabelCellCreator/lambda$0$Type",795),x(1517,1,nn,EYe),h.Ad=function(t){yQt(this.a,l(t,190))},k(xD,"PortContextCreator/lambda$0$Type",1517);var w$;x(1889,1,{},go),k(gx,"GreedyRectangleStripOverlapRemover",1889),x(1890,1,Un,Fu),h.Le=function(t,r){return cnn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gx,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1890),x(1843,1,{},RZe),h.a=5,h.e=0,k(gx,"RectangleStripOverlapRemover",1843),x(1844,1,Un,Fl),h.Le=function(t,r){return unn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gx,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1844),x(1846,1,Un,Af),h.Le=function(t,r){return Vsn(l(t,228),l(r,228))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gx,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1846),x(414,23,{3:1,34:1,23:1,414:1},s8);var QD,oee,see,eL,skt=fn(gx,"RectangleStripOverlapRemover/OverlapRemovalDirection",414,bn,fln,Mrn),akt;x(228,1,{228:1},YV),k(gx,"RectangleStripOverlapRemover/RectangleNode",228),x(1845,1,nn,SYe),h.Ad=function(t){dmn(this.a,l(t,228))},k(gx,"RectangleStripOverlapRemover/lambda$1$Type",1845);var ckt=!1,vI,x2e;x(1815,1,nn,Z2),h.Ad=function(t){$vt(l(t,227))},k(gT,"DepthFirstCompaction/0methodref$compactTree$Type",1815),x(817,1,nn,wue),h.Ad=function(t){van(this.a,l(t,227))},k(gT,"DepthFirstCompaction/lambda$1$Type",817),x(1816,1,nn,iot),h.Ad=function(t){Q1n(this.a,this.b,this.c,l(t,227))},k(gT,"DepthFirstCompaction/lambda$2$Type",1816);var EI,k2e;x(68,1,{68:1},Cct),k(gT,"Node",68),x(1191,1,{},crt),k(gT,"ScanlineOverlapCheck",1191),x(1192,1,{690:1},Vat),h._e=function(t){Znn(this,l(t,445))},k(gT,"ScanlineOverlapCheck/OverlapsScanlineHandler",1192),x(1193,1,Un,pl),h.Le=function(t,r){return jgn(l(t,68),l(r,68))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gT,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1193),x(445,1,{445:1},Ile),h.a=!1,k(gT,"ScanlineOverlapCheck/Timestamp",445),x(1194,1,Un,sh),h.Le=function(t,r){return p0n(l(t,445),l(r,445))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(gT,"ScanlineOverlapCheck/lambda$0$Type",1194),x(549,1,{},Vm),k("org.eclipse.elk.alg.common.utils","SVGImage",549),x(755,1,{},ah),k(LX,Twe,755),x(1176,1,Un,Yh),h.Le=function(t,r){return zvn(l(t,238),l(r,238))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(LX,J2t,1176),x(1177,1,nn,gtt),h.Ad=function(t){nun(this.b,this.a,l(t,254))},k(LX,Awe,1177),x(207,1,im),k(ME,"AbstractLayoutProvider",207),x(733,207,im,Pue),h.kf=function(t,r){mwt(this,t,r)},k(LX,"ForceLayoutProvider",733);var uCn=Hr(kD,X2t);x(151,1,{3:1,105:1,151:1},Q2),h.of=function(t,r){return C6(this,t,r)},h.lf=function(){return Jot(this)},h.mf=function(t){return F(this,t)},h.nf=function(t){return br(this,t)},k(kD,"MapPropertyHolder",151),x(314,151,{3:1,314:1,105:1,151:1}),k(ND,"FParticle",314),x(254,314,{3:1,254:1,314:1,105:1,151:1},jst),h.Ib=function(){var t;return this.a?(t=_s(this.a.a,this,0),t>=0?"b"+t+"["+HW(this.a)+"]":"b["+HW(this.a)+"]"):"b_"+s0(this)},k(ND,"FBendpoint",254),x(292,151,{3:1,292:1,105:1,151:1},Iit),h.Ib=function(){return HW(this)},k(ND,"FEdge",292),x(238,151,{3:1,238:1,105:1,151:1},XP);var lCn=k(ND,"FGraph",238);x(448,314,{3:1,448:1,314:1,105:1,151:1},Uut),h.Ib=function(){return this.b==null||this.b.length==0?"l["+HW(this.a)+"]":"l_"+this.b},k(ND,"FLabel",448),x(156,314,{3:1,156:1,314:1,105:1,151:1},urt),h.Ib=function(){return Whe(this)},h.a=0,k(ND,"FNode",156),x(2079,1,{}),h.qf=function(t){A0e(this,t)},h.rf=function(){X1t(this)},h.d=0,k(_we,"AbstractForceModel",2079),x(638,2079,{638:1},Uht),h.pf=function(t,r){var o,a,u,f,p;return zvt(this.f,t,r),u=Di(Ao(r.d),t.d),p=b.Math.sqrt(u.a*u.a+u.b*u.b),a=b.Math.max(0,p-O3(t.e)/2-O3(r.e)/2),o=m0t(this.e,t,r),o>0?f=-$sn(a,this.c)*o:f=Tnn(a,this.b)*l(F(t,(ed(),AT)),15).a,tp(u,f/p),u},h.qf=function(t){A0e(this,t),this.a=l(F(t,(ed(),v$)),15).a,this.c=ce(le(F(t,E$))),this.b=ce(le(F(t,cee)))},h.sf=function(t){return t<this.a},h.a=0,h.b=0,h.c=0,k(_we,"EadesModel",638),x(639,2079,{639:1},$ot),h.pf=function(t,r){var o,a,u,f,p;return zvt(this.f,t,r),u=Di(Ao(r.d),t.d),p=b.Math.sqrt(u.a*u.a+u.b*u.b),a=b.Math.max(0,p-O3(t.e)/2-O3(r.e)/2),f=Snn(a,this.a)*l(F(t,(ed(),AT)),15).a,o=m0t(this.e,t,r),o>0&&(f-=OQt(a,this.a)*o),tp(u,f*this.b/p),u},h.qf=function(t){var r,o,a,u,f,p,m;for(A0e(this,t),this.b=ce(le(F(t,(ed(),uee)))),this.c=this.b/l(F(t,v$),15).a,a=t.e.c.length,f=0,u=0,m=new V(t.e);m.a<m.c.c.length;)p=l(q(m),156),f+=p.e.a,u+=p.e.b;r=f*u,o=ce(le(F(t,E$)))*nf,this.a=b.Math.sqrt(r/(2*a))*o},h.rf=function(){X1t(this),this.b-=this.c},h.sf=function(t){return this.b>0},h.a=0,h.b=0,h.c=0,k(_we,"FruchtermanReingoldModel",639);var qE=Hr(Ns,"ILayoutMetaDataProvider");x(852,1,td,EWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,u7),""),"Force Model"),"Determines the model for force calculation."),N2e),(_1(),$r)),C2e),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xwe),""),"Iterations"),"The number of iterations on the force model."),Oe(300)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kwe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Oe(0)),vo),_i),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,MX),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Hf),Qi),fi),lt(xt)))),zr(t,MX,u7,gkt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PX),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Qi),fi),lt(xt)))),zr(t,PX,u7,fkt),DEt((new TWe,t))};var ukt,lkt,N2e,dkt,fkt,hkt,pkt,gkt;k(VC,"ForceMetaDataProvider",852),x(429,23,{3:1,34:1,23:1,429:1},Nle);var aee,y$,C2e=fn(VC,"ForceModelStrategy",429,bn,xcn,jrn),bkt;x(993,1,td,TWe),h.tf=function(t){DEt(t)};var mkt,wkt,I2e,v$,R2e,ykt,vkt,Ekt,Skt,O2e,Tkt,D2e,L2e,Akt,AT,_kt,cee,M2e,xkt,kkt,E$,uee,Nkt,Ckt,Ikt,P2e,Rkt;k(VC,"ForceOptions",993),x(994,1,{},Wm),h.uf=function(){var t;return t=new Pue,t},h.vf=function(t){},k(VC,"ForceOptions/ForceFactory",994);var tL,SI,_T,S$;x(853,1,td,AWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Cwe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Lt(),!1)),(_1(),xi)),Yr),lt((Jd(),ri))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Iwe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Qi),fi),xr(xt,Z(X(uf,1),Ce,161,0,[Rd]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Rwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),j2e),$r),G2e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Owe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Hf),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Dwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Oe(ar)),vo),_i),lt(xt)))),sEt((new _We,t))};var Okt,Dkt,j2e,Lkt,Mkt,Pkt;k(VC,"StressMetaDataProvider",853),x(997,1,td,_We),h.tf=function(t){sEt(t)};var T$,F2e,$2e,B2e,U2e,H2e,jkt,Fkt,$kt,Bkt,z2e,Ukt;k(VC,"StressOptions",997),x(998,1,{},r9),h.uf=function(){var t;return t=new Rit,t},h.vf=function(t){},k(VC,"StressOptions/StressFactory",998),x(1091,207,im,Rit),h.kf=function(t,r){var o,a,u,f,p;for(r.Tg(nSt,1),Ye(Ke(ve(t,(G6(),U2e))))?Ye(Ke(ve(t,z2e)))||P3((o=new OA((n1(),new Yp(t))),o)):mwt(new Pue,t,r.dh(1)),u=hpt(t),a=pvt(this.a,u),p=a.Jc();p.Ob();)f=l(p.Pb(),238),!(f.e.c.length<=1)&&(mxn(this.b,f),$En(this.b),La(f.d,new iG));u=IEt(a),$Et(u),r.Ug()},k(f7,"StressLayoutProvider",1091),x(1092,1,nn,iG),h.Ad=function(t){D0e(l(t,448))},k(f7,"StressLayoutProvider/lambda$0$Type",1092),x(995,1,{},AZe),h.c=0,h.e=0,h.g=0,k(f7,"StressMajorization",995),x(385,23,{3:1,34:1,23:1,385:1},Dq);var lee,dee,fee,G2e=fn(f7,"StressMajorization/Dimension",385,bn,run,Frn),Hkt;x(996,1,Un,TYe),h.Le=function(t,r){return prn(this.a,l(t,156),l(r,156))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(f7,"StressMajorization/lambda$0$Type",996),x(1173,1,{},zct),k(wT,"ElkLayered",1173),x(1174,1,nn,AYe),h.Ad=function(t){xvn(this.a,l(t,37))},k(wT,"ElkLayered/lambda$0$Type",1174),x(1175,1,nn,_Ye),h.Ad=function(t){hrn(this.a,l(t,37))},k(wT,"ElkLayered/lambda$1$Type",1175),x(1258,1,{},drt);var zkt,Gkt,qkt;k(wT,"GraphConfigurator",1258),x(764,1,nn,yue),h.Ad=function(t){bmt(this.a,l(t,9))},k(wT,"GraphConfigurator/lambda$0$Type",764),x(765,1,{},i9),h.Kb=function(t){return bbe(),new vt(null,new St(l(t,26).a,16))},k(wT,"GraphConfigurator/lambda$1$Type",765),x(766,1,nn,vue),h.Ad=function(t){bmt(this.a,l(t,9))},k(wT,"GraphConfigurator/lambda$2$Type",766),x(1090,207,im,kZe),h.kf=function(t,r){var o;o=Y_n(new DZe,t),me(ve(t,(Ue(),Yy)))===me((pp(),Ig))?Ggn(this.a,o,r):MEn(this.a,o,r),r.Zg()||TEt(new SWe,o)},k(wT,"LayeredLayoutProvider",1090),x(364,23,{3:1,34:1,23:1,364:1},pO);var id,kh,la,da,zo,q2e=fn(wT,"LayeredPhases",364,bn,udn,$rn),Vkt;x(1700,1,{},nht),h.i=0;var Wkt;k(MD,"ComponentsToCGraphTransformer",1700);var Kkt;x(1701,1,{},oG),h.wf=function(t,r){return b.Math.min(t.a!=null?ce(t.a):t.c.i,r.a!=null?ce(r.a):r.c.i)},h.xf=function(t,r){return b.Math.min(t.a!=null?ce(t.a):t.c.i,r.a!=null?ce(r.a):r.c.i)},k(MD,"ComponentsToCGraphTransformer/1",1701),x(84,1,{84:1}),h.i=0,h.k=!0,h.o=Li;var hee=k(KC,"CNode",84);x(463,84,{463:1,84:1},Dde,q1e),h.Ib=function(){return""},k(MD,"ComponentsToCGraphTransformer/CRectNode",463),x(1669,1,{},sG);var pee,gee;k(MD,"OneDimensionalComponentsCompaction",1669),x(1670,1,{},o9),h.Kb=function(t){return Vcn(l(t,49))},h.Fb=function(t){return this===t},k(MD,"OneDimensionalComponentsCompaction/lambda$0$Type",1670),x(1671,1,{},s9),h.Kb=function(t){return Ygn(l(t,49))},h.Fb=function(t){return this===t},k(MD,"OneDimensionalComponentsCompaction/lambda$1$Type",1671),x(1703,1,{},zst),k(KC,"CGraph",1703),x(197,1,{197:1},bY),h.b=0,h.c=0,h.e=0,h.g=!0,h.i=Li,k(KC,"CGroup",197),x(1702,1,{},c9),h.wf=function(t,r){return b.Math.max(t.a!=null?ce(t.a):t.c.i,r.a!=null?ce(r.a):r.c.i)},h.xf=function(t,r){return b.Math.max(t.a!=null?ce(t.a):t.c.i,r.a!=null?ce(r.a):r.c.i)},k(KC,D2t,1702),x(1704,1,{},y0t),h.d=!1;var Ykt,bee=k(KC,P2t,1704);x(1705,1,{},fG),h.Kb=function(t){return mle(),Lt(),l(l(t,49).a,84).d.e!=0},h.Fb=function(t){return this===t},k(KC,j2t,1705),x(825,1,{},Gfe),h.a=!1,h.b=!1,h.c=!1,h.d=!1,k(KC,F2t,825),x(1885,1,{},ast),k(h7,$2t,1885);var nL=Hr(om,R2t);x(1886,1,{378:1},qat),h._e=function(t){GSn(this,l(t,468))},k(h7,B2t,1886),x(1887,1,Un,hG),h.Le=function(t,r){return Man(l(t,84),l(r,84))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(h7,U2t,1887),x(468,1,{468:1},Rle),h.a=!1,k(h7,H2t,468),x(1888,1,Un,pG),h.Le=function(t,r){return g0n(l(t,468),l(r,468))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(h7,z2t,1888),x(148,1,{148:1},qA,Lfe),h.Fb=function(t){var r;return t==null||dCn!=ru(t)?!1:(r=l(t,148),ia(this.c,r.c)&&ia(this.d,r.d))},h.Hb=function(){return $j(Z(X(Ri,1),It,1,5,[this.c,this.d]))},h.Ib=function(){return"("+this.c+ja+this.d+(this.a?"cx":"")+this.b+")"},h.a=!0,h.c=0,h.d=0;var dCn=k(om,"Point",148);x(413,23,{3:1,34:1,23:1,413:1},a8);var X0,By,VE,Uy,Jkt=fn(om,"Point/Quadrant",413,bn,dln,Prn),Xkt;x(1691,1,{},NZe),h.b=null,h.c=null,h.d=null,h.e=null,h.f=null;var Zkt,Qkt,eNt,tNt,nNt;k(om,"RectilinearConvexHull",1691),x(576,1,{378:1},sF),h._e=function(t){sfn(this,l(t,148))},h.b=0;var V2e;k(om,"RectilinearConvexHull/MaximalElementsEventHandler",576),x(1693,1,Un,aG),h.Le=function(t,r){return Pan(le(t),le(r))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1693),x(1692,1,{378:1},lft),h._e=function(t){sSn(this,l(t,148))},h.a=0,h.b=null,h.c=null,h.d=null,h.e=null,k(om,"RectilinearConvexHull/RectangleEventHandler",1692),x(1694,1,Un,cG),h.Le=function(t,r){return Fun(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$0$Type",1694),x(1695,1,Un,a9),h.Le=function(t,r){return $un(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$1$Type",1695),x(1696,1,Un,uG),h.Le=function(t,r){return Uun(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$2$Type",1696),x(1697,1,Un,lG),h.Le=function(t,r){return Bun(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$3$Type",1697),x(1698,1,Un,dG),h.Le=function(t,r){return Zwn(l(t,148),l(r,148))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(om,"RectilinearConvexHull/lambda$4$Type",1698),x(1699,1,{},Nct),k(om,"Scanline",1699),x(2083,1,{}),k(rf,"AbstractGraphPlacer",2083),x(337,1,{337:1},tit),h.Df=function(t){return this.Ef(t)?(yt(this.b,l(F(t,(Ie(),_p)),24),t),!0):!1},h.Ef=function(t){var r,o,a,u;for(r=l(F(t,(Ie(),_p)),24),u=l(yr(_r,r),24),a=u.Jc();a.Ob();)if(o=l(a.Pb(),24),!l(yr(this.b,o),16).dc())return!1;return!0};var _r;k(rf,"ComponentGroup",337),x(773,2083,{},jue),h.Ff=function(t){var r,o;for(o=new V(this.a);o.a<o.c.c.length;)if(r=l(q(o),337),r.Df(t))return;Fe(this.a,new tit(t))},h.Cf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U;if(this.a.c.length=0,r.a.c.length=0,t.dc()){r.f.a=0,r.f.b=0;return}for(p=l(t.Xb(0),37),qs(r,p),u=t.Jc();u.Ob();)a=l(u.Pb(),37),this.Ff(a);for(U=new ro,f=ce(le(F(p,(Ue(),vL)))),v=new V(this.a);v.a<v.c.c.length;)m=l(q(v),337),T=BEt(m,f),ag(SP(m.b),U.a,U.b),U.a+=T.a,U.b+=T.b;if(r.f.a=U.a-f,r.f.b=U.b-f,Ye(Ke(F(p,uB)))&&me(F(p,kp))===me((gp(),Ek))){for(M=t.Jc();M.Ob();)N=l(M.Pb(),37),ex(N,N.c.a,N.c.b);for(o=new WR,Z0e(o,t,f),R=t.Jc();R.Ob();)N=l(R.Pb(),37),mr(wd(N.c),o.e);mr(wd(r.f),o.a)}for(y=new V(this.a);y.a<y.c.c.length;)m=l(q(y),337),Mpe(r,SP(m.b))},k(rf,"ComponentGroupGraphPlacer",773),x(1288,773,{},GZe),h.Ff=function(t){agt(this,t)},h.Cf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de;if(this.a.c.length=0,r.a.c.length=0,t.dc()){r.f.a=0,r.f.b=0;return}for(p=l(t.Xb(0),37),qs(r,p),u=t.Jc();u.Ob();)a=l(u.Pb(),37),agt(this,a);for(de=new ro,oe=new ro,G=new ro,U=new ro,f=ce(le(F(p,(Ue(),vL)))),v=new V(this.a);v.a<v.c.c.length;){if(m=l(q(v),337),ep(l(F(r,(_n(),Tm)),87))){for(G.a=de.a,re=new UN(R3(lW(m.b).a).a.kc());re.b.Ob();)if(J=l(r8(re.b.Pb()),24),J.Gc((He(),Vt))){G.a=oe.a;break}}else if(tE(l(F(r,Tm),87))){for(G.b=de.b,re=new UN(R3(lW(m.b).a).a.kc());re.b.Ob();)if(J=l(r8(re.b.Pb()),24),J.Gc((He(),Wt))){G.b=oe.b;break}}if(T=BEt(l(m,572),f),ag(SP(m.b),G.a,G.b),ep(l(F(r,Tm),87))){for(oe.a=G.a+T.a,U.a=b.Math.max(U.a,oe.a),re=new UN(R3(lW(m.b).a).a.kc());re.b.Ob();)if(J=l(r8(re.b.Pb()),24),J.Gc((He(),dn))){de.a=G.a+T.a;break}oe.b=G.b+T.b,G.b=oe.b,U.b=b.Math.max(U.b,G.b)}else if(tE(l(F(r,Tm),87))){for(oe.b=G.b+T.b,U.b=b.Math.max(U.b,oe.b),re=new UN(R3(lW(m.b).a).a.kc());re.b.Ob();)if(J=l(r8(re.b.Pb()),24),J.Gc((He(),Qt))){de.b=G.b+T.b;break}oe.a=G.a+T.a,G.a=oe.a,U.a=b.Math.max(U.a,G.a)}}if(r.f.a=U.a-f,r.f.b=U.b-f,Ye(Ke(F(p,uB)))&&me(F(p,kp))===me((gp(),Ek))){for(M=t.Jc();M.Ob();)N=l(M.Pb(),37),ex(N,N.c.a,N.c.b);for(o=new WR,Z0e(o,t,f),R=t.Jc();R.Ob();)N=l(R.Pb(),37),mr(wd(N.c),o.e);mr(wd(r.f),o.a)}for(y=new V(this.a);y.a<y.c.c.length;)m=l(q(y),337),Mpe(r,SP(m.b))},k(rf,"ComponentGroupModelOrderGraphPlacer",1288),x(384,23,{3:1,34:1,23:1,384:1},c8);var mee,W2e,wee,TI,K2e=fn(rf,"ComponentOrderingStrategy",384,bn,pln,Brn),rNt;x(655,1,{},WR),k(rf,"ComponentsCompactor",655),x(1511,13,T2t,vlt),h.Ec=function(t){return mC(this,l(t,148))},k(rf,"ComponentsCompactor/Hullpoints",1511),x(1508,1,{847:1},I1t),h.a=!1,k(rf,"ComponentsCompactor/InternalComponent",1508),x(1507,1,Eh,IZe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.a)},k(rf,"ComponentsCompactor/InternalConnectedComponents",1507),x(1510,1,{598:1},T0t),h.zf=function(){return null},h.Af=function(){return this.a},h.yf=function(){return vY(this.d)},h.Bf=function(){return this.b},k(rf,"ComponentsCompactor/InternalExternalExtension",1510),x(1509,1,{598:1},OZe),h.Af=function(){return this.a},h.yf=function(){return vY(this.d)},h.zf=function(){return this.c},h.Bf=function(){return this.b},k(rf,"ComponentsCompactor/InternalUnionExternalExtension",1509),x(1513,1,{},Vwt),k(rf,"ComponentsCompactor/OuterSegments",1513),x(1512,1,{},CZe),k(rf,"ComponentsCompactor/Segments",1512),x(1259,1,{},Dlt),k(rf,Twe,1259),x(1260,1,Un,gG),h.Le=function(t,r){return zun(l(t,37),l(r,37))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(rf,"ComponentsProcessor/lambda$0$Type",1260),x(572,337,{337:1,572:1},ylt),h.Df=function(t){return Vge(this,t)},h.Ef=function(t){return kwt(this,t)};var Wn;k(rf,"ModelOrderComponentGroup",572),x(1286,2083,{},bG),h.Cf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R;if(t.gc()==1){N=l(t.Xb(0),37),N!=r&&(r.a.c.length=0,Dyt(r,N,0,0),qs(r,N),Nhe(r.d,N.d),r.f.a=N.f.a,r.f.b=N.f.b);return}else if(t.dc()){r.a.c.length=0,r.f.a=0,r.f.b=0;return}for(this.Hf(t,r),u=l(t.Xb(0),37),r.a.c.length=0,qs(r,u),v=0,R=0,p=t.Jc();p.Ob();)f=l(p.Pb(),37),T=f.f,v=b.Math.max(v,T.a),R+=T.a*T.b;if(v=b.Math.max(v,b.Math.sqrt(R)*ce(le(F(r,(Ue(),cB))))),a=ce(le(F(r,vL))),this.Gf(t,r,v,a),Ye(Ke(F(u,uB)))){for(o=new WR,Z0e(o,t,a),y=t.Jc();y.Ob();)m=l(y.Pb(),37),mr(wd(m.c),o.e);mr(wd(r.f),o.a)}Mpe(r,t)},h.Gf=function(t,r,o,a){var u,f,p,m,y,v,T,N;for(T=0,N=0,m=0,u=a,p=t.Jc();p.Ob();)f=l(p.Pb(),37),v=f.f,T+v.a>o&&(T=0,N+=m+a,m=0),y=f.c,ex(f,T+y.a,N+y.b),wd(y),u=b.Math.max(u,T+v.a),m=b.Math.max(m,v.b),T+=v.a+a;r.f.a=u,r.f.b=N+m},h.Hf=function(t,r){var o,a,u,f,p;if(me(F(r,(Ue(),jI)))===me((YS(),TI))){for(a=t.Jc();a.Ob();){for(o=l(a.Pb(),37),p=0,f=new V(o.a);f.a<f.c.c.length;)u=l(q(f),9),p+=l(F(u,LIt),15).a;o.p=p}At(),t.gd(new wG)}},k(rf,"SimpleRowGraphPlacer",1286),x(1289,1286,{},mG),h.Gf=function(t,r,o,a){var u,f,p,m,y,v,T,N,R,M;for(R=0,M=0,m=0,u=a,y=null,N=0,p=t.Jc();p.Ob();)f=l(p.Pb(),37),T=f.f,(R+T.a>o&&!l(F(f,(Ie(),_p)),24).Gc((He(),Vt))||y&&l(F(y,(Ie(),_p)),24).Gc((He(),Qt))||l(F(f,(Ie(),_p)),24).Gc((He(),Wt)))&&(R=N,M+=m+a,m=0),v=f.c,l(F(f,(Ie(),_p)),24).Gc((He(),Vt))&&(R=u+a),ex(f,R+v.a,M+v.b),u=b.Math.max(u,R+T.a),l(F(f,_p),24).Gc(dn)&&(N=b.Math.max(N,R+T.a+a)),wd(v),m=b.Math.max(m,T.b),R+=T.a+a,y=f;r.f.a=u,r.f.b=M+m},h.Hf=function(t,r){},k(rf,"ModelOrderRowGraphPlacer",1289),x(1287,1,Un,wG),h.Le=function(t,r){return Qhn(l(t,37),l(r,37))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(rf,"SimpleRowGraphPlacer/1",1287);var iNt;x(1257,1,Uf,u9),h.Lb=function(t){var r;return r=l(F(l(t,253).b,(Ue(),as)),79),!!r&&r.b!=0},h.Fb=function(t){return this===t},h.Mb=function(t){var r;return r=l(F(l(t,253).b,(Ue(),as)),79),!!r&&r.b!=0},k(p7,"CompoundGraphPostprocessor/1",1257),x(1256,1,kr,LZe),h.If=function(t,r){D1t(this,l(t,37),r)},k(p7,"CompoundGraphPreprocessor",1256),x(447,1,{447:1},Sgt),h.c=!1,k(p7,"CompoundGraphPreprocessor/ExternalPort",447),x(253,1,{253:1},Y8),h.Ib=function(){return SV(this.c)+":"+h0t(this.b)},k(p7,"CrossHierarchyEdge",253),x(771,1,Un,Eue),h.Le=function(t,r){return Bmn(this,l(t,253),l(r,253))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(p7,"CrossHierarchyEdgeComparator",771),x(248,151,{3:1,248:1,105:1,151:1}),h.p=0,k(ua,"LGraphElement",248),x(17,248,{3:1,17:1,248:1,105:1,151:1},p0),h.Ib=function(){return h0t(this)};var zx=k(ua,"LEdge",17);x(37,248,{3:1,22:1,37:1,248:1,105:1,151:1},ige),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.b)},h.Ib=function(){return this.b.c.length==0?"G-unlayered"+Qd(this.a):this.a.c.length==0?"G-layered"+Qd(this.b):"G[layerless"+Qd(this.a)+", layers"+Qd(this.b)+"]"};var oNt=k(ua,"LGraph",37),sNt;x(662,1,{}),h.Jf=function(){return this.e.n},h.mf=function(t){return F(this.e,t)},h.Kf=function(){return this.e.o},h.Lf=function(){return this.e.p},h.nf=function(t){return br(this.e,t)},h.Mf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},h.Nf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},h.Of=function(t){this.e.p=t},k(ua,"LGraphAdapters/AbstractLShapeAdapter",662),x(467,1,{845:1},MN),h.Pf=function(){var t,r;if(!this.b)for(this.b=uh(this.a.b.c.length),r=new V(this.a.b);r.a<r.c.c.length;)t=l(q(r),70),Fe(this.b,new x9(t));return this.b},h.b=null,k(ua,"LGraphAdapters/LEdgeAdapter",467),x(661,1,{},mW),h.Qf=function(){var t,r,o,a,u,f;if(!this.b){for(this.b=new je,a=new V(this.a.b);a.a<a.c.c.length;)for(o=l(q(a),26),f=new V(o.a);f.a<f.c.c.length;)if(u=l(q(f),9),this.c.Mb(u)&&(Fe(this.b,new K8(this,u,this.e)),this.d)){if(br(u,(Ie(),MT)))for(r=l(F(u,MT),16).Jc();r.Ob();)t=l(r.Pb(),9),Fe(this.b,new K8(this,t,!1));if(br(u,NT))for(r=l(F(u,NT),16).Jc();r.Ob();)t=l(r.Pb(),9),Fe(this.b,new K8(this,t,!1))}}return this.b},h.Jf=function(){throw Y(new Jp(oSt))},h.mf=function(t){return F(this.a,t)},h.Kf=function(){return this.a.f},h.Lf=function(){return this.a.p},h.nf=function(t){return br(this.a,t)},h.Mf=function(t){throw Y(new Jp(oSt))},h.Nf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},h.Of=function(t){this.a.p=t},h.b=null,h.d=!1,h.e=!1,k(ua,"LGraphAdapters/LGraphAdapter",661),x(578,662,{190:1},x9),k(ua,"LGraphAdapters/LLabelAdapter",578),x(577,662,{692:1},K8),h.Rf=function(){return this.b},h.Sf=function(){return At(),At(),Ro},h.Pf=function(){var t,r;if(!this.a)for(this.a=uh(l(this.e,9).b.c.length),r=new V(l(this.e,9).b);r.a<r.c.c.length;)t=l(q(r),70),Fe(this.a,new x9(t));return this.a},h.Tf=function(){var t;return t=l(this.e,9).d,new nfe(t.d,t.c,t.a,t.b)},h.Uf=function(){return At(),At(),Ro},h.Vf=function(){var t,r;if(!this.c)for(this.c=uh(l(this.e,9).j.c.length),r=new V(l(this.e,9).j);r.a<r.c.c.length;)t=l(q(r),12),Fe(this.c,new btt(t,this.d));return this.c},h.Wf=function(){return Ye(Ke(F(l(this.e,9),(Ie(),mTe))))},h.Xf=function(t){l(this.e,9).d.b=t.b,l(this.e,9).d.d=t.d,l(this.e,9).d.c=t.c,l(this.e,9).d.a=t.a},h.Yf=function(t){l(this.e,9).f.b=t.b,l(this.e,9).f.d=t.d,l(this.e,9).f.c=t.c,l(this.e,9).f.a=t.a},h.Zf=function(){jfn(this,(KN(),sNt))},h.a=null,h.b=null,h.c=null,h.d=!1,k(ua,"LGraphAdapters/LNodeAdapter",577),x(1775,662,{844:1},btt),h.Sf=function(){var t,r,o,a,u,f,p,m;if(this.d&&l(this.e,12).i.k==(Ht(),_a))return At(),At(),Ro;if(!this.a){for(this.a=new je,o=new V(l(this.e,12).e);o.a<o.c.c.length;)t=l(q(o),17),Fe(this.a,new MN(t));if(this.d&&(a=l(F(l(this.e,12),(Ie(),Nc)),9),a))for(r=new Ft(Gt(si(a).a.Jc(),new D));an(r);)t=l(en(r),17),Fe(this.a,new MN(t));if(br(l(this.e,12).i,(Ie(),rw))&&(p=l(F(l(this.e,12).i,rw),339),m=l(Wd(p.e,this.e),114),m))for(f=new V(m.b);f.a<f.c.c.length;)u=l(q(f),342),Fe(this.a,new MN(u.a))}return this.a},h.Pf=function(){var t,r;if(!this.b)for(this.b=uh(l(this.e,12).f.c.length),r=new V(l(this.e,12).f);r.a<r.c.c.length;)t=l(q(r),70),Fe(this.b,new x9(t));return this.b},h.Uf=function(){var t,r,o,a,u,f,p,m;if(this.d&&l(this.e,12).i.k==(Ht(),_a))return At(),At(),Ro;if(!this.c){for(this.c=new je,o=new V(l(this.e,12).g);o.a<o.c.c.length;)t=l(q(o),17),Fe(this.c,new MN(t));if(this.d&&(a=l(F(l(this.e,12),(Ie(),Nc)),9),a))for(r=new Ft(Gt(Or(a).a.Jc(),new D));an(r);)t=l(en(r),17),Fe(this.c,new MN(t));if(br(l(this.e,12).i,(Ie(),rw))&&(p=l(F(l(this.e,12).i,rw),339),m=l(Wd(p.e,this.e),114),m))for(f=new V(m.e);f.a<f.c.c.length;)u=l(q(f),342),Fe(this.c,new MN(u.a))}return this.c},h.$f=function(){return l(this.e,12).j},h._f=function(){return Ye(Ke(F(l(this.e,12),(Ie(),hL))))},h.a=null,h.b=null,h.c=null,h.d=!1,k(ua,"LGraphAdapters/LPortAdapter",1775),x(1776,1,Un,yG),h.Le=function(t,r){return yTn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(ua,"LGraphAdapters/PortComparator",1776),x(812,1,Mn,l9),h.Mb=function(t){return l(t,9),KN(),!0},k(ua,"LGraphAdapters/lambda$0$Type",812),x(400,248,{3:1,248:1,400:1,105:1,151:1}),k(ua,"LShape",400),x(70,400,{3:1,248:1,70:1,400:1,105:1,151:1},MQe,hde),h.Ib=function(){var t;return t=ssn(this),t==null?"label":"l_"+t},k(ua,"LLabel",70),x(216,1,{3:1,4:1,216:1,419:1}),h.Fb=function(t){var r;return se(t,216)?(r=l(t,216),this.d==r.d&&this.a==r.a&&this.b==r.b&&this.c==r.c):!1},h.Hb=function(){var t,r;return t=mS(this.b)<<16,t|=mS(this.a)&Ti,r=mS(this.c)<<16,r|=mS(this.d)&Ti,t^r},h.ag=function(t){var r,o,a,u,f,p,m,y,v,T,N;for(f=0;f<t.length&&Kpt((Jt(f,t.length),t.charCodeAt(f)),aSt);)++f;for(r=t.length;r>0&&Kpt((Jt(r-1,t.length),t.charCodeAt(r-1)),cSt);)--r;if(f<r){T=Cy((io(f,r,t.length),t.substr(f,r-f)),",|;");try{for(m=T,y=0,v=m.length;y<v;++y){if(p=m[y],u=Cy(p,"="),u.length!=2)throw Y(new jt("Expecting a list of key-value pairs."));a=Ty(u[0]),N=Sy(Ty(u[1])),wt(a,"top")?this.d=N:wt(a,"left")?this.b=N:wt(a,"bottom")?this.a=N:wt(a,"right")&&(this.c=N)}}catch(R){throw R=ui(R),se(R,133)?(o=R,Y(new jt(uSt+o))):Y(R)}}},h.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},h.a=0,h.b=0,h.c=0,h.d=0,k(PD,"Spacing",216),x(125,216,lSt,FN,Jnt,nfe,PV);var Y2e=k(PD,"ElkMargin",125);x(656,125,lSt,nq),k(ua,"LMargin",656),x(9,400,{3:1,248:1,9:1,400:1,105:1,151:1},Xd),h.Ib=function(){return x1t(this)},h.i=!1;var Nh=k(ua,"LNode",9);x(252,23,{3:1,34:1,23:1,252:1},pS);var af,yi,ta,bi,AI,Xr,_a,rL,yee=fn(ua,"LNode/NodeType",252,bn,kfn,Lrn),aNt;x(769,1,Mn,d9),h.Mb=function(t){return Ye(Ke(F(l(t,70),(Ue(),o2))))},k(ua,"LNode/lambda$0$Type",769),x(100,216,dSt,oS,xb,yfe);var J2e=k(PD,"ElkPadding",100);x(772,100,dSt,$ue),k(ua,"LPadding",772),x(12,400,{3:1,248:1,12:1,400:1,105:1,151:1},aa),h.Ib=function(){var t,r,o;return t=new Qg,zn((t.a+="p_",t),gF(this)),this.i&&zn(ba((t.a+="[",t),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&l(ze(this.e,0),17).c!=this&&(r=l(ze(this.e,0),17).c,zn((t.a+=" << ",t),gF(r)),zn(ba((t.a+="[",t),r.i),"]")),this.e.c.length==0&&this.g.c.length==1&&l(ze(this.g,0),17).d!=this&&(o=l(ze(this.g,0),17).d,zn((t.a+=" >> ",t),gF(o)),zn(ba((t.a+="[",t),o.i),"]")),t.a},h.c=!0,h.d=!1;var X2e,Z2e,Q2e,eSe,tSe,nSe,cNt=k(ua,"LPort",12);x(404,1,Eh,DA),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=new V(this.a.e),new xYe(t)},k(ua,"LPort/1",404),x(1285,1,Wi,xYe),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(q(this.a),17).c},h.Ob=function(){return Ts(this.a)},h.Qb=function(){C3(this.a)},k(ua,"LPort/1/1",1285),x(366,1,Eh,tS),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=new V(this.a.g),new Sue(t)},k(ua,"LPort/2",366),x(770,1,Wi,Sue),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(q(this.a),17).d},h.Ob=function(){return Ts(this.a)},h.Qb=function(){C3(this.a)},k(ua,"LPort/2/1",770),x(1278,1,Eh,mtt),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new Vd(this)},k(ua,"LPort/CombineIter",1278),x(210,1,Wi,Vd),h.Nb=function(t){so(this,t)},h.Qb=function(){VQe()},h.Ob=function(){return v3(this)},h.Pb=function(){return Ts(this.a)?q(this.a):q(this.b)},k(ua,"LPort/CombineIter/1",210),x(1279,1,Uf,vG),h.Lb=function(t){return Sst(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return bc(),l(t,12).g.c.length!=0},k(ua,"LPort/lambda$0$Type",1279),x(1280,1,Uf,EG),h.Lb=function(t){return Tst(t)},h.Fb=function(t){return this===t},h.Mb=function(t){return bc(),l(t,12).e.c.length!=0},k(ua,"LPort/lambda$1$Type",1280),x(1281,1,Uf,SG),h.Lb=function(t){return bc(),l(t,12).j==(He(),Vt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bc(),l(t,12).j==(He(),Vt)},k(ua,"LPort/lambda$2$Type",1281),x(1282,1,Uf,TG),h.Lb=function(t){return bc(),l(t,12).j==(He(),Qt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bc(),l(t,12).j==(He(),Qt)},k(ua,"LPort/lambda$3$Type",1282),x(1283,1,Uf,AG),h.Lb=function(t){return bc(),l(t,12).j==(He(),dn)},h.Fb=function(t){return this===t},h.Mb=function(t){return bc(),l(t,12).j==(He(),dn)},k(ua,"LPort/lambda$4$Type",1283),x(1284,1,Uf,DN),h.Lb=function(t){return bc(),l(t,12).j==(He(),Wt)},h.Fb=function(t){return this===t},h.Mb=function(t){return bc(),l(t,12).j==(He(),Wt)},k(ua,"LPort/lambda$5$Type",1284),x(26,248,{3:1,22:1,248:1,26:1,105:1,151:1},ra),h.Ic=function(t){lo(this,t)},h.Jc=function(){return new V(this.a)},h.Ib=function(){return"L_"+_s(this.b.b,this,0)+Qd(this.a)},k(ua,"Layer",26),x(1676,1,{},pdt),h.b=0,k(ua,"Tarjan",1676),x(1294,1,{},DZe),k(Eg,fSt,1294),x(1298,1,{},_G),h.Kb=function(t){return Jo(l(t,83))},k(Eg,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1298),x(1301,1,{},f9),h.Kb=function(t){return Jo(l(t,83))},k(Eg,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1301),x(1295,1,nn,kYe),h.Ad=function(t){I0t(this.a,l(t,127))},k(Eg,Awe,1295),x(1296,1,nn,NYe),h.Ad=function(t){I0t(this.a,l(t,127))},k(Eg,hSt,1296),x(1297,1,{},xG),h.Kb=function(t){return new vt(null,new St(a_(l(t,74)),16))},k(Eg,pSt,1297),x(1299,1,Mn,CYe),h.Mb=function(t){return gtn(this.a,l(t,19))},k(Eg,gSt,1299),x(1300,1,{},kG),h.Kb=function(t){return new vt(null,new St(Aan(l(t,74)),16))},k(Eg,"ElkGraphImporter/lambda$5$Type",1300),x(1302,1,Mn,IYe),h.Mb=function(t){return btn(this.a,l(t,19))},k(Eg,"ElkGraphImporter/lambda$7$Type",1302),x(1303,1,Mn,KR),h.Mb=function(t){return Van(l(t,74))},k(Eg,"ElkGraphImporter/lambda$8$Type",1303),x(1273,1,{},SWe);var uNt;k(Eg,"ElkGraphLayoutTransferrer",1273),x(1274,1,Mn,RYe),h.Mb=function(t){return mrn(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$0$Type",1274),x(1275,1,nn,OYe),h.Ad=function(t){fO(),Fe(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$1$Type",1275),x(1276,1,Mn,DYe),h.Mb=function(t){return Xnn(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$2$Type",1276),x(1277,1,nn,LYe),h.Ad=function(t){fO(),Fe(this.a,l(t,17))},k(Eg,"ElkGraphLayoutTransferrer/lambda$3$Type",1277),x(813,1,{},ofe),k(Xt,"BiLinkedHashMultiMap",813),x(1528,1,kr,NG),h.If=function(t,r){vhn(l(t,37),r)},k(Xt,"CommentNodeMarginCalculator",1528),x(1529,1,{},CG),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"CommentNodeMarginCalculator/lambda$0$Type",1529),x(1530,1,nn,h9),h.Ad=function(t){V_n(l(t,9))},k(Xt,"CommentNodeMarginCalculator/lambda$1$Type",1530),x(1531,1,kr,c7e),h.If=function(t,r){XSn(l(t,37),r)},k(Xt,"CommentPostprocessor",1531),x(1532,1,kr,u7e),h.If=function(t,r){vNn(l(t,37),r)},k(Xt,"CommentPreprocessor",1532),x(1533,1,kr,l7e),h.If=function(t,r){lSn(l(t,37),r)},k(Xt,"ConstraintsPostprocessor",1533),x(1534,1,kr,d7e),h.If=function(t,r){npn(l(t,37),r)},k(Xt,"EdgeAndLayerConstraintEdgeReverser",1534),x(1535,1,kr,f7e),h.If=function(t,r){v1n(l(t,37),r)},k(Xt,"EndLabelPostprocessor",1535),x(1536,1,{},h7e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"EndLabelPostprocessor/lambda$0$Type",1536),x(1537,1,Mn,p7e),h.Mb=function(t){return idn(l(t,9))},k(Xt,"EndLabelPostprocessor/lambda$1$Type",1537),x(1538,1,nn,g7e),h.Ad=function(t){b0n(l(t,9))},k(Xt,"EndLabelPostprocessor/lambda$2$Type",1538),x(1539,1,kr,b7e),h.If=function(t,r){Qyn(l(t,37),r)},k(Xt,"EndLabelPreprocessor",1539),x(1540,1,{},m7e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"EndLabelPreprocessor/lambda$0$Type",1540),x(1541,1,nn,aot),h.Ad=function(t){Ien(this.a,this.b,this.c,l(t,9))},h.a=0,h.b=0,h.c=!1,k(Xt,"EndLabelPreprocessor/lambda$1$Type",1541),x(1542,1,Mn,w7e),h.Mb=function(t){return me(F(l(t,70),(Ue(),Yf)))===me((Kd(),vk))},k(Xt,"EndLabelPreprocessor/lambda$2$Type",1542),x(1543,1,nn,MYe),h.Ad=function(t){Gn(this.a,l(t,70))},k(Xt,"EndLabelPreprocessor/lambda$3$Type",1543),x(1544,1,Mn,y7e),h.Mb=function(t){return me(F(l(t,70),(Ue(),Yf)))===me((Kd(),pv))},k(Xt,"EndLabelPreprocessor/lambda$4$Type",1544),x(1545,1,nn,PYe),h.Ad=function(t){Gn(this.a,l(t,70))},k(Xt,"EndLabelPreprocessor/lambda$5$Type",1545),x(1593,1,kr,kWe),h.If=function(t,r){Cgn(l(t,37),r)};var lNt;k(Xt,"EndLabelSorter",1593),x(1594,1,Un,v7e),h.Le=function(t,r){return abn(l(t,458),l(r,458))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"EndLabelSorter/1",1594),x(458,1,{458:1},Pat),k(Xt,"EndLabelSorter/LabelGroup",458),x(1595,1,{},E7e),h.Kb=function(t){return dO(),new vt(null,new St(l(t,26).a,16))},k(Xt,"EndLabelSorter/lambda$0$Type",1595),x(1596,1,Mn,S7e),h.Mb=function(t){return dO(),l(t,9).k==(Ht(),Xr)},k(Xt,"EndLabelSorter/lambda$1$Type",1596),x(1597,1,nn,T7e),h.Ad=function(t){fyn(l(t,9))},k(Xt,"EndLabelSorter/lambda$2$Type",1597),x(1598,1,Mn,A7e),h.Mb=function(t){return dO(),me(F(l(t,70),(Ue(),Yf)))===me((Kd(),pv))},k(Xt,"EndLabelSorter/lambda$3$Type",1598),x(1599,1,Mn,_7e),h.Mb=function(t){return dO(),me(F(l(t,70),(Ue(),Yf)))===me((Kd(),vk))},k(Xt,"EndLabelSorter/lambda$4$Type",1599),x(1546,1,kr,x7e),h.If=function(t,r){uxn(this,l(t,37))},h.b=0,h.c=0,k(Xt,"FinalSplineBendpointsCalculator",1546),x(1547,1,{},k7e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"FinalSplineBendpointsCalculator/lambda$0$Type",1547),x(1548,1,{},N7e),h.Kb=function(t){return new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(Xt,"FinalSplineBendpointsCalculator/lambda$1$Type",1548),x(1549,1,Mn,C7e),h.Mb=function(t){return!fo(l(t,17))},k(Xt,"FinalSplineBendpointsCalculator/lambda$2$Type",1549),x(1550,1,Mn,I7e),h.Mb=function(t){return br(l(t,17),(Ie(),pm))},k(Xt,"FinalSplineBendpointsCalculator/lambda$3$Type",1550),x(1551,1,nn,jYe),h.Ad=function(t){gAn(this.a,l(t,134))},k(Xt,"FinalSplineBendpointsCalculator/lambda$4$Type",1551),x(1552,1,nn,R7e),h.Ad=function(t){vC(l(t,17).a)},k(Xt,"FinalSplineBendpointsCalculator/lambda$5$Type",1552),x(797,1,kr,Tue),h.If=function(t,r){nkn(this,l(t,37),r)},k(Xt,"GraphTransformer",797),x(506,23,{3:1,34:1,23:1,506:1},Ole);var vee,iL,dNt=fn(Xt,"GraphTransformer/Mode",506,bn,kcn,Urn),fNt;x(1553,1,kr,O7e),h.If=function(t,r){T2n(l(t,37),r)},k(Xt,"HierarchicalNodeResizingProcessor",1553),x(1554,1,kr,D7e),h.If=function(t,r){shn(l(t,37),r)},k(Xt,"HierarchicalPortConstraintProcessor",1554),x(1555,1,Un,L7e),h.Le=function(t,r){return Tbn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"HierarchicalPortConstraintProcessor/NodeComparator",1555),x(1556,1,kr,M7e),h.If=function(t,r){c_n(l(t,37),r)},k(Xt,"HierarchicalPortDummySizeProcessor",1556),x(1557,1,kr,P7e),h.If=function(t,r){ETn(this,l(t,37),r)},h.a=0,k(Xt,"HierarchicalPortOrthogonalEdgeRouter",1557),x(1558,1,Un,j7e),h.Le=function(t,r){return ann(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"HierarchicalPortOrthogonalEdgeRouter/1",1558),x(1559,1,Un,F7e),h.Le=function(t,r){return efn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"HierarchicalPortOrthogonalEdgeRouter/2",1559),x(1560,1,kr,$7e),h.If=function(t,r){Ywn(l(t,37),r)},k(Xt,"HierarchicalPortPositionProcessor",1560),x(1561,1,kr,xWe),h.If=function(t,r){r3n(this,l(t,37))},h.a=0,h.c=0;var A$,_$;k(Xt,"HighDegreeNodeLayeringProcessor",1561),x(573,1,{573:1},B7e),h.b=-1,h.d=-1,k(Xt,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",573),x(1562,1,{},U7e),h.Kb=function(t){return $O(),si(l(t,9))},h.Fb=function(t){return this===t},k(Xt,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1562),x(1563,1,{},H7e),h.Kb=function(t){return $O(),Or(l(t,9))},h.Fb=function(t){return this===t},k(Xt,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1563),x(1569,1,kr,z7e),h.If=function(t,r){QAn(this,l(t,37),r)},k(Xt,"HyperedgeDummyMerger",1569),x(798,1,{},Sfe),h.a=!1,h.b=!1,h.c=!1,k(Xt,"HyperedgeDummyMerger/MergeState",798),x(1570,1,{},G7e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"HyperedgeDummyMerger/lambda$0$Type",1570),x(1571,1,{},q7e),h.Kb=function(t){return new vt(null,new St(l(t,9).j,16))},k(Xt,"HyperedgeDummyMerger/lambda$1$Type",1571),x(1572,1,nn,V7e),h.Ad=function(t){l(t,12).p=-1},k(Xt,"HyperedgeDummyMerger/lambda$2$Type",1572),x(1573,1,kr,W7e),h.If=function(t,r){ZAn(l(t,37),r)},k(Xt,"HypernodesProcessor",1573),x(1574,1,kr,K7e),h.If=function(t,r){a_n(l(t,37),r)},k(Xt,"InLayerConstraintProcessor",1574),x(1575,1,kr,Y7e),h.If=function(t,r){Rhn(l(t,37),r)},k(Xt,"InnermostNodeMarginCalculator",1575),x(1576,1,kr,J7e),h.If=function(t,r){bNn(this,l(t,37))},h.a=Li,h.b=Li,h.c=Kr,h.d=Kr;var fCn=k(Xt,"InteractiveExternalPortPositioner",1576);x(1577,1,{},X7e),h.Kb=function(t){return l(t,17).d.i},h.Fb=function(t){return this===t},k(Xt,"InteractiveExternalPortPositioner/lambda$0$Type",1577),x(1578,1,{},FYe),h.Kb=function(t){return lnn(this.a,le(t))},h.Fb=function(t){return this===t},k(Xt,"InteractiveExternalPortPositioner/lambda$1$Type",1578),x(1579,1,{},Z7e),h.Kb=function(t){return l(t,17).c.i},h.Fb=function(t){return this===t},k(Xt,"InteractiveExternalPortPositioner/lambda$2$Type",1579),x(1580,1,{},$Ye),h.Kb=function(t){return dnn(this.a,le(t))},h.Fb=function(t){return this===t},k(Xt,"InteractiveExternalPortPositioner/lambda$3$Type",1580),x(1581,1,{},BYe),h.Kb=function(t){return srn(this.a,le(t))},h.Fb=function(t){return this===t},k(Xt,"InteractiveExternalPortPositioner/lambda$4$Type",1581),x(1582,1,{},UYe),h.Kb=function(t){return arn(this.a,le(t))},h.Fb=function(t){return this===t},k(Xt,"InteractiveExternalPortPositioner/lambda$5$Type",1582),x(80,23,{3:1,34:1,23:1,80:1,177:1},wi),h.bg=function(){switch(this.g){case 15:return new yUe;case 22:return new vUe;case 48:return new SUe;case 29:case 36:return new u$e;case 33:return new NG;case 43:return new c7e;case 1:return new u7e;case 42:return new l7e;case 57:return new Tue((E_(),iL));case 0:return new Tue((E_(),vee));case 2:return new d7e;case 55:return new f7e;case 34:return new b7e;case 52:return new x7e;case 56:return new O7e;case 13:return new D7e;case 39:return new M7e;case 45:return new P7e;case 41:return new $7e;case 9:return new xWe;case 50:return new Grt;case 38:return new z7e;case 44:return new W7e;case 28:return new K7e;case 31:return new Y7e;case 3:return new J7e;case 18:return new Q7e;case 30:return new e$e;case 5:return new NWe;case 51:return new i$e;case 35:return new CWe;case 37:return new l$e;case 53:return new kWe;case 11:return new d$e;case 7:return new IWe;case 40:return new f$e;case 46:return new h$e;case 16:return new p$e;case 10:return new Rtt;case 49:return new w$e;case 21:return new y$e;case 23:return new j9((Kb(),XI));case 8:return new E$e;case 12:return new T$e;case 4:return new A$e;case 19:return new RWe;case 17:return new L$e;case 54:return new M$e;case 6:return new W$e;case 25:return new jZe;case 26:return new wUe;case 47:return new B$e;case 32:return new Mit;case 14:return new tBe;case 27:return new _Ue;case 20:return new sBe;case 24:return new j9((Kb(),RB));default:throw Y(new jt(BX+(this.f!=null?this.f:""+this.g)))}};var rSe,iSe,oSe,sSe,aSe,cSe,uSe,lSe,dSe,fSe,hSe,WE,x$,k$,pSe,gSe,bSe,mSe,wSe,ySe,vSe,_I,ESe,SSe,TSe,ASe,_Se,Eee,N$,C$,xSe,I$,R$,O$,Gx,Hy,zy,kSe,D$,L$,NSe,M$,P$,CSe,ISe,RSe,OSe,j$,See,xT,F$,$$,B$,U$,DSe,LSe,MSe,PSe,hCn=fn(Xt,UX,80,bn,Iwt,Hrn),hNt;x(1583,1,kr,Q7e),h.If=function(t,r){hNn(l(t,37),r)},k(Xt,"InvertedPortProcessor",1583),x(1584,1,kr,e$e),h.If=function(t,r){uAn(l(t,37),r)},k(Xt,"LabelAndNodeSizeProcessor",1584),x(1585,1,Mn,t$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},k(Xt,"LabelAndNodeSizeProcessor/lambda$0$Type",1585),x(1586,1,Mn,n$e),h.Mb=function(t){return l(t,9).k==(Ht(),yi)},k(Xt,"LabelAndNodeSizeProcessor/lambda$1$Type",1586),x(1587,1,nn,hot),h.Ad=function(t){Ren(this.b,this.a,this.c,l(t,9))},h.a=!1,h.c=!1,k(Xt,"LabelAndNodeSizeProcessor/lambda$2$Type",1587),x(1588,1,kr,NWe),h.If=function(t,r){qkn(l(t,37),r)};var pNt;k(Xt,"LabelDummyInserter",1588),x(1589,1,Uf,r$e),h.Lb=function(t){return me(F(l(t,70),(Ue(),Yf)))===me((Kd(),yk))},h.Fb=function(t){return this===t},h.Mb=function(t){return me(F(l(t,70),(Ue(),Yf)))===me((Kd(),yk))},k(Xt,"LabelDummyInserter/1",1589),x(1590,1,kr,i$e),h.If=function(t,r){Rkn(l(t,37),r)},k(Xt,"LabelDummyRemover",1590),x(1591,1,Mn,o$e),h.Mb=function(t){return Ye(Ke(F(l(t,70),(Ue(),o2))))},k(Xt,"LabelDummyRemover/lambda$0$Type",1591),x(1344,1,kr,CWe),h.If=function(t,r){_kn(this,l(t,37),r)},h.a=null;var Tee;k(Xt,"LabelDummySwitcher",1344),x(295,1,{295:1},xyt),h.c=0,h.d=null,h.f=0,k(Xt,"LabelDummySwitcher/LabelDummyInfo",295),x(1345,1,{},s$e),h.Kb=function(t){return zS(),new vt(null,new St(l(t,26).a,16))},k(Xt,"LabelDummySwitcher/lambda$0$Type",1345),x(1346,1,Mn,a$e),h.Mb=function(t){return zS(),l(t,9).k==(Ht(),ta)},k(Xt,"LabelDummySwitcher/lambda$1$Type",1346),x(1347,1,{},HYe),h.Kb=function(t){return Jnn(this.a,l(t,9))},k(Xt,"LabelDummySwitcher/lambda$2$Type",1347),x(1348,1,nn,zYe),h.Ad=function(t){ran(this.a,l(t,295))},k(Xt,"LabelDummySwitcher/lambda$3$Type",1348),x(1349,1,Un,c$e),h.Le=function(t,r){return Dsn(l(t,295),l(r,295))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"LabelDummySwitcher/lambda$4$Type",1349),x(796,1,kr,u$e),h.If=function(t,r){Odn(l(t,37),r)},k(Xt,"LabelManagementProcessor",796),x(1592,1,kr,l$e),h.If=function(t,r){BSn(l(t,37),r)},k(Xt,"LabelSideSelector",1592),x(1600,1,kr,d$e),h.If=function(t,r){k_n(l(t,37),r)},k(Xt,"LayerConstraintPostprocessor",1600),x(1601,1,kr,IWe),h.If=function(t,r){vEn(l(t,37),r)};var jSe;k(Xt,"LayerConstraintPreprocessor",1601),x(368,23,{3:1,34:1,23:1,368:1},u8);var oL,H$,z$,Aee,gNt=fn(Xt,"LayerConstraintPreprocessor/HiddenNodeConnections",368,bn,gln,zrn),bNt;x(1602,1,kr,f$e),h.If=function(t,r){Gxn(l(t,37),r)},k(Xt,"LayerSizeAndGraphHeightCalculator",1602),x(1603,1,kr,h$e),h.If=function(t,r){A2n(l(t,37),r)},k(Xt,"LongEdgeJoiner",1603),x(1604,1,kr,p$e),h.If=function(t,r){Exn(l(t,37),r)},k(Xt,"LongEdgeSplitter",1604),x(1605,1,kr,Rtt),h.If=function(t,r){oNn(this,l(t,37),r)},h.e=0,h.f=0,h.j=0,h.k=0,h.n=0,h.o=0;var mNt,wNt;k(Xt,"NodePromotion",1605),x(1606,1,Un,g$e),h.Le=function(t,r){return $pn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"NodePromotion/1",1606),x(1607,1,Un,b$e),h.Le=function(t,r){return Fpn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"NodePromotion/2",1607),x(1608,1,{},m$e),h.Kb=function(t){return l(t,49),J8(),Lt(),!0},h.Fb=function(t){return this===t},k(Xt,"NodePromotion/lambda$0$Type",1608),x(1609,1,{},GYe),h.Kb=function(t){return $cn(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,k(Xt,"NodePromotion/lambda$1$Type",1609),x(1610,1,{},qYe),h.Kb=function(t){return Bcn(this.a,l(t,49))},h.Fb=function(t){return this===t},h.a=0,k(Xt,"NodePromotion/lambda$2$Type",1610),x(1611,1,kr,w$e),h.If=function(t,r){KNn(l(t,37),r)},k(Xt,"NorthSouthPortPostprocessor",1611),x(1612,1,kr,y$e),h.If=function(t,r){e3n(l(t,37),r)},k(Xt,"NorthSouthPortPreprocessor",1612),x(1613,1,Un,v$e),h.Le=function(t,r){return rpn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"NorthSouthPortPreprocessor/lambda$0$Type",1613),x(1614,1,kr,E$e),h.If=function(t,r){HAn(l(t,37),r)},k(Xt,"PartitionMidprocessor",1614),x(1615,1,Mn,S$e),h.Mb=function(t){return br(l(t,9),(Ue(),Xy))},k(Xt,"PartitionMidprocessor/lambda$0$Type",1615),x(1616,1,nn,VYe),h.Ad=function(t){qan(this.a,l(t,9))},k(Xt,"PartitionMidprocessor/lambda$1$Type",1616),x(1617,1,kr,T$e),h.If=function(t,r){q2n(l(t,37),r)},k(Xt,"PartitionPostprocessor",1617),x(1618,1,kr,A$e),h.If=function(t,r){KTn(l(t,37),r)},k(Xt,"PartitionPreprocessor",1618),x(1619,1,Mn,_$e),h.Mb=function(t){return br(l(t,9),(Ue(),Xy))},k(Xt,"PartitionPreprocessor/lambda$0$Type",1619),x(1620,1,Mn,x$e),h.Mb=function(t){return br(l(t,9),(Ue(),Xy))},k(Xt,"PartitionPreprocessor/lambda$1$Type",1620),x(1621,1,{},k$e),h.Kb=function(t){return new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(Xt,"PartitionPreprocessor/lambda$2$Type",1621),x(1622,1,Mn,WYe),h.Mb=function(t){return ben(this.a,l(t,17))},k(Xt,"PartitionPreprocessor/lambda$3$Type",1622),x(1623,1,nn,N$e),h.Ad=function(t){gpn(l(t,17))},k(Xt,"PartitionPreprocessor/lambda$4$Type",1623),x(1624,1,Mn,KYe),h.Mb=function(t){return nan(this.a,l(t,9))},h.a=0,k(Xt,"PartitionPreprocessor/lambda$5$Type",1624),x(1625,1,kr,RWe),h.If=function(t,r){SAn(l(t,37),r)};var FSe,yNt,vNt,ENt,$Se,BSe;k(Xt,"PortListSorter",1625),x(1626,1,{},C$e),h.Kb=function(t){return N_(),l(t,12).e},k(Xt,"PortListSorter/lambda$0$Type",1626),x(1627,1,{},I$e),h.Kb=function(t){return N_(),l(t,12).g},k(Xt,"PortListSorter/lambda$1$Type",1627),x(1628,1,Un,R$e),h.Le=function(t,r){return Gut(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"PortListSorter/lambda$2$Type",1628),x(1629,1,Un,O$e),h.Le=function(t,r){return Omn(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"PortListSorter/lambda$3$Type",1629),x(1630,1,Un,D$e),h.Le=function(t,r){return Qyt(l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"PortListSorter/lambda$4$Type",1630),x(1631,1,kr,L$e),h.If=function(t,r){NEn(l(t,37),r)},k(Xt,"PortSideProcessor",1631),x(1632,1,kr,M$e),h.If=function(t,r){LTn(l(t,37),r)},k(Xt,"ReversedEdgeRestorer",1632),x(1637,1,kr,jZe),h.If=function(t,r){pmn(this,l(t,37),r)},k(Xt,"SelfLoopPortRestorer",1637),x(1638,1,{},P$e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"SelfLoopPortRestorer/lambda$0$Type",1638),x(1639,1,Mn,j$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},k(Xt,"SelfLoopPortRestorer/lambda$1$Type",1639),x(1640,1,Mn,F$e),h.Mb=function(t){return br(l(t,9),(Ie(),rw))},k(Xt,"SelfLoopPortRestorer/lambda$2$Type",1640),x(1641,1,{},$$e),h.Kb=function(t){return l(F(l(t,9),(Ie(),rw)),339)},k(Xt,"SelfLoopPortRestorer/lambda$3$Type",1641),x(1642,1,nn,YYe),h.Ad=function(t){xyn(this.a,l(t,339))},k(Xt,"SelfLoopPortRestorer/lambda$4$Type",1642),x(799,1,nn,Dce),h.Ad=function(t){Fyn(l(t,108))},k(Xt,"SelfLoopPortRestorer/lambda$5$Type",799),x(1644,1,kr,B$e),h.If=function(t,r){xbn(l(t,37),r)},k(Xt,"SelfLoopPostProcessor",1644),x(1645,1,{},U$e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"SelfLoopPostProcessor/lambda$0$Type",1645),x(1646,1,Mn,H$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},k(Xt,"SelfLoopPostProcessor/lambda$1$Type",1646),x(1647,1,Mn,z$e),h.Mb=function(t){return br(l(t,9),(Ie(),rw))},k(Xt,"SelfLoopPostProcessor/lambda$2$Type",1647),x(1648,1,nn,G$e),h.Ad=function(t){D0n(l(t,9))},k(Xt,"SelfLoopPostProcessor/lambda$3$Type",1648),x(1649,1,{},q$e),h.Kb=function(t){return new vt(null,new St(l(t,108).f,1))},k(Xt,"SelfLoopPostProcessor/lambda$4$Type",1649),x(1650,1,nn,JYe),h.Ad=function(t){lln(this.a,l(t,342))},k(Xt,"SelfLoopPostProcessor/lambda$5$Type",1650),x(1651,1,Mn,V$e),h.Mb=function(t){return!!l(t,108).i},k(Xt,"SelfLoopPostProcessor/lambda$6$Type",1651),x(1652,1,nn,XYe),h.Ad=function(t){RQt(this.a,l(t,108))},k(Xt,"SelfLoopPostProcessor/lambda$7$Type",1652),x(1633,1,kr,W$e),h.If=function(t,r){c2n(l(t,37),r)},k(Xt,"SelfLoopPreProcessor",1633),x(1634,1,{},K$e),h.Kb=function(t){return new vt(null,new St(l(t,108).f,1))},k(Xt,"SelfLoopPreProcessor/lambda$0$Type",1634),x(1635,1,{},Y$e),h.Kb=function(t){return l(t,342).a},k(Xt,"SelfLoopPreProcessor/lambda$1$Type",1635),x(1636,1,nn,J$e),h.Ad=function(t){ztn(l(t,17))},k(Xt,"SelfLoopPreProcessor/lambda$2$Type",1636),x(1653,1,kr,Mit),h.If=function(t,r){uyn(this,l(t,37),r)},k(Xt,"SelfLoopRouter",1653),x(1654,1,{},X$e),h.Kb=function(t){return new vt(null,new St(l(t,26).a,16))},k(Xt,"SelfLoopRouter/lambda$0$Type",1654),x(1655,1,Mn,Z$e),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},k(Xt,"SelfLoopRouter/lambda$1$Type",1655),x(1656,1,Mn,Q$e),h.Mb=function(t){return br(l(t,9),(Ie(),rw))},k(Xt,"SelfLoopRouter/lambda$2$Type",1656),x(1657,1,{},eBe),h.Kb=function(t){return l(F(l(t,9),(Ie(),rw)),339)},k(Xt,"SelfLoopRouter/lambda$3$Type",1657),x(1658,1,nn,wtt),h.Ad=function(t){$an(this.a,this.b,l(t,339))},k(Xt,"SelfLoopRouter/lambda$4$Type",1658),x(1659,1,kr,tBe),h.If=function(t,r){kSn(l(t,37),r)},k(Xt,"SemiInteractiveCrossMinProcessor",1659),x(1660,1,Mn,nBe),h.Mb=function(t){return l(t,9).k==(Ht(),Xr)},k(Xt,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1660),x(1661,1,Mn,rBe),h.Mb=function(t){return Jot(l(t,9))._b((Ue(),ev))},k(Xt,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1661),x(1662,1,Un,iBe),h.Le=function(t,r){return whn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Xt,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1662),x(1663,1,{},oBe),h.Te=function(t,r){return Gan(l(t,9),l(r,9))},k(Xt,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1663),x(1665,1,kr,sBe),h.If=function(t,r){ckn(l(t,37),r)},k(Xt,"SortByInputModelProcessor",1665),x(1666,1,Mn,aBe),h.Mb=function(t){return l(t,12).g.c.length!=0},k(Xt,"SortByInputModelProcessor/lambda$0$Type",1666),x(1667,1,nn,ZYe),h.Ad=function(t){zyn(this.a,l(t,12))},k(Xt,"SortByInputModelProcessor/lambda$1$Type",1667),x(1746,811,{},mht),h.bf=function(t){var r,o,a,u;switch(this.c=t,this.a.g){case 2:r=new je,ei(dr(new vt(null,new St(this.c.a.b,16)),new EBe),new Ttt(this,r)),X6(this,new uBe),La(r,new lBe),r.c.length=0,ei(dr(new vt(null,new St(this.c.a.b,16)),new dBe),new eJe(r)),X6(this,new fBe),La(r,new hBe),r.c.length=0,o=srt(CK(ny(new vt(null,new St(this.c.a.b,16)),new tJe(this))),new pBe),ei(new vt(null,new St(this.c.a.a,16)),new vtt(o,r)),X6(this,new bBe),La(r,new mBe),r.c.length=0;break;case 3:a=new je,X6(this,new cBe),u=srt(CK(ny(new vt(null,new St(this.c.a.b,16)),new QYe(this))),new gBe),ei(dr(new vt(null,new St(this.c.a.b,16)),new wBe),new Stt(u,a)),X6(this,new yBe),La(a,new vBe),a.c.length=0;break;default:throw Y(new TZe)}},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation",1746),x(1747,1,Uf,cBe),h.Lb=function(t){return se(l(t,60).g,157)},h.Fb=function(t){return this===t},h.Mb=function(t){return se(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1747),x(1748,1,{},QYe),h.We=function(t){return bvn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1748),x(1756,1,r7,ytt),h.be=function(){bC(this.a,this.b,-1)},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1756),x(1758,1,Uf,uBe),h.Lb=function(t){return se(l(t,60).g,157)},h.Fb=function(t){return this===t},h.Mb=function(t){return se(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1758),x(1759,1,nn,lBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1759),x(1760,1,Mn,dBe),h.Mb=function(t){return se(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1760),x(1762,1,nn,eJe),h.Ad=function(t){e1n(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1762),x(1761,1,r7,xtt),h.be=function(){bC(this.b,this.a,-1)},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1761),x(1763,1,Uf,fBe),h.Lb=function(t){return se(l(t,60).g,9)},h.Fb=function(t){return this===t},h.Mb=function(t){return se(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1763),x(1764,1,nn,hBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1764),x(1765,1,{},tJe),h.We=function(t){return mvn(this.a,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1765),x(1766,1,{},pBe),h.Ue=function(){return 0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1766),x(1749,1,{},gBe),h.Ue=function(){return 0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1749),x(1768,1,nn,vtt),h.Ad=function(t){Tsn(this.a,this.b,l(t,321))},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1768),x(1767,1,r7,Ett),h.be=function(){Z0t(this.a,this.b,-1)},h.b=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1767),x(1769,1,Uf,bBe),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1769),x(1770,1,nn,mBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1770),x(1750,1,Mn,wBe),h.Mb=function(t){return se(l(t,60).g,9)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1750),x(1752,1,nn,Stt),h.Ad=function(t){Asn(this.a,this.b,l(t,60))},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1752),x(1751,1,r7,ktt),h.be=function(){bC(this.b,this.a,-1)},h.a=0,k(di,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1751),x(1753,1,Uf,yBe),h.Lb=function(t){return l(t,60),!0},h.Fb=function(t){return this===t},h.Mb=function(t){return l(t,60),!0},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1753),x(1754,1,nn,vBe),h.Ad=function(t){l(t,376).be()},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1754),x(1755,1,Mn,EBe),h.Mb=function(t){return se(l(t,60).g,157)},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1755),x(1757,1,nn,Ttt),h.Ad=function(t){$fn(this.a,this.b,l(t,60))},k(di,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1757),x(1564,1,kr,Grt),h.If=function(t,r){Axn(this,l(t,37),r)};var SNt;k(di,"HorizontalGraphCompactor",1564),x(1565,1,{},nJe),h.df=function(t,r){var o,a,u;return Upe(t,r)||(o=dE(t),a=dE(r),o&&o.k==(Ht(),yi)||a&&a.k==(Ht(),yi))?0:(u=l(F(this.a.a,(Ie(),n2)),317),pnn(u,o?o.k:(Ht(),bi),a?a.k:(Ht(),bi)))},h.ef=function(t,r){var o,a,u;return Upe(t,r)?1:(o=dE(t),a=dE(r),u=l(F(this.a.a,(Ie(),n2)),317),Lde(u,o?o.k:(Ht(),bi),a?a.k:(Ht(),bi)))},k(di,"HorizontalGraphCompactor/1",1565),x(1566,1,{},SBe),h.cf=function(t,r){return YN(),t.a.i==0},k(di,"HorizontalGraphCompactor/lambda$0$Type",1566),x(1567,1,{},rJe),h.cf=function(t,r){return Wan(this.a,t,r)},k(di,"HorizontalGraphCompactor/lambda$1$Type",1567),x(1713,1,{},Ydt);var TNt,ANt;k(di,"LGraphToCGraphTransformer",1713),x(1721,1,Mn,TBe),h.Mb=function(t){return t!=null},k(di,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1721),x(1714,1,{},ABe),h.Kb=function(t){return hu(),ms(F(l(l(t,60).g,9),(Ie(),wr)))},k(di,"LGraphToCGraphTransformer/lambda$0$Type",1714),x(1715,1,{},_Be),h.Kb=function(t){return hu(),lgt(l(l(t,60).g,157))},k(di,"LGraphToCGraphTransformer/lambda$1$Type",1715),x(1724,1,Mn,xBe),h.Mb=function(t){return hu(),se(l(t,60).g,9)},k(di,"LGraphToCGraphTransformer/lambda$10$Type",1724),x(1725,1,nn,kBe),h.Ad=function(t){Han(l(t,60))},k(di,"LGraphToCGraphTransformer/lambda$11$Type",1725),x(1726,1,Mn,NBe),h.Mb=function(t){return hu(),se(l(t,60).g,157)},k(di,"LGraphToCGraphTransformer/lambda$12$Type",1726),x(1730,1,nn,CBe),h.Ad=function(t){wgn(l(t,60))},k(di,"LGraphToCGraphTransformer/lambda$13$Type",1730),x(1727,1,nn,iJe),h.Ad=function(t){ltn(this.a,l(t,8))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$14$Type",1727),x(1728,1,nn,oJe),h.Ad=function(t){ftn(this.a,l(t,120))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$15$Type",1728),x(1729,1,nn,sJe),h.Ad=function(t){dtn(this.a,l(t,8))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$16$Type",1729),x(1731,1,{},IBe),h.Kb=function(t){return hu(),new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$17$Type",1731),x(1732,1,Mn,RBe),h.Mb=function(t){return hu(),fo(l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$18$Type",1732),x(1733,1,nn,aJe),h.Ad=function(t){gfn(this.a,l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$19$Type",1733),x(1717,1,nn,cJe),h.Ad=function(t){Gun(this.a,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$2$Type",1717),x(1734,1,{},OBe),h.Kb=function(t){return hu(),new vt(null,new St(l(t,26).a,16))},k(di,"LGraphToCGraphTransformer/lambda$20$Type",1734),x(1735,1,{},DBe),h.Kb=function(t){return hu(),new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$21$Type",1735),x(1736,1,{},LBe),h.Kb=function(t){return hu(),l(F(l(t,17),(Ie(),pm)),16)},k(di,"LGraphToCGraphTransformer/lambda$22$Type",1736),x(1737,1,Mn,MBe),h.Mb=function(t){return gnn(l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$23$Type",1737),x(1738,1,nn,uJe),h.Ad=function(t){wvn(this.a,l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$24$Type",1738),x(1739,1,{},PBe),h.Kb=function(t){return hu(),new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$25$Type",1739),x(1740,1,Mn,jBe),h.Mb=function(t){return hu(),fo(l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$26$Type",1740),x(1742,1,nn,lJe),h.Ad=function(t){chn(this.a,l(t,17))},k(di,"LGraphToCGraphTransformer/lambda$27$Type",1742),x(1741,1,nn,dJe),h.Ad=function(t){nen(this.a,l(t,70))},h.a=0,k(di,"LGraphToCGraphTransformer/lambda$28$Type",1741),x(1716,1,nn,Att),h.Ad=function(t){zln(this.a,this.b,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$3$Type",1716),x(1718,1,{},FBe),h.Kb=function(t){return hu(),new vt(null,new St(l(t,26).a,16))},k(di,"LGraphToCGraphTransformer/lambda$4$Type",1718),x(1719,1,{},$Be),h.Kb=function(t){return hu(),new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(di,"LGraphToCGraphTransformer/lambda$5$Type",1719),x(1720,1,{},BBe),h.Kb=function(t){return hu(),l(F(l(t,17),(Ie(),pm)),16)},k(di,"LGraphToCGraphTransformer/lambda$6$Type",1720),x(1722,1,nn,fJe),h.Ad=function(t){Cvn(this.a,l(t,16))},k(di,"LGraphToCGraphTransformer/lambda$8$Type",1722),x(1723,1,nn,_tt),h.Ad=function(t){Ptn(this.a,this.b,l(t,157))},k(di,"LGraphToCGraphTransformer/lambda$9$Type",1723),x(1712,1,{},UBe),h.af=function(t){var r,o,a,u,f;for(this.a=t,this.d=new eq,this.c=we(A2e,It,126,this.a.a.a.c.length,0,1),this.b=0,o=new V(this.a.a.a);o.a<o.c.c.length;)r=l(q(o),321),r.d=this.b,f=o0(lO(new Tb,r),this.d),this.c[this.b]=f,++this.b;for(Ukn(this),FNn(this),z2n(this),_J(MV(this.d),new sS),u=new V(this.a.a.b);u.a<u.c.c.length;)a=l(q(u),60),a.d.c=this.c[a.a.d].e+a.b.a},h.b=0,k(di,"NetworkSimplexCompaction",1712),x(157,1,{34:1,157:1},DC),h.Dd=function(t){return Sfn(this,l(t,157))},h.Ib=function(){return lgt(this)},k(di,"VerticalSegment",157),x(833,1,{},Dbe),h.c=0,h.e=0,h.i=0,k(YC,"BetweenLayerEdgeTwoNodeCrossingsCounter",833),x(674,1,{674:1},Rht),h.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},h.b=0,h.c=0,h.f=0,k(YC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",674),x(296,1,{34:1,296:1},Qrt),h.Dd=function(t){return Jon(this,l(t,296))},h.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},h.a=0,h.b=0,h.c=0,k(YC,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",296),x(2005,1,{},kmt),h.b=0,h.e=!1,k(YC,"CrossingMatrixFiller",2005);var _Nt=Hr(_h,"IInitializable");x(1863,1,JC,Ntt),h.eg=function(t,r,o,a,u,f){},h.gg=function(t,r,o){},h.cg=function(){return this.c!=(Kb(),XI)},h.dg=function(){this.e=we(Rn,Qn,30,this.d,15,1)},h.fg=function(t,r){r[t][0].c.p=t},h.hg=function(t,r,o,a){++this.d},h.ig=function(){return!0},h.jg=function(t,r,o,a){return egt(this,t,r,o),sdn(this,r)},h.kg=function(t,r){var o;return o=cen(r,t.length),egt(this,t,o,r),fpt(this,o)},h.d=0,k(YC,"GreedySwitchHeuristic",1863),x(2008,1,{},nst),h.b=0,h.d=0,k(YC,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",2008),x(1995,1,{},lyt),h.a=!1,k(YC,"SwitchDecider",1995),x(108,1,{108:1},Fmt),h.a=null,h.c=null,h.i=null,k(yT,"SelfHyperLoop",108),x(1992,1,{},h1t),h.c=0,h.e=0,k(yT,"SelfHyperLoopLabels",1992),x(418,23,{3:1,34:1,23:1,418:1},l8);var Gy,qx,Vx,_ee,xNt=fn(yT,"SelfHyperLoopLabels/Alignment",418,bn,bln,Grn),kNt;x(342,1,{342:1},Rlt),k(yT,"SelfLoopEdge",342),x(339,1,{339:1},p1t),h.a=!1,k(yT,"SelfLoopHolder",339),x(1777,1,Mn,HBe),h.Mb=function(t){return fo(l(t,17))},k(yT,"SelfLoopHolder/lambda$0$Type",1777),x(114,1,{114:1},v1t),h.a=!1,h.c=!1,k(yT,"SelfLoopPort",114),x(1849,1,Mn,zBe),h.Mb=function(t){return fo(l(t,17))},k(yT,"SelfLoopPort/lambda$0$Type",1849),x(372,23,{3:1,34:1,23:1,372:1},gO);var G$,sL,q$,V$,W$,NNt=fn(yT,"SelfLoopType",372,bn,ddn,qrn),CNt;x(1785,1,{},OWe);var INt,RNt,ONt,DNt;k(Au,"PortRestorer",1785),x(369,23,{3:1,34:1,23:1,369:1},Lq);var Z0,j1,Q0,xee=fn(Au,"PortRestorer/PortSideArea",369,bn,yun,Krn),LNt;x(1786,1,{},GBe),h.Kb=function(t){return T1(),l(t,16).Mc()},k(Au,"PortRestorer/lambda$0$Type",1786),x(1787,1,nn,qBe),h.Ad=function(t){T1(),l(t,114).c=!1},k(Au,"PortRestorer/lambda$1$Type",1787),x(1796,1,Mn,VBe),h.Mb=function(t){return T1(),l(t,12).j==(He(),Wt)},k(Au,"PortRestorer/lambda$10$Type",1796),x(1797,1,{},WBe),h.Kb=function(t){return T1(),l(t,114).d},k(Au,"PortRestorer/lambda$11$Type",1797),x(1798,1,nn,hJe),h.Ad=function(t){ren(this.a,l(t,12))},k(Au,"PortRestorer/lambda$12$Type",1798),x(1788,1,nn,pJe),h.Ad=function(t){Inn(this.a,l(t,108))},k(Au,"PortRestorer/lambda$2$Type",1788),x(1789,1,Un,KBe),h.Le=function(t,r){return Kfn(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Au,"PortRestorer/lambda$3$Type",1789),x(1790,1,Mn,YBe),h.Mb=function(t){return T1(),l(t,114).c},k(Au,"PortRestorer/lambda$4$Type",1790),x(1791,1,Mn,JBe),h.Mb=function(t){return Hhn(l(t,12))},k(Au,"PortRestorer/lambda$5$Type",1791),x(1792,1,Mn,XBe),h.Mb=function(t){return T1(),l(t,12).j==(He(),Vt)},k(Au,"PortRestorer/lambda$6$Type",1792),x(1793,1,Mn,ZBe),h.Mb=function(t){return T1(),l(t,12).j==(He(),Qt)},k(Au,"PortRestorer/lambda$7$Type",1793),x(1794,1,Mn,QBe),h.Mb=function(t){return Dln(l(t,12))},k(Au,"PortRestorer/lambda$8$Type",1794),x(1795,1,Mn,eUe),h.Mb=function(t){return T1(),l(t,12).j==(He(),dn)},k(Au,"PortRestorer/lambda$9$Type",1795),x(277,23,{3:1,34:1,23:1,277:1},OS);var kee,Nee,Cee,Iee,Ree,Oee,Dee,Lee,USe=fn(Au,"PortSideAssigner/Target",277,bn,Nfn,Yrn),MNt;x(1778,1,{},tUe),h.Kb=function(t){return dr(new vt(null,new St(l(t,108).j,16)),new Lce)},k(Au,"PortSideAssigner/lambda$1$Type",1778),x(1779,1,{},nUe),h.Kb=function(t){return l(t,114).d},k(Au,"PortSideAssigner/lambda$2$Type",1779),x(1780,1,nn,rUe),h.Ad=function(t){Ii(l(t,12),(He(),Vt))},k(Au,"PortSideAssigner/lambda$3$Type",1780),x(1781,1,{},iUe),h.Kb=function(t){return l(t,114).d},k(Au,"PortSideAssigner/lambda$4$Type",1781),x(1782,1,nn,gJe),h.Ad=function(t){bQt(this.a,l(t,12))},k(Au,"PortSideAssigner/lambda$5$Type",1782),x(1783,1,Un,oUe),h.Le=function(t,r){return dan(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Au,"PortSideAssigner/lambda$6$Type",1783),x(1784,1,Un,sUe),h.Le=function(t,r){return Gon(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Au,"PortSideAssigner/lambda$7$Type",1784),x(814,1,Mn,Lce),h.Mb=function(t){return l(t,114).c},k(Au,"PortSideAssigner/lambda$8$Type",814),x(2087,1,{}),k(I1,"AbstractSelfLoopRouter",2087),x(1803,1,Un,aUe),h.Le=function(t,r){return grn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(I1,V2t,1803),x(1804,1,Un,cUe),h.Le=function(t,r){return brn(l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(I1,W2t,1804),x(1850,2087,{},uUe),h.lg=function(t,r,o){return o},k(I1,"OrthogonalSelfLoopRouter",1850),x(1852,1,nn,Ctt),h.Ad=function(t){G1e(this.b,this.a,l(t,8))},k(I1,"OrthogonalSelfLoopRouter/lambda$0$Type",1852),x(1851,1850,{},lUe),h.lg=function(t,r,o){var a,u;return a=t.c.d,WA(o,0,mr(Ao(a.n),a.a)),u=t.d.d,Gn(o,mr(Ao(u.n),u.a)),jAn(o)},k(I1,"PolylineSelfLoopRouter",1851),x(1799,1,{},PWe),h.a=null;var KE;k(I1,"RoutingDirector",1799),x(1800,1,Un,dUe),h.Le=function(t,r){return Uon(l(t,114),l(r,114))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(I1,"RoutingDirector/lambda$0$Type",1800),x(1801,1,{},fUe),h.Kb=function(t){return Y9(),l(t,108).j},k(I1,"RoutingDirector/lambda$1$Type",1801),x(1802,1,nn,hUe),h.Ad=function(t){Y9(),l(t,16).gd(KE)},k(I1,"RoutingDirector/lambda$2$Type",1802),x(1805,1,{},pUe),k(I1,"RoutingSlotAssigner",1805),x(1806,1,Mn,bJe),h.Mb=function(t){return Ven(this.a,l(t,108))},k(I1,"RoutingSlotAssigner/lambda$0$Type",1806),x(1807,1,Un,mJe),h.Le=function(t,r){return usn(this.a,l(t,108),l(r,108))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(I1,"RoutingSlotAssigner/lambda$1$Type",1807),x(1853,1850,{},gUe),h.lg=function(t,r,o){var a,u,f,p;return a=ce(le(oF(t.b.g.b,(Ue(),s2)))),p=new nit(Z(X($i,1),Pe,8,0,[(f=t.c.d,mr(new To(f.n),f.a))])),h2n(t,r,o,p,a),Gn(p,(u=t.d.d,mr(new To(u.n),u.a))),U1t(new R0e(p))},k(I1,"SplineSelfLoopRouter",1853),x(516,1,Un,xge,yat),h.Le=function(t,r){return hD(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=!1,k(g7,"ModelOrderNodeComparator",516),x(1808,1,Mn,bUe),h.Mb=function(t){return l(t,12).e.c.length!=0},k(g7,"ModelOrderNodeComparator/lambda$0$Type",1808),x(579,1,Mn,p9),h.Mb=function(t){return l(t,12).e.c.length!=0},k(g7,"ModelOrderNodeComparator/lambda$1$Type",579),x(580,1,Mn,g9),h.Mb=function(t){return l(t,12).g.c.length!=0},k(g7,"ModelOrderNodeComparator/lambda$2$Type",580),x(663,1,Un,xgt,jpe),h.Le=function(t,r){return Est(this,t,r)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.c=!1,k(g7,"ModelOrderPortComparator",663),x(1643,1,kr,wUe),h.If=function(t,r){S3n(l(t,37))},k("org.eclipse.elk.alg.layered.intermediate.unzipping","AlternatingLayerUnzipper",1643),x(809,1,{},Mce),h.mg=function(t,r){var o,a,u,f;for(u=Smt(r),o=new je,f=r.f/u,a=1;a<u;++a)Fe(o,Oe(On(Gs(b.Math.round(a*f)))));return o},h.ng=function(){return!1},k(zf,"ARDCutIndexHeuristic",809),x(1522,1,kr,yUe),h.If=function(t,r){tAn(l(t,37),r)},k(zf,"BreakingPointInserter",1522),x(318,1,{318:1},spe),h.Ib=function(){var t;return t=new Qg,t.a+="BPInfo[",t.a+=`
start=`,ba(t,this.i),t.a+=`
end=`,ba(t,this.a),t.a+=`
nodeStartEdge=`,ba(t,this.e),t.a+=`
startEndEdge=`,ba(t,this.j),t.a+=`
originalEdge=`,ba(t,this.f),t.a+=`
startInLayerDummy=`,ba(t,this.k),t.a+=`
startInLayerEdge=`,ba(t,this.n),t.a+=`
endInLayerDummy=`,ba(t,this.b),t.a+=`
endInLayerEdge=`,ba(t,this.c),t.a},k(zf,"BreakingPointInserter/BPInfo",318),x(657,1,{657:1},kJe),h.a=!1,h.b=0,h.c=0,k(zf,"BreakingPointInserter/Cut",657),x(1523,1,kr,vUe),h.If=function(t,r){w2n(l(t,37),r)},k(zf,"BreakingPointProcessor",1523),x(1524,1,Mn,mUe),h.Mb=function(t){return hft(l(t,9))},k(zf,"BreakingPointProcessor/0methodref$isEnd$Type",1524),x(1525,1,Mn,EUe),h.Mb=function(t){return pft(l(t,9))},k(zf,"BreakingPointProcessor/1methodref$isStart$Type",1525),x(1526,1,kr,SUe),h.If=function(t,r){U2n(this,l(t,37),r)},k(zf,"BreakingPointRemover",1526),x(1527,1,nn,TUe),h.Ad=function(t){l(t,134).k=!0},k(zf,"BreakingPointRemover/lambda$0$Type",1527),x(805,1,{},Cme),h.b=0,h.e=0,h.f=0,h.j=0,k(zf,"GraphStats",805),x(806,1,{},Pce),h.Te=function(t,r){return b.Math.max(ce(le(t)),ce(le(r)))},k(zf,"GraphStats/0methodref$max$Type",806),x(807,1,{},jce),h.Te=function(t,r){return b.Math.max(ce(le(t)),ce(le(r)))},k(zf,"GraphStats/2methodref$max$Type",807),x(1709,1,{},AUe),h.Te=function(t,r){return Iin(le(t),le(r))},k(zf,"GraphStats/lambda$1$Type",1709),x(1710,1,{},wJe),h.Kb=function(t){return y1t(this.a,l(t,26))},k(zf,"GraphStats/lambda$2$Type",1710),x(1711,1,{},yJe),h.Kb=function(t){return Twt(this.a,l(t,26))},k(zf,"GraphStats/lambda$6$Type",1711),x(808,1,{},Fce),h.mg=function(t,r){var o;return o=l(F(t,(Ue(),KAe)),16),o||(At(),At(),Ro)},h.ng=function(){return!1},k(zf,"ICutIndexCalculator/ManualCutIndexCalculator",808),x(810,1,{},$ce),h.mg=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee;for(Ee=(r.n==null&&V1t(r),r.n),y=(r.d==null&&V1t(r),r.d),de=we(Ki,Xo,30,Ee.length,15,1),de[0]=Ee[0],re=Ee[0],v=1;v<Ee.length;v++)de[v]=de[v-1]+Ee[v],re+=Ee[v];for(u=Smt(r)-1,p=l(F(t,(Ue(),YAe)),15).a,a=Li,o=new je,R=b.Math.max(0,u-p);R<=b.Math.min(r.f-1,u+p);R++){if(G=re/(R+1),J=0,T=1,f=new je,oe=Li,N=0,m=0,U=y[0],R==0)oe=re,m=(r.g==null&&(r.g=_ht(r,new jce)),ce(r.g));else{for(;T<r.f;)de[T-1]-J>=G&&(Fe(f,Oe(T)),oe=b.Math.max(oe,de[T-1]-N),m+=U,J+=de[T-1]-J,N=de[T-1],U=y[T]),U=b.Math.max(U,y[T]),++T;m+=U}M=b.Math.min(1/oe,1/r.b/m),M>a&&(a=M,o=f)}return o},h.ng=function(){return!1},k(zf,"MSDCutIndexHeuristic",810),x(1664,1,kr,_Ue),h.If=function(t,r){N_n(l(t,37),r)},k(zf,"SingleEdgeGraphWrapper",1664),x(233,23,{3:1,34:1,23:1,233:1},n3);var YE,Wx,Kx,qy,xI,JE,Yx=fn($s,"CenterEdgeLabelPlacementStrategy",233,bn,Gdn,Wrn),PNt;x(427,23,{3:1,34:1,23:1,427:1},Dle);var HSe,Mee,zSe=fn($s,"ConstraintCalculationStrategy",427,bn,lcn,Vrn),jNt;x(302,23,{3:1,34:1,23:1,302:1,173:1,177:1},d8),h.bg=function(){return cwt(this)},h.og=function(){return cwt(this)};var aL,kI,GSe,qSe,VSe=fn($s,"CrossingMinimizationStrategy",302,bn,vln,Jrn),FNt;x(351,23,{3:1,34:1,23:1,351:1},Mq);var WSe,Pee,K$,KSe=fn($s,"CuttingStrategy",351,bn,aun,Xrn),$Nt;x(268,23,{3:1,34:1,23:1,268:1,173:1,177:1},Yv),h.bg=function(){return hyt(this)},h.og=function(){return hyt(this)};var jee,YSe,Fee,$ee,Bee,Uee,Hee,zee,cL,JSe=fn($s,"CycleBreakingStrategy",268,bn,thn,Zrn),BNt;x(424,23,{3:1,34:1,23:1,424:1},Lle);var Y$,XSe,ZSe=fn($s,"DirectionCongruency",424,bn,dcn,Qrn),UNt;x(452,23,{3:1,34:1,23:1,452:1},Pq);var Jx,Gee,XE,HNt=fn($s,"EdgeConstraint",452,bn,cun,ein),zNt;x(286,23,{3:1,34:1,23:1,286:1},r3);var qee,Vee,Wee,Kee,J$,Yee,QSe=fn($s,"EdgeLabelSideSelection",286,bn,Udn,tin),GNt;x(479,23,{3:1,34:1,23:1,479:1},Mle);var X$,eTe,tTe=fn($s,"EdgeStraighteningStrategy",479,bn,fcn,nin),qNt;x(284,23,{3:1,34:1,23:1,284:1},i3);var Jee,nTe,rTe,Z$,iTe,oTe,sTe=fn($s,"FixedAlignment",284,bn,Hdn,rin),VNt;x(285,23,{3:1,34:1,23:1,285:1},o3);var aTe,cTe,uTe,lTe,NI,dTe,fTe=fn($s,"GraphCompactionStrategy",285,bn,zdn,iin),WNt;x(262,23,{3:1,34:1,23:1,262:1},Bw);var Xx,Q$,Zx,rl,CI,eB,Qx,ZE,tB,II,Xee=fn($s,"GraphProperties",262,bn,Shn,oin),KNt;x(303,23,{3:1,34:1,23:1,303:1},jq);var uL,Zee,Qee,ete=fn($s,"GreedySwitchType",303,bn,sun,sin),YNt;x(330,23,{3:1,34:1,23:1,330:1},Fq);var Vy,hTe,lL,tte=fn($s,"GroupOrderStrategy",330,bn,iun,ain),JNt;x(316,23,{3:1,34:1,23:1,316:1},$q);var kT,dL,QE,XNt=fn($s,"InLayerConstraint",316,bn,oun,cin),ZNt;x(425,23,{3:1,34:1,23:1,425:1},Ple);var nte,pTe,gTe=fn($s,"InteractiveReferencePoint",425,bn,acn,uin),QNt,bTe,NT,ew,fL,nB,mTe,wTe,rB,yTe,CT,iB,RI,IT,_p,rte,oB,Hs,vTe,F1,xa,ite,ote,hL,hm,tw,RT,ETe,e3t,OT,pL,Wy,Cd,Nl,ste,e2,$1,Cr,wr,STe,TTe,ATe,_Te,xTe,ate,sB,Nc,nw,cte,DT,OI,Ag,t2,rw,n2,r2,ek,pm,kTe,ute,lte,DI,LT,aB,MT,i2;x(166,23,{3:1,34:1,23:1,166:1},bO);var LI,xp,MI,gm,gL,NTe=fn($s,"LayerConstraint",166,bn,gdn,lin),t3t;x(428,23,{3:1,34:1,23:1,428:1},jle);var dte,fte,CTe=fn($s,"LayerUnzippingStrategy",428,bn,ccn,din),n3t;x(851,1,td,jWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Pwe),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),HTe),(_1(),$r)),ZSe),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jwe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Lt(),!1)),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,b7),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),KTe),$r),gTe),lt(xt)))),zr(t,b7,jD,sCt),zr(t,b7,XC,oCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Fwe),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$we),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),xi),Yr),lt(xt)))),st(t,new Ze(ien(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Bwe),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),xi),Yr),lt(Cg)),Z(X(Je,1),Pe,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Uwe),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),oAe),$r),b_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Hwe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Oe(7)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zwe),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Gwe),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jD),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),UTe),$r),JSe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,FD),SZ),"Node Layering Strategy"),"Strategy for node layering."),XTe),$r),i_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qwe),SZ),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),YTe),$r),NTe),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Vwe),SZ),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Wwe),SZ),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Oe(-1)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,GX),xSt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Oe(4)),vo),_i),lt(xt)))),zr(t,GX,FD,hCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qX),xSt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Oe(2)),vo),_i),lt(xt)))),zr(t,qX,FD,gCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,VX),kSt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),JTe),$r),h_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,WX),kSt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Oe(0)),vo),_i),lt(xt)))),zr(t,WX,VX,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,KX),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Oe(ar)),vo),_i),lt(xt)))),zr(t,KX,FD,cCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,XC),Ax),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),BTe),$r),VSe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Kwe),Ax),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,YX),Ax),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Qi),fi),lt(xt)))),zr(t,YX,C7,O3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,JX),Ax),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),xi),Yr),lt(xt)))),zr(t,JX,XC,F3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ywe),Ax),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),HT),Je),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Jwe),Ax),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),HT),Je),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Xwe),Ax),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Zwe),Ax),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Oe(-1)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Qwe),NSt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Oe(40)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,XX),NSt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),$Te),$r),ete),lt(xt)))),zr(t,XX,XC,I3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,m7),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),FTe),$r),ete),lt(xt)))),zr(t,m7,XC,k3t),zr(t,m7,C7,N3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jE),CSt),"Node Placement Strategy"),"Strategy for node placement."),iAe),$r),c_e),lt(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,w7),CSt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),xi),Yr),lt(xt)))),zr(t,w7,jE,OCt),zr(t,w7,jE,DCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ZX),ISt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),tAe),$r),tTe),lt(xt)))),zr(t,ZX,jE,NCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,QX),ISt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),nAe),$r),sTe),lt(xt)))),zr(t,QX,jE,ICt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eZ),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Qi),fi),lt(xt)))),zr(t,eZ,jE,MCt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,tZ),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),$r),$te),lt(ri)))),zr(t,tZ,jE,$Ct),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,nZ),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),rAe),$r),$te),lt(xt)))),zr(t,nZ,jE,FCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eye),RSt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),qTe),$r),y_e),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,tye),RSt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),VTe),$r),v_e),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,y7),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),WTe),$r),S_e),lt(xt)))),zr(t,y7,BD,Y3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,v7),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Qi),fi),lt(xt)))),zr(t,v7,BD,X3t),zr(t,v7,y7,Z3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,rZ),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Qi),fi),lt(xt)))),zr(t,rZ,BD,q3t),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,nye),of),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,rye),of),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,iye),of),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,oye),of),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sye),wye),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Oe(0)),vo),_i),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,aye),wye),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Oe(0)),vo),_i),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cye),wye),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Oe(0)),vo),_i),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,iZ),yye),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),xi),Yr),lt(xt)))),zr(t,iZ,WC,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uye),OSt),"Post Compaction Strategy"),DSt),RTe),$r),fTe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lye),OSt),"Post Compaction Constraint Calculation"),DSt),ITe),$r),zSe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,E7),vye),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,oZ),vye),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Oe(16)),vo),_i),lt(xt)))),zr(t,oZ,E7,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sZ),vye),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Oe(5)),vo),_i),lt(xt)))),zr(t,sZ,E7,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sp),Eye),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),cAe),$r),x_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,S7),Eye),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Qi),fi),lt(xt)))),zr(t,S7,Sp,ZCt),zr(t,S7,Sp,QCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,T7),Eye),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Qi),fi),lt(xt)))),zr(t,T7,Sp,tIt),zr(t,T7,Sp,nIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ZC),LSt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),aAe),$r),KSe),lt(xt)))),zr(t,ZC,Sp,cIt),zr(t,ZC,Sp,uIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,aZ),LSt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),lf),_u),lt(xt)))),zr(t,aZ,ZC,iIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cZ),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),sAe),vo),_i),lt(xt)))),zr(t,cZ,ZC,sIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,A7),MSt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),uAe),$r),__e),lt(xt)))),zr(t,A7,Sp,EIt),zr(t,A7,Sp,SIt),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,_7),MSt),"Valid Indices for Wrapping"),null),lf),_u),lt(xt)))),zr(t,_7,Sp,wIt),zr(t,_7,Sp,yIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,x7),Sye),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),xi),Yr),lt(xt)))),zr(t,x7,Sp,hIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,k7),Sye),"Distance Penalty When Improving Cuts"),null),2),Qi),fi),lt(xt)))),zr(t,k7,Sp,dIt),zr(t,k7,x7,!0),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uZ),Sye),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),xi),Yr),lt(xt)))),zr(t,uZ,Sp,gIt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lZ),TZ),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),eAe),$r),CTe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,dZ),TZ),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),xi),Yr),lt(ri)))),zr(t,dZ,fZ,ECt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,fZ),TZ),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),ZTe),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,hZ),TZ),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),QTe),xi),Yr),lt(ri)))),zr(t,hZ,lZ,TCt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,dye),AZ),"Edge Label Side Selection"),"Method to decide on edge label sides."),GTe),$r),QSe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,fye),AZ),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),zTe),$r),Yx),xr(xt,Z(X(uf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,N7),QC),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),jTe),$r),g_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,hye),QC),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$D),QC),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,pZ),QC),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),OTe),$r),K2e),lt(xt)))),zr(t,pZ,WC,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,pye),QC),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),PTe),$r),s_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gZ),QC),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Qi),fi),lt(xt)))),zr(t,gZ,N7,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bZ),QC),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Qi),fi),lt(xt)))),zr(t,bZ,N7,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,mZ),_x),Tye),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),Oe(0)),vo),_i),lt(ri)))),zr(t,mZ,$D,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,wZ),_x),Tye),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),Oe(0)),vo),_i),xr(ri,Z(X(uf,1),Ce,161,0,[Rd,Cg]))))),zr(t,wZ,$D,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,yZ),_x),Tye),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),Oe(0)),vo),_i),xr(ri,Z(X(uf,1),Ce,161,0,[Rd,Cg]))))),zr(t,yZ,$D,!1),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,gye),_x),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),DTe),$r),tte),lt(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,vZ),_x),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),vo),_i),lt(xt)))),zr(t,vZ,jD,f3t),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,EZ),_x),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),vo),_i),lt(xt)))),zr(t,EZ,jD,p3t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bye),_x),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),MTe),$r),tte),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,mye),_x),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),LTe),lf),_u),lt(xt)))),t2t((new qWe,t))};var r3t,i3t,o3t,ITe,s3t,RTe,a3t,OTe,c3t,u3t,l3t,DTe,d3t,f3t,h3t,p3t,g3t,LTe,b3t,MTe,m3t,w3t,y3t,v3t,PTe,E3t,S3t,T3t,jTe,A3t,_3t,x3t,FTe,k3t,N3t,C3t,$Te,I3t,R3t,O3t,D3t,L3t,M3t,P3t,j3t,F3t,$3t,BTe,B3t,UTe,U3t,HTe,H3t,zTe,z3t,GTe,G3t,q3t,V3t,qTe,W3t,VTe,K3t,WTe,Y3t,J3t,X3t,Z3t,Q3t,eCt,tCt,nCt,rCt,iCt,KTe,oCt,sCt,aCt,cCt,uCt,lCt,YTe,dCt,fCt,hCt,pCt,gCt,bCt,mCt,JTe,wCt,XTe,yCt,ZTe,vCt,ECt,SCt,QTe,TCt,ACt,eAe,_Ct,xCt,kCt,tAe,NCt,CCt,nAe,ICt,RCt,OCt,DCt,LCt,MCt,PCt,jCt,rAe,FCt,$Ct,BCt,iAe,UCt,oAe,HCt,zCt,GCt,qCt,VCt,WCt,KCt,YCt,JCt,XCt,ZCt,QCt,eIt,tIt,nIt,rIt,iIt,oIt,sAe,sIt,aIt,aAe,cIt,uIt,lIt,dIt,fIt,hIt,pIt,gIt,bIt,cAe,mIt,wIt,yIt,vIt,uAe,EIt,SIt;k($s,"LayeredMetaDataProvider",851),x(991,1,td,qWe),h.tf=function(t){t2t(t)};var Kf,hte,cB,PI,uB,lAe,lB,jI,bL,pte,PT,dAe,fAe,hAe,FI,TIt,$I,Ky,gte,dB,bte,Ch,mte,tk,pAe,mL,wte,gAe,AIt,_It,xIt,fB,yte,BI,jT,kIt,xu,bAe,mAe,hB,o2,Yf,pB,kp,wAe,yAe,vAe,vte,Ete,EAe,_g,Ste,SAe,Yy,TAe,AAe,_Ae,gB,Jy,bm,xAe,kAe,as,NAe,NIt,Cs,UI,CAe,IAe,RAe,wL,bB,mB,Tte,Ate,OAe,wB,DAe,LAe,yB,iw,MAe,_te,HI,PAe,ow,zI,vB,mm,xte,nk,EB,wm,jAe,FAe,$Ae,Xy,BAe,CIt,IIt,RIt,OIt,sw,Zy,Zr,xg,DIt,Qy,UAe,rk,HAe,ev,LIt,ik,zAe,FT,MIt,PIt,yL,kte,GAe,vL,od,tv,s2,ym,B1,SB,nv,Nte,ok,sk,vm,rv,Cte,EL,GI,qI,jIt,FIt,$It,qAe,BIt,Ite,VAe,WAe,KAe,YAe,Rte,JAe,XAe,ZAe,QAe,Ote,TB;k($s,"LayeredOptions",991),x(992,1,{},xUe),h.uf=function(){var t;return t=new kZe,t},h.vf=function(t){},k($s,"LayeredOptions/LayeredFactory",992),x(1357,1,{}),h.a=0;var UIt;k(Vs,"ElkSpacings/AbstractSpacingsBuilder",1357),x(785,1357,{},T1e);var AB,HIt;k($s,"LayeredSpacings/LayeredSpacingsBuilder",785),x(269,23,{3:1,34:1,23:1,269:1,173:1,177:1},Jv),h.bg=function(){return uyt(this)},h.og=function(){return uyt(this)};var Dte,Lte,Mte,e_e,t_e,n_e,_B,Pte,r_e,i_e=fn($s,"LayeringStrategy",269,bn,nhn,bin),zIt;x(353,23,{3:1,34:1,23:1,353:1},Bq);var jte,o_e,xB,s_e=fn($s,"LongEdgeOrderingStrategy",353,bn,hun,hin),GIt;x(205,23,{3:1,34:1,23:1,205:1},f8);var a2,c2,kB,Fte,$te=fn($s,"NodeFlexibility",205,bn,wln,fin),qIt;x(329,23,{3:1,34:1,23:1,329:1,173:1,177:1},mO),h.bg=function(){return Emt(this)},h.og=function(){return Emt(this)};var VI,Bte,Ute,WI,a_e,c_e=fn($s,"NodePlacementStrategy",329,bn,pdn,pin),VIt;x(246,23,{3:1,34:1,23:1,246:1},Uw);var u_e,ak,KI,SL,l_e,d_e,TL,f_e,NB,CB,h_e=fn($s,"NodePromotionStrategy",246,bn,Ehn,gin),WIt;x(270,23,{3:1,34:1,23:1,270:1},h8);var p_e,U1,Hte,zte,g_e=fn($s,"OrderingStrategy",270,bn,yln,min),KIt;x(426,23,{3:1,34:1,23:1,426:1},Fle);var Gte,qte,b_e=fn($s,"PortSortingStrategy",426,bn,ucn,win),YIt;x(455,23,{3:1,34:1,23:1,455:1},Uq);var Cc,Ba,YI,JIt=fn($s,"PortType",455,bn,uun,yin),XIt;x(382,23,{3:1,34:1,23:1,382:1},Hq);var m_e,Vte,w_e,y_e=fn($s,"SelfLoopDistributionStrategy",382,bn,lun,vin),ZIt;x(349,23,{3:1,34:1,23:1,349:1},zq);var Wte,AL,Kte,v_e=fn($s,"SelfLoopOrderingStrategy",349,bn,dun,Ein),QIt;x(317,1,{317:1},Jvt),k($s,"Spacings",317),x(350,23,{3:1,34:1,23:1,350:1},Gq);var Yte,E_e,JI,S_e=fn($s,"SplineRoutingMode",350,bn,fun,Sin),e4t;x(352,23,{3:1,34:1,23:1,352:1},qq);var Jte,T_e,A_e,__e=fn($s,"ValidifyStrategy",352,bn,pun,Tin),t4t;x(383,23,{3:1,34:1,23:1,383:1},Vq);var iv,Xte,ck,x_e=fn($s,"WrappingStrategy",383,bn,gun,Ain),n4t;x(1373,1,Fi,HWe),h.pg=function(t){return l(t,37),r4t},h.If=function(t,r){fkn(this,l(t,37),r)};var r4t;k(H0,"BFSNodeOrderCycleBreaker",1373),x(1371,1,Fi,UWe),h.pg=function(t){return l(t,37),i4t},h.If=function(t,r){axn(this,l(t,37),r)};var i4t;k(H0,"DFSNodeOrderCycleBreaker",1371),x(1372,1,nn,cot),h.Ad=function(t){aAn(this.a,this.c,this.b,l(t,17))},h.b=!1,k(H0,"DFSNodeOrderCycleBreaker/lambda$0$Type",1372),x(1365,1,Fi,zWe),h.pg=function(t){return l(t,37),o4t},h.If=function(t,r){sxn(this,l(t,37),r)};var o4t;k(H0,"DepthFirstCycleBreaker",1365),x(786,1,Fi,Wfe),h.pg=function(t){return l(t,37),s4t},h.If=function(t,r){N3n(this,l(t,37),r)},h.qg=function(t){return l(ze(t,uF(this.e,t.c.length)),9)};var s4t;k(H0,"GreedyCycleBreaker",786),x(1368,786,Fi,nnt),h.qg=function(t){var r,o,a,u,f,p,m,y,v;for(v=null,a=ar,y=b.Math.max(this.b.a.c.length,l(F(this.b,(Ie(),$1)),15).a),r=y*l(F(this.b,fL),15).a,u=new YR,o=me(F(this.b,(Ue(),PT)))===me((b1(),Vy)),m=new V(t);m.a<m.c.c.length;)p=l(q(m),9),br(p,Cr)&&(f=o?iT(u,p,r,y):tT(u,p,y),a>f&&(a=f,v=p));return v||l(ze(t,uF(this.e,t.c.length)),9)},k(H0,"GreedyModelOrderCycleBreaker",1368),x(509,1,{},YR),h.a=0,h.b=0,k(H0,"GroupModelOrderCalculator",509),x(1366,1,Fi,$We),h.pg=function(t){return l(t,37),a4t},h.If=function(t,r){Dxn(this,l(t,37),r)};var a4t;k(H0,"InteractiveCycleBreaker",1366),x(1367,1,Fi,FWe),h.pg=function(t){return l(t,37),c4t},h.If=function(t,r){Mxn(l(t,37),r)};var c4t;k(H0,"ModelOrderCycleBreaker",1367),x(787,1,Fi),h.pg=function(t){return l(t,37),u4t},h.If=function(t,r){E_n(this,l(t,37),r)},h.rg=function(t,r){var o,a,u,f,p,m,y,v,T,N;for(p=0;p<this.d.b;p++){for(m=null,o=new YR,y=Zi,N=l(sa(this.d,p),24).Jc();N.Ob();)T=l(N.Pb(),9),f=me(F(this.a,(Ue(),PT)))===me((b1(),Vy)),m?(v=f?iT(o,T,r,t):tT(o,T,t),y<v&&(m=T,y=v)):(m=T,y=f?iT(o,T,r,t):tT(o,T,t));for(u=new Ft(Gt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}};var u4t;k(H0,"SCCModelOrderCycleBreaker",787),x(1370,787,Fi,rnt),h.rg=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M;for(p=0;p<this.d.b;p++)if(!(l(sa(this.d,p),24).gc()<=1)){for(y=null,m=null,N=ar,T=Zi,f=me(F(this.a,(Ue(),PT)))===me((b1(),Vy)),o=new YR,M=l(sa(this.d,p),24).Jc();M.Ob();)R=l(M.Pb(),9),!y||!m?(y=R,N=f?iT(o,R,r,t):tT(o,R,t),m=R,T=N):(v=f?iT(o,R,r,t):tT(o,R,t),N>v&&(y=R,N=v),T<v&&(m=R,T=v));if(me(F(y,Ky))===me(F(this.a,dAe)))for(u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else if(me(F(m,Ky))===me(F(this.a,fAe)))for(u=new Ft(Gt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else if(yd(new Ft(Gt(si(y).a.Jc(),new D)))>yd(new Ft(Gt(Or(m).a.Jc(),new D))))for(u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else for(u=new Ft(Gt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}},k(H0,"SCCNodeTypeCycleBreaker",1370),x(1369,787,Fi,int),h.rg=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M;for(p=0;p<this.d.b;p++)if(!(l(sa(this.d,p),24).gc()<=1)){for(y=null,m=null,N=ar,T=Zi,f=me(F(this.a,(Ue(),PT)))===me((b1(),Vy)),o=new YR,M=l(sa(this.d,p),24).Jc();M.Ob();)R=l(M.Pb(),9),!y||!m?(y=R,N=f?iT(o,R,r,t):tT(o,R,t),m=R,T=N):(v=f?iT(o,R,r,t):tT(o,R,t),N>v&&(y=R,N=v),T<v&&(m=R,T=v));if(yd(new Ft(Gt(si(y).a.Jc(),new D)))>yd(new Ft(Gt(Or(m).a.Jc(),new D))))for(u=new Ft(Gt(si(y).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.c.i)&&Fe(this.c,a);else for(u=new Ft(Gt(Or(m).a.Jc(),new D));an(u);)a=l(en(u),17),l(sa(this.d,p),24).Gc(a.d.i)&&Fe(this.c,a)}},k(H0,"SCConnectivity",1369),x(1385,1,Fi,BWe),h.pg=function(t){return l(t,37),l4t},h.If=function(t,r){ONn(this,l(t,37),r)};var l4t;k(Tp,"BreadthFirstModelOrderLayerer",1385),x(1386,1,Un,kUe),h.Le=function(t,r){return dvn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"BreadthFirstModelOrderLayerer/lambda$0$Type",1386),x(1376,1,Fi,ttt),h.pg=function(t){return l(t,37),d4t},h.If=function(t,r){D3n(this,l(t,37),r)};var d4t;k(Tp,"CoffmanGrahamLayerer",1376),x(1377,1,Un,vJe),h.Le=function(t,r){return ESn(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1377),x(1378,1,Un,EJe),h.Le=function(t,r){return Ssn(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"CoffmanGrahamLayerer/lambda$1$Type",1378),x(1387,1,Fi,DWe),h.pg=function(t){return l(t,37),f4t},h.If=function(t,r){y3n(this,l(t,37),r)},h.c=0,h.e=0;var f4t;k(Tp,"DepthFirstModelOrderLayerer",1387),x(1388,1,Un,NUe),h.Le=function(t,r){return fvn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"DepthFirstModelOrderLayerer/lambda$0$Type",1388),x(1379,1,Fi,CUe),h.pg=function(t){return l(t,37),$n($n($n(new ci,(Vi(),id),(Xi(),Eee)),kh,zy),la,Hy)},h.If=function(t,r){zNn(l(t,37),r)},k(Tp,"InteractiveLayerer",1379),x(571,1,{571:1},MZe),h.a=0,h.c=0,k(Tp,"InteractiveLayerer/LayerSpan",571),x(1375,1,Fi,LWe),h.pg=function(t){return l(t,37),h4t},h.If=function(t,r){gSn(this,l(t,37),r)};var h4t;k(Tp,"LongestPathLayerer",1375),x(1384,1,Fi,MWe),h.pg=function(t){return l(t,37),p4t},h.If=function(t,r){PSn(this,l(t,37),r)};var p4t;k(Tp,"LongestPathSourceLayerer",1384),x(1382,1,Fi,WWe),h.pg=function(t){return l(t,37),$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)},h.If=function(t,r){QNn(this,l(t,37),r)},h.a=0,h.b=0,h.d=0;var k_e,N_e;k(Tp,"MinWidthLayerer",1382),x(1383,1,Un,SJe),h.Le=function(t,r){return Whn(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"MinWidthLayerer/MinOutgoingEdgesComparator",1383),x(1374,1,Fi,VWe),h.pg=function(t){return l(t,37),g4t},h.If=function(t,r){gkn(this,l(t,37),r)};var g4t;k(Tp,"NetworkSimplexLayerer",1374),x(1380,1,Fi,Oit),h.pg=function(t){return l(t,37),$n($n($n(new ci,(Vi(),id),(Xi(),WE)),kh,zy),la,Hy)},h.If=function(t,r){tNn(this,l(t,37),r)},h.d=0,h.f=0,h.g=0,h.i=0,h.s=0,h.t=0,h.u=0,k(Tp,"StretchWidthLayerer",1380),x(1381,1,Un,MUe),h.Le=function(t,r){return Cdn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Tp,"StretchWidthLayerer/1",1381),x(411,1,ove),h.eg=function(t,r,o,a,u,f){},h.tg=function(t,r,o){return Byt(this,t,r,o)},h.dg=function(){this.g=we(Tv,$St,30,this.d,15,1),this.f=we(Tv,$St,30,this.d,15,1)},h.fg=function(t,r){this.e[t]=we(Rn,Qn,30,r[t].length,15,1)},h.gg=function(t,r,o){var a;a=o[t][r],a.p=r,this.e[t][r]=r},h.hg=function(t,r,o,a){l(ze(a[t][r].j,o),12).p=this.d++},h.b=0,h.c=0,h.d=0,k(qa,"AbstractBarycenterPortDistributor",411),x(1680,1,Un,TJe),h.Le=function(t,r){return cbn(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"AbstractBarycenterPortDistributor/lambda$0$Type",1680),x(823,1,JC,epe),h.eg=function(t,r,o,a,u,f){},h.gg=function(t,r,o){},h.hg=function(t,r,o,a){},h.cg=function(){return!1},h.dg=function(){this.c=this.e.a,this.g=this.f.g},h.fg=function(t,r){r[t][0].c.p=t},h.ig=function(){return!1},h.ug=function(t,r,o,a){o?_bt(this,t):(Rbt(this,t,a),aEt(this,t,r)),t.c.length>1&&(Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),(Ue(),tk))))?awt(t,this.d,l(this,667)):(At(),ki(t,this.d)),Vht(this.e,t))},h.jg=function(t,r,o,a){var u,f,p,m,y,v,T;for(r!=Zot(o,t.length)&&(f=t[r-(o?1:-1)],xpe(this.f,f,o?(Fo(),Ba):(Fo(),Cc))),u=t[r][0],T=!a||u.k==(Ht(),yi),v=Wl(t[r]),this.ug(v,T,!1,o),p=0,y=new V(v);y.a<y.c.c.length;)m=l(q(y),9),t[r][p++]=m;return!1},h.kg=function(t,r){var o,a,u,f,p;for(p=Zot(r,t.length),f=Wl(t[p]),this.ug(f,!1,!0,r),o=0,u=new V(f);u.a<u.c.c.length;)a=l(q(u),9),t[p][o++]=a;return!1},k(qa,"BarycenterHeuristic",823),x(665,1,{665:1},xJe),h.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},h.b=0,h.d=0,h.e=!1;var b4t=k(qa,"BarycenterHeuristic/BarycenterState",665);x(1859,1,Un,AJe),h.Le=function(t,r){return nwn(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"BarycenterHeuristic/lambda$0$Type",1859),x(822,1,JC,Lbe),h.dg=function(){},h.eg=function(t,r,o,a,u,f){},h.hg=function(t,r,o,a){},h.fg=function(t,r){this.a[t]=we(b4t,{3:1,4:1,5:1,2096:1},665,r[t].length,0,1),this.b[t]=we(m4t,{3:1,4:1,5:1,2097:1},242,r[t].length,0,1)},h.gg=function(t,r,o){c1t(this,o[t][r],!0)},h.c=!1,k(qa,"ForsterConstraintResolver",822),x(242,1,{242:1},Oat,Yvt),h.Ib=function(){var t,r;for(r=new Qg,r.a+="[",t=0;t<this.d.length;t++)zn(r,x1t(this.d[t])),Hd(this.g,this.d[0]).a!=null&&zn(zn((r.a+="<",r),Zen(Hd(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(r.a+=ja);return(r.a+="]",r).a},h.a=0,h.c=0,h.f=0;var m4t=k(qa,"ForsterConstraintResolver/ConstraintGroup",242);x(1854,1,nn,_Je),h.Ad=function(t){c1t(this.a,l(t,9),!1)},k(qa,"ForsterConstraintResolver/lambda$0$Type",1854),x(221,1,{221:1,223:1},iEt),h.eg=function(t,r,o,a,u,f){},h.fg=function(t,r){},h.dg=function(){this.r=we(Rn,Qn,30,this.n,15,1)},h.gg=function(t,r,o){var a,u;u=o[t][r],a=u.e,a&&Fe(this.b,a)},h.hg=function(t,r,o,a){++this.n},h.Ib=function(){return uEt(this.e,new pi)},h.g=!1,h.i=!1,h.n=0,h.s=!1,k(qa,"GraphInfoHolder",221),x(1892,1,JC,qUe),h.eg=function(t,r,o,a,u,f){},h.fg=function(t,r){},h.hg=function(t,r,o,a){},h.tg=function(t,r,o){return o&&r>0?CW(this.a,t[r-1],t[r]):!o&&r<t.length-1?CW(this.a,t[r],t[r+1]):TK(this.a,t[r],o?(He(),Wt):(He(),Qt)),v2n(this,t,r,o)},h.dg=function(){this.d=we(Rn,Qn,30,this.c,15,1),this.a=new FO(this.d)},h.gg=function(t,r,o){var a;a=o[t][r],this.c+=a.j.c.length},h.c=0,k(qa,"GreedyPortDistributor",1892),x(1393,1,Fi,KWe),h.pg=function(t){return ugn(l(t,37))},h.If=function(t,r){Lkn(l(t,37),r)};var w4t;k(qa,"InteractiveCrossingMinimizer",1393),x(1394,1,Un,NJe),h.Le=function(t,r){return M0n(this,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"InteractiveCrossingMinimizer/1",1394),x(456,1,{456:1,86:1,43:1},j9),h.pg=function(t){var r;return l(t,37),r=D8(y4t),$n(r,(Vi(),la),(Xi(),j$)),r},h.If=function(t,r){FAn(this,l(t,37),r)},h.e=0;var y4t;k(qa,"LayerSweepCrossingMinimizer",456),x(1390,1,nn,CJe),h.Ad=function(t){C_n(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1390),x(1391,1,nn,IJe),h.Ad=function(t){rgn(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1391),x(1392,1,nn,RJe),h.Ad=function(t){xvt(this.a,l(t,221))},k(qa,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1392),x(409,23,{3:1,34:1,23:1,409:1},p8);var _L,IB,XI,RB,v4t=fn(qa,"LayerSweepCrossingMinimizer/CrossMinType",409,bn,mln,_in),E4t;x(1389,1,Mn,RUe),h.Mb=function(t){return Age(),l(t,26).a.c.length==0},k(qa,"LayerSweepCrossingMinimizer/lambda$0$Type",1389),x(1856,1,JC,fct),h.dg=function(){},h.eg=function(t,r,o,a,u,f){},h.hg=function(t,r,o,a){},h.fg=function(t,r){r[t][0].c.p=t,this.b[t]=we(S4t,{3:1,4:1,5:1,2022:1},666,r[t].length,0,1)},h.gg=function(t,r,o){var a;a=o[t][r],a.p=r,ii(this.b[t],r,new IUe)},k(qa,"LayerSweepTypeDecider",1856),x(666,1,{666:1},IUe),h.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},h.a=0,h.b=0,h.c=0;var S4t=k(qa,"LayerSweepTypeDecider/NodeInfo",666);x(1857,1,Uf,OUe),h.Lb=function(t){return v3(new Vd(l(t,12).b))},h.Fb=function(t){return this===t},h.Mb=function(t){return v3(new Vd(l(t,12).b))},k(qa,"LayerSweepTypeDecider/lambda$0$Type",1857),x(1858,1,Uf,DUe),h.Lb=function(t){return v3(new Vd(l(t,12).b))},h.Fb=function(t){return this===t},h.Mb=function(t){return v3(new Vd(l(t,12).b))},k(qa,"LayerSweepTypeDecider/lambda$1$Type",1858),x(1893,411,ove,LQe),h.sg=function(t,r,o){var a,u,f,p,m,y,v,T,N;switch(v=this.g,o.g){case 1:{for(a=0,u=0,y=new V(t.j);y.a<y.c.c.length;)p=l(q(y),12),p.e.c.length!=0&&(++a,p.j==(He(),Vt)&&++u);for(f=r+u,N=r+a,m=k0(t,(Fo(),Cc)).Jc();m.Ob();)p=l(m.Pb(),12),p.j==(He(),Vt)?(v[p.p]=f,--f):(v[p.p]=N,--N);return a}case 2:{for(T=0,m=k0(t,(Fo(),Ba)).Jc();m.Ob();)p=l(m.Pb(),12),++T,v[p.p]=r+T;return T}default:throw Y(new nO)}},k(qa,"LayerTotalPortDistributor",1893),x(1861,1,JC,jat),h.dg=function(){},h.eg=function(t,r,o,a,u,f){},h.fg=function(t,r){},h.gg=function(t,r,o){},h.hg=function(t,r,o,a){},h.cg=function(){return!1},h.ig=function(){return!0},h.jg=function(t,r,o,a){var u,f,p,m;for(u=Wl(t[r]),ykn(this,u,o?r-1:r+1),At(),ki(u,this.b),f=0,m=new V(u);m.a<m.c.c.length;)p=l(q(m),9),t[r][f++]=p;return!1},h.kg=function(t,r){var o,a,u,f,p,m;for(o=r?0:b.Math.max(0,t.length-1),a=Wl(t[o]),m=new V(a);m.a<m.c.c.length;)f=l(q(m),9),Te(f,(Ie(),i2),XV(this.a));for(At(),ki(a,this.b),u=0,p=new V(a);p.a<p.c.c.length;)f=l(q(p),9),t[o][u++]=f,Te(f,(Ie(),i2),u);return!1},k(qa,"MedianHeuristic",1861),x(1862,1,Un,LUe),h.Le=function(t,r){return uEn(l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"MedianHeuristic/lambda$0$Type",1862),x(667,823,{667:1,223:1},bht),h.ug=function(t,r,o,a){o?_bt(this,t):(Rbt(this,t,a),aEt(this,t,r)),t.c.length>1&&(Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),(Ue(),tk))))?awt(t,this.d,this):(At(),ki(t,this.d)),Ye(Ke(F(ji((at(0,t.c.length),l(t.c[0],9))),tk)))||Vht(this.e,t))},k(qa,"ModelOrderBarycenterHeuristic",667),x(1860,1,Un,OJe),h.Le=function(t,r){return J_n(this.a,l(t,9),l(r,9))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(qa,"ModelOrderBarycenterHeuristic/lambda$0$Type",1860),x(1395,1,Fi,XWe),h.pg=function(t){var r;return l(t,37),r=D8(T4t),$n(r,(Vi(),la),(Xi(),j$)),r},h.If=function(t,r){jan((l(t,37),r))};var T4t;k(qa,"NoCrossingMinimizer",1395),x(803,411,ove,ole),h.sg=function(t,r,o){var a,u,f,p,m,y,v,T,N,R,M;switch(N=this.g,o.g){case 1:{for(u=0,f=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.e.c.length!=0&&(++u,y.j==(He(),Vt)&&++f);for(a=1/(u+1),p=r+f*a,M=r+1-a,v=k0(t,(Fo(),Cc)).Jc();v.Ob();)y=l(v.Pb(),12),y.j==(He(),Vt)?(N[y.p]=p,p-=a):(N[y.p]=M,M-=a);break}case 2:{for(m=0,T=new V(t.j);T.a<T.c.c.length;)y=l(q(T),12),y.g.c.length==0||++m;for(a=1/(m+1),R=r+a,v=k0(t,(Fo(),Ba)).Jc();v.Ob();)y=l(v.Pb(),12),N[y.p]=R,R+=a;break}default:throw Y(new jt("Port type is undefined"))}return 1},k(qa,"NodeRelativePortDistributor",803),x(815,1,{},yst,lmt),k(qa,"SweepCopy",815),x(1855,1,JC,qgt),h.fg=function(t,r){},h.dg=function(){var t;t=we(Rn,Qn,30,this.f,15,1),this.d=new BJe(t),this.a=new FO(t)},h.eg=function(t,r,o,a,u,f){var p;p=l(ze(f[t][r].j,o),12),u.c==p&&u.c.i.c==u.d.i.c&&++this.e[t]},h.gg=function(t,r,o){var a;a=o[t][r],this.c[t]=this.c[t]|a.k==(Ht(),_a)},h.hg=function(t,r,o,a){var u;u=l(ze(a[t][r].j,o),12),u.p=this.f++,u.g.c.length+u.e.c.length>1&&(u.j==(He(),Qt)?this.b[t]=!0:u.j==Wt&&t>0&&(this.b[t-1]=!0))},h.f=0,k(_h,"AllCrossingsCounter",1855),x(590,1,{},Cj),h.b=0,h.d=0,k(_h,"BinaryIndexedTree",590),x(523,1,{},FO);var C_e,OB;k(_h,"CrossingsCounter",523),x(1929,1,Un,DJe),h.Le=function(t,r){return lsn(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$0$Type",1929),x(1930,1,Un,LJe),h.Le=function(t,r){return dsn(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$1$Type",1930),x(1931,1,Un,MJe),h.Le=function(t,r){return fsn(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$2$Type",1931),x(1932,1,Un,PJe),h.Le=function(t,r){return hsn(this.a,l(t,12),l(r,12))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(_h,"CrossingsCounter/lambda$3$Type",1932),x(1933,1,nn,jJe),h.Ad=function(t){ffn(this.a,l(t,12))},k(_h,"CrossingsCounter/lambda$4$Type",1933),x(1934,1,Mn,FJe),h.Mb=function(t){return Wen(this.a,l(t,12))},k(_h,"CrossingsCounter/lambda$5$Type",1934),x(1935,1,nn,$Je),h.Ad=function(t){ont(this,t)},k(_h,"CrossingsCounter/lambda$6$Type",1935),x(1936,1,nn,Mtt),h.Ad=function(t){var r;ZA(),d1(this.b,(r=this.a,l(t,12),r))},k(_h,"CrossingsCounter/lambda$7$Type",1936),x(831,1,Uf,Bce),h.Lb=function(t){return ZA(),br(l(t,12),(Ie(),Nc))},h.Fb=function(t){return this===t},h.Mb=function(t){return ZA(),br(l(t,12),(Ie(),Nc))},k(_h,"CrossingsCounter/lambda$8$Type",831),x(1928,1,{},BJe),k(_h,"HyperedgeCrossingsCounter",1928),x(470,1,{34:1,470:1},Lit),h.Dd=function(t){return V1n(this,l(t,470))},h.b=0,h.c=0,h.e=0,h.f=0;var pCn=k(_h,"HyperedgeCrossingsCounter/Hyperedge",470);x(371,1,{34:1,371:1},xP),h.Dd=function(t){return qEn(this,l(t,371))},h.b=0,h.c=0;var A4t=k(_h,"HyperedgeCrossingsCounter/HyperedgeCorner",371);x(522,23,{3:1,34:1,23:1,522:1},Ule);var ZI,QI,_4t=fn(_h,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",522,bn,bcn,xin),x4t;x(1397,1,Fi,eKe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc(($o(),rl))?k4t:null},h.If=function(t,r){y0n(this,l(t,37),r)};var k4t;k(Ho,"InteractiveNodePlacer",1397),x(1398,1,Fi,tKe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc(($o(),rl))?N4t:null},h.If=function(t,r){nmn(this,l(t,37),r)};var N4t,DB,LB;k(Ho,"LinearSegmentsNodePlacer",1398),x(264,1,{34:1,264:1},Fue),h.Dd=function(t){return sen(this,l(t,264))},h.Fb=function(t){var r;return se(t,264)?(r=l(t,264),this.b==r.b):!1},h.Hb=function(){return this.b},h.Ib=function(){return"ls"+Qd(this.e)},h.a=0,h.b=0,h.c=-1,h.d=-1,h.g=0;var C4t=k(Ho,"LinearSegmentsNodePlacer/LinearSegment",264);x(1400,1,Fi,bst),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc(($o(),rl))?I4t:null},h.If=function(t,r){v3n(this,l(t,37),r)},h.b=0,h.g=0;var I4t;k(Ho,"NetworkSimplexPlacer",1400),x(1419,1,Un,jUe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ho,"NetworkSimplexPlacer/0methodref$compare$Type",1419),x(1421,1,Un,FUe),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ho,"NetworkSimplexPlacer/1methodref$compare$Type",1421),x(651,1,{651:1},Ott);var gCn=k(Ho,"NetworkSimplexPlacer/EdgeRep",651);x(410,1,{410:1},khe),h.b=!1;var bCn=k(Ho,"NetworkSimplexPlacer/NodeRep",410);x(504,13,{3:1,4:1,22:1,32:1,56:1,13:1,18:1,16:1,59:1,504:1},zZe),k(Ho,"NetworkSimplexPlacer/Path",504),x(1401,1,{},$Ue),h.Kb=function(t){return l(t,17).d.i.k},k(Ho,"NetworkSimplexPlacer/Path/lambda$0$Type",1401),x(1402,1,Mn,PUe),h.Mb=function(t){return l(t,252)==(Ht(),bi)},k(Ho,"NetworkSimplexPlacer/Path/lambda$1$Type",1402),x(1403,1,{},BUe),h.Kb=function(t){return l(t,17).d.i},k(Ho,"NetworkSimplexPlacer/Path/lambda$2$Type",1403),x(1404,1,Mn,UJe),h.Mb=function(t){return mit(Hgt(l(t,9)))},k(Ho,"NetworkSimplexPlacer/Path/lambda$3$Type",1404),x(1405,1,Mn,UUe),h.Mb=function(t){return Xon(l(t,12))},k(Ho,"NetworkSimplexPlacer/lambda$0$Type",1405),x(1406,1,nn,Dtt),h.Ad=function(t){jtn(this.a,this.b,l(t,12))},k(Ho,"NetworkSimplexPlacer/lambda$1$Type",1406),x(1415,1,nn,HJe),h.Ad=function(t){Rvn(this.a,l(t,17))},k(Ho,"NetworkSimplexPlacer/lambda$10$Type",1415),x(1416,1,{},HUe),h.Kb=function(t){return gu(),new vt(null,new St(l(t,26).a,16))},k(Ho,"NetworkSimplexPlacer/lambda$11$Type",1416),x(1417,1,nn,zJe),h.Ad=function(t){pTn(this.a,l(t,9))},k(Ho,"NetworkSimplexPlacer/lambda$12$Type",1417),x(1418,1,{},zUe),h.Kb=function(t){return gu(),Oe(l(t,126).e)},k(Ho,"NetworkSimplexPlacer/lambda$13$Type",1418),x(1420,1,{},GUe),h.Kb=function(t){return gu(),Oe(l(t,126).e)},k(Ho,"NetworkSimplexPlacer/lambda$15$Type",1420),x(1422,1,Mn,VUe),h.Mb=function(t){return gu(),l(t,410).c.k==(Ht(),Xr)},k(Ho,"NetworkSimplexPlacer/lambda$17$Type",1422),x(1423,1,Mn,WUe),h.Mb=function(t){return gu(),l(t,410).c.j.c.length>1},k(Ho,"NetworkSimplexPlacer/lambda$18$Type",1423),x(1424,1,nn,mat),h.Ad=function(t){g1n(this.c,this.b,this.d,this.a,l(t,410))},h.c=0,h.d=0,k(Ho,"NetworkSimplexPlacer/lambda$19$Type",1424),x(1407,1,{},KUe),h.Kb=function(t){return gu(),new vt(null,new St(l(t,26).a,16))},k(Ho,"NetworkSimplexPlacer/lambda$2$Type",1407),x(1425,1,nn,GJe),h.Ad=function(t){Utn(this.a,l(t,12))},h.a=0,k(Ho,"NetworkSimplexPlacer/lambda$20$Type",1425),x(1426,1,{},YUe),h.Kb=function(t){return gu(),new vt(null,new St(l(t,26).a,16))},k(Ho,"NetworkSimplexPlacer/lambda$21$Type",1426),x(1427,1,nn,qJe),h.Ad=function(t){Ktn(this.a,l(t,9))},k(Ho,"NetworkSimplexPlacer/lambda$22$Type",1427),x(1428,1,Mn,JUe),h.Mb=function(t){return mit(t)},k(Ho,"NetworkSimplexPlacer/lambda$23$Type",1428),x(1429,1,{},XUe),h.Kb=function(t){return gu(),new vt(null,new St(l(t,26).a,16))},k(Ho,"NetworkSimplexPlacer/lambda$24$Type",1429),x(1430,1,Mn,VJe),h.Mb=function(t){return ttn(this.a,l(t,9))},k(Ho,"NetworkSimplexPlacer/lambda$25$Type",1430),x(1431,1,nn,Ltt),h.Ad=function(t){Dyn(this.a,this.b,l(t,9))},k(Ho,"NetworkSimplexPlacer/lambda$26$Type",1431),x(1432,1,Mn,ZUe),h.Mb=function(t){return gu(),!fo(l(t,17))},k(Ho,"NetworkSimplexPlacer/lambda$27$Type",1432),x(1433,1,Mn,QUe),h.Mb=function(t){return gu(),!fo(l(t,17))},k(Ho,"NetworkSimplexPlacer/lambda$28$Type",1433),x(1434,1,{},WJe),h.Te=function(t,r){return Btn(this.a,l(t,26),l(r,26))},k(Ho,"NetworkSimplexPlacer/lambda$29$Type",1434),x(1408,1,{},eHe),h.Kb=function(t){return gu(),new vt(null,new ey(new Ft(Gt(Or(l(t,9)).a.Jc(),new D))))},k(Ho,"NetworkSimplexPlacer/lambda$3$Type",1408),x(1409,1,Mn,tHe),h.Mb=function(t){return gu(),tln(l(t,17))},k(Ho,"NetworkSimplexPlacer/lambda$4$Type",1409),x(1410,1,nn,KJe),h.Ad=function(t){A_n(this.a,l(t,17))},k(Ho,"NetworkSimplexPlacer/lambda$5$Type",1410),x(1411,1,{},nHe),h.Kb=function(t){return gu(),new vt(null,new St(l(t,26).a,16))},k(Ho,"NetworkSimplexPlacer/lambda$6$Type",1411),x(1412,1,Mn,rHe),h.Mb=function(t){return gu(),l(t,9).k==(Ht(),Xr)},k(Ho,"NetworkSimplexPlacer/lambda$7$Type",1412),x(1413,1,{},iHe),h.Kb=function(t){return gu(),new vt(null,new ey(new Ft(Gt(Lf(l(t,9)).a.Jc(),new D))))},k(Ho,"NetworkSimplexPlacer/lambda$8$Type",1413),x(1414,1,Mn,oHe),h.Mb=function(t){return gu(),Yon(l(t,17))},k(Ho,"NetworkSimplexPlacer/lambda$9$Type",1414),x(1396,1,Fi,GWe),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc(($o(),rl))?R4t:null},h.If=function(t,r){rxn(l(t,37),r)};var R4t;k(Ho,"SimpleNodePlacer",1396),x(188,1,{188:1},CE),h.Ib=function(){var t;return t="",this.c==(If(),aw)?t+=pT:this.c==kg&&(t+=hT),this.o==(zd(),Em)?t+=DX:this.o==cf?t+="UP":t+="BALANCED",t},k(R1,"BKAlignedLayout",188),x(513,23,{3:1,34:1,23:1,513:1},$le);var kg,aw,O4t=fn(R1,"BKAlignedLayout/HDirection",513,bn,pcn,kin),D4t;x(512,23,{3:1,34:1,23:1,512:1},Ble);var Em,cf,L4t=fn(R1,"BKAlignedLayout/VDirection",512,bn,hcn,Nin),M4t;x(1681,1,{},Ptt),k(R1,"BKAligner",1681),x(1684,1,{},pbt),k(R1,"BKCompactor",1684),x(659,1,{659:1},sHe),h.a=0,k(R1,"BKCompactor/ClassEdge",659),x(459,1,{459:1},PZe),h.a=null,h.b=0,k(R1,"BKCompactor/ClassNode",459),x(1399,1,Fi,tnt),h.pg=function(t){return l(F(l(t,37),(Ie(),xa)),24).Gc(($o(),rl))?P4t:null},h.If=function(t,r){j3n(this,l(t,37),r)},h.d=!1;var P4t;k(R1,"BKNodePlacer",1399),x(1682,1,{},aHe),h.d=0,k(R1,"NeighborhoodInformation",1682),x(1683,1,Un,YJe),h.Le=function(t,r){return xfn(this,l(t,49),l(r,49))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(R1,"NeighborhoodInformation/NeighborComparator",1683),x(816,1,{}),k(R1,"ThresholdStrategy",816),x(1812,816,{},FZe),h.vg=function(t,r,o){return this.a.o==(zd(),cf)?Kr:Li},h.wg=function(){},k(R1,"ThresholdStrategy/NullThresholdStrategy",1812),x(583,1,{583:1},Btt),h.c=!1,h.d=!1,k(R1,"ThresholdStrategy/Postprocessable",583),x(1813,816,{},$Ze),h.vg=function(t,r,o){var a,u,f;return u=r==o,a=this.a.a[o.p]==r,u||a?(f=t,this.a.c==(If(),aw)?(u&&(f=MJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&a&&(f=MJ(this,o,!1))):(u&&(f=MJ(this,r,!0)),!isNaN(f)&&!isFinite(f)&&a&&(f=MJ(this,o,!1))),f):t},h.wg=function(){for(var t,r,o,a,u;this.d.b!=0;)u=l(tct(this.d),583),a=nvt(this,u),a.a&&(t=a.a,o=Ye(this.a.f[this.a.g[u.b.p].p]),!(!o&&!fo(t)&&t.c.i.c==t.d.i.c)&&(r=twt(this,u),r||Wnt(this.e,u)));for(;this.e.a.c.length!=0;)twt(this,l(Jge(this.e),583))},k(R1,"ThresholdStrategy/SimpleThresholdStrategy",1813),x(642,1,{642:1,173:1,177:1},cHe),h.bg=function(){return zht(this)},h.og=function(){return zht(this)};var Zte;k(OZ,"EdgeRouterFactory",642),x(1462,1,Fi,nKe),h.pg=function(t){return qSn(l(t,37))},h.If=function(t,r){fxn(l(t,37),r)};var j4t,F4t,$4t,B4t,U4t,I_e,H4t,z4t;k(OZ,"OrthogonalEdgeRouter",1462),x(1455,1,Fi,ent),h.pg=function(t){return N0n(l(t,37))},h.If=function(t,r){PNn(this,l(t,37),r)};var G4t,q4t,V4t,W4t,xL,K4t;k(OZ,"PolylineEdgeRouter",1455),x(1456,1,Uf,lHe),h.Lb=function(t){return kge(l(t,9))},h.Fb=function(t){return this===t},h.Mb=function(t){return kge(l(t,9))},k(OZ,"PolylineEdgeRouter/1",1456),x(1868,1,Mn,dHe),h.Mb=function(t){return l(t,135).c==(vd(),H1)},k(xd,"HyperEdgeCycleDetector/lambda$0$Type",1868),x(1869,1,{},fHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$1$Type",1869),x(1870,1,Mn,hHe),h.Mb=function(t){return l(t,135).c==(vd(),H1)},k(xd,"HyperEdgeCycleDetector/lambda$2$Type",1870),x(1871,1,{},pHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$3$Type",1871),x(1872,1,{},gHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$4$Type",1872),x(1873,1,{},uHe),h.Xe=function(t){return l(t,135).d},k(xd,"HyperEdgeCycleDetector/lambda$5$Type",1873),x(117,1,{34:1,117:1},_6),h.Dd=function(t){return oen(this,l(t,117))},h.Fb=function(t){var r;return se(t,117)?(r=l(t,117),this.g==r.g):!1},h.Hb=function(){return this.g},h.Ib=function(){var t,r,o,a;for(t=new fu("{"),a=new V(this.n);a.a<a.c.c.length;)o=l(q(a),12),r=z6(o.i),r==null&&(r="n"+Qit(o.i)),t.a+=""+r,a.a<a.c.c.length&&(t.a+=",");return t.a+="}",t.a},h.a=0,h.b=0,h.c=NaN,h.d=0,h.g=0,h.i=0,h.o=0,h.s=NaN,k(xd,"HyperEdgeSegment",117),x(135,1,{135:1},Pb),h.Ib=function(){return this.a+"->"+this.b+" ("+Ann(this.c)+")"},h.d=0,k(xd,"HyperEdgeSegmentDependency",135),x(519,23,{3:1,34:1,23:1,519:1},Hle);var H1,ov,Y4t=fn(xd,"HyperEdgeSegmentDependency/DependencyType",519,bn,gcn,Cin),J4t;x(1874,1,{},JJe),k(xd,"HyperEdgeSegmentSplitter",1874),x(1875,1,{},PQe),h.a=0,h.b=0,k(xd,"HyperEdgeSegmentSplitter/AreaRating",1875),x(341,1,{341:1},jV),h.a=0,h.b=0,h.c=0,k(xd,"HyperEdgeSegmentSplitter/FreeArea",341),x(1876,1,Un,bHe),h.Le=function(t,r){return Ern(l(t,117),l(r,117))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(xd,"HyperEdgeSegmentSplitter/lambda$0$Type",1876),x(1877,1,nn,wat),h.Ad=function(t){Gln(this.a,this.d,this.c,this.b,l(t,117))},h.b=0,k(xd,"HyperEdgeSegmentSplitter/lambda$1$Type",1877),x(1878,1,{},mHe),h.Kb=function(t){return new vt(null,new St(l(t,117).e,16))},k(xd,"HyperEdgeSegmentSplitter/lambda$2$Type",1878),x(1879,1,{},wHe),h.Kb=function(t){return new vt(null,new St(l(t,117).j,16))},k(xd,"HyperEdgeSegmentSplitter/lambda$3$Type",1879),x(1880,1,{},yHe),h.We=function(t){return ce(le(t))},k(xd,"HyperEdgeSegmentSplitter/lambda$4$Type",1880),x(660,1,{},cW),h.a=0,h.b=0,h.c=0,k(xd,"OrthogonalRoutingGenerator",660),x(1685,1,{},vHe),h.Kb=function(t){return new vt(null,new St(l(t,117).e,16))},k(xd,"OrthogonalRoutingGenerator/lambda$0$Type",1685),x(1686,1,{},EHe),h.Kb=function(t){return new vt(null,new St(l(t,117).j,16))},k(xd,"OrthogonalRoutingGenerator/lambda$1$Type",1686),x(668,1,{}),k(DZ,"BaseRoutingDirectionStrategy",668),x(1866,668,{},BZe),h.xg=function(t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G;if(!(t.r&&!t.q))for(T=r+t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).a,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),fo(p)||(U=p.d,G=xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).a,b.Math.abs(N-G)>Hf&&(f=T,u=t,a=new Me(N,f),Gn(p.a,a),L0(this,p,u,a,!1),R=t.r,R&&(M=ce(le(sa(R.e,0))),a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1),f=r+R.o*o,u=R,a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1)),a=new Me(G,f),Gn(p.a,a),L0(this,p,u,a,!1)))},h.yg=function(t){return t.i.n.a+t.n.a+t.a.a},h.zg=function(){return He(),dn},h.Ag=function(){return He(),Vt},k(DZ,"NorthToSouthRoutingStrategy",1866),x(1867,668,{},UZe),h.xg=function(t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G;if(!(t.r&&!t.q))for(T=r-t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).a,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),fo(p)||(U=p.d,G=xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).a,b.Math.abs(N-G)>Hf&&(f=T,u=t,a=new Me(N,f),Gn(p.a,a),L0(this,p,u,a,!1),R=t.r,R&&(M=ce(le(sa(R.e,0))),a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1),f=r-R.o*o,u=R,a=new Me(M,f),Gn(p.a,a),L0(this,p,u,a,!1)),a=new Me(G,f),Gn(p.a,a),L0(this,p,u,a,!1)))},h.yg=function(t){return t.i.n.a+t.n.a+t.a.a},h.zg=function(){return He(),Vt},h.Ag=function(){return He(),dn},k(DZ,"SouthToNorthRoutingStrategy",1867),x(1865,668,{},HZe),h.xg=function(t,r,o){var a,u,f,p,m,y,v,T,N,R,M,U,G;if(!(t.r&&!t.q))for(T=r+t.o*o,v=new V(t.n);v.a<v.c.c.length;)for(y=l(q(v),12),N=xs(Z(X($i,1),Pe,8,0,[y.i.n,y.n,y.a])).b,m=new V(y.g);m.a<m.c.c.length;)p=l(q(m),17),fo(p)||(U=p.d,G=xs(Z(X($i,1),Pe,8,0,[U.i.n,U.n,U.a])).b,b.Math.abs(N-G)>Hf&&(f=T,u=t,a=new Me(f,N),Gn(p.a,a),L0(this,p,u,a,!0),R=t.r,R&&(M=ce(le(sa(R.e,0))),a=new Me(f,M),Gn(p.a,a),L0(this,p,u,a,!0),f=r+R.o*o,u=R,a=new Me(f,M),Gn(p.a,a),L0(this,p,u,a,!0)),a=new Me(f,G),Gn(p.a,a),L0(this,p,u,a,!0)))},h.yg=function(t){return t.i.n.b+t.n.b+t.a.b},h.zg=function(){return He(),Qt},h.Ag=function(){return He(),Wt},k(DZ,"WestToEastRoutingStrategy",1865),x(819,1,{},R0e),h.Ib=function(){return Qd(this.a)},h.b=0,h.c=!1,h.d=!1,h.f=0,k(My,"NubSpline",819),x(415,1,{415:1},Fwt,Qat),k(My,"NubSpline/PolarCP",415),x(1457,1,Fi,ibt),h.pg=function(t){return pwn(l(t,37))},h.If=function(t,r){n3n(this,l(t,37),r)};var X4t,Z4t,Q4t,eRt,tRt;k(My,"SplineEdgeRouter",1457),x(275,1,{275:1},ZP),h.Ib=function(){return this.a+" ->("+this.c+") "+this.b},h.c=0,k(My,"SplineEdgeRouter/Dependency",275),x(457,23,{3:1,34:1,23:1,457:1},zle);var z1,u2,nRt=fn(My,"SplineEdgeRouter/SideToProcess",457,bn,mcn,Rin),rRt;x(1458,1,Mn,SHe),h.Mb=function(t){return NC(),!l(t,134).o},k(My,"SplineEdgeRouter/lambda$0$Type",1458),x(1459,1,{},THe),h.Xe=function(t){return NC(),l(t,134).v+1},k(My,"SplineEdgeRouter/lambda$1$Type",1459),x(1460,1,nn,jtt),h.Ad=function(t){esn(this.a,this.b,l(t,49))},k(My,"SplineEdgeRouter/lambda$2$Type",1460),x(1461,1,nn,Ftt),h.Ad=function(t){tsn(this.a,this.b,l(t,49))},k(My,"SplineEdgeRouter/lambda$3$Type",1461),x(134,1,{34:1,134:1},Gmt,j0e),h.Dd=function(t){return aen(this,l(t,134))},h.b=0,h.e=!1,h.f=0,h.g=0,h.j=!1,h.k=!1,h.n=0,h.o=!1,h.p=!1,h.q=!1,h.s=0,h.u=0,h.v=0,h.F=0,k(My,"SplineSegment",134),x(460,1,{460:1},AHe),h.a=0,h.b=!1,h.c=!1,h.d=!1,h.e=!1,h.f=0,k(My,"SplineSegment/EdgeInformation",460),x(1179,1,{},_He),k(Ap,Twe,1179),x(1180,1,Un,xHe),h.Le=function(t,r){return Gvn(l(t,121),l(r,121))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,J2t,1180),x(1178,1,{},eet),k(Ap,"MrTree",1178),x(402,23,{3:1,34:1,23:1,402:1,173:1,177:1},g8),h.bg=function(){return p0t(this)},h.og=function(){return p0t(this)};var MB,e4,t4,n4,R_e=fn(Ap,"TreeLayoutPhases",402,bn,Aln,Oin),iRt;x(1093,207,im,Pit),h.kf=function(t,r){var o,a,u,f,p,m,y,v;for(Ye(Ke(ve(t,(js(),nxe))))||P3((o=new OA((n1(),new Yp(t))),o)),p=r.dh(PZ),p.Tg("build tGraph",1),m=(y=new i6,qs(y,t),Te(y,(Nr(),i4),t),v=new hn,CAn(t,y,v),VAn(t,y,v),y),p.Ug(),p=r.dh(PZ),p.Tg("Split graph",1),f=MAn(this.a,m),p.Ug(),u=new V(f);u.a<u.c.c.length;)a=l(q(u),121),c0n(this.b,a,r.dh(.5999999940395355/f.c.length));p=r.dh(PZ),p.Tg("Pack components",1),m=F3n(f),p.Ug(),p=r.dh(PZ),p.Tg("Apply layout results",1),Tkn(m),p.Ug()},k(Ap,"TreeLayoutProvider",1093),x(1829,1,Eh,NHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Ap,"TreeUtil/1",1829),x(1830,1,Eh,CHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Ap,"TreeUtil/2",1830),x(1820,1,Mn,IHe),h.Mb=function(t){return Ye(Ke(F(l(t,41),(Nr(),G1))))},k(Ap,"TreeUtil/lambda$0$Type",1820),x(1826,1,Mn,XJe),h.Mb=function(t){return this.a.Gc(l(t,41))},k(Ap,"TreeUtil/lambda$10$Type",1826),x(1827,1,{},ZJe),h.Kb=function(t){return jln(this.a,l(t,41))},k(Ap,"TreeUtil/lambda$11$Type",1827),x(1828,1,Mn,$tt),h.Mb=function(t){return vfn(this.a,this.b,l(t,41))},k(Ap,"TreeUtil/lambda$12$Type",1828),x(1821,1,Mn,QJe),h.Mb=function(t){return Wgn(this.a,l(t,65))},k(Ap,"TreeUtil/lambda$3$Type",1821),x(1822,1,Un,kHe),h.Le=function(t,r){return Trn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,"TreeUtil/lambda$4$Type",1822),x(1823,1,Mn,eXe),h.Mb=function(t){return Kgn(this.a,l(t,65))},k(Ap,"TreeUtil/lambda$7$Type",1823),x(1824,1,Un,RHe),h.Le=function(t,r){return Srn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Ap,"TreeUtil/lambda$8$Type",1824),x(1825,1,{},OHe),h.Kb=function(t){return l(t,65).b},k(Ap,"TreeUtil/lambda$9$Type",1825),x(497,151,{3:1,497:1,105:1,151:1}),h.g=0,k(eI,"TGraphElement",497),x(65,497,{3:1,65:1,497:1,105:1,151:1},Ihe),h.Ib=function(){return this.b&&this.c?Fb(this.b)+"->"+Fb(this.c):"e_"+Rr(this)},k(eI,"TEdge",65),x(121,151,{3:1,121:1,105:1,151:1},i6),h.Ib=function(){var t,r,o,a,u;for(u=null,a=An(this.b,0);a.b!=a.d.c;)o=l(Sn(a),41),u+=(o.c==null||o.c.length==0?"n_"+o.g:"n_"+o.c)+`
`;for(r=An(this.a,0);r.b!=r.d.c;)t=l(Sn(r),65),u+=(t.b&&t.c?Fb(t.b)+"->"+Fb(t.c):"e_"+Rr(t))+`
`;return u};var mCn=k(eI,"TGraph",121);x(640,497,{3:1,497:1,640:1,105:1,151:1}),k(eI,"TShape",640),x(41,640,{3:1,497:1,41:1,640:1,105:1,151:1},UK),h.Ib=function(){return Fb(this)};var PB=k(eI,"TNode",41);x(239,1,Eh,Qh),h.Ic=function(t){lo(this,t)},h.Jc=function(){var t;return t=An(this.a.d,0),new Vv(t)},k(eI,"TNode/2",239),x(335,1,Wi,Vv),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(Sn(this.a),65).c},h.Ob=function(){return oO(this.a)},h.Qb=function(){gK(this.a)},k(eI,"TNode/2/1",335),x(1910,1,kr,DHe),h.If=function(t,r){O3n(this,l(t,121),r)},k(Aa,"CompactionProcessor",1910),x(1911,1,Un,tXe),h.Le=function(t,r){return qhn(this.a,l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$0$Type",1911),x(1912,1,Mn,Utt),h.Mb=function(t){return icn(this.b,this.a,l(t,49))},h.a=0,h.b=0,k(Aa,"CompactionProcessor/lambda$1$Type",1912),x(1921,1,Un,LHe),h.Le=function(t,r){return Wsn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$10$Type",1921),x(1922,1,Un,MHe),h.Le=function(t,r){return fnn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$11$Type",1922),x(1923,1,Un,PHe),h.Le=function(t,r){return Ksn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$12$Type",1923),x(1913,1,Mn,nXe),h.Mb=function(t){return Ztn(this.a,l(t,49))},h.a=0,k(Aa,"CompactionProcessor/lambda$2$Type",1913),x(1914,1,Mn,rXe),h.Mb=function(t){return Qtn(this.a,l(t,49))},h.a=0,k(Aa,"CompactionProcessor/lambda$3$Type",1914),x(1915,1,Mn,jHe),h.Mb=function(t){return l(t,41).c.indexOf(L7)==-1},k(Aa,"CompactionProcessor/lambda$4$Type",1915),x(1916,1,{},iXe),h.Kb=function(t){return nln(this.a,l(t,41))},h.a=0,k(Aa,"CompactionProcessor/lambda$5$Type",1916),x(1917,1,{},oXe),h.Kb=function(t){return dfn(this.a,l(t,41))},h.a=0,k(Aa,"CompactionProcessor/lambda$6$Type",1917),x(1918,1,Un,sXe),h.Le=function(t,r){return vdn(this.a,l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$7$Type",1918),x(1919,1,Un,aXe),h.Le=function(t,r){return Edn(this.a,l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$8$Type",1919),x(1920,1,Un,FHe),h.Le=function(t,r){return hnn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Aa,"CompactionProcessor/lambda$9$Type",1920),x(1908,1,kr,$He),h.If=function(t,r){_Tn(l(t,121),r)},k(Aa,"DirectionProcessor",1908),x(N1,1,kr,Dit),h.If=function(t,r){qAn(this,l(t,121),r)},k(Aa,"FanProcessor",N1),x(1263,1,kr,BHe),h.If=function(t,r){iyt(l(t,121),r)},k(Aa,"GraphBoundsProcessor",1263),x(1264,1,{},UHe),h.We=function(t){return l(t,41).e.a},k(Aa,"GraphBoundsProcessor/lambda$0$Type",1264),x(1265,1,{},HHe),h.We=function(t){return l(t,41).e.b},k(Aa,"GraphBoundsProcessor/lambda$1$Type",1265),x(1266,1,{},zHe),h.We=function(t){return Den(l(t,41))},k(Aa,"GraphBoundsProcessor/lambda$2$Type",1266),x(1267,1,{},GHe),h.We=function(t){return Len(l(t,41))},k(Aa,"GraphBoundsProcessor/lambda$3$Type",1267),x(265,23,{3:1,34:1,23:1,265:1,177:1},r0),h.bg=function(){switch(this.g){case 0:return new oQe;case 1:return new Dit;case 2:return new iQe;case 3:return new YHe;case 4:return new VHe;case 8:return new qHe;case 5:return new $He;case 6:return new XHe;case 7:return new DHe;case 9:return new BHe;case 10:return new ZHe;default:throw Y(new jt(BX+(this.f!=null?this.f:""+this.g)))}};var O_e,D_e,L_e,M_e,P_e,j_e,F_e,$_e,B_e,U_e,Qte,wCn=fn(Aa,UX,265,bn,Fht,Din),oRt;x(1907,1,kr,qHe),h.If=function(t,r){INn(l(t,121),r)},k(Aa,"LevelCoordinatesProcessor",1907),x(1905,1,kr,VHe),h.If=function(t,r){Y2n(this,l(t,121),r)},h.a=0,k(Aa,"LevelHeightProcessor",1905),x(1906,1,Eh,WHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Aa,"LevelHeightProcessor/1",1906),x(1901,1,kr,iQe),h.If=function(t,r){cTn(this,l(t,121),r)},k(Aa,"LevelProcessor",1901),x(1902,1,Mn,KHe),h.Mb=function(t){return Ye(Ke(F(l(t,41),(Nr(),G1))))},k(Aa,"LevelProcessor/lambda$0$Type",1902),x(1903,1,kr,YHe),h.If=function(t,r){evn(this,l(t,121),r)},h.a=0,k(Aa,"NeighborsProcessor",1903),x(1904,1,Eh,JHe),h.Ic=function(t){lo(this,t)},h.Jc=function(){return At(),zA(),Hx},k(Aa,"NeighborsProcessor/1",1904),x(1909,1,kr,XHe),h.If=function(t,r){zAn(this,l(t,121),r)},h.a=0,k(Aa,"NodePositionProcessor",1909),x(1899,1,kr,oQe),h.If=function(t,r){Ixn(this,l(t,121),r)},k(Aa,"RootProcessor",1899),x(1924,1,kr,ZHe),h.If=function(t,r){Fbn(l(t,121),r)},k(Aa,"Untreeifyer",1924),x(386,23,{3:1,34:1,23:1,386:1},Kq);var kL,ene,H_e,z_e=fn(HD,"EdgeRoutingMode",386,bn,bun,Lin),sRt,NL,uk,tne,G_e,q_e,nne,rne,V_e,ine,W_e,one,r4,sne,jB,FB,sd,Id,lk,i4,o4,Ng,K_e,aRt,ane,G1,CL,IL;x(854,1,td,rKe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,cve),""),KSt),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(Lt(),!1)),(_1(),xi)),Yr),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,uve),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,lve),""),"Tree Level"),"The index for the tree level the node is in"),Oe(0)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,dve),""),KSt),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),Oe(-1)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,fve),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),X_e),$r),uxe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,hve),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),Y_e),$r),z_e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,pve),""),"Search Order"),"Which search order to use when computing a spanning tree."),J_e),$r),dxe),lt(xt)))),LEt((new iKe,t))};var cRt,uRt,lRt,Y_e,dRt,fRt,J_e,hRt,pRt,X_e;k(HD,"MrTreeMetaDataProvider",854),x(999,1,td,iKe),h.tf=function(t){LEt(t)};var gRt,Z_e,Q_e,cw,exe,txe,cne,bRt,mRt,wRt,yRt,vRt,ERt,SRt,nxe,rxe,ixe,TRt,l2,$B,oxe,ARt,sxe,une,_Rt,xRt,kRt,axe,NRt,Jf,cxe;k(HD,"MrTreeOptions",999),x(yg,1,{},QHe),h.uf=function(){var t;return t=new Pit,t},h.vf=function(t){},k(HD,"MrTreeOptions/MrtreeFactory",yg),x(354,23,{3:1,34:1,23:1,354:1},b8);var lne,BB,dne,fne,uxe=fn(HD,"OrderWeighting",354,bn,Eln,Min),CRt;x(430,23,{3:1,34:1,23:1,430:1},Gle);var lxe,hne,dxe=fn(HD,"TreeifyingOrder",430,bn,wcn,Pin),IRt;x(1463,1,Fi,YWe),h.pg=function(t){return l(t,121),RRt},h.If=function(t,r){Nhn(this,l(t,121),r)};var RRt;k("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1463),x(1464,1,Fi,JWe),h.pg=function(t){return l(t,121),ORt},h.If=function(t,r){fTn(this,l(t,121),r)};var ORt;k(xx,"NodeOrderer",1464),x(1471,1,{},EZt),h.rd=function(t){return jot(t)},k(xx,"NodeOrderer/0methodref$lambda$6$Type",1471),x(1465,1,Mn,sze),h.Mb=function(t){return US(),Ye(Ke(F(l(t,41),(Nr(),G1))))},k(xx,"NodeOrderer/lambda$0$Type",1465),x(1466,1,Mn,aze),h.Mb=function(t){return US(),l(F(l(t,41),(js(),l2)),15).a<0},k(xx,"NodeOrderer/lambda$1$Type",1466),x(1467,1,Mn,uXe),h.Mb=function(t){return uhn(this.a,l(t,41))},k(xx,"NodeOrderer/lambda$2$Type",1467),x(1468,1,Mn,cXe),h.Mb=function(t){return eln(this.a,l(t,41))},k(xx,"NodeOrderer/lambda$3$Type",1468),x(1469,1,Un,cze),h.Le=function(t,r){return Rfn(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(xx,"NodeOrderer/lambda$4$Type",1469),x(1470,1,Mn,uze),h.Mb=function(t){return US(),l(F(l(t,41),(Nr(),rne)),15).a!=0},k(xx,"NodeOrderer/lambda$5$Type",1470),x(1472,1,Fi,aKe),h.pg=function(t){return l(t,121),DRt},h.If=function(t,r){wAn(this,l(t,121),r)},h.b=0;var DRt;k("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1472),x(1473,1,Fi,cKe),h.pg=function(t){return l(t,121),LRt},h.If=function(t,r){QTn(l(t,121),r)};var LRt,yCn=k(cu,"EdgeRouter",1473);x(1475,1,Un,tze),h.Le=function(t,r){return na(l(t,15).a,l(r,15).a)},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/0methodref$compare$Type",1475),x(1480,1,{},nze),h.We=function(t){return ce(le(t))},k(cu,"EdgeRouter/1methodref$doubleValue$Type",1480),x(1482,1,Un,rze),h.Le=function(t,r){return vr(ce(le(t)),ce(le(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/2methodref$compare$Type",1482),x(1484,1,Un,ize),h.Le=function(t,r){return vr(ce(le(t)),ce(le(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/3methodref$compare$Type",1484),x(1486,1,{},eze),h.We=function(t){return ce(le(t))},k(cu,"EdgeRouter/4methodref$doubleValue$Type",1486),x(1488,1,Un,oze),h.Le=function(t,r){return vr(ce(le(t)),ce(le(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/5methodref$compare$Type",1488),x(1490,1,Un,lze),h.Le=function(t,r){return vr(ce(le(t)),ce(le(r)))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/6methodref$compare$Type",1490),x(1474,1,{},dze),h.Kb=function(t){return dp(),l(F(l(t,41),(js(),Jf)),15)},k(cu,"EdgeRouter/lambda$0$Type",1474),x(1485,1,{},fze),h.Kb=function(t){return _nn(l(t,41))},k(cu,"EdgeRouter/lambda$11$Type",1485),x(1487,1,{},ztt),h.Kb=function(t){return Zon(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(cu,"EdgeRouter/lambda$13$Type",1487),x(1489,1,{},Htt),h.Kb=function(t){return xnn(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(cu,"EdgeRouter/lambda$15$Type",1489),x(1491,1,Un,hze),h.Le=function(t,r){return bbn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/lambda$17$Type",1491),x(1492,1,Un,pze),h.Le=function(t,r){return mbn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/lambda$18$Type",1492),x(1493,1,Un,gze),h.Le=function(t,r){return ybn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/lambda$19$Type",1493),x(1476,1,Mn,lXe),h.Mb=function(t){return Fcn(this.a,l(t,41))},h.a=0,k(cu,"EdgeRouter/lambda$2$Type",1476),x(1494,1,Un,bze),h.Le=function(t,r){return wbn(l(t,65),l(r,65))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/lambda$20$Type",1494),x(1477,1,Un,mze),h.Le=function(t,r){return Hon(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/lambda$3$Type",1477),x(1478,1,Un,wze),h.Le=function(t,r){return zon(l(t,41),l(r,41))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"EdgeRouter/lambda$4$Type",1478),x(1479,1,{},yze),h.Kb=function(t){return Cnn(l(t,41))},k(cu,"EdgeRouter/lambda$5$Type",1479),x(1481,1,{},Gtt),h.Kb=function(t){return Qon(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(cu,"EdgeRouter/lambda$7$Type",1481),x(1483,1,{},qtt),h.Kb=function(t){return Nnn(this.b,this.a,l(t,41))},h.a=0,h.b=0,k(cu,"EdgeRouter/lambda$9$Type",1483),x(669,1,{669:1},W1t),h.e=0,h.f=!1,h.g=!1,k(cu,"MultiLevelEdgeNodeNodeGap",669),x(1881,1,Un,vze),h.Le=function(t,r){return Ycn(l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1881),x(1882,1,Un,Eze),h.Le=function(t,r){return Jcn(l(t,243),l(r,243))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(cu,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1882);var d2;x(490,23,{3:1,34:1,23:1,490:1,173:1,177:1},qle),h.bg=function(){return Mgt(this)},h.og=function(){return Mgt(this)};var UB,f2,fxe=fn(bve,"RadialLayoutPhases",490,bn,ycn,jin),MRt;x(1094,207,im,tet),h.kf=function(t,r){var o,a,u,f,p,m;if(o=Lwt(this,t),r.Tg("Radial layout",o.c.length),Ye(Ke(ve(t,(A1(),Txe))))||P3((a=new OA((n1(),new Yp(t))),a)),m=mwn(t),Vn(t,(cE(),d2),m),!m)throw Y(new jt(JSt));for(u=ce(le(ve(t,GB))),u==0&&(u=s0t(t)),Vn(t,GB,u),p=new V(Lwt(this,t));p.a<p.c.c.length;)f=l(q(p),43),f.If(t,r.dh(1));r.Ug()},k(bve,"RadialLayoutProvider",1094),x(548,1,Un,z9),h.Le=function(t,r){return HTn(this.a,this.b,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=0,h.b=0,k(bve,"RadialUtil/lambda$0$Type",548),x(1361,1,kr,Sze),h.If=function(t,r){LNn(l(t,19),r)},k(wve,"CalculateGraphSize",1361),x(1362,1,kr,Tze),h.If=function(t,r){Q_n(l(t,19))},k(wve,"EdgeAngleCalculator",1362),x(365,23,{3:1,34:1,23:1,365:1,177:1},yO),h.bg=function(){switch(this.g){case 0:return new Cze;case 1:return new Aze;case 2:return new Ize;case 3:return new Sze;case 4:return new Tze;default:throw Y(new jt(BX+(this.f!=null?this.f:""+this.g)))}};var pne,gne,bne,mne,wne,PRt=fn(wve,UX,365,bn,ldn,Fin),jRt;x(648,1,{}),h.e=1,h.g=0,k(jZ,"AbstractRadiusExtensionCompaction",648),x(1832,648,{},hit),h.Bg=function(t){var r,o,a,u,f,p,m,y,v;for(this.c=l(ve(t,(cE(),d2)),19),FZt(this,this.c),this.d=AY(l(ve(t,(A1(),RL)),304)),y=l(ve(t,vne),15),y&&XKe(this,y.a),m=le(ve(t,(_n(),Od))),sue(this,(Mt(m),m)),v=xy(this.c),this.d&&this.d.Fg(v),iAn(this,v),p=new Ls(Z(X(En,1),ZSt,19,0,[this.c])),o=0;o<2;o++)for(r=0;r<v.c.length;r++)u=new Ls(Z(X(En,1),ZSt,19,0,[(at(r,v.c.length),l(v.c[r],19))])),f=r<v.c.length-1?(at(r+1,v.c.length),l(v.c[r+1],19)):(at(0,v.c.length),l(v.c[0],19)),a=r==0?l(ze(v,v.c.length-1),19):(at(r-1,v.c.length),l(v.c[r-1],19)),Qbt(this,(at(r,v.c.length),l(v.c[r],19),p),a,f,u)},k(jZ,"AnnulusWedgeCompaction",1832),x(1359,1,kr,Aze),h.If=function(t,r){khn(l(t,19),r)},k(jZ,"GeneralCompactor",1359),x(1831,648,{},_ze),h.Bg=function(t){var r,o,a,u;o=l(ve(t,(cE(),d2)),19),this.f=o,this.b=AY(l(ve(t,(A1(),RL)),304)),u=l(ve(t,vne),15),u&&XKe(this,u.a),a=le(ve(t,(_n(),Od))),sue(this,(Mt(a),a)),r=xy(o),this.b&&this.b.Fg(r),Mmt(this,r)},h.a=0,k(jZ,"RadialCompaction",1831),x(1840,1,{},xze),h.Cg=function(t){var r,o,a,u,f,p;for(this.a=t,r=0,p=xy(t),a=0,f=new V(p);f.a<f.c.c.length;)for(u=l(q(f),19),++a,o=a;o<p.c.length;o++)v_n(this,u,(at(o,p.c.length),l(p.c[o],19)))&&(r+=1);return r},k(yve,"CrossingMinimizationPosition",1840),x(1838,1,{},kze),h.Cg=function(t){var r,o,a,u,f,p,m,y,v,T,N,R,M;for(a=0,o=new Ft(Gt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),m=Jo(l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),v=m.i+m.g/2,T=m.j+m.f/2,u=t.i+t.g/2,f=t.j+t.f/2,N=new ro,N.a=v-u,N.b=T-f,p=new Me(N.a,N.b),G_(p,t.g,t.f),N.a-=p.a,N.b-=p.b,u=v-N.a,f=T-N.b,y=new Me(N.a,N.b),G_(y,m.g,m.f),N.a-=y.a,N.b-=y.b,v=u+N.a,T=f+N.b,R=v-u,M=T-f,a+=b.Math.sqrt(R*R+M*M);return a},k(yve,"EdgeLengthOptimization",1838),x(1839,1,{},Nze),h.Cg=function(t){var r,o,a,u,f,p,m,y,v,T,N;for(a=0,o=new Ft(Gt(mp(t).a.Jc(),new D));an(o);)r=l(en(o),74),m=Jo(l(ie((!r.c&&(r.c=new Tt(pn,r,5,8)),r.c),0),83)),y=m.i+m.g/2,v=m.j+m.f/2,u=l(ve(m,(_n(),GT)),8),f=t.i+u.a+t.g/2,p=t.j+u.b+t.f,T=y-f,N=v-p,a+=b.Math.sqrt(T*T+N*N);return a},k(yve,"EdgeLengthPositionOptimization",1839),x(1358,648,kr,Cze),h.If=function(t,r){pvn(this,l(t,19),r)},k("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1358),x(1360,1,kr,Ize),h.If=function(t,r){Msn(l(t,19),r)},k("org.eclipse.elk.alg.radial.intermediate.rotation","GeneralRotator",1360),x(431,23,{3:1,34:1,23:1,431:1},Vle);var hxe,yne,pxe=fn(tI,"AnnulusWedgeCriteria",431,bn,vcn,$in),FRt;x(387,23,{3:1,34:1,23:1,387:1},Yq);var HB,gxe,bxe,mxe=fn(tI,QSt,387,bn,mun,Bin),$Rt;x(855,1,td,ZWe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vve),""),"Center On Root"),"Centers the layout on the root of the tree i.e. so that the central node is also the center node of the final layout. This introduces additional whitespace."),(Lt(),!1)),(_1(),xi)),Yr),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Eve),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),Oe(0)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sve),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,j7),""),"Rotate"),"The rotate option determines whether a rotation of the layout should be performed."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$Z),""),eTt),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),wxe),$r),mxe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,BZ),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),Oe(1)),vo),_i),lt(xt)))),zr(t,BZ,$Z,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Tve),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),vxe),$r),Mxe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ave),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),Exe),$r),pxe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_ve),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),yxe),$r),Oxe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,UZ),kve),"Target Angle"),"The angle in radians that the layout should be rotated to after layout."),0),Qi),fi),lt(xt)))),zr(t,UZ,j7,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,HZ),kve),"Additional Wedge Space"),"If set to true, modifies the target angle by rotating further such that space is left for an edge to pass in between the nodes. This option should only be used in conjunction with top-down layout."),!1),xi),Yr),lt(xt)))),zr(t,HZ,j7,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xve),kve),"Outgoing Edge Angles"),"Calculate the required angle of connected nodes to leave space for an incoming edge. This option should only be used in conjunction with top-down layout."),!1),xi),Yr),lt(xt)))),kEt((new QWe,t))};var BRt,URt,HRt,wxe,zRt,yxe,GRt,qRt,VRt,WRt,KRt,YRt,JRt,vxe,XRt,Exe;k(tI,"RadialMetaDataProvider",855),x(1001,1,td,QWe),h.tf=function(t){kEt(t)};var Sxe,vne,Ene,ZRt,QRt,eOt,tOt,Txe,Axe,zB,nOt,rOt,GB,_xe,xxe,kxe,Sne,RL,iOt,Nxe;k(tI,"RadialOptions",1001),x(1002,1,{},Rze),h.uf=function(){var t;return t=new tet,t},h.vf=function(t){},k(tI,"RadialOptions/RadialFactory",1002),x(355,23,{3:1,34:1,23:1,355:1},m8);var Cxe,Ixe,Rxe,Tne,Oxe=fn(tI,"RadialTranslationStrategy",355,bn,Sln,Uin),oOt;x(304,23,{3:1,34:1,23:1,304:1},Jq);var Dxe,Ane,Lxe,Mxe=fn(tI,"SortingStrategy",304,bn,Aun,Hin),sOt;x(1448,1,Fi,Oze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Lvn(this,l(t,19),r)},h.c=0,k("org.eclipse.elk.alg.radial.p1position","EadesRadial",1448),x(1836,1,{},Dze),h.Dg=function(t){return C1t(t)},k(tTt,"AnnulusWedgeByLeafs",1836),x(1837,1,{},Lze),h.Dg=function(t){return Gbt(this,t)},k(tTt,"AnnulusWedgeByNodeSpace",1837),x(1449,1,Fi,Mze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Jgn(this,l(t,19),r)},k("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1449),x(818,1,{},que),h.Eg=function(t){},h.Fg=function(t){wZe(this,t)},k(Nve,"IDSorter",818),x(1835,1,Un,Pze),h.Le=function(t,r){return xhn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Nve,"IDSorter/lambda$0$Type",1835),x(1834,1,{},Tht),h.Eg=function(t){put(this,t)},h.Fg=function(t){var r;t.dc()||(this.e||(r=Qot(l(t.Xb(0),19)),put(this,r)),wZe(this.e,t))},k(Nve,"PolarCoordinateSorter",1834),x(441,23,{3:1,34:1,23:1,441:1},Xq);var s4,qB,_ne,Pxe=fn(oTt,"RectPackingLayoutPhases",441,bn,Tun,zin),aOt;x(1098,207,im,net),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;if(r.Tg("Rectangle Packing",1),N=l(ve(t,(ef(),u4)),100),y=Ye(Ke(ve(t,IOt))),T=ce(le(ve(t,l4))),ft=Ye(Ke(ve(t,Jxe))),de=(!t.a&&(t.a=new ke(En,t,10,11)),t.a),Ye(Ke(ve(t,Dne)))||P3((u=new OA((n1(),new Yp(t))),u)),dt=!1,ft&&de.i>=3)for(ye=l(ie(de,0),19),qe=l(ie(de,1),19),f=0;f+2<de.i;)if(Ee=ye,ye=qe,qe=l(ie(de,f+2),19),Ee.f>=ye.f+qe.f+T||qe.f>=Ee.f+ye.f+T){dt=!0;break}else++f;else dt=!0;if(!dt){for(R=de.i,m=new tn(de);m.e!=m.i.gc();)p=l(rn(m),19),Vn(p,(_n(),HL),Oe(R)),--R;fvt(t,new sS),r.Ug();return}for(o=(M3(this.a),pu(this.a,(Qj(),s4),l(ve(t,eke),173)),pu(this.a,qB,l(ve(t,Kxe),173)),pu(this.a,_ne,l(ve(t,Xxe),173)),cde(this.a,(Ct=new ci,$n(Ct,s4,(TF(),Nne)),$n(Ct,qB,kne),Ye(Ke(ve(t,Vxe)))&&$n(Ct,s4,Cne),Ye(Ke(ve(t,qxe)))&&$n(Ct,s4,xne),Ct)),FC(this.a,t)),v=1/o.c.length,U=new V(o);U.a<U.c.c.length;){if(M=l(q(U),43),r.Zg())return;M.If(t,r.dh(v))}for(J=0,G=0,oe=new tn(de);oe.e!=oe.i.gc();)re=l(rn(oe),19),J=b.Math.max(J,re.i+re.g),G=b.Math.max(G,re.j+re.f);ame(t,new Me(ce(le(ve(t,(yh(),$T)))),ce(le(ve(t,dk)))),new Me(J,G)),Jhn(de,N),y||M0(t,ce(le(ve(t,$T)))+(N.b+N.c),ce(le(ve(t,dk)))+(N.d+N.a),!1,!0),Ye(Ke(ve(t,Dne)))||P3((a=new OA((n1(),new Yp(t))),a)),r.Ug()},k(oTt,"RectPackingLayoutProvider",1098),x(1496,1,kr,jze),h.If=function(t,r){exn(l(t,19),r)},k(nI,"InteractiveNodeReorderer",1496),x(1497,1,Un,Fze),h.Le=function(t,r){return Lpn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(nI,"InteractiveNodeReorderer/lambda$0$Type",1497),x(406,23,{3:1,34:1,23:1,406:1,177:1},w8),h.bg=function(){switch(this.g){case 0:return new Hze;case 1:return new jze;case 2:return new Bze;case 3:return new $ze}return null};var xne,kne,Nne,Cne,cOt=fn(nI,UX,406,bn,Tln,Gin),uOt;x(1499,1,kr,$ze),h.If=function(t,r){D1n(l(t,19),r)},k(nI,"MinSizePostProcessor",1499),x(1498,1,kr,Bze),h.If=function(t,r){P2n(l(t,19),r)},k(nI,"MinSizePreProcessor",1498),x(1688,1,Un,Uze),h.Le=function(t,r){return utn(l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(nI,"NodeSizeComparator",1688),x(1495,1,kr,Hze),h.If=function(t,r){sln(l(t,19))},k(nI,"NodeSizeReorderer",1495);var a4,dk,$T,lOt,dOt,VB,Ine,Rne,c4,WB,sv;x(388,23,{3:1,34:1,23:1,388:1},Zq);var jxe,Fxe,One,$xe=fn(zZ,"OptimizationGoal",388,bn,wun,qin),fOt;x(857,1,td,sKe),h.tf=function(t){st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Cve),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(Lt(),!1)),(_1(),xi)),Yr),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ive),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),Oe(-1)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Rve),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),Oe(-1)),vo),_i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ove),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Dve),""),"Order nodes by height"),"If set to true the nodes will be sorted by their height before computing the layout. The largest node will be in the first position."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Lve),GZ),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),zxe),$r),rke),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Mve),GZ),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Pve),GZ),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),Hxe),$r),$xe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jve),GZ),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Fve),"packing"),sTt),"Strategy for finding an initial placement on nodes."),Bxe),$r),ske),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$ve),aTt),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Bve),aTt),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),Oe(1)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Uve),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),Uxe),$r),uke),lt(xt)))),zEt((new oKe,t))};var hOt,pOt,gOt,bOt,mOt,wOt,yOt,Bxe,vOt,EOt,Uxe,SOt,TOt,Hxe,AOt,zxe,_Ot;k(zZ,"RectPackingMetaDataProvider",857),x(1007,1,td,oKe),h.tf=function(t){zEt(t)};var KB,xOt,Gxe,OL,qxe,kOt,DL,NOt,COt,IOt,ROt,OOt,Dne,Vxe,Wxe,Lne,Kxe,u4,Yxe,DOt,l4,Jxe,Xxe,Zxe,Qxe,eke,Mne;k(zZ,"RectPackingOptions",1007),x(1008,1,{},zze),h.uf=function(){var t;return t=new net,t},h.vf=function(t){},k(zZ,"RectPackingOptions/RectpackingFactory",1008),x(1687,1,{},fot),h.a=0,h.c=!1,k(kx,"AreaApproximation",1687);var tke=Hr(kx,"BestCandidateFilter");x(671,1,{527:1},IG),h.Gg=function(t,r,o){var a,u,f,p,m,y;for(y=new je,f=Kr,m=new V(t);m.a<m.c.c.length;)p=l(q(m),241),f=b.Math.min(f,(p.c+(o.b+o.c))*(p.b+(o.d+o.a)));for(u=new V(t);u.a<u.c.c.length;)a=l(q(u),241),(a.c+(o.b+o.c))*(a.b+(o.d+o.a))==f&&Rt(y.c,a);return y},k(kx,"AreaFilter",671),x(672,1,{527:1},RG),h.Gg=function(t,r,o){var a,u,f,p,m,y;for(m=new je,y=Kr,p=new V(t);p.a<p.c.c.length;)f=l(q(p),241),y=b.Math.min(y,b.Math.abs((f.c+(o.b+o.c))/(f.b+(o.d+o.a))-r));for(u=new V(t);u.a<u.c.c.length;)a=l(q(u),241),b.Math.abs((a.c+(o.b+o.c))/(a.b+(o.d+o.a))-r)==y&&Rt(m.c,a);return m},k(kx,"AspectRatioFilter",672),x(1441,1,Fi,Gze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){HSn(l(t,19),r)},k(kx,"GreedyWidthApproximator",1441),x(670,1,{527:1},OG),h.Gg=function(t,r,o){var a,u,f,p,m,y;for(y=new je,f=Li,m=new V(t);m.a<m.c.c.length;)p=l(q(m),241),f=b.Math.max(f,aP(p.c+(o.b+o.c),p.b+(o.d+o.a),p.a));for(u=new V(t);u.a<u.c.c.length;)a=l(q(u),241),aP(a.c+(o.b+o.c),a.b+(o.d+o.a),a.a)==f&&Rt(y.c,a);return y},k(kx,"ScaleMeasureFilter",670),x(1442,1,Fi,qze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Mvn(l(t,19),r)},k(kx,"TargetWidthWidthApproximator",1442),x(481,23,{3:1,34:1,23:1,481:1,173:1,177:1},Wle),h.bg=function(){return emt(this)},h.og=function(){return emt(this)};var Pne,nke,rke=fn(kx,"WidthApproximationStrategy",481,bn,Scn,Qin),LOt;x(1443,1,Fi,Vze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){GNn(this,l(t,19),r)},k(F7,"Compactor",1443),x(1445,1,Fi,Wze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){SSn(l(t,19),r)},k(F7,"NoPlacement",1445),x(434,23,{3:1,34:1,23:1,434:1,173:1,177:1},Qq),h.bg=function(){return sgt(this)},h.og=function(){return sgt(this)};var jne,ike,oke,ske=fn(F7,"PackingStrategy",434,bn,Eun,eon),MOt;x(804,1,{},Zle),h.a=0,h.b=0,h.c=0,h.d=Kr,h.e=0,h.f=Kr,k(F7,"RowFillingAndCompaction",804),x(1444,1,Fi,Kze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){okn(l(t,19),r)},k(F7,"SimplePlacement",1444),x(1446,1,Fi,Yze),h.pg=function(t){return l(t,19),null},h.If=function(t,r){this.Hg(l(t,19),r)},h.Hg=function(t,r){Q0t(t,r)},k(Hve,"EqualWhitespaceEliminator",1446),x(1447,1446,Fi,Jze),h.Hg=function(t,r){var o,a,u,f,p;r.Tg("To Aspect Ratio Whitesapce Eliminator",1),p=ce(le(ve(t,(yh(),$T)))),f=ce(le(ve(t,dk))),u=ce(le(ve(t,(ef(),KB)))),o=ce(le(ve(t,a4))),a=p/f,a<u?(p=f*u,Vn(t,$T,p)):(o+=p/u-f,Vn(t,a4,o),Vn(t,dk,f+o)),Q0t(t,r),r.Ug()},k(Hve,"ToAspectratioNodeExpander",1447),x(435,23,{3:1,34:1,23:1,435:1,173:1,177:1},eV),h.bg=function(){return Qht(this)},h.og=function(){return Qht(this)};var ake,Fne,cke,uke=fn(Hve,"WhiteSpaceEliminationStrategy",435,bn,vun,ton),POt;x(175,1,{175:1},HK),h.a=0,h.c=!1,h.d=0,h.e=0,h.f=0,h.g=0,h.i=0,h.k=!1,h.o=Kr,h.p=Kr,h.r=0,h.s=0,h.t=0,k(zD,"Block",175),x(211,1,{211:1},PP),h.a=0,h.b=0,h.d=0,h.e=0,h.f=0,k(zD,"BlockRow",211),x(320,1,{320:1},Phe),h.b=0,h.c=0,h.d=0,h.e=0,h.f=0,k(zD,"BlockStack",320),x(241,1,{241:1},$fe,B1e),h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.g=0;var vCn=k(zD,"DrawingData",241);x(370,23,{3:1,34:1,23:1,370:1},vO);var BT,h2,d4,f4,LL,jOt=fn(zD,"DrawingDataDescriptor",370,bn,fdn,Win),FOt;x(189,1,{189:1},Jhe),h.b=0,h.c=0,h.e=0,h.f=0,k(zD,"RectRow",189),x(757,1,{},r1e),h.j=0,k(Py,fSt,757),x(1186,1,{},Xze),h.$e=function(t){return h1(t.a,t.b)},k(Py,Awe,1186),x(1187,1,{},dXe),h.$e=function(t){return Sdn(this.a,t)},k(Py,hSt,1187),x(1188,1,{},fXe),h.$e=function(t){return Abn(this.a,t)},k(Py,pSt,1188),x(1189,1,{},hXe),h.$e=function(t){return Spn(this.a,t)},k(Py,"ElkGraphImporter/lambda$3$Type",1189),x(1190,1,{},pXe),h.$e=function(t){return Xvn(this.a,t)},k(Py,gSt,1190),x(1095,207,im,ret),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M;for(Gu(t,(Y6(),QB))&&(M=In(ve(t,(CY(),Ike))),f=l0e(W3(),M),f&&(p=l(JO(f.f),207),p.kf(t,r.dh(1)))),Vn(t,qne,(o6(),ZB)),Vn(t,Vne,(J6(),Gne)),Vn(t,Wne,(x6(),eU)),m=l(ve(t,(CY(),kke)),15).a,r.Tg("Overlap removal",1),Ye(Ke(ve(t,i6t))),y=new pi,v=new gXe(y),a=new r1e,o=HEt(a,t),T=!0,u=0;u<m&&T;){if(Ye(Ke(ve(t,Nke)))){if(y.a.$b(),Zyn(new crt(v),o.i),y.a.gc()==0)break;o.e=y}for(M3(this.b),pu(this.b,(M6(),YB),(JN(),ML)),pu(this.b,JB,o.g),pu(this.b,XB,(X9(),Une)),this.a=FC(this.b,o),R=new V(this.a);R.a<R.c.c.length;)N=l(q(R),43),N.If(o,r.dh(1));E0n(a,o),T=Ye(Ke(F(o,(S_(),k2e)))),++u}eEt(a,o),r.Ug()},k(Py,"OverlapRemovalLayoutProvider",1095),x(1096,1,{},gXe),k(Py,"OverlapRemovalLayoutProvider/lambda$0$Type",1096),x(440,23,{3:1,34:1,23:1,440:1},tV);var YB,JB,XB,$ne=fn(Py,"SPOrEPhases",440,bn,Sun,Yin),$Ot;x(1196,1,{},iet),k(Py,"ShrinkTree",1196),x(1097,207,im,cQe),h.kf=function(t,r){var o,a,u,f,p;Gu(t,(Y6(),QB))&&(p=In(ve(t,QB)),u=l0e(W3(),p),u&&(f=l(JO(u.f),207),f.kf(t,r.dh(1)))),a=new r1e,o=HEt(a,t),_2n(this.a,o,r.dh(1)),eEt(a,o)},k(Py,"ShrinkTreeLayoutProvider",1097),x(311,151,{3:1,311:1,105:1,151:1},oct),h.c=!1,k("org.eclipse.elk.alg.spore.graph","Graph",311),x(480,23,{3:1,34:1,23:1,480:1,173:1,177:1},ntt),h.bg=function(){return kpt(this)},h.og=function(){return kpt(this)};var Bne,lke=fn(jy,QSt,480,bn,Can,Kin),BOt;x(550,23,{3:1,34:1,23:1,550:1,173:1,177:1},Zrt),h.bg=function(){return new Uce},h.og=function(){return new Uce};var Une,UOt=fn(jy,"OverlapRemovalStrategy",550,bn,Nan,Jin),HOt;x(433,23,{3:1,34:1,23:1,433:1},Kle);var ZB,Hne,dke=fn(jy,"RootSelection",433,bn,Ecn,Xin),zOt;x(331,23,{3:1,34:1,23:1,331:1},EO);var fke,zne,Gne,hke,pke,gke=fn(jy,"SpanningTreeCostFunction",331,bn,hdn,Zin),GOt;x(1005,1,td,uKe),h.tf=function(t){Ovt(t)};var bke,mke,qOt,VOt,wke,yke,qne,Vne,Wne,WOt,KOt,QB;k(jy,"SporeCompactionOptions",1005),x(1006,1,{},Zze),h.uf=function(){var t;return t=new cQe,t},h.vf=function(t){},k(jy,"SporeCompactionOptions/SporeCompactionFactory",1006),x(856,1,td,lKe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,qZ),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(_1(),HT)),Je),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,KZ),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),_ke),$r),Rke),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zve),YZ),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),Tke),$r),Dke),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Gve),YZ),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),Ske),$r),gke),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,VZ),YZ),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),HT),Je),lt(xt)))),zr(t,VZ,WZ,e6t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,WZ),YZ),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),Eke),$r),dke),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,qve),yye),sTt),"This option defines how the compaction is applied."),vke),$r),lke),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Vve),yye),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(Lt(),!1)),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Wve),uTt),"Upper limit for iterations of overlap removal"),null),Oe(64)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Kve),uTt),"Whether to run a supplementary scanline overlap check."),null),!0),xi),Yr),lt(xt)))),Lyt((new dKe,t)),Ovt((new uKe,t))};var YOt,vke,JOt,XOt,ZOt,QOt,e6t,t6t,Eke,n6t,Ske,r6t,Tke,Ake,_ke,xke;k(jy,"SporeMetaDataProvider",856),x(1003,1,td,dKe),h.tf=function(t){Lyt(t)};var i6t,kke,Nke,Cke,o6t,Ike;k(jy,"SporeOverlapRemovalOptions",1003),x(1004,1,{},Qze),h.uf=function(){var t;return t=new ret,t},h.vf=function(t){},k(jy,"SporeOverlapRemovalOptions/SporeOverlapFactory",1004),x(531,23,{3:1,34:1,23:1,531:1,173:1,177:1},rat),h.bg=function(){return Npt(this)},h.og=function(){return Npt(this)};var ML,Rke=fn(jy,"StructureExtractionStrategy",531,bn,Ian,non),s6t;x(432,23,{3:1,34:1,23:1,432:1,173:1,177:1},Yle),h.bg=function(){return Pgt(this)},h.og=function(){return Pgt(this)};var Oke,eU,Dke=fn(jy,"TreeConstructionStrategy",432,bn,Tcn,ron),a6t;x(1435,1,Fi,oGe),h.pg=function(t){return l(t,311),new ci},h.If=function(t,r){A0n(l(t,311),r)},k(lTt,"DelaunayTriangulationPhase",1435),x(1436,1,nn,bXe),h.Ad=function(t){Fe(this.a,l(t,68).a)},k(lTt,"DelaunayTriangulationPhase/lambda$0$Type",1436),x(788,1,Fi,Gue),h.pg=function(t){return l(t,311),new ci},h.If=function(t,r){this.Ig(l(t,311),r)},h.Ig=function(t,r){var o,a,u;r.Tg("Minimum spanning tree construction",1),t.d?a=t.d.a:a=l(ze(t.i,0),68).a,Ye(Ke(F(t,(S_(),EI))))?u=BJ(t.e,a,(o=t.b,o)):u=BJ(t.e,a,t.b),apt(this,u,t),r.Ug()},k(JZ,"MinSTPhase",788),x(1438,788,Fi,VZe),h.Ig=function(t,r){var o,a,u,f;r.Tg("Maximum spanning tree construction",1),o=new mXe(t),t.d?u=t.d.c:u=l(ze(t.i,0),68).c,Ye(Ke(F(t,(S_(),EI))))?f=BJ(t.e,u,(a=o,a)):f=BJ(t.e,u,o),apt(this,f,t),r.Ug()},k(JZ,"MaxSTPhase",1438),x(1439,1,{},mXe),h.$e=function(t){return Jen(this.a,t)},k(JZ,"MaxSTPhase/lambda$0$Type",1439),x(1437,1,nn,wXe),h.Ad=function(t){Mtn(this.a,l(t,68))},k(JZ,"MinSTPhase/lambda$0$Type",1437),x(790,1,Fi,Uce),h.pg=function(t){return l(t,311),new ci},h.If=function(t,r){Pwn(this,l(t,311),r)},h.a=!1,k(XZ,"GrowTreePhase",790),x(791,1,nn,vfe),h.Ad=function(t){fpn(this.a,this.b,this.c,l(t,227))},k(XZ,"GrowTreePhase/lambda$0$Type",791),x(1440,1,Fi,sGe),h.pg=function(t){return l(t,311),new ci},h.If=function(t,r){Kbn(this,l(t,311),r)},k(XZ,"ShrinkTreeCompactionPhase",1440),x(789,1,nn,Efe),h.Ad=function(t){wEn(this.a,this.b,this.c,l(t,227))},k(XZ,"ShrinkTreeCompactionPhase/lambda$0$Type",789),x(389,23,{3:1,34:1,23:1,389:1},Jle);var Lke,Kne,Mke=fn(Yve,"EdgeRoutingStrategy",389,bn,_cn,ion),c6t,uw,Sm,fk,Yne,hk,u6t,PL,Xf,av,h4;x(396,23,{3:1,34:1,23:1,396:1},y8);var Jne,Xne,Zne,Qne,Pke=fn(Yve,"VertiFlexLayoutPhases",396,bn,_ln,oon),l6t;x(1099,207,im,oet),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R;if(o=TEn(this,t),r.Tg(zSt,o.c.length),this.b=ce(le(ve(t,(_n(),Od)))),Ye(Ke(ve(t,(QS(),$ke))))||P3((a=new OA((n1(),new Yp(t))),a)),R=wwn(t),Vn(t,(wh(),h4),R),!R)throw Y(new _f(JSt));for(f=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));f.e!=f.i.gc();){if(u=l(rn(f),19),v=(!u.d&&(u.d=new Tt(Ir,u,8,5)),u.d).i,v>1)throw Y(new _f("The given graph is not an acyclic tree!"));va(u,0),gc(u,0)}for(Gvt(this,R,0),p=0,y=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));y.e!=y.i.gc();)m=l(rn(y),19),Vn(m,PL,Oe(p)),p+=1;for(N=new V(o);N.a<N.c.c.length;)T=l(q(N),43),T.If(t,r.dh(1));g2n(t),r.Ug()},h.b=0,k(Yve,"VertiFlexLayoutProvider",1099),x(858,1,td,fKe),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Jve),""),"Fixed vertical position"),"The Y position that the node should be fixed at."),(_1(),Qi)),fi),lt((Jd(),ri))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Xve),""),"Edge layout strategy"),"Strategy for the layout of the children. 'straight' for straight line drawings, 'bend' for a possible bend. When straight edges are prioritized the nodes will be reordered in order to guarantee that straight edges are possible. If bend points are enabled on the other hand, the given model order of the nodes is maintained and bend points are introduced to prevent edge node overlaps."),jke),$r),Mke),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Zve),""),"Layer distance"),"The distance to use between nodes of different layers if no vertical constraints are set."),50),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Qve),""),"Consider node model order"),"Consider node model as a secondary criterion when using straight line routing."),(Lt(),!0)),xi),Yr),lt(xt)))),Uvt((new hKe,t))};var d6t,f6t,h6t,jke,p6t;k(eEe,"VertiFlexMetaDataProvider",858),x(1009,1,td,hKe),h.tf=function(t){Uvt(t)};var ere,g6t,Fke,tre,b6t,$ke,Bke,m6t,pk;k(eEe,"VertiFlexOptions",1009),x(1010,1,{},aGe),h.uf=function(){var t;return t=new oet,t},h.vf=function(t){},k(eEe,"VertiFlexOptions/VertiflexFactory",1010),x(1450,1,Fi,cGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){Pyn(this,l(t,19),r)},h.a=0,h.b=0,k(dTt,"NodeYPlacer",1450),x(557,23,{3:1,34:1,23:1,557:1,173:1,177:1},tst),h.bg=function(){return Cpt(this)},h.og=function(){return Cpt(this)};var nre,w6t=fn(dTt,"NodeYPlacerStrategy",557,bn,_an,son),y6t;x(824,1,Un,Aue),h.Le=function(t,r){return bmn(this,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=!1,k(ZZ,"NodeComparator",824),x(107,1,{107:1},Qc),h.Ib=function(){return"X:"+this.c+", Y:"+this.a},h.a=0,h.c=0,k(ZZ,"OutlineNode",107),x(1451,1,Fi,uGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){s2n(this,l(t,19),r)},h.a=!1,h.b=0,k(ZZ,"RelativeXPlacer",1451),x(558,23,{3:1,34:1,23:1,558:1,173:1,177:1},est),h.bg=function(){return Ipt(this)},h.og=function(){return Ipt(this)};var rre,v6t=fn(ZZ,"RelativeXPlacerStrategy",558,bn,xan,aon),E6t;x(1452,1,Fi,tGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){qmn(this,l(t,19),r)},k(fTt,"AbsoluteXPlacer",1452),x(559,23,{3:1,34:1,23:1,559:1,173:1,177:1},kst),h.bg=function(){return Rpt(this)},h.og=function(){return Rpt(this)};var ire,S6t=fn(fTt,"AbsoluteXPlacerStrategy",559,bn,kan,con),T6t;x(1454,1,Fi,nGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){p1n(this,l(t,19),r)},k(tEe,hTt,1454),x(498,23,{3:1,34:1,23:1,498:1,173:1,177:1},Xle),h.bg=function(){return Wbt(this)},h.og=function(){return Wbt(this)};var ore,sre,A6t=fn(tEe,"EdgerouterStrategy",498,bn,Acn,uon),_6t;x(1453,1,Fi,rGe),h.pg=function(t){return l(t,19),null},h.If=function(t,r){J1n(this,l(t,19),r)},k(tEe,pTt,1453);var Uke=Hr(Vs,"IGraphElementVisitor");x(862,1,{528:1},Gct),h.Jg=function(t){var r;r=ITn(this,t),qs(r,l(Ut(this.b,t),105)),S2n(this,t,r)};var x6t,k6t;k(ME,"LayoutConfigurator",862);var ECn=Hr(ME,"LayoutConfigurator/IPropertyHolderOptionFilter");x(935,1,{837:1},eGe),h.Lg=function(t,r){return qS(),!t.nf(r)},k(ME,"LayoutConfigurator/lambda$0$Type",935),x(936,1,{2011:1},iGe),h.Kg=function(t,r){return qS(),!t.nf(r)},k(ME,"LayoutConfigurator/lambda$1$Type",936),x(937,1,{2011:1},SZt),h.Kg=function(t,r){return set(t,r)},k(ME,"LayoutConfigurator/lambda$2$Type",937),x(938,1,Mn,Vtt),h.Mb=function(t){return Ean(this.a,this.b,l(t,2011))},k(ME,"LayoutConfigurator/lambda$3$Type",938),x(860,1,{},lGe),k(ME,"RecursiveGraphLayoutEngine",860),x(194,63,vp,TZe,_f),k(ME,"UnsupportedConfigurationException",194),x(367,63,vp,uS),k(ME,"UnsupportedGraphException",367),x(756,1,{}),k(Vs,"AbstractRandomListAccessor",756),x(403,756,{},X_),h.Mg=function(){return null},h.d=!0,h.e=!0,h.f=0,k(Cx,"AlgorithmAssembler",403),x(1181,1,Mn,dGe),h.Mb=function(t){return!!l(t,86)},k(Cx,"AlgorithmAssembler/lambda$0$Type",1181),x(1182,1,{},yXe),h.Kb=function(t){return len(this.a,l(t,86))},k(Cx,"AlgorithmAssembler/lambda$1$Type",1182),x(1183,1,Mn,fGe),h.Mb=function(t){return!!l(t,75)},k(Cx,"AlgorithmAssembler/lambda$2$Type",1183),x(1184,1,nn,vXe),h.Ad=function(t){yu(this.a,l(t,75))},k(Cx,"AlgorithmAssembler/lambda$3$Type",1184),x(1185,1,nn,Wtt),h.Ad=function(t){Dnn(this.a,this.b,l(t,177))},k(Cx,"AlgorithmAssembler/lambda$4$Type",1185),x(1311,1,Un,hGe),h.Le=function(t,r){return Zan(l(t,177),l(r,177))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Cx,"EnumBasedFactoryComparator",1311),x(75,756,{75:1},ci),h.Mg=function(){return new pi},h.a=0,k(Cx,"LayoutProcessorConfiguration",75),x(1018,1,{528:1},pKe),h.Jg=function(t){S6(C6t,new EXe(t))};var N6t,C6t,I6t;k(Ns,"DeprecatedLayoutOptionReplacer",1018),x(1019,1,nn,pGe),h.Ad=function(t){ofn(l(t,176))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1019),x(1020,1,nn,gGe),h.Ad=function(t){k1n(l(t,176))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1020),x(1021,1,{},EXe),h.Wd=function(t,r){Rnn(this.a,l(t,149),l(r,42))},k(Ns,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1021),x(144,1,{697:1,144:1},Qb),h.Fb=function(t){return hpe(this,t)},h.Ng=function(){return this.b},h.Og=function(){return this.c},h.ve=function(){return this.e},h.Hb=function(){return lg(this.c)},h.Ib=function(){return"Layout Algorithm: "+this.c};var SCn=k(Ns,"LayoutAlgorithmData",144);x(271,1,{},vb),k(Ns,"LayoutAlgorithmData/Builder",271),x(714,1,{528:1},bGe),h.Jg=function(t){Vut(t)},k(Ns,"LayoutAlgorithmResolver",714),x(236,1,{697:1,236:1},LS),h.Fb=function(t){return se(t,236)?wt(this.b,l(t,236).b):!1},h.Ng=function(){return this.a},h.Og=function(){return this.b},h.ve=function(){return this.d},h.Hb=function(){return lg(this.b)},h.Ib=function(){return"Layout Type: "+this.b},k(Ns,"LayoutCategoryData",236),x(358,1,{},eS),k(Ns,"LayoutCategoryData/Builder",358),x(869,1,{},Eyt);var are;k(Ns,"LayoutMetaDataService",869),x(870,1,{},Kst),k(Ns,"LayoutMetaDataService/Registry",870),x(478,1,{478:1},Hce),k(Ns,"LayoutMetaDataService/Registry/Triple",478),x(871,1,$E,mGe),h.Pg=function(){return new ro},k(Ns,"LayoutMetaDataService/lambda$0$Type",871),x(872,1,Fy,wGe),h.Qg=function(t){return Ao(l(t,8))},k(Ns,"LayoutMetaDataService/lambda$1$Type",872),x(881,1,$E,yGe),h.Pg=function(){return new je},k(Ns,"LayoutMetaDataService/lambda$10$Type",881),x(882,1,Fy,vGe),h.Qg=function(t){return new Tc(l(t,13))},k(Ns,"LayoutMetaDataService/lambda$11$Type",882),x(883,1,$E,EGe),h.Pg=function(){return new Ar},k(Ns,"LayoutMetaDataService/lambda$12$Type",883),x(884,1,Fy,SGe),h.Qg=function(t){return UO(l(t,66))},k(Ns,"LayoutMetaDataService/lambda$13$Type",884),x(885,1,$E,TGe),h.Pg=function(){return new pi},k(Ns,"LayoutMetaDataService/lambda$14$Type",885),x(886,1,Fy,AGe),h.Qg=function(t){return AW(l(t,47))},k(Ns,"LayoutMetaDataService/lambda$15$Type",886),x(887,1,$E,_Ge),h.Pg=function(){return new ch},k(Ns,"LayoutMetaDataService/lambda$16$Type",887),x(888,1,Fy,xGe),h.Qg=function(t){return WP(l(t,47))},k(Ns,"LayoutMetaDataService/lambda$17$Type",888),x(889,1,$E,kGe),h.Pg=function(){return new tq},k(Ns,"LayoutMetaDataService/lambda$18$Type",889),x(890,1,Fy,NGe),h.Qg=function(t){return Sot(l(t,143))},k(Ns,"LayoutMetaDataService/lambda$19$Type",890),x(873,1,$E,CGe),h.Pg=function(){return new Lc},k(Ns,"LayoutMetaDataService/lambda$2$Type",873),x(874,1,Fy,IGe),h.Qg=function(t){return new U9(l(t,79))},k(Ns,"LayoutMetaDataService/lambda$3$Type",874),x(875,1,$E,RGe),h.Pg=function(){return new FN},k(Ns,"LayoutMetaDataService/lambda$4$Type",875),x(876,1,Fy,OGe),h.Qg=function(t){return new PV(l(t,125))},k(Ns,"LayoutMetaDataService/lambda$5$Type",876),x(877,1,$E,DGe),h.Pg=function(){return new oS},k(Ns,"LayoutMetaDataService/lambda$6$Type",877),x(878,1,Fy,LGe),h.Qg=function(t){return new yfe(l(t,100))},k(Ns,"LayoutMetaDataService/lambda$7$Type",878),x(879,1,$E,MGe),h.Pg=function(){return new DG},k(Ns,"LayoutMetaDataService/lambda$8$Type",879),x(880,1,Fy,PGe),h.Qg=function(t){return new Qdt(l(t,380))},k(Ns,"LayoutMetaDataService/lambda$9$Type",880);var cre=Hr(kD,"IProperty");x(21,1,{34:1,697:1,21:1,149:1},Ze),h.Dd=function(t){return Xtn(this,l(t,149))},h.Fb=function(t){return se(t,21)?wt(this.f,l(t,21).f):se(t,149)&&wt(this.f,l(t,149).Og())},h.Rg=function(){var t;if(se(this.b,4)){if(t=U1e(this.b),t==null)throw Y(new ts(wTt+this.f+"'. Make sure it's type is registered with the "+(np(c5),c5.k)+nEe));return t}else return this.b},h.Ng=function(){return this.d},h.Og=function(){return this.f},h.ve=function(){return this.i},h.Hb=function(){return lg(this.f)},h.Ib=function(){return"Layout Option: "+this.f},k(Ns,"LayoutOptionData",21),x(25,1,{},Xe),k(Ns,"LayoutOptionData/Builder",25),x(161,23,{3:1,34:1,23:1,161:1},SO);var Rd,Np,ri,xt,Cg,uf=fn(Ns,"LayoutOptionData/Target",161,bn,bdn,lon),R6t;x(287,23,{3:1,34:1,23:1,287:1},gS);var xi,Qi,$r,UT,vo,lf,HT,Hke,O6t=fn(Ns,"LayoutOptionData/Type",287,bn,Cfn,don),D6t,p4,zke;x(120,1,{120:1},wS,ql,RP),h.Fb=function(t){var r;return t==null||!se(t,120)?!1:(r=l(t,120),ia(this.c,r.c)&&ia(this.d,r.d)&&ia(this.b,r.b)&&ia(this.a,r.a))},h.Hb=function(){return $j(Z(X(Ri,1),It,1,5,[this.c,this.d,this.b,this.a]))},h.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},h.a=0,h.b=0,h.c=0,h.d=0,k(PD,"ElkRectangle",120),x(8,1,{3:1,4:1,8:1,419:1},ro,OW,Me,To),h.Fb=function(t){return dht(this,t)},h.Hb=function(){return mS(this.a)+Amn(mS(this.b))},h.ag=function(t){var r,o,a,u;for(a=0;a<t.length&&Zpt((Jt(a,t.length),t.charCodeAt(a)),aSt);)++a;for(r=t.length;r>0&&Zpt((Jt(r-1,t.length),t.charCodeAt(r-1)),cSt);)--r;if(a>=r)throw Y(new jt("The given string does not contain any numbers."));if(u=Cy((io(a,r,t.length),t.substr(a,r-a)),`,|;|\r|
`),u.length!=2)throw Y(new jt("Exactly two numbers are expected, "+u.length+" were found."));try{this.a=Sy(Ty(u[0])),this.b=Sy(Ty(u[1]))}catch(f){throw f=ui(f),se(f,133)?(o=f,Y(new jt(uSt+o))):Y(f)}},h.Ib=function(){return"("+this.a+","+this.b+")"},h.a=0,h.b=0;var $i=k(PD,"KVector",8);x(79,66,{3:1,4:1,22:1,32:1,56:1,18:1,66:1,16:1,79:1,419:1},Lc,U9,nit),h.Nc=function(){return Gpn(this)},h.ag=function(t){var r,o,a,u,f,p;a=Cy(t,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),tu(this);try{for(o=0,f=0,u=0,p=0;o<a.length;)a[o]!=null&&Ty(a[o]).length>0&&(f%2==0?u=Sy(a[o]):p=Sy(a[o]),f>0&&f%2!=0&&Gn(this,new Me(u,p)),++f),++o}catch(m){throw m=ui(m),se(m,133)?(r=m,Y(new jt("The given string does not match the expected format for vectors."+r))):Y(m)}},h.Ib=function(){var t,r,o;for(t=new fu("("),r=An(this,0);r.b!=r.d.c;)o=l(Sn(r),8),zn(t,o.a+","+o.b),r.b!=r.d.c&&(t.a+="; ");return(t.a+=")",t).a};var Gke=k(PD,"KVectorChain",79);x(259,23,{3:1,34:1,23:1,259:1},s3);var ure,tU,nU,jL,FL,rU,qke=fn(Fa,"Alignment",259,bn,Wdn,fon),L6t;x(984,1,td,gKe),h.tf=function(t){Kyt(t)};var Vke,lre,M6t,Wke,Kke,P6t,Yke,j6t,F6t,Jke,Xke,$6t;k(Fa,"BoxLayouterOptions",984),x(985,1,{},jGe),h.uf=function(){var t;return t=new BGe,t},h.vf=function(t){},k(Fa,"BoxLayouterOptions/BoxFactory",985),x(300,23,{3:1,34:1,23:1,300:1},a3);var g4,dre,b4,m4,w4,fre,hre=fn(Fa,"ContentAlignment",300,bn,Vdn,hon),B6t;x(696,1,td,Wce),h.tf=function(t){st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,vTt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(_1(),HT)),Je),lt((Jd(),xt))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,ETt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),lf),SCn),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Fye),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Zke),$r),qke),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,mx),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,oEe),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),lf),Gke),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,I7),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),eNe),UT),hre),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,UD),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Lt(),!1)),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xZ),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),tNe),$r),E4),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,BD),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),iNe),$r),xre),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,rEe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,C7),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),sNe),$r),YNe),xr(xt,Z(X(uf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,B0),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),mNe),lf),J2e),xr(xt,Z(X(uf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,wx),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,O7),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,yx),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,d7),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),SNe),$r),ZNe),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,R7),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),lf),$i),xr(ri,Z(X(uf,1),Ce,161,0,[Cg,Np]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,CD),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),vo),_i),xr(ri,Z(X(uf,1),Ce,161,0,[Rd]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,l7),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,WC),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Yye),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),uNe),lf),Gke),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Qye),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eve),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Y3n),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),lf),NCn),xr(xt,Z(X(uf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,STt),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),Qi),fi),lt(Np)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,CZ),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),lNe),lf),Y2e),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Pye),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),xi),Yr),xr(ri,Z(X(uf,1),Ce,161,0,[Rd,Cg,Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,TTt),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Qi),fi),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,ATt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,_Tt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,RD),""),gTt),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),xi),Yr),lt(xt)))),zr(t,RD,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xTt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kTt),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Oe(100)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,NTt),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,CTt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Oe(4e3)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ITt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Oe(400)),vo),_i),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,RTt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,OTt),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,DTt),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,LTt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,iEe),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),Qke),$r),d3e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,MTt),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),cNe),$r),t3e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PTt),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),aNe),$r),PNe),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Aye),of),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_ye),of),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,xye),of),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kye),of),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jX),of),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,_Z),of),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Nye),of),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Rye),of),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Cye),of),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Iye),of),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$0),of),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Oye),of),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Qi),fi),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Dye),of),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Qi),fi),xr(xt,Z(X(uf,1),Ce,161,0,[ri]))))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Lye),of),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),lf),PDt),xr(ri,Z(X(uf,1),Ce,161,0,[Rd,Cg,Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,nve),of),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),ONe),lf),Y2e),lt(xt)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,NZ),$Tt),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),vo),_i),xr(xt,Z(X(uf,1),Ce,161,0,[ri]))))),zr(t,NZ,kZ,Z6t),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,kZ),$Tt),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),wNe),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Uye),BTt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),fNe),lf),J2e),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Ex),BTt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),hNe),UT),Go),xr(ri,Z(X(uf,1),Ce,161,0,[Np]))))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Gye),B7),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),vNe),$r),_4),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,qye),B7),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),$r),_4),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Vye),B7),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),$r),_4),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Wye),B7),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),$r),_4),lt(ri)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Kye),B7),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),$r),_4),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,PE),nQ),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),pNe),UT),N4),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,bT),nQ),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),bNe),UT),n3e),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,mT),nQ),"Node Size Minimum"),"The minimal size to which a node can be reduced."),gNe),lf),$i),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,vx),nQ),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),xi),Yr),lt(xt)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Xye),AZ),"Edge Label Placement"),"Gives a hint on where to put edge labels."),nNe),$r),jNe),lt(Np)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,ID),AZ),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),xi),Yr),lt(Np)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,J3n),"font"),"Font Name"),"Font name used for a label."),HT),Je),lt(Np)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,jTt),"font"),"Font Size"),"Font size used for a label."),vo),_i),lt(Np)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,tve),rQ),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),lf),$i),lt(Cg)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Zye),rQ),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),vo),_i),lt(Cg)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,jye),rQ),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),_Ne),$r),Oo),lt(Cg)))),st(t,new Ze(it(rt(ot(Qe(nt(et(tt(new Xe,Mye),rQ),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Qi),fi),lt(Cg)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Sx),cEe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),TNe),UT),dU),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Hye),cEe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,zye),cEe),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,eQ),Rx),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),Oe(3)),vo),_i),lt(xt)))),zr(t,eQ,tQ,lDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,sEe),Rx),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),Oe(4)),vo),_i),lt(xt)))),zr(t,sEe,eQ,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,OD),Rx),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Qi),fi),lt(xt)))),zr(t,OD,U0,aDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,tQ),Rx),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),lf),TCn),lt(ri)))),zr(t,tQ,U0,cDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,DD),Rx),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Qi),fi),xr(xt,Z(X(uf,1),Ce,161,0,[ri]))))),zr(t,DD,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,LD),Rx),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Qi),fi),xr(xt,Z(X(uf,1),Ce,161,0,[ri]))))),zr(t,LD,U0,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,U0),Rx),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),$r),i3e),lt(ri)))),zr(t,U0,vx,null),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,aEe),Rx),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Qi),fi),lt(xt)))),zr(t,aEe,U0,sDt),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,$ye),UTt),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),xi),Yr),lt(ri)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Bye),UTt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xi),Yr),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,Jye),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Qi),fi),lt(Rd)))),st(t,new Ze(it(rt(ot(gt(Qe(nt(et(tt(new Xe,FTt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),oNe),$r),zNe),lt(Rd)))),XN(t,new LS(qN(FA(jA(new eS,$t),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),XN(t,new LS(qN(FA(jA(new eS,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),XN(t,new LS(qN(FA(jA(new eS,Ga),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),XN(t,new LS(qN(FA(jA(new eS,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),XN(t,new LS(qN(FA(jA(new eS,gve),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),XN(t,new LS(qN(FA(jA(new eS,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),XN(t,new LS(qN(FA(jA(new eS,Qu),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Oyt((new bKe,t)),Kyt((new gKe,t)),ryt((new mKe,t))};var zT,U6t,Zke,gk,H6t,z6t,Qke,cv,uv,G6t,$L,eNe,BL,Tm,tNe,iU,pre,nNe,rNe,iNe,q6t,oNe,V6t,p2,sNe,W6t,UL,gre,y4,bre,K6t,aNe,Y6t,cNe,g2,uNe,Cp,lNe,dNe,fNe,b2,hNe,Am,pNe,lv,m2,gNe,q1,bNe,oU,v4,df,mNe,J6t,wNe,X6t,Z6t,yNe,vNe,mre,wre,yre,vre,ENe,zc,bk,SNe,Ere,Sre,dv,TNe,ANe,w2,_Ne,GT,HL,Tre,fv,Q6t,Are,eDt,tDt,nDt,rDt,xNe,kNe,qT,NNe,sU,CNe,INe,Od,iDt,RNe,ONe,DNe,mk,hv,wk,VT,oDt,sDt,aU,aDt,cU,cDt,uDt,lDt,dDt;k(Fa,"CoreOptions",696),x(87,23,{3:1,34:1,23:1,87:1},TO);var ff,cs,fs,hf,il,E4=fn(Fa,"Direction",87,bn,ndn,pon),fDt;x(280,23,{3:1,34:1,23:1,280:1},v8);var uU,zL,LNe,MNe,PNe=fn(Fa,"EdgeCoords",280,bn,xln,gon),hDt;x(281,23,{3:1,34:1,23:1,281:1},nV);var yk,pv,vk,jNe=fn(Fa,"EdgeLabelPlacement",281,bn,xun,bon),pDt;x(225,23,{3:1,34:1,23:1,225:1},E8);var Ek,GL,WT,_re,xre=fn(Fa,"EdgeRouting",225,bn,kln,mon),gDt;x(328,23,{3:1,34:1,23:1,328:1},c3);var FNe,$Ne,BNe,UNe,kre,HNe,zNe=fn(Fa,"EdgeType",328,bn,qdn,won),bDt;x(982,1,td,bKe),h.tf=function(t){Oyt(t)};var GNe,qNe,VNe,WNe,mDt,KNe,S4;k(Fa,"FixedLayouterOptions",982),x(983,1,{},FGe),h.uf=function(){var t;return t=new WGe,t},h.vf=function(t){},k(Fa,"FixedLayouterOptions/FixedFactory",983),x(348,23,{3:1,34:1,23:1,348:1},rV);var Ig,lU,T4,YNe=fn(Fa,"HierarchyHandling",348,bn,Nun,yon),wDt,TCn=Hr(Fa,"ITopdownSizeApproximator");x(293,23,{3:1,34:1,23:1,293:1},S8);var Ih,V1,qL,VL,yDt=fn(Fa,"LabelSide",293,bn,Nln,von),vDt;x(96,23,{3:1,34:1,23:1,96:1},Xv);var Ip,ad,Cl,cd,ku,ud,Il,Rh,ld,Go=fn(Fa,"NodeLabelPlacement",96,bn,Jfn,Eon),EDt;x(260,23,{3:1,34:1,23:1,260:1},AO);var JNe,A4,W1,XNe,WL,_4=fn(Fa,"PortAlignment",260,bn,mdn,Son),SDt;x(103,23,{3:1,34:1,23:1,103:1},u3);var _m,fa,Oh,Sk,pf,K1,ZNe=fn(Fa,"PortConstraints",103,bn,Kdn,Ton),TDt;x(282,23,{3:1,34:1,23:1,282:1},l3);var x4,k4,Rp,KL,Y1,KT,dU=fn(Fa,"PortLabelPlacement",282,bn,Ydn,Aon),ADt;x(64,23,{3:1,34:1,23:1,64:1},_O);var Qt,Vt,ol,sl,ic,Wa,gf,dd,Ic,vc,ka,Rc,oc,sc,fd,Nu,Cu,Rl,dn,Is,Wt,Oo=fn(Fa,"PortSide",64,bn,rdn,xon),_Dt;x(986,1,td,mKe),h.tf=function(t){ryt(t)};var xDt,kDt,QNe,NDt,CDt;k(Fa,"RandomLayouterOptions",986),x(987,1,{},$Ge),h.uf=function(){var t;return t=new XGe,t},h.vf=function(t){},k(Fa,"RandomLayouterOptions/RandomFactory",987),x(301,23,{3:1,34:1,23:1,301:1},iV);var YL,Nre,e3e,t3e=fn(Fa,"ShapeCoords",301,bn,_un,_on),IDt;x(381,23,{3:1,34:1,23:1,381:1},T8);var gv,JL,XL,xm,N4=fn(Fa,"SizeConstraint",381,bn,Cln,kon),RDt;x(267,23,{3:1,34:1,23:1,267:1},Zv);var ZL,fU,Tk,Cre,QL,C4,hU,pU,gU,n3e=fn(Fa,"SizeOptions",267,bn,rhn,Non),ODt;x(283,23,{3:1,34:1,23:1,283:1},oV);var bv,r3e,bU,i3e=fn(Fa,"TopdownNodeTypes",283,bn,kun,Con),DDt;x(290,23,H7);var o3e,Ire,s3e,a3e,e5=fn(Fa,"TopdownSizeApproximator",290,bn,Iln,Ion);x(978,290,H7,Uot),h.Sg=function(t){return P1t(t)},fn(Fa,"TopdownSizeApproximator/1",978,e5,null,null),x(979,290,H7,_st),h.Sg=function(t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft,Ct;for(r=l(ve(t,(_n(),fv)),144),qe=(t1(),M=new $N,M),nD(qe,t),dt=new hn,f=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));f.e!=f.i.gc();)a=l(rn(f),19),oe=(R=new $N,R),PF(oe,qe),nD(oe,a),Ct=P1t(a),i0(oe,b.Math.max(a.g,Ct.a),b.Math.max(a.f,Ct.b)),ec(dt.f,a,oe);for(u=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));u.e!=u.i.gc();)for(a=l(rn(u),19),T=new tn((!a.e&&(a.e=new Tt(Ir,a,7,4)),a.e));T.e!=T.i.gc();)v=l(rn(T),74),Ee=l(Ss(ns(dt.f,a)),19),ye=l(Ut(dt,ie((!v.c&&(v.c=new Tt(pn,v,5,8)),v.c),0)),19),de=(N=new MG,N),Tn((!de.b&&(de.b=new Tt(pn,de,4,7)),de.b),Ee),Tn((!de.c&&(de.c=new Tt(pn,de,5,8)),de.c),ye),MF(de,Br(Ee)),nD(de,v);G=l(JO(r.f),207);try{G.kf(qe,new LG),vhe(r.f,G)}catch(Ot){throw Ot=ui(Ot),se(Ot,102)?(U=Ot,Y(U)):Y(Ot)}return Gu(qe,uv)||Gu(qe,cv)||WJ(qe),y=ce(le(ve(qe,uv))),m=ce(le(ve(qe,cv))),p=y/m,o=ce(le(ve(qe,hv)))*b.Math.sqrt((!qe.a&&(qe.a=new ke(En,qe,10,11)),qe.a).i),ft=l(ve(qe,df),100),re=ft.b+ft.c+1,J=ft.d+ft.a+1,new Me(b.Math.max(re,o),b.Math.max(J,o/p))},fn(Fa,"TopdownSizeApproximator/2",979,e5,null,null),x(980,290,H7,Zat),h.Sg=function(t){var r,o,a,u,f,p;return o=ce(le(ve(t,(_n(),hv)))),r=o/ce(le(ve(t,mk))),a=f_n(t),f=l(ve(t,df),100),u=ce(le(Ge(Od))),Br(t)&&(u=ce(le(ve(Br(t),Od)))),p=tp(new Me(o,r),a),mr(p,new Me(-(f.b+f.c)-u,-(f.d+f.a)-u))},fn(Fa,"TopdownSizeApproximator/3",980,e5,null,null),x(981,290,H7,xst),h.Sg=function(t){var r,o,a,u,f,p,m,y,v,T;for(p=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));p.e!=p.i.gc();)f=l(rn(p),19),ve(f,(_n(),cU))!=null&&(!f.a&&(f.a=new ke(En,f,10,11)),!!f.a)&&(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i>0?(o=l(ve(f,cU),525),T=o.Sg(f),v=l(ve(f,df),100),i0(f,b.Math.max(f.g,T.a+v.b+v.c),b.Math.max(f.f,T.b+v.d+v.a))):(!f.a&&(f.a=new ke(En,f,10,11)),f.a).i!=0&&i0(f,ce(le(ve(f,hv))),ce(le(ve(f,hv)))/ce(le(ve(f,mk))));r=l(ve(t,(_n(),fv)),144),y=l(JO(r.f),207);try{y.kf(t,new LG),vhe(r.f,y)}catch(N){throw N=ui(N),se(N,102)?(m=N,Y(m)):Y(N)}return Vn(t,zT,Ox),Vut(t),WJ(t),u=ce(le(ve(t,uv))),a=ce(le(ve(t,cv))),new Me(u,a)},fn(Fa,"TopdownSizeApproximator/4",981,e5,null,null);var LDt;x(346,1,{861:1},sS),h.Tg=function(t,r){return Jbt(this,t,r)},h.Ug=function(){Amt(this)},h.Vg=function(){return this.q},h.Wg=function(){return this.f?IP(this.f):null},h.Xg=function(){return IP(this.a)},h.Yg=function(){return this.p},h.Zg=function(){return!1},h.$g=function(){return this.n},h._g=function(){return this.p!=null&&!this.b},h.ah=function(t){var r;this.n&&(r=t,Fe(this.f,r))},h.bh=function(t,r){var o,a;this.n&&t&&Vun(this,(o=new Gst,a=xJ(o,t),eNn(o),a),(jj(),Ore))},h.dh=function(t){var r;return this.b?null:(r=Lfn(this,this.g),Gn(this.a,r),r.i=this,this.d=t,r)},h.eh=function(t){t>0&&!this.b&&bge(this,t)},h.b=!1,h.c=0,h.d=-1,h.e=null,h.f=null,h.g=-1,h.j=!1,h.k=!1,h.n=!1,h.o=0,h.q=0,h.r=0,k(Vs,"BasicProgressMonitor",346),x(713,207,im,BGe),h.kf=function(t,r){fvt(t,r)},k(Vs,"BoxLayoutProvider",713),x(974,1,Un,SXe),h.Le=function(t,r){return X2n(this,l(t,19),l(r,19))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},h.a=!1,k(Vs,"BoxLayoutProvider/1",974),x(168,1,{168:1},pj,rit),h.Ib=function(){return this.c?u0e(this.c):Qd(this.b)},k(Vs,"BoxLayoutProvider/Group",168),x(327,23,{3:1,34:1,23:1,327:1},A8);var c3e,u3e,l3e,Rre,d3e=fn(Vs,"BoxLayoutProvider/PackingMode",327,bn,Rln,Ron),MDt;x(975,1,Un,UGe),h.Le=function(t,r){return Xan(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Vs,"BoxLayoutProvider/lambda$0$Type",975),x(976,1,Un,HGe),h.Le=function(t,r){return Ban(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Vs,"BoxLayoutProvider/lambda$1$Type",976),x(977,1,Un,zGe),h.Le=function(t,r){return Uan(l(t,168),l(r,168))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(Vs,"BoxLayoutProvider/lambda$2$Type",977),x(1350,1,{837:1},GGe),h.Lg=function(t,r){return K9(),!se(r,176)||set((qS(),l(t,176)),r)},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1350),x(1351,1,nn,TXe),h.Ad=function(t){qpn(this.a,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1351),x(1352,1,nn,qGe),h.Ad=function(t){l(t,105),K9()},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1352),x(1356,1,nn,AXe),h.Ad=function(t){mhn(this.a,l(t,105))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1356),x(1354,1,Mn,Ktt),h.Mb=function(t){return Cpn(this.a,this.b,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1354),x(1353,1,Mn,Ytt),h.Mb=function(t){return knn(this.a,this.b,l(t,837))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1353),x(1355,1,nn,Jtt),h.Ad=function(t){Lsn(this.a,this.b,l(t,149))},k(Vs,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1355),x(939,1,{},VGe),h.Kb=function(t){return Ynt(t)},h.Fb=function(t){return this===t},k(Vs,"ElkUtil/lambda$0$Type",939),x(940,1,nn,Xtt),h.Ad=function(t){Zvn(this.a,this.b,l(t,74))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$1$Type",940),x(941,1,nn,Ztt),h.Ad=function(t){IQt(this.a,this.b,l(t,171))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$2$Type",941),x(942,1,nn,Qtt),h.Ad=function(t){Ttn(this.a,this.b,l(t,158))},h.a=0,h.b=0,k(Vs,"ElkUtil/lambda$3$Type",942),x(943,1,nn,_Xe),h.Ad=function(t){nsn(this.a,l(t,373))},k(Vs,"ElkUtil/lambda$4$Type",943),x(332,1,{34:1,332:1},oQt),h.Dd=function(t){return Ytn(this,l(t,245))},h.Fb=function(t){var r;return se(t,332)?(r=l(t,332),this.a==r.a):!1},h.Hb=function(){return bo(this.a)},h.Ib=function(){return this.a+" (exclusive)"},h.a=0,k(Vs,"ExclusiveBounds/ExclusiveLowerBound",332),x(1100,207,im,WGe),h.kf=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re,oe,de,Ee,ye,qe,dt,ft;for(r.Tg("Fixed Layout",1),f=l(ve(t,(_n(),rNe)),225),N=0,R=0,oe=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));oe.e!=oe.i.gc();){for(J=l(rn(oe),19),ft=l(ve(J,(Fj(),S4)),8),ft&&(Bu(J,ft.a,ft.b),l(ve(J,qNe),185).Gc((su(),gv))&&(M=l(ve(J,WNe),8),M.a>0&&M.b>0&&M0(J,M.a,M.b,!0,!0))),N=b.Math.max(N,J.i+J.g),R=b.Math.max(R,J.j+J.f),v=new tn((!J.n&&(J.n=new ke(Rs,J,1,7)),J.n));v.e!=v.i.gc();)m=l(rn(v),158),ft=l(ve(m,S4),8),ft&&Bu(m,ft.a,ft.b),N=b.Math.max(N,J.i+m.i+m.g),R=b.Math.max(R,J.j+m.j+m.f);for(ye=new tn((!J.c&&(J.c=new ke(Gc,J,9,9)),J.c));ye.e!=ye.i.gc();)for(Ee=l(rn(ye),127),ft=l(ve(Ee,S4),8),ft&&Bu(Ee,ft.a,ft.b),qe=J.i+Ee.i,dt=J.j+Ee.j,N=b.Math.max(N,qe+Ee.g),R=b.Math.max(R,dt+Ee.f),y=new tn((!Ee.n&&(Ee.n=new ke(Rs,Ee,1,7)),Ee.n));y.e!=y.i.gc();)m=l(rn(y),158),ft=l(ve(m,S4),8),ft&&Bu(m,ft.a,ft.b),N=b.Math.max(N,qe+m.i+m.g),R=b.Math.max(R,dt+m.j+m.f);for(u=new Ft(Gt(mp(J).a.Jc(),new D));an(u);)o=l(en(u),74),T=NEt(o),N=b.Math.max(N,T.a),R=b.Math.max(R,T.b);for(a=new Ft(Gt(OF(J).a.Jc(),new D));an(a);)o=l(en(a),74),Br(QY(o))!=t&&(T=NEt(o),N=b.Math.max(N,T.a),R=b.Math.max(R,T.b))}if(f==(gp(),Ek))for(re=new tn((!t.a&&(t.a=new ke(En,t,10,11)),t.a));re.e!=re.i.gc();)for(J=l(rn(re),19),a=new Ft(Gt(mp(J).a.Jc(),new D));an(a);)o=l(en(a),74),p=XAn(o),p.b==0?Vn(o,g2,null):Vn(o,g2,p);Ye(Ke(ve(t,(Fj(),VNe))))||(de=l(ve(t,mDt),100),G=N+de.b+de.c,U=R+de.d+de.a,M0(t,G,U,!0,!0)),r.Ug()},k(Vs,"FixedLayoutProvider",1100),x(380,151,{3:1,419:1,380:1,105:1,151:1},DG,Qdt),h.ag=function(t){var r,o,a,u,f,p,m,y,v;if(t)try{for(y=Cy(t,";,;"),f=y,p=0,m=f.length;p<m;++p){if(u=f[p],o=Cy(u,"\\:"),a=H0e(W3(),o[0]),!a)throw Y(new jt("Invalid option id: "+o[0]));if(v=B0e(a,o[1]),v==null)throw Y(new jt("Invalid option value: "+o[1]));v==null?(!this.q&&(this.q=new hn),FS(this.q,a)):(!this.q&&(this.q=new hn),Jn(this.q,a,v))}}catch(T){throw T=ui(T),se(T,102)?(r=T,Y(new Upt(r))):Y(T)}},h.Ib=function(){var t;return t=In(Ac(Oa((this.q?this.q:(At(),At(),xh)).vc().Mc(),new KGe),ufn(new vot,new Ca,new Ln,new Xs,Z(X(rc,1),Ce,132,0,[])))),t};var PDt=k(Vs,"IndividualSpacings",380);x(973,1,{},KGe),h.Kb=function(t){return Jan(l(t,45))},k(Vs,"IndividualSpacings/lambda$0$Type",973),x(715,1,{},rst),h.c=0,k(Vs,"InstancePool",715),x(1833,1,{},YGe),k(Vs,"LoggedGraph",1833),x(412,23,{3:1,34:1,23:1,412:1},_8);var f3e,Ore,h3e,p3e,jDt=fn(Vs,"LoggedGraph/Type",412,bn,Oln,Oon),FDt;x(621,1,{861:1},LG),h.Tg=function(t,r){return!1},h.Ug=function(){},h.Vg=function(){return 0},h.Wg=function(){return null},h.Xg=function(){return null},h.Yg=function(){return null},h.Zg=function(){return!1},h.$g=function(){return!1},h._g=function(){return!1},h.ah=function(t){},h.bh=function(t,r){},h.dh=function(t){return this},h.eh=function(t){},k(Vs,"NullElkProgressMonitor",621),x(49,1,{22:1,49:1},JGe,Co),h.Ic=function(t){lo(this,t)},h.Fb=function(t){var r,o,a;return se(t,49)?(o=l(t,49),r=this.a==null?o.a==null:gr(this.a,o.a),a=this.b==null?o.b==null:gr(this.b,o.b),r&&a):!1},h.Hb=function(){var t,r,o,a,u,f;return o=this.a==null?0:Rr(this.a),t=o&Ti,r=o&-65536,f=this.b==null?0:Rr(this.b),a=f&Ti,u=f&-65536,t^u>>16&Ti|r^a<<16},h.Jc=function(){return new xXe(this)},h.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+ms(this.b)+")":this.b==null?"pair("+ms(this.a)+",null)":"pair("+ms(this.a)+","+ms(this.b)+")"},k(Vs,"Pair",49),x(988,1,Wi,xXe),h.Nb=function(t){so(this,t)},h.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},h.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw Y(new vs)},h.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),Y(new lc)},h.b=!1,h.c=!1,k(Vs,"Pair/1",988),x(1089,207,im,XGe),h.kf=function(t,r){var o,a,u,f,p;if(r.Tg("Random Layout",1),(!t.a&&(t.a=new ke(En,t,10,11)),t.a).i==0){r.Ug();return}f=l(ve(t,(M1e(),NDt)),15),f&&f.a!=0?u=new KP(f.a):u=new sY,o=rO(le(ve(t,xDt))),p=rO(le(ve(t,CDt))),a=l(ve(t,kDt),100),ENn(t,u,o,p,a),r.Ug()},k(Vs,"RandomLayoutProvider",1089),x(243,1,{243:1},FV),h.Fb=function(t){return ia(this.a,l(t,243).a)&&ia(this.b,l(t,243).b)&&ia(this.c,l(t,243).c)},h.Hb=function(){return $j(Z(X(Ri,1),It,1,5,[this.a,this.b,this.c]))},h.Ib=function(){return"("+this.a+ja+this.b+ja+this.c+")"},k(Vs,"Triple",243);var $Dt;x(554,1,{}),h.Jf=function(){return new Me(this.f.i,this.f.j)},h.mf=function(t){return Yat(t,(_n(),zc))?ve(this.f,BDt):ve(this.f,t)},h.Kf=function(){return new Me(this.f.g,this.f.f)},h.Lf=function(){return this.g},h.nf=function(t){return Gu(this.f,t)},h.Mf=function(t){va(this.f,t.a),gc(this.f,t.b)},h.Nf=function(t){Hb(this.f,t.a),Ub(this.f,t.b)},h.Of=function(t){this.g=t},h.g=0;var BDt;k(rI,"ElkGraphAdapters/AbstractElkGraphElementAdapter",554),x(556,1,{845:1},k9),h.Pf=function(){var t,r;if(!this.b)for(this.b=BP(gW(this.a).i),r=new tn(gW(this.a));r.e!=r.i.gc();)t=l(rn(r),158),Fe(this.b,new dq(t));return this.b},h.b=null,k(rI,"ElkGraphAdapters/ElkEdgeAdapter",556),x(250,554,{},Yp),h.Qf=function(){return nbt(this)},h.a=null,k(rI,"ElkGraphAdapters/ElkGraphAdapter",250),x(637,554,{190:1},dq),k(rI,"ElkGraphAdapters/ElkLabelAdapter",637),x(555,554,{692:1},U8),h.Pf=function(){return ymn(this)},h.Tf=function(){var t;return t=l(ve(this.f,(_n(),Cp)),125),!t&&(t=new FN),t},h.Vf=function(){return vmn(this)},h.Xf=function(t){var r;r=new PV(t),Vn(this.f,(_n(),Cp),r)},h.Yf=function(t){Vn(this.f,(_n(),df),new yfe(t))},h.Rf=function(){return this.d},h.Sf=function(){var t,r;if(!this.a)for(this.a=new je,r=new Ft(Gt(OF(l(this.f,19)).a.Jc(),new D));an(r);)t=l(en(r),74),Fe(this.a,new k9(t));return this.a},h.Uf=function(){var t,r;if(!this.c)for(this.c=new je,r=new Ft(Gt(mp(l(this.f,19)).a.Jc(),new D));an(r);)t=l(en(r),74),Fe(this.c,new k9(t));return this.c},h.Wf=function(){return NP(l(this.f,19)).i!=0||Ye(Ke(l(this.f,19).mf((_n(),UL))))},h.Zf=function(){pfn(this,(n1(),$Dt))},h.a=null,h.b=null,h.c=null,h.d=null,h.e=null,k(rI,"ElkGraphAdapters/ElkNodeAdapter",555),x(1261,554,{844:1},kXe),h.Pf=function(){return kmn(this)},h.Sf=function(){var t,r;if(!this.a)for(this.a=uh(l(this.f,127).gh().i),r=new tn(l(this.f,127).gh());r.e!=r.i.gc();)t=l(rn(r),74),Fe(this.a,new k9(t));return this.a},h.Uf=function(){var t,r;if(!this.c)for(this.c=uh(l(this.f,127).hh().i),r=new tn(l(this.f,127).hh());r.e!=r.i.gc();)t=l(rn(r),74),Fe(this.c,new k9(t));return this.c},h.$f=function(){return l(l(this.f,127).mf((_n(),w2)),64)},h._f=function(){var t,r,o,a,u,f,p,m;for(a=Gd(l(this.f,127)),o=new tn(l(this.f,127).hh());o.e!=o.i.gc();)for(t=l(rn(o),74),m=new tn((!t.c&&(t.c=new Tt(pn,t,5,8)),t.c));m.e!=m.i.gc();){if(p=l(rn(m),83),ly(Jo(p),a))return!0;if(Jo(p)==a&&Ye(Ke(ve(t,(_n(),gre)))))return!0}for(r=new tn(l(this.f,127).gh());r.e!=r.i.gc();)for(t=l(rn(r),74),f=new tn((!t.b&&(t.b=new Tt(pn,t,4,7)),t.b));f.e!=f.i.gc();)if(u=l(rn(f),83),ly(Jo(u),a))return!0;return!1},h.a=null,h.b=null,h.c=null,k(rI,"ElkGraphAdapters/ElkPortAdapter",1261),x(1262,1,Un,ZGe),h.Le=function(t,r){return zTn(l(t,127),l(r,127))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(rI,"ElkGraphAdapters/PortComparator",1262);var J1=Hr(el,"EObject"),Ak=Hr(BE,GTt),Iu=Hr(BE,qTt),t5=Hr(BE,VTt),n5=Hr(BE,"ElkShape"),pn=Hr(BE,WTt),Ir=Hr(BE,lEe),jr=Hr(BE,KTt),r5=Hr(el,YTt),I4=Hr(el,"EFactory"),UDt,Dre=Hr(el,JTt),Dd=Hr(el,"EPackage"),Bi,HDt,zDt,g3e,mU,GDt,b3e,m3e,w3e,Dh,qDt,VDt,Rs=Hr(BE,dEe),En=Hr(BE,fEe),Gc=Hr(BE,hEe);x(94,1,XTt),h.qh=function(){return this.rh(),null},h.rh=function(){return null},h.sh=function(){return this.rh(),!1},h.th=function(){return!1},h.uh=function(t){pr(this,t)},k(vT,"BasicNotifierImpl",94),x(101,94,tAt),h.Vh=function(){return Jc(this)},h.vh=function(t,r){return t},h.wh=function(){throw Y(new Nn)},h.xh=function(t){var r;return r=Po(l(kt(this.Ah(),this.Ch()),20)),this.Mh().Qh(this,r.n,r.f,t)},h.yh=function(t,r){throw Y(new Nn)},h.zh=function(t,r,o){return Su(this,t,r,o)},h.Ah=function(){var t;return this.wh()&&(t=this.wh().Lk(),t)?t:this.fi()},h.Bh=function(){return dJ(this)},h.Ch=function(){throw Y(new Nn)},h.Dh=function(){var t,r;return r=this.Xh().Mk(),!r&&this.wh().Rk(r=(QN(),t=Mhe(Ff(this.Ah())),t==null?Ure:new RO(this,t))),r},h.Eh=function(t,r){return t},h.Fh=function(t){var r;return r=t.nk(),r?t.Jj():Ur(this.Ah(),t)},h.Gh=function(){var t;return t=this.wh(),t?t.Ok():null},h.Hh=function(){return this.wh()?this.wh().Lk():null},h.Ih=function(t,r,o){return aF(this,t,r,o)},h.Jh=function(t){return p_(this,t)},h.Kh=function(t,r){return YW(this,t,r)},h.Lh=function(){var t;return t=this.wh(),!!t&&t.Pk()},h.Mh=function(){throw Y(new Nn)},h.Nh=function(){return nF(this)},h.Oh=function(t,r,o,a){return XS(this,t,r,a)},h.Ph=function(t,r,o){var a;return a=l(kt(this.Ah(),r),69),a.uk().xk(this,this.ei(),r-this.gi(),t,o)},h.Qh=function(t,r,o,a){return DP(this,t,r,a)},h.Rh=function(t,r,o){var a;return a=l(kt(this.Ah(),r),69),a.uk().yk(this,this.ei(),r-this.gi(),t,o)},h.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},h.Th=function(t){return EY(this,t)},h.Uh=function(t){return dct(this,t)},h.Wh=function(t){return lEt(this,t)},h.Xh=function(){throw Y(new Nn)},h.Yh=function(){return this.wh()?this.wh().Nk():null},h.Zh=function(){return nF(this)},h.$h=function(t,r){sJ(this,t,r)},h._h=function(t){this.Xh().Qk(t)},h.ai=function(t){this.Xh().Tk(t)},h.bi=function(t){this.Xh().Sk(t)},h.ci=function(t,r){var o,a,u,f;return f=this.Gh(),f&&t&&(r=xo(f.Cl(),this,r),f.Gl(this)),a=this.Mh(),a&&(TJ(this,this.Mh(),this.Ch()).Bb&Io?(u=a.Nh(),u&&(t?!f&&u.Gl(this):u.Fl(this))):(r=(o=this.Ch(),o>=0?this.xh(r):this.Mh().Qh(this,-1-o,null,r)),r=this.zh(null,-1,r))),this.ai(t),r},h.di=function(t){var r,o,a,u,f,p,m,y;if(o=this.Ah(),f=Ur(o,t),r=this.gi(),f>=r)return l(t,69).uk().Bk(this,this.ei(),f-r);if(f<=-1)if(p=RE((mc(),ao),o,t),p){if(Mo(),l(p,69).vk()||(p=MS(is(ao,p))),u=(a=this.Fh(p),l(a>=0?this.Ih(a,!0,!0):O0(this,p,!0),164)),y=p.Gk(),y>1||y==-1)return l(l(u,222).Ql(t,!1),78)}else throw Y(new jt(O1+t.ve()+iQ));else if(t.Hk())return a=this.Fh(t),l(a>=0?this.Ih(a,!1,!0):O0(this,t,!1),78);return m=new Ent(this,t),m},h.ei=function(){return zpe(this)},h.fi=function(){return(c1(),Bt).S},h.gi=function(){return ln(this.fi())},h.hi=function(t){rJ(this,t)},h.Ib=function(){return Zl(this)},k(zt,"BasicEObjectImpl",101);var WDt;x(118,101,{110:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1}),h.ii=function(t){var r;return r=Hpe(this),r[t]},h.ji=function(t,r){var o;o=Hpe(this),ii(o,t,r)},h.ki=function(t){var r;r=Hpe(this),ii(r,t,null)},h.qh=function(){return l(qt(this,4),131)},h.rh=function(){throw Y(new Nn)},h.sh=function(){return(this.Db&4)!=0},h.wh=function(){throw Y(new Nn)},h.li=function(t){KS(this,2,t)},h.yh=function(t,r){this.Db=r<<16|this.Db&255,this.li(t)},h.Ah=function(){return Ja(this)},h.Ch=function(){return this.Db>>16},h.Dh=function(){var t,r;return QN(),r=Mhe(Ff((t=l(qt(this,16),29),t||this.fi()))),r==null?Ure:new RO(this,r)},h.th=function(){return(this.Db&1)==0},h.Gh=function(){return l(qt(this,128),2013)},h.Hh=function(){return l(qt(this,16),29)},h.Lh=function(){return(this.Db&32)!=0},h.Mh=function(){return l(qt(this,2),52)},h.Sh=function(){return(this.Db&64)!=0},h.Xh=function(){throw Y(new Nn)},h.Yh=function(){return l(qt(this,64),291)},h._h=function(t){KS(this,16,t)},h.ai=function(t){KS(this,128,t)},h.bi=function(t){KS(this,64,t)},h.ei=function(){return Ha(this)},h.Db=0,k(zt,"MinimalEObjectImpl",118),x(119,118,{110:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.li=function(t){this.Cb=t},h.Mh=function(){return this.Cb},k(zt,"MinimalEObjectImpl/Container",119),x(2062,119,{110:1,344:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return ibe(this,t,r,o)},h.Rh=function(t,r,o){return Wbe(this,t,r,o)},h.Th=function(t){return Yhe(this,t)},h.$h=function(t,r){zge(this,t,r)},h.fi=function(){return Qs(),VDt},h.hi=function(t){Oge(this,t)},h.lf=function(){return S1t(this)},h.fh=function(){return!this.o&&(this.o=new pc((Qs(),Dh),Rg,this,0)),this.o},h.mf=function(t){return ve(this,t)},h.nf=function(t){return Gu(this,t)},h.of=function(t,r){return Vn(this,t,r)},k(am,"EMapPropertyHolderImpl",2062),x(566,119,{110:1,373:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},m9),h.Ih=function(t,r,o){switch(t){case 0:return this.a;case 1:return this.b}return aF(this,t,r,o)},h.Th=function(t){switch(t){case 0:return this.a!=0;case 1:return this.b!=0}return EY(this,t)},h.$h=function(t,r){switch(t){case 0:bj(this,ce(le(r)));return;case 1:gj(this,ce(le(r)));return}sJ(this,t,r)},h.fi=function(){return Qs(),HDt},h.hi=function(t){switch(t){case 0:bj(this,0);return;case 1:gj(this,0);return}rJ(this,t)},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new ml(Zl(this)),t.a+=" (x: ",Wv(t,this.a),t.a+=", y: ",Wv(t,this.b),t.a+=")",t.a)},h.a=0,h.b=0,k(am,"ElkBendPointImpl",566),x(734,2062,{110:1,344:1,176:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return u1e(this,t,r,o)},h.Ph=function(t,r,o){return YY(this,t,r,o)},h.Rh=function(t,r,o){return OK(this,t,r,o)},h.Th=function(t){return _ge(this,t)},h.$h=function(t,r){Tbe(this,t,r)},h.fi=function(){return Qs(),GDt},h.hi=function(t){o1e(this,t)},h.ih=function(){return this.k},h.jh=function(){return gW(this)},h.Ib=function(){return oY(this)},h.k=null,k(am,"ElkGraphElementImpl",734),x(735,734,{110:1,344:1,176:1,278:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return E1e(this,t,r,o)},h.Th=function(t){return R1e(this,t)},h.$h=function(t,r){Abe(this,t,r)},h.fi=function(){return Qs(),qDt},h.hi=function(t){O1e(this,t)},h.kh=function(){return this.f},h.lh=function(){return this.g},h.mh=function(){return this.i},h.nh=function(){return this.j},h.oh=function(t,r){i0(this,t,r)},h.ph=function(t,r){Bu(this,t,r)},h.Ib=function(){return tJ(this)},h.f=0,h.g=0,h.i=0,h.j=0,k(am,"ElkShapeImpl",735),x(736,735,{110:1,344:1,83:1,176:1,278:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1}),h.Ih=function(t,r,o){return Z1e(this,t,r,o)},h.Ph=function(t,r,o){return mbe(this,t,r,o)},h.Rh=function(t,r,o){return wbe(this,t,r,o)},h.Th=function(t){return jge(this,t)},h.$h=function(t,r){Rme(this,t,r)},h.fi=function(){return Qs(),zDt},h.hi=function(t){W1e(this,t)},h.gh=function(){return!this.d&&(this.d=new Tt(Ir,this,8,5)),this.d},h.hh=function(){return!this.e&&(this.e=new Tt(Ir,this,7,4)),this.e},k(am,"ElkConnectableShapeImpl",736),x(273,734,{110:1,344:1,74:1,176:1,273:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},MG),h.xh=function(t){return hbe(this,t)},h.Ih=function(t,r,o){switch(t){case 3:return ry(this);case 4:return!this.b&&(this.b=new Tt(pn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Tt(pn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new ke(jr,this,6,6)),this.a;case 7:return Lt(),!this.b&&(this.b=new Tt(pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i<=1));case 8:return Lt(),!!AC(this);case 9:return Lt(),!!R0(this);case 10:return Lt(),!this.b&&(this.b=new Tt(pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i!=0)}return u1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 3:return this.Cb&&(o=(a=this.Db>>16,a>=0?hbe(this,o):this.Cb.Qh(this,-1-a,null,o))),Kde(this,l(t,19),o);case 4:return!this.b&&(this.b=new Tt(pn,this,4,7)),Pa(this.b,t,o);case 5:return!this.c&&(this.c=new Tt(pn,this,5,8)),Pa(this.c,t,o);case 6:return!this.a&&(this.a=new ke(jr,this,6,6)),Pa(this.a,t,o)}return YY(this,t,r,o)},h.Rh=function(t,r,o){switch(r){case 3:return Kde(this,null,o);case 4:return!this.b&&(this.b=new Tt(pn,this,4,7)),xo(this.b,t,o);case 5:return!this.c&&(this.c=new Tt(pn,this,5,8)),xo(this.c,t,o);case 6:return!this.a&&(this.a=new ke(jr,this,6,6)),xo(this.a,t,o)}return OK(this,t,r,o)},h.Th=function(t){switch(t){case 3:return!!ry(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new Tt(pn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i<=1));case 8:return AC(this);case 9:return R0(this);case 10:return!this.b&&(this.b=new Tt(pn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tt(pn,this,5,8)),this.c.i!=0)}return _ge(this,t)},h.$h=function(t,r){switch(t){case 3:MF(this,l(r,19));return;case 4:!this.b&&(this.b=new Tt(pn,this,4,7)),vn(this.b),!this.b&&(this.b=new Tt(pn,this,4,7)),ti(this.b,l(r,18));return;case 5:!this.c&&(this.c=new Tt(pn,this,5,8)),vn(this.c),!this.c&&(this.c=new Tt(pn,this,5,8)),ti(this.c,l(r,18));return;case 6:!this.a&&(this.a=new ke(jr,this,6,6)),vn(this.a),!this.a&&(this.a=new ke(jr,this,6,6)),ti(this.a,l(r,18));return}Tbe(this,t,r)},h.fi=function(){return Qs(),g3e},h.hi=function(t){switch(t){case 3:MF(this,null);return;case 4:!this.b&&(this.b=new Tt(pn,this,4,7)),vn(this.b);return;case 5:!this.c&&(this.c=new Tt(pn,this,5,8)),vn(this.c);return;case 6:!this.a&&(this.a=new ke(jr,this,6,6)),vn(this.a);return}o1e(this,t)},h.Ib=function(){return Cvt(this)},k(am,"ElkEdgeImpl",273),x(446,2062,{110:1,344:1,171:1,446:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},b9),h.xh=function(t){return ube(this,t)},h.Ih=function(t,r,o){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Ei(Iu,this,5)),this.a;case 6:return act(this);case 7:return r?xY(this):this.i;case 8:return r?_Y(this):this.f;case 9:return!this.g&&(this.g=new Tt(jr,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Tt(jr,this,10,9)),this.e;case 11:return this.d}return ibe(this,t,r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?ube(this,o):this.Cb.Qh(this,-1-u,null,o))),Yde(this,l(t,74),o);case 9:return!this.g&&(this.g=new Tt(jr,this,9,10)),Pa(this.g,t,o);case 10:return!this.e&&(this.e=new Tt(jr,this,10,9)),Pa(this.e,t,o)}return f=l(kt((a=l(qt(this,16),29),a||(Qs(),mU)),r),69),f.uk().xk(this,Ha(this),r-ln((Qs(),mU)),t,o)},h.Rh=function(t,r,o){switch(r){case 5:return!this.a&&(this.a=new Ei(Iu,this,5)),xo(this.a,t,o);case 6:return Yde(this,null,o);case 9:return!this.g&&(this.g=new Tt(jr,this,9,10)),xo(this.g,t,o);case 10:return!this.e&&(this.e=new Tt(jr,this,10,9)),xo(this.e,t,o)}return Wbe(this,t,r,o)},h.Th=function(t){switch(t){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!act(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Yhe(this,t)},h.$h=function(t,r){switch(t){case 1:E0(this,ce(le(r)));return;case 2:S0(this,ce(le(r)));return;case 3:y0(this,ce(le(r)));return;case 4:v0(this,ce(le(r)));return;case 5:!this.a&&(this.a=new Ei(Iu,this,5)),vn(this.a),!this.a&&(this.a=new Ei(Iu,this,5)),ti(this.a,l(r,18));return;case 6:Awt(this,l(r,74));return;case 7:Tj(this,l(r,83));return;case 8:Sj(this,l(r,83));return;case 9:!this.g&&(this.g=new Tt(jr,this,9,10)),vn(this.g),!this.g&&(this.g=new Tt(jr,this,9,10)),ti(this.g,l(r,18));return;case 10:!this.e&&(this.e=new Tt(jr,this,10,9)),vn(this.e),!this.e&&(this.e=new Tt(jr,this,10,9)),ti(this.e,l(r,18));return;case 11:pge(this,In(r));return}zge(this,t,r)},h.fi=function(){return Qs(),mU},h.hi=function(t){switch(t){case 1:E0(this,0);return;case 2:S0(this,0);return;case 3:y0(this,0);return;case 4:v0(this,0);return;case 5:!this.a&&(this.a=new Ei(Iu,this,5)),vn(this.a);return;case 6:Awt(this,null);return;case 7:Tj(this,null);return;case 8:Sj(this,null);return;case 9:!this.g&&(this.g=new Tt(jr,this,9,10)),vn(this.g);return;case 10:!this.e&&(this.e=new Tt(jr,this,10,9)),vn(this.e);return;case 11:pge(this,null);return}Oge(this,t)},h.Ib=function(){return M0t(this)},h.b=0,h.c=0,h.d=null,h.j=0,h.k=0,k(am,"ElkEdgeSectionImpl",446),x(162,119,{110:1,95:1,94:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1}),h.Ih=function(t,r,o){var a;return t==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab):qu(this,t-ln(this.fi()),kt((a=l(qt(this,16),29),a||this.fi()),t),r,o)},h.Ph=function(t,r,o){var a,u;return r==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o)):(u=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),u.uk().xk(this,Ha(this),r-ln(this.fi()),t,o))},h.Rh=function(t,r,o){var a,u;return r==0?(!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o)):(u=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o))},h.Th=function(t){var r;return t==0?!!this.Ab&&this.Ab.i!=0:zu(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.Wh=function(t){return Y0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return}Xu(this,t-ln(this.fi()),kt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.ai=function(t){KS(this,128,t)},h.fi=function(){return _t(),dLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return}Ju(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){this.Bb|=1},h.ni=function(t){return RC(this,t)},h.Bb=0,k(zt,"EModelElementImpl",162),x(717,162,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1},Kce),h.oi=function(t,r){return rEt(this,t,r)},h.pi=function(t){var r,o,a,u,f;if(this.a!=mu(t)||t.Bb&256)throw Y(new jt(sQ+t.zb+W0));for(a=ds(t);oa(a.a).i!=0;){if(o=l(dD(a,0,(r=l(ie(oa(a.a),0),88),f=r.c,se(f,89)?l(f,29):(_t(),Ml))),29),I0(o))return u=mu(o).ti().pi(o),l(u,52)._h(t),u;a=ds(o)}return(t.D!=null?t.D:t.B)=="java.util.Map$Entry"?new Bot(t):new Mfe(t)},h.qi=function(t,r){return P0(this,t,r)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.a}return qu(this,t-ln((_t(),eb)),kt((a=l(qt(this,16),29),a||eb),t),r,o)},h.Ph=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 1:return this.a&&(o=l(this.a,52).Qh(this,4,Dd,o)),n1e(this,l(t,244),o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),eb)),r),69),u.uk().xk(this,Ha(this),r-ln((_t(),eb)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 1:return n1e(this,null,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),eb)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),eb)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return zu(this,t-ln((_t(),eb)),kt((r=l(qt(this,16),29),r||eb),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:umt(this,l(r,244));return}Xu(this,t-ln((_t(),eb)),kt((o=l(qt(this,16),29),o||eb),t),r)},h.fi=function(){return _t(),eb},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:umt(this,null);return}Ju(this,t-ln((_t(),eb)),kt((r=l(qt(this,16),29),r||eb),t))};var R4,y3e,KDt;k(zt,"EFactoryImpl",717),x(1029,717,{110:1,2092:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1},eqe),h.oi=function(t,r){switch(t.fk()){case 12:return l(r,149).Og();case 13:return ms(r);default:throw Y(new jt(Dx+t.ve()+W0))}},h.pi=function(t){var r,o,a,u,f,p,m,y;switch(t.G==-1&&(t.G=(r=mu(t),r?gg(r.si(),t):-1)),t.G){case 4:return f=new zce,f;case 6:return p=new $N,p;case 7:return m=new Bue,m;case 8:return a=new MG,a;case 9:return o=new m9,o;case 10:return u=new b9,u;case 11:return y=new tqe,y;default:throw Y(new jt(sQ+t.zb+W0))}},h.qi=function(t,r){switch(t.fk()){case 13:case 12:return null;default:throw Y(new jt(Dx+t.ve()+W0))}},k(am,"ElkGraphFactoryImpl",1029),x(444,162,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1}),h.Dh=function(){var t,r;return r=(t=l(qt(this,16),29),Mhe(Ff(t||this.fi()))),r==null?(QN(),QN(),Ure):new oit(this,r)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.ve()}return qu(this,t-ln(this.fi()),kt((a=l(qt(this,16),29),a||this.fi()),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return zu(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:this.ri(In(r));return}Xu(this,t-ln(this.fi()),kt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),fLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:this.ri(null);return}Ju(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.ve=function(){return this.zb},h.ri=function(t){Ma(this,t)},h.Ib=function(){return iC(this)},h.zb=null,k(zt,"ENamedElementImpl",444),x(187,444,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1},$at),h.xh=function(t){return wbt(this,t)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Qw(this,Ld,this)),this.rb;case 6:return!this.vb&&(this.vb=new TS(Dd,this,6,7)),this.vb;case 7:return r?this.Db>>16==7?l(this.Cb,244):null:bct(this)}return qu(this,t-ln((_t(),Mg)),kt((a=l(qt(this,16),29),a||Mg),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 4:return this.sb&&(o=l(this.sb,52).Qh(this,1,I4,o)),s1e(this,l(t,472),o);case 5:return!this.rb&&(this.rb=new Qw(this,Ld,this)),Pa(this.rb,t,o);case 6:return!this.vb&&(this.vb=new TS(Dd,this,6,7)),Pa(this.vb,t,o);case 7:return this.Cb&&(o=(u=this.Db>>16,u>=0?wbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,7,o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Mg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Mg)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 4:return s1e(this,null,o);case 5:return!this.rb&&(this.rb=new Qw(this,Ld,this)),xo(this.rb,t,o);case 6:return!this.vb&&(this.vb=new TS(Dd,this,6,7)),xo(this.vb,t,o);case 7:return Su(this,null,7,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Mg)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Mg)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!bct(this)}return zu(this,t-ln((_t(),Mg)),kt((r=l(qt(this,16),29),r||Mg),t))},h.Wh=function(t){var r;return r=aSn(this,t),r||Y0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:Nj(this,In(r));return;case 3:kj(this,In(r));return;case 4:eJ(this,l(r,472));return;case 5:!this.rb&&(this.rb=new Qw(this,Ld,this)),vn(this.rb),!this.rb&&(this.rb=new Qw(this,Ld,this)),ti(this.rb,l(r,18));return;case 6:!this.vb&&(this.vb=new TS(Dd,this,6,7)),vn(this.vb),!this.vb&&(this.vb=new TS(Dd,this,6,7)),ti(this.vb,l(r,18));return}Xu(this,t-ln((_t(),Mg)),kt((o=l(qt(this,16),29),o||Mg),t),r)},h.bi=function(t){var r,o;if(t&&this.rb)for(o=new tn(this.rb);o.e!=o.i.gc();)r=rn(o),se(r,361)&&(l(r,361).w=null);KS(this,64,t)},h.fi=function(){return _t(),Mg},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:Nj(this,null);return;case 3:kj(this,null);return;case 4:eJ(this,null);return;case 5:!this.rb&&(this.rb=new Qw(this,Ld,this)),vn(this.rb);return;case 6:!this.vb&&(this.vb=new TS(Dd,this,6,7)),vn(this.vb);return}Ju(this,t-ln((_t(),Mg)),kt((r=l(qt(this,16),29),r||Mg),t))},h.mi=function(){$Y(this)},h.si=function(){return!this.rb&&(this.rb=new Qw(this,Ld,this)),this.rb},h.ti=function(){return this.sb},h.ui=function(){return this.ub},h.vi=function(){return this.xb},h.wi=function(){return this.yb},h.xi=function(t){this.ub=t},h.Ib=function(){var t;return this.Db&64?iC(this):(t=new ml(iC(this)),t.a+=" (nsURI: ",Wo(t,this.yb),t.a+=", nsPrefix: ",Wo(t,this.xb),t.a+=")",t.a)},h.xb=null,h.yb=null,k(zt,"EPackageImpl",187),x(563,187,{110:1,2094:1,563:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1},z0t),h.q=!1,h.r=!1;var YDt=!1;k(am,"ElkGraphPackageImpl",563),x(363,735,{110:1,344:1,176:1,158:1,278:1,363:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},zce),h.xh=function(t){return lbe(this,t)},h.Ih=function(t,r,o){switch(t){case 7:return Bhe(this);case 8:return this.a}return E1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 7:return this.Cb&&(o=(a=this.Db>>16,a>=0?lbe(this,o):this.Cb.Qh(this,-1-a,null,o))),Yfe(this,l(t,176),o)}return YY(this,t,r,o)},h.Rh=function(t,r,o){return r==7?Yfe(this,null,o):OK(this,t,r,o)},h.Th=function(t){switch(t){case 7:return!!Bhe(this);case 8:return!wt("",this.a)}return R1e(this,t)},h.$h=function(t,r){switch(t){case 7:Wme(this,l(r,176));return;case 8:dge(this,In(r));return}Abe(this,t,r)},h.fi=function(){return Qs(),b3e},h.hi=function(t){switch(t){case 7:Wme(this,null);return;case 8:dge(this,"");return}O1e(this,t)},h.Ib=function(){return Cmt(this)},h.a="",k(am,"ElkLabelImpl",363),x(209,736,{110:1,344:1,83:1,176:1,19:1,278:1,209:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},$N),h.xh=function(t){return pbe(this,t)},h.Ih=function(t,r,o){switch(t){case 9:return!this.c&&(this.c=new ke(Gc,this,9,9)),this.c;case 10:return!this.a&&(this.a=new ke(En,this,10,11)),this.a;case 11:return Br(this);case 12:return!this.b&&(this.b=new ke(Ir,this,12,3)),this.b;case 13:return Lt(),!this.a&&(this.a=new ke(En,this,10,11)),this.a.i>0}return Z1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 9:return!this.c&&(this.c=new ke(Gc,this,9,9)),Pa(this.c,t,o);case 10:return!this.a&&(this.a=new ke(En,this,10,11)),Pa(this.a,t,o);case 11:return this.Cb&&(o=(a=this.Db>>16,a>=0?pbe(this,o):this.Cb.Qh(this,-1-a,null,o))),sfe(this,l(t,19),o);case 12:return!this.b&&(this.b=new ke(Ir,this,12,3)),Pa(this.b,t,o)}return mbe(this,t,r,o)},h.Rh=function(t,r,o){switch(r){case 9:return!this.c&&(this.c=new ke(Gc,this,9,9)),xo(this.c,t,o);case 10:return!this.a&&(this.a=new ke(En,this,10,11)),xo(this.a,t,o);case 11:return sfe(this,null,o);case 12:return!this.b&&(this.b=new ke(Ir,this,12,3)),xo(this.b,t,o)}return wbe(this,t,r,o)},h.Th=function(t){switch(t){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Br(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new ke(En,this,10,11)),this.a.i>0}return jge(this,t)},h.$h=function(t,r){switch(t){case 9:!this.c&&(this.c=new ke(Gc,this,9,9)),vn(this.c),!this.c&&(this.c=new ke(Gc,this,9,9)),ti(this.c,l(r,18));return;case 10:!this.a&&(this.a=new ke(En,this,10,11)),vn(this.a),!this.a&&(this.a=new ke(En,this,10,11)),ti(this.a,l(r,18));return;case 11:PF(this,l(r,19));return;case 12:!this.b&&(this.b=new ke(Ir,this,12,3)),vn(this.b),!this.b&&(this.b=new ke(Ir,this,12,3)),ti(this.b,l(r,18));return}Rme(this,t,r)},h.fi=function(){return Qs(),m3e},h.hi=function(t){switch(t){case 9:!this.c&&(this.c=new ke(Gc,this,9,9)),vn(this.c);return;case 10:!this.a&&(this.a=new ke(En,this,10,11)),vn(this.a);return;case 11:PF(this,null);return;case 12:!this.b&&(this.b=new ke(Ir,this,12,3)),vn(this.b);return}W1e(this,t)},h.Ib=function(){return u0e(this)},k(am,"ElkNodeImpl",209),x(196,736,{110:1,344:1,83:1,176:1,127:1,278:1,196:1,105:1,95:1,94:1,57:1,115:1,52:1,101:1,118:1,119:1},Bue),h.xh=function(t){return dbe(this,t)},h.Ih=function(t,r,o){return t==9?Gd(this):Z1e(this,t,r,o)},h.Ph=function(t,r,o){var a;switch(r){case 9:return this.Cb&&(o=(a=this.Db>>16,a>=0?dbe(this,o):this.Cb.Qh(this,-1-a,null,o))),Jde(this,l(t,19),o)}return mbe(this,t,r,o)},h.Rh=function(t,r,o){return r==9?Jde(this,null,o):wbe(this,t,r,o)},h.Th=function(t){return t==9?!!Gd(this):jge(this,t)},h.$h=function(t,r){switch(t){case 9:Hme(this,l(r,19));return}Rme(this,t,r)},h.fi=function(){return Qs(),w3e},h.hi=function(t){switch(t){case 9:Hme(this,null);return}W1e(this,t)},h.Ib=function(){return Tyt(this)},k(am,"ElkPortImpl",196);var JDt=Hr(ko,"BasicEMap/Entry");x(1103,119,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1,118:1,119:1},tqe),h.Fb=function(t){return this===t},h.jd=function(){return this.b},h.Hb=function(){return s0(this)},h.Ai=function(t){age(this,l(t,149))},h.Ih=function(t,r,o){switch(t){case 0:return this.b;case 1:return this.c}return aF(this,t,r,o)},h.Th=function(t){switch(t){case 0:return!!this.b;case 1:return this.c!=null}return EY(this,t)},h.$h=function(t,r){switch(t){case 0:age(this,l(r,149));return;case 1:cge(this,r);return}sJ(this,t,r)},h.fi=function(){return Qs(),Dh},h.hi=function(t){switch(t){case 0:age(this,null);return;case 1:cge(this,null);return}rJ(this,t)},h.yi=function(){var t;return this.a==-1&&(t=this.b,this.a=t?Rr(t):0),this.a},h.kd=function(){return this.c},h.zi=function(t){this.a=t},h.ld=function(t){var r;return r=this.c,cge(this,t),r},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new Qg,zn(zn(zn(t,this.b?this.b.Og():tc),$X),y3(this.c)),t.a)},h.a=-1,h.c=null;var Rg=k(am,"ElkPropertyToValueMapEntryImpl",1103);x(989,1,{},nqe),k(oo,"JsonAdapter",989),x(218,63,vp,xf),k(oo,"JsonImportException",218),x(859,1,{},F0t),k(oo,"JsonImporter",859),x(893,1,{},snt),h.Bi=function(t){Nbt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$0$Type",893),x(894,1,{},ant),h.Bi=function(t){g0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$1$Type",894),x(902,1,{},NXe),h.Bi=function(t){gat(this.a,l(t,150))},k(oo,"JsonImporter/lambda$10$Type",902),x(904,1,{},cnt),h.Bi=function(t){t0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$11$Type",904),x(905,1,{},unt),h.Bi=function(t){n0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$12$Type",905),x(911,1,{},_at),h.Bi=function(t){_mt(this.a,this.b,this.c,this.d,l(t,142))},k(oo,"JsonImporter/lambda$13$Type",911),x(910,1,{},xat),h.Bi=function(t){qyt(this.a,this.b,this.c,this.d,l(t,150))},k(oo,"JsonImporter/lambda$14$Type",910),x(906,1,{},lnt),h.Bi=function(t){jit(this.a,this.b,In(t))},k(oo,"JsonImporter/lambda$15$Type",906),x(907,1,{},dnt),h.Bi=function(t){Fit(this.a,this.b,In(t))},k(oo,"JsonImporter/lambda$16$Type",907),x(908,1,{},bnt),h.Bi=function(t){ubt(this.b,this.a,l(t,142))},k(oo,"JsonImporter/lambda$17$Type",908),x(909,1,{},mnt),h.Bi=function(t){lbt(this.b,this.a,l(t,142))},k(oo,"JsonImporter/lambda$18$Type",909),x(914,1,{},CXe),h.Bi=function(t){gmt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$19$Type",914),x(895,1,{},IXe),h.Bi=function(t){Ebt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$2$Type",895),x(912,1,{},RXe),h.Bi=function(t){E0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$20$Type",912),x(913,1,{},OXe),h.Bi=function(t){S0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$21$Type",913),x(917,1,{},DXe),h.Bi=function(t){pmt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$22$Type",917),x(915,1,{},LXe),h.Bi=function(t){y0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$23$Type",915),x(916,1,{},MXe),h.Bi=function(t){v0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$24$Type",916),x(919,1,{},PXe),h.Bi=function(t){$bt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$25$Type",919),x(918,1,{},jXe),h.Bi=function(t){bat(this.a,l(t,150))},k(oo,"JsonImporter/lambda$26$Type",918),x(920,1,nn,wnt),h.Ad=function(t){Xdn(this.b,this.a,In(t))},k(oo,"JsonImporter/lambda$27$Type",920),x(921,1,nn,ynt),h.Ad=function(t){Zdn(this.b,this.a,In(t))},k(oo,"JsonImporter/lambda$28$Type",921),x(922,1,{},fnt),h.Bi=function(t){X0t(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$29$Type",922),x(898,1,{},FXe),h.Bi=function(t){Rgt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$3$Type",898),x(923,1,{},hnt),h.Bi=function(t){vwt(this.a,this.b,l(t,142))},k(oo,"JsonImporter/lambda$30$Type",923),x(924,1,{},$Xe),h.Bi=function(t){eft(this.a,le(t))},k(oo,"JsonImporter/lambda$31$Type",924),x(925,1,{},BXe),h.Bi=function(t){tft(this.a,le(t))},k(oo,"JsonImporter/lambda$32$Type",925),x(926,1,{},UXe),h.Bi=function(t){nft(this.a,le(t))},k(oo,"JsonImporter/lambda$33$Type",926),x(927,1,{},HXe),h.Bi=function(t){rft(this.a,le(t))},k(oo,"JsonImporter/lambda$34$Type",927),x(928,1,{},zXe),h.Bi=function(t){eyn(this.a,l(t,57))},k(oo,"JsonImporter/lambda$35$Type",928),x(929,1,{},GXe),h.Bi=function(t){tyn(this.a,l(t,57))},k(oo,"JsonImporter/lambda$36$Type",929),x(933,1,{},Aat),k(oo,"JsonImporter/lambda$37$Type",933),x(930,1,nn,uot),h.Ad=function(t){Chn(this.a,this.c,this.b,l(t,373))},k(oo,"JsonImporter/lambda$38$Type",930),x(931,1,nn,pnt),h.Ad=function(t){Ken(this.a,this.b,l(t,171))},k(oo,"JsonImporter/lambda$39$Type",931),x(896,1,{},qXe),h.Bi=function(t){E0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$4$Type",896),x(932,1,nn,gnt),h.Ad=function(t){Yen(this.a,this.b,l(t,171))},k(oo,"JsonImporter/lambda$40$Type",932),x(934,1,nn,lot),h.Ad=function(t){Ihn(this.a,this.b,this.c,l(t,8))},k(oo,"JsonImporter/lambda$41$Type",934),x(897,1,{},VXe),h.Bi=function(t){S0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$5$Type",897),x(901,1,{},WXe),h.Bi=function(t){Ogt(this.a,l(t,150))},k(oo,"JsonImporter/lambda$6$Type",901),x(899,1,{},KXe),h.Bi=function(t){y0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$7$Type",899),x(900,1,{},YXe),h.Bi=function(t){v0(this.a,ce(le(t)))},k(oo,"JsonImporter/lambda$8$Type",900),x(903,1,{},JXe),h.Bi=function(t){Bbt(this.a,l(t,142))},k(oo,"JsonImporter/lambda$9$Type",903),x(953,1,nn,XXe),h.Ad=function(t){RS(this.a,new ty(In(t)))},k(oo,"JsonMetaDataConverter/lambda$0$Type",953),x(954,1,nn,ZXe),h.Ad=function(t){Ysn(this.a,l(t,235))},k(oo,"JsonMetaDataConverter/lambda$1$Type",954),x(955,1,nn,QXe),h.Ad=function(t){Kcn(this.a,l(t,144))},k(oo,"JsonMetaDataConverter/lambda$2$Type",955),x(956,1,nn,eZe),h.Ad=function(t){Jsn(this.a,l(t,161))},k(oo,"JsonMetaDataConverter/lambda$3$Type",956),x(235,23,{3:1,34:1,23:1,235:1},bS);var wU,yU,Lre,i5,vU,o5,Mre,Pre,s5=fn(kD,"GraphFeature",235,bn,Ifn,Don),XDt;x(11,1,{34:1,149:1},lr,Pr,ht,Mi),h.Dd=function(t){return Jtn(this,l(t,149))},h.Fb=function(t){return Yat(this,t)},h.Rg=function(){return Ge(this)},h.Og=function(){return this.b},h.Hb=function(){return lg(this.b)},h.Ib=function(){return this.b},k(kD,"Property",11),x(664,1,Un,JG),h.Le=function(t,r){return Hgn(this,l(t,105),l(r,105))},h.Fb=function(t){return this===t},h.Me=function(){return new Pn(this)},k(kD,"PropertyHolderComparator",664),x(705,1,Wi,_ue),h.Nb=function(t){so(this,t)},h.Pb=function(){return nfn(this)},h.Qb=function(){VQe()},h.Ob=function(){return!!this.a},k(q7,"ElkGraphUtil/AncestorIterator",705);var v3e=Hr(ko,"EList");x(71,56,{22:1,32:1,56:1,18:1,16:1,71:1,61:1}),h._c=function(t,r){aC(this,t,r)},h.Ec=function(t){return Tn(this,t)},h.ad=function(t,r){return Lge(this,t,r)},h.Fc=function(t){return ti(this,t)},h.Gi=function(){return new ES(this)},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},h.Ji=function(){return!0},h.Ki=function(t,r){},h.Li=function(){},h.Mi=function(t,r){eK(this,t,r)},h.Ni=function(t,r,o){},h.Oi=function(t,r){},h.Pi=function(t,r,o){},h.Fb=function(t){return syt(this,t)},h.Hb=function(){return Cge(this)},h.Qi=function(){return!1},h.Jc=function(){return new tn(this)},h.cd=function(){return new SS(this)},h.dd=function(t){var r;if(r=this.gc(),t<0||t>r)throw Y(new Yw(t,r));return new sW(this,t)},h.Si=function(t,r){this.Ri(t,this.bd(r))},h.Kc=function(t){return uj(this,t)},h.Ui=function(t,r){return r},h.fd=function(t,r){return SE(this,t,r)},h.Ib=function(){return x1e(this)},h.Wi=function(){return!0},h.Xi=function(t,r){return C_(this,r)},k(ko,"AbstractEList",71),x(67,71,Vf,w9,w0,Sge),h.Ci=function(t,r){return JY(this,t,r)},h.Di=function(t){return G1t(this,t)},h.Ei=function(t,r){D6(this,t,r)},h.Fi=function(t){r6(this,t)},h.Yi=function(t){return Fpe(this,t)},h.$b=function(){z3(this)},h.Gc=function(t){return q_(this,t)},h.Xb=function(t){return ie(this,t)},h.Zi=function(t){var r,o,a;++this.j,o=this.g==null?0:this.g.length,t>o&&(a=this.g,r=o+(o/2|0)+4,r<t&&(r=t),this.g=this.$i(r),a!=null&&ca(a,0,this.g,0,this.i))},h.bd=function(t){return hbt(this,t)},h.dc=function(){return this.i==0},h.Ri=function(t,r){return uJ(this,t,r)},h.$i=function(t){return we(Ri,It,1,t,5,1)},h.Ti=function(t){return this.g[t]},h.ed=function(t){return ZS(this,t)},h.Vi=function(t,r){return lK(this,t,r)},h.gc=function(){return this.i},h.Nc=function(){return ipe(this)},h.Oc=function(t){return L1e(this,t)},h.i=0;var E3e=k(ko,"BasicEList",67),S3e=Hr(ko,"TreeIterator");x(704,67,mQ),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.g==null&&!this.c?$he(this):this.g==null||this.i!=0&&l(this.g[this.i-1],51).Ob()},h.Pb=function(){return RF(this)},h.Qb=function(){if(!this.e)throw Y(new ts("There is no valid object to remove."));this.e.Qb()},h.c=!1,k(ko,"AbstractTreeIterator",704),x(611,704,mQ,lV),h._i=function(t){var r;return r=l(t,57).Dh().Jc(),se(r,289)&&l(r,289).ul(new rqe),r},k(q7,"ElkGraphUtil/PropertiesSkippingTreeIterator",611),x(957,1,{},rqe),k(q7,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",957);var a5,jre,c5=k(q7,"ElkReflect",null);x(891,1,Fy,iqe),h.Qg=function(t){return jP(),Pun(l(t,185))},k(q7,"ElkReflect/lambda$0$Type",891);var X1;Hr(ko,"ResourceLocator"),x(1056,1,{}),k(ko,"DelegatingResourceLocator",1056),x(1057,1056,{}),k("org.eclipse.emf.common","EMFPlugin",1057);var Fre=Hr($At,"Adapter"),ACn=Hr($At,"Notification");x(1155,1,NEe),h.aj=function(){return this.d},h.bj=function(t){},h.cj=function(t){this.d=t},h.dj=function(t){this.d==t&&(this.d=null)},h.d=null,k(vT,"AdapterImpl",1155),x(2072,71,BAt),h.Ci=function(t,r){return C1e(this,t,r)},h.Di=function(t){var r,o,a;if(++this.j,t.dc())return!1;for(r=this.Cj(),a=t.Jc();a.Ob();)o=a.Pb(),this.pj(this.Xi(r,o)),++r;return!0},h.Ei=function(t,r){yit(this,t,r)},h.Fi=function(t){Jst(this,t)},h.nj=function(){return this.qj()},h.$b=function(){LO(this,this.Cj(),this.Dj())},h.Gc=function(t){return this.sj(t)},h.Hc=function(t){return this.tj(t)},h.oj=function(t,r){this.zj().Sm()},h.pj=function(t){this.zj().Sm()},h.qj=function(){return this.zj()},h.rj=function(){this.zj().Sm()},h.sj=function(t){return this.zj().Sm()},h.tj=function(t){return this.zj().Sm()},h.uj=function(t){return this.zj().Sm()},h.vj=function(t){return this.zj().Sm()},h.wj=function(){return this.zj().Sm()},h.xj=function(t){return this.zj().Sm()},h.yj=function(){return this.zj().Sm()},h.Aj=function(t){return this.zj().Sm()},h.Bj=function(t,r){return this.zj().Sm()},h.Cj=function(){return this.zj().Sm()},h.Dj=function(){return this.zj().Sm()},h.Ej=function(t){return this.zj().Sm()},h.Fj=function(){return this.zj().Sm()},h.Fb=function(t){return this.uj(t)},h.Xb=function(t){return this.Ui(t,this.vj(t))},h.Hb=function(){return this.wj()},h.bd=function(t){return this.xj(t)},h.dc=function(){return this.yj()},h.Ri=function(t,r){return Gbe(this,t,r)},h.Ti=function(t){return this.vj(t)},h.ed=function(t){return iP(this,t)},h.Kc=function(t){var r;return r=this.bd(t),r>=0?(this.ed(r),!0):!1},h.Vi=function(t,r){return this.Bj(t,this.Xi(t,r))},h.gc=function(){return this.Cj()},h.Nc=function(){return this.Dj()},h.Oc=function(t){return this.Ej(t)},h.Ib=function(){return this.Fj()},k(ko,"DelegatingEList",2072),x(2073,2072,BAt),h.Ci=function(t,r){return T0e(this,t,r)},h.Di=function(t){return this.Ci(this.Cj(),t)},h.Ei=function(t,r){G0t(this,t,r)},h.Fi=function(t){D0t(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){jC(this)},h.Gj=function(t,r,o,a,u){return new Wat(this,t,r,o,a,u)},h.Hj=function(t){pr(this.hj(),t)},h.Ij=function(){return null},h.Jj=function(){return-1},h.hj=function(){return null},h.Kj=function(){return!1},h.Lj=function(t,r){return r},h.Mj=function(t,r){return r},h.Nj=function(){return!1},h.Oj=function(){return!this.yj()},h.Ri=function(t,r){var o,a;return this.Nj()?(a=this.Oj(),o=Gbe(this,t,r),this.Hj(this.Gj(7,Oe(r),o,t,a)),o):Gbe(this,t,r)},h.ed=function(t){var r,o,a,u;return this.Nj()?(o=null,a=this.Oj(),r=this.Gj(4,u=iP(this,t),null,t,a),this.Kj()&&u?(o=this.Mj(u,o),o?(o.lj(r),o.mj()):this.Hj(r)):o?(o.lj(r),o.mj()):this.Hj(r),u):(u=iP(this,t),this.Kj()&&u&&(o=this.Mj(u,null),o&&o.mj()),u)},h.Vi=function(t,r){return rvt(this,t,r)},k(vT,"DelegatingNotifyingListImpl",2073),x(152,1,qD),h.lj=function(t){return Cbe(this,t)},h.mj=function(){oK(this)},h.ej=function(){return this.d},h.Ij=function(){return null},h.Pj=function(){return null},h.fj=function(t){return-1},h.gj=function(){return Uwt(this)},h.hj=function(){return null},h.ij=function(){return Zme(this)},h.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},h.Qj=function(){return!1},h.kj=function(t){var r,o,a,u,f,p,m,y,v,T,N;switch(this.d){case 1:case 2:switch(u=t.ej(),u){case 1:case 2:if(f=t.hj(),me(f)===me(this.hj())&&this.fj(null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0}case 4:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),me(f)===me(this.hj())&&this.fj(null)==t.fj(null))return v=U0e(this),y=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,p=t.jj(),this.d=6,N=new w0(2),y<=p?(Tn(N,this.n),Tn(N,t.ij()),this.g=Z(X(Rn,1),Qn,30,15,[this.o=y,p+1])):(Tn(N,t.ij()),Tn(N,this.n),this.g=Z(X(Rn,1),Qn,30,15,[this.o=p,y])),this.n=N,v||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),me(f)===me(this.hj())&&this.fj(null)==t.fj(null)){for(v=U0e(this),p=t.jj(),T=l(this.g,54),a=we(Rn,Qn,30,T.length+1,15,1),r=0;r<T.length&&(m=T[r],m<=p);)a[r++]=m,++p;for(o=l(this.n,16),o._c(r,t.ij()),a[r]=p;++r<a.length;)a[r]=T[r-1];return this.g=a,v||(this.o=-2-a[0]),!0}break}}break}}return!1},h.Ib=function(){var t,r,o,a;switch(a=new ml(Ab(this.Pm)+"@"+(r=Rr(this)>>>0,r.toString(16))),a.a+=" (eventType: ",this.d){case 1:{a.a+="SET";break}case 2:{a.a+="UNSET";break}case 3:{a.a+="ADD";break}case 5:{a.a+="ADD_MANY";break}case 4:{a.a+="REMOVE";break}case 6:{a.a+="REMOVE_MANY";break}case 7:{a.a+="MOVE";break}case 8:{a.a+="REMOVING_ADAPTER";break}case 9:{a.a+="RESOLVE";break}default:{vq(a,this.d);break}}if(Iyt(this)&&(a.a+=", touch: true"),a.a+=", position: ",vq(a,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),a.a+=", notifier: ",h3(a,this.hj()),a.a+=", feature: ",h3(a,this.Ij()),a.a+=", oldValue: ",h3(a,Zme(this)),a.a+=", newValue: ",this.d==6&&se(this.g,54)){for(o=l(this.g,54),a.a+="[",t=0;t<o.length;)a.a+=o[t],++t<o.length&&(a.a+=ja);a.a+="]"}else h3(a,Uwt(this));return a.a+=", isTouch: ",Zp(a,Iyt(this)),a.a+=", wasSet: ",Zp(a,U0e(this)),a.a+=")",a.a},h.d=0,h.e=0,h.f=0,h.j=0,h.k=0,h.o=0,h.p=0,k(vT,"NotificationImpl",152),x(1169,152,qD,Wat),h.Ij=function(){return this.a.Ij()},h.fj=function(t){return this.a.Jj()},h.hj=function(){return this.a.hj()},k(vT,"DelegatingNotifyingListImpl/1",1169),x(255,67,Vf,oqe,e1),h.Ec=function(t){return jgt(this,l(t,374))},h.lj=function(t){return jgt(this,t)},h.mj=function(){var t,r,o;for(t=0;t<this.i;++t)r=l(this.g[t],374),o=r.hj(),o!=null&&r.ej()!=-1&&l(o,95).uh(r)},h.$i=function(t){return we(ACn,It,374,t,0,1)},k(vT,"NotificationChainImpl",255),x(1502,94,XTt),h.rh=function(){return this.e},h.th=function(){return(this.f&1)!=0},h.f=1,k(vT,"NotifierImpl",1502),x(2070,67,Vf),h.Ci=function(t,r){return NJ(this,t,r)},h.Di=function(t){return this.Ci(this.i,t)},h.Ei=function(t,r){Sme(this,t,r)},h.Fi=function(t){lJ(this,t)},h.Ji=function(){return!this.Kj()},h.$b=function(){vn(this)},h.Gj=function(t,r,o,a,u){return new Kat(this,t,r,o,a,u)},h.Hj=function(t){pr(this.hj(),t)},h.Ij=function(){return null},h.Jj=function(){return-1},h.hj=function(){return null},h.Kj=function(){return!1},h.Rj=function(){return!1},h.Lj=function(t,r){return r},h.Mj=function(t,r){return r},h.Nj=function(){return!1},h.Oj=function(){return this.i!=0},h.Ri=function(t,r){return cC(this,t,r)},h.ed=function(t){return ky(this,t)},h.Vi=function(t,r){return Evt(this,t,r)},h.Sj=function(t,r){return r},h.Tj=function(t,r){return r},h.Uj=function(t,r,o){return o},k(vT,"NotifyingListImpl",2070),x(1168,152,qD,Kat),h.Ij=function(){return this.a.Ij()},h.fj=function(t){return this.a.Jj()},h.hj=function(){return this.a.hj()},k(vT,"NotifyingListImpl/1",1168),x(958,67,Vf,Eit),h.Gc=function(t){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new Jw(this),this.a=this.j),bl(this.b,t)):q_(this,t)},h.Wi=function(){return!0},h.a=0,k(ko,"AbstractEList/1",958),x(306,99,o7,Yw),k(ko,"AbstractEList/BasicIndexOutOfBoundsException",306),x(39,1,Wi,tn),h.Nb=function(t){so(this,t)},h.Vj=function(){if(this.i.j!=this.f)throw Y(new $u)},h.Wj=function(){return rn(this)},h.Ob=function(){return this.e!=this.i.gc()},h.Pb=function(){return this.Wj()},h.Qb=function(){wC(this)},h.e=0,h.f=0,h.g=-1,k(ko,"AbstractEList/EIterator",39),x(288,39,vh,SS,sW),h.Qb=function(){wC(this)},h.Rb=function(t){Wgt(this,t)},h.Xj=function(){var t;try{return t=this.d.Xb(--this.e),this.Vj(),this.g=this.e,t}catch(r){throw r=ui(r),se(r,99)?(this.Vj(),Y(new vs)):Y(r)}},h.Yj=function(t){q1t(this,t)},h.Sb=function(){return this.e!=0},h.Tb=function(){return this.e},h.Ub=function(){return this.Xj()},h.Vb=function(){return this.e-1},h.Wb=function(t){this.Yj(t)},k(ko,"AbstractEList/EListIterator",288),x(356,39,Wi,ES),h.Wj=function(){return SY(this)},h.Qb=function(){throw Y(new Nn)},k(ko,"AbstractEList/NonResolvingEIterator",356),x(393,288,vh,IO,hfe),h.Rb=function(t){throw Y(new Nn)},h.Wj=function(){var t;try{return t=this.c.Ti(this.e),this.Vj(),this.g=this.e++,t}catch(r){throw r=ui(r),se(r,99)?(this.Vj(),Y(new vs)):Y(r)}},h.Xj=function(){var t;try{return t=this.c.Ti(--this.e),this.Vj(),this.g=this.e,t}catch(r){throw r=ui(r),se(r,99)?(this.Vj(),Y(new vs)):Y(r)}},h.Qb=function(){throw Y(new Nn)},h.Wb=function(t){throw Y(new Nn)},k(ko,"AbstractEList/NonResolvingEListIterator",393),x(2059,71,UAt),h.Ci=function(t,r){var o,a,u,f,p,m,y,v,T,N,R;if(u=r.gc(),u!=0){for(v=l(qt(this.a,4),131),T=v==null?0:v.length,R=T+u,a=qK(this,R),N=T-t,N>0&&ca(v,t,a,t+u,N),y=r.Jc(),p=0;p<u;++p)m=y.Pb(),o=t+p,pV(a,o,C_(this,m));for(H_(this,a),f=0;f<u;++f)m=a[t],this.Ki(t,m),++t;return!0}else return++this.j,!1},h.Di=function(t){var r,o,a,u,f,p,m,y,v;if(a=t.gc(),a!=0){for(y=(o=l(qt(this.a,4),131),o==null?0:o.length),v=y+a,r=qK(this,v),m=t.Jc(),f=y;f<v;++f)p=m.Pb(),pV(r,f,C_(this,p));for(H_(this,r),u=y;u<v;++u)p=r[u],this.Ki(u,p);return!0}else return++this.j,!1},h.Ei=function(t,r){var o,a,u,f;a=l(qt(this.a,4),131),u=a==null?0:a.length,o=qK(this,u+1),f=C_(this,r),t!=u&&ca(a,t,o,t+1,u-t),ii(o,t,f),H_(this,o),this.Ki(t,r)},h.Fi=function(t){var r,o,a;a=(o=l(qt(this.a,4),131),o==null?0:o.length),r=qK(this,a+1),pV(r,a,C_(this,t)),H_(this,r),this.Ki(a,t)},h.Gi=function(){return new Alt(this)},h.Hi=function(){return new Cst(this)},h.Ii=function(t){var r,o;if(o=(r=l(qt(this.a,4),131),r==null?0:r.length),t<0||t>o)throw Y(new Yw(t,o));return new oat(this,t)},h.$b=function(){var t,r;++this.j,t=l(qt(this.a,4),131),r=t==null?0:t.length,H_(this,null),eK(this,r,t)},h.Gc=function(t){var r,o,a,u,f;if(r=l(qt(this.a,4),131),r!=null){if(t!=null){for(a=r,u=0,f=a.length;u<f;++u)if(o=a[u],gr(t,o))return!0}else for(a=r,u=0,f=a.length;u<f;++u)if(o=a[u],me(o)===me(t))return!0}return!1},h.Xb=function(t){var r,o;if(r=l(qt(this.a,4),131),o=r==null?0:r.length,t>=o)throw Y(new Yw(t,o));return r[t]},h.bd=function(t){var r,o,a;if(r=l(qt(this.a,4),131),r!=null){if(t!=null){for(o=0,a=r.length;o<a;++o)if(gr(t,r[o]))return o}else for(o=0,a=r.length;o<a;++o)if(me(r[o])===me(t))return o}return-1},h.dc=function(){return l(qt(this.a,4),131)==null},h.Jc=function(){return new Tlt(this)},h.cd=function(){return new Nst(this)},h.dd=function(t){var r,o;if(o=(r=l(qt(this.a,4),131),r==null?0:r.length),t<0||t>o)throw Y(new Yw(t,o));return new iat(this,t)},h.Ri=function(t,r){var o,a,u;if(o=e1t(this),u=o==null?0:o.length,t>=u)throw Y(new Ia(gQ+t+cm+u));if(r>=u)throw Y(new Ia(bQ+r+cm+u));return a=o[r],t!=r&&(t<r?ca(o,t,o,t+1,r-t):ca(o,r+1,o,r,t-r),ii(o,t,a),H_(this,o)),a},h.Ti=function(t){return l(qt(this.a,4),131)[t]},h.ed=function(t){return iEn(this,t)},h.Vi=function(t,r){var o,a;return o=e1t(this),a=o[t],pV(o,t,C_(this,r)),H_(this,o),a},h.gc=function(){var t;return t=l(qt(this.a,4),131),t==null?0:t.length},h.Nc=function(){var t,r,o;return t=l(qt(this.a,4),131),o=t==null?0:t.length,r=we(Fre,EQ,420,o,0,1),o>0&&ca(t,0,r,0,o),r},h.Oc=function(t){var r,o,a;return r=l(qt(this.a,4),131),a=r==null?0:r.length,a>0&&(t.length<a&&(o=y6(ru(t).c,a),t=o),ca(r,0,t,0,a)),t.length>a&&ii(t,a,null),t};var ZDt;k(ko,"ArrayDelegatingEList",2059),x(1043,39,Wi,Tlt),h.Vj=function(){if(this.b.j!=this.f||me(l(qt(this.b.a,4),131))!==me(this.a))throw Y(new $u)},h.Qb=function(){wC(this),this.a=l(qt(this.b.a,4),131)},k(ko,"ArrayDelegatingEList/EIterator",1043),x(719,288,vh,Nst,iat),h.Vj=function(){if(this.b.j!=this.f||me(l(qt(this.b.a,4),131))!==me(this.a))throw Y(new $u)},h.Yj=function(t){q1t(this,t),this.a=l(qt(this.b.a,4),131)},h.Qb=function(){wC(this),this.a=l(qt(this.b.a,4),131)},k(ko,"ArrayDelegatingEList/EListIterator",719),x(1044,356,Wi,Alt),h.Vj=function(){if(this.b.j!=this.f||me(l(qt(this.b.a,4),131))!==me(this.a))throw Y(new $u)},k(ko,"ArrayDelegatingEList/NonResolvingEIterator",1044),x(720,393,vh,Cst,oat),h.Vj=function(){if(this.b.j!=this.f||me(l(qt(this.b.a,4),131))!==me(this.a))throw Y(new $u)},k(ko,"ArrayDelegatingEList/NonResolvingEListIterator",720),x(612,306,o7,aV),k(ko,"BasicEList/BasicIndexOutOfBoundsException",612),x(706,67,Vf,ede),h._c=function(t,r){throw Y(new Nn)},h.Ec=function(t){throw Y(new Nn)},h.ad=function(t,r){throw Y(new Nn)},h.Fc=function(t){throw Y(new Nn)},h.$b=function(){throw Y(new Nn)},h.Zi=function(t){throw Y(new Nn)},h.Jc=function(){return this.Gi()},h.cd=function(){return this.Hi()},h.dd=function(t){return this.Ii(t)},h.Ri=function(t,r){throw Y(new Nn)},h.Si=function(t,r){throw Y(new Nn)},h.ed=function(t){throw Y(new Nn)},h.Kc=function(t){throw Y(new Nn)},h.fd=function(t,r){throw Y(new Nn)},k(ko,"BasicEList/UnmodifiableEList",706),x(718,1,{3:1,22:1,18:1,16:1,61:1,593:1}),h._c=function(t,r){Ftn(this,t,l(r,45))},h.Ec=function(t){return Pnn(this,l(t,45))},h.Ic=function(t){lo(this,t)},h.Xb=function(t){return l(ie(this.c,t),138)},h.Ri=function(t,r){return l(this.c.Ri(t,r),45)},h.Si=function(t,r){$tn(this,t,l(r,45))},h.ed=function(t){return l(this.c.ed(t),45)},h.fd=function(t,r){return Xsn(this,t,l(r,45))},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new vt(null,new St(this,16))},h.ad=function(t,r){return this.c.ad(t,r)},h.Fc=function(t){return this.c.Fc(t)},h.$b=function(){this.c.$b()},h.Gc=function(t){return this.c.Gc(t)},h.Hc=function(t){return N6(this.c,t)},h.Zj=function(){var t,r,o;if(this.d==null){for(this.d=we(E3e,CEe,67,2*this.f+1,0,1),o=this.e,this.f=0,r=this.c.Jc();r.e!=r.i.gc();)t=l(r.Wj(),138),lF(this,t);this.e=o}},h.Fb=function(t){return Xit(this,t)},h.Hb=function(){return Cge(this.c)},h.bd=function(t){return this.c.bd(t)},h.$j=function(){this.c=new tZe(this)},h.dc=function(){return this.f==0},h.Jc=function(){return this.c.Jc()},h.cd=function(){return this.c.cd()},h.dd=function(t){return this.c.dd(t)},h._j=function(){return s6(this)},h.ak=function(t,r,o){return new dot(t,r,o)},h.bk=function(){return new aqe},h.Kc=function(t){return Xft(this,t)},h.gc=function(){return this.f},h.hd=function(t,r){return new Rf(this.c,t,r)},h.Nc=function(){return this.c.Nc()},h.Oc=function(t){return this.c.Oc(t)},h.Ib=function(){return x1e(this.c)},h.e=0,h.f=0,k(ko,"BasicEMap",718),x(1038,67,Vf,tZe),h.Ki=function(t,r){EQt(this,l(r,138))},h.Ni=function(t,r,o){var a;++(a=this,l(r,138),a).a.e},h.Oi=function(t,r){SQt(this,l(r,138))},h.Pi=function(t,r,o){mnn(this,l(r,138),l(o,138))},h.Mi=function(t,r){Ght(this.a)},k(ko,"BasicEMap/1",1038),x(1039,67,Vf,aqe),h.$i=function(t){return we(_Cn,HAt,618,t,0,1)},k(ko,"BasicEMap/2",1039),x(1040,tf,wc,nZe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return lY(this.a,t)},h.Jc=function(){return this.a.f==0?(JA(),u5.a):new BQe(this.a)},h.Kc=function(t){var r;return r=this.a.f,eF(this.a,t),this.a.f!=r},h.gc=function(){return this.a.f},k(ko,"BasicEMap/3",1040),x(1041,32,Ry,rZe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){return ayt(this.a,t)},h.Jc=function(){return this.a.f==0?(JA(),u5.a):new UQe(this.a)},h.gc=function(){return this.a.f},k(ko,"BasicEMap/4",1041),x(1042,tf,wc,iZe),h.$b=function(){this.a.c.$b()},h.Gc=function(t){var r,o,a,u,f,p,m,y,v;if(this.a.f>0&&se(t,45)&&(this.a.Zj(),y=l(t,45),m=y.jd(),u=m==null?0:Rr(m),f=Xde(this.a,u),r=this.a.d[f],r)){for(o=l(r.g,375),v=r.i,p=0;p<v;++p)if(a=o[p],a.yi()==u&&a.Fb(y))return!0}return!1},h.Jc=function(){return this.a.f==0?(JA(),u5.a):new SW(this.a)},h.Kc=function(t){return Y0t(this,t)},h.gc=function(){return this.a.f},k(ko,"BasicEMap/5",1042),x(619,1,Wi,SW),h.Nb=function(t){so(this,t)},h.Ob=function(){return this.b!=-1},h.Pb=function(){var t;if(this.f.e!=this.c)throw Y(new $u);if(this.b==-1)throw Y(new vs);return this.d=this.a,this.e=this.b,xbt(this),t=l(this.f.d[this.d].g[this.e],138),this.ck(t)},h.Qb=function(){if(this.f.e!=this.c)throw Y(new $u);if(this.e==-1)throw Y(new lc);this.f.c.Kc(ie(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},h.ck=function(t){return t},h.a=0,h.b=-1,h.c=0,h.d=0,h.e=0,k(ko,"BasicEMap/BasicEMapIterator",619),x(1036,619,Wi,BQe),h.ck=function(t){return t.jd()},k(ko,"BasicEMap/BasicEMapKeyIterator",1036),x(1037,619,Wi,UQe),h.ck=function(t){return t.kd()},k(ko,"BasicEMap/BasicEMapValueIterator",1037),x(1035,1,j0,oZe),h.wc=function(t){S6(this,t)},h.$b=function(){this.a.c.$b()},h._b=function(t){return knt(this,t)},h.uc=function(t){return ayt(this.a,t)},h.vc=function(){return Mdn(this.a)},h.Fb=function(t){return Xit(this.a,t)},h.xc=function(t){return Td(this.a,t)},h.Hb=function(){return Cge(this.a.c)},h.dc=function(){return this.a.f==0},h.ec=function(){return Ddn(this.a)},h.yc=function(t,r){return V6(this.a,t,r)},h.Ac=function(t){return eF(this.a,t)},h.gc=function(){return this.a.f},h.Ib=function(){return x1e(this.a.c)},h.Bc=function(){return Ldn(this.a)},k(ko,"BasicEMap/DelegatingMap",1035),x(618,1,{45:1,138:1,618:1},dot),h.Fb=function(t){var r;return se(t,45)?(r=l(t,45),(this.b!=null?gr(this.b,r.jd()):me(this.b)===me(r.jd()))&&(this.c!=null?gr(this.c,r.kd()):me(this.c)===me(r.kd()))):!1},h.yi=function(){return this.a},h.jd=function(){return this.b},h.kd=function(){return this.c},h.Hb=function(){return this.a^(this.c==null?0:Rr(this.c))},h.zi=function(t){this.a=t},h.Ai=function(t){throw Y(new Sb)},h.ld=function(t){var r;return r=this.c,this.c=t,r},h.Ib=function(){return this.b+"->"+this.c},h.a=0;var _Cn=k(ko,"BasicEMap/EntryImpl",618);x(538,1,{},y9),k(ko,"BasicEMap/View",538);var u5;x(776,1,{}),h.Fb=function(t){return Ome((At(),Ro),t)},h.Hb=function(){return Uge((At(),Ro))},h.Ib=function(){return Qd((At(),Ro))},k(ko,"ECollections/BasicEmptyUnmodifiableEList",776),x(1314,1,vh,sqe),h.Nb=function(t){so(this,t)},h.Rb=function(t){throw Y(new Nn)},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Pb=function(){throw Y(new vs)},h.Tb=function(){return 0},h.Ub=function(){throw Y(new vs)},h.Vb=function(){return-1},h.Qb=function(){throw Y(new Nn)},h.Wb=function(t){throw Y(new Nn)},k(ko,"ECollections/BasicEmptyUnmodifiableEList/1",1314),x(1312,776,{22:1,18:1,16:1,61:1},WZe),h._c=function(t,r){uet()},h.Ec=function(t){return det()},h.ad=function(t,r){return fet()},h.Fc=function(t){return het()},h.$b=function(){pet()},h.Gc=function(t){return!1},h.Hc=function(t){return!1},h.Ic=function(t){lo(this,t)},h.Xb=function(t){return ide((At(),t)),null},h.bd=function(t){return-1},h.dc=function(){return!0},h.Jc=function(){return this.a},h.cd=function(){return this.a},h.dd=function(t){return this.a},h.Ri=function(t,r){return get()},h.Si=function(t,r){bet()},h.ed=function(t){return met()},h.Kc=function(t){return wet()},h.fd=function(t,r){return yet()},h.gc=function(){return 0},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new vt(null,new St(this,16))},h.hd=function(t,r){return At(),new Rf(Ro,t,r)},h.Nc=function(){return Zfe((At(),Ro))},h.Oc=function(t){return At(),pC(Ro,t)},k(ko,"ECollections/EmptyUnmodifiableEList",1312),x(1313,776,{22:1,18:1,16:1,61:1,593:1},KZe),h._c=function(t,r){uet()},h.Ec=function(t){return det()},h.ad=function(t,r){return fet()},h.Fc=function(t){return het()},h.$b=function(){pet()},h.Gc=function(t){return!1},h.Hc=function(t){return!1},h.Ic=function(t){lo(this,t)},h.Xb=function(t){return ide((At(),t)),null},h.bd=function(t){return-1},h.dc=function(){return!0},h.Jc=function(){return this.a},h.cd=function(){return this.a},h.dd=function(t){return this.a},h.Ri=function(t,r){return get()},h.Si=function(t,r){bet()},h.ed=function(t){return met()},h.Kc=function(t){return wet()},h.fd=function(t,r){return yet()},h.gc=function(){return 0},h.gd=function(t){zb(this,t)},h.Lc=function(){return new St(this,16)},h.Mc=function(){return new vt(null,new St(this,16))},h.hd=function(t,r){return At(),new Rf(Ro,t,r)},h.Nc=function(){return Zfe((At(),Ro))},h.Oc=function(t){return At(),pC(Ro,t)},h._j=function(){return At(),At(),xh},k(ko,"ECollections/EmptyUnmodifiableEMap",1313);var T3e=Hr(ko,"Enumerator"),EU;x(291,1,{291:1},wJ),h.Fb=function(t){var r;return this===t?!0:se(t,291)?(r=l(t,291),this.f==r.f&&ysn(this.i,r.i)&&WV(this.a,this.f&256?r.f&256?r.a:null:r.f&256?null:r.a)&&WV(this.d,r.d)&&WV(this.g,r.g)&&WV(this.e,r.e)&&Nbn(this,r)):!1},h.Hb=function(){return this.f},h.Ib=function(){return Hyt(this)},h.f=0;var QDt=0,eLt=0,tLt=0,nLt=0,A3e=0,_3e=0,x3e=0,k3e=0,N3e=0,rLt,O4=0,D4=0,iLt=0,oLt=0,SU,C3e;k(ko,"URI",291),x(1102,44,LE,YZe),h.yc=function(t,r){return l(rs(this,In(t),l(r,291)),291)},k(ko,"URI/URICache",1102),x(495,67,Vf,cqe,uP),h.Qi=function(){return!0},k(ko,"UniqueEList",495),x(585,63,vp,sj),k(ko,"WrappedException",585);var Kn=Hr(el,qAt),mv=Hr(el,VAt),ac=Hr(el,WAt),wv=Hr(el,KAt),Ld=Hr(el,YAt),Ol=Hr(el,"EClass"),$re=Hr(el,"EDataType"),sLt;x(1210,44,LE,JZe),h.xc=function(t){return zi(t)?wa(this,t):Ss(ns(this.f,t))},k(el,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1210);var TU=Hr(el,"EEnum"),Op=Hr(el,JAt),qo=Hr(el,XAt),Dl=Hr(el,ZAt),Ll,lw=Hr(el,QAt),yv=Hr(el,e_t);x(1034,1,{},uqe),h.Ib=function(){return"NIL"},k(el,"EStructuralFeature/Internal/DynamicValueHolder/1",1034);var aLt;x(1033,44,LE,XZe),h.xc=function(t){return zi(t)?wa(this,t):Ss(ns(this.f,t))},k(el,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1033);var Ka=Hr(el,t_t),YT=Hr(el,"EValidator/PatternMatcher"),I3e,R3e,Bt,Og,vv,Z1,cLt,uLt,lLt,Q1,Dg,eb,dw,bf,dLt,fLt,Ml,Lg,hLt,Mg,Ev,y2,Do,pLt,gLt,fw,AU=Hr(Fr,"FeatureMap/Entry");x(537,1,{76:1},x8),h.Jk=function(){return this.a},h.kd=function(){return this.b},k(zt,"BasicEObjectImpl/1",537),x(1032,1,SQ,Ent),h.Dk=function(t){return YW(this.a,this.b,t)},h.Oj=function(){return dct(this.a,this.b)},h.Wb=function(t){Fhe(this.a,this.b,t)},h.Ek=function(){han(this.a,this.b)},k(zt,"BasicEObjectImpl/4",1032),x(2060,1,{115:1}),h.Kk=function(t){this.e=t==0?bLt:we(Ri,It,1,t,5,1)},h.ii=function(t){return this.e[t]},h.ji=function(t,r){this.e[t]=r},h.ki=function(t){this.e[t]=null},h.Lk=function(){return this.c},h.Mk=function(){throw Y(new Nn)},h.Nk=function(){throw Y(new Nn)},h.Ok=function(){return this.d},h.Pk=function(){return this.e!=null},h.Qk=function(t){this.c=t},h.Rk=function(t){throw Y(new Nn)},h.Sk=function(t){throw Y(new Nn)},h.Tk=function(t){this.d=t};var bLt;k(zt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2060),x(195,2060,{115:1},bd),h.Mk=function(){return this.a},h.Nk=function(){return this.b},h.Rk=function(t){this.a=t},h.Sk=function(t){this.b=t},k(zt,"BasicEObjectImpl/EPropertiesHolderImpl",195),x(505,101,tAt,v9),h.rh=function(){return this.f},h.wh=function(){return this.k},h.yh=function(t,r){this.g=t,this.i=r},h.Ah=function(){return this.j&2?this.Xh().Lk():this.fi()},h.Ch=function(){return this.i},h.th=function(){return(this.j&1)!=0},h.Mh=function(){return this.g},h.Sh=function(){return(this.j&4)!=0},h.Xh=function(){return!this.k&&(this.k=new bd),this.k},h._h=function(t){this.Xh().Qk(t),t?this.j|=2:this.j&=-3},h.bi=function(t){this.Xh().Sk(t),t?this.j|=4:this.j&=-5},h.fi=function(){return(c1(),Bt).S},h.i=0,h.j=1,k(zt,"EObjectImpl",505),x(792,505,{110:1,95:1,94:1,57:1,115:1,52:1,101:1},Mfe),h.ii=function(t){return this.e[t]},h.ji=function(t,r){this.e[t]=r},h.ki=function(t){this.e[t]=null},h.Ah=function(){return this.d},h.Fh=function(t){return Ur(this.d,t)},h.Hh=function(){return this.d},h.Lh=function(){return this.e!=null},h.Xh=function(){return!this.k&&(this.k=new lqe),this.k},h._h=function(t){this.d=t},h.ei=function(){var t;return this.e==null&&(t=ln(this.d),this.e=t==0?mLt:we(Ri,It,1,t,5,1)),this},h.gi=function(){return 0};var mLt;k(zt,"DynamicEObjectImpl",792),x(1500,792,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1},Bot),h.Fb=function(t){return this===t},h.Hb=function(){return s0(this)},h._h=function(t){this.d=t,this.b=iD(t,"key"),this.c=iD(t,sI)},h.yi=function(){var t;return this.a==-1&&(t=uK(this,this.b),this.a=t==null?0:Rr(t)),this.a},h.jd=function(){return uK(this,this.b)},h.kd=function(){return uK(this,this.c)},h.zi=function(t){this.a=t},h.Ai=function(t){Fhe(this,this.b,t)},h.ld=function(t){var r;return r=uK(this,this.c),Fhe(this,this.c,t),r},h.a=0,k(zt,"DynamicEObjectImpl/BasicEMapEntry",1500),x(1501,1,{115:1},lqe),h.Kk=function(t){throw Y(new Nn)},h.ii=function(t){throw Y(new Nn)},h.ji=function(t,r){throw Y(new Nn)},h.ki=function(t){throw Y(new Nn)},h.Lk=function(){throw Y(new Nn)},h.Mk=function(){return this.a},h.Nk=function(){return this.b},h.Ok=function(){return this.c},h.Pk=function(){throw Y(new Nn)},h.Qk=function(t){throw Y(new Nn)},h.Rk=function(t){this.a=t},h.Sk=function(t){this.b=t},h.Tk=function(t){this.c=t},k(zt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1501),x(508,162,{110:1,95:1,94:1,594:1,159:1,57:1,115:1,52:1,101:1,508:1,162:1,118:1,119:1},Gce),h.xh=function(t){return fbe(this,t)},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.d;case 2:return o?(!this.b&&(this.b=new Zc((_t(),Do),zs,this)),this.b):(!this.b&&(this.b=new Zc((_t(),Do),zs,this)),s6(this.b));case 3:return mct(this);case 4:return!this.a&&(this.a=new Ei(J1,this,4)),this.a;case 5:return!this.c&&(this.c=new sE(J1,this,5)),this.c}return qu(this,t-ln((_t(),Og)),kt((a=l(qt(this,16),29),a||Og),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 3:return this.Cb&&(o=(u=this.Db>>16,u>=0?fbe(this,o):this.Cb.Qh(this,-1-u,null,o))),Jfe(this,l(t,159),o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Og)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Og)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 2:return!this.b&&(this.b=new Zc((_t(),Do),zs,this)),V8(this.b,t,o);case 3:return Jfe(this,null,o);case 4:return!this.a&&(this.a=new Ei(J1,this,4)),xo(this.a,t,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Og)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Og)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!mct(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return zu(this,t-ln((_t(),Og)),kt((r=l(qt(this,16),29),r||Og),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:rsn(this,In(r));return;case 2:!this.b&&(this.b=new Zc((_t(),Do),zs,this)),Ij(this.b,r);return;case 3:Cwt(this,l(r,159));return;case 4:!this.a&&(this.a=new Ei(J1,this,4)),vn(this.a),!this.a&&(this.a=new Ei(J1,this,4)),ti(this.a,l(r,18));return;case 5:!this.c&&(this.c=new sE(J1,this,5)),vn(this.c),!this.c&&(this.c=new sE(J1,this,5)),ti(this.c,l(r,18));return}Xu(this,t-ln((_t(),Og)),kt((o=l(qt(this,16),29),o||Og),t),r)},h.fi=function(){return _t(),Og},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:lge(this,null);return;case 2:!this.b&&(this.b=new Zc((_t(),Do),zs,this)),this.b.c.$b();return;case 3:Cwt(this,null);return;case 4:!this.a&&(this.a=new Ei(J1,this,4)),vn(this.a);return;case 5:!this.c&&(this.c=new sE(J1,this,5)),vn(this.c);return}Ju(this,t-ln((_t(),Og)),kt((r=l(qt(this,16),29),r||Og),t))},h.Ib=function(){return pgt(this)},h.d=null,k(zt,"EAnnotationImpl",508),x(145,718,IEe,pc),h.Ei=function(t,r){Stn(this,t,l(r,45))},h.Uk=function(t,r){return Arn(this,l(t,45),r)},h.Yi=function(t){return l(l(this.c,72).Yi(t),138)},h.Gi=function(){return l(this.c,72).Gi()},h.Hi=function(){return l(this.c,72).Hi()},h.Ii=function(t){return l(this.c,72).Ii(t)},h.Vk=function(t,r){return V8(this,t,r)},h.Dk=function(t){return l(this.c,78).Dk(t)},h.$j=function(){},h.Oj=function(){return l(this.c,78).Oj()},h.ak=function(t,r,o){var a;return a=l(mu(this.b).ti().pi(this.b),138),a.zi(t),a.Ai(r),a.ld(o),a},h.bk=function(){return new kue(this)},h.Wb=function(t){Ij(this,t)},h.Ek=function(){l(this.c,78).Ek()},k(Fr,"EcoreEMap",145),x(170,145,IEe,Zc),h.Zj=function(){var t,r,o,a,u,f;if(this.d==null){for(f=we(E3e,CEe,67,2*this.f+1,0,1),o=this.c.Jc();o.e!=o.i.gc();)r=l(o.Wj(),138),a=r.yi(),u=(a&ar)%f.length,t=f[u],!t&&(t=f[u]=new kue(this)),t.Ec(r);this.d=f}},k(zt,"EAnnotationImpl/1",170),x(294,444,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,473:1,52:1,101:1,162:1,294:1,118:1,119:1}),h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Oe(this.s);case 5:return Oe(this.t);case 6:return Lt(),!!this.Hk();case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q}return qu(this,t-ln(this.fi()),kt((a=l(qt(this,16),29),a||this.fi()),t),r,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 9:return uW(this,o)}return u=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0)}return zu(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:this.ri(In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:ug(this,l(r,15).a);return;case 5:this.Xk(l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return}Xu(this,t-ln(this.fi()),kt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),gLt},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:this.ri(null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:ug(this,0);return;case 5:this.Xk(1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return}Ju(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){Sl(this),this.Bb|=1},h.Fk=function(){return Sl(this)},h.Gk=function(){return this.t},h.Hk=function(){var t;return t=this.t,t>1||t==-1},h.Qi=function(){return(this.Bb&512)!=0},h.Wk=function(t,r){return a1e(this,t,r)},h.Xk=function(t){dy(this,t)},h.Ib=function(){return Tme(this)},h.s=0,h.t=1,k(zt,"ETypedElementImpl",294),x(454,294,{110:1,95:1,94:1,159:1,199:1,57:1,182:1,69:1,115:1,473:1,52:1,101:1,162:1,454:1,294:1,118:1,119:1,689:1}),h.xh=function(t){return sbt(this,t)},h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Oe(this.s);case 5:return Oe(this.t);case 6:return Lt(),!!this.Hk();case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&yp);case 12:return Lt(),!!(this.Bb&Dy);case 13:return this.j;case 14:return J_(this);case 15:return Lt(),!!(this.Bb&yc);case 16:return Lt(),!!(this.Bb&$f);case 17:return iy(this)}return qu(this,t-ln(this.fi()),kt((a=l(qt(this,16),29),a||this.fi()),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 17:return this.Cb&&(o=(u=this.Db>>16,u>=0?sbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,17,o)}return f=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),f.uk().xk(this,Ha(this),r-ln(this.fi()),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 9:return uW(this,o);case 17:return Su(this,null,17,o)}return u=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&yp)!=0;case 12:return(this.Bb&Dy)!=0;case 13:return this.j!=null;case 14:return J_(this)!=null;case 15:return(this.Bb&yc)!=0;case 16:return(this.Bb&$f)!=0;case 17:return!!iy(this)}return zu(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MW(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:ug(this,l(r,15).a);return;case 5:this.Xk(l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 10:L_(this,Ye(Ke(r)));return;case 11:j_(this,Ye(Ke(r)));return;case 12:M_(this,Ye(Ke(r)));return;case 13:nde(this,In(r));return;case 15:P_(this,Ye(Ke(r)));return;case 16:F_(this,Ye(Ke(r)));return}Xu(this,t-ln(this.fi()),kt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),pLt},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,89)&&Ay(Pc(l(this.Cb,89)),4),Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:ug(this,0);return;case 5:this.Xk(1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:L_(this,!0);return;case 11:j_(this,!1);return;case 12:M_(this,!1);return;case 13:this.i=null,Aj(this,null);return;case 15:P_(this,!1);return;case 16:F_(this,!1);return}Ju(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){c_(is((mc(),ao),this)),Sl(this),this.Bb|=1},h.nk=function(){return this.f},h.gk=function(){return J_(this)},h.ok=function(){return iy(this)},h.sk=function(){return null},h.Yk=function(){return this.k},h.Jj=function(){return this.n},h.tk=function(){return wF(this)},h.uk=function(){var t,r,o,a,u,f,p,m,y;return this.p||(o=iy(this),(o.i==null&&Ff(o),o.i).length,a=this.sk(),a&&ln(iy(a)),u=Sl(this),p=u.ik(),t=p?p.i&1?p==cc?Yr:p==Rn?_i:p==Tv?Ux:p==Ki?fi:p==pw?Y0:p==T2?J0:p==Ec?ET:mI:p:null,r=J_(this),m=u.gk(),Xgn(this),this.Bb&$f&&((f=ybe((mc(),ao),o))&&f!=this||(f=MS(is(ao,this))))?this.p=new Tnt(this,f):this.Hk()?this.$k()?a?this.Bb&yc?t?this._k()?this.p=new Lb(47,t,this,a):this.p=new Lb(5,t,this,a):this._k()?this.p=new Bb(46,this,a):this.p=new Bb(4,this,a):t?this._k()?this.p=new Lb(49,t,this,a):this.p=new Lb(7,t,this,a):this._k()?this.p=new Bb(48,this,a):this.p=new Bb(6,this,a):this.Bb&yc?t?t==dm?this.p=new rg(50,JDt,this):this._k()?this.p=new rg(43,t,this):this.p=new rg(1,t,this):this._k()?this.p=new og(42,this):this.p=new og(0,this):t?t==dm?this.p=new rg(41,JDt,this):this._k()?this.p=new rg(45,t,this):this.p=new rg(3,t,this):this._k()?this.p=new og(44,this):this.p=new og(2,this):se(u,160)?t==AU?this.p=new og(40,this):this.Bb&512?this.Bb&yc?t?this.p=new rg(9,t,this):this.p=new og(8,this):t?this.p=new rg(11,t,this):this.p=new og(10,this):this.Bb&yc?t?this.p=new rg(13,t,this):this.p=new og(12,this):t?this.p=new rg(15,t,this):this.p=new og(14,this):a?(y=a.t,y>1||y==-1?this._k()?this.Bb&yc?t?this.p=new Lb(25,t,this,a):this.p=new Bb(24,this,a):t?this.p=new Lb(27,t,this,a):this.p=new Bb(26,this,a):this.Bb&yc?t?this.p=new Lb(29,t,this,a):this.p=new Bb(28,this,a):t?this.p=new Lb(31,t,this,a):this.p=new Bb(30,this,a):this._k()?this.Bb&yc?t?this.p=new Lb(33,t,this,a):this.p=new Bb(32,this,a):t?this.p=new Lb(35,t,this,a):this.p=new Bb(34,this,a):this.Bb&yc?t?this.p=new Lb(37,t,this,a):this.p=new Bb(36,this,a):t?this.p=new Lb(39,t,this,a):this.p=new Bb(38,this,a)):this._k()?this.Bb&yc?t?this.p=new rg(17,t,this):this.p=new og(16,this):t?this.p=new rg(19,t,this):this.p=new og(18,this):this.Bb&yc?t?this.p=new rg(21,t,this):this.p=new og(20,this):t?this.p=new rg(23,t,this):this.p=new og(22,this):this.Zk()?this._k()?this.p=new pot(l(u,29),this,a):this.p=new jhe(l(u,29),this,a):se(u,160)?t==AU?this.p=new og(40,this):this.Bb&yc?t?this.p=new dst(r,m,this,(fY(),p==Rn?F3e:p==cc?D3e:p==pw?$3e:p==Tv?j3e:p==Ki?P3e:p==T2?B3e:p==Ec?L3e:p==al?M3e:Hre)):this.p=new Nat(l(u,160),r,m,this):t?this.p=new lst(r,m,this,(fY(),p==Rn?F3e:p==cc?D3e:p==pw?$3e:p==Tv?j3e:p==Ki?P3e:p==T2?B3e:p==Ec?L3e:p==al?M3e:Hre)):this.p=new kat(l(u,160),r,m,this):this.$k()?a?this.Bb&yc?this._k()?this.p=new bot(l(u,29),this,a):this.p=new _fe(l(u,29),this,a):this._k()?this.p=new got(l(u,29),this,a):this.p=new $V(l(u,29),this,a):this.Bb&yc?this._k()?this.p=new uit(l(u,29),this):this.p=new Bde(l(u,29),this):this._k()?this.p=new cit(l(u,29),this):this.p=new AV(l(u,29),this):this._k()?a?this.Bb&yc?this.p=new mot(l(u,29),this,a):this.p=new Tfe(l(u,29),this,a):this.Bb&yc?this.p=new dit(l(u,29),this):this.p=new Ude(l(u,29),this):a?this.Bb&yc?this.p=new wot(l(u,29),this,a):this.p=new Afe(l(u,29),this,a):this.Bb&yc?this.p=new lit(l(u,29),this):this.p=new lP(l(u,29),this)),this.p},h.pk=function(){return(this.Bb&Tl)!=0},h.Zk=function(){return!1},h.$k=function(){return!1},h.qk=function(){return(this.Bb&$f)!=0},h.vk=function(){return dK(this)},h._k=function(){return!1},h.rk=function(){return(this.Bb&yc)!=0},h.al=function(t){this.k=t},h.ri=function(t){MW(this,t)},h.Ib=function(){return HF(this)},h.e=!1,h.n=0,k(zt,"EStructuralFeatureImpl",454),x(336,454,{110:1,95:1,94:1,38:1,159:1,199:1,57:1,182:1,69:1,115:1,473:1,52:1,101:1,336:1,162:1,454:1,294:1,118:1,119:1,689:1},rq),h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Oe(this.s);case 5:return Oe(this.t);case 6:return Lt(),!!mme(this);case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&yp);case 12:return Lt(),!!(this.Bb&Dy);case 13:return this.j;case 14:return J_(this);case 15:return Lt(),!!(this.Bb&yc);case 16:return Lt(),!!(this.Bb&$f);case 17:return iy(this);case 18:return Lt(),!!(this.Bb&Ws);case 19:return r?DK(this):Plt(this)}return qu(this,t-ln((_t(),vv)),kt((a=l(qt(this,16),29),a||vv),t),r,o)},h.Th=function(t){var r,o;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return mme(this);case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&yp)!=0;case 12:return(this.Bb&Dy)!=0;case 13:return this.j!=null;case 14:return J_(this)!=null;case 15:return(this.Bb&yc)!=0;case 16:return(this.Bb&$f)!=0;case 17:return!!iy(this);case 18:return(this.Bb&Ws)!=0;case 19:return!!Plt(this)}return zu(this,t-ln((_t(),vv)),kt((r=l(qt(this,16),29),r||vv),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MW(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:ug(this,l(r,15).a);return;case 5:HQe(this,l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 10:L_(this,Ye(Ke(r)));return;case 11:j_(this,Ye(Ke(r)));return;case 12:M_(this,Ye(Ke(r)));return;case 13:nde(this,In(r));return;case 15:P_(this,Ye(Ke(r)));return;case 16:F_(this,Ye(Ke(r)));return;case 18:rY(this,Ye(Ke(r)));return}Xu(this,t-ln((_t(),vv)),kt((o=l(qt(this,16),29),o||vv),t),r)},h.fi=function(){return _t(),vv},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,89)&&Ay(Pc(l(this.Cb,89)),4),Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:ug(this,0);return;case 5:this.b=0,dy(this,1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:L_(this,!0);return;case 11:j_(this,!1);return;case 12:M_(this,!1);return;case 13:this.i=null,Aj(this,null);return;case 15:P_(this,!1);return;case 16:F_(this,!1);return;case 18:rY(this,!1);return}Ju(this,t-ln((_t(),vv)),kt((r=l(qt(this,16),29),r||vv),t))},h.mi=function(){DK(this),c_(is((mc(),ao),this)),Sl(this),this.Bb|=1},h.Hk=function(){return mme(this)},h.Wk=function(t,r){return this.b=0,this.a=null,a1e(this,t,r)},h.Xk=function(t){HQe(this,t)},h.Ib=function(){var t;return this.Db&64?HF(this):(t=new ml(HF(this)),t.a+=" (iD: ",Zp(t,(this.Bb&Ws)!=0),t.a+=")",t.a)},h.b=0,k(zt,"EAttributeImpl",336),x(361,444,{110:1,95:1,94:1,146:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,162:1,118:1,119:1,688:1}),h.bl=function(t){return t.Ah()==this},h.xh=function(t){return FY(this,t)},h.yh=function(t,r){this.w=null,this.Db=r<<16|this.Db&255,this.Cb=t},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return this.gk();case 5:return this.F;case 6:return r?mu(this):d_(this);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),this.A}return qu(this,t-ln(this.fi()),kt((a=l(qt(this,16),29),a||this.fi()),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?FY(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,6,o)}return f=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),f.uk().xk(this,Ha(this),r-ln(this.fi()),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 6:return Su(this,null,6,o);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),xo(this.A,t,o)}return u=l(kt((a=l(qt(this,16),29),a||this.fi()),r),69),u.uk().yk(this,Ha(this),r-ln(this.fi()),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!I0(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(this);case 7:return!!this.A&&this.A.i!=0}return zu(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:FP(this,In(r));return;case 2:dV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A),!this.A&&(this.A=new dc(Ka,this,7)),ti(this.A,l(r,18));return}Xu(this,t-ln(this.fi()),kt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),cLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A);return}Ju(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.fk=function(){var t;return this.G==-1&&(this.G=(t=mu(this),t?gg(t.si(),this):-1)),this.G},h.gk=function(){return null},h.hk=function(){return mu(this)},h.cl=function(){return this.v},h.ik=function(){return I0(this)},h.jk=function(){return this.D!=null?this.D:this.B},h.kk=function(){return this.F},h.dk=function(t){return kJ(this,t)},h.dl=function(t){this.v=t},h.el=function(t){Sht(this,t)},h.fl=function(t){this.C=t},h.ri=function(t){FP(this,t)},h.Ib=function(){return Jj(this)},h.C=null,h.D=null,h.G=-1,k(zt,"EClassifierImpl",361),x(89,361,{110:1,95:1,94:1,29:1,146:1,159:1,199:1,57:1,115:1,52:1,101:1,89:1,361:1,162:1,474:1,118:1,119:1,688:1},Yce),h.bl=function(t){return urn(this,t.Ah())},h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return null;case 5:return this.F;case 6:return r?mu(this):d_(this);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256);case 9:return Lt(),!!(this.Bb&512);case 10:return ds(this);case 11:return!this.q&&(this.q=new ke(Dl,this,11,10)),this.q;case 12:return IE(this);case 13:return LC(this);case 14:return LC(this),this.r;case 15:return IE(this),this.k;case 16:return sme(this);case 17:return RJ(this);case 18:return Ff(this);case 19:return LF(this);case 20:return IE(this),this.o;case 21:return!this.s&&(this.s=new ke(ac,this,21,17)),this.s;case 22:return oa(this);case 23:return mJ(this)}return qu(this,t-ln((_t(),Z1)),kt((a=l(qt(this,16),29),a||Z1),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?FY(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,6,o);case 11:return!this.q&&(this.q=new ke(Dl,this,11,10)),Pa(this.q,t,o);case 21:return!this.s&&(this.s=new ke(ac,this,21,17)),Pa(this.s,t,o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Z1)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Z1)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 6:return Su(this,null,6,o);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),xo(this.A,t,o);case 11:return!this.q&&(this.q=new ke(Dl,this,11,10)),xo(this.q,t,o);case 21:return!this.s&&(this.s=new ke(ac,this,21,17)),xo(this.s,t,o);case 22:return xo(oa(this),t,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Z1)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Z1)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!I0(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&oa(this.u.a).i!=0&&!(this.n&&kY(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return IE(this).i!=0;case 13:return LC(this).i!=0;case 14:return LC(this),this.r.i!=0;case 15:return IE(this),this.k.i!=0;case 16:return sme(this).i!=0;case 17:return RJ(this).i!=0;case 18:return Ff(this).i!=0;case 19:return LF(this).i!=0;case 20:return IE(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&kY(this.n);case 23:return mJ(this).i!=0}return zu(this,t-ln((_t(),Z1)),kt((r=l(qt(this,16),29),r||Z1),t))},h.Wh=function(t){var r;return r=this.i==null||this.q&&this.q.i!=0?null:iD(this,t),r||Y0e(this,t)},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:FP(this,In(r));return;case 2:dV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A),!this.A&&(this.A=new dc(Ka,this,7)),ti(this.A,l(r,18));return;case 8:l1e(this,Ye(Ke(r)));return;case 9:d1e(this,Ye(Ke(r)));return;case 10:jC(ds(this)),ti(ds(this),l(r,18));return;case 11:!this.q&&(this.q=new ke(Dl,this,11,10)),vn(this.q),!this.q&&(this.q=new ke(Dl,this,11,10)),ti(this.q,l(r,18));return;case 21:!this.s&&(this.s=new ke(ac,this,21,17)),vn(this.s),!this.s&&(this.s=new ke(ac,this,21,17)),ti(this.s,l(r,18));return;case 22:vn(oa(this)),ti(oa(this),l(r,18));return}Xu(this,t-ln((_t(),Z1)),kt((o=l(qt(this,16),29),o||Z1),t),r)},h.fi=function(){return _t(),Z1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A);return;case 8:l1e(this,!1);return;case 9:d1e(this,!1);return;case 10:this.u&&jC(this.u);return;case 11:!this.q&&(this.q=new ke(Dl,this,11,10)),vn(this.q);return;case 21:!this.s&&(this.s=new ke(ac,this,21,17)),vn(this.s);return;case 22:this.n&&vn(this.n);return}Ju(this,t-ln((_t(),Z1)),kt((r=l(qt(this,16),29),r||Z1),t))},h.mi=function(){var t,r;if(IE(this),LC(this),sme(this),RJ(this),Ff(this),LF(this),mJ(this),z3($on(Pc(this))),this.s)for(t=0,r=this.s.i;t<r;++t)OO(ie(this.s,t));if(this.q)for(t=0,r=this.q.i;t<r;++t)OO(ie(this.q,t));fg((mc(),ao),this).ve(),this.Bb|=1},h.Ib=function(){return xbe(this)},h.k=null,h.r=null;var L4,wLt,Bre;k(zt,"EClassImpl",89),x(2071,2070,i_t),h.Ci=function(t,r){return NJ(this,t,r)},h.Di=function(t){return NJ(this,this.i,t)},h.Ei=function(t,r){Sme(this,t,r)},h.Fi=function(t){lJ(this,t)},h.Uk=function(t,r){return Pa(this,t,r)},h.Yi=function(t){return Fpe(this,t)},h.Vk=function(t,r){return xo(this,t,r)},h.Vi=function(t,r){return Evt(this,t,r)},h.Gi=function(){return new ES(this)},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},k(Fr,"NotifyingInternalEListImpl",2071),x(630,2071,ws),h.Gc=function(t){return Hvt(this,t)},h.Gj=function(t,r,o,a,u){return j3(this,t,r,o,a,u)},h.Hj=function(t){LA(this,t)},h.Dk=function(t){return this},h.Jk=function(){return kt(this.e.Ah(),this.Jj())},h.Ij=function(){return this.Jk()},h.Jj=function(){return Ur(this.e.Ah(),this.Jk())},h.gl=function(){return l(this.Jk().Fk(),29).ik()},h.hl=function(){return Po(l(this.Jk(),20)).n},h.hj=function(){return this.e},h.il=function(){return!0},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!1},h.bd=function(t){return gg(this,t)},h.Lj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Oh(this.e,this.hl(),this.gl(),r):o.Oh(this.e,Ur(o.Ah(),Po(l(this.Jk(),20))),null,r):o.Oh(this.e,-1-this.Jj(),null,r)},h.Mj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Qh(this.e,this.hl(),this.gl(),r):o.Qh(this.e,Ur(o.Ah(),Po(l(this.Jk(),20))),null,r):o.Qh(this.e,-1-this.Jj(),null,r)},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return Fut(this.d,t)},h.Nj=function(){return Jc(this.e)},h.Oj=function(){return this.i!=0},h.$i=function(t){return y6(this.d,t)},h.Ui=function(t,r){return this.ml()&&this.ll()?oT(this,t,l(r,57)):r},h.nl=function(t){return t.Sh()?y1(this.e,l(t,52)):t},h.Wb=function(t){prt(this,t)},h.Nc=function(){return ydt(this)},h.Oc=function(t){var r;if(this.ll())for(r=this.i-1;r>=0;--r)ie(this,r);return L1e(this,t)},h.Ek=function(){vn(this)},h.Xi=function(t,r){return Jft(this,t,r)},k(Fr,"EcoreEList",630),x(494,630,ws,zO),h.Ji=function(){return!1},h.Jj=function(){return this.c},h.Kj=function(){return!1},h.ml=function(){return!0},h.Qi=function(){return!0},h.Ui=function(t,r){return r},h.Wi=function(){return!1},h.c=0,k(Fr,"EObjectEList",494),x(82,494,ws,Ei),h.Kj=function(){return!0},h.kl=function(){return!1},h.$k=function(){return!0},k(Fr,"EObjectContainmentEList",82),x(547,82,ws,j8),h.Li=function(){this.b=!0},h.Oj=function(){return this.b},h.Ek=function(){var t;vn(this),Jc(this.e)?(t=this.b,this.b=!1,pr(this.e,new Vl(this.e,2,this.c,t,!1))):this.b=!1},h.b=!1,k(Fr,"EObjectContainmentEList/Unsettable",547),x(1142,547,ws,cst),h.Ri=function(t,r){var o,a;return o=l(cC(this,t,r),88),Jc(this.e)&&LA(this,new a6(this.a,7,(_t(),uLt),Oe(r),(a=o.c,se(a,89)?l(a,29):Ml),t)),o},h.Sj=function(t,r){return R1n(this,l(t,88),r)},h.Tj=function(t,r){return I1n(this,l(t,88),r)},h.Uj=function(t,r,o){return L0n(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,a,u){switch(t){case 3:return j3(this,t,r,o,a,this.i>1);case 5:return j3(this,t,r,o,a,this.i-l(o,16).gc()>0);default:return new up(this.e,t,this.c,r,o,a,!0)}},h.Rj=function(){return!0},h.Oj=function(){return kY(this)},h.Ek=function(){vn(this)},k(zt,"EClassImpl/1",1142),x(1156,1155,NEe),h.bj=function(t){var r,o,a,u,f,p,m;if(o=t.ej(),o!=8){if(a=fbn(t),a==0)switch(o){case 1:case 9:{m=t.ij(),m!=null&&(r=Pc(l(m,474)),!r.c&&(r.c=new NA),uj(r.c,t.hj())),p=t.gj(),p!=null&&(u=l(p,474),u.Bb&1||(r=Pc(u),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29))));break}case 3:{p=t.gj(),p!=null&&(u=l(p,474),u.Bb&1||(r=Pc(u),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29))));break}case 5:{if(p=t.gj(),p!=null)for(f=l(p,18).Jc();f.Ob();)u=l(f.Pb(),474),u.Bb&1||(r=Pc(u),!r.c&&(r.c=new NA),Tn(r.c,l(t.hj(),29)));break}case 4:{m=t.ij(),m!=null&&(u=l(m,474),u.Bb&1||(r=Pc(u),!r.c&&(r.c=new NA),uj(r.c,t.hj())));break}case 6:{if(m=t.ij(),m!=null)for(f=l(m,18).Jc();f.Ob();)u=l(f.Pb(),474),u.Bb&1||(r=Pc(u),!r.c&&(r.c=new NA),uj(r.c,t.hj()));break}}this.ol(a)}},h.ol=function(t){gyt(this,t)},h.b=63,k(zt,"ESuperAdapter",1156),x(1157,1156,NEe,sZe),h.ol=function(t){Ay(this,t)},k(zt,"EClassImpl/10",1157),x(1146,706,ws),h.Ci=function(t,r){return JY(this,t,r)},h.Di=function(t){return G1t(this,t)},h.Ei=function(t,r){D6(this,t,r)},h.Fi=function(t){r6(this,t)},h.Yi=function(t){return Fpe(this,t)},h.Vi=function(t,r){return lK(this,t,r)},h.Uk=function(t,r){throw Y(new Nn)},h.Gi=function(){return new ES(this)},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},h.Vk=function(t,r){throw Y(new Nn)},h.Dk=function(t){return this},h.Oj=function(){return this.i!=0},h.Wb=function(t){throw Y(new Nn)},h.Ek=function(){throw Y(new Nn)},k(Fr,"EcoreEList/UnmodifiableEList",1146),x(334,1146,ws,eE),h.Wi=function(){return!1},k(Fr,"EcoreEList/UnmodifiableEList/FastCompare",334),x(1149,334,ws,gpt),h.bd=function(t){var r,o,a;if(se(t,182)&&(r=l(t,182),o=r.Jj(),o!=-1)){for(a=this.i;o<a;++o)if(me(this.g[o])===me(t))return o}return-1},k(zt,"EClassImpl/1EAllStructuralFeaturesList",1149),x(1143,495,Vf,dqe),h.$i=function(t){return we(qo,o_t,88,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/1EGenericSuperTypeEList",1143),x(631,495,Vf,PG),h.$i=function(t){return we(ac,HE,182,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/1EStructuralFeatureUniqueEList",631),x(750,495,Vf,qce),h.$i=function(t){return we(yv,HE,20,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/1ReferenceList",750),x(1144,495,Vf,aZe),h.Ki=function(t,r){_sn(this,l(r,38))},h.$i=function(t){return we(wv,HE,38,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/2",1144),x(1145,495,Vf,fqe),h.$i=function(t){return we(wv,HE,38,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/3",1145),x(1147,334,ws,Aot),h.Ec=function(t){return Zln(this,l(t,38))},h.Fi=function(t){_en(this,l(t,38))},k(zt,"EClassImpl/4",1147),x(1148,334,ws,_ot),h.Ec=function(t){return Qln(this,l(t,20))},h.Fi=function(t){xen(this,l(t,20))},k(zt,"EClassImpl/5",1148),x(1150,495,Vf,hqe),h.$i=function(t){return we(Dl,REe,62,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/6",1150),x(1151,495,Vf,pqe),h.$i=function(t){return we(yv,HE,20,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/7",1151),x(2074,2073,{3:1,4:1,22:1,32:1,56:1,18:1,16:1,71:1,61:1,72:1}),h.Ci=function(t,r){return T0e(this,t,r)},h.Di=function(t){return T0e(this,this.Cj(),t)},h.Ei=function(t,r){G0t(this,t,r)},h.Fi=function(t){D0t(this,t)},h.Uk=function(t,r){return imn(this,t,r)},h.Vk=function(t,r){return Dbn(this,t,r)},h.Vi=function(t,r){return rvt(this,t,r)},h.Yi=function(t){return this.vj(t)},h.Gi=function(){return new ES(this)},h.nj=function(){return this.qj()},h.Hi=function(){return new IO(this)},h.Ii=function(t){return v6(this,t)},k(Fr,"DelegatingNotifyingInternalEListImpl",2074),x(751,2074,OEe),h.Ji=function(){var t;return t=kt(Ja(this.b),this.Jj()).Fk(),se(t,160)&&!se(t,462)&&(t.ik().i&1)==0},h.Gc=function(t){var r,o,a,u,f,p,m,y;if(this.ml()){if(y=this.Cj(),y>4)if(this.dk(t)){if(this.$k()){if(a=l(t,52),o=a.Bh(),m=o==this.b&&(this.kl()?a.vh(a.Ch(),l(kt(Ja(this.b),this.Jj()).Fk(),29).ik())==Po(l(kt(Ja(this.b),this.Jj()),20)).n:-1-a.Ch()==this.Jj()),this.ll()&&!m&&!o&&a.Gh()){for(u=0;u<y;++u)if(r=tW(this,this.vj(u)),me(r)===me(t))return!0}return m}else if(this.kl()&&!this.jl()){if(f=l(t,57).Jh(Po(l(kt(Ja(this.b),this.Jj()),20))),me(f)===me(this.b))return!0;if(f==null||!l(f,57).Sh())return!1}}else return!1;if(p=this.sj(t),this.ll()&&!p){for(u=0;u<y;++u)if(a=tW(this,this.vj(u)),me(a)===me(t))return!0}return p}else return this.sj(t)},h.Gj=function(t,r,o,a,u){return new up(this.b,t,this.Jj(),r,o,a,u)},h.Hj=function(t){pr(this.b,t)},h.Dk=function(t){return this},h.Ij=function(){return kt(Ja(this.b),this.Jj())},h.Jj=function(){return Ur(Ja(this.b),kt(Ja(this.b),this.Jj()))},h.hj=function(){return this.b},h.il=function(){return!!kt(Ja(this.b),this.Jj()).Fk().ik()},h.Kj=function(){var t,r;return r=kt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),(t.Bb&Ws)!=0||!!Po(l(r,20))):!1},h.jl=function(){var t,r,o,a;return r=kt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),o=Po(t),!!o&&(a=o.t,a>1||a==-1)):!1},h.kl=function(){var t,r,o;return r=kt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),o=Po(t),!!o):!1},h.ll=function(){var t,r;return r=kt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),(t.Bb&Io)!=0):!1},h.bd=function(t){var r,o,a,u;if(a=this.xj(t),a>=0)return a;if(this.ml()){for(o=0,u=this.Cj();o<u;++o)if(r=tW(this,this.vj(o)),me(r)===me(t))return o}return-1},h.Lj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Oh(this.b,Po(l(kt(Ja(this.b),this.Jj()),20)).n,l(kt(Ja(this.b),this.Jj()).Fk(),29).ik(),r):o.Oh(this.b,Ur(o.Ah(),Po(l(kt(Ja(this.b),this.Jj()),20))),null,r):o.Oh(this.b,-1-this.Jj(),null,r)},h.Mj=function(t,r){var o;return o=l(t,52),this.kl()?this.il()?o.Qh(this.b,Po(l(kt(Ja(this.b),this.Jj()),20)).n,l(kt(Ja(this.b),this.Jj()).Fk(),29).ik(),r):o.Qh(this.b,Ur(o.Ah(),Po(l(kt(Ja(this.b),this.Jj()),20))),null,r):o.Qh(this.b,-1-this.Jj(),null,r)},h.$k=function(){var t,r;return r=kt(Ja(this.b),this.Jj()),se(r,104)?(t=l(r,20),(t.Bb&Ws)!=0):!1},h.ml=function(){return se(kt(Ja(this.b),this.Jj()).Fk(),89)},h.dk=function(t){return kt(Ja(this.b),this.Jj()).Fk().dk(t)},h.Nj=function(){return Jc(this.b)},h.Oj=function(){return!this.yj()},h.Qi=function(){return kt(Ja(this.b),this.Jj()).Qi()},h.Ui=function(t,r){return dD(this,t,r)},h.Wb=function(t){jC(this),ti(this,l(t,16))},h.Nc=function(){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)dD(this,t,this.vj(t));return this.Dj()},h.Oc=function(t){var r;if(this.ll())for(r=this.Cj()-1;r>=0;--r)dD(this,r,this.vj(r));return this.Ej(t)},h.Ek=function(){jC(this)},h.Xi=function(t,r){return wdt(this,t,r)},k(Fr,"DelegatingEcoreEList",751),x(1152,751,OEe,Sit),h.oj=function(t,r){Onn(this,t,l(r,29))},h.pj=function(t){Atn(this,l(t,29))},h.vj=function(t){var r,o;return r=l(ie(oa(this.a),t),88),o=r.c,se(o,89)?l(o,29):(_t(),Ml)},h.Aj=function(t){var r,o;return r=l(ky(oa(this.a),t),88),o=r.c,se(o,89)?l(o,29):(_t(),Ml)},h.Bj=function(t,r){return omn(this,t,l(r,29))},h.Ji=function(){return!1},h.Gj=function(t,r,o,a,u){return null},h.qj=function(){return new cZe(this)},h.rj=function(){vn(oa(this.a))},h.sj=function(t){return ggt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!ggt(this,r))return!1;return!0},h.uj=function(t){var r,o,a;if(se(t,16)&&(a=l(t,16),a.gc()==oa(this.a).i)){for(r=a.Jc(),o=new tn(this);r.Ob();)if(me(r.Pb())!==me(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,a,u;for(o=1,r=new tn(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),a=(u=t.c,se(u,89)?l(u,29):(_t(),Ml)),o=31*o+(a?s0(a):0);return o},h.xj=function(t){var r,o,a,u;for(a=0,o=new tn(oa(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),me(t)===me((u=r.c,se(u,89)?l(u,29):(_t(),Ml))))return a;++a}return-1},h.yj=function(){return oa(this.a).i==0},h.zj=function(){return null},h.Cj=function(){return oa(this.a).i},h.Dj=function(){var t,r,o,a,u,f;for(f=oa(this.a).i,u=we(Ri,It,1,f,5,1),o=0,r=new tn(oa(this.a));r.e!=r.i.gc();)t=l(rn(r),88),u[o++]=(a=t.c,se(a,89)?l(a,29):(_t(),Ml));return u},h.Ej=function(t){var r,o,a,u,f,p,m;for(m=oa(this.a).i,t.length<m&&(u=y6(ru(t).c,m),t=u),t.length>m&&ii(t,m,null),a=0,o=new tn(oa(this.a));o.e!=o.i.gc();)r=l(rn(o),88),f=(p=r.c,se(p,89)?l(p,29):(_t(),Ml)),ii(t,a++,f);return t},h.Fj=function(){var t,r,o,a,u;for(u=new Xp,u.a+="[",t=oa(this.a),r=0,a=oa(this.a).i;r<a;)Wo(u,y3((o=l(ie(t,r),88).c,se(o,89)?l(o,29):(_t(),Ml)))),++r<a&&(u.a+=ja);return u.a+="]",u.a},h.Hj=function(t){},h.Jj=function(){return 10},h.il=function(){return!0},h.Kj=function(){return!1},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!0},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return se(t,89)},h.Oj=function(){return qun(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},k(zt,"EClassImpl/8",1152),x(1153,2041,lx,cZe),h.dd=function(t){return v6(this.a,t)},h.gc=function(){return oa(this.a.a).i},k(zt,"EClassImpl/8/1",1153),x(1154,495,Vf,gqe),h.$i=function(t){return we(Ld,It,146,t,0,1)},h.Wi=function(){return!1},k(zt,"EClassImpl/9",1154),x(1141,47,fwe,ZZe),k(zt,"EClassImpl/MyHashSet",1141),x(570,361,{110:1,95:1,94:1,146:1,160:1,839:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,162:1,118:1,119:1,688:1},R9),h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return this.gk();case 5:return this.F;case 6:return r?mu(this):d_(this);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256)}return qu(this,t-ln(this.fi()),kt((a=l(qt(this,16),29),a||this.fi()),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!I0(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return zu(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:FP(this,In(r));return;case 2:dV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A),!this.A&&(this.A=new dc(Ka,this,7)),ti(this.A,l(r,18));return;case 8:zj(this,Ye(Ke(r)));return}Xu(this,t-ln(this.fi()),kt((o=l(qt(this,16),29),o||this.fi()),t),r)},h.fi=function(){return _t(),lLt},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A);return;case 8:zj(this,!0);return}Ju(this,t-ln(this.fi()),kt((r=l(qt(this,16),29),r||this.fi()),t))},h.mi=function(){fg((mc(),ao),this).ve(),this.Bb|=1},h.mk=function(){var t,r,o;if(!this.c&&(t=iwt(mu(this)),!t.dc()))for(o=t.Jc();o.Ob();)r=In(o.Pb()),RC(this,r)&&Fgn(this);return this.b},h.gk=function(){var t;if(!this.e){t=null;try{t=I0(this)}catch(r){if(r=ui(r),!se(r,102))throw Y(r)}this.d=null,t&&t.i&1&&(t==cc?this.d=(Lt(),L1):t==Rn?this.d=Oe(0):t==Tv?this.d=new QR(0):t==Ki?this.d=0:t==pw?this.d=yy(0):t==T2?this.d=D_(0):t==Ec?this.d=p6(0):this.d=A6(0)),this.e=!0}return this.d},h.lk=function(){return(this.Bb&256)!=0},h.pl=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},h.el=function(t){Sht(this,t),this.pl(t)},h.fl=function(t){this.C=t,this.e=!1},h.Ib=function(){var t;return this.Db&64?Jj(this):(t=new ml(Jj(this)),t.a+=" (serializable: ",Zp(t,(this.Bb&256)!=0),t.a+=")",t.a)},h.c=!1,h.d=null,h.e=!1,k(zt,"EDataTypeImpl",570),x(462,570,{110:1,95:1,94:1,146:1,160:1,839:1,682:1,159:1,199:1,57:1,115:1,52:1,101:1,361:1,462:1,162:1,118:1,119:1,688:1},QZe),h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return I0(this);case 4:return Xge(this);case 5:return this.F;case 6:return r?mu(this):d_(this);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),this.A;case 8:return Lt(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new ke(Op,this,9,5)),this.a}return qu(this,t-ln((_t(),Q1)),kt((a=l(qt(this,16),29),a||Q1),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 6:return this.Cb&&(o=(u=this.Db>>16,u>=0?FY(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,6,o);case 9:return!this.a&&(this.a=new ke(Op,this,9,5)),Pa(this.a,t,o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Q1)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Q1)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 6:return Su(this,null,6,o);case 7:return!this.A&&(this.A=new dc(Ka,this,7)),xo(this.A,t,o);case 9:return!this.a&&(this.a=new ke(Op,this,9,5)),xo(this.a,t,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Q1)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Q1)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!I0(this);case 4:return!!Xge(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!d_(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return zu(this,t-ln((_t(),Q1)),kt((r=l(qt(this,16),29),r||Q1),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:FP(this,In(r));return;case 2:dV(this,In(r));return;case 5:ix(this,In(r));return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A),!this.A&&(this.A=new dc(Ka,this,7)),ti(this.A,l(r,18));return;case 8:zj(this,Ye(Ke(r)));return;case 9:!this.a&&(this.a=new ke(Op,this,9,5)),vn(this.a),!this.a&&(this.a=new ke(Op,this,9,5)),ti(this.a,l(r,18));return}Xu(this,t-ln((_t(),Q1)),kt((o=l(qt(this,16),29),o||Q1),t),r)},h.fi=function(){return _t(),Q1},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,187)&&(l(this.Cb,187).tb=null),Ma(this,null);return;case 2:I_(this,null),y_(this,this.D);return;case 5:ix(this,null);return;case 7:!this.A&&(this.A=new dc(Ka,this,7)),vn(this.A);return;case 8:zj(this,!0);return;case 9:!this.a&&(this.a=new ke(Op,this,9,5)),vn(this.a);return}Ju(this,t-ln((_t(),Q1)),kt((r=l(qt(this,16),29),r||Q1),t))},h.mi=function(){var t,r;if(this.a)for(t=0,r=this.a.i;t<r;++t)OO(ie(this.a,t));fg((mc(),ao),this).ve(),this.Bb|=1},h.gk=function(){return Xge(this)},h.dk=function(t){return t!=null},h.pl=function(t){},k(zt,"EEnumImpl",462),x(575,444,{110:1,95:1,94:1,2018:1,691:1,159:1,199:1,57:1,115:1,52:1,101:1,575:1,162:1,118:1,119:1},bZe),h.ve=function(){return this.zb},h.xh=function(t){return mbt(this,t)},h.Ih=function(t,r,o){var a,u;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oe(this.d);case 3:return this.b?this.b:this.a;case 4:return u=this.c,u??this.zb;case 5:return this.Db>>16==5?l(this.Cb,682):null}return qu(this,t-ln((_t(),Dg)),kt((a=l(qt(this,16),29),a||Dg),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 5:return this.Cb&&(o=(u=this.Db>>16,u>=0?mbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,5,o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Dg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Dg)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 5:return Su(this,null,5,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Dg)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Dg)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&l(this.Cb,682))}return zu(this,t-ln((_t(),Dg)),kt((r=l(qt(this,16),29),r||Dg),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:mK(this,l(r,15).a);return;case 3:A0t(this,l(r,2018));return;case 4:yK(this,In(r));return}Xu(this,t-ln((_t(),Dg)),kt((o=l(qt(this,16),29),o||Dg),t),r)},h.fi=function(){return _t(),Dg},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:mK(this,0);return;case 3:A0t(this,null);return;case 4:yK(this,null);return}Ju(this,t-ln((_t(),Dg)),kt((r=l(qt(this,16),29),r||Dg),t))},h.Ib=function(){var t;return t=this.c,t??this.zb},h.b=null,h.c=null,h.d=0,k(zt,"EEnumLiteralImpl",575);var xCn=Hr(zt,"EFactoryImpl/InternalEDateTimeFormat");x(488,1,{2093:1},eO),k(zt,"EFactoryImpl/1ClientInternalEDateTimeFormat",488),x(251,119,{110:1,95:1,94:1,88:1,57:1,115:1,52:1,101:1,251:1,118:1,119:1},Ym),h.zh=function(t,r,o){var a;return o=Su(this,t,r,o),this.e&&se(t,182)&&(a=DF(this,this.e),a!=this.c&&(o=ox(this,a,o))),o},h.Ih=function(t,r,o){var a;switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new Ei(qo,this,1)),this.d;case 2:return r?GF(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return r?IY(this):this.a}return qu(this,t-ln((_t(),dw)),kt((a=l(qt(this,16),29),a||dw),t),r,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return ngt(this,null,o);case 1:return!this.d&&(this.d=new Ei(qo,this,1)),xo(this.d,t,o);case 3:return tgt(this,null,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),dw)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),dw)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return zu(this,t-ln((_t(),dw)),kt((r=l(qt(this,16),29),r||dw),t))},h.$h=function(t,r){var o;switch(t){case 0:Pbt(this,l(r,88));return;case 1:!this.d&&(this.d=new Ei(qo,this,1)),vn(this.d),!this.d&&(this.d=new Ei(qo,this,1)),ti(this.d,l(r,18));return;case 3:kbe(this,l(r,88));return;case 4:Vbe(this,l(r,842));return;case 5:w_(this,l(r,146));return}Xu(this,t-ln((_t(),dw)),kt((o=l(qt(this,16),29),o||dw),t),r)},h.fi=function(){return _t(),dw},h.hi=function(t){var r;switch(t){case 0:Pbt(this,null);return;case 1:!this.d&&(this.d=new Ei(qo,this,1)),vn(this.d);return;case 3:kbe(this,null);return;case 4:Vbe(this,null);return;case 5:w_(this,null);return}Ju(this,t-ln((_t(),dw)),kt((r=l(qt(this,16),29),r||dw),t))},h.Ib=function(){var t;return t=new fu(Zl(this)),t.a+=" (expression: ",PJ(this,t),t.a+=")",t.a};var O3e;k(zt,"EGenericTypeImpl",251),x(2046,2041,J7),h.Ei=function(t,r){vit(this,t,r)},h.Uk=function(t,r){return vit(this,this.gc(),t),r},h.Yi=function(t){return sa(this.nj(),t)},h.Gi=function(){return this.Hi()},h.nj=function(){return new hZe(this)},h.Hi=function(){return this.Ii(0)},h.Ii=function(t){return this.nj().dd(t)},h.Vk=function(t,r){return my(this,t,!0),r},h.Ri=function(t,r){var o,a;return a=UY(this,r),o=this.dd(t),o.Rb(a),a},h.Si=function(t,r){var o;my(this,r,!0),o=this.dd(t),o.Rb(r)},k(Fr,"AbstractSequentialInternalEList",2046),x(485,2046,J7,RO),h.Yi=function(t){return sa(this.nj(),t)},h.Gi=function(){return this.b==null?(tg(),tg(),l5):this.ql()},h.nj=function(){return new Bnt(this.a,this.b)},h.Hi=function(){return this.b==null?(tg(),tg(),l5):this.ql()},h.Ii=function(t){var r,o;if(this.b==null){if(t<0||t>1)throw Y(new Ia(aI+t+", size=0"));return tg(),tg(),l5}for(o=this.ql(),r=0;r<t;++r)Oj(o);return o},h.dc=function(){var t,r,o,a,u,f;if(this.b!=null){for(o=0;o<this.b.length;++o)if(t=this.b[o],!this.tl()||this.a.Uh(t)){if(f=this.a.Kh(t,!1),Mo(),l(t,69).vk()){for(r=l(f,164),a=0,u=r.gc();a<u;++a)if(Wst(r.Rl(a))&&r.Sl(a)!=null)return!1}else if(t.Hk()){if(!l(f,18).dc())return!1}else if(f!=null)return!1}}return!0},h.Jc=function(){return hge(this)},h.dd=function(t){var r,o;if(this.b==null){if(t!=0)throw Y(new Ia(aI+t+", size=0"));return tg(),tg(),l5}for(o=this.sl()?this.rl():this.ql(),r=0;r<t;++r)Oj(o);return o},h.Ri=function(t,r){throw Y(new Nn)},h.Si=function(t,r){throw Y(new Nn)},h.ql=function(){return new H8(this.a,this.b)},h.rl=function(){return new $de(this.a,this.b)},h.sl=function(){return!0},h.gc=function(){var t,r,o,a,u,f,p;if(u=0,this.b!=null){for(o=0;o<this.b.length;++o)if(t=this.b[o],!this.tl()||this.a.Uh(t))if(p=this.a.Kh(t,!1),Mo(),l(t,69).vk())for(r=l(p,164),a=0,f=r.gc();a<f;++a)Wst(r.Rl(a))&&r.Sl(a)!=null&&++u;else t.Hk()?u+=l(p,18).gc():p!=null&&++u}return u},h.tl=function(){return!0};var Ure;k(Fr,"EContentsEList",485),x(1158,485,J7,oit),h.ql=function(){return new sit(this.a,this.b)},h.rl=function(){return new ait(this.a,this.b)},h.tl=function(){return!1},k(zt,"ENamedElementImpl/1",1158),x(289,1,X7,H8),h.Nb=function(t){so(this,t)},h.Rb=function(t){throw Y(new Nn)},h.ul=function(t){if(this.g!=0||this.e)throw Y(new ts("Iterator already in use or already filtered"));this.e=t},h.Ob=function(){var t,r,o,a,u,f;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!Pmt(this,this.p):!x0t(this))){for(;this.d<this.c.length;)if(r=this.c[this.d++],(!this.e||r.nk()!=Ak||r.Jj()!=0)&&(!this.tl()||this.b.Uh(r))){if(f=this.b.Kh(r,this.sl()),this.f=(Mo(),l(r,69).vk()),this.f||r.Hk()){if(this.sl()?(a=l(f,16),this.k=a):(a=l(f,72),this.k=this.j=a),se(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Hi():this.k.cd(),this.p?Pmt(this,this.p):x0t(this))return u=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=3,!0}else if(f!=null)return this.k=null,this.p=null,o=f,this.i=o,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return u=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=3,!0}},h.Sb=function(){var t,r,o,a,u,f;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!jmt(this,this.p):!Wmt(this))){for(;this.d>0;)if(r=this.c[--this.d],(!this.e||r.nk()!=Ak||r.Jj()!=0)&&(!this.tl()||this.b.Uh(r))){if(f=this.b.Kh(r,this.sl()),this.f=(Mo(),l(r,69).vk()),this.f||r.Hk()){if(this.sl()?(a=l(f,16),this.k=a):(a=l(f,72),this.k=this.j=a),se(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?jmt(this,this.p):Wmt(this))return u=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=-3,!0}else if(f!=null)return this.k=null,this.p=null,o=f,this.i=o,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return u=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(t=l(u,76),t.Jk(),o=t.kd(),this.i=o):(o=u,this.i=o),this.g=-3,!0}},h.Pb=function(){return Oj(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw Y(new vs)},h.Vb=function(){return this.a-1},h.Qb=function(){throw Y(new Nn)},h.sl=function(){return!1},h.Wb=function(t){throw Y(new Nn)},h.tl=function(){return!0},h.a=0,h.d=0,h.f=!1,h.g=0,h.n=0,h.o=0;var l5;k(Fr,"EContentsEList/FeatureIteratorImpl",289),x(707,289,X7,$de),h.sl=function(){return!0},k(Fr,"EContentsEList/ResolvingFeatureIteratorImpl",707),x(1159,707,X7,ait),h.tl=function(){return!1},k(zt,"ENamedElementImpl/1/1",1159),x(1160,289,X7,sit),h.tl=function(){return!1},k(zt,"ENamedElementImpl/1/2",1160),x(40,152,qD,cy,zW,Pi,rK,up,Vl,Jpe,Wct,Xpe,Kct,gpe,Yct,ege,Jct,bpe,Xct,Zpe,Zct,N3,a6,TW,Qpe,Qct,mpe,eut),h.Ij=function(){return Ope(this)},h.Pj=function(){var t;return t=Ope(this),t?t.gk():null},h.fj=function(t){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,t)},h.hj=function(){return this.c},h.Qj=function(){var t;return t=Ope(this),t?t.rk():!1},h.b=-1,k(zt,"ENotificationImpl",40),x(408,294,{110:1,95:1,94:1,159:1,199:1,57:1,62:1,115:1,473:1,52:1,101:1,162:1,408:1,294:1,118:1,119:1},iq),h.xh=function(t){return ybt(this,t)},h.Ih=function(t,r,o){var a,u,f;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Oe(this.s);case 5:return Oe(this.t);case 6:return Lt(),f=this.t,f>1||f==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,29):null;case 11:return!this.d&&(this.d=new dc(Ka,this,11)),this.d;case 12:return!this.c&&(this.c=new ke(lw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new MO(this,this)),this.a;case 14:return Fc(this)}return qu(this,t-ln((_t(),Lg)),kt((a=l(qt(this,16),29),a||Lg),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 10:return this.Cb&&(o=(u=this.Db>>16,u>=0?ybt(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,10,o);case 12:return!this.c&&(this.c=new ke(lw,this,12,10)),Pa(this.c,t,o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Lg)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Lg)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 9:return uW(this,o);case 10:return Su(this,null,10,o);case 11:return!this.d&&(this.d=new dc(Ka,this,11)),xo(this.d,t,o);case 12:return!this.c&&(this.c=new ke(lw,this,12,10)),xo(this.c,t,o);case 14:return xo(Fc(this),t,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Lg)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Lg)),t,o)},h.Th=function(t){var r,o,a;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return a=this.t,a>1||a==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Fc(this.a.a).i!=0&&!(this.b&&NY(this.b));case 14:return!!this.b&&NY(this.b)}return zu(this,t-ln((_t(),Lg)),kt((r=l(qt(this,16),29),r||Lg),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:ug(this,l(r,15).a);return;case 5:dy(this,l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 11:!this.d&&(this.d=new dc(Ka,this,11)),vn(this.d),!this.d&&(this.d=new dc(Ka,this,11)),ti(this.d,l(r,18));return;case 12:!this.c&&(this.c=new ke(lw,this,12,10)),vn(this.c),!this.c&&(this.c=new ke(lw,this,12,10)),ti(this.c,l(r,18));return;case 13:!this.a&&(this.a=new MO(this,this)),jC(this.a),!this.a&&(this.a=new MO(this,this)),ti(this.a,l(r,18));return;case 14:vn(Fc(this)),ti(Fc(this),l(r,18));return}Xu(this,t-ln((_t(),Lg)),kt((o=l(qt(this,16),29),o||Lg),t),r)},h.fi=function(){return _t(),Lg},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:ug(this,0);return;case 5:dy(this,1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 11:!this.d&&(this.d=new dc(Ka,this,11)),vn(this.d);return;case 12:!this.c&&(this.c=new ke(lw,this,12,10)),vn(this.c);return;case 13:this.a&&jC(this.a);return;case 14:this.b&&vn(this.b);return}Ju(this,t-ln((_t(),Lg)),kt((r=l(qt(this,16),29),r||Lg),t))},h.mi=function(){var t,r;if(this.c)for(t=0,r=this.c.i;t<r;++t)OO(ie(this.c,t));Sl(this),this.Bb|=1},k(zt,"EOperationImpl",408),x(503,751,OEe,MO),h.oj=function(t,r){jnn(this,t,l(r,146))},h.pj=function(t){_tn(this,l(t,146))},h.vj=function(t){var r,o;return r=l(ie(Fc(this.a),t),88),o=r.c,o||(_t(),bf)},h.Aj=function(t){var r,o;return r=l(ky(Fc(this.a),t),88),o=r.c,o||(_t(),bf)},h.Bj=function(t,r){return ebn(this,t,l(r,146))},h.Ji=function(){return!1},h.Gj=function(t,r,o,a,u){return null},h.qj=function(){return new uZe(this)},h.rj=function(){vn(Fc(this.a))},h.sj=function(t){return wgt(this,t)},h.tj=function(t){var r,o;for(o=t.Jc();o.Ob();)if(r=o.Pb(),!wgt(this,r))return!1;return!0},h.uj=function(t){var r,o,a;if(se(t,16)&&(a=l(t,16),a.gc()==Fc(this.a).i)){for(r=a.Jc(),o=new tn(this);r.Ob();)if(me(r.Pb())!==me(rn(o)))return!1;return!0}return!1},h.wj=function(){var t,r,o,a,u;for(o=1,r=new tn(Fc(this.a));r.e!=r.i.gc();)t=l(rn(r),88),a=(u=t.c,u||(_t(),bf)),o=31*o+(a?Rr(a):0);return o},h.xj=function(t){var r,o,a,u;for(a=0,o=new tn(Fc(this.a));o.e!=o.i.gc();){if(r=l(rn(o),88),me(t)===me((u=r.c,u||(_t(),bf))))return a;++a}return-1},h.yj=function(){return Fc(this.a).i==0},h.zj=function(){return null},h.Cj=function(){return Fc(this.a).i},h.Dj=function(){var t,r,o,a,u,f;for(f=Fc(this.a).i,u=we(Ri,It,1,f,5,1),o=0,r=new tn(Fc(this.a));r.e!=r.i.gc();)t=l(rn(r),88),u[o++]=(a=t.c,a||(_t(),bf));return u},h.Ej=function(t){var r,o,a,u,f,p,m;for(m=Fc(this.a).i,t.length<m&&(u=y6(ru(t).c,m),t=u),t.length>m&&ii(t,m,null),a=0,o=new tn(Fc(this.a));o.e!=o.i.gc();)r=l(rn(o),88),f=(p=r.c,p||(_t(),bf)),ii(t,a++,f);return t},h.Fj=function(){var t,r,o,a,u;for(u=new Xp,u.a+="[",t=Fc(this.a),r=0,a=Fc(this.a).i;r<a;)Wo(u,y3((o=l(ie(t,r),88).c,o||(_t(),bf)))),++r<a&&(u.a+=ja);return u.a+="]",u.a},h.Hj=function(t){},h.Jj=function(){return 13},h.il=function(){return!0},h.Kj=function(){return!1},h.jl=function(){return!1},h.kl=function(){return!1},h.ll=function(){return!0},h.$k=function(){return!1},h.ml=function(){return!0},h.dk=function(t){return se(t,146)},h.Oj=function(){return Yun(this.a)},h.Qi=function(){return!0},h.Wi=function(){return!0},k(zt,"EOperationImpl/1",503),x(1342,2041,lx,uZe),h.dd=function(t){return v6(this.a,t)},h.gc=function(){return Fc(this.a.a).i},k(zt,"EOperationImpl/1/1",1342),x(1343,547,ws,ust),h.Ri=function(t,r){var o,a;return o=l(cC(this,t,r),88),Jc(this.e)&&LA(this,new a6(this.a,7,(_t(),hLt),Oe(r),(a=o.c,a||bf),t)),o},h.Sj=function(t,r){return vgn(this,l(t,88),r)},h.Tj=function(t,r){return Egn(this,l(t,88),r)},h.Uj=function(t,r,o){return hbn(this,l(t,88),l(r,88),o)},h.Gj=function(t,r,o,a,u){switch(t){case 3:return j3(this,t,r,o,a,this.i>1);case 5:return j3(this,t,r,o,a,this.i-l(o,16).gc()>0);default:return new up(this.e,t,this.c,r,o,a,!0)}},h.Rj=function(){return!0},h.Oj=function(){return NY(this)},h.Ek=function(){vn(this)},k(zt,"EOperationImpl/2",1343),x(496,1,{2016:1,496:1},Snt),k(zt,"EPackageImpl/1",496),x(14,82,ws,ke),h.gl=function(){return this.d},h.hl=function(){return this.b},h.kl=function(){return!0},h.b=0,k(Fr,"EObjectContainmentWithInverseEList",14),x(362,14,ws,TS),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentWithInverseEList/Resolving",362),x(313,362,ws,Qw),h.Li=function(){this.a.tb=null},k(zt,"EPackageImpl/2",313),x(1255,1,{},TZt),k(zt,"EPackageImpl/3",1255),x(728,44,LE,Uue),h._b=function(t){return zi(t)?_W(this,t):!!ns(this.f,t)},k(zt,"EPackageRegistryImpl",728),x(507,294,{110:1,95:1,94:1,159:1,199:1,57:1,2095:1,115:1,473:1,52:1,101:1,162:1,507:1,294:1,118:1,119:1},oq),h.xh=function(t){return vbt(this,t)},h.Ih=function(t,r,o){var a,u,f;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Oe(this.s);case 5:return Oe(this.t);case 6:return Lt(),f=this.t,f>1||f==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?l(this.Cb,62):null}return qu(this,t-ln((_t(),Ev)),kt((a=l(qt(this,16),29),a||Ev),t),r,o)},h.Ph=function(t,r,o){var a,u,f;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),Pa(this.Ab,t,o);case 10:return this.Cb&&(o=(u=this.Db>>16,u>=0?vbt(this,o):this.Cb.Qh(this,-1-u,null,o))),Su(this,t,10,o)}return f=l(kt((a=l(qt(this,16),29),a||(_t(),Ev)),r),69),f.uk().xk(this,Ha(this),r-ln((_t(),Ev)),t,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 9:return uW(this,o);case 10:return Su(this,null,10,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),Ev)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),Ev)),t,o)},h.Th=function(t){var r,o,a;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return a=this.t,a>1||a==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return!!(this.Db>>16==10&&l(this.Cb,62))}return zu(this,t-ln((_t(),Ev)),kt((r=l(qt(this,16),29),r||Ev),t))},h.fi=function(){return _t(),Ev},k(zt,"EParameterImpl",507),x(104,454,{110:1,95:1,94:1,159:1,199:1,57:1,20:1,182:1,69:1,115:1,473:1,52:1,101:1,162:1,104:1,454:1,294:1,118:1,119:1,689:1},Gde),h.Ih=function(t,r,o){var a,u,f,p;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Lt(),!!(this.Bb&256);case 3:return Lt(),!!(this.Bb&512);case 4:return Oe(this.s);case 5:return Oe(this.t);case 6:return Lt(),p=this.t,p>1||p==-1;case 7:return Lt(),u=this.s,u>=1;case 8:return r?Sl(this):this.r;case 9:return this.q;case 10:return Lt(),!!(this.Bb&Tl);case 11:return Lt(),!!(this.Bb&yp);case 12:return Lt(),!!(this.Bb&Dy);case 13:return this.j;case 14:return J_(this);case 15:return Lt(),!!(this.Bb&yc);case 16:return Lt(),!!(this.Bb&$f);case 17:return iy(this);case 18:return Lt(),!!(this.Bb&Ws);case 19:return Lt(),f=Po(this),!!(f&&f.Bb&Ws);case 20:return Lt(),!!(this.Bb&Io);case 21:return r?Po(this):this.b;case 22:return r?$ge(this):Elt(this);case 23:return!this.a&&(this.a=new sE(wv,this,23)),this.a}return qu(this,t-ln((_t(),y2)),kt((a=l(qt(this,16),29),a||y2),t),r,o)},h.Th=function(t){var r,o,a,u;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return u=this.t,u>1||u==-1;case 7:return o=this.s,o>=1;case 8:return!!this.r&&!this.q.e&&l0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&l0(this.q).i==0);case 10:return(this.Bb&Tl)==0;case 11:return(this.Bb&yp)!=0;case 12:return(this.Bb&Dy)!=0;case 13:return this.j!=null;case 14:return J_(this)!=null;case 15:return(this.Bb&yc)!=0;case 16:return(this.Bb&$f)!=0;case 17:return!!iy(this);case 18:return(this.Bb&Ws)!=0;case 19:return a=Po(this),!!a&&(a.Bb&Ws)!=0;case 20:return(this.Bb&Io)==0;case 21:return!!this.b;case 22:return!!Elt(this);case 23:return!!this.a&&this.a.i!=0}return zu(this,t-ln((_t(),y2)),kt((r=l(qt(this,16),29),r||y2),t))},h.$h=function(t,r){var o,a;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:MW(this,In(r));return;case 2:hg(this,Ye(Ke(r)));return;case 3:pg(this,Ye(Ke(r)));return;case 4:ug(this,l(r,15).a);return;case 5:dy(this,l(r,15).a);return;case 8:Yb(this,l(r,146));return;case 9:a=Zd(this,l(r,88),null),a&&a.mj();return;case 10:L_(this,Ye(Ke(r)));return;case 11:j_(this,Ye(Ke(r)));return;case 12:M_(this,Ye(Ke(r)));return;case 13:nde(this,In(r));return;case 15:P_(this,Ye(Ke(r)));return;case 16:F_(this,Ye(Ke(r)));return;case 18:Wcn(this,Ye(Ke(r)));return;case 20:m1e(this,Ye(Ke(r)));return;case 21:gge(this,l(r,20));return;case 23:!this.a&&(this.a=new sE(wv,this,23)),vn(this.a),!this.a&&(this.a=new sE(wv,this,23)),ti(this.a,l(r,18));return}Xu(this,t-ln((_t(),y2)),kt((o=l(qt(this,16),29),o||y2),t),r)},h.fi=function(){return _t(),y2},h.hi=function(t){var r,o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:se(this.Cb,89)&&Ay(Pc(l(this.Cb,89)),4),Ma(this,null);return;case 2:hg(this,!0);return;case 3:pg(this,!0);return;case 4:ug(this,0);return;case 5:dy(this,1);return;case 8:Yb(this,null);return;case 9:o=Zd(this,null,null),o&&o.mj();return;case 10:L_(this,!0);return;case 11:j_(this,!1);return;case 12:M_(this,!1);return;case 13:this.i=null,Aj(this,null);return;case 15:P_(this,!1);return;case 16:F_(this,!1);return;case 18:w1e(this,!1),se(this.Cb,89)&&Ay(Pc(l(this.Cb,89)),2);return;case 20:m1e(this,!0);return;case 21:gge(this,null);return;case 23:!this.a&&(this.a=new sE(wv,this,23)),vn(this.a);return}Ju(this,t-ln((_t(),y2)),kt((r=l(qt(this,16),29),r||y2),t))},h.mi=function(){$ge(this),c_(is((mc(),ao),this)),Sl(this),this.Bb|=1},h.sk=function(){return Po(this)},h.Zk=function(){var t;return t=Po(this),!!t&&(t.Bb&Ws)!=0},h.$k=function(){return(this.Bb&Ws)!=0},h._k=function(){return(this.Bb&Io)!=0},h.Wk=function(t,r){return this.c=null,a1e(this,t,r)},h.Ib=function(){var t;return this.Db&64?HF(this):(t=new ml(HF(this)),t.a+=" (containment: ",Zp(t,(this.Bb&Ws)!=0),t.a+=", resolveProxies: ",Zp(t,(this.Bb&Io)!=0),t.a+=")",t.a)},k(zt,"EReferenceImpl",104),x(553,119,{110:1,45:1,95:1,94:1,138:1,57:1,115:1,52:1,101:1,553:1,118:1,119:1},bqe),h.Fb=function(t){return this===t},h.jd=function(){return this.b},h.kd=function(){return this.c},h.Hb=function(){return s0(this)},h.Ai=function(t){isn(this,In(t))},h.ld=function(t){return Won(this,In(t))},h.Ih=function(t,r,o){var a;switch(t){case 0:return this.b;case 1:return this.c}return qu(this,t-ln((_t(),Do)),kt((a=l(qt(this,16),29),a||Do),t),r,o)},h.Th=function(t){var r;switch(t){case 0:return this.b!=null;case 1:return this.c!=null}return zu(this,t-ln((_t(),Do)),kt((r=l(qt(this,16),29),r||Do),t))},h.$h=function(t,r){var o;switch(t){case 0:osn(this,In(r));return;case 1:uge(this,In(r));return}Xu(this,t-ln((_t(),Do)),kt((o=l(qt(this,16),29),o||Do),t),r)},h.fi=function(){return _t(),Do},h.hi=function(t){var r;switch(t){case 0:fge(this,null);return;case 1:uge(this,null);return}Ju(this,t-ln((_t(),Do)),kt((r=l(qt(this,16),29),r||Do),t))},h.yi=function(){var t;return this.a==-1&&(t=this.b,this.a=t==null?0:lg(t)),this.a},h.zi=function(t){this.a=t},h.Ib=function(){var t;return this.Db&64?Zl(this):(t=new ml(Zl(this)),t.a+=" (key: ",Wo(t,this.b),t.a+=", value: ",Wo(t,this.c),t.a+=")",t.a)},h.a=-1,h.b=null,h.c=null;var zs=k(zt,"EStringToStringMapEntryImpl",553),yLt=Hr(Fr,"FeatureMap/Entry/Internal");x(569,1,Z7),h.vl=function(t){return this.wl(l(t,52))},h.wl=function(t){return this.vl(t)},h.Fb=function(t){var r,o;return this===t?!0:se(t,76)?(r=l(t,76),r.Jk()==this.c?(o=this.kd(),o==null?r.kd()==null:gr(o,r.kd())):!1):!1},h.Jk=function(){return this.c},h.Hb=function(){var t;return t=this.kd(),Rr(this.c)^(t==null?0:Rr(t))},h.Ib=function(){var t,r;return t=this.c,r=mu(t.ok()).vi(),t.ve(),(r!=null&&r.length!=0?r+":"+t.ve():t.ve())+"="+this.kd()},k(zt,"EStructuralFeatureImpl/BasicFeatureMapEntry",569),x(784,569,Z7,rfe),h.wl=function(t){return new rfe(this.c,t)},h.kd=function(){return this.a},h.xl=function(t,r,o){return Fhn(this,t,this.a,r,o)},h.yl=function(t,r,o){return $hn(this,t,this.a,r,o)},k(zt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",784),x(1316,1,{},Tnt),h.wk=function(t,r,o,a,u){var f;return f=l(p_(t,this.b),222),f.Wl(this.a).Dk(a)},h.xk=function(t,r,o,a,u){var f;return f=l(p_(t,this.b),222),f.Nl(this.a,a,u)},h.yk=function(t,r,o,a,u){var f;return f=l(p_(t,this.b),222),f.Ol(this.a,a,u)},h.zk=function(t,r,o){var a;return a=l(p_(t,this.b),222),a.Wl(this.a).Oj()},h.Ak=function(t,r,o,a){var u;u=l(p_(t,this.b),222),u.Wl(this.a).Wb(a)},h.Bk=function(t,r,o){return l(p_(t,this.b),222).Wl(this.a)},h.Ck=function(t,r,o){var a;a=l(p_(t,this.b),222),a.Wl(this.a).Ek()},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1316),x(90,1,{},rg,Lb,og,Bb),h.wk=function(t,r,o,a,u){var f;if(f=r.ii(o),f==null&&r.ji(o,f=e7(this,t)),!u)switch(this.e){case 50:case 41:return l(f,593)._j();case 40:return l(f,222).Tl()}return f},h.xk=function(t,r,o,a,u){var f,p;return p=r.ii(o),p==null&&r.ji(o,p=e7(this,t)),f=l(p,72).Uk(a,u),f},h.yk=function(t,r,o,a,u){var f;return f=r.ii(o),f!=null&&(u=l(f,72).Vk(a,u)),u},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null&&l(a,78).Oj()},h.Ak=function(t,r,o,a){var u;u=l(r.ii(o),78),!u&&r.ji(o,u=e7(this,t)),u.Wb(a)},h.Bk=function(t,r,o){var a,u;return u=r.ii(o),u==null&&r.ji(o,u=e7(this,t)),se(u,78)?l(u,78):(a=l(r.ii(o),16),new dZe(a))},h.Ck=function(t,r,o){var a;a=l(r.ii(o),78),!a&&r.ji(o,a=e7(this,t)),a.Ek()},h.b=0,h.e=0,k(zt,"EStructuralFeatureImpl/InternalSettingDelegateMany",90),x(502,1,{}),h.xk=function(t,r,o,a,u){throw Y(new Nn)},h.yk=function(t,r,o,a,u){throw Y(new Nn)},h.Bk=function(t,r,o){return new Tat(this,t,r,o)};var Lh;k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",502),x(1333,1,SQ,Tat),h.Dk=function(t){return this.a.wk(this.c,this.d,this.b,t,!0)},h.Oj=function(){return this.a.zk(this.c,this.d,this.b)},h.Wb=function(t){this.a.Ak(this.c,this.d,this.b,t)},h.Ek=function(){this.a.Ck(this.c,this.d,this.b)},h.b=0,k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1333),x(777,502,{},jhe),h.wk=function(t,r,o,a,u){return TJ(t,t.Mh(),t.Ch())==this.b?this._k()&&a?dJ(t):t.Mh():null},h.xk=function(t,r,o,a,u){var f,p;return t.Mh()&&(u=(f=t.Ch(),f>=0?t.xh(u):t.Mh().Qh(t,-1-f,null,u))),p=Ur(t.Ah(),this.e),t.zh(a,p,u)},h.yk=function(t,r,o,a,u){var f;return f=Ur(t.Ah(),this.e),t.zh(null,f,u)},h.zk=function(t,r,o){var a;return a=Ur(t.Ah(),this.e),!!t.Mh()&&t.Ch()==a},h.Ak=function(t,r,o,a){var u,f,p,m,y;if(a!=null&&!kJ(this.a,a))throw Y(new MA(Q7+(se(a,57)?xbe(l(a,57).Ah()):Vpe(ru(a)))+e$+this.a+"'"));if(u=t.Mh(),p=Ur(t.Ah(),this.e),me(a)!==me(u)||t.Ch()!=p&&a!=null){if(z_(t,l(a,57)))throw Y(new jt(oI+t.Ib()));y=null,u&&(y=(f=t.Ch(),f>=0?t.xh(y):t.Mh().Qh(t,-1-f,null,y))),m=l(a,52),m&&(y=m.Oh(t,Ur(m.Ah(),this.b),null,y)),y=t.zh(m,p,y),y&&y.mj()}else t.sh()&&t.th()&&pr(t,new Pi(t,1,p,a,a))},h.Ck=function(t,r,o){var a,u,f,p;a=t.Mh(),a?(p=(u=t.Ch(),u>=0?t.xh(null):t.Mh().Qh(t,-1-u,null,null)),f=Ur(t.Ah(),this.e),p=t.zh(null,f,p),p&&p.mj()):t.sh()&&t.th()&&pr(t,new N3(t,1,this.e,null,null))},h._k=function(){return!1},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",777),x(1317,777,{},pot),h._k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1317),x(567,502,{}),h.wk=function(t,r,o,a,u){var f;return f=r.ii(o),f==null?this.b:me(f)===me(Lh)?null:f},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null&&(me(a)===me(Lh)||!gr(a,this.b))},h.Ak=function(t,r,o,a){var u,f;t.sh()&&t.th()?(u=(f=r.ii(o),f==null?this.b:me(f)===me(Lh)?null:f),a==null?this.c!=null?(r.ji(o,null),a=this.b):this.b!=null?r.ji(o,Lh):r.ji(o,null):(this.zl(a),r.ji(o,a)),pr(t,this.d.Al(t,1,this.e,u,a))):a==null?this.c!=null?r.ji(o,null):this.b!=null?r.ji(o,Lh):r.ji(o,null):(this.zl(a),r.ji(o,a))},h.Ck=function(t,r,o){var a,u;t.sh()&&t.th()?(a=(u=r.ii(o),u==null?this.b:me(u)===me(Lh)?null:u),r.ki(o),pr(t,this.d.Al(t,1,this.e,a,this.b))):r.ki(o)},h.zl=function(t){throw Y(new EZe)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",567),x(zE,1,{},mqe),h.Al=function(t,r,o,a,u){return new N3(t,r,o,a,u)},h.Bl=function(t,r,o,a,u,f){return new TW(t,r,o,a,u,f)};var D3e,L3e,M3e,P3e,j3e,F3e,$3e,Hre,B3e;k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",zE),x(1334,zE,{},wqe),h.Al=function(t,r,o,a,u){return new mpe(t,r,o,Ye(Ke(a)),Ye(Ke(u)))},h.Bl=function(t,r,o,a,u,f){return new eut(t,r,o,Ye(Ke(a)),Ye(Ke(u)),f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1334),x(1335,zE,{},yqe),h.Al=function(t,r,o,a,u){return new Jpe(t,r,o,l(a,224).a,l(u,224).a)},h.Bl=function(t,r,o,a,u,f){return new Wct(t,r,o,l(a,224).a,l(u,224).a,f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1335),x(1336,zE,{},vqe),h.Al=function(t,r,o,a,u){return new Xpe(t,r,o,l(a,183).a,l(u,183).a)},h.Bl=function(t,r,o,a,u,f){return new Kct(t,r,o,l(a,183).a,l(u,183).a,f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1336),x(1337,zE,{},Eqe),h.Al=function(t,r,o,a,u){return new gpe(t,r,o,ce(le(a)),ce(le(u)))},h.Bl=function(t,r,o,a,u,f){return new Yct(t,r,o,ce(le(a)),ce(le(u)),f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1337),x(1338,zE,{},Sqe),h.Al=function(t,r,o,a,u){return new ege(t,r,o,l(a,165).a,l(u,165).a)},h.Bl=function(t,r,o,a,u,f){return new Jct(t,r,o,l(a,165).a,l(u,165).a,f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1338),x(1339,zE,{},Tqe),h.Al=function(t,r,o,a,u){return new bpe(t,r,o,l(a,15).a,l(u,15).a)},h.Bl=function(t,r,o,a,u,f){return new Xct(t,r,o,l(a,15).a,l(u,15).a,f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1339),x(1340,zE,{},Aqe),h.Al=function(t,r,o,a,u){return new Zpe(t,r,o,l(a,192).a,l(u,192).a)},h.Bl=function(t,r,o,a,u,f){return new Zct(t,r,o,l(a,192).a,l(u,192).a,f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1340),x(1341,zE,{},_qe),h.Al=function(t,r,o,a,u){return new Qpe(t,r,o,l(a,193).a,l(u,193).a)},h.Bl=function(t,r,o,a,u,f){return new Qct(t,r,o,l(a,193).a,l(u,193).a,f)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1341),x(1319,567,{},kat),h.zl=function(t){if(!this.a.dk(t))throw Y(new MA(Q7+ru(t)+e$+this.a+"'"))},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1319),x(1320,567,{},lst),h.zl=function(t){},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1320),x(778,567,{}),h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null},h.Ak=function(t,r,o,a){var u,f;t.sh()&&t.th()?(u=!0,f=r.ii(o),f==null?(u=!1,f=this.b):me(f)===me(Lh)&&(f=null),a==null?this.c!=null?(r.ji(o,null),a=this.b):r.ji(o,Lh):(this.zl(a),r.ji(o,a)),pr(t,this.d.Bl(t,1,this.e,f,a,!u))):a==null?this.c!=null?r.ji(o,null):r.ji(o,Lh):(this.zl(a),r.ji(o,a))},h.Ck=function(t,r,o){var a,u;t.sh()&&t.th()?(a=!0,u=r.ii(o),u==null?(a=!1,u=this.b):me(u)===me(Lh)&&(u=null),r.ki(o),pr(t,this.d.Bl(t,2,this.e,u,this.b,a))):r.ki(o)},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",778),x(1321,778,{},Nat),h.zl=function(t){if(!this.a.dk(t))throw Y(new MA(Q7+ru(t)+e$+this.a+"'"))},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1321),x(1322,778,{},dst),h.zl=function(t){},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1322),x(407,502,{},lP),h.wk=function(t,r,o,a,u){var f,p,m,y,v;if(v=r.ii(o),this.rk()&&me(v)===me(Lh))return null;if(this._k()&&a&&v!=null){if(m=l(v,52),m.Sh()&&(y=y1(t,m),m!=y)){if(!kJ(this.a,y))throw Y(new MA(Q7+ru(y)+e$+this.a+"'"));r.ji(o,v=y),this.$k()&&(f=l(y,52),p=m.Qh(t,this.b?Ur(m.Ah(),this.b):-1-Ur(t.Ah(),this.e),null,null),!f.Mh()&&(p=f.Oh(t,this.b?Ur(f.Ah(),this.b):-1-Ur(t.Ah(),this.e),null,p)),p&&p.mj()),t.sh()&&t.th()&&pr(t,new N3(t,9,this.e,m,y))}return v}else return v},h.xk=function(t,r,o,a,u){var f,p;return p=r.ii(o),me(p)===me(Lh)&&(p=null),r.ji(o,a),this.Kj()?me(p)!==me(a)&&p!=null&&(f=l(p,52),u=f.Qh(t,Ur(f.Ah(),this.b),null,u)):this.$k()&&p!=null&&(u=l(p,52).Qh(t,-1-Ur(t.Ah(),this.e),null,u)),t.sh()&&t.th()&&(!u&&(u=new e1(4)),u.lj(new N3(t,1,this.e,p,a))),u},h.yk=function(t,r,o,a,u){var f;return f=r.ii(o),me(f)===me(Lh)&&(f=null),r.ki(o),t.sh()&&t.th()&&(!u&&(u=new e1(4)),this.rk()?u.lj(new N3(t,2,this.e,f,null)):u.lj(new N3(t,1,this.e,f,null))),u},h.zk=function(t,r,o){var a;return a=r.ii(o),a!=null},h.Ak=function(t,r,o,a){var u,f,p,m,y;if(a!=null&&!kJ(this.a,a))throw Y(new MA(Q7+(se(a,57)?xbe(l(a,57).Ah()):Vpe(ru(a)))+e$+this.a+"'"));y=r.ii(o),m=y!=null,this.rk()&&me(y)===me(Lh)&&(y=null),p=null,this.Kj()?me(y)!==me(a)&&(y!=null&&(u=l(y,52),p=u.Qh(t,Ur(u.Ah(),this.b),null,p)),a!=null&&(u=l(a,52),p=u.Oh(t,Ur(u.Ah(),this.b),null,p))):this.$k()&&me(y)!==me(a)&&(y!=null&&(p=l(y,52).Qh(t,-1-Ur(t.Ah(),this.e),null,p)),a!=null&&(p=l(a,52).Oh(t,-1-Ur(t.Ah(),this.e),null,p))),a==null&&this.rk()?r.ji(o,Lh):r.ji(o,a),t.sh()&&t.th()?(f=new TW(t,1,this.e,y,a,this.rk()&&!m),p?(p.lj(f),p.mj()):pr(t,f)):p&&p.mj()},h.Ck=function(t,r,o){var a,u,f,p,m;m=r.ii(o),p=m!=null,this.rk()&&me(m)===me(Lh)&&(m=null),f=null,m!=null&&(this.Kj()?(a=l(m,52),f=a.Qh(t,Ur(a.Ah(),this.b),null,f)):this.$k()&&(f=l(m,52).Qh(t,-1-Ur(t.Ah(),this.e),null,f))),r.ki(o),t.sh()&&t.th()?(u=new TW(t,this.rk()?2:1,this.e,m,null,p),f?(f.lj(u),f.mj()):pr(t,u)):f&&f.mj()},h.Kj=function(){return!1},h.$k=function(){return!1},h._k=function(){return!1},h.rk=function(){return!1},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",407),x(568,407,{},AV),h.$k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",568),x(1325,568,{},cit),h._k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1325),x(780,568,{},Bde),h.rk=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",780),x(1327,780,{},uit),h._k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1327),x(645,568,{},$V),h.Kj=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",645),x(1326,645,{},got),h._k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1326),x(781,645,{},_fe),h.rk=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",781),x(1328,781,{},bot),h._k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1328),x(646,407,{},Ude),h._k=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",646),x(1329,646,{},dit),h.rk=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1329),x(782,646,{},Tfe),h.Kj=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",782),x(1330,782,{},mot),h.rk=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1330),x(1323,407,{},lit),h.rk=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1323),x(779,407,{},Afe),h.Kj=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",779),x(1324,779,{},wot),h.rk=function(){return!0},k(zt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1324),x(783,569,Z7,bhe),h.wl=function(t){return new bhe(this.a,this.c,t)},h.kd=function(){return this.b},h.xl=function(t,r,o){return Pdn(this,t,this.b,o)},h.yl=function(t,r,o){return jdn(this,t,this.b,o)},k(zt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",783),x(1331,1,SQ,dZe),h.Dk=function(t){return this.a},h.Oj=function(){return se(this.a,98)?l(this.a,98).Oj():!this.a.dc()},h.Wb=function(t){this.a.$b(),this.a.Fc(l(t,16))},h.Ek=function(){se(this.a,98)?l(this.a,98).Ek():this.a.$b()},k(zt,"EStructuralFeatureImpl/SettingMany",1331),x(1332,569,Z7,Wut),h.vl=function(t){return new CV((Tr(),j4),this.b.oi(this.a,t))},h.kd=function(){return null},h.xl=function(t,r,o){return o},h.yl=function(t,r,o){return o},k(zt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1332),x(647,569,Z7,CV),h.vl=function(t){return new CV(this.c,t)},h.kd=function(){return this.a},h.xl=function(t,r,o){return o},h.yl=function(t,r,o){return o},k(zt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",647),x(399,495,Vf,NA),h.$i=function(t){return we(Ol,It,29,t,0,1)},h.Wi=function(){return!1},k(zt,"ESuperAdapter/1",399),x(449,444,{110:1,95:1,94:1,159:1,199:1,57:1,115:1,842:1,52:1,101:1,162:1,449:1,118:1,119:1},jG),h.Ih=function(t,r,o){var a;switch(t){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new A3(this,qo,this)),this.a}return qu(this,t-ln((_t(),fw)),kt((a=l(qt(this,16),29),a||fw),t),r,o)},h.Rh=function(t,r,o){var a,u;switch(r){case 0:return!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),xo(this.Ab,t,o);case 2:return!this.a&&(this.a=new A3(this,qo,this)),xo(this.a,t,o)}return u=l(kt((a=l(qt(this,16),29),a||(_t(),fw)),r),69),u.uk().yk(this,Ha(this),r-ln((_t(),fw)),t,o)},h.Th=function(t){var r;switch(t){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return zu(this,t-ln((_t(),fw)),kt((r=l(qt(this,16),29),r||fw),t))},h.$h=function(t,r){var o;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab),!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),ti(this.Ab,l(r,18));return;case 1:Ma(this,In(r));return;case 2:!this.a&&(this.a=new A3(this,qo,this)),vn(this.a),!this.a&&(this.a=new A3(this,qo,this)),ti(this.a,l(r,18));return}Xu(this,t-ln((_t(),fw)),kt((o=l(qt(this,16),29),o||fw),t),r)},h.fi=function(){return _t(),fw},h.hi=function(t){var r;switch(t){case 0:!this.Ab&&(this.Ab=new ke(Kn,this,0,3)),vn(this.Ab);return;case 1:Ma(this,null);return;case 2:!this.a&&(this.a=new A3(this,qo,this)),vn(this.a);return}Ju(this,t-ln((_t(),fw)),kt((r=l(qt(this,16),29),r||fw),t))},k(zt,"ETypeParameterImpl",449),x(450,82,ws,A3),h.Lj=function(t,r){return Rwn(this,l(t,88),r)},h.Mj=function(t,r){return Own(this,l(t,88),r)},k(zt,"ETypeParameterImpl/1",450),x(644,44,LE,sq),h.ec=function(){return new C9(this)},k(zt,"ETypeParameterImpl/2",644),x(564,tf,wc,C9),h.Ec=function(t){return qit(this,l(t,88))},h.Fc=function(t){var r,o,a;for(a=!1,o=t.Jc();o.Ob();)r=l(o.Pb(),88),Jn(this.a,r,"")==null&&(a=!0);return a},h.$b=function(){Zs(this.a)},h.Gc=function(t){return ma(this.a,t)},h.Jc=function(){var t;return t=new hy(new Mw(this.a).a),new I9(t)},h.Kc=function(t){return Mlt(this,t)},h.gc=function(){return WN(this.a)},k(zt,"ETypeParameterImpl/2/1",564),x(565,1,Wi,I9),h.Nb=function(t){so(this,t)},h.Pb=function(){return l(bE(this.a).jd(),88)},h.Ob=function(){return this.a.b},h.Qb=function(){Wdt(this.a)},k(zt,"ETypeParameterImpl/2/1/1",565),x(1293,44,LE,eQe),h._b=function(t){return zi(t)?_W(this,t):!!ns(this.f,t)},h.xc=function(t){var r,o;return r=zi(t)?wa(this,t):Ss(ns(this.f,t)),se(r,843)?(o=l(r,843),r=o.Ik(),Jn(this,l(t,244),r),r):r??(t==null?(_q(),ELt):null)},k(zt,"EValidatorRegistryImpl",1293),x(1315,717,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,2019:1,52:1,101:1,162:1,118:1,119:1},xqe),h.oi=function(t,r){switch(t.fk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return r==null?null:ms(r);case 25:return Vfn(r);case 27:return afn(r);case 28:return cfn(r);case 29:return r==null?null:hrt(R4[0],l(r,208));case 41:return r==null?"":Ab(l(r,299));case 42:return ms(r);case 50:return In(r);default:throw Y(new jt(Dx+t.ve()+W0))}},h.pi=function(t){var r,o,a,u,f,p,m,y,v,T,N,R,M,U,G,J;switch(t.G==-1&&(t.G=(R=mu(t),R?gg(R.si(),t):-1)),t.G){case 0:return o=new rq,o;case 1:return r=new Gce,r;case 2:return a=new Yce,a;case 4:return u=new R9,u;case 5:return f=new QZe,f;case 6:return p=new bZe,p;case 7:return m=new Kce,m;case 10:return v=new v9,v;case 11:return T=new iq,T;case 12:return N=new $at,N;case 13:return M=new oq,M;case 14:return U=new Gde,U;case 17:return G=new bqe,G;case 18:return y=new Ym,y;case 19:return J=new jG,J;default:throw Y(new jt(sQ+t.zb+W0))}},h.qi=function(t,r){switch(t.fk()){case 20:return r==null?null:new ule(r);case 21:return r==null?null:new s1(r);case 23:case 22:return r==null?null:q1n(r);case 26:case 24:return r==null?null:p6(Eu(r,-128,127)<<24>>24);case 25:return WEn(r);case 27:return Cmn(r);case 28:return Imn(r);case 29:return Xwn(r);case 32:case 31:return r==null?null:Sy(r);case 38:case 37:return r==null?null:new Oue(r);case 40:case 39:return r==null?null:Oe(Eu(r,Zi,ar));case 41:return null;case 42:return r==null,null;case 44:case 43:return r==null?null:yy(QF(r));case 49:case 48:return r==null?null:D_(Eu(r,t$,32767)<<16>>16);case 50:return r;default:throw Y(new jt(Dx+t.ve()+W0))}},k(zt,"EcoreFactoryImpl",1315),x(552,187,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,2017:1,52:1,101:1,162:1,187:1,552:1,118:1,119:1,687:1},sat),h.gb=!1,h.hb=!1;var U3e,vLt=!1;k(zt,"EcorePackageImpl",552),x(1211,1,{843:1},kqe),h.Ik=function(){return Urt(),SLt},k(zt,"EcorePackageImpl/1",1211),x(1220,1,tr,Nqe),h.dk=function(t){return se(t,159)},h.ek=function(t){return we(r5,It,159,t,0,1)},k(zt,"EcorePackageImpl/10",1220),x(1221,1,tr,Cqe),h.dk=function(t){return se(t,199)},h.ek=function(t){return we(Dre,It,199,t,0,1)},k(zt,"EcorePackageImpl/11",1221),x(1222,1,tr,Iqe),h.dk=function(t){return se(t,57)},h.ek=function(t){return we(J1,It,57,t,0,1)},k(zt,"EcorePackageImpl/12",1222),x(1223,1,tr,Rqe),h.dk=function(t){return se(t,408)},h.ek=function(t){return we(Dl,REe,62,t,0,1)},k(zt,"EcorePackageImpl/13",1223),x(1224,1,tr,Oqe),h.dk=function(t){return se(t,244)},h.ek=function(t){return we(Dd,It,244,t,0,1)},k(zt,"EcorePackageImpl/14",1224),x(1225,1,tr,Dqe),h.dk=function(t){return se(t,507)},h.ek=function(t){return we(lw,It,2095,t,0,1)},k(zt,"EcorePackageImpl/15",1225),x(1226,1,tr,Lqe),h.dk=function(t){return se(t,104)},h.ek=function(t){return we(yv,HE,20,t,0,1)},k(zt,"EcorePackageImpl/16",1226),x(1227,1,tr,Mqe),h.dk=function(t){return se(t,182)},h.ek=function(t){return we(ac,HE,182,t,0,1)},k(zt,"EcorePackageImpl/17",1227),x(1228,1,tr,Pqe),h.dk=function(t){return se(t,473)},h.ek=function(t){return we(mv,It,473,t,0,1)},k(zt,"EcorePackageImpl/18",1228),x(1229,1,tr,jqe),h.dk=function(t){return se(t,553)},h.ek=function(t){return we(zs,HAt,553,t,0,1)},k(zt,"EcorePackageImpl/19",1229),x(1212,1,tr,Fqe),h.dk=function(t){return se(t,336)},h.ek=function(t){return we(wv,HE,38,t,0,1)},k(zt,"EcorePackageImpl/2",1212),x(1230,1,tr,$qe),h.dk=function(t){return se(t,251)},h.ek=function(t){return we(qo,o_t,88,t,0,1)},k(zt,"EcorePackageImpl/20",1230),x(1231,1,tr,Bqe),h.dk=function(t){return se(t,449)},h.ek=function(t){return we(Ka,It,842,t,0,1)},k(zt,"EcorePackageImpl/21",1231),x(1232,1,tr,Uqe),h.dk=function(t){return Hw(t)},h.ek=function(t){return we(Yr,Pe,476,t,8,1)},k(zt,"EcorePackageImpl/22",1232),x(1233,1,tr,Hqe),h.dk=function(t){return se(t,198)},h.ek=function(t){return we(Ec,Pe,198,t,0,2)},k(zt,"EcorePackageImpl/23",1233),x(1234,1,tr,zqe),h.dk=function(t){return se(t,224)},h.ek=function(t){return we(ET,Pe,224,t,0,1)},k(zt,"EcorePackageImpl/24",1234),x(1235,1,tr,Gqe),h.dk=function(t){return se(t,183)},h.ek=function(t){return we(mI,Pe,183,t,0,1)},k(zt,"EcorePackageImpl/25",1235),x(1236,1,tr,qqe),h.dk=function(t){return se(t,208)},h.ek=function(t){return we(d$,Pe,208,t,0,1)},k(zt,"EcorePackageImpl/26",1236),x(1237,1,tr,Vqe),h.dk=function(t){return!1},h.ek=function(t){return we(oCe,It,2191,t,0,1)},k(zt,"EcorePackageImpl/27",1237),x(1238,1,tr,Wqe),h.dk=function(t){return zw(t)},h.ek=function(t){return we(fi,Pe,347,t,7,1)},k(zt,"EcorePackageImpl/28",1238),x(1239,1,tr,Kqe),h.dk=function(t){return se(t,61)},h.ek=function(t){return we(v3e,Ly,61,t,0,1)},k(zt,"EcorePackageImpl/29",1239),x(1213,1,tr,Yqe),h.dk=function(t){return se(t,508)},h.ek=function(t){return we(Kn,{3:1,4:1,5:1,2012:1},594,t,0,1)},k(zt,"EcorePackageImpl/3",1213),x(1240,1,tr,Jqe),h.dk=function(t){return se(t,575)},h.ek=function(t){return we(T3e,It,2018,t,0,1)},k(zt,"EcorePackageImpl/30",1240),x(1241,1,tr,Xqe),h.dk=function(t){return se(t,164)},h.ek=function(t){return we(V3e,Ly,164,t,0,1)},k(zt,"EcorePackageImpl/31",1241),x(1242,1,tr,Zqe),h.dk=function(t){return se(t,76)},h.ek=function(t){return we(AU,p_t,76,t,0,1)},k(zt,"EcorePackageImpl/32",1242),x(1243,1,tr,Qqe),h.dk=function(t){return se(t,165)},h.ek=function(t){return we(Ux,Pe,165,t,0,1)},k(zt,"EcorePackageImpl/33",1243),x(1244,1,tr,eVe),h.dk=function(t){return se(t,15)},h.ek=function(t){return we(_i,Pe,15,t,0,1)},k(zt,"EcorePackageImpl/34",1244),x(1245,1,tr,tVe),h.dk=function(t){return se(t,299)},h.ek=function(t){return we(GEe,It,299,t,0,1)},k(zt,"EcorePackageImpl/35",1245),x(1246,1,tr,nVe),h.dk=function(t){return se(t,192)},h.ek=function(t){return we(Y0,Pe,192,t,0,1)},k(zt,"EcorePackageImpl/36",1246),x(1247,1,tr,rVe),h.dk=function(t){return se(t,93)},h.ek=function(t){return we(qEe,It,93,t,0,1)},k(zt,"EcorePackageImpl/37",1247),x(1248,1,tr,iVe),h.dk=function(t){return se(t,595)},h.ek=function(t){return we(H3e,It,595,t,0,1)},k(zt,"EcorePackageImpl/38",1248),x(1249,1,tr,oVe),h.dk=function(t){return!1},h.ek=function(t){return we(sCe,It,2192,t,0,1)},k(zt,"EcorePackageImpl/39",1249),x(1214,1,tr,sVe),h.dk=function(t){return se(t,89)},h.ek=function(t){return we(Ol,It,29,t,0,1)},k(zt,"EcorePackageImpl/4",1214),x(1250,1,tr,aVe),h.dk=function(t){return se(t,193)},h.ek=function(t){return we(J0,Pe,193,t,0,1)},k(zt,"EcorePackageImpl/40",1250),x(1251,1,tr,cVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(zt,"EcorePackageImpl/41",1251),x(1252,1,tr,uVe),h.dk=function(t){return se(t,592)},h.ek=function(t){return we(S3e,It,592,t,0,1)},k(zt,"EcorePackageImpl/42",1252),x(1253,1,tr,lVe),h.dk=function(t){return!1},h.ek=function(t){return we(aCe,Pe,2193,t,0,1)},k(zt,"EcorePackageImpl/43",1253),x(1254,1,tr,dVe),h.dk=function(t){return se(t,45)},h.ek=function(t){return we(dm,n7,45,t,0,1)},k(zt,"EcorePackageImpl/44",1254),x(1215,1,tr,fVe),h.dk=function(t){return se(t,146)},h.ek=function(t){return we(Ld,It,146,t,0,1)},k(zt,"EcorePackageImpl/5",1215),x(1216,1,tr,hVe),h.dk=function(t){return se(t,160)},h.ek=function(t){return we($re,It,160,t,0,1)},k(zt,"EcorePackageImpl/6",1216),x(1217,1,tr,pVe),h.dk=function(t){return se(t,462)},h.ek=function(t){return we(TU,It,682,t,0,1)},k(zt,"EcorePackageImpl/7",1217),x(1218,1,tr,gVe),h.dk=function(t){return se(t,575)},h.ek=function(t){return we(Op,It,691,t,0,1)},k(zt,"EcorePackageImpl/8",1218),x(1219,1,tr,bVe),h.dk=function(t){return se(t,472)},h.ek=function(t){return we(I4,It,472,t,0,1)},k(zt,"EcorePackageImpl/9",1219),x(1030,2059,UAt,AQe),h.Ki=function(t,r){Agn(this,l(r,420))},h.Oi=function(t,r){qmt(this,t,l(r,420))},k(zt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1030),x(1031,152,qD,Yst),h.hj=function(){return this.a.a},k(zt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1031),x(1058,1057,{},irt),k("org.eclipse.emf.ecore.plugin","EcorePlugin",1058);var H3e=Hr(g_t,"Resource");x(793,1502,b_t),h.Fl=function(t){},h.Gl=function(t){},h.Cl=function(){return!this.a&&(this.a=new XG(this)),this.a},h.Dl=function(t){var r,o,a,u,f;if(a=t.length,a>0)if(Jt(0,t.length),t.charCodeAt(0)==47){for(f=new Da(4),u=1,r=1;r<a;++r)Jt(r,t.length),t.charCodeAt(r)==47&&(Fe(f,u==r?"":(io(u,r,t.length),t.substr(u,r-u))),u=r+1);return Fe(f,(Jt(u,t.length+1),t.substr(u))),T0n(this,f)}else Jt(a-1,t.length),t.charCodeAt(a-1)==63&&(o=ffe(t,Qa(63),a-2),o>0&&(t=(io(0,o,t.length),t.substr(0,o))));return Fvn(this,t)},h.El=function(){return this.c},h.Ib=function(){var t;return Ab(this.Pm)+"@"+(t=Rr(this)>>>0,t.toString(16))+" uri='"+this.d+"'"},h.b=!1,k(TQ,"ResourceImpl",793),x(1503,793,b_t,fZe),k(TQ,"BinaryResourceImpl",1503),x(1171,704,mQ),h._i=function(t){return se(t,57)?scn(this,l(t,57)):se(t,595)?new tn(l(t,595).Cl()):me(t)===me(this.f)?l(t,18).Jc():(JA(),u5.a)},h.Ob=function(){return vme(this)},h.a=!1,k(Fr,"EcoreUtil/ContentTreeIterator",1171),x(1504,1171,mQ,Ast),h._i=function(t){return me(t)===me(this.f)?l(t,16).Jc():new Iut(l(t,57))},k(TQ,"ResourceImpl/5",1504),x(654,2071,i_t,XG),h.Gc=function(t){return this.i<=4?q_(this,t):se(t,52)&&l(t,52).Gh()==this.a},h.Ki=function(t,r){t==this.i-1&&(this.a.b||(this.a.b=!0))},h.Mi=function(t,r){t==0?this.a.b||(this.a.b=!0):eK(this,t,r)},h.Oi=function(t,r){},h.Pi=function(t,r,o){},h.Jj=function(){return 2},h.hj=function(){return this.a},h.Kj=function(){return!0},h.Lj=function(t,r){var o;return o=l(t,52),r=o.ci(this.a,r),r},h.Mj=function(t,r){var o;return o=l(t,52),o.ci(null,r)},h.Nj=function(){return!1},h.Qi=function(){return!0},h.$i=function(t){return we(J1,It,57,t,0,1)},h.Wi=function(){return!1},k(TQ,"ResourceImpl/ContentsEList",654),x(962,2041,lx,hZe),h.dd=function(t){return this.a.Ii(t)},h.gc=function(){return this.a.gc()},k(Fr,"AbstractSequentialInternalEList/1",962);var z3e,G3e,ao,q3e;x(632,1,{},Dot);var _U,xU;k(Fr,"BasicExtendedMetaData",632),x(1162,1,{},Ant),h.Hl=function(){return null},h.Il=function(){return this.a==-2&&zZt(this,Gwn(this.d,this.b)),this.a},h.Jl=function(){return null},h.Kl=function(){return At(),At(),Ro},h.ve=function(){return this.c==jx&&GZt(this,u1t(this.d,this.b)),this.c},h.Ll=function(){return 0},h.a=-2,h.c=jx,k(Fr,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1162),x(1163,1,{},nut),h.Hl=function(){return this.a==(h_(),_U)&&WZt(this,OTn(this.f,this.b)),this.a},h.Il=function(){return 0},h.Jl=function(){return this.c==(h_(),_U)&&qZt(this,DTn(this.f,this.b)),this.c},h.Kl=function(){return!this.d&&YZt(this,b_n(this.f,this.b)),this.d},h.ve=function(){return this.e==jx&&XZt(this,u1t(this.f,this.b)),this.e},h.Ll=function(){return this.g==-2&&QZt(this,lwn(this.f,this.b)),this.g},h.e=jx,h.g=-2,k(Fr,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1163),x(1161,1,{},xnt),h.b=!1,h.c=!1,k(Fr,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1161),x(1164,1,{},rut),h.c=-2,h.e=jx,h.f=jx,k(Fr,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1164),x(588,630,ws,Q8),h.Jj=function(){return this.c},h.ml=function(){return!1},h.Ui=function(t,r){return r},h.c=0,k(Fr,"EDataTypeEList",588);var V3e=Hr(Fr,"FeatureMap");x(77,588,{3:1,4:1,22:1,32:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,164:1,222:1,2015:1,72:1,98:1},ni),h._c=function(t,r){Q2n(this,t,l(r,76))},h.Ec=function(t){return b2n(this,l(t,76))},h.Fi=function(t){can(this,l(t,76))},h.Lj=function(t,r){return _rn(this,l(t,76),r)},h.Mj=function(t,r){return pfe(this,l(t,76),r)},h.Ri=function(t,r){return TAn(this,t,r)},h.Ui=function(t,r){return hkn(this,t,l(r,76))},h.fd=function(t,r){return FSn(this,t,l(r,76))},h.Sj=function(t,r){return xrn(this,l(t,76),r)},h.Tj=function(t,r){return Zit(this,l(t,76),r)},h.Uj=function(t,r,o){return ewn(this,l(t,76),l(r,76),o)},h.Xi=function(t,r){return WY(this,t,l(r,76))},h.Ml=function(t,r){return p0e(this,t,r)},h.ad=function(t,r){var o,a,u,f,p,m,y,v,T;for(v=new w0(r.gc()),u=r.Jc();u.Ob();)if(a=l(u.Pb(),76),f=a.Jk(),wp(this.e,f))(!f.Qi()||!zP(this,f,a.kd())&&!q_(v,a))&&Tn(v,a);else{for(T=za(this.e.Ah(),f),o=l(this.g,123),p=!0,m=0;m<this.i;++m)if(y=o[m],T.$l(y.Jk())){l(SE(this,m,a),76),p=!1;break}p&&Tn(v,a)}return Lge(this,t,v)},h.Fc=function(t){var r,o,a,u,f,p,m,y,v;for(y=new w0(t.gc()),a=t.Jc();a.Ob();)if(o=l(a.Pb(),76),u=o.Jk(),wp(this.e,u))(!u.Qi()||!zP(this,u,o.kd())&&!q_(y,o))&&Tn(y,o);else{for(v=za(this.e.Ah(),u),r=l(this.g,123),f=!0,p=0;p<this.i;++p)if(m=r[p],v.$l(m.Jk())){l(SE(this,p,o),76),f=!1;break}f&&Tn(y,o)}return ti(this,y)},h.Di=function(t){return this.j=-1,NJ(this,this.i,t)},h.Nl=function(t,r,o){return s0e(this,t,r,o)},h.Vk=function(t,r){return aD(this,t,r)},h.Ol=function(t,r,o){return M0e(this,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return lD(this,t,r)},h.Rl=function(t){return l(ie(this,t),76).Jk()},h.Sl=function(t){return l(ie(this,t),76).kd()},h.Tl=function(){return this.b},h.Kj=function(){return!0},h.Rj=function(){return!0},h.Ul=function(t){return!F6(this,t)},h.$i=function(t){return we(yLt,p_t,345,t,0,1)},h.nl=function(t){return _V(this,t)},h.Wb=function(t){VO(this,t)},h.Vl=function(t,r){YF(this,t,r)},h.Wl=function(t){return lht(this,t)},h.Xl=function(t){K1t(this,t)},k(Fr,"BasicFeatureMap",77),x(1939,1,vh),h.Nb=function(t){so(this,t)},h.Rb=function(t){if(this.g==-1)throw Y(new lc);gP(this);try{Hwt(this.e,this.b,this.a,t),this.d=this.e.j,cF(this)}catch(r){throw r=ui(r),se(r,99)?Y(new $u):Y(r)}},h.Ob=function(){return GK(this)},h.Sb=function(){return Hpt(this)},h.Pb=function(){return cF(this)},h.Tb=function(){return this.a},h.Ub=function(){var t;if(Hpt(this))return gP(this),this.g=--this.a,this.sl()&&(t=TC(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw Y(new vs)},h.Vb=function(){return this.a-1},h.Qb=function(){if(this.g==-1)throw Y(new lc);gP(this);try{Imt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw t=ui(t),se(t,99)?Y(new $u):Y(t)}},h.sl=function(){return!1},h.Wb=function(t){if(this.g==-1)throw Y(new lc);gP(this);try{bvt(this.e,this.b,this.g,t),this.d=this.e.j}catch(r){throw r=ui(r),se(r,99)?Y(new $u):Y(r)}},h.a=0,h.c=0,h.d=0,h.f=!1,h.g=0,h.i=0,k(Fr,"FeatureMapUtil/BasicFeatureEIterator",1939),x(417,1939,vh,A_),h.Yl=function(){var t,r,o;for(o=this.e.i,t=l(this.e.g,123);this.c<o;){if(r=t[this.c],this.k.$l(r.Jk()))return this.j=this.f?r:r.kd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},h.Zl=function(){var t,r;for(t=l(this.e.g,123);--this.c>=0;)if(r=t[this.c],this.k.$l(r.Jk()))return this.j=this.f?r:r.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},k(Fr,"BasicFeatureMap/FeatureEIterator",417),x(673,417,vh,cV),h.sl=function(){return!0},k(Fr,"BasicFeatureMap/ResolvingFeatureEIterator",673),x(960,485,J7,mrt),h.nj=function(){return this},k(Fr,"EContentsEList/1",960),x(961,485,J7,Bnt),h.sl=function(){return!1},k(Fr,"EContentsEList/2",961),x(959,289,X7,wrt),h.ul=function(t){},h.Ob=function(){return!1},h.Sb=function(){return!1},k(Fr,"EContentsEList/FeatureIteratorImpl/1",959),x(832,588,ws,Ede),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Jc(this.e)?(t=this.a,this.a=!1,pr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EDataTypeEList/Unsettable",832),x(1937,588,ws,xrt),h.Qi=function(){return!0},k(Fr,"EDataTypeUniqueEList",1937),x(1938,832,ws,Art),h.Qi=function(){return!0},k(Fr,"EDataTypeUniqueEList/Unsettable",1938),x(147,82,ws,dc),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentEList/Resolving",147),x(1165,547,ws,Trt),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentEList/Unsettable/Resolving",1165),x(760,14,ws,afe),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Jc(this.e)?(t=this.a,this.a=!1,pr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EObjectContainmentWithInverseEList/Unsettable",760),x(1199,760,ws,$it),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1199),x(752,494,ws,vde),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Jc(this.e)?(t=this.a,this.a=!1,pr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EObjectEList/Unsettable",752),x(340,494,ws,sE),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectResolvingEList",340),x(1842,752,ws,_rt),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectResolvingEList/Unsettable",1842),x(1505,1,{},mVe);var ELt;k(Fr,"EObjectValidator",1505),x(551,494,ws,wP),h.gl=function(){return this.d},h.hl=function(){return this.b},h.Kj=function(){return!0},h.kl=function(){return!0},h.b=0,k(Fr,"EObjectWithInverseEList",551),x(1202,551,ws,Bit),h.jl=function(){return!0},k(Fr,"EObjectWithInverseEList/ManyInverse",1202),x(633,551,ws,IV),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Jc(this.e)?(t=this.a,this.a=!1,pr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EObjectWithInverseEList/Unsettable",633),x(1201,633,ws,Uit),h.jl=function(){return!0},k(Fr,"EObjectWithInverseEList/Unsettable/ManyInverse",1201),x(761,551,ws,cfe),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectWithInverseResolvingEList",761),x(31,761,ws,Tt),h.jl=function(){return!0},k(Fr,"EObjectWithInverseResolvingEList/ManyInverse",31),x(762,633,ws,ufe),h.ll=function(){return!0},h.Ui=function(t,r){return oT(this,t,l(r,57))},k(Fr,"EObjectWithInverseResolvingEList/Unsettable",762),x(1200,762,ws,Hit),h.jl=function(){return!0},k(Fr,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1200),x(1166,630,ws),h.Ji=function(){return(this.b&1792)==0},h.Li=function(){this.b|=1},h.il=function(){return(this.b&4)!=0},h.Kj=function(){return(this.b&40)!=0},h.jl=function(){return(this.b&16)!=0},h.kl=function(){return(this.b&8)!=0},h.ll=function(){return(this.b&yp)!=0},h.$k=function(){return(this.b&32)!=0},h.ml=function(){return(this.b&Tl)!=0},h.dk=function(t){return this.d?Fut(this.d,t):this.Jk().Fk().dk(t)},h.Oj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},h.Qi=function(){return(this.b&128)!=0},h.Ek=function(){var t;vn(this),this.b&2&&(Jc(this.e)?(t=(this.b&1)!=0,this.b&=-2,LA(this,new Vl(this.e,2,Ur(this.e.Ah(),this.Jk()),t,!1))):this.b&=-2)},h.Wi=function(){return(this.b&1536)==0},h.b=0,k(Fr,"EcoreEList/Generic",1166),x(1167,1166,ws,Fat),h.Jk=function(){return this.a},k(Fr,"EcoreEList/Dynamic",1167),x(759,67,Vf,kue),h.$i=function(t){return y6(this.a.a,t)},k(Fr,"EcoreEMap/1",759),x(758,82,ws,rhe),h.Ki=function(t,r){lF(this.b,l(r,138))},h.Mi=function(t,r){Ght(this.b)},h.Ni=function(t,r,o){var a;++(a=this.b,l(r,138),a).e},h.Oi=function(t,r){tY(this.b,l(r,138))},h.Pi=function(t,r,o){tY(this.b,l(o,138)),me(o)===me(r)&&l(o,138).zi(Rtn(l(r,138).jd())),lF(this.b,l(r,138))},k(Fr,"EcoreEMap/DelegateEObjectContainmentEList",758),x(1197,145,IEe,eht),k(Fr,"EcoreEMap/Unsettable",1197),x(1198,758,ws,zit),h.Li=function(){this.a=!0},h.Oj=function(){return this.a},h.Ek=function(){var t;vn(this),Jc(this.e)?(t=this.a,this.a=!1,pr(this.e,new Vl(this.e,2,this.c,t,!1))):this.a=!1},h.a=!1,k(Fr,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1198),x(1170,226,LE,Gst),h.a=!1,h.b=!1,k(Fr,"EcoreUtil/Copier",1170),x(754,1,Wi,Iut),h.Nb=function(t){so(this,t)},h.Ob=function(){return zgt(this)},h.Pb=function(){var t;return zgt(this),t=this.b,this.b=null,t},h.Qb=function(){this.a.Qb()},k(Fr,"EcoreUtil/ProperContentIterator",754),x(1506,1505,{},wKe);var SLt;k(Fr,"EcoreValidator",1506);var TLt;Hr(Fr,"FeatureMapUtil/Validator"),x(1270,1,{2020:1},wVe),h.$l=function(t){return!0},k(Fr,"FeatureMapUtil/1",1270),x(767,1,{2020:1},W0e),h.$l=function(t){var r;return this.c==t?!0:(r=Ke(Ut(this.a,t)),r==null?FTn(this,t)?(xlt(this.a,t,(Lt(),Bx)),!0):(xlt(this.a,t,(Lt(),L1)),!1):r==(Lt(),Bx))},h.e=!1;var zre;k(Fr,"FeatureMapUtil/BasicValidator",767),x(768,44,LE,mde),k(Fr,"FeatureMapUtil/BasicValidator/Cache",768),x(499,56,{22:1,32:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},xO),h._c=function(t,r){Hwt(this.c,this.b,t,r)},h.Ec=function(t){return p0e(this.c,this.b,t)},h.ad=function(t,r){return oxn(this.c,this.b,t,r)},h.Fc=function(t){return m3(this,t)},h.Ei=function(t,r){Ofn(this.c,this.b,t,r)},h.Uk=function(t,r){return s0e(this.c,this.b,t,r)},h.Yi=function(t){return KF(this.c,this.b,t,!1)},h.Gi=function(){return ert(this.c,this.b)},h.Hi=function(){return ptn(this.c,this.b)},h.Ii=function(t){return Fdn(this.c,this.b,t)},h.Vk=function(t,r){return _it(this,t,r)},h.$b=function(){iS(this)},h.Gc=function(t){return zP(this.c,this.b,t)},h.Hc=function(t){return Phn(this.c,this.b,t)},h.Xb=function(t){return KF(this.c,this.b,t,!0)},h.Dk=function(t){return this},h.bd=function(t){return Kln(this.c,this.b,t)},h.dc=function(){return k8(this)},h.Oj=function(){return!F6(this.c,this.b)},h.Jc=function(){return wfn(this.c,this.b)},h.cd=function(){return yfn(this.c,this.b)},h.dd=function(t){return Bgn(this.c,this.b,t)},h.Ri=function(t,r){return svt(this.c,this.b,t,r)},h.Si=function(t,r){Bdn(this.c,this.b,t,r)},h.ed=function(t){return Imt(this.c,this.b,t)},h.Kc=function(t){return cAn(this.c,this.b,t)},h.fd=function(t,r){return bvt(this.c,this.b,t,r)},h.Wb=function(t){CF(this.c,this.b),m3(this,l(t,16))},h.gc=function(){return Ugn(this.c,this.b)},h.Nc=function(){return Wun(this.c,this.b)},h.Oc=function(t){return Yln(this.c,this.b,t)},h.Ib=function(){var t,r;for(r=new Xp,r.a+="[",t=ert(this.c,this.b);GK(t);)Wo(r,y3(cF(t))),GK(t)&&(r.a+=ja);return r.a+="]",r.a},h.Ek=function(){CF(this.c,this.b)},k(Fr,"FeatureMapUtil/FeatureEList",499),x(641,40,qD,GW),h.fj=function(t){return sC(this,t)},h.kj=function(t){var r,o,a,u,f,p,m;switch(this.d){case 1:case 2:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return this.g=t.gj(),t.ej()==1&&(this.d=1),!0;break}case 3:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return this.d=5,r=new w0(2),Tn(r,this.g),Tn(r,t.gj()),this.g=r,!0;break}}break}case 5:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return o=l(this.g,18),o.Ec(t.gj()),!0;break}}break}case 4:{switch(u=t.ej(),u){case 3:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return this.d=1,this.g=t.gj(),!0;break}case 4:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return this.d=6,m=new w0(2),Tn(m,this.n),Tn(m,t.ij()),this.n=m,p=Z(X(Rn,1),Qn,30,15,[this.o,t.jj()]),this.g=p,!0;break}}break}case 6:{switch(u=t.ej(),u){case 4:{if(f=t.hj(),me(f)===me(this.c)&&sC(this,null)==t.fj(null))return o=l(this.n,18),o.Ec(t.ij()),p=l(this.g,54),a=we(Rn,Qn,30,p.length+1,15,1),ca(p,0,a,0,p.length),a[p.length]=t.jj(),this.g=a,!0;break}}break}}return!1},k(Fr,"FeatureMapUtil/FeatureENotificationImpl",641),x(560,499,{22:1,32:1,56:1,18:1,16:1,61:1,78:1,164:1,222:1,2015:1,72:1,98:1},rP),h.Ml=function(t,r){return p0e(this.c,t,r)},h.Nl=function(t,r,o){return s0e(this.c,t,r,o)},h.Ol=function(t,r,o){return M0e(this.c,t,r,o)},h.Pl=function(){return this},h.Ql=function(t,r){return lD(this.c,t,r)},h.Rl=function(t){return l(KF(this.c,this.b,t,!1),76).Jk()},h.Sl=function(t){return l(KF(this.c,this.b,t,!1),76).kd()},h.Tl=function(){return this.a},h.Ul=function(t){return!F6(this.c,t)},h.Vl=function(t,r){YF(this.c,t,r)},h.Wl=function(t){return lht(this.c,t)},h.Xl=function(t){K1t(this.c,t)},k(Fr,"FeatureMapUtil/FeatureFeatureMap",560),x(1269,1,SQ,_nt),h.Dk=function(t){return KF(this.b,this.a,-1,t)},h.Oj=function(){return!F6(this.b,this.a)},h.Wb=function(t){YF(this.b,this.a,t)},h.Ek=function(){CF(this.b,this.a)},k(Fr,"FeatureMapUtil/FeatureValue",1269);var JT,Gre,qre,XT,ALt,d5=Hr(o$,"AnyType");x(677,63,vp,hq),k(o$,"InvalidDatatypeValueException",677);var kU=Hr(o$,w_t),f5=Hr(o$,y_t),W3e=Hr(o$,v_t),_Lt,Ks,K3e,km,xLt,kLt,NLt,CLt,ILt,RLt,OLt,DLt,LLt,MLt,PLt,v2,jLt,E2,M4,FLt,hw,h5,p5,$Lt,P4,j4;x(836,505,{110:1,95:1,94:1,57:1,52:1,101:1,849:1},Hue),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.c&&(this.c=new ni(this,0)),this.c):(!this.c&&(this.c=new ni(this,0)),this.c.b);case 1:return o?(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)):(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Tl();case 2:return o?(!this.b&&(this.b=new ni(this,2)),this.b):(!this.b&&(this.b=new ni(this,2)),this.b.b)}return qu(this,t-ln(this.fi()),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t),r,o)},h.Rh=function(t,r,o){var a;switch(r){case 0:return!this.c&&(this.c=new ni(this,0)),aD(this.c,t,o);case 1:return(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),72)).Vk(t,o);case 2:return!this.b&&(this.b=new ni(this,2)),aD(this.b,t,o)}return a=l(kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),r),69),a.uk().yk(this,zpe(this),r-ln(this.fi()),t,o)},h.Th=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).dc();case 2:return!!this.b&&this.b.i!=0}return zu(this,t-ln(this.fi()),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t))},h.$h=function(t,r){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),VO(this.c,r);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Wb(r);return;case 2:!this.b&&(this.b=new ni(this,2)),VO(this.b,r);return}Xu(this,t-ln(this.fi()),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t),r)},h.fi=function(){return Tr(),K3e},h.hi=function(t){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),vn(this.c);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).$b();return;case 2:!this.b&&(this.b=new ni(this,2)),vn(this.b);return}Ju(this,t-ln(this.fi()),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():this.fi(),t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (mixed: ",h3(t,this.c),t.a+=", anyAttribute: ",h3(t,this.b),t.a+=")",t.a)},k(Ai,"AnyTypeImpl",836),x(678,505,{110:1,95:1,94:1,57:1,52:1,101:1,2098:1,678:1},IVe),h.Ih=function(t,r,o){switch(t){case 0:return this.a;case 1:return this.b}return qu(this,t-ln((Tr(),v2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t),r,o)},h.Th=function(t){switch(t){case 0:return this.a!=null;case 1:return this.b!=null}return zu(this,t-ln((Tr(),v2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t))},h.$h=function(t,r){switch(t){case 0:nQt(this,In(r));return;case 1:iQt(this,In(r));return}Xu(this,t-ln((Tr(),v2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t),r)},h.fi=function(){return Tr(),v2},h.hi=function(t){switch(t){case 0:this.a=null;return;case 1:this.b=null;return}Ju(this,t-ln((Tr(),v2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():v2,t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (data: ",Wo(t,this.a),t.a+=", target: ",Wo(t,this.b),t.a+=")",t.a)},h.a=null,h.b=null,k(Ai,"ProcessingInstructionImpl",678),x(679,836,{110:1,95:1,94:1,57:1,52:1,101:1,849:1,2099:1,679:1},tQe),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.c&&(this.c=new ni(this,0)),this.c):(!this.c&&(this.c=new ni(this,0)),this.c.b);case 1:return o?(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)):(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Tl();case 2:return o?(!this.b&&(this.b=new ni(this,2)),this.b):(!this.b&&(this.b=new ni(this,2)),this.b.b);case 3:return!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0));case 4:return dfe(this.a,(!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0))));case 5:return this.a}return qu(this,t-ln((Tr(),E2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():E2,t),r,o)},h.Th=function(t){switch(t){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0))!=null;case 4:return dfe(this.a,(!this.c&&(this.c=new ni(this,0)),In(lD(this.c,(Tr(),M4),!0))))!=null;case 5:return!!this.a}return zu(this,t-ln((Tr(),E2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():E2,t))},h.$h=function(t,r){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),VO(this.c,r);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(l(ya(this.c,(Tr(),km)),164),222)).Wb(r);return;case 2:!this.b&&(this.b=new ni(this,2)),VO(this.b,r);return;case 3:Xhe(this,In(r));return;case 4:Xhe(this,lfe(this.a,r));return;case 5:rQt(this,l(r,160));return}Xu(this,t-ln((Tr(),E2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():E2,t),r)},h.fi=function(){return Tr(),E2},h.hi=function(t){switch(t){case 0:!this.c&&(this.c=new ni(this,0)),vn(this.c);return;case 1:(!this.c&&(this.c=new ni(this,0)),l(ya(this.c,(Tr(),km)),164)).$b();return;case 2:!this.b&&(this.b=new ni(this,2)),vn(this.b);return;case 3:!this.c&&(this.c=new ni(this,0)),YF(this.c,(Tr(),M4),null);return;case 4:Xhe(this,lfe(this.a,null));return;case 5:this.a=null;return}Ju(this,t-ln((Tr(),E2)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():E2,t))},k(Ai,"SimpleAnyTypeImpl",679),x(680,505,{110:1,95:1,94:1,57:1,52:1,101:1,2100:1,680:1},nQe),h.Ih=function(t,r,o){switch(t){case 0:return o?(!this.a&&(this.a=new ni(this,0)),this.a):(!this.a&&(this.a=new ni(this,0)),this.a.b);case 1:return o?(!this.b&&(this.b=new pc((_t(),Do),zs,this,1)),this.b):(!this.b&&(this.b=new pc((_t(),Do),zs,this,1)),s6(this.b));case 2:return o?(!this.c&&(this.c=new pc((_t(),Do),zs,this,2)),this.c):(!this.c&&(this.c=new pc((_t(),Do),zs,this,2)),s6(this.c));case 3:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),h5));case 4:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),p5));case 5:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),P4));case 6:return!this.a&&(this.a=new ni(this,0)),ya(this.a,(Tr(),j4))}return qu(this,t-ln((Tr(),hw)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t),r,o)},h.Rh=function(t,r,o){var a;switch(r){case 0:return!this.a&&(this.a=new ni(this,0)),aD(this.a,t,o);case 1:return!this.b&&(this.b=new pc((_t(),Do),zs,this,1)),V8(this.b,t,o);case 2:return!this.c&&(this.c=new pc((_t(),Do),zs,this,2)),V8(this.c,t,o);case 5:return!this.a&&(this.a=new ni(this,0)),_it(ya(this.a,(Tr(),P4)),t,o)}return a=l(kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():(Tr(),hw),r),69),a.uk().yk(this,zpe(this),r-ln((Tr(),hw)),t,o)},h.Th=function(t){switch(t){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new ni(this,0)),!k8(ya(this.a,(Tr(),h5)));case 4:return!this.a&&(this.a=new ni(this,0)),!k8(ya(this.a,(Tr(),p5)));case 5:return!this.a&&(this.a=new ni(this,0)),!k8(ya(this.a,(Tr(),P4)));case 6:return!this.a&&(this.a=new ni(this,0)),!k8(ya(this.a,(Tr(),j4)))}return zu(this,t-ln((Tr(),hw)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t))},h.$h=function(t,r){switch(t){case 0:!this.a&&(this.a=new ni(this,0)),VO(this.a,r);return;case 1:!this.b&&(this.b=new pc((_t(),Do),zs,this,1)),Ij(this.b,r);return;case 2:!this.c&&(this.c=new pc((_t(),Do),zs,this,2)),Ij(this.c,r);return;case 3:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),h5))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,h5),l(r,18));return;case 4:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),p5))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,p5),l(r,18));return;case 5:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),P4))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,P4),l(r,18));return;case 6:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),j4))),!this.a&&(this.a=new ni(this,0)),m3(ya(this.a,j4),l(r,18));return}Xu(this,t-ln((Tr(),hw)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t),r)},h.fi=function(){return Tr(),hw},h.hi=function(t){switch(t){case 0:!this.a&&(this.a=new ni(this,0)),vn(this.a);return;case 1:!this.b&&(this.b=new pc((_t(),Do),zs,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new pc((_t(),Do),zs,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),h5)));return;case 4:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),p5)));return;case 5:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),P4)));return;case 6:!this.a&&(this.a=new ni(this,0)),iS(ya(this.a,(Tr(),j4)));return}Ju(this,t-ln((Tr(),hw)),kt(this.j&2?(!this.k&&(this.k=new bd),this.k).Lk():hw,t))},h.Ib=function(){var t;return this.j&4?Zl(this):(t=new ml(Zl(this)),t.a+=" (mixed: ",h3(t,this.a),t.a+=")",t.a)},k(Ai,"XMLTypeDocumentRootImpl",680),x(2007,717,{110:1,95:1,94:1,472:1,159:1,57:1,115:1,52:1,101:1,162:1,118:1,119:1,2101:1},yVe),h.oi=function(t,r){switch(t.fk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return r==null?null:ms(r);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return In(r);case 6:return Hnn(l(r,198));case 12:case 47:case 49:case 11:return rEt(this,t,r);case 13:return r==null?null:dxn(l(r,249));case 15:case 14:return r==null?null:Qsn(ce(le(r)));case 17:return jbt((Tr(),r));case 18:return jbt(r);case 21:case 20:return r==null?null:ean(l(r,165).a);case 27:return znn(l(r,198));case 30:return Y1t((Tr(),l(r,16)));case 31:return Y1t(l(r,16));case 40:return Unn((Tr(),r));case 42:return Fbt((Tr(),r));case 43:return Fbt(r);case 59:case 48:return Bnn((Tr(),r));default:throw Y(new jt(Dx+t.ve()+W0))}},h.pi=function(t){var r,o,a,u,f;switch(t.G==-1&&(t.G=(o=mu(t),o?gg(o.si(),t):-1)),t.G){case 0:return r=new Hue,r;case 1:return a=new IVe,a;case 2:return u=new tQe,u;case 3:return f=new nQe,f;default:throw Y(new jt(sQ+t.zb+W0))}},h.qi=function(t,r){var o,a,u,f,p,m,y,v,T,N,R,M,U,G,J,re;switch(t.fk()){case 5:case 52:case 4:return r;case 6:return vbn(r);case 8:case 7:return r==null?null:swn(r);case 9:return r==null?null:p6(Eu((a=Ta(r,!0),a.length>0&&(Jt(0,a.length),a.charCodeAt(0)==43)?(Jt(1,a.length+1),a.substr(1)):a),-128,127)<<24>>24);case 10:return r==null?null:p6(Eu((u=Ta(r,!0),u.length>0&&(Jt(0,u.length),u.charCodeAt(0)==43)?(Jt(1,u.length+1),u.substr(1)):u),-128,127)<<24>>24);case 11:return In(P0(this,(Tr(),NLt),r));case 12:return In(P0(this,(Tr(),CLt),r));case 13:return r==null?null:new ule(Ta(r,!0));case 15:case 14:return y2n(r);case 16:return In(P0(this,(Tr(),ILt),r));case 17:return Xgt((Tr(),r));case 18:return Xgt(r);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Ta(r,!0);case 21:case 20:return C2n(r);case 22:return In(P0(this,(Tr(),RLt),r));case 23:return In(P0(this,(Tr(),OLt),r));case 24:return In(P0(this,(Tr(),DLt),r));case 25:return In(P0(this,(Tr(),LLt),r));case 26:return In(P0(this,(Tr(),MLt),r));case 27:return lbn(r);case 30:return Zgt((Tr(),r));case 31:return Zgt(r);case 32:return r==null?null:Oe(Eu((T=Ta(r,!0),T.length>0&&(Jt(0,T.length),T.charCodeAt(0)==43)?(Jt(1,T.length+1),T.substr(1)):T),Zi,ar));case 33:return r==null?null:new s1((N=Ta(r,!0),N.length>0&&(Jt(0,N.length),N.charCodeAt(0)==43)?(Jt(1,N.length+1),N.substr(1)):N));case 34:return r==null?null:Oe(Eu((R=Ta(r,!0),R.length>0&&(Jt(0,R.length),R.charCodeAt(0)==43)?(Jt(1,R.length+1),R.substr(1)):R),Zi,ar));case 36:return r==null?null:yy(QF((M=Ta(r,!0),M.length>0&&(Jt(0,M.length),M.charCodeAt(0)==43)?(Jt(1,M.length+1),M.substr(1)):M)));case 37:return r==null?null:yy(QF((U=Ta(r,!0),U.length>0&&(Jt(0,U.length),U.charCodeAt(0)==43)?(Jt(1,U.length+1),U.substr(1)):U)));case 40:return amn((Tr(),r));case 42:return Qgt((Tr(),r));case 43:return Qgt(r);case 44:return r==null?null:new s1((G=Ta(r,!0),G.length>0&&(Jt(0,G.length),G.charCodeAt(0)==43)?(Jt(1,G.length+1),G.substr(1)):G));case 45:return r==null?null:new s1((J=Ta(r,!0),J.length>0&&(Jt(0,J.length),J.charCodeAt(0)==43)?(Jt(1,J.length+1),J.substr(1)):J));case 46:return Ta(r,!1);case 47:return In(P0(this,(Tr(),PLt),r));case 59:case 48:return smn((Tr(),r));case 49:return In(P0(this,(Tr(),jLt),r));case 50:return r==null?null:D_(Eu((re=Ta(r,!0),re.length>0&&(Jt(0,re.length),re.charCodeAt(0)==43)?(Jt(1,re.length+1),re.substr(1)):re),t$,32767)<<16>>16);case 51:return r==null?null:D_(Eu((f=Ta(r,!0),f.length>0&&(Jt(0,f.length),f.charCodeAt(0)==43)?(Jt(1,f.length+1),f.substr(1)):f),t$,32767)<<16>>16);case 53:return In(P0(this,(Tr(),FLt),r));case 55:return r==null?null:D_(Eu((p=Ta(r,!0),p.length>0&&(Jt(0,p.length),p.charCodeAt(0)==43)?(Jt(1,p.length+1),p.substr(1)):p),t$,32767)<<16>>16);case 56:return r==null?null:D_(Eu((m=Ta(r,!0),m.length>0&&(Jt(0,m.length),m.charCodeAt(0)==43)?(Jt(1,m.length+1),m.substr(1)):m),t$,32767)<<16>>16);case 57:return r==null?null:yy(QF((y=Ta(r,!0),y.length>0&&(Jt(0,y.length),y.charCodeAt(0)==43)?(Jt(1,y.length+1),y.substr(1)):y)));case 58:return r==null?null:yy(QF((v=Ta(r,!0),v.length>0&&(Jt(0,v.length),v.charCodeAt(0)==43)?(Jt(1,v.length+1),v.substr(1)):v)));case 60:return r==null?null:Oe(Eu((o=Ta(r,!0),o.length>0&&(Jt(0,o.length),o.charCodeAt(0)==43)?(Jt(1,o.length+1),o.substr(1)):o),Zi,ar));case 61:return r==null?null:Oe(Eu(Ta(r,!0),Zi,ar));default:throw Y(new jt(Dx+t.ve()+W0))}};var BLt,Y3e,ULt,J3e;k(Ai,"XMLTypeFactoryImpl",2007),x(589,187,{110:1,95:1,94:1,159:1,199:1,57:1,244:1,115:1,52:1,101:1,162:1,187:1,118:1,119:1,687:1,2023:1,589:1},dat),h.N=!1,h.O=!1;var HLt=!1;k(Ai,"XMLTypePackageImpl",589),x(1940,1,{843:1},vVe),h.Ik=function(){return _0e(),XLt},k(Ai,"XMLTypePackageImpl/1",1940),x(1949,1,tr,EVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/10",1949),x(1950,1,tr,SVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/11",1950),x(1951,1,tr,TVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/12",1951),x(1952,1,tr,AVe),h.dk=function(t){return zw(t)},h.ek=function(t){return we(fi,Pe,347,t,7,1)},k(Ai,"XMLTypePackageImpl/13",1952),x(1953,1,tr,_Ve),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/14",1953),x(1954,1,tr,xVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return we(_u,Ly,16,t,0,1)},k(Ai,"XMLTypePackageImpl/15",1954),x(1955,1,tr,kVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return we(_u,Ly,16,t,0,1)},k(Ai,"XMLTypePackageImpl/16",1955),x(1956,1,tr,NVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/17",1956),x(1957,1,tr,CVe),h.dk=function(t){return se(t,165)},h.ek=function(t){return we(Ux,Pe,165,t,0,1)},k(Ai,"XMLTypePackageImpl/18",1957),x(1958,1,tr,RVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/19",1958),x(1941,1,tr,OVe),h.dk=function(t){return se(t,849)},h.ek=function(t){return we(d5,It,849,t,0,1)},k(Ai,"XMLTypePackageImpl/2",1941),x(1959,1,tr,DVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/20",1959),x(1960,1,tr,LVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/21",1960),x(1961,1,tr,MVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/22",1961),x(1962,1,tr,PVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/23",1962),x(1963,1,tr,jVe),h.dk=function(t){return se(t,198)},h.ek=function(t){return we(Ec,Pe,198,t,0,2)},k(Ai,"XMLTypePackageImpl/24",1963),x(1964,1,tr,FVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/25",1964),x(1965,1,tr,$Ve),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/26",1965),x(1966,1,tr,BVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return we(_u,Ly,16,t,0,1)},k(Ai,"XMLTypePackageImpl/27",1966),x(1967,1,tr,UVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return we(_u,Ly,16,t,0,1)},k(Ai,"XMLTypePackageImpl/28",1967),x(1968,1,tr,HVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/29",1968),x(1942,1,tr,zVe),h.dk=function(t){return se(t,678)},h.ek=function(t){return we(kU,It,2098,t,0,1)},k(Ai,"XMLTypePackageImpl/3",1942),x(1969,1,tr,GVe),h.dk=function(t){return se(t,15)},h.ek=function(t){return we(_i,Pe,15,t,0,1)},k(Ai,"XMLTypePackageImpl/30",1969),x(1970,1,tr,qVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/31",1970),x(1971,1,tr,VVe),h.dk=function(t){return se(t,192)},h.ek=function(t){return we(Y0,Pe,192,t,0,1)},k(Ai,"XMLTypePackageImpl/32",1971),x(1972,1,tr,WVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/33",1972),x(1973,1,tr,KVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/34",1973),x(1974,1,tr,YVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/35",1974),x(1975,1,tr,JVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/36",1975),x(1976,1,tr,XVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return we(_u,Ly,16,t,0,1)},k(Ai,"XMLTypePackageImpl/37",1976),x(1977,1,tr,ZVe),h.dk=function(t){return se(t,16)},h.ek=function(t){return we(_u,Ly,16,t,0,1)},k(Ai,"XMLTypePackageImpl/38",1977),x(1978,1,tr,QVe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/39",1978),x(1943,1,tr,eWe),h.dk=function(t){return se(t,679)},h.ek=function(t){return we(f5,It,2099,t,0,1)},k(Ai,"XMLTypePackageImpl/4",1943),x(1979,1,tr,tWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/40",1979),x(1980,1,tr,nWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/41",1980),x(1981,1,tr,rWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/42",1981),x(1982,1,tr,iWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/43",1982),x(1983,1,tr,oWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/44",1983),x(1984,1,tr,sWe),h.dk=function(t){return se(t,193)},h.ek=function(t){return we(J0,Pe,193,t,0,1)},k(Ai,"XMLTypePackageImpl/45",1984),x(1985,1,tr,aWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/46",1985),x(1986,1,tr,cWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/47",1986),x(1987,1,tr,uWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/48",1987),x(1988,1,tr,lWe),h.dk=function(t){return se(t,193)},h.ek=function(t){return we(J0,Pe,193,t,0,1)},k(Ai,"XMLTypePackageImpl/49",1988),x(1944,1,tr,dWe),h.dk=function(t){return se(t,680)},h.ek=function(t){return we(W3e,It,2100,t,0,1)},k(Ai,"XMLTypePackageImpl/5",1944),x(1989,1,tr,fWe),h.dk=function(t){return se(t,192)},h.ek=function(t){return we(Y0,Pe,192,t,0,1)},k(Ai,"XMLTypePackageImpl/50",1989),x(1990,1,tr,hWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/51",1990),x(1991,1,tr,pWe),h.dk=function(t){return se(t,15)},h.ek=function(t){return we(_i,Pe,15,t,0,1)},k(Ai,"XMLTypePackageImpl/52",1991),x(1945,1,tr,gWe),h.dk=function(t){return zi(t)},h.ek=function(t){return we(Je,Pe,2,t,6,1)},k(Ai,"XMLTypePackageImpl/6",1945),x(1946,1,tr,bWe),h.dk=function(t){return se(t,198)},h.ek=function(t){return we(Ec,Pe,198,t,0,2)},k(Ai,"XMLTypePackageImpl/7",1946),x(1947,1,tr,mWe),h.dk=function(t){return Hw(t)},h.ek=function(t){return we(Yr,Pe,476,t,8,1)},k(Ai,"XMLTypePackageImpl/8",1947),x(1948,1,tr,wWe),h.dk=function(t){return se(t,224)},h.ek=function(t){return we(ET,Pe,224,t,0,1)},k(Ai,"XMLTypePackageImpl/9",1948);var mf,Pg,F4,NU,te;x(53,63,vp,Dn),k(Tg,"RegEx/ParseException",53),x(828,1,{},Vce),h._l=function(t){return t<this.j&&uo(this.i,t)==63},h.am=function(){var t,r,o,a,u;if(this.c!=10)throw Y(new Dn(jn((Cn(),W7))));switch(t=this.a,t){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(fr(this),this.c!=0)throw Y(new Dn(jn((Cn(),Sg))));if(this.a==123){u=0,o=0;do{if(fr(this),this.c!=0)throw Y(new Dn(jn((Cn(),Sg))));if((u=Xb(this.a))<0)break;if(o>o*16)throw Y(new Dn(jn((Cn(),RAt))));o=o*16+u}while(!0);if(this.a!=125)throw Y(new Dn(jn((Cn(),OAt))));if(o>Fx)throw Y(new Dn(jn((Cn(),DAt))));t=o}else{if(u=0,this.c!=0||(u=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(o=u,fr(this),this.c!=0||(u=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));o=o*16+u,t=o}break;case 117:if(a=0,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));r=r*16+a,t=r;break;case 118:if(fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,fr(this),this.c!=0||(a=Xb(this.a))<0)throw Y(new Dn(jn((Cn(),Sg))));if(r=r*16+a,r>Fx)throw Y(new Dn(jn((Cn(),"parser.descappe.4"))));t=r;break;case 65:case 90:case 122:throw Y(new Dn(jn((Cn(),LAt))))}return t},h.bm=function(t){var r,o;switch(t){case 100:o=(this.e&32)==32?k1("Nd",!0):(hr(),CU);break;case 68:o=(this.e&32)==32?k1("Nd",!1):(hr(),nCe);break;case 119:o=(this.e&32)==32?k1("IsWord",!0):(hr(),kk);break;case 87:o=(this.e&32)==32?k1("IsWord",!1):(hr(),iCe);break;case 115:o=(this.e&32)==32?k1("IsSpace",!0):(hr(),ZT);break;case 83:o=(this.e&32)==32?k1("IsSpace",!1):(hr(),rCe);break;default:throw Y(new Es((r=t,L_t+r.toString(16))))}return o},h.cm=function(t){var r,o,a,u,f,p,m,y,v,T,N,R;for(this.b=1,fr(this),r=null,this.c==0&&this.a==94?(fr(this),t?T=(hr(),hr(),new bu(5)):(r=(hr(),hr(),new bu(4)),Sa(r,0,Fx),T=new bu(4))):T=(hr(),hr(),new bu(4)),u=!0;(R=this.c)!=1&&!(R==0&&this.a==93&&!u);){if(u=!1,o=this.a,a=!1,R==10)switch(o){case 100:case 68:case 119:case 87:case 115:case 83:Iy(T,this.bm(o)),a=!0;break;case 105:case 73:case 99:case 67:o=this.sm(T,o),o<0&&(a=!0);break;case 112:case 80:if(N=wme(this,o),!N)throw Y(new Dn(jn((Cn(),yQ))));Iy(T,N),a=!0;break;default:o=this.am()}else if(R==20){if(p=KA(this.i,58,this.d),p<0)throw Y(new Dn(jn((Cn(),AEe))));if(m=!0,uo(this.i,this.d)==94&&(++this.d,m=!1),f=yl(this.i,this.d,p),y=bdt(f,m,(this.e&512)==512),!y)throw Y(new Dn(jn((Cn(),xAt))));if(Iy(T,y),a=!0,p+1>=this.j||uo(this.i,p+1)!=93)throw Y(new Dn(jn((Cn(),AEe))));this.d=p+2}if(fr(this),!a)if(this.c!=0||this.a!=45)Sa(T,o,o);else{if(fr(this),(R=this.c)==1)throw Y(new Dn(jn((Cn(),K7))));R==0&&this.a==93?(Sa(T,o,o),Sa(T,45,45)):(v=this.a,R==10&&(v=this.am()),fr(this),Sa(T,o,v))}(this.e&Tl)==Tl&&this.c==0&&this.a==44&&fr(this)}if(this.c==1)throw Y(new Dn(jn((Cn(),K7))));return r&&($C(r,T),T=r),kE(T),PC(T),this.b=0,fr(this),T},h.dm=function(){var t,r,o,a;for(o=this.cm(!1);(a=this.c)!=7;)if(t=this.a,a==0&&(t==45||t==38)||a==4){if(fr(this),this.c!=9)throw Y(new Dn(jn((Cn(),NAt))));if(r=this.cm(!1),a==4)Iy(o,r);else if(t==45)$C(o,r);else if(t==38)Qvt(o,r);else throw Y(new Es("ASSERT"))}else throw Y(new Dn(jn((Cn(),CAt))));return fr(this),o},h.em=function(){var t,r;return t=this.a-48,r=(hr(),hr(),new NW(12,null,t)),!this.g&&(this.g=new D9),O9(this.g,new Nue(t)),fr(this),r},h.fm=function(){return fr(this),hr(),qLt},h.gm=function(){return fr(this),hr(),GLt},h.hm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.im=function(){throw Y(new Dn(jn((Cn(),tl))))},h.jm=function(){return fr(this),Mpn()},h.km=function(){return fr(this),hr(),WLt},h.lm=function(){return fr(this),hr(),YLt},h.mm=function(){var t;if(this.d>=this.j||((t=uo(this.i,this.d++))&65504)!=64)throw Y(new Dn(jn((Cn(),TAt))));return fr(this),hr(),hr(),new dh(0,t-64)},h.nm=function(){return fr(this),d_n()},h.om=function(){return fr(this),hr(),JLt},h.pm=function(){var t;return t=(hr(),hr(),new dh(0,105)),fr(this),t},h.qm=function(){return fr(this),hr(),KLt},h.rm=function(){return fr(this),hr(),VLt},h.sm=function(t,r){return this.am()},h.tm=function(){return fr(this),hr(),eCe},h.um=function(){var t,r,o,a,u;if(this.d+1>=this.j)throw Y(new Dn(jn((Cn(),vAt))));if(a=-1,r=null,t=uo(this.i,this.d),49<=t&&t<=57){if(a=t-48,!this.g&&(this.g=new D9),O9(this.g,new Nue(a)),++this.d,uo(this.i,this.d)!=41)throw Y(new Dn(jn((Cn(),um))));++this.d}else switch(t==63&&--this.d,fr(this),r=X0e(this),r.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw Y(new Dn(jn((Cn(),um))));break;default:throw Y(new Dn(jn((Cn(),EAt))))}if(fr(this),u=N0(this),o=null,u.e==2){if(u.Nm()!=2)throw Y(new Dn(jn((Cn(),SAt))));o=u.Jm(1),u=u.Jm(0)}if(this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),hr(),hr(),new dft(a,r,u,o)},h.vm=function(){return fr(this),hr(),tCe},h.wm=function(){var t;if(fr(this),t=yP(24,N0(this)),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.xm=function(){var t;if(fr(this),t=yP(20,N0(this)),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.ym=function(){var t;if(fr(this),t=yP(22,N0(this)),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.zm=function(){var t,r,o,a,u;for(t=0,o=0,r=-1;this.d<this.j&&(r=uo(this.i,this.d),u=Ame(r),u!=0);)t|=u,++this.d;if(this.d>=this.j)throw Y(new Dn(jn((Cn(),SEe))));if(r==45){for(++this.d;this.d<this.j&&(r=uo(this.i,this.d),u=Ame(r),u!=0);)o|=u,++this.d;if(this.d>=this.j)throw Y(new Dn(jn((Cn(),SEe))))}if(r==58){if(++this.d,fr(this),a=Fst(N0(this),t,o),this.c!=7)throw Y(new Dn(jn((Cn(),um))));fr(this)}else if(r==41)++this.d,fr(this),a=Fst(N0(this),t,o);else throw Y(new Dn(jn((Cn(),yAt))));return a},h.Am=function(){var t;if(fr(this),t=yP(21,N0(this)),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.Bm=function(){var t;if(fr(this),t=yP(23,N0(this)),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.Cm=function(){var t,r;if(fr(this),t=this.f++,r=nW(N0(this),t),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),r},h.Dm=function(){var t;if(fr(this),t=nW(N0(this),0),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.Em=function(t){return fr(this),this.c==5?(fr(this),dP(t,(hr(),hr(),new ay(9,t)))):dP(t,(hr(),hr(),new ay(3,t)))},h.Fm=function(t){var r;return fr(this),r=(hr(),hr(),new b3(2)),this.c==5?(fr(this),em(r,B4),em(r,t)):(em(r,t),em(r,B4)),r},h.Gm=function(t){return fr(this),this.c==5?(fr(this),hr(),hr(),new ay(9,t)):(hr(),hr(),new ay(3,t))},h.a=0,h.b=0,h.c=0,h.d=0,h.e=0,h.f=1,h.g=null,h.j=0,k(Tg,"RegEx/RegexParser",828),x(1927,828,{},rQe),h._l=function(t){return!1},h.am=function(){return n0e(this)},h.bm=function(t){return tx(t)},h.cm=function(t){return WEt(this)},h.dm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.em=function(){throw Y(new Dn(jn((Cn(),tl))))},h.fm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.gm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.hm=function(){return fr(this),tx(67)},h.im=function(){return fr(this),tx(73)},h.jm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.km=function(){throw Y(new Dn(jn((Cn(),tl))))},h.lm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.mm=function(){return fr(this),tx(99)},h.nm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.om=function(){throw Y(new Dn(jn((Cn(),tl))))},h.pm=function(){return fr(this),tx(105)},h.qm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.rm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.sm=function(t,r){return Iy(t,tx(r)),-1},h.tm=function(){return fr(this),hr(),hr(),new dh(0,94)},h.um=function(){throw Y(new Dn(jn((Cn(),tl))))},h.vm=function(){return fr(this),hr(),hr(),new dh(0,36)},h.wm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.xm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.ym=function(){throw Y(new Dn(jn((Cn(),tl))))},h.zm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Am=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Bm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Cm=function(){var t;if(fr(this),t=nW(N0(this),0),this.c!=7)throw Y(new Dn(jn((Cn(),um))));return fr(this),t},h.Dm=function(){throw Y(new Dn(jn((Cn(),tl))))},h.Em=function(t){return fr(this),dP(t,(hr(),hr(),new ay(3,t)))},h.Fm=function(t){var r;return fr(this),r=(hr(),hr(),new b3(2)),em(r,t),em(r,B4),r},h.Gm=function(t){return fr(this),hr(),hr(),new ay(3,t)};var S2=null,_k=null;k(Tg,"RegEx/ParserForXMLSchema",1927),x(122,1,$x,Km),h.Hm=function(t){throw Y(new Es("Not supported."))},h.Im=function(){return-1},h.Jm=function(t){return null},h.Km=function(){return null},h.Lm=function(t){},h.Mm=function(t){},h.Nm=function(){return 0},h.Ib=function(){return this.Om(0)},h.Om=function(t){return this.e==11?".":""},h.e=0;var X3e,xk,$4,zLt,Z3e,Sv=null,CU,Vre=null,Q3e,B4,Wre=null,eCe,tCe,nCe,rCe,iCe,GLt,ZT,qLt,VLt,WLt,KLt,kk,YLt,JLt,kCn=k(Tg,"RegEx/Token",122);x(140,122,{3:1,140:1,122:1},bu),h.Om=function(t){var r,o,a;if(this.e==4)if(this==Q3e)o=".";else if(this==CU)o="\\d";else if(this==kk)o="\\w";else if(this==ZT)o="\\s";else{for(a=new Xp,a.a+="[",r=0;r<this.b.length;r+=2)t&Tl&&r>0&&(a.a+=","),this.b[r]===this.b[r+1]?Wo(a,uD(this.b[r])):(Wo(a,uD(this.b[r])),a.a+="-",Wo(a,uD(this.b[r+1])));a.a+="]",o=a.a}else if(this==nCe)o="\\D";else if(this==iCe)o="\\W";else if(this==rCe)o="\\S";else{for(a=new Xp,a.a+="[^",r=0;r<this.b.length;r+=2)t&Tl&&r>0&&(a.a+=","),this.b[r]===this.b[r+1]?Wo(a,uD(this.b[r])):(Wo(a,uD(this.b[r])),a.a+="-",Wo(a,uD(this.b[r+1])));a.a+="]",o=a.a}return o},h.a=!1,h.c=!1,k(Tg,"RegEx/RangeToken",140),x(587,1,{587:1},Nue),h.a=0,k(Tg,"RegEx/RegexParser/ReferencePosition",587),x(586,1,{3:1,586:1},vet),h.Fb=function(t){var r;return t==null||!se(t,586)?!1:(r=l(t,586),wt(this.b,r.b)&&this.a==r.a)},h.Hb=function(){return lg(this.b+"/"+Yme(this.a))},h.Ib=function(){return this.c.Om(this.a)},h.a=0,k(Tg,"RegEx/RegularExpression",586),x(230,122,$x,dh),h.Im=function(){return this.a},h.Om=function(t){var r,o,a;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:a="\\"+NV(this.a&Ti);break;case 12:a="\\f";break;case 10:a="\\n";break;case 13:a="\\r";break;case 9:a="\\t";break;case 27:a="\\e";break;default:this.a>=Io?(o=(r=this.a>>>0,"0"+r.toString(16)),a="\\v"+yl(o,o.length-6,o.length)):a=""+NV(this.a&Ti)}break;case 8:this==eCe||this==tCe?a=""+NV(this.a&Ti):a="\\"+NV(this.a&Ti);break;default:a=null}return a},h.a=0,k(Tg,"RegEx/Token/CharToken",230),x(323,122,$x,ay),h.Jm=function(t){return this.a},h.Lm=function(t){this.b=t},h.Mm=function(t){this.c=t},h.Nm=function(){return 1},h.Om=function(t){var r;if(this.e==3)if(this.c<0&&this.b<0)r=this.a.Om(t)+"*";else if(this.c==this.b)r=this.a.Om(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)r=this.a.Om(t)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)r=this.a.Om(t)+"{"+this.c+",}";else throw Y(new Es("Token#toString(): CLOSURE "+this.c+ja+this.b));else if(this.c<0&&this.b<0)r=this.a.Om(t)+"*?";else if(this.c==this.b)r=this.a.Om(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)r=this.a.Om(t)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)r=this.a.Om(t)+"{"+this.c+",}?";else throw Y(new Es("Token#toString(): NONGREEDYCLOSURE "+this.c+ja+this.b));return r},h.b=0,h.c=0,k(Tg,"RegEx/Token/ClosureToken",323),x(829,122,$x,che),h.Jm=function(t){return t==0?this.a:this.b},h.Nm=function(){return 2},h.Om=function(t){var r;return this.b.e==3&&this.b.Jm(0)==this.a?r=this.a.Om(t)+"+":this.b.e==9&&this.b.Jm(0)==this.a?r=this.a.Om(t)+"+?":r=this.a.Om(t)+(""+this.b.Om(t)),r},k(Tg,"RegEx/Token/ConcatToken",829),x(1925,122,$x,dft),h.Jm=function(t){if(t==0)return this.d;if(t==1)return this.b;throw Y(new Es("Internal Error: "+t))},h.Nm=function(){return this.b?2:1},h.Om=function(t){var r;return this.c>0?r="(?("+this.c+")":this.a.e==8?r="(?("+this.a+")":r="(?"+this.a,this.b?r+=this.d+"|"+this.b+")":r+=this.d+")",r},h.c=0,k(Tg,"RegEx/Token/ConditionToken",1925),x(1926,122,$x,Fct),h.Jm=function(t){return this.b},h.Nm=function(){return 1},h.Om=function(t){return"(?"+(this.a==0?"":Yme(this.a))+(this.c==0?"":Yme(this.c))+":"+this.b.Om(t)+")"},h.a=0,h.c=0,k(Tg,"RegEx/Token/ModifierToken",1926),x(830,122,$x,mhe),h.Jm=function(t){return this.a},h.Nm=function(){return 1},h.Om=function(t){var r;switch(r=null,this.e){case 6:this.b==0?r="(?:"+this.a.Om(t)+")":r="("+this.a.Om(t)+")";break;case 20:r="(?="+this.a.Om(t)+")";break;case 21:r="(?!"+this.a.Om(t)+")";break;case 22:r="(?<="+this.a.Om(t)+")";break;case 23:r="(?<!"+this.a.Om(t)+")";break;case 24:r="(?>"+this.a.Om(t)+")"}return r},h.b=0,k(Tg,"RegEx/Token/ParenToken",830),x(521,122,{3:1,122:1,521:1},NW),h.Km=function(){return this.b},h.Om=function(t){return this.e==12?"\\"+this.a:r2n(this.b)},h.a=0,k(Tg,"RegEx/Token/StringToken",521),x(469,122,$x,b3),h.Hm=function(t){em(this,t)},h.Jm=function(t){return l(d0(this.a,t),122)},h.Nm=function(){return this.a?this.a.a.c.length:0},h.Om=function(t){var r,o,a,u,f;if(this.e==1){if(this.a.a.c.length==2)r=l(d0(this.a,0),122),o=l(d0(this.a,1),122),o.e==3&&o.Jm(0)==r?u=r.Om(t)+"+":o.e==9&&o.Jm(0)==r?u=r.Om(t)+"+?":u=r.Om(t)+(""+o.Om(t));else{for(f=new Xp,a=0;a<this.a.a.c.length;a++)Wo(f,l(d0(this.a,a),122).Om(t));u=f.a}return u}if(this.a.a.c.length==2&&l(d0(this.a,1),122).e==7)u=l(d0(this.a,0),122).Om(t)+"?";else if(this.a.a.c.length==2&&l(d0(this.a,0),122).e==7)u=l(d0(this.a,1),122).Om(t)+"??";else{for(f=new Xp,Wo(f,l(d0(this.a,0),122).Om(t)),a=1;a<this.a.a.c.length;a++)f.a+="|",Wo(f,l(d0(this.a,a),122).Om(t));u=f.a}return u},k(Tg,"RegEx/Token/UnionToken",469),x(518,1,{596:1},sO),h.Ib=function(){return this.a.b},k(F_t,"XMLTypeUtil/PatternMatcherImpl",518),x(1690,1505,{},yWe);var XLt;k(F_t,"XMLTypeValidator",1690),x(272,1,Eh,Ib),h.Ic=function(t){lo(this,t)},h.Jc=function(){return(this.b-this.a)*this.c<0?tb:new a1(this)},h.a=0,h.b=0,h.c=0;var tb;k(zEe,"ExclusiveRange",272),x(1065,1,vh,vWe),h.Rb=function(t){l(t,15),ktn()},h.Nb=function(t){so(this,t)},h.Pb=function(){return men()},h.Ub=function(){return wen()},h.Wb=function(t){l(t,15),Ctn()},h.Ob=function(){return!1},h.Sb=function(){return!1},h.Tb=function(){return-1},h.Vb=function(){return-1},h.Qb=function(){throw Y(new Jp(U_t))},k(zEe,"ExclusiveRange/1",1065),x(261,1,vh,a1),h.Rb=function(t){l(t,15),Ntn()},h.Nb=function(t){so(this,t)},h.Pb=function(){return ign(this)},h.Ub=function(){return rfn(this)},h.Wb=function(t){l(t,15),Itn()},h.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},h.Sb=function(){return this.b>0},h.Tb=function(){return this.b},h.Vb=function(){return this.b-1},h.Qb=function(){throw Y(new Jp(U_t))},h.a=0,h.b=0,k(zEe,"ExclusiveRange/RangeIterator",261);var al=o_(Y7,"C"),Rn=o_(dI,"I"),cc=o_(cT,"Z"),pw=o_(fI,"J"),Ec=o_(cI,"B"),Ki=o_(uI,"D"),Tv=o_(lI,"F"),T2=o_(hI,"S"),NCn=Hr("org.eclipse.elk.core.labels","ILabelManager"),oCe=Hr(ko,"DiagnosticChain"),sCe=Hr(g_t,"ResourceSet"),aCe=k(ko,"InvocationTargetException",null),ZLt=($9(),wdn),QLt=QLt=q0n;ihn(wQt),bhn("permProps",[[["locale","default"],[H_t,"gecko1_8"]],[["locale","default"],[H_t,"safari"]]]),QLt(null,"elk",null)}).call(this)}).call(this,typeof I5<"u"?I5:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(s,c,d){function g($){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},g($)}function b($,P,j){return Object.defineProperty($,"prototype",{writable:!1}),$}function w($,P){if(!($ instanceof P))throw new TypeError("Cannot call a class as a function")}function E($,P,j){return P=C(P),S($,A()?Reflect.construct(P,j||[],C($).constructor):P.apply($,j))}function S($,P){if(P&&(g(P)=="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _($)}function _($){if($===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function A(){try{var $=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(A=function(){return!!$})()}function C($){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)},C($)}function O($,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(P&&P.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),Object.defineProperty($,"prototype",{writable:!1}),P&&L($,P)}function L($,P){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,z){return j.__proto__=z,j},L($,P)}var D=s("./elk-api.js").default,B=function($){function P(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};w(this,P);var z=Object.assign({},j),ee=!1;try{s.resolve("web-worker"),ee=!0}catch{}if(j.workerUrl)if(ee){var ne=s("web-worker");z.workerFactory=function(he){return new ne(he)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
... Falling back to non-web worker version.`);if(!z.workerFactory){var Q=s("./elk-worker.min.js"),ae=Q.Worker;z.workerFactory=function(he){return new ae(he)}}return E(this,P,[z])}return O(P,$),b(P)}(D);Object.defineProperty(c.exports,"__esModule",{value:!0}),c.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(s,c,d){var g=typeof Worker<"u"?Worker:void 0;c.exports=g},{}]},{},[3])(3)})})(cKt);var uQn=cKt.exports;const lQn=TR(uQn),dQn=new lQn;async function fQn(n,i){try{const s=n.map(b=>({id:b.id,width:pQn(b.type),height:gQn(b.type)})),c=i.map(b=>({id:b.id,sources:[b.source],targets:[b.target]})),d={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"100","elk.spacing.edgeNode":"40","elk.layered.nodePlacement.strategy":"SIMPLE"},children:s,edges:c},g=await dQn.layout(d);return n.map(b=>{var E;const w=(E=g.children)==null?void 0:E.find(S=>S.id===b.id);return w&&w.x!==void 0&&w.y!==void 0?{...b,position:{x:w.x,y:w.y}}:b})}catch{return hQn(n)}}function hQn(n){return n.map((b,w)=>{const E=w%3,S=Math.floor(w/3);return{...b,position:{x:100+E*300,y:100+S*150}}})}function pQn(n){switch(n){case"trigger":return 200;case"condition":return 220;case"action":return 200;case"delay":return 180;case"wait":return 180;default:return 200}}function gQn(n){switch(n){case"trigger":return 80;case"condition":return 100;case"action":return 80;case"delay":return 70;case"wait":return 70;default:return 80}}function bQn(n){return typeof n=="object"&&n!==null&&"delay"in n&&(typeof n.delay=="string"||typeof n.delay=="number"||typeof n.delay=="object"&&n.delay!==null)}const uKt={hours:60*60*1e3,minutes:60*1e3,seconds:1e3,milliseconds:1};function VDe(n){return typeof n=="number"&&Number.isFinite(n)}function mQn(n){const i=n.trim(),s=/^\{\{\s*([\s\S]*?)\s*\}\}$/.exec(i);return s?s[1].trim():i}function wQn(n){if(VDe(n))return String(n);if(typeof n!="string"||n.trim()==="")return null;const i=n.trim(),s=Number(i);return Number.isFinite(s)?String(s):`(${mQn(i)})`}function yQn(n){const i=Object.entries(uKt).flatMap(([w,E])=>{const S=wQn(n[w]);return S?E===1?[S]:[`(${S}) * ${E}`]:[]}),s=i.length>0?i.join(" + "):"0",c=`(${s}) // 3600000`,d=`((${s}) % 3600000) // 60000`,g=`((${s}) % 60000) // 1000`,b=`(${s}) % 1000`;return Object.hasOwn(n,"milliseconds")?`{{ '%02d:%02d:%02d.%03d' | format(${c}, ${d}, ${g}, ${b}) }}`:`{{ '%02d:%02d:%02d' | format(${c}, ${d}, ${g}) }}`}function vQn(n){if(typeof n=="string")return n;if(VDe(n))return String(n);if(typeof n!="object"||n===null)return"";const i=n,s={};let c=!1;for(const d of Object.keys(uKt)){const g=i[d];if(g!==void 0){if(VDe(g)){s[d]=g;continue}if(typeof g=="string"&&g.trim()!==""){const b=Number(g.trim());Number.isFinite(b)?s[d]=b:c=!0;continue}c=!0}}return c?yQn(i):s}function EQn(n){return typeof n=="object"&&n!==null&&("wait_template"in n||"wait_for_trigger"in n)}function SQn(n){return typeof n=="object"&&n!==null&&"choose"in n}function TQn(n){return typeof n=="object"&&n!==null&&"parallel"in n&&Array.isArray(n.parallel)}function AQn(n){return typeof n=="object"&&n!==null&&"if"in n&&Array.isArray(n.if)&&"then"in n&&Array.isArray(n.then)}function _Qn(n){return typeof n=="object"&&n!==null&&(typeof n.service=="string"||typeof n.action=="string")}function xQn(n){return typeof n=="object"&&n!==null&&"condition"in n&&typeof n.condition=="string"}function kQn(n){return typeof n=="object"&&n!==null&&"variables"in n&&typeof n.variables=="object"&&!("service"in n)&&!("action"in n)&&!("delay"in n)&&!("wait_template"in n)&&!("choose"in n)&&!("if"in n)}function NQn(n){return typeof n=="object"&&n!==null&&"set_conversation_response"in n}function CQn(n){return typeof n=="object"&&n!==null&&"stop"in n}function IQn(n){return typeof n=="object"&&n!==null&&"repeat"in n&&typeof n.repeat=="object"&&n.repeat!==null}function RQn(n){return typeof n=="object"&&n!==null&&"event"in n&&typeof n.event=="string"}const N5=["state","numeric_state","template","time","sun","zone","and","or","not","device","trigger"];function WDe(n){return n.map(i=>OQn(i))}function OQn(n){const{condition:i,conditions:s,...c}=n,d=i||"template",g=N5.includes(d)?d:"template",b=Array.isArray(s)?WDe(s):void 0;return{...c,condition:g,conditions:b}}class DQn{async parse(i){const s=[];try{let c=QZn(i);if(Array.isArray(c)){if(c.length===0)return{success:!1,errors:["Empty automation array"],warnings:s,hadMetadata:!1};c=c[0]}if(!c||typeof c!="object")return{success:!1,errors:["Invalid YAML structure"],warnings:s,hadMetadata:!1};const d=this.extractMetadata(c),g=d!==null,b=this.extractUserVariables(c),w=c;if(typeof w!="object"||w===null)return{success:!1,errors:["Invalid YAML content structure"],warnings:s,hadMetadata:g};const E=d?Object.keys(d.nodes):[],S=(d==null?void 0:d.strategy)==="state-machine"||this.detectStateMachineFormat(w),{nodes:_,edges:A}=S?this.parseStateMachineStructure(w,s,E):this.parseAutomationStructure(w,s,E);let C;g&&d?C=this.applyMetadataPositions(_,d):C=await fQn(_,A);const O={mode:w.mode,max:w.max,max_exceeded:w.max_exceeded,initial_state:w.initial_state,hide_entity:w.hide_entity,trace:w.trace},L=U8t.safeParse(O),D=L.success?L.data:U8t.parse({}),B=typeof w.trigger_variables=="object"&&w.trigger_variables!==null&&!Array.isArray(w.trigger_variables)?w.trigger_variables:void 0,$={id:(d==null?void 0:d.graph_id)||aQn(),name:typeof w.alias=="string"?w.alias:"Imported Automation",description:typeof w.description=="string"?w.description:"",nodes:C,edges:A,metadata:D,version:1,userVariables:Object.keys(b).length>0?b:void 0,userTriggerVariables:B&&Object.keys(B).length>0?B:void 0},P=SMe.safeParse($);if(!P.success){const z=P.error.issues.map(ee=>{let ne="";if(ee.path&&ee.path.length>0&&ee.path[0]==="nodes"&&typeof ee.path[1]=="number"){const Q=ee.path[1],ae=$.nodes[Q];ne=`Node index ${Q} (id: ${ae==null?void 0:ae.id}, type: ${ae==null?void 0:ae.type})
Data: ${JSON.stringify(ae==null?void 0:ae.data,null,2)}`}return`Schema path: ${ee.path.join(".")}
Message: ${ee.message}${ne?`
${ne}`:""}`});return console.error("Zod validation error details:",z),{success:!1,errors:z,warnings:s,hadMetadata:g}}const j=ZVt(P.data);return j.valid?{success:!0,graph:P.data,warnings:s,hadMetadata:g}:{success:!1,errors:j.errors,warnings:s,hadMetadata:g}}catch(c){return console.error("YAML parsing error:",c),console.error("YAML string:",i),{success:!1,errors:[c instanceof Error?c.message:"Unknown parsing error"],warnings:s,hadMetadata:!1}}}extractMetadata(i){try{let s;if(typeof i.variables=="object"&&i.variables!==null&&(s=i.variables),s&&typeof s=="object"&&"_cafe_metadata"in s&&typeof s._cafe_metadata=="object"&&s._cafe_metadata!==null){const c=s._cafe_metadata,d=XVt.safeParse(c);if(d.success)return d.data}}catch{}return null}extractUserVariables(i){const s={};if(typeof i.variables=="object"&&i.variables!==null){const c=i.variables;for(const[d,g]of Object.entries(c))d!=="_cafe_metadata"&&(s[d]=g)}return s}detectStateMachineFormat(i){const s=i.actions||i.action;if(!Array.isArray(s))return!1;let c=!1,d=!1;for(const g of s){const b=g;if(b.variables){const w=b.variables;"current_node"in w&&"flow_context"in w&&(c=!0)}if(b.repeat){const E=b.repeat.sequence;if(Array.isArray(E))for(const S of E){const _=S;if(Array.isArray(_.choose)){d=!0;break}}}}return c&&d}parseStateMachineStructure(i,s,c){const d=[],g=[],b=i.actions||i.action;if(!Array.isArray(b))return s.push("No actions found in automation"),{nodes:d,edges:g};let w=null;const E=new Map;for(const z of b){const ee=z;if(ee.variables){const ne=ee.variables;typeof ne.current_node=="string"&&ne.current_node!=="END"&&(w=ne.current_node)}if(ee.repeat){const Q=ee.repeat.sequence;if(Array.isArray(Q))for(const ae of Q){const he=ae;if(Array.isArray(he.choose))for(const pe of he.choose){const ue=this.parseStateMachineChooseBlock(pe);ue&&E.set(ue.nodeId,ue)}}}}const S=/^__parallel_(trigger_\d+|cond_.+__(?:true|false))$/,_=new Map;for(const[z,ee]of E){if(!S.test(z))continue;const ne=this.parseInlineParallelBranches(ee.parallelItems??[],E);ne.length>0&&_.set(z,ne),E.delete(z)}const A=this.resolveParallelFanOuts(E),C=new Set(E.keys()),O=c.filter(z=>!C.has(z));let L=0,D=0;const B=z=>L<O.length?O[L++]:V7t(z,D++),$=i.triggers||i.trigger;if(!$)return s.push("No triggers found in automation"),{nodes:d,edges:g};const P=Array.isArray($)?$:[$],j=this.parseTriggers(P,s,B);d.push(...j);for(const[z,ee]of E)switch(ee.nodeType){case"condition":d.push({id:z,type:"condition",position:{x:0,y:0},data:ee.data});break;case"action":d.push({id:z,type:"action",position:{x:0,y:0},data:ee.data});break;case"delay":d.push({id:z,type:"delay",position:{x:0,y:0},data:ee.data});break;case"wait":d.push({id:z,type:"wait",position:{x:0,y:0},data:ee.data});break;case"set_variables":d.push({id:z,type:"set_variables",position:{x:0,y:0},data:ee.data});break}if(w){const z=this.parseEntryNodeTemplate(w);if(z&&z.size>0)for(let ee=0;ee<j.length;ee++){const ne=z.get(ee);if(ne){const Q=_.get(ne);if(Q)for(const ae of Q)g.push(this.createEdge(j[ee].id,ae));else g.push(this.createEdge(j[ee].id,ne))}}else{const ee=_.get(w);for(const ne of j)if(ee)for(const Q of ee)g.push(this.createEdge(ne.id,Q));else g.push(this.createEdge(ne.id,w))}}for(const[z,ee]of E)g.push(...this.buildTransitionEdges(z,ee,_,A));return{nodes:d,edges:g}}buildTransitionEdges(i,s,c,d){const g=[],b=(w,E)=>{for(const S of c.get(w)??[w])g.push({id:`edge-${i}-${S}`,source:i,target:S,sourceHandle:E})};if(s.trueTarget&&s.trueTarget!=="END"){const w=s.nodeType==="condition"||s.falseTarget;b(s.trueTarget,w?"true":void 0)}s.falseTarget&&s.falseTarget!=="END"&&b(s.falseTarget,"false");for(const w of d.get(i)??[])g.push(this.createEdge(i,w));return g}parseEntryNodeTemplate(i){if(!i.includes("{%")||!i.includes("trigger.idx"))return null;const s=new Map,c=/{%\s*(?:if|elif)\s+trigger\.idx\s*==\s*["'](\d+)["']\s*%}\s*([^{%]+?)(?={%|$)/g,d=i.matchAll(c);for(const b of d){const w=parseInt(b[1],10),E=b[2].trim();s.set(w,E)}const g=i.match(/{%\s*else\s*%}\s*([^{%]+?)(?={%|$)/);if(g&&s.size>0){const b=Math.max(...s.keys());s.set(b+1,g[1].trim())}return s.size>0?s:null}resolveParallelFanOuts(i){const s=new Map,c=new Set;let d=!0;for(;d;){d=!1;for(const[g,b]of[...i]){if(!b.parallelItems||b.parallelItems.length===0||c.has(g))continue;c.add(g),d=!0;const w=this.parseInlineParallelBranches(b.parallelItems,i);w.length>0&&s.set(g,w)}}return s}parseInlineParallelBranches(i,s){const c=[];let d=0;const g=b=>`inline_${b}_${d++}`;for(const b of i){const w=b,E=w.alias,S=E==null?void 0:E.match(/^parallel_branch:(.+)$/);if(S){const A=S[1];c.push(A),Array.isArray(w.sequence)?this.parseInlineActionList(w.sequence,A,s,g):this.parseInlineActionItem(w,A,s,g);continue}if((w.service??w.action)==="system_log.write"){const A=w.data,C=A==null?void 0:A.message;if(C){const O=C.match(/^Node:\s*(.+)$/);O&&c.push(O[1])}}}return c}parseInlineActionList(i,s,c,d){let g=null;for(let b=0;b<i.length;b++){const w=i[b];if(Array.isArray(w.parallel)&&w.alias===void 0){const _=g?c.get(g):void 0;_&&(_.parallelItems=w.parallel);continue}const{nodeId:E}=this.extractCafeNodeId(w.alias),S=b===0?s:E??d(this.inferInlineNodeType(w));if(g){const _=c.get(g);_&&_.nodeType!=="condition"&&(_.trueTarget=S)}this.parseInlineActionItem(w,S,c,d),g=S}}parseInlineActionItem(i,s,c,d){const g=i.alias,{cleanAlias:b}=this.extractCafeNodeId(g),w=b!=null&&b.startsWith("parallel_branch:")?void 0:b;if(i.if&&Array.isArray(i.if)){const E=this.conditionDataFromIfBlock(i,w);let S=null,_=null;const A=i.then;if(A&&A.length>0){const{nodeId:O}=this.extractCafeNodeId(A[0].alias),L=O??d(this.inferInlineNodeType(A[0]));S=L,this.parseInlineActionList(A,L,c,d)}const C=i.else;if(C&&C.length>0){const{nodeId:O}=this.extractCafeNodeId(C[0].alias),L=O??d(this.inferInlineNodeType(C[0]));_=L,this.parseInlineActionList(C,L,c,d)}c.set(s,{nodeId:s,nodeType:"condition",data:E,trueTarget:S,falseTarget:_})}else if(i.service||i.action){const E={};E.service=i.service??i.action,i.target&&(E.target=i.target),i.data&&(E.data=i.data),w&&(E.alias=w),c.set(s,{nodeId:s,nodeType:"action",data:E,trueTarget:null,falseTarget:null})}else if(i.delay!==void 0){const E={delay:i.delay};w&&(E.alias=w),c.set(s,{nodeId:s,nodeType:"delay",data:E,trueTarget:null,falseTarget:null})}else if(i.wait_template!==void 0||i.wait_for_trigger!==void 0){const E={};i.wait_template&&(E.wait_template=i.wait_template),i.wait_for_trigger&&(E.wait_for_trigger=i.wait_for_trigger),i.timeout&&(E.timeout=i.timeout),i.continue_on_timeout!==void 0&&(E.continue_on_timeout=i.continue_on_timeout),w&&(E.alias=w),c.set(s,{nodeId:s,nodeType:"wait",data:E,trueTarget:null,falseTarget:null})}else if(i.variables!==void 0){const E={variables:i.variables};w&&(E.alias=w),i.id&&(E.id=i.id),c.set(s,{nodeId:s,nodeType:"set_variables",data:E,trueTarget:null,falseTarget:null})}}extractCafeNodeId(i){if(!i)return{nodeId:null,cleanAlias:void 0};const s=i.match(/^cafe_node:([^:]+)(?::(.+))?$/);return s?{nodeId:s[1],cleanAlias:s[2]||void 0}:{nodeId:null,cleanAlias:i}}inferInlineNodeType(i){return i.if?"condition":i.delay!==void 0?"delay":i.wait_template!==void 0||i.wait_for_trigger!==void 0?"wait":i.variables!==void 0?"set_variables":"action"}parseStateMachineChooseBlock(i){const s=i.conditions;if(!Array.isArray(s)||s.length===0)return null;const d=s[0].value_template;if(!d)return null;const g=d.match(/current_node\s*==\s*["']([^"']+)["']/);if(!g)return null;const b=g[1],w=i.sequence;if(!Array.isArray(w)||w.length===0)return null;let E="action";const S={};let _=null,A=null,C;for(const O of w){const L=O;if(L.variables){const D=L.variables;if(!("current_node"in D&&Object.keys(D).every(P=>P==="current_node"||P==="flow_context"))){E="set_variables",S.variables=D,L.alias&&(S.alias=L.alias),L.id&&(S.id=L.id);continue}const $=D.current_node;if(typeof $=="string")if($.includes("{%")&&$.includes("%}")){E="condition";const P=$.match(/{%\s*if[^%]*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/),j=$.match(/{%\s*else\s*%}\s*"?([^"'{%]+?)"?(?=\s*{%)/);_=P?P[1]:null,A=j?j[1]:null;const z=$.match(/{%\s*if\s+(.+?)\s*%}/);if(z){const ee=z[1];Object.assign(S,this.parseJinjaCondition(ee))}}else _=$==="END"?null:$}else if(Array.isArray(L.if)){E="condition";const{cleanAlias:D}=this.extractCafeNodeId(typeof L.alias=="string"?L.alias:void 0);Object.assign(S,this.conditionDataFromIfBlock(L,D)),_=this.parseTransitionTarget(L.then),A=this.parseTransitionTarget(L.else)}else L.delay!==void 0?(E="delay",S.delay=L.delay,L.alias&&(S.alias=L.alias)):L.wait_template!==void 0?(E="wait",S.wait_template=L.wait_template,L.timeout&&(S.timeout=L.timeout),L.continue_on_timeout!==void 0&&(S.continue_on_timeout=L.continue_on_timeout),L.alias&&(S.alias=L.alias)):Array.isArray(L.parallel)?C=L.parallel:(L.service||L.action)&&(E="action",S.service=L.service||L.action,L.target&&(S.target=L.target),L.data&&(S.data=L.data),L.alias&&(S.alias=L.alias))}return{nodeId:b,nodeType:E,data:S,trueTarget:_,falseTarget:A,parallelItems:C}}conditionDataFromIfBlock(i,s){const d={...(Array.isArray(i.if)?i.if:[])[0]??{}};return s&&(d.alias=s),d}parseTransitionTarget(i){if(!Array.isArray(i))return null;for(const s of i){const c=s==null?void 0:s.variables,d=c==null?void 0:c.current_node;if(typeof d=="string")return d==="END"?null:d}return null}parseJinjaCondition(i){const s=this.stripOuterParens(i.trim()),c=this.splitTopLevelJinja(s," or ");if(c.length>1)return{condition:"or",conditions:c.map(S=>this.parseJinjaCondition(S))};const d=this.splitTopLevelJinja(s," and ");if(d.length>1)return{condition:"and",conditions:d.map(S=>this.parseJinjaCondition(S))};const g=s.match(/^not\s*\((.*)\)$/s);if(g)return{condition:"not",conditions:this.splitTopLevelJinja(g[1].trim()," and ").map(_=>this.parseJinjaCondition(_))};const b=s.match(/^is_state\s*\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)$/);if(b){const S=b[1],_=b[2];if(S==="sun.sun"){if(_==="above_horizon")return{condition:"sun",after:"sunrise",before:"sunset"};if(_==="below_horizon")return{condition:"sun",after:"sunset",before:"sunrise"}}return{condition:"state",entity_id:S,state:_}}const w=s.match(/^state_attr\s*\(\s*['"]([^'"]+)['"]\s*,\s*['"]([^'"]+)['"]\s*\)\s*==\s*['"]([^'"]*)['"]$/);if(w)return{condition:"state",entity_id:w[1],attribute:w[2],state:w[3]};const E=s.match(/^states\s*\(\s*['"]([^'"]+)['"]\s*\)\s*\|\s*float\s*([<>=]+)\s*(\d+(?:\.\d+)?)$/);if(E){const S=E[1],_=E[2],A=parseFloat(E[3]),C={condition:"numeric_state",entity_id:S};return _.includes(">")&&(C.above=A),_.includes("<")&&(C.below=A),C}return{condition:"template",value_template:`{{ ${s} }}`}}stripOuterParens(i){let s=i.trim();for(;s.startsWith("(")&&s.endsWith(")");){let c=0,d=!0;for(let g=0;g<s.length;g++)if(s[g]==="(")c++;else if(s[g]===")"&&(c--,c===0&&g!==s.length-1)){d=!1;break}if(!d)break;s=s.slice(1,-1).trim()}return s}splitTopLevelJinja(i,s){const c=[];let d=0,g=null,b="",w=0;for(;w<i.length;){const E=i[w];if(g){b+=E,E===g&&i[w-1]!=="\\"&&(g=null),w++;continue}if(E==="'"||E==='"'){g=E,b+=E,w++;continue}if(E==="("){d++,b+=E,w++;continue}if(E===")"){d--,b+=E,w++;continue}if(d===0&&i.slice(w,w+s.length)===s){c.push(b.trim()),b="",w+=s.length;continue}b+=E,w++}return c.push(b.trim()),c}parseAutomationStructure(i,s,c){var ae;const d=[],g=[],b=new Set,w=["set_variables","trigger","condition","action","delay","wait"],E=new Map,S=new Set;for(const he of c){const pe=w.find(ue=>he.startsWith(`${ue}_`));pe&&(E.has(pe)||E.set(pe,[]),E.get(pe).push(he))}const _=new Map;let A=0,C=c.length;const O=he=>{const pe=E.get(he),ue=_.get(he)??0;if(pe&&ue<pe.length){const fe=pe[ue];return _.set(he,ue+1),S.add(fe),fe}for(;A<c.length;){const fe=c[A++];if(!S.has(fe))return S.add(fe),fe}return V7t(he,C++)},L=i.triggers||i.trigger;if(!L)return s.push("No triggers found in automation"),{nodes:d,edges:g};const D=Array.isArray(L)?L:[L],B=this.parseTriggers(D,s,O);d.push(...B);const $=new Map;for(let he=0;he<B.length;he++){const pe=(ae=D[he])==null?void 0:ae.id;typeof pe=="string"&&$.set(B[he].id,pe)}let P=[];const j=i.conditions||i.condition,z=Array.isArray(j)?j:j?[j]:[];if(z.length>0){const he=this.parseConditions(z,s,O);d.push(...he.nodes),g.push(...he.edges);for(const ue of he.nodes)b.add(ue.id);const pe=he.nodes;if(pe.length===1){for(const ue of B)g.push(this.createEdge(ue.id,pe[0].id));P=[pe[0].id]}else{for(const ue of B)g.push(this.createEdge(ue.id,pe[0].id));for(let ue=0;ue<pe.length-1;ue++)g.push(this.createEdge(pe[ue].id,pe[ue+1].id,"true"));P=[pe[pe.length-1].id]}}else P=B.map(he=>he.id);const ee=i.actions||i.action;if(!ee)return s.push("No actions found in automation"),{nodes:d,edges:g};const ne=Array.isArray(ee)?ee:[ee],Q=this.parseActions(ne,{warnings:s,previousNodeIds:P,getNextNodeId:O,conditionNodeIds:b,triggerNodeMap:$});return d.push(...Q.nodes),g.push(...Q.edges),{nodes:d,edges:g}}parseTriggers(i,s,c){return i.filter(d=>typeof d=="object"&&d!==null).map((d,g)=>{const b=c("trigger");try{const w=gN.safeParse(d);return w.success?{id:b,type:"trigger",position:{x:0,y:0},data:w.data}:(s.push(`Trigger ${g} failed schema validation: ${JSON.stringify(w.error.issues)}`),this.createFallbackTriggerNode(b,d))}catch(w){return s.push(`Failed to parse trigger ${g}: ${w}`),this.createFallbackTriggerNode(b,d)}})}createFallbackTriggerNode(i,s){const c=typeof s=="object"&&s!==null?s:{};let d,g={};if(typeof c.trigger=="string"){d=c.trigger;const{platform:b,trigger:w,...E}=c;g=E}else if(typeof c.platform=="string"){d=c.platform;const{platform:b,...w}=c;g=w}else{const b=Object.keys(c).find(w=>!["alias","id","enabled","variables"].includes(w));b&&typeof c[b]=="object"&&c[b]!==null?(d=b,g=c[b]):d="state"}return{id:i,type:"trigger",position:{x:0,y:0},data:{trigger:d,...g}}}parseConditions(i,s,c){const d=[],g=[],b=[];return i.filter(GVn).forEach((w,E)=>{const S=c("condition");try{const _=Ug.safeParse(w);if(!_.success){s.push(`Condition ${E} failed schema validation: ${JSON.stringify(_.error.issues)}`),d.push({id:S,type:"condition",position:{x:0,y:0},data:{condition:"template",alias:"Unknown Condition",value_template:JSON.stringify(w)}});return}const A={id:S,type:"condition",position:{x:0,y:0},data:_.data};d.push(A),b.push(S)}catch(_){s.push(`Failed to parse condition ${E}: ${_}`),d.push({id:S,type:"condition",position:{x:0,y:0},data:{condition:"template",alias:"Unknown Condition",value_template:JSON.stringify(w)}})}}),{nodes:d,edges:g,outputNodeIds:b}}parseActions(i,s){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,triggerNodeMap:w,inheritedEnabled:E}=s,S=[],_=[];let A=d;const C=new Set(b),O=new Set,L=B=>E===!1?!1:B,D=B=>{for(const $ of A){let P;O.has($)?P="false":C.has($)&&(P="true"),_.push(this.createEdge($,B,P))}};return i.forEach((B,$)=>{if(!B||typeof B!="object"){c.push(`Unknown action type (${JSON.stringify(B)}) at index ${$}`);const P=g("unknown");S.push({id:P,type:"action",position:{x:0,y:0},data:{alias:"Unknown Node",service:"unknown.unknown",data:B}}),D(P),A=[P];return}if(xQn(B)){const P=g("condition"),j=B,z=j.condition||"template",ee=N5.includes(z)?z:"template";let ne;try{ne=Ug.parse(j)}catch(ae){c.push(`Inline condition at index ${$} failed schema validation: ${ae instanceof Error?ae.message:JSON.stringify(ae)}`),ne={condition:ee,alias:typeof j.alias=="string"?j.alias:void 0,value_template:JSON.stringify(j)}}ne.enabled=L(ne.enabled);const Q={id:P,type:"condition",position:{x:0,y:0},data:uIe(ne)};S.push(Q),D(P),C.add(P),A=[P]}else if(kQn(B)){const P=g("set_variables"),j=B,z={id:P,type:"set_variables",position:{x:0,y:0},data:{alias:typeof j.alias=="string"?j.alias:void 0,variables:j.variables||{},enabled:L(typeof j.enabled=="boolean"?j.enabled:void 0)}};S.push(z),D(P),A=[P]}else if(bQn(B)){const P=g("delay"),j=B,{alias:z,delay:ee,enabled:ne,...Q}=j,ae={id:P,type:"delay",position:{x:0,y:0},data:{...Q,alias:typeof z=="string"?z:void 0,delay:vQn(ee),enabled:L(typeof ne=="boolean"?ne:void 0)}};S.push(ae),D(P),A=[P]}else if(EQn(B)){const P=g("wait"),j=B,{alias:z,wait_template:ee,wait_for_trigger:ne,timeout:Q,continue_on_timeout:ae,enabled:he,...pe}=j;let ue;(typeof Q=="string"||typeof Q=="object"&&Q!==null)&&(ue=Q);const fe={...pe,alias:typeof z=="string"?z:void 0,timeout:ue,continue_on_timeout:typeof ae=="boolean"?ae:void 0,enabled:L(typeof he=="boolean"?he:void 0)};if(typeof ee=="string")fe.wait_template=ee;else if(Array.isArray(ne)){const ge=[];for(const De of ne){const Se=gN.safeParse(De);Se.success?ge.push(Se.data):c.push(`Failed to parse a trigger inside wait_for_trigger: ${Se.error.message}`)}fe.wait_for_trigger=ge}const K={id:P,type:"wait",position:{x:0,y:0},data:fe};S.push(K),D(P),A=[P]}else if(SQn(B)){const P=this.parseChooseBlock(B,{warnings:c,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,falsePathConditionIds:O,inheritedEnabled:E});S.push(...P.nodes),_.push(...P.edges);for(const j of P.outputNodeIds){const z=P.nodes.find(ee=>ee.id===j);(z==null?void 0:z.type)==="condition"&&(P.falsePathOutputIds.includes(j)?O.add(j):C.add(j))}A=P.outputNodeIds}else if(AQn(B)){const P=B,j=Array.isArray(P.if)?P.if:[],z=Array.isArray(P.then)?P.then:[],ee=Array.isArray(P.else)?P.else:void 0,ne={if:j,then:z,else:ee,alias:typeof P.alias=="string"?P.alias:void 0,enabled:P.enabled},Q=this.parseIfBlock(ne,{warnings:c,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,falsePathConditionIds:O,triggerNodeMap:w,inheritedEnabled:E});S.push(...Q.nodes),_.push(...Q.edges);for(const ae of Q.outputNodeIds){const he=Q.nodes.find(pe=>pe.id===ae);(he==null?void 0:he.type)==="condition"&&(Q.falsePathOutputIds.includes(ae)?O.add(ae):C.add(ae))}Q.unconsumedPreviousIds.length>0?A=Q.unconsumedPreviousIds:A=Q.outputNodeIds}else if(EMe(B)){const P=g("action"),j=B,z=["type","device_id","domain","entity_id","subtype","alias","enabled"],ee={};for(const[Q,ae]of Object.entries(j))!z.includes(Q)&&ae!==void 0&&(ee[Q]=ae);const ne={id:P,type:"action",position:{x:0,y:0},data:{alias:typeof j.alias=="string"?j.alias:void 0,service:`${j.domain}.${j.type}`,target:{device_id:j.device_id},data:{type:j.type,device_id:j.device_id,domain:j.domain,entity_id:j.entity_id,subtype:j.subtype,...ee},enabled:L(typeof j.enabled=="boolean"?j.enabled:void 0)}};S.push(ne),D(P),A=[P]}else if(TQn(B)){const j=B.parallel,z=[...A],ee=[];for(const ne of j)if(Array.isArray(ne)){const Q=this.parseActions(ne,{warnings:c,previousNodeIds:z,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(Q.nodes.length>0){S.push(...Q.nodes),_.push(...Q.edges);const ae=new Set(Q.edges.map(pe=>pe.source)),he=Q.nodes.filter(pe=>!ae.has(pe.id));ee.push(...he.map(pe=>pe.id))}}else if(typeof ne=="object"&&ne!==null){const Q=ne;if("sequence"in Q&&Array.isArray(Q.sequence)){const ae=this.parseActions(Q.sequence,{warnings:c,previousNodeIds:z,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ae.nodes.length>0){S.push(...ae.nodes),_.push(...ae.edges);const he=new Set(ae.edges.map(ue=>ue.source)),pe=ae.nodes.filter(ue=>!he.has(ue.id));ee.push(...pe.map(ue=>ue.id))}}else{const ae=this.parseActions([ne],{warnings:c,previousNodeIds:z,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:E});if(ae.nodes.length>0){S.push(...ae.nodes),_.push(...ae.edges);const he=ae.nodes[ae.nodes.length-1];ee.push(he.id)}}}A=ee.length>0?ee:z}else if(RQn(B)){const P=g("action"),j=B,z={id:P,type:"action",position:{x:0,y:0},data:{alias:typeof j.alias=="string"?j.alias:void 0,event:typeof j.event=="string"?j.event:void 0,event_data:typeof j.event_data=="object"&&j.event_data!==null?j.event_data:void 0,enabled:L(typeof j.enabled=="boolean"?j.enabled:void 0)}};S.push(z),D(P),A=[P]}else if(IQn(B)){const P=B,j=P.repeat,z=Array.isArray(j.sequence)?j.sequence:[],ee=typeof P.alias=="string"?P.alias:void 0,ne=L(typeof P.enabled=="boolean"?P.enabled:void 0);if(Array.isArray(j.while)&&j.while.length>0){const Q=j.while,ae=[];for(let De=0;De<Q.length;De++){const Se=g("condition");let Re;try{Re=Ug.parse(Q[De])}catch{Re={condition:"template",value_template:JSON.stringify(Q[De])}}De===0&&ee&&(Re.alias=ee),Re.enabled=ne;const Ae={id:Se,type:"condition",position:{x:0,y:0},data:Re};ae.push(Ae),S.push(Ae),C.add(Se)}D(ae[0].id);for(let De=0;De<ae.length-1;De++)_.push(this.createEdge(ae[De].id,ae[De+1].id,"true"));const he=ae[ae.length-1].id,pe=this.parseActions(z,{warnings:c,previousNodeIds:[he],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:ne});if(S.push(...pe.nodes),_.push(...pe.edges),pe.nodes.length>0){const De=pe.nodes[0].id,Se=_.find(Re=>Re.source===he&&Re.target===De);Se&&(Se.sourceHandle="true")}const ue=new Set(pe.nodes.map(De=>De.id)),fe=new Set(pe.edges.map(De=>De.source)),K=pe.nodes.filter(De=>!fe.has(De.id)||![...pe.edges].some(Se=>Se.source===De.id&&ue.has(Se.target))),ge=K.length>0?K[K.length-1].id:pe.nodes.length>0?pe.nodes[pe.nodes.length-1].id:he;if(pe.nodes.length>0){const De=this.createEdge(ge,ae[0].id);_.push(De)}A=[ae[0].id],O.add(ae[0].id)}else if(Array.isArray(j.until)&&j.until.length>0||typeof j.until=="string"){const Q=this.parseActions(z,{warnings:c,previousNodeIds:A,getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:ne});S.push(...Q.nodes),_.push(...Q.edges);const ae=Q.nodes.length>0?Q.nodes[0].id:null,he=new Set(Q.nodes.map(Se=>Se.id)),pe=new Set(Q.edges.filter(Se=>he.has(Se.target)).map(Se=>Se.source)),ue=Q.nodes.filter(Se=>!pe.has(Se.id)||!Q.edges.some(Re=>Re.source===Se.id&&he.has(Re.target))),fe=ue.length>0?ue[ue.length-1].id:Q.nodes.length>0?Q.nodes[Q.nodes.length-1].id:null,K=typeof j.until=="string"?[{condition:"template",value_template:j.until}]:j.until,ge=[];for(let Se=0;Se<K.length;Se++){const Re=g("condition");let Ae;try{Ae=Ug.parse(K[Se])}catch{Ae={condition:"template",value_template:JSON.stringify(K[Se])}}Se===0&&ee&&Q.nodes.length===0&&(Ae.alias=ee),Ae.enabled=ne;const xe={id:Re,type:"condition",position:{x:0,y:0},data:Ae};ge.push(xe),S.push(xe),C.add(Re)}if(fe){const Re=Q.nodes.find(Ae=>Ae.id===fe)&&C.has(fe)?"true":void 0;_.push(this.createEdge(fe,ge[0].id,Re))}else D(ge[0].id);for(let Se=0;Se<ge.length-1;Se++)_.push(this.createEdge(ge[Se].id,ge[Se+1].id,"true"));const De=ge[ge.length-1].id;if(ae){const Se=this.createEdge(ge[0].id,ae,"false");_.push(Se)}A=[De]}else if(j.count!==void 0){const Q=j.count,ae=g("set_variables"),he=`_repeat_counter_${ae.replace(/[^a-zA-Z0-9_]/g,"_")}`,pe={id:ae,type:"set_variables",position:{x:0,y:0},data:{alias:ee,variables:{[he]:0},enabled:ne}};S.push(pe),D(ae);const ue=this.parseActions(z,{warnings:c,previousNodeIds:[ae],getNextNodeId:g,conditionNodeIds:C,inheritedEnabled:ne});S.push(...ue.nodes),_.push(...ue.edges);const fe=new Set(ue.nodes.map(Be=>Be.id)),K=new Set(ue.edges.filter(Be=>fe.has(Be.target)).map(Be=>Be.source)),ge=ue.nodes.filter(Be=>!K.has(Be.id)||!ue.edges.some(bt=>bt.source===Be.id&&fe.has(bt.target))),De=ge.length>0?ge[ge.length-1].id:ue.nodes.length>0?ue.nodes[ue.nodes.length-1].id:ae,Se=g("set_variables"),Re={id:Se,type:"set_variables",position:{x:0,y:0},data:{variables:{[he]:`{{ ${he} + 1 }}`},enabled:ne}};if(S.push(Re),ue.nodes.length>0){const bt=ue.nodes.find(Nt=>Nt.id===De)&&C.has(De)?"true":void 0;_.push(this.createEdge(De,Se,bt))}else _.push(this.createEdge(ae,Se));const Ae=g("condition"),xe={id:Ae,type:"condition",position:{x:0,y:0},data:{condition:"template",value_template:`{{ ${he} < ${Q} }}`,enabled:ne}};S.push(xe),C.add(Ae),_.push(this.createEdge(Se,Ae));const We=ue.nodes.length>0?ue.nodes[0].id:Se,ut=this.createEdge(Ae,We,"true");_.push(ut),A=[Ae],O.add(Ae)}else{const Q=g("action"),ae={id:Q,type:"action",position:{x:0,y:0},data:{alias:ee,repeat:j,enabled:ne}};S.push(ae),D(Q),A=[Q]}}else if(_Qn(B)){const P=g("action");try{const j=B,{alias:z,service:ee,action:ne,target:Q,data:ae,data_template:he,response_variable:pe,continue_on_error:ue,enabled:fe,...K}=j,ge={id:P,type:"action",position:{x:0,y:0},data:{...K,alias:typeof z=="string"?z:void 0,service:typeof ee=="string"?ee:typeof ne=="string"?ne:void 0,target:typeof Q=="object"&&Q!==null?Q:void 0,data:typeof ae=="object"&&ae!==null?ae:void 0,data_template:typeof he=="object"&&he!==null?he:void 0,response_variable:typeof pe=="string"?pe:void 0,continue_on_error:typeof ue=="boolean"?ue:void 0,enabled:L(typeof fe=="boolean"?fe:void 0)}};S.push(ge),D(P),A=[P]}catch(j){c.push(`Failed to parse action ${$}: ${j}`),S.push(this.createUnknownNode(P,B))}}else if(NQn(B)){const P=g("action"),j=B,z={id:P,type:"action",position:{x:0,y:0},data:{alias:typeof j.alias=="string"?j.alias:void 0,set_conversation_response:typeof j.set_conversation_response=="string"?j.set_conversation_response:void 0,enabled:L(typeof j.enabled=="boolean"?j.enabled:void 0)}};S.push(z),D(P),A=[P]}else if(CQn(B)){const P=g("action"),j=B,z={id:P,type:"action",position:{x:0,y:0},data:{alias:typeof j.alias=="string"?j.alias:void 0,stop:typeof j.stop=="string"?j.stop:"",...j.error===!0?{error:!0}:{},enabled:L(typeof j.enabled=="boolean"?j.enabled:void 0)}};S.push(z),D(P),A=[P]}else{c.push(`Unknown action type (${JSON.stringify(B)}) at index ${$}`);const P=g("unknown");S.push({id:P,type:"action",position:{x:0,y:0},data:{alias:"Unknown Node",service:"unknown.unknown",data:B}}),D(P),A=[P]}}),{nodes:S,edges:_,terminalNodeIds:A}}parseChooseBlock(i,s){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,inheritedEnabled:E}=s,S=[],_=[],A=[],C=[],O=new Set(b),L=i.enabled,D=E===!1||L===!1?!1:void 0,B=()=>D,P=(Array.isArray(i.choose)?i.choose:[i.choose]).filter(z=>{if(typeof z!="object"||z===null)return!1;const ee=z.conditions;return Array.isArray(ee)?ee.length>0:!!ee});let j=[...d];if(P.forEach((z,ee)=>{const ne=Array.isArray(z.conditions)?z.conditions:[z.conditions],Q=[];for(let pe=0;pe<ne.length;pe++){const ue=ne[pe],fe=g("condition");let K;if(ue&&Array.isArray(ue.conditions)){const ge=ue.condition||"and",De=N5.includes(ge)?ge:"template";K={id:fe,type:"condition",position:{x:0,y:0},data:{alias:pe===0?z.alias:void 0,condition:De,conditions:WDe(ue.conditions),id:ue.id,enabled:B()}}}else{const ge=(ue==null?void 0:ue.condition)||"template",De=N5.includes(ge)?ge:"template",Se={...ue,alias:pe===0?z.alias??(ue==null?void 0:ue.alias):ue==null?void 0:ue.alias,condition:De,enabled:B()};let Re;try{Re=Ug.parse(Se)}catch{Re={alias:pe===0?z.alias:void 0,condition:"template",value_template:JSON.stringify(ue),enabled:B()}}K={id:fe,type:"condition",position:{x:0,y:0},data:Re}}Q.push(K),S.push(K),O.add(fe)}if(Q.length===0)return;const ae=Q[0].id,he=Q[Q.length-1].id;for(const pe of j){let ue;ee>0&&O.has(pe)&&!b.has(pe)||w.has(pe)?ue="false":b.has(pe)&&(ue="true"),_.push(this.createEdge(pe,ae,ue))}for(let pe=0;pe<Q.length-1;pe++)_.push(this.createEdge(Q[pe].id,Q[pe+1].id,"true"));if(z.sequence){const pe=Array.isArray(z.sequence)?z.sequence:[z.sequence],ue=this.parseActions(pe,{warnings:c,previousNodeIds:[he],getNextNodeId:g,conditionNodeIds:O,inheritedEnabled:D});if(S.push(...ue.nodes),_.push(...ue.edges),ue.nodes.length>0){const fe=ue.nodes[0].id,K=_.find(De=>De.source===he&&De.target===fe);K&&(K.sourceHandle="true");const ge=ue.nodes[ue.nodes.length-1].id;A.push(ge)}else A.push(he)}else A.push(he);j=[ae]}),i.default){const z=Array.isArray(i.default)?i.default:[i.default],ee=this.parseActions(z,{warnings:c,previousNodeIds:j,getNextNodeId:g,conditionNodeIds:O,inheritedEnabled:D});if(S.push(...ee.nodes),_.push(...ee.edges),j.length>0&&ee.nodes.length>0){const ne=j[0],Q=ee.nodes[0].id,ae=_.find(pe=>pe.source===ne&&pe.target===Q);ae&&O.has(ne)&&(ae.sourceHandle="false");const he=ee.nodes[ee.nodes.length-1].id;A.push(he)}}else if(P.length>0){const z=j[0];A.push(z),C.push(z)}return{nodes:S,edges:_,outputNodeIds:A,falsePathOutputIds:C}}parseIfBlock(i,s){const{warnings:c,previousNodeIds:d,getNextNodeId:g,conditionNodeIds:b=new Set,falsePathConditionIds:w=new Set,triggerNodeMap:E,inheritedEnabled:S}=s,_=[],A=[],C=[],O=[],L=new Set(b),D=S===!1||i.enabled===!1?!1:void 0,B=()=>D,$=Array.isArray(i.if)?i.if:[i.if],P=[];for(let Q=0;Q<$.length;Q++){const ae=$[Q],he=g("condition");let pe;if(ae&&Array.isArray(ae.conditions)){const ue=ae.condition||"and",fe=N5.includes(ue)?ue:"template";pe={id:he,type:"condition",position:{x:0,y:0},data:uIe({alias:Q===0?i.alias:void 0,condition:fe,conditions:WDe(ae.conditions),enabled:B()})}}else{const ue=(ae==null?void 0:ae.condition)||"numeric_state",fe=N5.includes(ue)?ue:"template",K={...ae,alias:Q===0?i.alias??(ae==null?void 0:ae.alias):ae==null?void 0:ae.alias,condition:fe,enabled:B()};let ge;try{ge=Ug.parse(K)}catch{ge={alias:Q===0?i.alias:void 0,condition:"template",value_template:JSON.stringify(ae),enabled:B()}}pe={id:he,type:"condition",position:{x:0,y:0},data:uIe(ge)}}P.push(pe),_.push(pe),L.add(he)}const j=P[0].id,z=(()=>{if(i.else||$.length!==1)return null;const Q=$[0];if((Q==null?void 0:Q.condition)!=="trigger")return null;const ae=Q==null?void 0:Q.id;return typeof ae=="string"?[ae]:Array.isArray(ae)&&ae.length>0&&ae.every(he=>typeof he=="string")?ae:null})();for(const Q of d){if(z!==null&&E){const he=E.get(Q);if(he!==void 0&&!z.includes(he))continue}let ae;w.has(Q)?ae="false":L.has(Q)&&(ae="true"),A.push(this.createEdge(Q,j,ae))}for(let Q=0;Q<P.length-1;Q++)A.push(this.createEdge(P[Q].id,P[Q+1].id,"true"));const ee=P[P.length-1].id;if(i.then){const Q=Array.isArray(i.then)?i.then:[i.then],ae=this.parseActions(Q,{warnings:c,previousNodeIds:[ee],getNextNodeId:g,conditionNodeIds:L,inheritedEnabled:D});if(_.push(...ae.nodes),A.push(...ae.edges),ae.nodes.length>0){const he=ae.nodes[0].id,pe=A.find(ue=>ue.source===ee&&ue.target===he);pe&&(pe.sourceHandle="true")}C.push(...ae.terminalNodeIds)}if(i.else){const Q=Array.isArray(i.else)?i.else:[i.else],ae=this.parseActions(Q,{warnings:c,previousNodeIds:[j],getNextNodeId:g,conditionNodeIds:new Set,inheritedEnabled:D});if(_.push(...ae.nodes),ae.nodes.length>0){const he=ae.nodes[0].id,pe=ae.edges.findIndex(ue=>ue.source===j&&ue.target===he);pe>=0&&ae.edges.splice(pe,1),A.push(this.createEdge(j,he,"false"))}A.push(...ae.edges),C.push(...ae.terminalNodeIds)}else if(z===null)for(const Q of P)C.push(Q.id),O.push(Q.id);C.length===0&&z===null&&(C.push(ee),O.push(ee));const ne=z!==null&&E?d.filter(Q=>{const ae=E.get(Q);return ae===void 0||!z.includes(ae)}):[];return{nodes:_,edges:A,outputNodeIds:C,falsePathOutputIds:O,unconsumedPreviousIds:ne}}createUnknownNode(i,s){const c=s;return{id:i,type:"action",position:{x:0,y:0},data:{alias:`Unknown: ${(c==null?void 0:c.service)||(c==null?void 0:c.trigger)||"Node"}`,service:(c==null?void 0:c.service)||"unknown.unknown",data:c}}}applyMetadataPositions(i,s){return i.map(c=>({...c,position:s.nodes[c.id]||c.position}))}createEdge(i,s,c){return{id:cQn(i,s),source:i,target:s,sourceHandle:c||void 0}}}class lKt{findEntryNodes(i){const s=new Set(i.edges.map(c=>c.target));return i.nodes.filter(c=>!s.has(c.id)).map(c=>c.id)}getOutgoingEdges(i,s){return i.edges.filter(c=>c.source===s)}getIncomingEdges(i,s){return i.edges.filter(c=>c.target===s)}getNode(i,s){return i.nodes.find(c=>c.id===s)}buildTrigger(i){const s={...i.data};return(s.trigger==="device"||s.platform==="device")&&Array.isArray(s.entity_id)&&s.entity_id.length===1&&(s.entity_id=s.entity_id[0]),Object.fromEntries(Object.entries(s).filter(([,d])=>d!==void 0&&d!==""&&d!==null))}}class LQn extends lKt{constructor(){super(...arguments);Zf(this,"name","native");Zf(this,"description","Generates nested HA YAML for simple tree-shaped automations");Zf(this,"repeatPatterns",new Map);Zf(this,"repeatInternalNodeIds",new Set);Zf(this,"backEdgeIds",new Set)}canHandle(s){return s.isTree}generate(s,c){var L,D,B,$,P;const d=[];this.backEdgeIds=jWt(s),this.repeatPatterns=this.detectRepeatPatterns(s),this.repeatInternalNodeIds=new Set;for(const j of this.repeatPatterns.values()){for(const z of j.bodyNodeIds)this.repeatInternalNodeIds.add(z);for(const z of j.conditionNodeIds)this.repeatInternalNodeIds.add(z);j.initNodeId&&this.repeatInternalNodeIds.add(j.initNodeId),j.incrementNodeId&&this.repeatInternalNodeIds.add(j.incrementNodeId)}const g=this.extractTriggers(s),w=c.entryNodes.flatMap(j=>this.getOutgoingEdges(s,j).map(ee=>ee.target)),E=[...new Set(w)];let S=null,_=[],A=null;if(E.length===1){const j=this.extractLeadingConditions(s,E[0]);j.conditions.length>0&&(S=j.conditions,_=j.nextNodeIds,A=j.visitedIds)}let C;if(S)_.length>0?C=_.flatMap(j=>this.buildSequenceFromNode(s,j,new Set(A))):C=[];else if(E.length===1)C=this.buildSequenceFromNode(s,E[0],new Set);else if(E.length>1){const j=this.detectOrPattern(s,E);if(j){const z=j.conditions.map(Q=>this.buildCondition(Q)),ee=new Set(j.conditions.map(Q=>Q.id)),ne=this.buildSequenceFromNode(s,j.convergenceNode,ee);C=[{if:[{condition:"or",conditions:z}],then:ne,else:j.isFromFalsePaths?[]:[]}]}else E.every(ee=>{var Q;const ne=s.nodes.find(ae=>ae.id===ee);return(ne==null?void 0:ne.type)==="condition"&&((Q=ne.data)==null?void 0:Q.condition)==="trigger"})?C=E.flatMap(ee=>this.buildSequenceFromNode(s,ee,new Set)):C=[{parallel:E.map(Q=>this.buildSequenceFromNode(s,Q,new Set)).filter(Q=>Q.length>0).map(Q=>Q.length===1?Q[0]:Q)}]}else C=[],d.push("No actions found after trigger nodes");const O={alias:s.name,description:s.description||"",triggers:g};return S&&S.length>0&&(O.conditions=S),O.actions=C,O.mode=((L=s.metadata)==null?void 0:L.mode)??"single",(D=s.metadata)!=null&&D.max&&(O.max=s.metadata.max),(B=s.metadata)!=null&&B.max_exceeded&&(O.max_exceeded=s.metadata.max_exceeded),(($=s.metadata)==null?void 0:$.initial_state)===!1&&(O.initial_state=!1),(P=s.metadata)!=null&&P.trace&&(O.trace=s.metadata.trace),s.userTriggerVariables&&Object.keys(s.userTriggerVariables).length>0&&(O.trigger_variables=s.userTriggerVariables),{automation:O,warnings:d,strategy:this.name}}detectRepeatPatterns(s){const c=new Map;for(const d of s.edges){if(!this.backEdgeIds.has(d.id))continue;const g=this.getNode(s,d.source),b=this.getNode(s,d.target);if(!(!g||!b)){if(b.type==="condition"&&g.type!=="condition"){const w=d.target,E=d.source,S=[];let _=w;for(;_;){const L=this.getNode(s,_);if((L==null?void 0:L.type)!=="condition")break;S.push(_);const D=s.edges.find($=>$.source===_&&$.sourceHandle==="true"&&!this.backEdgeIds.has($.id));if(!D)break;const B=this.getNode(s,D.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(D.target)===-1)_=D.target;else break}const A=S[S.length-1],C=this.collectBodyNodes(s,A,"true",new Set(S),E),O=s.edges.find(L=>L.source===w&&L.sourceHandle==="false"&&!this.backEdgeIds.has(L.id));c.set(w,{type:"while",entryNodeId:w,conditionNodeIds:S,bodyNodeIds:C,backEdgeSourceId:E,exitNodeId:(O==null?void 0:O.target)??null})}else if(g.type==="condition"&&d.sourceHandle==="false"){const w=d.target,E=d.source,S=[];let _=E;for(;_;){const L=this.getNode(s,_);if((L==null?void 0:L.type)!=="condition")break;S.push(_);const D=s.edges.find($=>$.source===_&&$.sourceHandle==="true"&&!this.backEdgeIds.has($.id));if(!D)break;const B=this.getNode(s,D.target);if((B==null?void 0:B.type)==="condition"&&S.indexOf(D.target)===-1)_=D.target;else break}const A=this.collectNodesUntil(s,w,new Set(S)),C=S[S.length-1],O=s.edges.find(L=>L.source===C&&L.sourceHandle==="true"&&!this.backEdgeIds.has(L.id));c.set(w,{type:"until",entryNodeId:w,conditionNodeIds:S,bodyNodeIds:A,backEdgeSourceId:E,exitNodeId:(O==null?void 0:O.target)??null})}else if(g.type==="condition"&&d.sourceHandle==="true"){const w=d.target,E=d.source,S=[E],_=s.edges.filter(z=>z.target===E&&!this.backEdgeIds.has(z.id)),A=_.length>0?_[0].source:void 0,C=new Set([E]);A&&C.add(A);const O=this.collectNodesUntil(s,w,C),D=s.edges.filter(z=>z.target===w&&!this.backEdgeIds.has(z.id)).map(z=>z.source).find(z=>{const ee=this.getNode(s,z);return(ee==null?void 0:ee.type)==="set_variables"}),B=this.getNode(s,E);let $;if((B==null?void 0:B.type)==="condition"&&B.data.condition==="template"){const z=B.data.value_template;if(typeof z=="string"){const ee=z.match(/<\s*(\d+)\s*\}\}/);ee&&($=Number.parseInt(ee[1],10))}}const P=s.edges.find(z=>z.source===E&&z.sourceHandle==="false"&&!this.backEdgeIds.has(z.id)),j=D??w;c.set(j,{type:"count",entryNodeId:j,conditionNodeIds:S,bodyNodeIds:O,backEdgeSourceId:E,initNodeId:D,incrementNodeId:A,count:$,exitNodeId:(P==null?void 0:P.target)??null})}}}return c}collectBodyNodes(s,c,d,g,b){const w=s.edges.find(A=>A.source===c&&A.sourceHandle===d&&!this.backEdgeIds.has(A.id));if(!w)return[];const E=[],S=[w.target],_=new Set;for(;S.length>0;){const A=S.shift();if(_.has(A)||g.has(A)||(_.add(A),E.push(A),A===b))continue;const C=s.edges.filter(O=>O.source===A&&!this.backEdgeIds.has(O.id));for(const O of C)!_.has(O.target)&&!g.has(O.target)&&S.push(O.target)}return E}collectNodesUntil(s,c,d){const g=[],b=[c],w=new Set;for(;b.length>0;){const E=b.shift();if(w.has(E)||d.has(E))continue;w.add(E),g.push(E);const S=s.edges.filter(_=>_.source===E&&!this.backEdgeIds.has(_.id));for(const _ of S)!w.has(_.target)&&!d.has(_.target)&&b.push(_.target)}return g}buildRepeatBlock(s,c,d){for(const w of c.conditionNodeIds)d.add(w);for(const w of c.bodyNodeIds)d.add(w);c.initNodeId&&d.add(c.initNodeId),c.incrementNodeId&&d.add(c.incrementNodeId),d.add(c.entryNodeId);const g=[];for(const w of c.bodyNodeIds){const E=this.getNode(s,w);if(E)if(E.type==="condition"){const S=s.edges.filter(C=>C.source===w&&!this.backEdgeIds.has(C.id)),_=S.find(C=>C.sourceHandle==="true"),A=S.find(C=>C.sourceHandle==="false");if(_||A){const C={if:[this.buildCondition(E)],then:[],else:[]};_&&c.bodyNodeIds.includes(_.target)&&(C.then=this.buildBodySubsequence(s,_.target,c,d)),A&&c.bodyNodeIds.includes(A.target)&&(C.else=this.buildBodySubsequence(s,A.target,c,d)),g.push(C)}else g.push(this.buildCondition(E))}else{const S=this.buildNodeAction(E);S&&g.push(S)}}let b;if(c.type==="while"){const E={repeat:{while:c.conditionNodeIds.map(S=>{var A;const _=this.getNode(s,S);return!b&&((A=_==null?void 0:_.data)!=null&&A.alias)&&(b=_.data.alias),this.buildCondition(_)}),sequence:g}};return b&&(E.alias=b),E}if(c.type==="until"){const E={repeat:{until:c.conditionNodeIds.map(S=>{const _=this.getNode(s,S);return this.buildCondition(_)}),sequence:g}};return b&&(E.alias=b),E}if(c.type==="count"){if(c.initNodeId){const E=this.getNode(s,c.initNodeId);E!=null&&E.data&&"alias"in E.data&&(b=E.data.alias)}const w={repeat:{count:c.count,sequence:g}};return b&&(w.alias=b),w}return null}buildBodySubsequence(s,c,d,g){const b=[];let w=c;for(;w&&d.bodyNodeIds.includes(w)&&!g.has(w);){g.add(w);const E=this.getNode(s,w);if(!E)break;const S=this.buildNodeAction(E);S&&b.push(S);const _=s.edges.filter(A=>A.source===w&&!this.backEdgeIds.has(A.id));w=_.length===1?_[0].target:null}return b}extractTriggers(s){return s.nodes.filter(c=>c.type==="trigger").map(c=>this.buildTrigger(c))}detectOrPattern(s,c){const d=c.map(w=>this.getNode(s,w));if(!d.every(w=>(w==null?void 0:w.type)==="condition"))return null;const g=new Set;for(const w of d){const E=s.edges.find(S=>S.source===w.id&&S.sourceHandle==="true");E&&g.add(E.target)}if(g.size===1&&d.length===c.length){const w=[...g][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!1}}const b=new Set;for(const w of d){const E=s.edges.find(S=>S.source===w.id&&S.sourceHandle==="false");E&&b.add(E.target)}if(b.size===1&&d.length===c.length){const w=[...b][0];return{conditions:d,convergenceNode:w,isFromFalsePaths:!0}}return null}extractLeadingConditions(s,c){const d=[],g=new Set;let b=c;for(;b;){const w=this.getNode(s,b);if(!w||w.type!=="condition"||this.repeatPatterns.has(b)||this.repeatInternalNodeIds.has(b)||qUn(w.data))break;const S=this.getOutgoingEdges(s,b).filter(O=>!this.backEdgeIds.has(O.id)),_=S.filter(O=>O.sourceHandle==="true"),A=S.filter(O=>O.sourceHandle==="false");if(_.length>0&&A.length>0||_.length===0&&A.length===0)break;const C=this.buildCondition(w);if(w.data.alias&&(C.alias=w.data.alias),A.length>0){if(d.push({condition:"not",conditions:[C]}),g.add(b),A.length>1)return{conditions:d,nextNodeIds:A.map(O=>O.target),visitedIds:g};b=A[0].target}else{if(d.push(C),g.add(b),_.length>1)return{conditions:d,nextNodeIds:_.map(O=>O.target),visitedIds:g};b=_[0].target}}return{conditions:d,nextNodeIds:b?[b]:[],visitedIds:g}}findOrConditionSources(s,c,d,g){const b=s.edges.filter(w=>w.target===c&&w.sourceHandle===d&&!this.backEdgeIds.has(w.id)).map(w=>this.getNode(s,w.source)).filter(w=>(w==null?void 0:w.type)==="condition"&&!g.has(w.id));return b.length>1?b:[]}buildSequenceFromNode(s,c,d){if(d.has(c))return[];const g=this.getNode(s,c);if(!g)return[];const b=[],w=this.findOrConditionSources(s,c,"true",d),E=this.findOrConditionSources(s,c,"false",d);if(w.length>1){const A=w.map(L=>this.buildCondition(L));for(const L of w)d.add(L.id);d.add(c);const C=g.type==="condition"?this.buildSequenceFromNode(s,c,new Set):this.buildSequenceFromNode(s,c,new Set(d));let O;if(g.type!=="condition"){const L=this.buildNodeAction(g);O=L?[L,...C]:C}else O=C;return b.push({if:[{condition:"or",conditions:A}],then:O,else:[]}),b}if(E.length>1){const A=E.map(L=>this.buildCondition(L));for(const L of E)d.add(L.id);d.add(c);const C=g.type==="condition"?this.buildSequenceFromNode(s,c,new Set):this.buildSequenceFromNode(s,c,new Set(d));let O;if(g.type!=="condition"){const L=this.buildNodeAction(g);O=L?[L,...C]:C}else O=C;return b.push({if:[{condition:"or",conditions:A}],then:[],else:O}),b}const S=this.repeatPatterns.get(c);if(S){const A=this.buildRepeatBlock(s,S,d);if(A){if(b.push(A),S.exitNodeId){const C=this.buildSequenceFromNode(s,S.exitNodeId,new Set(d));b.push(...C)}return b}}d.add(c);const _=this.getOutgoingEdges(s,c).filter(A=>!this.backEdgeIds.has(A.id));if(g.type==="condition"){const A=[];let C=g,O=[],L=[];for(L=this.getOutgoingEdges(s,g.id).filter(j=>j.sourceHandle==="false"&&!this.backEdgeIds.has(j.id)).map(j=>j.target);(C==null?void 0:C.type)==="condition";){A.push(this.buildCondition(C));const j=this.getOutgoingEdges(s,C.id).filter(ne=>ne.sourceHandle==="true"&&!this.backEdgeIds.has(ne.id));if(j.length===0)break;if(j.length>1){O=j.map(ne=>ne.target);break}const z=j[0],ee=this.getNode(s,z.target);if((ee==null?void 0:ee.type)==="condition"&&!d.has(ee.id)&&!this.repeatPatterns.has(ee.id)&&!this.repeatInternalNodeIds.has(ee.id)){const ne=this.getOutgoingEdges(s,ee.id).filter(ae=>ae.sourceHandle==="false"&&!this.backEdgeIds.has(ae.id));if(ne.length===0||ne.length===1&&L.includes(ne[0].target))C=ee,d.add(C.id);else{O=[z.target];break}}else{O=[z.target];break}}const B={alias:g.data.alias,if:A,then:[],else:[]},$=[...O,...L],P=O.length>0&&L.length>0?this.findConvergencePoint(s,$):null;if(P){if(O.length>0){const z=O.flatMap(ee=>this.buildSequenceUntilNode(s,ee,P,new Set(d)));B.then=z}if(L.length>0){const z=L.flatMap(ee=>this.buildSequenceUntilNode(s,ee,P,new Set(d)));B.else=z}b.push(B);const j=this.buildSequenceFromNode(s,P,new Set(d));b.push(...j)}else{if(O.length>0){const j=O.flatMap(z=>this.buildSequenceFromNode(s,z,new Set(d)));B.then=j}if(L.length>0){const j=L.flatMap(z=>this.buildSequenceFromNode(s,z,new Set(d)));B.else=j}b.push(B)}}else{const A=this.buildNodeAction(g);if(A&&b.push(A),_.length===1){const C=this.buildSequenceFromNode(s,_[0].target,new Set(d));b.push(...C)}else if(_.length>1){const C=this.findConvergencePoint(s,_.map(O=>O.target));if(C){const L=_.map(B=>this.buildSequenceUntilNode(s,B.target,C,new Set(d))).filter(B=>B.length>0);if(L.length>0){const B=L.map($=>$.length===1?$[0]:$);b.push({parallel:B})}const D=this.buildSequenceFromNode(s,C,new Set(d));b.push(...D)}else{const L=_.map(D=>this.buildSequenceFromNode(s,D.target,new Set(d))).filter(D=>D.length>0);if(L.length>0){const D=L.map(B=>B.length===1?B[0]:B);b.push({parallel:D})}}}}return b}findConvergencePoint(s,c){if(c.length<2)return null;const d=c.map(S=>{const _=new Set,A=[S];for(;A.length>0;){const C=A.shift();if(_.has(C))continue;_.add(C);const O=this.getOutgoingEdges(s,C);for(const L of O)A.push(L.target)}return _}),b=[...d[0]].filter(S=>d.every(_=>_.has(S)));if(b.length===0)return null;let w=null,E=Number.POSITIVE_INFINITY;for(const S of b){const _=c.map(C=>this.getShortestDistance(s,C,S)),A=Math.max(..._);A<E&&(E=A,w=S)}return w}getShortestDistance(s,c,d){if(c===d)return 0;const g=new Set,b=[{nodeId:c,distance:0}];for(;b.length>0;){const{nodeId:w,distance:E}=b.shift();if(g.has(w))continue;g.add(w);const S=this.getOutgoingEdges(s,w);for(const _ of S){if(_.target===d)return E+1;g.has(_.target)||b.push({nodeId:_.target,distance:E+1})}}return Number.POSITIVE_INFINITY}buildSequenceUntilNode(s,c,d,g){if(c===d)return[];if(g.has(c))return[];g.add(c);const b=this.getNode(s,c);if(!b)return[];const w=[],E=this.buildNodeAction(b);E&&w.push(E);const S=this.getOutgoingEdges(s,c).filter(_=>!this.backEdgeIds.has(_.id));if(b.type==="condition"){const _=E,A=S.filter(O=>O.sourceHandle==="true"),C=S.filter(O=>O.sourceHandle==="false");if(A.length>0){const O=A.flatMap(L=>this.buildSequenceUntilNode(s,L.target,d,new Set(g)));_.then=O}if(C.length>0){const O=C.flatMap(L=>this.buildSequenceUntilNode(s,L.target,d,new Set(g)));_.else=O}}else if(S.length===1){if(S[0].target!==d){const _=this.buildSequenceUntilNode(s,S[0].target,d,new Set(g));w.push(..._)}}else if(S.length>1){const A=S.map(C=>this.buildSequenceUntilNode(s,C.target,d,new Set(g))).filter(C=>C.length>0);if(A.length>0){const C=A.map(O=>O.length===1?O[0]:O);w.push({parallel:C})}}return w}buildNodeAction(s){switch(s.type){case"trigger":return null;case"condition":return this.buildConditionChoose(s);case"action":return this.buildActionCall(s);case"delay":return this.buildDelay(s);case"wait":return this.buildWait(s);case"set_variables":return this.buildSetVariables(s);default:return null}}buildConditionChoose(s){const c=this.buildCondition(s);return{alias:s.data.alias,if:[c],then:[],else:[]}}mapSingleCondition(s){const{condition:c,conditions:d,alias:g,template:b,...w}=m8t(s),E={condition:c,...w};return c==="template"&&!w.value_template&&b&&(E.value_template=b),Array.isArray(d)&&d.length>0&&(E.conditions=d.map(S=>this.mapSingleCondition(S)).filter(S=>S&&(!Array.isArray(S.conditions)||S.conditions.length>0))),Object.fromEntries(Object.entries(E).filter(([,S])=>S!==void 0&&S!==""))}buildCondition(s){function c(d){if(!d||typeof d!="object")return d;const{condition:g,conditions:b,alias:w,template:E,...S}=m8t(d),_={condition:g,...S};return g==="template"&&!S.value_template&&E&&(_.value_template=E),Array.isArray(b)&&b.length>0&&(_.conditions=b.map(c).filter(A=>A&&(!Array.isArray(A.conditions)||A.conditions.length>0))),Object.fromEntries(Object.entries(_).filter(([,A])=>A!==void 0&&A!==""))}return c(s.data)}buildActionCall(s){if(EMe(s.data.data)){const D=s.data.data,B={device_id:D.device_id,domain:D.domain,type:D.type};s.data.alias&&(B.alias=s.data.alias),D.entity_id&&(B.entity_id=D.entity_id),D.subtype&&(B.subtype=D.subtype);const $=["type","device_id","domain","entity_id","subtype"];for(const[P,j]of Object.entries(D))!$.includes(P)&&j!==void 0&&(B[P]=j);return s.data.enabled===!1&&(B.enabled=!1),B}if(s.data.repeat){const D=s.data.repeat,B={repeat:{...D.count!==void 0?{count:D.count}:{},...D.while?{while:D.while}:{},...D.until?{until:D.until}:{},sequence:D.sequence??[]}};return s.data.alias&&(B.alias=s.data.alias),s.data.enabled===!1&&(B.enabled=!1),B}if(typeof s.data.event=="string"&&s.data.event.trim()!==""){const D={event:s.data.event};return s.data.alias&&(D.alias=s.data.alias),s.data.event_data&&Object.keys(s.data.event_data).length>0&&(D.event_data=s.data.event_data),s.data.enabled===!1&&(D.enabled=!1),D}if("stop"in s.data){const D={stop:s.data.stop??""};return s.data.alias&&(D.alias=s.data.alias),s.data.error===!0&&(D.error=!0),s.data.enabled===!1&&(D.enabled=!1),D}const{alias:c,service:d,id:g,target:b,data:w,data_template:E,response_variable:S,continue_on_error:_,enabled:A,repeat:C,...O}=s.data,L={...O,alias:c,service:d};return b&&(L.target=b),w&&(L.data=w),E&&(L.data_template=E),S&&(L.response_variable=S),_&&(L.continue_on_error=_),A===!1&&(L.enabled=!1),L}buildDelay(s){const{alias:c,delay:d,id:g,...b}=s.data;return{...b,alias:c,delay:d}}buildWait(s){const{alias:c,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=s.data,_={...S,alias:c};return g?_.wait_template=g:b&&(_.wait_for_trigger=b.map(A=>{const C={...A};return Object.fromEntries(Object.entries(C).filter(([,O])=>O!==void 0&&O!==""&&O!==null))})),w&&(_.timeout=w),E!==void 0&&(_.continue_on_timeout=E),_}buildSetVariables(s){const{alias:c,id:d,variables:g,...b}=s.data,w={...b,variables:g};return c&&(w.alias=c),w}}class W7t extends lKt{constructor(){super(...arguments);Zf(this,"name","state-machine");Zf(this,"description","Generates state machine YAML for complex flows with cycles or cross-links")}canHandle(s){return!0}generate(s,c){var P,j,z,ee,ne;const d=[],g=this.buildTriggerRouting(s);if(g.size===0){d.push("No action nodes found after triggers");const Q=this.extractTriggers(s);return Q.length>0?{automation:{alias:s.name,description:s.description||"",triggers:Q,actions:[],mode:((P=s.metadata)==null?void 0:P.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:s.name,description:s.description||"",sequence:[],mode:((j=s.metadata)==null?void 0:j.mode)??"single"},warnings:d,strategy:this.name}}const b=s.nodes.filter(Q=>Q.type==="trigger"),w=new Set,E=new Map;for(const[Q,ae]of g){const he=(z=b[Q])==null?void 0:z.id;if(!he)continue;const pe=[...new Set(ae)].filter(fe=>fe!=="END");if(pe.length<=1)continue;const ue=this.planFanOut(s,this.getOutgoingEdges(s,he));if(!ue.ok){d.push(this.describeFanOutRejection(`Trigger ${Q+1}`,pe,ue));continue}E.set(Q,pe);for(const fe of ue.owned)w.add(fe)}const S=this.generateParallelEntryBlocks(s,E),_=new Map;for(const Q of this.orderNodesFromEntry(s)){if(Q.type==="trigger"||Q.type==="condition"||w.has(Q.id))continue;const ae=this.getFanOutTargets(s,Q.id);if(ae.length<=1)continue;const he=this.planFanOut(s,this.getFanOutEdges(s,Q.id));if(!he.ok){d.push(this.describeFanOutRejection(`Node "${Q.id}"`,ae,he));continue}_.set(Q.id,ae);for(const pe of he.owned)w.add(pe);for(const pe of he.reachable){const ue=this.getFanOutTargets(s,pe);if(ue.length<=1)continue;const fe=this.planFanOut(s,this.getFanOutEdges(s,pe));fe.ok||d.push(this.describeFanOutRejection(`Node "${pe}"`,ue,fe,!0))}}const A=[],C=new Map;for(const Q of this.orderNodesFromEntry(s))if(!(Q.type!=="condition"||w.has(Q.id)))for(const ae of["true","false"]){const he=this.getConditionHandleTargets(s,Q.id,ae);if(he.length<=1)continue;const pe=this.getOutgoingEdges(s,Q.id).filter(K=>K.sourceHandle===ae),ue=this.planFanOut(s,pe);if(!ue.ok){d.push(this.describeFanOutRejection(`The "${ae}" branch of condition "${Q.id}"`,he,ue));continue}const fe=`__parallel_cond_${Q.id}__${ae}`;C.set(`${Q.id}:${ae}`,fe),A.push(this.buildParallelEntryBlock(s,fe,he));for(const K of ue.owned)w.add(K)}const O=s.nodes.filter(Q=>Q.type!=="trigger"&&!w.has(Q.id)).map(Q=>this.generateNodeBlock(s,Q,_,C)),L=[...S,...A,...O];if(c.hasCycles){const Q=this.detectPotentialInfiniteLoop(s,c);Q&&d.push(Q)}const D=this.extractTriggers(s),$=[{variables:{current_node:this.generateEntryNodeExpression(g,E),flow_context:{}}},{alias:"State Machine Loop",repeat:{until:'{{ current_node == "END" }}',sequence:[{choose:L,default:[{service:"system_log.write",data:{message:'C.A.F.E.: Unknown state "{{ current_node }}", ending flow',level:"warning"}},{variables:{current_node:"END"}}]}]}}];return D.length>0?{automation:{alias:s.name,description:s.description||"",triggers:D,actions:$,mode:((ee=s.metadata)==null?void 0:ee.mode)??"single"},warnings:d,strategy:this.name}:{script:{alias:s.name,description:s.description||"",sequence:$,mode:((ne=s.metadata)==null?void 0:ne.mode)??"single"},warnings:d,strategy:this.name}}buildTriggerRouting(s){const c=new Map;return s.nodes.filter(g=>g.type==="trigger").forEach((g,b)=>{const w=this.getOutgoingEdges(s,g.id);w.length>0&&c.set(b,w.map(E=>E.target))}),c}getEffectiveEntryPoint(s,c,d){return c.length===1||!d.has(s)?c[0]:`__parallel_trigger_${s}`}generateEntryNodeExpression(s,c){const d=new Map;for(const[E,S]of s)d.set(E,this.getEffectiveEntryPoint(E,S,c));const g=new Set(d.values());if(g.size===1)return[...g][0];const b=[...d.entries()].sort((E,S)=>E[0]-S[0]),w=[];return b.forEach(([E,S],_)=>{_===0?w.push(`{% if trigger.idx == "${E}" %}${S}`):_===b.length-1?w.push(`{% else %}${S}{% endif %}`):w.push(`{% elif trigger.idx == "${E}" %}${S}`)}),b.length===1?b[0][1]:w.join("")}generateParallelEntryBlocks(s,c){const d=[];for(const[g,b]of c)b.length<=1||d.push(this.buildParallelEntryBlock(s,`__parallel_trigger_${g}`,[...new Set(b)]));return d}buildParallelEntryBlock(s,c,d){return{conditions:[{condition:"template",value_template:`{{ current_node == "${c}" }}`}],sequence:[{parallel:this.buildParallelBranches(s,d)},{variables:{current_node:"END"}}]}}getFanOutEdges(s,c){return this.getOutgoingEdges(s,c).filter(d=>d.sourceHandle!=="true"&&d.sourceHandle!=="false")}orderNodesFromEntry(s){const c=new Map(s.nodes.map(w=>[w.id,w])),d=[],g=new Set,b=s.nodes.filter(w=>w.type==="trigger").flatMap(w=>this.getOutgoingEdges(s,w.id).map(E=>E.target));for(;b.length>0;){const w=b.shift();if(w===void 0||w==="END"||g.has(w))continue;g.add(w);const E=c.get(w);if(E){d.push(E);for(const S of this.getOutgoingEdges(s,w))b.push(S.target)}}for(const w of s.nodes)w.type!=="trigger"&&!g.has(w.id)&&d.push(w);return d}getConditionHandleTargets(s,c,d){const g=this.getOutgoingEdges(s,c).filter(b=>b.sourceHandle===d).map(b=>b.target);return[...new Set(g)].filter(b=>b!=="END")}getFanOutTargets(s,c){return[...new Set(this.getFanOutEdges(s,c).map(d=>d.target))].filter(d=>d!=="END"&&d!==c)}planFanOut(s,c){var C;const d=(C=c[0])==null?void 0:C.source;if(!d)return{ok:!1,reason:"cycle",nodes:[]};const g=[...new Set(c.map(O=>O.target))],b=new Set;for(const O of g)this.collectSubgraphNodeIds(s,O,b);if(b.has(d))return{ok:!1,reason:"cycle",nodes:[d]};const w=this.findJoinNodes(s,g);if(w.length>0)return{ok:!1,reason:"join",nodes:w};const E=[...b].find(O=>this.hasMultiTargetHandle(s,O));if(E)return{ok:!1,reason:"nested-condition",nodes:[E]};const S=new Set(c.map(O=>O.id)),_=new Set(b);let A=!0;for(;A;){A=!1;for(const O of[..._])s.edges.some(D=>D.target===O&&!S.has(D.id)&&!_.has(D.source))&&(_.delete(O),A=!0)}return{ok:!0,owned:_,reachable:b}}hasMultiTargetHandle(s,c){const d=s.nodes.find(g=>g.id===c);return(d==null?void 0:d.type)!=="condition"?!1:this.getConditionHandleTargets(s,c,"true").length>1||this.getConditionHandleTargets(s,c,"false").length>1}describeFanOutRejection(s,c,d,g=!1){return d.reason==="nested-condition"?`${s} branches to [${c.join(", ")}], but condition "${d.nodes.join(", ")}" downstream sends one of its branches to several nodes, which cannot be nested inside a parallel block. Only the first branch will run. Move that condition out of the parallel section to run these in parallel.`:d.reason==="cycle"?g?`${s} branches to [${c.join(", ")}] inside a parallel section, but one of those loops back. The loop cannot be expressed there and will stop after one pass.`:`${s} branches to [${c.join(", ")}], but one of those leads back into the same path. A parallel branch cannot loop back, so only the first branch will run.`:g?`${s} branches to [${c.join(", ")}] inside a parallel section, and those branches re-join at [${d.nodes.join(", ")}]. Nested parallel branches cannot re-join, so [${d.nodes.join(", ")}] will run once per branch.`:`${s} branches to [${c.join(", ")}], but those branches re-join at [${d.nodes.join(", ")}]. Parallel branches cannot re-join, so only the first branch will run. Give each branch its own downstream nodes to run them in parallel.`}findJoinNodes(s,c){const d=new Set,g=new Set;for(const b of c){const w=new Set;this.collectSubgraphNodeIds(s,b,w);for(const E of w)d.has(E)&&g.add(E),d.add(E)}return[...g]}buildParallelBranches(s,c,d=new Set){return c.map(g=>{const b=this.generateInlineBranch(s,g,new Set(d));return b.length===0?{alias:`parallel_branch:${g}`,stop:"Empty branch"}:{alias:`parallel_branch:${g}`,sequence:b}})}buildTransitionTail(s,c,d,g){var w;const b=g.get(c);return b&&b.length>1?[{parallel:this.buildParallelBranches(s,b)},{variables:{current_node:"END"}}]:[{variables:{current_node:((w=d[0])==null?void 0:w.target)??"END"}}]}collectSubgraphNodeIds(s,c,d){if(c==="END"||d.has(c))return;const g=s.nodes.find(w=>w.id===c);if(!g||g.type==="trigger")return;d.add(c);const b=this.getOutgoingEdges(s,g.id);for(const w of b)this.collectSubgraphNodeIds(s,w.target,d)}encodeNodeIdInAlias(s,c){const d=s.alias;s.alias=d?`cafe_node:${c}:${d}`:`cafe_node:${c}`}continueInlineBranch(s,c,d,g){var w;const b=this.getFanOutTargets(s,c);return b.length>1?[{parallel:this.buildParallelBranches(s,b,g)}]:this.generateInlineBranch(s,b[0]??((w=d[0])==null?void 0:w.target)??"END",g)}generateInlineBranch(s,c,d){if(c==="END"||d.has(c))return[];const g=s.nodes.find(w=>w.id===c);if(!g)return[];d.add(c);const b=this.getOutgoingEdges(s,g.id);switch(g.type){case"action":{const w=this.buildActionCall(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}case"condition":{const w=b.find(D=>D.sourceHandle==="true"),E=b.find(D=>D.sourceHandle==="false"),S=(w==null?void 0:w.target)??"END",_=(E==null?void 0:E.target)??"END",A=this.buildNativeCondition(g),C=this.generateInlineBranch(s,S,new Set(d)),O=this.generateInlineBranch(s,_,new Set(d)),L={alias:g.data.alias,if:[A],then:C};return this.encodeNodeIdInAlias(L,g.id),O.length>0&&(L.else=O),[L]}case"delay":{const w=this.buildDelayAction(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}case"wait":{const w=this.buildWaitAction(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}case"set_variables":{const w=this.buildSetVariablesAction(g);return this.encodeNodeIdInAlias(w,g.id),[w,...this.continueInlineBranch(s,g.id,b,d)]}default:return this.continueInlineBranch(s,g.id,b,d)}}extractTriggers(s){return s.nodes.filter(c=>c.type==="trigger").map(c=>this.buildTrigger(c))}generateNodeBlock(s,c,d,g){const b=this.getOutgoingEdges(s,c.id);switch(c.type){case"condition":return this.generateConditionBlock(c,b,g);case"action":return this.generateActionBlock(s,c,b,d);case"delay":return this.generateDelayBlock(s,c,b,d);case"wait":return this.generateWaitBlock(s,c,b,d);case"set_variables":return this.generateSetVariablesBlock(s,c,b,d);default:return this.generatePassthroughBlock(s,c,b,d)}}generateActionBlock(s,c,d,g){const b=c.id,w=this.buildActionCall(c);return{conditions:[{condition:"template",value_template:`{{ current_node == "${b}" }}`}],sequence:[w,...this.buildTransitionTail(s,c.id,d,g)]}}buildActionCall(s){if(EMe(s.data.data)){const D=s.data.data,B={device_id:D.device_id,domain:D.domain,type:D.type};s.data.alias&&(B.alias=s.data.alias),D.entity_id&&(B.entity_id=D.entity_id),D.subtype&&(B.subtype=D.subtype);const $=["type","device_id","domain","entity_id","subtype"];for(const[P,j]of Object.entries(D))!$.includes(P)&&j!==void 0&&(B[P]=j);return s.data.enabled===!1&&(B.enabled=!1),B}if(s.data.repeat){const D=s.data.repeat,B={repeat:{...D.count!==void 0?{count:D.count}:{},...D.while?{while:D.while}:{},...D.until?{until:D.until}:{},sequence:D.sequence??[]}};return s.data.alias&&(B.alias=s.data.alias),s.data.enabled===!1&&(B.enabled=!1),B}if(typeof s.data.event=="string"&&s.data.event.trim()!==""){const D={event:s.data.event};return s.data.alias&&(D.alias=s.data.alias),s.data.event_data&&Object.keys(s.data.event_data).length>0&&(D.event_data=s.data.event_data),s.data.enabled===!1&&(D.enabled=!1),D}const{alias:c,service:d,id:g,target:b,data:w,data_template:E,response_variable:S,continue_on_error:_,enabled:A,repeat:C,...O}=s.data,L={...O,alias:c,service:d};return g&&(L.id=g),b&&(L.target=b),w&&(L.data=w),E&&(L.data_template=E),S&&(L.response_variable=S),_&&(L.continue_on_error=_),A===!1&&(L.enabled=!1),L}generateConditionBlock(s,c,d){const g=c.find(L=>L.sourceHandle==="true"),b=c.find(L=>L.sourceHandle==="false"),w=d.get(`${s.id}:true`)??(g==null?void 0:g.target)??"END",E=d.get(`${s.id}:false`)??(b==null?void 0:b.target)??"END",S=w==="END"?"END":w,_=E==="END"?"END":E,A=s.id;if(this.needsNativeConditionCheck(s)){const L=this.buildNativeCondition(s);return{conditions:[{condition:"template",value_template:`{{ current_node == "${A}" }}`}],sequence:[{alias:s.data.alias,if:[L],then:[{variables:{current_node:S}}],else:[{variables:{current_node:_}}]}]}}const O=this.buildConditionTemplate(s);return{conditions:[{condition:"template",value_template:`{{ current_node == "${A}" }}`}],sequence:[{alias:s.data.alias,variables:{current_node:`{% if ${O} %}${S}{% else %}${_}{% endif %}`}}]}}needsNativeConditionCheck(s){const c=s.data;return c.condition==="template"&&(c.value_template||"").includes("{%")?!0:(c.condition==="and"||c.condition==="or"||c.condition==="not")&&c.conditions?c.conditions.some(d=>d.condition==="template"?(d.value_template||"").includes("{%"):!1):!1}buildNativeCondition(s){const c=s.data,d={condition:c.condition};return c.entity_id&&(d.entity_id=c.entity_id),c.state!==void 0&&(d.state=c.state),c.above!=null&&c.above!==""&&(d.above=c.above),c.below!=null&&c.below!==""&&(d.below=c.below),c.attribute&&(d.attribute=c.attribute),c.value_template&&(d.value_template=c.value_template),c.after&&(d.after=c.after),c.before&&(d.before=c.before),c.after_offset&&(d.after_offset=c.after_offset),c.before_offset&&(d.before_offset=c.before_offset),c.zone&&(d.zone=c.zone),c.weekday&&(d.weekday=c.weekday),c.id&&(d.id=c.id),c.conditions&&c.conditions.length>0&&(d.conditions=c.conditions.map(g=>{const b={condition:g.condition};return g.entity_id&&(b.entity_id=g.entity_id),g.state!==void 0&&(b.state=g.state),g.above!==void 0&&(b.above=g.above),g.below!==void 0&&(b.below=g.below),g.attribute&&(b.attribute=g.attribute),g.value_template&&(b.value_template=g.value_template),g.template&&(b.value_template=g.template),g.after&&(b.after=g.after),g.before&&(b.before=g.before),g.after_offset&&(b.after_offset=g.after_offset),g.before_offset&&(b.before_offset=g.before_offset),g.zone&&(b.zone=g.zone),g.weekday&&(b.weekday=g.weekday),g.id&&(b.id=g.id),Object.fromEntries(Object.entries(b).filter(([,w])=>w!==void 0))})),Object.fromEntries(Object.entries(d).filter(([,g])=>g!==void 0))}buildDelayAction(s){const{alias:c,delay:d,id:g,...b}=s.data,w={...b,alias:c,delay:d};return g&&(w.id=g),w}generateDelayBlock(s,c,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${c.id}" }}`}],sequence:[this.buildDelayAction(c),...this.buildTransitionTail(s,c.id,d,g)]}}buildWaitAction(s){const{alias:c,id:d,wait_template:g,wait_for_trigger:b,timeout:w,continue_on_timeout:E,...S}=s.data,_={...S,alias:c};return d&&(_.id=d),g?_.wait_template=g:b&&(_.wait_for_trigger=b.map(A=>{const{alias:C,...O}=A,L={...O};return Object.fromEntries(Object.entries(L).filter(([,D])=>D!==void 0&&D!==""&&D!==null))})),w&&(_.timeout=w),E!==void 0&&(_.continue_on_timeout=E),_}generateWaitBlock(s,c,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${c.id}" }}`}],sequence:[this.buildWaitAction(c),...this.buildTransitionTail(s,c.id,d,g)]}}buildSetVariablesAction(s){const{alias:c,id:d,variables:g,...b}=s.data,w={...b,variables:g};return c&&(w.alias=c),d&&(w.id=d),w}generateSetVariablesBlock(s,c,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${c.id}" }}`}],sequence:[this.buildSetVariablesAction(c),...this.buildTransitionTail(s,c.id,d,g)]}}generatePassthroughBlock(s,c,d,g){return{conditions:[{condition:"template",value_template:`{{ current_node == "${c.id}" }}`}],sequence:this.buildTransitionTail(s,c.id,d,g)}}buildConditionTemplate(s){const c=s.data;switch(c.condition){case"state":if(c.attribute){if(Array.isArray(c.state)){const d=c.state.map(g=>`'${g}'`).join(", ");return`state_attr('${c.entity_id}', '${c.attribute}') in [${d}]`}return`state_attr('${c.entity_id}', '${c.attribute}') == '${c.state}'`}else{if(Array.isArray(c.state)){const d=c.state.map(g=>`'${g}'`).join(", ");return`states('${c.entity_id}') in [${d}]`}return`is_state('${c.entity_id}', '${c.state}')`}case"numeric_state":return this.buildNumericCondition(c);case"template":{let d=c.value_template||"true";return d.startsWith("{{")&&d.endsWith("}}")&&(d=d.slice(2,-2).trim()),d}case"time":return this.buildTimeCondition(c);case"sun":return this.buildSunCondition(c);case"zone":return`is_state('${c.entity_id}', '${c.zone}')`;case"and":return c.conditions&&c.conditions.length>0?`(${c.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";case"or":return c.conditions&&c.conditions.length>0?`(${c.conditions.map(d=>this.buildNestedCondition(d)).join(" or ")})`:"false";case"not":return c.conditions&&c.conditions.length>0?`not (${c.conditions.map(d=>this.buildNestedCondition(d)).join(" and ")})`:"true";default:return"true"}}buildNumericCondition(s){const c=[],d=s.value_template?`(${s.value_template})`:s.attribute?`state_attr('${s.entity_id}', '${s.attribute}') | float`:`states('${s.entity_id}') | float`;return s.above!=null&&s.above!==""&&c.push(`${d} > ${s.above}`),s.below!=null&&s.below!==""&&c.push(`${d} < ${s.below}`),c.length>0?c.join(" and "):"true"}buildTimeCondition(s){const c=[];if(s.after&&c.push(`now().strftime('%H:%M:%S') >= '${s.after}'`),s.before&&c.push(`now().strftime('%H:%M:%S') < '${s.before}'`),s.weekday&&s.weekday.length>0){const d=s.weekday.map(g=>`'${g}'`).join(", ");c.push(`now().strftime('%a').lower()[:3] in [${d}]`)}return c.length>0?c.join(" and "):"true"}buildSunCondition(s){return s.after==="sunrise"||s.before==="sunset"?"is_state('sun.sun', 'above_horizon')":s.after==="sunset"||s.before==="sunrise"?"is_state('sun.sun', 'below_horizon')":"true"}buildNestedCondition(s){const c={id:"nested",type:"condition",position:{x:0,y:0},data:s};return this.buildConditionTemplate(c)}detectPotentialInfiniteLoop(s,c){return c.hasCycles?s.nodes.some(g=>g.type==="condition")?"Note: This flow contains cycles. Ensure your conditions can eventually evaluate to break the cycle, or the automation may run indefinitely.":"Warning: This flow contains cycles but no conditions. This could result in an infinite loop. Consider adding a condition to break the cycle.":null}}function K7t(n){return n==="true"?0:n==="false"?2:1}function MQn(n){const i=[],s=new Set,c=n.nodes.filter(w=>w.type==="trigger");for(const w of c)i.push(w.id),s.add(w.id);const d=new Map(n.nodes.map(w=>[w.id,w.type])),g=new Map;for(const w of n.edges){const E=g.get(w.source);E?E.push(w):g.set(w.source,[w])}const b=w=>{if(s.has(w))return;s.add(w),d.get(w)!==void 0&&i.push(w);const E=[...g.get(w)??[]].sort((S,_)=>K7t(S.sourceHandle)-K7t(_.sourceHandle));for(const S of E)b(S.target)};for(const w of c)for(const E of g.get(w.id)??[])b(E.target);for(const w of n.nodes)s.has(w.id)||(i.push(w.id),s.add(w.id));return i}class OM{constructor(){Zf(this,"strategies",[new LQn,new W7t])}validate(i){return CJn(i)}analyzeTopology(i){return TJn(i)}transpile(i,s={}){const c=[],d=this.validate(i);if(!d.success||!d.graph)return{success:!1,errors:d.errors.map(A=>A.message),warnings:c};const g=d.graph,b=this.analyzeTopology(g);let w;if(s.forceStrategy){const A=this.strategies.find(C=>C.name===s.forceStrategy);if(!A)return{success:!1,errors:[`Unknown strategy: ${s.forceStrategy}`],warnings:c};w=A,w.canHandle(b)||c.push(`Strategy "${w.name}" may not be optimal for this flow topology. Recommended: ${b.recommendedStrategy}`)}else{const A=this.strategies.find(C=>C.canHandle(b));A?w=A:w=new W7t}const E=w.generate(g,b);c.push(...E.warnings);const S=E.automation??E.script;let _;if(S&&typeof S=="object"){const A=this.generateCafeMetadata(g,w),C={...S,variables:{...g.userVariables||{},...S.variables||{},_cafe_metadata:A}};_=wse(C,{indent:s.indent??2,lineWidth:s.lineWidth??-1,quotingType:'"',forceQuotes:!1})}else _=wse(S,{indent:s.indent??2,lineWidth:s.lineWidth??-1,quotingType:'"',forceQuotes:!1});return{success:!0,yaml:_,output:E,analysis:b,warnings:c}}toYaml(i,s={}){var d;const c=this.transpile(i,s);if(!c.success)throw new Error(`Transpilation failed: ${(d=c.errors)==null?void 0:d.join(", ")}`);return c.yaml}toNativeYaml(i,s={}){return this.toYaml(i,{...s,forceStrategy:"native"})}toStateMachineYaml(i,s={}){return this.toYaml(i,{...s,forceStrategy:"state-machine"})}fromYaml(i){return new DQn().parse(i)}getStrategies(){return this.strategies.map(i=>({name:i.name,description:i.description}))}addStrategy(i){this.strategies.unshift(i)}generateCafeMetadata(i,s){const c={},d=new Map(i.nodes.map(g=>[g.id,g]));for(const g of MQn(i)){const b=d.get(g);b&&(c[b.id]={x:b.position.x,y:b.position.y})}return{version:1,nodes:c,graph_id:i.id,graph_version:i.version,strategy:s.name}}}const KDe=new OM,Y7t=n=>{let i;const s=new Set,c=(S,_)=>{const A=typeof S=="function"?S(i):S;if(!Object.is(A,i)){const C=i;i=_??(typeof A!="object"||A===null)?A:Object.assign({},i,A),s.forEach(O=>O(i,C))}},d=()=>i,w={setState:c,getState:d,getInitialState:()=>E,subscribe:S=>(s.add(S),()=>s.delete(S))},E=i=n(c,d,w);return w},dKt=n=>n?Y7t(n):Y7t,PQn=n=>n;function fKt(n,i=PQn){const s=Hn.useSyncExternalStore(n.subscribe,Hn.useCallback(()=>i(n.getState()),[n,i]),Hn.useCallback(()=>i(n.getInitialState()),[n,i]));return Hn.useDebugValue(s),s}const jQn=n=>{const i=dKt(n),s=c=>fKt(i,c);return Object.assign(s,i),s},FQn=n=>jQn;var J7t=(n,i,s)=>(d,g)=>({pastStates:(s==null?void 0:s.pastStates)||[],futureStates:(s==null?void 0:s.futureStates)||[],undo:(b=1)=>{var w,E;if(g().pastStates.length){const S=((w=s==null?void 0:s.partialize)==null?void 0:w.call(s,i()))||i(),_=g().pastStates.splice(-b,b),A=_.shift();n(A),d({pastStates:g().pastStates,futureStates:g().futureStates.concat(((E=s==null?void 0:s.diff)==null?void 0:E.call(s,S,A))||S,_.reverse())})}},redo:(b=1)=>{var w,E;if(g().futureStates.length){const S=((w=s==null?void 0:s.partialize)==null?void 0:w.call(s,i()))||i(),_=g().futureStates.splice(-b,b),A=_.shift();n(A),d({pastStates:g().pastStates.concat(((E=s==null?void 0:s.diff)==null?void 0:E.call(s,S,A))||S,_.reverse()),futureStates:g().futureStates})}},clear:()=>d({pastStates:[],futureStates:[]}),isTracking:!0,pause:()=>d({isTracking:!1}),resume:()=>d({isTracking:!0}),setOnSave:b=>d({_onSave:b}),_onSave:s==null?void 0:s.onSave,_handleSet:(b,w,E,S)=>{var _,A;s!=null&&s.limit&&g().pastStates.length>=(s==null?void 0:s.limit)&&g().pastStates.shift(),(A=(_=g())._onSave)==null||A.call(_,b,E),d({pastStates:g().pastStates.concat(S||b),futureStates:[]})}}),$Qn=(n,i)=>(c,d,g)=>{var S,_;g.temporal=dKt(((S=i==null?void 0:i.wrapTemporal)==null?void 0:S.call(i,J7t(c,d,i)))||J7t(c,d,i));const b=((_=i==null?void 0:i.handleSet)==null?void 0:_.call(i,g.temporal.getState()._handleSet))||g.temporal.getState()._handleSet,w=A=>{var L,D,B;if(!g.temporal.getState().isTracking)return;const C=((L=i==null?void 0:i.partialize)==null?void 0:L.call(i,d()))||d(),O=(D=i==null?void 0:i.diff)==null?void 0:D.call(i,A,C);O===null||(B=i==null?void 0:i.equality)!=null&&B.call(i,A,C)||b(A,void 0,C,O)},E=g.setState;return g.setState=(...A)=>{var O;const C=((O=i==null?void 0:i.partialize)==null?void 0:O.call(i,d()))||d();E(...A),w(C)},n((...A)=>{var O;const C=((O=i==null?void 0:i.partialize)==null?void 0:O.call(i,d()))||d();c(...A),w(C)},d,g)};function BQn(n,i){let s;try{s=n()}catch{return}return{getItem:d=>{var g;const b=E=>E===null?null:JSON.parse(E,void 0),w=(g=s.getItem(d))!=null?g:null;return w instanceof Promise?w.then(b):b(w)},setItem:(d,g)=>s.setItem(d,JSON.stringify(g,void 0)),removeItem:d=>s.removeItem(d)}}const YDe=n=>i=>{try{const s=n(i);return s instanceof Promise?s:{then(c){return YDe(c)(s)},catch(c){return this}}}catch(s){return{then(c){return this},catch(c){return YDe(c)(s)}}}},UQn=(n,i)=>(s,c,d)=>{let g={storage:BQn(()=>localStorage),partialize:D=>D,version:0,merge:(D,B)=>({...B,...D}),...i},b=!1;const w=new Set,E=new Set;let S=g.storage;if(!S)return n((...D)=>{console.warn(`[zustand persist middleware] Unable to update item '${g.name}', the given storage is currently unavailable.`),s(...D)},c,d);const _=()=>{const D=g.partialize({...c()});return S.setItem(g.name,{state:D,version:g.version})},A=d.setState;d.setState=(D,B)=>(A(D,B),_());const C=n((...D)=>(s(...D),_()),c,d);d.getInitialState=()=>C;let O;const L=()=>{var D,B;if(!S)return;b=!1,w.forEach(P=>{var j;return P((j=c())!=null?j:C)});const $=((B=g.onRehydrateStorage)==null?void 0:B.call(g,(D=c())!=null?D:C))||void 0;return YDe(S.getItem.bind(S))(g.name).then(P=>{if(P)if(typeof P.version=="number"&&P.version!==g.version){if(g.migrate){const j=g.migrate(P.state,P.version);return j instanceof Promise?j.then(z=>[!0,z]):[!0,j]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,P.state];return[!1,void 0]}).then(P=>{var j;const[z,ee]=P;if(O=g.merge(ee,(j=c())!=null?j:C),s(O,!0),z)return _()}).then(()=>{$==null||$(O,void 0),O=c(),b=!0,E.forEach(P=>P(O))}).catch(P=>{$==null||$(void 0,P)})};return d.persist={setOptions:D=>{g={...g,...D},D.storage&&(S=D.storage)},clearStorage:()=>{S==null||S.removeItem(g.name)},getOptions:()=>g,rehydrate:()=>L(),hasHydrated:()=>b,onHydrate:D=>(w.add(D),()=>{w.delete(D)}),onFinishHydration:D=>(E.add(D),()=>{E.delete(D)})},g.skipHydration||L(),O||C},HQn=UQn,X7t=n=>Symbol.iterator in n,Z7t=n=>"entries"in n,Q7t=(n,i)=>{const s=n instanceof Map?n:new Map(n.entries()),c=i instanceof Map?i:new Map(i.entries());if(s.size!==c.size)return!1;for(const[d,g]of s)if(!c.has(d)||!Object.is(g,c.get(d)))return!1;return!0},zQn=(n,i)=>{const s=n[Symbol.iterator](),c=i[Symbol.iterator]();let d=s.next(),g=c.next();for(;!d.done&&!g.done;){if(!Object.is(d.value,g.value))return!1;d=s.next(),g=c.next()}return!!d.done&&!!g.done};function hKt(n,i){return Object.is(n,i)?!0:typeof n!="object"||n===null||typeof i!="object"||i===null||Object.getPrototypeOf(n)!==Object.getPrototypeOf(i)?!1:X7t(n)&&X7t(i)?Z7t(n)&&Z7t(i)?Q7t(n,i):zQn(n,i):Q7t({entries:()=>Object.entries(n)},{entries:()=>Object.entries(i)})}function pKt(n){const i=Hn.useRef(void 0);return s=>{const c=n(s);return hKt(i.current,c)?i.current:i.current=c}}function Mie(n){var i;if(n instanceof Error&&n.message)return n.message;if(typeof n=="string"&&n.trim()!=="")return n;if(n&&typeof n=="object"){const s=n;if(typeof s.message=="string"&&s.message.trim()!=="")return s.message;if(typeof((i=s.body)==null?void 0:i.message)=="string"&&s.body.message.trim()!=="")return s.body.message;if(typeof s.error=="string"&&s.error.trim()!=="")return s.error}return"Unknown error"}class GQn{constructor(i,s){Zf(this,"hass",null);Zf(this,"baseUrl");Zf(this,"token");this.hass=i||null,s!=null&&s.url&&(s!=null&&s.token)?(this.baseUrl=s.url,this.token=s.token):typeof window<"u"&&(this.baseUrl=window.location.origin)}updateHass(i,s){this.hass=i,s!=null&&s.url&&(s!=null&&s.token)?(this.baseUrl=s.url,this.token=s.token):typeof window<"u"&&!this.baseUrl&&(this.baseUrl=window.location.origin)}isConnected(){return this.hass?!!(this.hass.connection||this.hass.callApi||this.hass.callService||this.hass.states&&Object.keys(this.hass.states).length>0):!1}getStates(){return this.hass?this.hass.states:null}getState(i){const s=this.getStates();return(s==null?void 0:s[i])||null}getAutomations(){const i=this.getStates();return i?Object.values(i).filter(s=>s.entity_id.startsWith("automation.")):[]}normalizeTags(i){return Array.isArray(i)?i.filter(s=>typeof s=="string"):typeof i=="string"&&i.trim()?[i]:[]}async sendMessage(i){var s;if(!((s=this.hass)!=null&&s.connection))throw new Error("No Home Assistant connection available");return await this.hass.connection.sendMessagePromise(i)}async callService(i,s,c,d){var g,b;if((g=this.hass)!=null&&g.callService)return await this.hass.callService(i,s,c,d);if((b=this.hass)!=null&&b.connection)return await this.sendMessage({type:"call_service",domain:i,service:s,service_data:c,target:d});throw new Error("No service calling method available")}async executeAction(i){if(!i.service)throw new Error("Action must have a service property");const[s,c]=i.service.split(".");if(!s||!c)throw new Error(`Invalid service format: ${i.service}`);return await this.callService(s,c,i.data,i.target)}async callAPI(i,s,c){var d;if((d=this.hass)!=null&&d.callApi)return await this.hass.callApi(i,s,c);throw new Error("REST API calls not supported in standalone mode")}async fetchRestAPI(i,s="GET",c){var b;if((b=this.hass)!=null&&b.callApi)return await this.hass.callApi(s,i,c);if(!this.baseUrl||!this.token)throw console.error("C.A.F.E.: No authentication configured",{baseUrl:this.baseUrl,hasToken:!!this.token}),new Error("No authentication configured for REST API");const d=`${this.baseUrl}/api/${i}`,g=await fetch(d,{method:s,headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:c?JSON.stringify(c):void 0});if(!g.ok){const w=await g.text();console.error("C.A.F.E.: REST API error response:",w);let E=w.trim();try{const _=JSON.parse(w);_&&typeof _=="object"&&"message"in _&&(E=String(_.message))}catch{}const S=`${g.status} ${g.statusText}`;throw new Error(E?`REST API error: ${S} (${E})`:`REST API error: ${S}`)}return await g.json()}async getAutomationConfigs(){var i;try{if((i=this.hass)!=null&&i.connection)try{const c=await this.sendMessage({type:"config/automation/list"});if(Array.isArray(c))return c}catch(c){console.warn("WebSocket automation list failed, trying alternative:",c)}return this.getAutomations().map(c=>({id:c.entity_id.replace("automation.",""),alias:typeof c.attributes.friendly_name=="string"?c.attributes.friendly_name:c.entity_id,description:typeof c.attributes.description=="string"?c.attributes.description:""}))}catch(s){return console.error("Failed to get automation configs:",s),[]}}async getAutomationConfig(i){var s;try{if((s=this.hass)!=null&&s.connection)try{const d=await this.sendMessage({type:"config/automation/get",automation_id:i});if(d)return d}catch(d){console.warn("WebSocket automation get failed:",d)}if(!i.startsWith("automation."))try{const d=await this.fetchRestAPI(`config/automation/config/${i}`);if(d)return d}catch(d){console.warn("REST API failed for automation %s:",i,d)}return(await this.getAutomationConfigs()).find(d=>d.id===i||d.alias===i||`automation.${d.alias}`===i)||null}catch(c){return console.error("C.A.F.E.: Failed to get automation config:",c),null}}async getAutomationConfigFromTrace(i){try{const s=await this.getAutomationTraces(i);if(!s||s.length===0)return null;const c=await this.getAutomationTraceDetails(i,s[0].run_id);return(c==null?void 0:c.config)||null}catch(s){return console.error("C.A.F.E.: Failed to get automation config from trace:",s),null}}async getAutomationConfigWithFallback(i,s){try{const c=await this.getAutomationConfig(i);return c||(await this.getAutomationConfigFromTrace(i)??null)}catch(c){return console.error("C.A.F.E.: Failed to get automation config with fallback:",c),null}}async createAutomation(i){var s,c;try{const d=i.id||Date.now().toString(),{trigger:g,condition:b,action:w,...E}=i,S={...E,id:d,alias:i.alias||`C.A.F.E. Automation ${d}`,description:i.description||"",triggers:g||i.triggers||[],conditions:b||i.conditions||[],actions:w||i.actions||[],mode:i.mode||"single",variables:i.variables||{}};try{await this.fetchRestAPI(`config/automation/config/${d}`,"POST",S)}catch(_){throw console.error("C.A.F.E.: Failed to save automation config:",_),new Error(Mie(_))}if((s=this.hass)!=null&&s.callService)return await this.hass.callService("automation","reload",{}),d;if((c=this.hass)!=null&&c.connection)return await this.sendMessage({type:"call_service",domain:"automation",service:"reload"}),d;throw new Error("No working Home Assistant connection method found")}catch(d){throw console.error("C.A.F.E.: Failed to create automation:",d),new Error(`Failed to create automation: ${Mie(d)}`)}}async updateAutomation(i,s){try{console.log("C.A.F.E.: Updating automation with ID:",i),console.log("C.A.F.E.: Update config:",s);const{trigger:c,condition:d,action:g,...b}=s,w={...b,id:i,alias:s.alias||`C.A.F.E. Automation ${i}`,description:s.description||"",triggers:c||s.triggers||[],conditions:d||s.conditions||[],actions:g||s.actions||[],mode:s.mode||"single",variables:s.variables||{}};console.log("C.A.F.E.: Final update payload:",w),await this.fetchRestAPI(`config/automation/config/${i}`,"POST",w),console.log("C.A.F.E.: Successfully updated automation:",i)}catch(c){throw console.error("C.A.F.E.: Failed to update automation:",c),new Error(`Failed to update automation: ${Mie(c)}`)}}async deleteAutomation(i){try{await this.fetchRestAPI(`config/automation/config/${i}`,"DELETE")}catch(s){throw console.error("C.A.F.E.: Failed to delete automation:",s),new Error(`Failed to delete automation: ${Mie(s)}`)}}async automationExistsByAlias(i){try{return(await this.getAutomationConfigs()).some(d=>d.alias===i)}catch(s){return console.error("C.A.F.E.: Failed to check automation existence:",s),!1}}async getUniqueAutomationAlias(i){try{let s=i,c=1;for(;await this.automationExistsByAlias(s);)s=`${i} (${c})`,c++;return s}catch(s){return console.error("C.A.F.E.: Failed to get unique automation alias:",s),i}}async triggerAutomation(i,s=!0){await this.callService("automation","trigger",{entity_id:i,skip_condition:s})}async setAutomationState(i,s){const c=s?"turn_on":"turn_off";await this.callService("automation",c,{entity_id:i})}async getAreas(){try{return await this.sendMessage({type:"config/area_registry/list"})}catch(i){return console.error("Failed to get areas:",i),[]}}async getDevices(){try{return await this.sendMessage({type:"config/device_registry/list"})}catch(i){return console.error("Failed to get devices:",i),[]}}async getEntities(){try{return await this.sendMessage({type:"config/entity_registry/list"})}catch(i){return console.error("Failed to get entities:",i),[]}}async getZones(){try{const i=this.getStates();return i?Object.values(i).filter(s=>s.entity_id.startsWith("zone.")).map(s=>{const c=s.entity_id.replace("zone.","");return{entity_id:s.entity_id,zone_id:c,name:typeof s.attributes.friendly_name=="string"?s.attributes.friendly_name:c,latitude:typeof s.attributes.latitude=="number"?s.attributes.latitude:void 0,longitude:typeof s.attributes.longitude=="number"?s.attributes.longitude:void 0,radius:typeof s.attributes.radius=="number"?s.attributes.radius:void 0,passive:typeof s.attributes.passive=="boolean"?s.attributes.passive:void 0}}):[]}catch(i){return console.error("Failed to get zones:",i),[]}}async getAutomationCatalog(){try{const[i]=await Promise.all([this.getEntities()]),s=Array.isArray(i)?i:[],c=new Map;for(const d of s)d.entity_id&&d.area_id&&c.set(d.entity_id,d.area_id);return this.getAutomations().map(d=>{const g=typeof d.attributes.friendly_name=="string"?d.attributes.friendly_name:d.entity_id,b=typeof d.attributes.id=="string"||typeof d.attributes.id=="number"?String(d.attributes.id):d.entity_id.replace("automation.","");return{entity_id:d.entity_id,automation_id:b,friendly_name:g,enabled:d.state==="on",last_triggered:typeof d.attributes.last_triggered=="string"?d.attributes.last_triggered:void 0,description:typeof d.attributes.description=="string"?d.attributes.description:"",mode:typeof d.attributes.mode=="string"?d.attributes.mode:void 0,area_id:c.get(d.entity_id),tags:this.normalizeTags(d.attributes.tags)}})}catch(i){return console.error("Failed to build automation catalog:",i),[]}}async getAutomationConfigsBatch(i,s=4){const c=Array.from(new Set(i.filter(Boolean))),d={};if(c.length===0)return d;const g=[...c],b=Math.max(1,Math.min(s,g.length)),w=Array.from({length:b}).map(async()=>{for(;g.length>0;){const E=g.shift();if(E)try{d[E]=await this.getAutomationConfigWithFallback(E)}catch(S){console.warn("Failed to fetch automation config for %s:",E,S),d[E]=null}}});return await Promise.all(w),d}async getServices(){try{return await this.sendMessage({type:"get_services"})}catch(i){return console.error("Failed to get services:",i),{}}}async validateAutomationConfig(i){try{return await this.sendMessage({type:"validate_config",...i})}catch(s){return console.error("Failed to validate config:",s),{valid:!1,error:"Validation failed"}}}async getAutomationTraces(i){try{const s=await this.sendMessage({type:"trace/list",domain:"automation",item_id:i});return Array.isArray(s)?s:[]}catch(s){return console.error("Failed to get automation traces:",s),[]}}async getAutomationTraceDetails(i,s){try{return await this.sendMessage({type:"trace/get",domain:"automation",item_id:i,run_id:s})||null}catch(c){return console.error("Failed to get automation trace details:",c),null}}}let S5=null;function Tw(n,i){return S5?n&&(!S5.hass||!S5.isConnected()||n.states&&Object.keys(n.states).length>0)&&S5.updateHass(n??null,i):S5=new GQn(n,i),S5}class WMe{constructor(i,s,c=1){Zf(this,"dbName");Zf(this,"storeName");Zf(this,"dbVersion");Zf(this,"dbPromise",null);this.dbName=i,this.storeName=s,this.dbVersion=c}async initDB(){return this.dbPromise?this.dbPromise:(this.dbPromise=new Promise((i,s)=>{const c=indexedDB.open(this.dbName,this.dbVersion);c.onerror=d=>{console.error("IndexedDB error:",d),s(new Error("Failed to open IndexedDB database"))},c.onsuccess=d=>{const g=d.target.result;i(g)},c.onupgradeneeded=d=>{const g=d.target.result;g.objectStoreNames.contains(this.storeName)||g.createObjectStore(this.storeName)}}),this.dbPromise)}async getItem(i){try{const g=(await this.initDB()).transaction(this.storeName,"readonly").objectStore(this.storeName).get(i);return new Promise((b,w)=>{g.onsuccess=()=>{const E=g.result;b(E??null)},g.onerror=()=>{w(new Error("Failed to get item from IndexedDB"))}})}catch(s){return console.error("IndexedDB getItem error:",s),null}}async setItem(i,s){try{const b=(await this.initDB()).transaction(this.storeName,"readwrite").objectStore(this.storeName).put(s,i);return new Promise((w,E)=>{b.onsuccess=()=>w(),b.onerror=()=>E(new Error("Failed to set item in IndexedDB"))})}catch(c){throw console.error("IndexedDB setItem error:",c),c}}async removeItem(i){try{const g=(await this.initDB()).transaction(this.storeName,"readwrite").objectStore(this.storeName).delete(i);return new Promise((b,w)=>{g.onsuccess=()=>b(),g.onerror=()=>w(new Error("Failed to remove item from IndexedDB"))})}catch(s){throw console.error("IndexedDB removeItem error:",s),s}}static createJSONStorage(i,s){if(!("indexedDB"in globalThis)){const d=new Map;return{getItem:async g=>{const b=d.get(g)??null;return b?JSON.parse(b):null},setItem:async(g,b)=>{d.set(g,JSON.stringify(b))},removeItem:async g=>{d.delete(g)}}}const c=new WMe(i,s);return{getItem:async d=>{const g=await c.getItem(d);return g?JSON.parse(g):null},setItem:async(d,g)=>{await c.setItem(d,JSON.stringify(g))},removeItem:async d=>{await c.removeItem(d)}}}}const qQn=WMe.createJSONStorage("cafe-flow-storage","flow-store");function VQn(n){if("platform"in n&&!("trigger"in n)){const{platform:i,...s}=n;return{...s,trigger:i}}return n}function qOe(n,i){return n==="trigger"?VQn(i):i}function e$t(n,i){if(n.size===0)return n;const s=new Set(i.map(g=>g.id)),c=[...n.keys()].filter(g=>!s.has(g));if(c.length===0)return n;const d=new Map(n);for(const g of c)d.delete(g);return d}function WQn(n){const i=n.data,c=[i.alias,i.service,i.event,i.trigger,i.condition].find(d=>typeof d=="string"&&d.trim()!=="");return c?`${c} (${n.id})`:n.id}function t$t(n,i,s){if(i.size===0)return;const c=n.filter(S=>i.has(S.id)),d=c[0];d&&s(d.id);const g=c.map(WQn),b=g.slice(0,3).join(", "),w=g.length>3?`, and ${g.length-3} more`:"",E=g.length>0?`: ${b}${w}`:"";throw new Error(`Cannot save: ${i.size} node(s) have validation errors${E}. They are highlighted in red — the first one is now selected, and "fit view" will bring it into sight if it is off-screen.`)}function KQn(n){const i=new Map;for(const c of n){const d=c.data.id;typeof d!="string"||d.trim()===""||i.set(d,[...i.get(d)??[],c.id])}const s=new Map;for(const[,c]of i)if(!(c.length<2))for(const d of c)s.set(d,{path:["id"],message:"errors:validation.node.duplicateId"});return s}const JDe={mode:"single",initial_state:!0},n$t={flowId:Z5e(),flowName:"Untitled Automation",flowDescription:"",flowMetadata:JDe,userVariables:void 0,userTriggerVariables:void 0,nodes:[],edges:[],selectedNodeId:null,rightPanelExpanded:!1,automationId:null,isSaving:!1,lastSaved:null,hasUnsavedChanges:!1,originalSnapshot:null,isSimulating:!1,activeNodeId:null,executionPath:[],isShowingTrace:!1,traceData:null,traceExecutionPath:[],traceTimestamps:{},simulationSpeed:800,nodeErrors:new Map,clipboard:null,pasteCount:0},YQn=n=>({flowId:n.flowId,flowName:n.flowName,flowDescription:n.flowDescription,flowMetadata:n.flowMetadata,nodes:n.nodes,edges:n.edges,selectedNodeId:n.selectedNodeId,automationId:n.automationId,lastSaved:n.lastSaved,originalSnapshot:n.originalSnapshot}),JQn=n=>({nodes:n.nodes,edges:n.edges,flowName:n.flowName,flowDescription:n.flowDescription,flowMetadata:n.flowMetadata,userVariables:n.userVariables,userTriggerVariables:n.userTriggerVariables});let Uk;function VOe(){Uk&&(clearTimeout(Uk.timeoutId),Uk=void 0)}const po=FQn()(HQn($Qn((n,i)=>({...n$t,setNodes:s=>n({nodes:s}),setEdges:s=>n({edges:s}),onNodesChange:s=>n(c=>{const d=Gzt(s,c.nodes);return{nodes:d,nodeErrors:e$t(c.nodeErrors,d),hasUnsavedChanges:!0}}),onEdgesChange:s=>n(c=>({edges:qzt(s,c.edges),hasUnsavedChanges:!0})),onConnect:s=>n(c=>({edges:Tzt({...s,id:`e-${s.source}-${s.target}-${Date.now()}`,animated:!1},c.edges),hasUnsavedChanges:!0})),addNode:s=>{const c=s.type?{...s,data:qOe(s.type,s.data)}:s;n(d=>({nodes:[...d.nodes,c],hasUnsavedChanges:!0})),i().validateNode(s.id)},updateNodeData:(s,c)=>{n(d=>({nodes:d.nodes.map(g=>g.id===s?{...g,data:{...g.data,...c}}:g),hasUnsavedChanges:!0})),"id"in c?i().validateAllNodes():i().validateNode(s)},removeNode:s=>n(c=>{const d=c.nodes.filter(g=>g.id!==s);return{nodes:d,edges:c.edges.filter(g=>g.source!==s&&g.target!==s),selectedNodeId:c.selectedNodeId===s?null:c.selectedNodeId,nodeErrors:e$t(c.nodeErrors,d),hasUnsavedChanges:!0}}),addWaitTimeoutBranch:s=>{const d=i().nodes.find(S=>S.id===s);if(!d||d.type!=="wait")return;const g=d.data;if(!g.timeout)return;const b=tz("condition"),w=g.wait_for_trigger!==void 0?"{{ wait.trigger is not none }}":"{{ wait.completed }}",E={id:b,type:"condition",position:{x:d.position.x+260,y:d.position.y},data:{alias:"Wait completed?",condition:"template",value_template:w}};n(S=>({nodes:[...S.nodes.map(_=>_.id===s?{..._,data:{..._.data,continue_on_timeout:!0}}:_),E],edges:[...S.edges.map(_=>_.source===s?{..._,source:b,sourceHandle:"true"}:_),{id:`e-${s}-${b}-${Date.now()}`,source:s,target:b,animated:!1}],hasUnsavedChanges:!0})),i().validateNode(b)},selectNode:s=>n({selectedNodeId:s}),clearCanvasSelection:()=>n(s=>s.selectedNodeId!==null||s.nodes.some(d=>d.selected)||s.edges.some(d=>d.selected)?{selectedNodeId:null,nodes:s.nodes.map(d=>({...d,selected:!1})),edges:s.edges.map(d=>({...d,selected:!1}))}:s),setRightPanelExpanded:s=>n({rightPanelExpanded:s}),toggleRightPanelExpanded:()=>n(s=>({rightPanelExpanded:!s.rightPanelExpanded})),setClipboard:s=>n({clipboard:s}),setPasteCount:s=>n({pasteCount:s}),setFlowName:s=>n({flowName:s,hasUnsavedChanges:!0}),setFlowDescription:s=>n({flowDescription:s,hasUnsavedChanges:!0}),setFlowMetadata:s=>n(c=>({flowMetadata:{...c.flowMetadata,...s},hasUnsavedChanges:!0})),setAutomationId:s=>n({automationId:s}),setSaving:s=>n({isSaving:s}),setSaved:()=>n({lastSaved:new Date,hasUnsavedChanges:!1}),setUnsavedChanges:s=>n({hasUnsavedChanges:s}),hasRealChanges:()=>{const s=i();return s.originalSnapshot?JSON.stringify({flowName:s.flowName,flowDescription:s.flowDescription,flowMetadata:s.flowMetadata,nodes:s.nodes.map(d=>({id:d.id,type:d.type,position:d.position,data:d.data})),edges:s.edges.map(d=>({id:d.id,source:d.source,target:d.target,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle}))})!==s.originalSnapshot:s.nodes.length>0},saveAutomation:async s=>{var g;const c=i(),d=Tw(s);n({isSaving:!0});try{i().validateAllNodes();const b=i();t$t(b.nodes,b.nodeErrors,D=>n({selectedNodeId:D}));const w=c.toFlowGraph();if(w.nodes.length===0)throw new Error("Cannot save empty automation. Please add at least one trigger and one action node.");const E=w.nodes.filter(D=>D.type==="trigger"),S=w.nodes.filter(D=>D.type==="action");if(E.length===0)throw new Error("Automation must have at least one trigger node. Please add a trigger from the node palette.");if(S.length===0)throw new Error("Automation must have at least one action node. Please add an action from the node palette.");const _=new OM,A=_.validate(w);if(A.errors.length>0)throw console.error("C.A.F.E.: Validation errors:",A.errors),new Error(`Validation failed: ${A.errors.map(D=>D.message).join(", ")}`);const C=_.transpile(w);if(!C.success||!((g=C.output)!=null&&g.automation))throw new Error("Failed to transpile flow to automation config");const O={alias:c.flowName,description:c.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((D,B)=>(D[B.id]={x:B.position.x,y:B.position.y},D),{}),graph_id:w.id,graph_version:1}}},L=await d.createAutomation(O);return n({automationId:L,isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1}),L}catch(b){throw n({isSaving:!1}),b}},updateAutomation:async s=>{var g;const c=i(),d=Tw(s);if(!c.automationId)throw new Error("No automation ID set. Use saveAutomation() for new automations.");console.log("C.A.F.E.: Updating automation with ID from store:",c.automationId),n({isSaving:!0});try{i().validateAllNodes();const b=i();t$t(b.nodes,b.nodeErrors,L=>n({selectedNodeId:L}));const w=c.toFlowGraph();if(w.nodes.length===0)throw new Error("Cannot save empty automation. Please add at least one trigger and one action node.");const E=w.nodes.filter(L=>L.type==="trigger"),S=w.nodes.filter(L=>L.type==="action");if(E.length===0)throw new Error("Automation must have at least one trigger node. Please add a trigger from the node palette.");if(S.length===0)throw new Error("Automation must have at least one action node. Please add an action from the node palette.");const _=new OM,A=_.validate(w);if(A.errors.length>0)throw new Error(`Validation failed: ${A.errors.map(L=>L.message).join(", ")}`);const C=_.transpile(w);if(!C.success||!((g=C.output)!=null&&g.automation))throw new Error("Failed to transpile flow to automation config");const O={alias:c.flowName,description:c.flowDescription||"",...C.output.automation,variables:{...C.output.automation.variables||{},_cafe_metadata:{version:1,strategy:"native",nodes:w.nodes.reduce((L,D)=>(L[D.id]={x:D.position.x,y:D.position.y},L),{}),graph_id:w.id,graph_version:1}}};await d.updateAutomation(c.automationId,O),n({isSaving:!1,lastSaved:new Date,hasUnsavedChanges:!1})}catch(b){throw n({isSaving:!1}),b}},startSimulation:()=>n({isSimulating:!0,executionPath:[],activeNodeId:null}),stopSimulation:()=>n({isSimulating:!1,activeNodeId:null}),setActiveNode:s=>n({activeNodeId:s}),addToExecutionPath:s=>n(c=>({executionPath:[...c.executionPath,s]})),clearExecutionPath:()=>n({executionPath:[]}),showTrace:s=>{const c=[],d={};if(s!=null&&s.trace){const g=i(),b={trigger:[],condition:[],action:[],wait:[],delay:[]};for(const E of g.nodes){const S=E.type;b[S]&&b[S].push(E)}for(const E in b)b[E].sort((S,_)=>S.position.y-_.position.y);const w=Object.entries(s.trace).flatMap(([E,S])=>Array.isArray(S)?S.map(_=>({..._,path:E})):[]).sort((E,S)=>new Date(E.timestamp).getTime()-new Date(S.timestamp).getTime());for(const E of w){const S=E.path.split("/"),_=S[0],A=parseInt(S[1],10),C=b[_]||[];if(C[A]){const O=C[A].id;c.includes(O)||(c.push(O),d[O]=E.timestamp)}}}n({isShowingTrace:!0,traceData:s,traceExecutionPath:c,traceTimestamps:d,activeNodeId:null})},hideTrace:()=>n({isShowingTrace:!1,traceData:null,traceExecutionPath:[],traceTimestamps:{},activeNodeId:null}),clearTraceExecutionPath:()=>n({traceExecutionPath:[],traceTimestamps:{}}),setSimulationSpeed:s=>n({simulationSpeed:s}),getExecutionStepNumber:s=>{const c=i();if(c.isSimulating&&c.executionPath.length>0){const d=c.executionPath.indexOf(s);return d>=0?d+1:null}if(c.isShowingTrace&&c.traceExecutionPath.length>0){const d=c.traceExecutionPath.indexOf(s);return d>=0?d+1:null}return null},canDeleteEdge:()=>!0,toFlowGraph:()=>{const s=i(),c=new Set(s.nodes.map(d=>d.id));return{id:s.flowId,name:s.flowName,description:s.flowDescription||void 0,nodes:s.nodes.map(d=>{const g={...d.data};return d.type==="trigger"&&!g.trigger&&(console.warn(`C.A.F.E.: Trigger node ${d.id} missing trigger type, adding default 'state'`),g.trigger="state"),d.type==="action"&&!g.service&&(console.warn(`C.A.F.E.: Action node ${d.id} missing service, adding default 'light.turn_on'`),g.service="light.turn_on"),{id:d.id,type:d.type,position:d.position,data:g}}),edges:s.edges.filter(d=>c.has(d.source)&&c.has(d.target)).map(d=>({id:d.id,source:d.source,target:d.target,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle,label:typeof d.label=="string"?d.label:void 0})),metadata:s.flowMetadata,version:1,userVariables:s.userVariables,userTriggerVariables:s.userTriggerVariables}},fromFlowGraph:s=>{const c=s.nodes.map(w=>({id:w.id,type:w.type,position:w.position,data:qOe(w.type,w.data)})),d=s.edges.map(w=>({id:w.id,source:w.source,target:w.target,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle,label:w.label})),g={...JDe,...s.metadata},b=JSON.stringify({flowName:s.name,flowDescription:s.description||"",flowMetadata:g,nodes:c.map(w=>({id:w.id,type:w.type,position:w.position,data:w.data})),edges:d.map(w=>({id:w.id,source:w.source,target:w.target,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle}))});n({flowId:s.id,flowName:s.name,flowDescription:s.description||"",flowMetadata:g,userVariables:s.userVariables,userTriggerVariables:s.userTriggerVariables,nodes:c,edges:d,selectedNodeId:null,automationId:null,hasUnsavedChanges:!1,lastSaved:null,originalSnapshot:b,nodeErrors:new Map}),i().validateAllNodes(),VOe(),po.temporal.getState().clear()},reset:()=>{n({...n$t,flowId:Z5e(),flowMetadata:{...JDe},originalSnapshot:null,nodeErrors:new Map}),VOe(),po.temporal.getState().clear()},validateNode:s=>{const d=i().nodes.find(b=>b.id===s);if(!d||!d.type)return;const g=z8t(d.type,d.data);n(b=>{const w=new Map(b.nodeErrors);return g.length>0?w.set(s,g):w.delete(s),{nodeErrors:w}})},validateAllNodes:()=>{const s=i(),c=new Map;for(const g of s.nodes){if(!g.type)continue;const b=z8t(g.type,g.data);b.length>0&&c.set(g.id,b)}const d=KQn(s.nodes);for(const[g,b]of d)c.set(g,[...c.get(g)??[],b]);n({nodeErrors:c})},clearNodeErrors:s=>{n(c=>{const d=new Map(c.nodeErrors);return d.delete(s),{nodeErrors:d}})},hasValidationErrors:()=>i().nodeErrors.size>0}),{partialize:JQn,limit:100,equality:hKt,handleSet:n=>i=>{const s=i,c=(Uk==null?void 0:Uk.burstStart)??s;VOe(),Uk={timeoutId:setTimeout(()=>{Uk=void 0,n(c)},300),burstStart:c}}}),{name:"cafe-flow-storage",storage:qQn,partialize:YQn,version:1,onRehydrateStorage:()=>n=>{if(n){const i=n.nodes.map(c=>({...c,data:c.type?qOe(c.type,c.data):c.data}));i.some((c,d)=>JSON.stringify(c.data)!==JSON.stringify(n.nodes[d].data))&&(n.nodes=i),n.validateAllNodes()}}})),XDe=[{type:"trigger",labelKey:"nodes:types.trigger",icon:RGt,color:"bg-amber-100 border-amber-400 text-amber-700 hover:bg-amber-200",defaultData:{trigger:"state",entity_id:""}},{type:"condition",labelKey:"nodes:types.condition",icon:G5e,color:"bg-blue-100 border-blue-400 text-blue-700 hover:bg-blue-200",defaultData:{condition:"state",entity_id:""}},{type:"action",labelKey:"nodes:types.action",icon:Cz,color:"bg-green-100 border-green-400 text-green-700 hover:bg-green-200",defaultData:{service:"light.turn_on"}},{type:"delay",labelKey:"nodes:types.delay",icon:H5e,color:"bg-purple-100 border-purple-400 text-purple-700 hover:bg-purple-200",defaultData:{delay:"00:00:05"}},{type:"wait",labelKey:"nodes:types.wait",icon:AGt,color:"bg-orange-100 border-orange-400 text-orange-700 hover:bg-orange-200",defaultData:{wait_template:"",timeout:"00:01:00"}},{type:"set_variables",labelKey:"nodes:types.set_variables",icon:CGt,color:"bg-cyan-100 border-cyan-400 text-cyan-700 hover:bg-cyan-200",defaultData:{variables:{}}}];function XQn({iconOnly:n=!1}){const{t:i}=jo(["common","nodes"]),s=po(b=>b.addNode),c=po(b=>b.nodes),d=H.useCallback(b=>{const w=c.length*250+250;s({id:tz(b.type),type:b.type,position:{x:w,y:150},data:{...b.defaultData}})},[s,c.length]),g=H.useCallback((b,w)=>{b.dataTransfer.setData("application/reactflow",JSON.stringify({type:w.type,defaultData:w.defaultData})),b.dataTransfer.effectAllowed="move"},[]);return I.jsx("div",{className:nr("space-y-2 p-4",n&&"p-2"),children:I.jsx("div",{className:nr("space-y-2",n&&"flex flex-col items-center"),children:XDe.map(b=>I.jsxs(mi,{variant:"outline",onClick:()=>d(b),onDragStart:w=>g(w,b),draggable:!0,className:nr(n?"h-12 w-12 justify-center p-0":"h-auto w-full justify-start gap-3 py-3","cursor-grab transition-colors active:cursor-grabbing",b.color),children:[I.jsx(b.icon,{className:"h-4 w-4"}),!n&&I.jsx("span",{className:"font-medium text-sm",children:i(b.labelKey)})]},b.type))})})}function ZQn(n){return n==="forward"?XDe.filter(i=>i.type!=="trigger"):[...XDe]}function QQn(n,i,s,c){return n==="forward"?{source:i,sourceHandle:s,target:c,targetHandle:null}:{source:c,sourceHandle:null,target:i,targetHandle:s}}function eer({position:n,direction:i,onSelect:s,onClose:c}){const{t:d}=jo(["common","nodes"]),g=H.useMemo(()=>n?ZQn(i).map(S=>({config:S,label:d(S.labelKey)})):[],[n,i,d]),{query:b,setQuery:w,filteredItems:E}=gVt(g,{keys:["label"],threshold:.4,ignoreLocation:!0});return I.jsx(dMe,{open:n!==null,onOpenChange:S=>{S||c()},children:n&&I.jsxs(I.Fragment,{children:[I.jsx(rUn,{asChild:!0,children:I.jsx("div",{style:{position:"fixed",left:n.screenX,top:n.screenY,width:0,height:0}})}),I.jsx(_ae,{className:"w-64 p-0",children:I.jsxs(pae,{shouldFilter:!1,children:[I.jsx(gae,{autoFocus:!0,placeholder:d("nodes:quickAdd.searchPlaceholder"),value:b,onValueChange:w}),I.jsxs(bae,{children:[I.jsx(mae,{children:d("combobox.noOptions")}),I.jsx(nz,{children:E.map(S=>I.jsxs(rz,{value:S.label,onSelect:()=>s(S.config),children:[I.jsx(S.config.icon,{className:"mr-2 h-4 w-4"}),S.label]},S.config.type))})]})]})})]})})}const ter=typeof window<"u"&&(localStorage.getItem("cafe_debug")==="true"||window.location.search.includes("debug=true")),T5={info:"color: #2196F3; font-weight: bold",warn:"color: #FF9800; font-weight: bold",error:"color: #F44336; font-weight: bold",success:"color: #4CAF50; font-weight: bold",debug:"color: #9C27B0; font-weight: bold"};class ner{constructor(i=ter){Zf(this,"enabled");Zf(this,"prefix");this.enabled=i,this.prefix="[C.A.F.E.]"}setEnabled(i){this.enabled=i,typeof window<"u"&&localStorage.setItem("cafe_debug",i.toString())}isEnabled(){return this.enabled}info(i,...s){this.enabled&&console.log(`%c${this.prefix} ${i}`,T5.info,...s)}warn(i,...s){this.enabled&&console.warn(`%c${this.prefix} ${i}`,T5.warn,...s)}error(i,...s){this.enabled&&console.error(`%c${this.prefix} ${i}`,T5.error,...s)}success(i,...s){this.enabled&&console.log(`%c${this.prefix} ${i}`,T5.success,...s)}debug(i,...s){this.enabled&&console.log(`%c${this.prefix} DEBUG: ${i}`,T5.debug,...s)}object(i,s){this.enabled&&(console.group(`%c${this.prefix} ${i}`,T5.info),console.log(s),console.groupEnd())}time(i){this.enabled&&console.time(`${this.prefix} ${i}`)}timeEnd(i){this.enabled&&console.timeEnd(`${this.prefix} ${i}`)}}const Ef=new ner;typeof window<"u"&&(window.cafeLogger=Ef);const rer=1,yse=2,WOe=3,ier=4,oer=5;function ser(n){return{type:"auth",access_token:n}}function aer(){return{type:"supported_features",id:1,features:{coalesce_messages:1}}}function cer(){return{type:"get_states"}}function uer(){return{type:"get_services"}}function ler(n){const i={type:"subscribe_events"};return n&&(i.event_type=n),i}function r$t(n){return{type:"unsubscribe_events",subscription:n}}function der(){return{type:"ping"}}function fer(n,i){return{type:"result",success:!1,error:{code:n,message:i}}}const her=(n,i,s=!1)=>{let c;return function(...d){const g=this,b=()=>{c=void 0,s||n.apply(g,d)},w=s&&!c;clearTimeout(c),c=setTimeout(b,i),w&&n.apply(g,d)}},gKt=(n,i,s,c)=>{const[d,g,b]=n.split(".",3);return Number(d)>i||Number(d)===i&&(c===void 0?Number(g)>=s:Number(g)>s)||c!==void 0&&Number(d)===i&&Number(g)===s&&Number(b)>=c},per="auth_invalid",ger="auth_ok";function ber(n){if(!n.auth)throw ier;const i=n.auth;let s=i.expired?i.refreshAccessToken().then(()=>{s=void 0},()=>{s=void 0}):void 0;const c=i.wsUrl;function d(g,b,w){const E=new WebSocket(c);let S=!1;const _=()=>{if(E.removeEventListener("close",_),S){w(yse);return}if(g===0){w(rer);return}const O=g===-1?-1:g-1;setTimeout(()=>d(O,b,w),1e3)},A=async O=>{try{i.expired&&await(s||i.refreshAccessToken()),E.send(JSON.stringify(ser(i.accessToken)))}catch(L){S=L===yse,E.close()}},C=async O=>{const L=JSON.parse(O.data);switch(L.type){case per:S=!0,E.close();break;case ger:E.removeEventListener("open",A),E.removeEventListener("message",C),E.removeEventListener("close",_),E.removeEventListener("error",_),E.haVersion=L.ha_version,gKt(E.haVersion,2022,9)&&E.send(JSON.stringify(aer())),b(E);break}};E.addEventListener("open",A),E.addEventListener("message",C),E.addEventListener("close",_),E.addEventListener("error",_)}return new Promise((g,b)=>d(n.setupRetry,g,b))}class mer{constructor(i,s){this._handleMessage=c=>{let d=JSON.parse(c.data);Array.isArray(d)||(d=[d]),d.forEach(g=>{const b=this.commands.get(g.id);switch(g.type){case"event":b?b.callback(g.event):(console.warn(`Received event for unknown subscription ${g.id}. Unsubscribing.`),this.sendMessagePromise(r$t(g.id)).catch(w=>{}));break;case"result":b&&(g.success?(b.resolve(g.result),"subscribe"in b||this.commands.delete(g.id)):(b.reject(g.error),this.commands.delete(g.id)));break;case"pong":b?(b.resolve(),this.commands.delete(g.id)):console.warn(`Received unknown pong response ${g.id}`);break}})},this._handleClose=async()=>{const c=this.commands;if(this.commandId=1,this.oldSubscriptions=this.commands,this.commands=new Map,this.socket=void 0,c.forEach(b=>{"subscribe"in b||b.reject(fer(WOe,"Connection lost"))}),this.closeRequested)return;this.fireEvent("disconnected");const d=Object.assign(Object.assign({},this.options),{setupRetry:0}),g=b=>{setTimeout(async()=>{if(!this.closeRequested)try{const w=await d.createSocket(d);this._setSocket(w)}catch(w){if(this._queuedMessages){const E=this._queuedMessages;this._queuedMessages=void 0;for(const S of E)S.reject&&S.reject(WOe)}w===yse?this.fireEvent("reconnect-error",w):g(b+1)}},Math.min(b,5)*1e3)};this.suspendReconnectPromise&&(await this.suspendReconnectPromise,this.suspendReconnectPromise=void 0,this._queuedMessages=[]),g(0)},this.options=s,this.commandId=2,this.commands=new Map,this.eventListeners=new Map,this.closeRequested=!1,this._setSocket(i)}get connected(){return this.socket!==void 0&&this.socket.readyState==this.socket.OPEN}_setSocket(i){this.socket=i,this.haVersion=i.haVersion,i.addEventListener("message",this._handleMessage),i.addEventListener("close",this._handleClose);const s=this.oldSubscriptions;s&&(this.oldSubscriptions=void 0,s.forEach(d=>{"subscribe"in d&&d.subscribe&&d.subscribe().then(g=>{d.unsubscribe=g,d.resolve()})}));const c=this._queuedMessages;if(c){this._queuedMessages=void 0;for(const d of c)d.resolve()}this.fireEvent("ready")}addEventListener(i,s){let c=this.eventListeners.get(i);c||(c=[],this.eventListeners.set(i,c)),c.push(s)}removeEventListener(i,s){const c=this.eventListeners.get(i);if(!c)return;const d=c.indexOf(s);d!==-1&&c.splice(d,1)}fireEvent(i,s){(this.eventListeners.get(i)||[]).forEach(c=>c(this,s))}suspendReconnectUntil(i){this.suspendReconnectPromise=i}suspend(){if(!this.suspendReconnectPromise)throw new Error("Suspend promise not set");this.socket&&this.socket.close()}reconnect(i=!1){if(this.socket){if(!i){this.socket.close();return}this.socket.removeEventListener("message",this._handleMessage),this.socket.removeEventListener("close",this._handleClose),this.socket.close(),this._handleClose()}}close(){this.closeRequested=!0,this.socket&&this.socket.close()}async subscribeEvents(i,s){return this.subscribeMessage(i,ler(s))}ping(){return this.sendMessagePromise(der())}sendMessage(i,s){if(!this.connected)throw WOe;if(this._queuedMessages){if(s)throw new Error("Cannot queue with commandId");this._queuedMessages.push({resolve:()=>this.sendMessage(i)});return}s||(s=this._genCmdId()),i.id=s,this.socket.send(JSON.stringify(i))}sendMessagePromise(i){return new Promise((s,c)=>{if(this._queuedMessages){this._queuedMessages.push({reject:c,resolve:async()=>{try{s(await this.sendMessagePromise(i))}catch(g){c(g)}}});return}const d=this._genCmdId();this.commands.set(d,{resolve:s,reject:c}),this.sendMessage(i,d)})}async subscribeMessage(i,s,c){if(this._queuedMessages&&await new Promise((g,b)=>{this._queuedMessages.push({resolve:g,reject:b})}),c!=null&&c.preCheck&&!await c.preCheck())throw new Error("Pre-check failed");let d;return await new Promise((g,b)=>{const w=this._genCmdId();d={resolve:g,reject:b,callback:i,subscribe:(c==null?void 0:c.resubscribe)!==!1?()=>this.subscribeMessage(i,s,c):void 0,unsubscribe:async()=>{this.connected&&await this.sendMessagePromise(r$t(w)),this.commands.delete(w)}},this.commands.set(w,d);try{this.sendMessage(s,w)}catch{}}),()=>d.unsubscribe()}_genCmdId(){return++this.commandId}}const wer=n=>n*1e3+Date.now();async function yer(n,i,s){const c=typeof location<"u"&&location;if(c&&c.protocol==="https:"){const w=document.createElement("a");if(w.href=n,w.protocol==="http:"&&w.hostname!=="localhost")throw oer}const d=new FormData;i!==null&&d.append("client_id",i),Object.keys(s).forEach(w=>{d.append(w,s[w])});const g=await fetch(`${n}/auth/token`,{method:"POST",credentials:"same-origin",body:d});if(!g.ok)throw g.status===400||g.status===403?yse:new Error("Unable to fetch tokens");const b=await g.json();return b.hassUrl=n,b.clientId=i,b.expires=wer(b.expires_in),b}class ver{constructor(i,s){this.data=i,this._saveTokens=s}get wsUrl(){return`ws${this.data.hassUrl.substr(4)}/api/websocket`}get accessToken(){return this.data.access_token}get expired(){return Date.now()>this.data.expires}async refreshAccessToken(){if(!this.data.refresh_token)throw new Error("No refresh_token");const i=await yer(this.data.hassUrl,this.data.clientId,{grant_type:"refresh_token",refresh_token:this.data.refresh_token});i.refresh_token=this.data.refresh_token,this.data=i,this._saveTokens&&this._saveTokens(i)}async revoke(){if(!this.data.refresh_token)throw new Error("No refresh_token to revoke");const i=new FormData;i.append("token",this.data.refresh_token),await fetch(`${this.data.hassUrl}/auth/revoke`,{method:"POST",credentials:"same-origin",body:i}),this._saveTokens&&this._saveTokens(null)}}function Eer(n,i){return new ver({hassUrl:n,clientId:null,expires:Date.now()+1e11,refresh_token:"",access_token:i,expires_in:1e11})}const Ser=n=>{let i=[];function s(d){let g=[];for(let b=0;b<i.length;b++)i[b]===d?d=null:g.push(i[b]);i=g}function c(d,g){n=g?d:Object.assign(Object.assign({},n),d);let b=i;for(let w=0;w<b.length;w++)b[w](n)}return{get state(){return n},action(d){function g(b){c(b,!1)}return function(){let b=[n];for(let E=0;E<arguments.length;E++)b.push(arguments[E]);let w=d.apply(this,b);if(w!=null)return w instanceof Promise?w.then(g):g(w)}},setState:c,clearState(){n=void 0},subscribe(d){return i.push(d),()=>{s(d)}}}},Ter=5e3,ZDe=(n,i,s,c,d={unsubGrace:!0})=>{if(n[i])return n[i];let g=0,b,w,E=Ser();const S=()=>{if(!s)throw new Error("Collection does not support refresh");return s(n).then(D=>E.setState(D,!0))},_=()=>S().catch(D=>{if(n.connected)throw D}),A=()=>{if(w!==void 0){clearTimeout(w),w=void 0;return}c&&(b=c(n,E)),s&&(n.addEventListener("ready",_),_()),n.addEventListener("disconnected",L)},C=()=>{w=void 0,b&&b.then(D=>{D()}),E.clearState(),n.removeEventListener("ready",S),n.removeEventListener("disconnected",L)},O=()=>{w=setTimeout(C,Ter)},L=()=>{w&&(clearTimeout(w),C())};return n[i]={get state(){return E.state},refresh:S,subscribe(D){g++,g===1&&A();const B=E.subscribe(D);return E.state!==void 0&&setTimeout(()=>D(E.state),0),()=>{B(),g--,g||(d.unsubGrace?O():C())}}},n[i]},Aer=n=>n.sendMessagePromise(cer()),_er=n=>n.sendMessagePromise(uer());function xer(n,i,s){var c;const d=i.state;if(d===void 0)return;const{domain:g,service:b}=s.data;if(!(!((c=d.domain)===null||c===void 0)&&c.service)){const w=Object.assign(Object.assign({},d[g]),{[b]:{description:"",fields:{}}});i.setState({[g]:w})}Ner(n,i)}function ker(n,i){if(n===void 0)return null;const{domain:s,service:c}=i.data,d=n[s];if(!d||!(c in d))return null;const g={};return Object.keys(d).forEach(b=>{b!==c&&(g[b]=d[b])}),{[s]:g}}const Ner=her((n,i)=>bKt(n).then(s=>i.setState(s,!0)),5e3),bKt=n=>_er(n),Cer=(n,i)=>Promise.all([n.subscribeEvents(s=>xer(n,i,s),"service_registered"),n.subscribeEvents(i.action(ker),"service_removed")]).then(s=>()=>s.forEach(c=>c())),Ier=n=>ZDe(n,"_srv",bKt,Cer),Rer=(n,i)=>Ier(n).subscribe(i);function Oer(n,i){const s=Object.assign({},n.state);if(i.a)for(const c in i.a){const d=i.a[c];let g=new Date(d.lc*1e3).toISOString();s[c]={entity_id:c,state:d.s,attributes:d.a,context:typeof d.c=="string"?{id:d.c,parent_id:null,user_id:null}:d.c,last_changed:g,last_updated:d.lu?new Date(d.lu*1e3).toISOString():g}}if(i.r)for(const c of i.r)delete s[c];if(i.c)for(const c in i.c){let d=s[c];if(!d){console.warn("Received state update for unknown entity",c);continue}d=Object.assign({},d);const{"+":g,"-":b}=i.c[c],w=(g==null?void 0:g.a)||(b==null?void 0:b.a),E=w?Object.assign({},d.attributes):d.attributes;if(g&&(g.s!==void 0&&(d.state=g.s),g.c&&(typeof g.c=="string"?d.context=Object.assign(Object.assign({},d.context),{id:g.c}):d.context=Object.assign(Object.assign({},d.context),g.c)),g.lc?d.last_updated=d.last_changed=new Date(g.lc*1e3).toISOString():g.lu&&(d.last_updated=new Date(g.lu*1e3).toISOString()),g.a&&Object.assign(E,g.a)),b!=null&&b.a)for(const S of b.a)delete E[S];w&&(d.attributes=E),s[c]=d}n.setState(s,!0)}const Der=(n,i)=>n.subscribeMessage(s=>Oer(i,s),{type:"subscribe_entities"});function Ler(n,i){const s=n.state;if(s===void 0)return;const{entity_id:c,new_state:d}=i.data;if(d)n.setState({[d.entity_id]:d});else{const g=Object.assign({},s);delete g[c],n.setState(g,!0)}}async function Mer(n){const i=await Aer(n),s={};for(let c=0;c<i.length;c++){const d=i[c];s[d.entity_id]=d}return s}const Per=(n,i)=>n.subscribeEvents(s=>Ler(i,s),"state_changed"),jer=n=>gKt(n.haVersion,2022,4,0)?ZDe(n,"_ent",void 0,Der):ZDe(n,"_ent",Mer,Per),Fer=(n,i)=>jer(n).subscribe(i);async function $er(n){const i=Object.assign({setupRetry:0,createSocket:ber},n),s=await i.createSocket(i);return new mer(s,i)}const mKt="cafe_hass_config";function Ber(){try{const n=localStorage.getItem(mKt);if(n)return JSON.parse(n)}catch{}return{url:"",token:""}}function Uer(n){try{localStorage.setItem(mKt,JSON.stringify(n))}catch{}}const wKt=H.createContext(void 0),i$t=({children:n,forceMode:i,externalHass:s})=>{const[c,d]=H.useState(i?Ber():{url:"",token:""}),[g,b]=H.useState([]),[w,E]=H.useState({}),[S,_]=H.useState(new Map),[A,C]=H.useState(new Map),[O,L]=H.useState(new Map),[D,B]=H.useState(!1),[$,P]=H.useState(null),[j,z]=H.useState(null),ee=!!(c.url&&c.token),ne=i==="remote",Q=H.useCallback(We=>{d(We),Uer(We),b([]),E({}),_(new Map),C(new Map),L(new Map),P(null)},[]);H.useEffect(()=>{if(!ne)return;const ut=(async()=>{B(!0),P(null);try{const Be=Eer(c.url,c.token),bt=await $er({auth:Be});z(bt),bt.addEventListener("ready",()=>{P(null),B(!1)}),bt.addEventListener("disconnected",()=>{P("Connection lost")}),bt.addEventListener("reconnect-error",Et=>{console.error("C.A.F.E.: WebSocket reconnection failed:",Et),P("Reconnection failed")});const Nt=Fer(bt,Et=>{const Dt=Object.values(Et).map(Yt=>({entity_id:Yt.entity_id,state:Yt.state,attributes:Yt.attributes||{},last_changed:Yt.last_changed||"",last_updated:Yt.last_updated||"",context:Yt.context}));b(Dt),B(!1)}),pt=Rer(bt,Et=>{E(Et)});return(async()=>{try{const Et=await bt.sendMessagePromise({type:"config/area_registry/list"}),Dt=new Map;for(const Er of Et)Dt.set(Er.area_id,Er);_(Dt);const Yt=await bt.sendMessagePromise({type:"config/device_registry/list"}),Ln=new Map;for(const Er of Yt)Ln.set(Er.id,Er);C(Ln);const Zn=await bt.sendMessagePromise({type:"config/entity_registry/list"}),Yn=new Map;for(const Er of Zn)Yn.set(Er.entity_id,Er);L(Yn)}catch(Et){console.error("C.A.F.E.: Failed to fetch registries:",Et)}})(),()=>{Nt(),pt(),bt.close(),z(null)}}catch(Be){console.error("C.A.F.E.: Failed to establish WebSocket connection:",Be);const bt=Be instanceof Error?Be.message:"Connection failed";P(bt),B(!1)}})();return()=>{ut instanceof Promise&&ut.then(Be=>Be==null?void 0:Be())}},[ne,c.url,c.token]),H.useEffect(()=>{if(!(s!=null&&s.connection))return;(async()=>{try{const ut=await s.connection.sendMessagePromise({type:"config/area_registry/list"}),Be=new Map;for(const Et of ut)Be.set(Et.area_id,Et);_(Be);const bt=await s.connection.sendMessagePromise({type:"config/device_registry/list"}),Nt=new Map;for(const Et of bt)Nt.set(Et.id,Et);C(Nt);const pt=await s.connection.sendMessagePromise({type:"config/entity_registry/list"}),Kt=new Map;for(const Et of pt)Kt.set(Et.entity_id,Et);L(Kt)}catch(ut){console.error("C.A.F.E.: Failed to fetch registries from externalHass:",ut)}})()},[s==null?void 0:s.connection]);const ae=H.useRef({}),he=H.useRef({}),pe=H.useRef({});ae.current=H.useMemo(()=>Object.fromEntries(g.map(We=>[We.entity_id,We])),[g]),he.current=w,pe.current=H.useMemo(()=>Object.fromEntries(A),[A]);const ue=H.useMemo(()=>{if(s)return s;if(j&&ne)return{auth:null,get connected(){return j.connected},config:{},themes:{darkMode:!1},panels:{},selectedTheme:null,panelUrl:"",language:"en",locale:{},selectedLanguage:null,resources:{},get devices(){return pe.current},localize:()=>"",translationMetadata:{fragments:[],translations:{}},dockedSidebar:!1,moreInfoEntityId:"",user:null,fetchWithAuth:async()=>new Response,sendWS:async(...We)=>{j.sendMessage(...We)},callWS:We=>j.sendMessagePromise(We),get states(){return ae.current},get services(){return he.current},connection:j,callApi:async(We,ut,Be)=>{if(!c.url||!c.token)throw new Error("No authentication configured");const bt=`${c.url}/api/${ut}`,Nt=await fetch(bt,{method:We,headers:{Authorization:`Bearer ${c.token}`,"Content-Type":"application/json"},body:Be?JSON.stringify(Be):void 0});if(!Nt.ok){const pt=await Nt.json();throw new Error(`API error: ${pt.message}`)}return await Nt.json()},callService:async(We,ut,Be,bt)=>{if(!j)throw new Error("WebSocket connection not available");return j.sendMessagePromise({type:"call_service",domain:We,service:ut,service_data:Be||{},...bt&&{target:bt}})}}},[s,ne,j,c.url,c.token]),fe=H.useMemo(()=>ne?g:Object.values((ue==null?void 0:ue.states)??{}),[ne,g,ue==null?void 0:ue.states]),K=H.useMemo(()=>ne?w:(ue==null?void 0:ue.services)??{},[ne,w,ue==null?void 0:ue.services]),ge=H.useCallback(We=>fe.filter(ut=>ut.entity_id.startsWith(`${We}.`)),[fe]),De=H.useCallback(()=>{const We=[];for(const[ut,Be]of Object.entries(K))for(const[bt,Nt]of Object.entries(Be))We.push({domain:ut,service:bt,definition:Nt});return We},[K]),Se=H.useCallback(We=>{var bt;if(!We||!We.includes("."))return null;const[ut,Be]=We.split(".");return((bt=K[ut])==null?void 0:bt[Be])||null},[K]),Re=H.useCallback(We=>{const ut=O.get(We);if(!(ut!=null&&ut.device_id))return null;const Be=A.get(ut.device_id);return Be&&(Be.name_by_user||Be.name)||null},[O,A]),Ae=H.useCallback(We=>{var bt,Nt;const ut=O.get(We),Be=(ut==null?void 0:ut.area_id)??(ut!=null&&ut.device_id?(bt=A.get(ut.device_id))==null?void 0:bt.area_id:null);return Be?((Nt=S.get(Be))==null?void 0:Nt.name)??null:null},[O,A,S]),xe={hass:ue,isRemote:ne,isLoading:ne&&ee?D:!1,connectionError:ne?$:null,entities:fe,services:K,config:c,setConfig:Q,getEntitiesByDomain:ge,getAllServices:De,getServiceDefinition:Se,getDeviceNameForEntity:Re,getAreaNameForEntity:Ae};return I.jsx(wKt.Provider,{value:xe,children:n})};function Wg(){const n=H.useContext(wKt);if(n===void 0)throw new Error("useHass must be used within a HassProvider");return n}function qae(){var c;const{hass:n}=Wg(),[i,s]=H.useState(((c=n==null?void 0:n.themes)==null?void 0:c.darkMode)??!1);return H.useEffect(()=>{var d,g;if(Ef.debug("[C.A.F.E.] useDarkMode effect running",{hasHass:!!n,hasStates:!!(n!=null&&n.states&&Object.keys(n.states).length>0),hasThemes:!!(n!=null&&n.themes),darkMode:(d=n==null?void 0:n.themes)==null?void 0:d.darkMode}),((g=n==null?void 0:n.themes)==null?void 0:g.darkMode)!==void 0){const b=n.themes.darkMode;Ef.debug("[C.A.F.E.] Dark mode from hass.themes.darkMode:",b),s(b)}else n&&Object.keys(n.states||{}).length>0?(Ef.debug("[C.A.F.E.] Hass available but no themes.darkMode property, defaulting to light mode"),s(!1)):Ef.debug("[C.A.F.E.] Hass not available yet or no entities loaded")},[n]),i}function Her({id:n,sourceX:i,sourceY:s,targetX:c,targetY:d,sourcePosition:g,targetPosition:b,style:w,markerEnd:E,selected:S}){const{t:_}=jo(["common"]),{setEdges:A}=kR(),C=po(K=>K.setUnsavedChanges),O=po(K=>K.canDeleteEdge),L=qae(),D=c<i,B=D?100:0,$=D?50:0;let P,j,z,ee=0,ne=0,Q=0;if(D)ee=i+$,ne=Math.min(s,d)-B,Q=c-$,P=`M ${i},${s} L ${ee},${s} L ${ee},${ne} L ${Q},${ne} L ${Q},${d} L ${c},${d}`,j=(ee+Q)/2,z=ne;else{const[K,ge,De]=Xoe({sourceX:i,sourceY:s,sourcePosition:g,targetX:c,targetY:d,targetPosition:b});P=K,j=ge,z=De}const ae=O(n),he=K=>{K.stopPropagation(),ae&&(A(ge=>ge.filter(De=>De.id!==n)),C(!0))},ue=S?{...w,stroke:"#3b82f6",strokeWidth:3}:w??{},fe=ue&&typeof ue=="object"&&"stroke"in ue&&typeof ue.stroke=="string"?ue.stroke:L?"#94a3b8":"#64748b";return I.jsxs(I.Fragment,{children:[I.jsx(Nz,{id:n,path:P,style:ue,markerEnd:E}),D&&ee!==0&&I.jsx(N9t,{children:I.jsx("div",{className:"nodrag nopan pointer-events-none absolute",style:{transform:`translate(-50%, -50%) translate(${ee+(Q-ee)/2}px, ${ne}px)`},children:I.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[I.jsx("title",{children:_("shortcuts.arrowLeft")}),I.jsx("polygon",{points:"15,5 6,10 15,15",fill:fe})]})})}),S&&ae&&I.jsx(N9t,{children:I.jsx("div",{className:"nodrag nopan pointer-events-auto absolute",style:{transform:`translate(-50%, -50%) translate(${j}px, ${z}px)`},children:I.jsx("button",{onClick:he,className:"flex h-6 w-6 items-center justify-center rounded-full bg-destructive text-destructive-foreground shadow-md transition-transform hover:scale-110 focus:outline-none focus:ring-2 focus:ring-destructive focus:ring-offset-2",title:_("buttons.deleteConnection"),"aria-label":_("buttons.deleteConnection"),type:"button",children:I.jsx(aae,{className:"h-3.5 w-3.5"})})})})]})}function gb(n){const i=po(c=>c.nodeErrors.get(n));return H.useMemo(()=>{const c=i??[],d=b=>{const w=c.find(E=>E.path.includes(b));return w==null?void 0:w.message},g=()=>{const b=c.find(w=>w.path.includes("_root")||w.path.length===0);return b==null?void 0:b.message};return{hasErrors:c.length>0,errors:c,errorMessages:c.map(b=>b.message),getFieldError:d,getRootError:g}},[i])}const zer=H.memo(function({id:i,data:s,selected:c}){var z;const{t:d}=jo(["nodes"]),g=po(ee=>ee.activeNodeId),b=po(ee=>ee.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=gb(i),S=g===i,_=b(i),A=s.enabled===!1,C=typeof s.stop=="string",O=C?s.stop:void 0,L=C&&s.error===!0;let D,B;!C&&typeof s.service=="string"&&s.service.includes(".")&&([D,B]=s.service.split("."));const $=!C&&typeof s.event=="string"&&s.event.trim()!=="",P=(z=s.target)==null?void 0:z.entity_id,j=C||!s.target?null:Array.isArray(P)?`${P.length} entities selected`:P;return C?I.jsxs("div",{className:nr("relative min-w-[180px] rounded-lg border-2 border-orange-400 bg-orange-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-orange-500 ring-offset-2",S&&"node-active ring-4 ring-orange-500",A&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),A&&!w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-orange-200 p-1",children:I.jsx(gPn,{className:"h-4 w-4 text-orange-700"})}),I.jsx("span",{className:"font-semibold text-orange-900 text-sm",children:s.alias||d("nodes:types.stop")}),_&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-orange-600 font-bold text-white text-xs",children:_})]}),I.jsxs("div",{className:"space-y-0.5 text-orange-700 text-xs",children:[I.jsx("div",{className:"font-medium opacity-70",children:d(L?"nodes:actions.stopError":"nodes:actions.stopExecution")}),O&&I.jsx("div",{className:"truncate opacity-75 italic",children:O})]})]}):I.jsxs("div",{className:nr("relative min-w-[180px] rounded-lg border-2 border-green-400 bg-green-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-green-500 ring-offset-2",S&&"node-active ring-4 ring-green-500",A&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),A&&!w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-green-500 !border-green-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-green-200 p-1",children:I.jsx(Cz,{className:"h-4 w-4 text-green-700"})}),I.jsx("span",{className:"font-semibold text-green-900 text-sm",children:s.alias||($?s.event:B)||"Action"}),_&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-green-600 font-bold text-white text-xs",children:_})]}),I.jsxs("div",{className:"space-y-0.5 text-green-700 text-xs",children:[I.jsx("div",{className:"font-medium",children:$?I.jsx("span",{className:"opacity-60",children:d("nodes:actions.fireEvent")}):I.jsxs(I.Fragment,{children:[I.jsxs("span",{className:"opacity-60",children:[D,"."]}),B]})}),j&&I.jsx("div",{className:"truncate opacity-75",children:j})]}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-green-500 !border-green-700"})]})}),Ger=H.memo(function({id:i,data:s,selected:c}){const d=po(C=>C.activeNodeId),g=po(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),_=s.enabled===!1,A={state:"State",numeric_state:"Numeric",template:"Template",time:"Time",zone:"Zone",sun:"Sun",and:"AND",or:"OR",not:"NOT",device:"Device",trigger:"Trigger"};return I.jsxs("div",{className:nr("group relative min-w-[180px] rounded-lg border-2 border-blue-400 bg-blue-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-blue-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",_&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),_&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-blue-500 !border-blue-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-blue-200 p-1",children:I.jsx(G5e,{className:"h-4 w-4 text-blue-700"})}),I.jsx("span",{className:"font-semibold text-blue-900 text-sm",children:s.alias||A[s.condition]||"Condition"}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-blue-600 font-bold text-white text-xs",children:S})]}),I.jsxs("div",{className:"space-y-0.5 text-blue-700 text-xs",children:[I.jsx("div",{className:"font-medium",children:A[s.condition]||s.condition}),s.entity_id&&I.jsx("div",{className:"truncate opacity-75",children:Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id}),s.state&&I.jsxs("div",{className:"opacity-75",children:["= ",s.state]}),s.above!=null&&I.jsxs("div",{className:"opacity-75",children:["> ",s.above]}),s.below!=null&&I.jsxs("div",{className:"opacity-75",children:["< ",s.below]}),s.after&&I.jsxs("div",{className:"opacity-75",children:["after: ",s.after]}),s.before&&I.jsxs("div",{className:"opacity-75",children:["before: ",s.before]}),s.zone&&I.jsxs("div",{className:"opacity-75",children:["zone: ",s.zone]}),s.attribute&&I.jsxs("div",{className:"opacity-75",children:["attr: ",s.attribute]}),s.for&&I.jsxs("div",{className:"opacity-75",children:["for: ",typeof s.for=="string"?s.for:`${s.for.hours||0}h ${s.for.minutes||0}m ${s.for.seconds||0}s`]}),s.template&&I.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[s.template.slice(0,30),"..."]}),s.value_template&&I.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[s.value_template.slice(0,30),"..."]}),typeof s.id=="string"&&I.jsxs("div",{className:"opacity-75",children:["id: ",s.id]}),Array.isArray(s.conditions)&&s.conditions.length>0&&I.jsx("div",{className:"opacity-75",children:eoe("nodes:conditions.nestedConditions",{count:s.conditions.length})})]}),I.jsx($h,{type:"source",position:qr.Right,id:"true",style:{top:"30%"},className:"!w-3 !h-3 !bg-green-500 !border-green-700"}),I.jsx($h,{type:"source",position:qr.Right,id:"false",style:{top:"70%"},className:"!w-3 !h-3 !bg-red-500 !border-red-700"}),I.jsx("div",{className:"absolute top-[30%] right-[-40px] -translate-y-1/2 transform rounded border border-green-200 bg-white px-1 py-0.5 font-medium text-[10px] text-green-700 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:eoe("nodes:conditions.yes")}),I.jsx("div",{className:"absolute top-[70%] right-[-36px] -translate-y-1/2 transform rounded border border-red-200 bg-white px-1 py-0.5 font-medium text-[10px] text-red-700 opacity-0 shadow-sm transition-opacity group-hover:opacity-100",children:eoe("nodes:conditions.no")})]})});function yKt(n){if(!n)return"";if(typeof n=="string")return n;if(typeof n=="object"){const i=[];return n.hours&&i.push(`${n.hours}h`),n.minutes&&i.push(`${n.minutes}m`),n.seconds&&i.push(`${n.seconds}s`),n.milliseconds&&i.push(`${n.milliseconds}ms`),i.join(" ")||"0s"}return String(n)}const qer=H.memo(function({id:i,data:s,selected:c}){const d=po(C=>C.activeNodeId),g=po(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),_=s.enabled===!1,A=yKt(s.delay);return I.jsxs("div",{className:nr("relative min-w-[140px] rounded-lg border-2 border-purple-400 bg-purple-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-purple-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",_&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),_&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-purple-500 !border-purple-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-purple-200 p-1",children:I.jsx(H5e,{className:"h-4 w-4 text-purple-700"})}),I.jsx("span",{className:"font-semibold text-purple-900 text-sm",children:s.alias||"Delay"}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-purple-600 font-bold text-white text-xs",children:S})]}),I.jsx("div",{className:"text-purple-700 text-xs",children:I.jsx("div",{className:"font-mono",children:A})}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-purple-500 !border-purple-700"})]})}),Ver=H.memo(function({id:i,data:s,selected:c}){const d=po(C=>C.activeNodeId),g=po(C=>C.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),_=s.enabled===!1,A=Object.keys(s.variables||{}).length;return I.jsxs("div",{className:nr("relative min-w-[160px] rounded-lg border-2 border-cyan-400 bg-cyan-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-cyan-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",_&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),_&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-cyan-200 p-1",children:I.jsx(CGt,{className:"h-4 w-4 text-cyan-700"})}),I.jsx("span",{className:"font-semibold text-cyan-900 text-sm",children:s.alias||"Set Variables"}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-cyan-600 font-bold text-white text-xs",children:S})]}),I.jsx("div",{className:"text-cyan-700 text-xs",children:I.jsx("div",{className:"font-medium opacity-75",children:eoe("nodes:variables.variableCount",{count:A})})}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-cyan-500 !border-cyan-700"})]})}),Wer=H.memo(function({id:i,data:s,selected:c}){const d=po(L=>L.activeNodeId),g=po(L=>L.getExecutionStepNumber),{hasErrors:b,errorMessages:w}=gb(i),E=d===i,S=g(i),_=s.enabled===!1,A={state:"State Change",time:"Time",time_pattern:"Time Pattern",event:"Event",mqtt:"MQTT",webhook:"Webhook",sun:"Sun",zone:"Zone",numeric_state:"Numeric State",template:"Template",homeassistant:"Home Assistant",device:"Device"},O=(()=>{const L=s.trigger;switch(L){case"device":return{title:s.alias||"Device Trigger",subtitle:s.type?`${s.domain||"device"}: ${s.type}`:"Device",detail:s.device_id?`Device: ${String(s.device_id).substring(0,8)}...`:null};case"state":return{title:s.alias||"State Change",subtitle:Array.isArray(s.entity_id)?`${s.entity_id.length} entities:
${s.entity_id.join(", ")}`:s.entity_id||"State",detail:s.to?`to: ${s.to}`:null};case"numeric_state":return{title:s.alias||"Numeric State",subtitle:Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id||"Numeric State",detail:s.above||s.below?`${s.above?`>${s.above}`:""}${s.above&&s.below?" ":""}${s.below?`<${s.below}`:""}`:null};case"event":return{title:s.alias||"Event",subtitle:A[L],detail:s.event_type||null};case"time":return{title:s.alias||"Time",subtitle:A[L],detail:s.at||null};case"sun":return{title:s.alias||"Sun",subtitle:A[L],detail:s.event?`${s.event}${s.offset?` ${s.offset}`:""}`:null};case"mqtt":return{title:s.alias||"MQTT",subtitle:A[L],detail:s.topic||null};case"webhook":return{title:s.alias||"Webhook",subtitle:A[L],detail:s.webhook_id||null};case"zone":return{title:s.alias||"Zone",subtitle:A[L],detail:s.zone||(Array.isArray(s.entity_id)?s.entity_id.join(", "):s.entity_id)||null};default:return{title:s.alias||A[L]||"Trigger",subtitle:A[L]||L,detail:null}}})();return I.jsxs("div",{className:nr("relative min-w-[180px] max-w-[300px] rounded-lg border-2 border-amber-400 bg-amber-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-amber-500 ring-offset-2",E&&"node-active ring-4 ring-green-500",_&&"border-dashed opacity-50 grayscale",b&&"border-red-500 ring-2 ring-red-400"),children:[b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:w.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),_&&!b&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-amber-200 p-1",children:I.jsx(RGt,{className:"h-4 w-4 text-amber-700"})}),I.jsx("span",{className:"font-semibold text-amber-900 text-sm",children:O.title}),S&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-amber-600 font-bold text-white text-xs",children:S})]}),I.jsxs("div",{className:"space-y-0.5 text-amber-700 text-xs",children:[I.jsx("div",{className:"line-clamp-2 truncate whitespace-pre-line font-medium",children:O.subtitle}),O.detail&&I.jsx("div",{className:"truncate opacity-75",children:String(O.detail)})]}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-amber-500 !border-amber-700"})]})}),Ker=H.memo(function({id:i,data:s,selected:c}){const{t:d}=jo(["common","nodes"]),g=po(O=>O.activeNodeId),b=po(O=>O.getExecutionStepNumber),{hasErrors:w,errorMessages:E}=gb(i),S=g===i,_=b(i),A=s.enabled===!1,C=yKt(s.timeout);return I.jsxs("div",{className:nr("relative min-w-[140px] rounded-lg border-2 border-orange-400 bg-orange-50 px-4 py-3","transition-all duration-200",c&&"ring-2 ring-orange-500 ring-offset-2",S&&"node-active ring-4 ring-green-500",A&&"border-dashed opacity-50 grayscale",w&&"border-red-500 ring-2 ring-red-400"),children:[w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-white shadow-sm",title:E.join(`
`),children:I.jsx(kw,{className:"h-3 w-3"})}),A&&!w&&I.jsx("div",{className:"absolute -top-2 -right-2 flex h-5 w-5 items-center justify-center rounded-full bg-gray-500 text-white shadow-sm",children:I.jsx(iN,{className:"h-3 w-3"})}),I.jsx($h,{type:"target",position:qr.Left,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"}),I.jsxs("div",{className:"mb-1 flex items-center gap-2",children:[I.jsx("div",{className:"rounded bg-orange-200 p-1",children:I.jsx(AGt,{className:"h-4 w-4 text-orange-700"})}),I.jsx("span",{className:"font-semibold text-orange-900 text-sm",children:s.alias||"Wait for"}),_&&I.jsx("div",{className:"ml-auto flex h-5 w-5 items-center justify-center rounded-full bg-orange-600 font-bold text-white text-xs",children:_})]}),I.jsxs("div",{className:"space-y-0.5 text-orange-700 text-xs",children:[s.wait_template&&I.jsxs("div",{className:"truncate font-mono text-[10px] opacity-75",children:[s.wait_template.slice(0,30),"..."]}),s.wait_for_trigger&&I.jsx("div",{className:"truncate text-[10px] opacity-75",children:d("nodes:wait.waitsForNTrigger",{count:s.wait_for_trigger.length})}),C&&I.jsxs("div",{className:"opacity-75",children:[d("nodes:wait.timeoutLabel")," ",C]})]}),I.jsx($h,{type:"source",position:qr.Right,className:"!w-3 !h-3 !bg-orange-500 !border-orange-700"})]})});var Yer=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Jer=Yer.reduce((n,i)=>{const s=fae(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),Xer="Separator",o$t="horizontal",Zer=["horizontal","vertical"],vKt=H.forwardRef((n,i)=>{const{decorative:s,orientation:c=o$t,...d}=n,g=Qer(c)?c:o$t,w=s?{role:"none"}:{"aria-orientation":g==="vertical"?g:void 0,role:"separator"};return I.jsx(Jer.div,{"data-orientation":g,...w,...d,ref:i})});vKt.displayName=Xer;function Qer(n){return Zer.includes(n)}var EKt=vKt;const $z=H.forwardRef(({className:n,orientation:i="horizontal",decorative:s=!0,...c},d)=>I.jsx(EKt,{ref:d,decorative:s,orientation:i,className:nr("shrink-0 bg-border",i==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",n),...c}));$z.displayName=EKt.displayName;function etr(){const{undo:n,redo:i,canUndo:s,canRedo:c}=fKt(po.temporal,pKt(b=>({undo:b.undo,redo:b.redo,canUndo:b.pastStates.length>0,canRedo:b.futureStates.length>0}))),d=H.useCallback(()=>{n(),po.getState().validateAllNodes()},[n]),g=H.useCallback(()=>{i(),po.getState().validateAllNodes()},[i]);return{undo:d,redo:g,canUndo:s,canRedo:c}}function KMe(){var i;const n=navigator;return(i=n.userAgentData)!=null&&i.platform?n.userAgentData.platform==="macOS":/Mac|iPhone|iPod|iPad/.test(navigator.platform)||/Macintosh/.test(navigator.userAgent)}function ttr(n){return{name:"align-bottom",icon:c8n,tooltip:n("toolbar.alignBottom"),shortcut:"ctrl+shift+b",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.max(...i.selectedNodes.map(g=>g.position.y+(g.height||0))),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,y:s-(g.height||0)}}:g);i.setNodes(d)}}}function ntr(n){return{name:"align-left",icon:p8n,tooltip:n("toolbar.alignLeft"),shortcut:"ctrl+shift+l",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.min(...i.selectedNodes.map(g=>g.position.x)),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,x:s}}:g);i.setNodes(d)}}}function rtr(n){return{name:"align-right",icon:l8n,tooltip:n("toolbar.alignRight"),shortcut:"ctrl+shift+r",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.max(...i.selectedNodes.map(g=>g.position.x+(g.width||0))),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,x:s-(g.width||0)}}:g);i.setNodes(d)}}}function itr(n){return{name:"align-top",icon:f8n,tooltip:n("toolbar.alignTop"),shortcut:"ctrl+shift+t",group:"align",isEnabled:i=>i.selectedNodes.length>=2,execute:i=>{const s=Math.min(...i.selectedNodes.map(g=>g.position.y)),c=i.selectedNodes.map(g=>g.id),d=i.nodes.map(g=>c.includes(g.id)?{...g,position:{...g.position,y:s}}:g);i.setNodes(d)}}}function SKt(n){const i=n.selectedNodes.map(c=>c.id),s=n.edges.filter(c=>i.includes(c.source)&&i.includes(c.target));n.setClipboard(JSON.stringify({nodes:n.selectedNodes,edges:s})),n.setPasteCount(0)}function TKt(n,i,s){const c=(s.pasteCount||0)+1;s.setPasteCount(c);const d=50*c,g=new Map,b=s.nodes.map(E=>({...E,selected:!1})),w=n.map(E=>{const S=tz(E.type??"node");return g.set(E.id,S),{...E,selected:!0,id:S,position:{x:E.position.x+d,y:E.position.y+d}}});if(s.setNodes([...b,...w]),i.length>0){const E=i.map(S=>({...S,id:`edge-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,source:g.get(S.source)??S.source,target:g.get(S.target)??S.target}));s.setEdges([...s.edges,...E])}}function otr(n){return{name:"copy",icon:z5e,tooltip:n("toolbar.copy"),shortcut:"ctrl+c",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{SKt(i),bw.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} copied`)}}}function str(n){return{name:"cut",icon:RPn,tooltip:n("toolbar.cut"),shortcut:"ctrl+x",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const s=i.selectedNodes.length;SKt(i),i.selectedNodes.forEach(c=>{i.removeNode(c.id)}),bw.success(`${s} node${s!==1?"s":""} cut`)}}}function atr(n){return{name:"delete",icon:jM,tooltip:n("toolbar.deleteNode"),shortcut:["delete","backspace"],variant:"destructive",group:"delete",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(s=>{i.removeNode(s.id)})}}}function ctr(n){return{name:"disconnect",icon:HPn,tooltip:n("toolbar.disconnect"),shortcut:"ctrl+shift+d",group:"edit",isEnabled:i=>{if(i.selectedNodes.length===0)return!1;const s=i.selectedNodes.map(c=>c.id);return i.edges.some(c=>s.includes(c.source)||s.includes(c.target))},execute:i=>{const s=i.selectedNodes.map(d=>d.id),c=i.edges.filter(d=>!s.includes(d.source)&&!s.includes(d.target));i.setEdges(c)}}}function utr(n){return{name:"duplicate",icon:z8n,tooltip:n("toolbar.duplicate"),shortcut:"ctrl+d",group:"clipboard",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{const s=i.selectedNodes.map(d=>d.id),c=i.edges.filter(d=>s.includes(d.source)&&s.includes(d.target));TKt(i.selectedNodes,c,i),bw.success(`${i.selectedNodes.length} node${i.selectedNodes.length!==1?"s":""} duplicated`)}}}function ltr(n){return{name:"paste",icon:B8n,tooltip:n("toolbar.paste"),shortcut:"ctrl+v",group:"clipboard",isEnabled:i=>!!(i.clipboard&&i.clipboard.length>0),execute:i=>{if(i.clipboard)try{const s=JSON.parse(i.clipboard),c=s.nodes||[],d=s.edges||[];if(!Array.isArray(c)||c.length===0)return;TKt(c,d,i)}catch(s){console.warn("Invalid clipboard data, cannot paste.",s)}}}}function dtr(n){return{name:"redo",icon:kPn,tooltip:n("toolbar.redo"),shortcut:["ctrl+shift+z","ctrl+y"],group:"history",isEnabled:i=>i.canRedo,execute:i=>i.redo()}}function ftr(n){return{name:"run",icon:Cz,tooltip:n("toolbar.runAction"),group:"node-specific",shortcut:"ctrl+enter",isEnabled:i=>i.selectedNodes.length>0&&i.selectedNodes.every(s=>s.type==="action"),execute:async i=>{for(const s of i.selectedNodes){if(s.type!=="action")continue;const c=s.data;if(!c.service){console.warn(`Action node ${s.id} has no service defined`);continue}try{await Tw(i.hass,i.hassConfig).executeAction({service:c.service,data:c.data,target:c.target}),bw.success(n("toolbar.runActionSuccess",{service:c.service}))}catch(d){bw.error(n("toolbar.runActionFailed",{service:c.service,message:d instanceof Error?d.message:String(d)}))}}}}}function htr(n){return{name:"selectAll",icon:hPn,tooltip:n("toolbar.selectAll"),shortcut:"ctrl+a",group:"selection",isEnabled:()=>!0,execute:i=>{const s=i.nodes.map(d=>({...d,selected:!0}));i.setNodes(s);const c=i.edges.map(d=>({...d,selected:!0}));i.setEdges(c)}}}function ptr(n){return{name:"toggle-enabled",icon:R9t,getIcon:i=>{const s=i.selectedNodes.every(d=>d.data.enabled===!1),c=i.selectedNodes.every(d=>d.data.enabled!==!1);return s?P8n:c?iN:R9t},tooltip:i=>{const s=i.selectedNodes.every(d=>d.data.enabled===!1),c=i.selectedNodes.every(d=>d.data.enabled!==!1);return n(s?"toolbar.enable":c?"toolbar.disable":"toolbar.toggleEnabled")},shortcut:"ctrl+e",group:"edit",isEnabled:i=>i.selectedNodes.length>0,execute:i=>{i.selectedNodes.forEach(s=>{const c=s.data.enabled!==!1;i.updateNodeData(s.id,{enabled:!c})})}}}function gtr(n){return{name:"undo",icon:BPn,tooltip:n("toolbar.undo"),shortcut:"ctrl+z",group:"history",isEnabled:i=>i.canUndo,execute:i=>i.undo()}}function btr(n,i){const s=KMe();return n.split("+").map(c=>c==="ctrl"?i(s?"shortcuts.cmd":"shortcuts.ctrl"):c==="shift"?i("shortcuts.shift"):c==="alt"?i("shortcuts.alt"):c==="arrowup"?i("shortcuts.arrowUp"):c==="arrowdown"?i("shortcuts.arrowDown"):c==="arrowleft"?i("shortcuts.arrowLeft"):c==="arrowright"?i("shortcuts.arrowRight"):c.charAt(0).toUpperCase()+c.slice(1)).join("+")}const KOe=["history","node-specific","selection","clipboard","edit","align","delete"];function mtr(){var ae;const{t:n}=jo(),{hass:i,config:s}=Wg(),{nodes:c,edges:d,clipboard:g,pasteCount:b,addNode:w,removeNode:E,updateNodeData:S,setNodes:_,setEdges:A,setClipboard:C,setPasteCount:O}=po(pKt(he=>({nodes:he.nodes,edges:he.edges,clipboard:he.clipboard,pasteCount:he.pasteCount,addNode:he.addNode,removeNode:he.removeNode,updateNodeData:he.updateNodeData,setNodes:he.setNodes,setEdges:he.setEdges,setClipboard:he.setClipboard,setPasteCount:he.setPasteCount}))),{undo:L,redo:D,canUndo:B,canRedo:$}=etr(),P=H.useMemo(()=>({selectedNodes:c.filter(he=>he.selected),nodes:c,edges:d,clipboard:g,pasteCount:b,hass:i,hassConfig:s,addNode:w,removeNode:E,updateNodeData:S,setNodes:_,setEdges:A,setClipboard:C,setPasteCount:O,undo:L,redo:D,canUndo:B,canRedo:$}),[c,d,g,b,i,s,w,E,S,_,A,C,O,L,D,B,$]),j=H.useMemo(()=>[gtr(n),dtr(n),ftr(n),utr(n),otr(n),str(n),ltr(n),ntr(n),rtr(n),itr(n),ttr(n),ctr(n),htr(n),ptr(n),atr(n)],[n]),z=j.length>0;H.useEffect(()=>{if(!z)return;const he=pe=>{const ue=pe.target;if(ue.tagName==="INPUT"||ue.tagName==="TEXTAREA"||ue.isContentEditable)return;const K=KMe()?pe.metaKey:pe.ctrlKey;let ge="";K&&(ge+="ctrl+"),pe.shiftKey&&(ge+="shift+"),pe.altKey&&(ge+="alt+"),ge+=pe.key.toLowerCase();const De=j.find(Se=>!Se.shortcut||!(Array.isArray(Se.shortcut)?Se.shortcut:[Se.shortcut]).includes(ge)?!1:Se.isEnabled?Se.isEnabled(P):!0);De&&(pe.preventDefault(),De.execute(P))};return window.addEventListener("keydown",he),()=>window.removeEventListener("keydown",he)},[z,j,P]);const ee=H.useMemo(()=>{const he={};for(const pe of j){const ue=pe.group||"node-specific";he[ue]||(he[ue]=[]),he[ue].push(pe)}return he},[j]);if(!z)return null;let ne=0;try{g&&(ne=((ae=JSON.parse(g).nodes)==null?void 0:ae.length)||0)}catch{}const Q=he=>!he||he.length===0?null:he.map(pe=>{const ue=pe.getIcon?pe.getIcon(P):pe.icon,fe=typeof pe.tooltip=="function"?pe.tooltip(P):pe.tooltip,K=pe.isEnabled?pe.isEnabled(P):!0,ge=pe.name==="paste";return I.jsxs(mi,{variant:"ghost",size:"icon",disabled:!K,className:nr("relative h-8 w-8 shrink-0","sm:h-9 sm:w-9",pe.variant==="destructive"&&"text-destructive hover:bg-destructive/10 hover:text-destructive"),title:pe.shortcut?`${fe} (${btr(Array.isArray(pe.shortcut)?pe.shortcut[0]:pe.shortcut,n)})`:fe,onClick:()=>pe.execute(P),children:[I.jsx(ue,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4"}),ge&&ne>0&&I.jsx("span",{className:"absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-primary font-bold text-[9px] text-primary-foreground",children:ne})]},pe.name)});return I.jsx(gR,{position:"top-center",className:"!m-0 !p-0 max-w-[calc(100%-0.5rem)] sm:max-w-[calc(100%-2rem)]",children:I.jsx("div",{className:nr("ml-6 flex items-center gap-0.5 rounded-lg border bg-background/95 px-1.5 py-1 shadow-lg backdrop-blur supports-[backdrop-filter]:bg-background/60 sm:ml-4 sm:gap-1 sm:px-2 sm:py-1.5 lg:ml-0","fade-in slide-in-from-top-2 animate-in duration-200","scrollbar-thin scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent overflow-x-auto","max-w-full"),children:I.jsx("div",{className:"flex shrink-0 items-center gap-0.5 sm:gap-1",children:KOe.map((he,pe)=>{var fe;const ue=ee[he];return!ue||ue.length===0?null:I.jsxs("div",{className:"flex items-center gap-0.5 sm:gap-1",children:[Q(ue),pe<KOe.length-1&&((fe=ee[KOe[pe+1]])==null?void 0:fe.length)>0&&I.jsx($z,{orientation:"vertical",className:"mx-0.5 h-6 sm:mx-1"})]},he)})})})})}const wtr={trigger:Wer,condition:Ger,action:zer,delay:qer,wait:Ker,set_variables:Ver},ytr={deletable:Her};function vtr(){const{t:n}=jo(["common","debug"]),i=qae(),{nodes:s,edges:c,onNodesChange:d,onEdgesChange:g,onConnect:b,selectNode:w,addNode:E,selectedNodeId:S,isSimulating:_,executionPath:A,isShowingTrace:C,traceExecutionPath:O,canDeleteEdge:L}=po(),D=H.useRef(null),{screenToFlowPosition:B,setViewport:$}=kR(),[P,j]=H.useState(null),z=H.useCallback((fe,K)=>{var Re;if(K.toNode||!K.fromHandle||!K.fromNode)return;const ge=fe.target;if(!((Re=ge==null?void 0:ge.closest)!=null&&Re.call(ge,".react-flow__pane")))return;const De="changedTouches"in fe?fe.changedTouches[0]:fe;if(!De)return;const Se=B({x:De.clientX,y:De.clientY});j({screenPosition:{screenX:De.clientX,screenY:De.clientY},flowPosition:Se,fromNodeId:K.fromHandle.nodeId,fromHandleId:K.fromHandle.id??null,direction:K.fromHandle.type==="source"?"forward":"backward"})},[B]),ee=H.useCallback(()=>j(null),[]),ne=H.useCallback(fe=>{if(!P)return;const De={id:tz(fe.type),type:fe.type,position:{x:P.flowPosition.x-180/2,y:P.flowPosition.y-80/2},data:{...fe.defaultData}};E(De),b(QQn(P.direction,P.fromNodeId,P.fromHandleId,De.id)),j(null)},[P,E,b]);H.useEffect(()=>{$({x:0,y:0,zoom:.75})},[$]);const Q=H.useCallback(({nodes:fe})=>{fe.length===1?w(fe[0].id):w(null)},[w]),ae=H.useCallback(fe=>{fe.preventDefault(),fe.dataTransfer.dropEffect="move"},[]),he=H.useCallback(async({nodes:fe,edges:K})=>{const ge=K.filter(De=>L(De.id));return{nodes:fe,edges:ge}},[L]),pe=H.useCallback(fe=>{fe.preventDefault();const K=fe.dataTransfer.getData("application/reactflow");if(K)try{const{type:ge,defaultData:De}=JSON.parse(K),Se=B({x:fe.clientX,y:fe.clientY}),xe={x:Se.x-180/2,y:Se.y-80/2},We={id:tz(ge),type:ge,position:xe,data:{...De}};E(We)}catch(ge){console.error("Failed to parse dropped node data:",ge)}},[B,E]),ue=H.useMemo(()=>c.map(fe=>{const K=A.indexOf(fe.source),ge=A.indexOf(fe.target),De=_&&A.length>=2&&K!==-1&&ge!==-1&&ge===K+1,Se=O.indexOf(fe.source),Re=O.indexOf(fe.target),Ae=C&&O.length>=2&&Se!==-1&&Re!==-1&&Re===Se+1,xe=S&&(fe.source===S||fe.target===S);let We={strokeWidth:2,stroke:i?"#94a3b8":"#64748b"},ut={type:sA.ArrowClosed,color:i?"#94a3b8":"#64748b"};return De?(We={stroke:"#22c55e",strokeWidth:3},ut={type:sA.ArrowClosed,color:"#22c55e"}):Ae?(We={stroke:"#f59e0b",strokeWidth:3},ut={type:sA.ArrowClosed,color:"#f59e0b"}):xe&&(We={stroke:"#3b82f6",strokeWidth:3},ut={type:sA.ArrowClosed,color:"#3b82f6"}),{...fe,type:"deletable",animated:De||Ae,style:We,markerEnd:ut}}),[c,_,A,C,O,S,i]);return I.jsxs("div",{className:"h-full w-full",ref:D,children:[I.jsxs(x9n,{colorMode:i?"dark":"light",nodes:s,edges:ue,onNodesChange:d,onEdgesChange:g,onConnect:b,onConnectEnd:z,onBeforeDelete:he,onSelectionChange:Q,onDragOver:ae,onDrop:pe,panOnScroll:KMe(),nodeTypes:wtr,edgeTypes:ytr,defaultEdgeOptions:{type:"deletable",style:{strokeWidth:2,stroke:i?"#94a3b8":"#64748b"},markerEnd:{type:sA.ArrowClosed,color:i?"#94a3b8":"#64748b"}},defaultViewport:{x:0,y:0,zoom:.75},maxZoom:2,minZoom:.3,fitView:!0,fitViewOptions:{maxZoom:.75},snapToGrid:!0,snapGrid:[15,15],deleteKeyCode:null,className:i?"dark bg-background":"bg-muted/30",proOptions:{hideAttribution:!0},children:[I.jsx(O9n,{variant:pA.Dots,gap:20,size:1,color:i?"#475569":"#cbd5e1"}),I.jsx($9n,{}),I.jsx(Z9n,{nodeStrokeWidth:3,zoomable:!0,pannable:!0,nodeClassName:fe=>{switch(fe.type){case"trigger":return"fill-amber-50 stroke-amber-400";case"condition":return"fill-blue-50 stroke-blue-400";case"action":return"fill-green-50 stroke-green-400";case"delay":return"fill-purple-50 stroke-purple-400";case"wait":return"fill-orange-50 stroke-orange-400";case"set_variables":return"fill-cyan-50 stroke-cyan-400";default:return"fill-slate-100 stroke-slate-400"}}}),I.jsx(mtr,{}),_&&I.jsx(gR,{position:"top-left",className:"rounded-lg border border-green-300 bg-green-100 px-4 py-2 dark:border-green-700 dark:bg-green-950",children:I.jsxs("div",{className:"flex items-center gap-2 font-medium text-green-800 text-sm dark:text-green-200",children:[I.jsx("div",{className:"h-2 w-2 animate-pulse rounded-full bg-green-500"}),n("debug:simulation.simulatingExecution")]})}),C&&!_&&I.jsx(gR,{position:"top-left",className:"rounded-lg border border-orange-300 bg-orange-100 px-4 py-2 dark:border-orange-700 dark:bg-orange-950",children:I.jsxs("div",{className:"flex items-center gap-2 font-medium text-orange-800 text-sm dark:text-orange-200",children:[I.jsx("div",{className:"h-2 w-2 rounded-full bg-orange-500"}),n("debug:simulation.showingTraceExecution",{steps:O.length})]})})]}),I.jsx(eer,{position:(P==null?void 0:P.screenPosition)??null,direction:(P==null?void 0:P.direction)??"forward",onSelect:ne,onClose:ee})]})}const Etr=xae("inline-flex items-center rounded-md border px-2.5 py-0.5 font-semibold text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function YMe({className:n,variant:i,...s}){return I.jsx("div",{className:nr(Etr({variant:i}),n),...s})}function Vae(n){const i=H.useRef({value:n,previous:n});return H.useMemo(()=>(i.current.value!==n&&(i.current.previous=i.current.value,i.current.value=n),i.current.previous),[n])}var Wae="Checkbox",[Str]=Nw(Wae),[Ttr,JMe]=Str(Wae);function Atr(n){const{__scopeCheckbox:i,checked:s,children:c,defaultChecked:d,disabled:g,form:b,name:w,onCheckedChange:E,required:S,value:_="on",internal_do_not_use_render:A}=n,[C,O]=G2({prop:s,defaultProp:d??!1,onChange:E,caller:Wae}),[L,D]=H.useState(null),[B,$]=H.useState(null),P=H.useRef(!1),j=L?!!b||!!L.closest("form"):!0,z={checked:C,disabled:g,setChecked:O,control:L,setControl:D,name:w,form:b,value:_,hasConsumerStoppedPropagationRef:P,required:S,defaultChecked:tN(d)?!1:d,isFormControl:j,bubbleInput:B,setBubbleInput:$};return I.jsx(Ttr,{scope:i,...z,children:_tr(A)?A(z):c})}var AKt="CheckboxTrigger",_Kt=H.forwardRef(({__scopeCheckbox:n,onKeyDown:i,onClick:s,...c},d)=>{const{control:g,value:b,disabled:w,checked:E,required:S,setControl:_,setChecked:A,hasConsumerStoppedPropagationRef:C,isFormControl:O,bubbleInput:L}=JMe(AKt,n),D=ps(d,_),B=H.useRef(E);return H.useEffect(()=>{const $=g==null?void 0:g.form;if($){const P=()=>A(B.current);return $.addEventListener("reset",P),()=>$.removeEventListener("reset",P)}},[g,A]),I.jsx(no.button,{type:"button",role:"checkbox","aria-checked":tN(E)?"mixed":E,"aria-required":S,"data-state":IKt(E),"data-disabled":w?"":void 0,disabled:w,value:b,...c,ref:D,onKeyDown:Dr(i,$=>{$.key==="Enter"&&$.preventDefault()}),onClick:Dr(s,$=>{A(P=>tN(P)?!0:!P),L&&O&&(C.current=$.isPropagationStopped(),C.current||$.stopPropagation())})})});_Kt.displayName=AKt;var XMe=H.forwardRef((n,i)=>{const{__scopeCheckbox:s,name:c,checked:d,defaultChecked:g,required:b,disabled:w,value:E,onCheckedChange:S,form:_,...A}=n;return I.jsx(Atr,{__scopeCheckbox:s,checked:d,defaultChecked:g,disabled:w,required:b,onCheckedChange:S,name:c,form:_,value:E,internal_do_not_use_render:({isFormControl:C})=>I.jsxs(I.Fragment,{children:[I.jsx(_Kt,{...A,ref:i,__scopeCheckbox:s}),C&&I.jsx(CKt,{__scopeCheckbox:s})]})})});XMe.displayName=Wae;var xKt="CheckboxIndicator",kKt=H.forwardRef((n,i)=>{const{__scopeCheckbox:s,forceMount:c,...d}=n,g=JMe(xKt,s);return I.jsx(Cw,{present:c||tN(g.checked)||g.checked===!0,children:I.jsx(no.span,{"data-state":IKt(g.checked),"data-disabled":g.disabled?"":void 0,...d,ref:i,style:{pointerEvents:"none",...n.style}})})});kKt.displayName=xKt;var NKt="CheckboxBubbleInput",CKt=H.forwardRef(({__scopeCheckbox:n,...i},s)=>{const{control:c,hasConsumerStoppedPropagationRef:d,checked:g,defaultChecked:b,required:w,disabled:E,name:S,value:_,form:A,bubbleInput:C,setBubbleInput:O}=JMe(NKt,n),L=ps(s,O),D=Vae(g),B=Sae(c);H.useEffect(()=>{const P=C;if(!P)return;const j=window.HTMLInputElement.prototype,ee=Object.getOwnPropertyDescriptor(j,"checked").set,ne=!d.current;if(D!==g&&ee){const Q=new Event("click",{bubbles:ne});P.indeterminate=tN(g),ee.call(P,tN(g)?!1:g),P.dispatchEvent(Q)}},[C,D,g,d]);const $=H.useRef(tN(g)?!1:g);return I.jsx(no.input,{type:"checkbox","aria-hidden":!0,defaultChecked:b??$.current,required:w,disabled:E,name:S,value:_,form:A,...i,tabIndex:-1,ref:L,style:{...i.style,...B,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});CKt.displayName=NKt;function _tr(n){return typeof n=="function"}function tN(n){return n==="indeterminate"}function IKt(n){return tN(n)?"indeterminate":n?"checked":"unchecked"}const QDe=H.forwardRef(({className:n,...i},s)=>I.jsx(XMe,{ref:s,className:nr("peer grid h-4 w-4 shrink-0 place-content-center rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",n),...i,children:I.jsx(kKt,{className:nr("grid place-content-center text-current"),children:I.jsx(oN,{className:"h-4 w-4"})})}));QDe.displayName=XMe.displayName;const Na=H.forwardRef(({className:n,type:i,...s},c)=>I.jsx("input",{type:i,autoComplete:"off",className:nr("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors caret-foreground file:border-0 file:bg-transparent file:font-medium file:text-foreground file:text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:c,...s}));Na.displayName="Input";var Kae="Switch",[xtr]=Nw(Kae),[ktr,Ntr]=xtr(Kae),RKt=H.forwardRef((n,i)=>{const{__scopeSwitch:s,name:c,checked:d,defaultChecked:g,required:b,disabled:w,value:E="on",onCheckedChange:S,form:_,...A}=n,[C,O]=H.useState(null),L=ps(i,j=>O(j)),D=H.useRef(!1),B=C?_||!!C.closest("form"):!0,[$,P]=G2({prop:d,defaultProp:g??!1,onChange:S,caller:Kae});return I.jsxs(ktr,{scope:s,checked:$,disabled:w,children:[I.jsx(no.button,{type:"button",role:"switch","aria-checked":$,"aria-required":b,"data-state":MKt($),"data-disabled":w?"":void 0,disabled:w,value:E,...A,ref:L,onClick:Dr(n.onClick,j=>{P(z=>!z),B&&(D.current=j.isPropagationStopped(),D.current||j.stopPropagation())})}),B&&I.jsx(LKt,{control:C,bubbles:!D.current,name:c,value:E,checked:$,required:b,disabled:w,form:_,style:{transform:"translateX(-100%)"}})]})});RKt.displayName=Kae;var OKt="SwitchThumb",DKt=H.forwardRef((n,i)=>{const{__scopeSwitch:s,...c}=n,d=Ntr(OKt,s);return I.jsx(no.span,{"data-state":MKt(d.checked),"data-disabled":d.disabled?"":void 0,...c,ref:i})});DKt.displayName=OKt;var Ctr="SwitchBubbleInput",LKt=H.forwardRef(({__scopeSwitch:n,control:i,checked:s,bubbles:c=!0,...d},g)=>{const b=H.useRef(null),w=ps(b,g),E=Vae(s),S=Sae(i);return H.useEffect(()=>{const _=b.current;if(!_)return;const A=window.HTMLInputElement.prototype,O=Object.getOwnPropertyDescriptor(A,"checked").set;if(E!==s&&O){const L=new Event("click",{bubbles:c});O.call(_,s),_.dispatchEvent(L)}},[E,s,c]),I.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:s,...d,tabIndex:-1,ref:w,style:{...d.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});LKt.displayName=Ctr;function MKt(n){return n?"checked":"unchecked"}var PKt=RKt,Itr=DKt;const J2=H.forwardRef(({className:n,...i},s)=>I.jsx(PKt,{className:nr("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n),...i,ref:s,children:I.jsx(Itr,{className:nr("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));J2.displayName=PKt.displayName;function Rtr(n){return Array.isArray(n)?n.filter(i=>typeof i=="string"):typeof n=="string"&&n.trim()?[n]:[]}function Otr(n,i){if(!n.entity_id.startsWith("automation."))return null;const s=typeof n.attributes.friendly_name=="string"?n.attributes.friendly_name:n.entity_id,c=typeof n.attributes.id=="string"||typeof n.attributes.id=="number"?String(n.attributes.id):n.entity_id.replace("automation.","");return{entity_id:n.entity_id,automation_id:c,friendly_name:s,enabled:n.state==="on",last_triggered:typeof n.attributes.last_triggered=="string"?n.attributes.last_triggered:void 0,description:typeof n.attributes.description=="string"?n.attributes.description:"",mode:typeof n.attributes.mode=="string"?n.attributes.mode:void 0,area_id:i,tags:Rtr(n.attributes.tags)}}function Dtr(n){return[n.entity_id,n.friendly_name,n.description,n.mode||"",n.tags.join(" ")].filter(Boolean).join(" ")}function Ltr(n,i,s){return i?[...n].sort((c,d)=>{let g=0;switch(i){case"name":{g=c.friendly_name.toLowerCase().localeCompare(d.friendly_name.toLowerCase());break}case"lastTriggered":{const b=c.last_triggered?new Date(c.last_triggered).getTime():0,w=d.last_triggered?new Date(d.last_triggered).getTime():0;g=b-w;break}case"enabled":{g=Number(c.enabled)-Number(d.enabled);break}}return s==="asc"?g:-g}):[...n]}function Mtr(n,i){if(!i.trim())return[...n];const s=n.map(d=>({...d,searchText:Dtr(d)}));return new NR(s,{keys:["searchText","entity_id","friendly_name","description"],threshold:.4,ignoreLocation:!0,includeScore:!0,minMatchCharLength:2}).search(i).map(d=>{const{searchText:g,...b}=d.item;return b})}function Ptr(n,i,s){const c={};for(const d of n){const g=d.area_id?i[d.area_id]||s.otherArea:s.noArea;c[g]||(c[g]=[]),c[g].push(d)}return c}function jtr({isOpen:n,hass:i,hassConfig:s,entities:c,searchTerm:d,sortColumn:g,sortDirection:b,labels:w}){const[E,S]=H.useState([]),[_,A]=H.useState([]);H.useEffect(()=>{if(!n||!i)return;const P=Tw(i,s);let j=!1;return(async()=>{try{const[z,ee]=await Promise.all([P.getAreas(),P.getEntities()]);j||(S(Array.isArray(z)?z:[]),A(Array.isArray(ee)?ee:[]))}catch{j||(S([]),A([]))}})(),()=>{j=!0}},[n,i,s]);const C=H.useMemo(()=>{const P={};for(const j of _)j.entity_id&&j.area_id&&(P[j.entity_id]=j.area_id);return P},[_]),O=H.useMemo(()=>{const P={};for(const j of E)j.area_id&&j.name&&(P[j.area_id]=j.name);return P},[E]),L=H.useMemo(()=>c.map(P=>Otr(P,C[P.entity_id])).filter(P=>P!==null),[c,C]),D=H.useMemo(()=>Mtr(L,d),[L,d]),B=H.useMemo(()=>Ltr(D,g,b),[D,g,b]),$=H.useMemo(()=>Ptr(B,O,w),[B,O,w]);return{areas:E,entityRegistry:_,areaIdToName:O,catalogItems:L,filteredCatalogItems:D,sortedCatalogItems:B,catalogByArea:$}}function Ftr(n){if(n.length===0)return{minX:0,minY:0,width:0,height:0};let i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,d=Number.NEGATIVE_INFINITY;for(const g of n)i=Math.min(i,g.position.x),s=Math.min(s,g.position.y),c=Math.max(c,g.position.x),d=Math.max(d,g.position.y);return{minX:i,minY:s,width:Math.max(0,c-i),height:Math.max(0,d-s)}}function $tr(n,i){return`${n.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||`source_${i+1}`}_${i+1}`}function Btr(n){const i={};for(const s of n)if(s.variables)for(const[c,d]of Object.entries(s.variables)){if(!(c in i)){i[c]=d;continue}JSON.stringify(i[c])!==JSON.stringify(d)&&(i[`${s.prefix}__${c}`]=d)}return Object.keys(i).length>0?i:void 0}function Utr(n){var C;if(n.length<2)throw new Error("At least two automations are required for merge.");const i=Math.max(1,Math.ceil(Math.sqrt(n.length))),s=n.map(O=>Ftr(O.graph.nodes)),c=Math.max(...s.map(O=>O.width),0),d=Math.max(...s.map(O=>O.height),0),g=c+260,b=d+220,w=[],E=[],S=[],_=[];n.forEach((O,L)=>{const D=$tr(O.alias||O.automationId||O.entityId,L),B=s[L],$=L%i,P=Math.floor(L/i),j=$*g,z=P*b,ee=new Map;for(const ne of O.graph.nodes){const Q=`${D}__${ne.id}`;ee.set(ne.id,Q),w.push({...ne,id:Q,position:{x:ne.position.x-B.minX+j,y:ne.position.y-B.minY+z}})}for(const ne of O.graph.edges){const Q=ee.get(ne.source),ae=ee.get(ne.target);!Q||!ae||E.push({...ne,id:`${D}__${ne.id}`,source:Q,target:ae})}S.push({automation_id:O.automationId,entity_id:O.entityId,alias:O.alias,node_prefix:D,imported_at:O.importedAt??new Date().toISOString()}),_.push({prefix:D,variables:O.graph.userVariables})});const A={mode:"single",initial_state:!0,...((C=n[0])==null?void 0:C.graph.metadata)||{}};return{id:Z5e(),name:"Merged Automation",description:`Merged from ${n.length} automations`,nodes:w,edges:E,metadata:A,version:1,workspace:{mode:"merged",sources:S},userVariables:Btr(_)}}function Htr({isOpen:n,onClose:i}){const{t:s}=jo(["common","dialogs","errors"]),[c,d]=H.useState(""),[g,b]=H.useState(null),[w,E]=H.useState("asc"),[S,_]=H.useState(new Set),[A,C]=H.useState(!1),[O,L]=H.useState(null),{hass:D,config:B,entities:$}=Wg(),{setFlowName:P,setAutomationId:j,reset:z,fromFlowGraph:ee,hasRealChanges:ne}=po(),{fitView:Q}=kR(),{catalogByArea:ae,sortedCatalogItems:he}=jtr({isOpen:n,hass:D,hassConfig:B,entities:$,searchTerm:c,sortColumn:g,sortDirection:w,labels:{noArea:s("dialogs:import.noArea"),otherArea:s("dialogs:import.otherArea")}});H.useEffect(()=>{n||(_(new Set),d(""))},[n]);const pe=H.useMemo(()=>he.filter(pt=>S.has(pt.entity_id)),[he,S]),ue=H.useMemo(()=>he.length===0?!1:he.every(pt=>S.has(pt.entity_id)),[he,S]),fe=he.length>0,K=pt=>{if(ne()){L(()=>pt),C(!0);return}pt()},ge=()=>{O&&O(),C(!1),L(null)},De=()=>{C(!1),L(null)},Se=pt=>{g===pt?E(w==="asc"?"desc":"asc"):(b(pt),E("asc"))},Re=pt=>g!==pt?I.jsx(v8n,{className:"ml-1 inline h-3 w-3 opacity-50"}):w==="asc"?I.jsx(S8n,{className:"ml-1 inline h-3 w-3"}):I.jsx(b8n,{className:"ml-1 inline h-3 w-3"}),Ae=pt=>{_(Kt=>{const Et=new Set(Kt);return Et.has(pt)?Et.delete(pt):Et.add(pt),Et})},xe=()=>{_(pt=>{const Kt=new Set(pt);if(ue)for(const Et of he)Kt.delete(Et.entity_id);else for(const Et of he)Kt.add(Et.entity_id);return Kt})},We=async pt=>{var Kt;try{const Et=Tw(D,B);if(!Et.isConnected())throw new Error(s("errors:connection.noConnection"));const Dt=await Et.getAutomationConfigWithFallback(pt.automation_id,pt.friendly_name);if(z(),Dt){const Yt=wse(Dt,{indent:2,lineWidth:-1,quotingType:'"',forceQuotes:!1}),Ln=await KDe.fromYaml(Yt);if(!Ln.success||!Ln.graph)throw new Error(((Kt=Ln.errors)==null?void 0:Kt.join(`
`))||s("errors:import.parseFailed"));ee(Ln.graph),setTimeout(()=>{Q({padding:.2,duration:300})},50),P(pt.friendly_name||pt.automation_id),j(pt.automation_id),bw.success(s("dialogs:import.importSuccess",{name:pt.friendly_name||pt.automation_id}))}else P(pt.friendly_name||pt.automation_id),j(pt.automation_id),bw.warning(s("dialogs:import.openedWarning",{name:pt.friendly_name||pt.automation_id}),{description:s("dialogs:import.openedWarningDescription")});i()}catch(Et){console.error("C.A.F.E.: Failed to open automation:",Et),bw.error(s("dialogs:import.importFailed",{message:Et.message}))}},ut=()=>{pe.length===1&&K(()=>{We(pe[0])})},Be=pt=>{const Kt=pt.map(Et=>Et.friendly_name).filter(Boolean);return Kt.length===0?s("dialogs:import.defaultMergedName"):Kt.length<=2?Kt.join(" + "):`${Kt[0]} + ${Kt.length-1} more`},bt=async()=>{if(!(pe.length<2))try{const pt=Tw(D,B);if(!pt.isConnected())throw new Error(s("errors:connection.noConnection"));const Kt=await pt.getAutomationConfigsBatch(pe.map(Yt=>Yt.automation_id)),Et=[];for(const Yt of pe){let Ln=Kt[Yt.automation_id];if(Ln||(Ln=await pt.getAutomationConfigWithFallback(Yt.automation_id,Yt.friendly_name)),!Ln)throw new Error(s("dialogs:import.mergeFailedMissingConfig",{name:Yt.friendly_name}));const Zn=wse(Ln,{indent:2,lineWidth:-1,quotingType:'"',forceQuotes:!1}),Yn=await KDe.fromYaml(Zn);if(!Yn.success||!Yn.graph)throw new Error(s("dialogs:import.mergeFailedInvalidYaml",{name:Yt.friendly_name}));Et.push({graph:Yn.graph,automationId:Yt.automation_id,entityId:Yt.entity_id,alias:Yt.friendly_name||Yt.automation_id})}const Dt=Utr(Et);ee(Dt),P(Be(pe)),j(null),_(new Set),setTimeout(()=>{Q({padding:.2,duration:300})},50),bw.success(s("dialogs:import.mergeSuccess",{count:pe.length})),i()}catch(pt){console.error("C.A.F.E.: Failed to merge automations:",pt),bw.error(s("dialogs:import.mergeFailed",{message:pt.message}))}},Nt=pt=>{if(!pt)return s("dialogs:import.never");const Kt=new Date(pt),Dt=new Date().getTime()-Kt.getTime(),Yt=Math.floor(Dt/(1e3*60)),Ln=Math.floor(Yt/60),Zn=Math.floor(Ln/24);return Yt<1?s("dialogs:import.justNow"):Yt<60?s("dialogs:import.minutesAgo",{count:Yt}):Ln<24?s("dialogs:import.hoursAgo",{count:Ln}):Zn<7?s("dialogs:import.daysAgo",{count:Zn}):Kt.toLocaleDateString()};return n?I.jsxs(wR,{open:n,onOpenChange:i,children:[I.jsxs(aN,{className:"flex max-h-[90vh] max-w-4xl flex-col",children:[I.jsx(cN,{className:"space-y-3",children:I.jsxs("div",{className:"flex items-center justify-between pr-8",children:[I.jsxs("div",{children:[I.jsx(uN,{children:s("dialogs:import.title")}),I.jsx(lN,{children:s("dialogs:import.descriptionFull")})]}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsxs(mi,{variant:"outline",onClick:pe.length===1?ut:()=>K(()=>void bt()),disabled:pe.length===0,children:[pe.length>1?I.jsx(cPn,{className:"mr-2 h-4 w-4"}):I.jsx(I9t,{className:"mr-2 h-4 w-4"}),pe.length>1?s("dialogs:import.openTogether"):s("dialogs:import.openSingle")]}),I.jsxs(mi,{onClick:()=>{K(()=>{z(),P(s("defaults.newAutomation")),i()})},className:"bg-green-600 hover:bg-green-700",children:[I.jsx(TGt,{className:"mr-2 h-4 w-4"}),s("dialogs:import.createNew")]})]})]})}),I.jsxs("div",{className:"flex min-h-0 flex-col",children:[I.jsxs("div",{className:"relative mb-4",children:[I.jsx(kGt,{className:"absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-muted-foreground"}),I.jsx(Na,{type:"text",placeholder:s("dialogs:import.searchPlaceholder"),value:c,onChange:pt=>d(pt.target.value),className:"pl-10"})]}),I.jsx("div",{className:"max-h-[70vh] overflow-auto rounded-t-md",children:I.jsxs("div",{className:"min-w-full",children:[I.jsx("div",{className:"sticky top-0 z-20 bg-background before:absolute before:-top-px before:right-0 before:left-0 before:h-px before:bg-background",children:I.jsxs("div",{className:"flex",children:[I.jsx("div",{className:"flex w-[44px] items-center justify-center border-b bg-muted px-2 py-2",children:I.jsx(QDe,{checked:ue,onCheckedChange:xe,title:s(ue?"dialogs:import.unselectAll":"dialogs:import.selectAll")})}),I.jsxs("button",{type:"button",onClick:()=>Se("name"),className:"flex-1 cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-left font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[s("dialogs:import.columns.name"),Re("name")]}),I.jsxs("button",{type:"button",onClick:()=>Se("lastTriggered"),className:"w-[120px] cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-left font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[s("dialogs:import.columns.lastTriggered"),Re("lastTriggered")]}),I.jsxs("button",{type:"button",onClick:()=>Se("enabled"),className:"w-[80px] cursor-pointer whitespace-nowrap border-b bg-muted px-3 py-2 text-center font-semibold text-muted-foreground text-xs hover:bg-muted/80",children:[s("dialogs:import.columns.enabled"),Re("enabled")]}),I.jsx("div",{className:"w-[60px] border-b bg-muted px-3 py-2 text-center font-semibold text-muted-foreground text-xs",children:s("dialogs:import.columns.action")})]})}),I.jsxs("div",{children:[Object.entries(ae).flatMap(([pt,Kt])=>{if(Kt.length===0)return[];const Et=I.jsx("div",{className:"sticky top-[32px] z-10 -mt-1 flex border-b bg-accent",children:I.jsx("div",{className:"flex-1 px-3 py-2 font-bold text-accent-foreground text-xs",children:pt})},pt),Dt=Kt.map(Yt=>{const Ln=S.has(Yt.entity_id);return I.jsxs("div",{className:`flex border-b last:border-0 ${Ln?"bg-accent/40":""}`,children:[I.jsx("div",{className:"flex w-[44px] items-center justify-center px-2 py-2",children:I.jsx(QDe,{checked:Ln,onCheckedChange:()=>Ae(Yt.entity_id),title:s(Ln?"dialogs:import.unselect":"dialogs:import.select")})}),I.jsxs("div",{className:"flex-1 px-3 py-2 align-top",children:[I.jsx("div",{className:"max-w-[180px] font-medium",children:Yt.friendly_name}),Yt.description&&I.jsx("div",{className:"mt-1 max-w-[180px] truncate text-muted-foreground text-xs",children:Yt.description}),Yt.tags.length>0&&I.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:Yt.tags.map(Zn=>I.jsx(YMe,{variant:"secondary",className:"text-xs",children:Zn},`${Yt.entity_id}-${Zn}`))}),I.jsx("div",{className:"mt-1 truncate text-muted-foreground text-xs",children:s("dialogs:import.ID",{id:Yt.automation_id})}),Yt.mode&&I.jsx("div",{className:"text-muted-foreground text-xs",children:s("dialogs:import.mode",{mode:Yt.mode})})]}),I.jsx("div",{className:"w-[120px] max-w-[120px] px-3 py-2 align-top",children:Yt.last_triggered?I.jsx("span",{className:"whitespace-nowrap text-xs",children:Nt(Yt.last_triggered)}):I.jsx("span",{className:"text-muted-foreground text-xs",children:s("dialogs:import.never")})}),I.jsx("div",{className:"w-[80px] px-3 py-2 text-center align-top",children:I.jsx(J2,{checked:Yt.enabled,onCheckedChange:async Zn=>{try{await Tw(D,B).setAutomationState(Yt.entity_id,Zn),bw.success(s(Zn?"dialogs:import.automationEnabled":"dialogs:import.automationDisabled"))}catch{bw.error(s("dialogs:import.updateStateFailed"))}},"aria-label":Yt.enabled?s("dialogs:import.columns.enabled"):s("dialogs:import.disabled")})}),I.jsx("div",{className:"w-[60px] px-3 py-2 text-center align-top",children:I.jsx(mi,{size:"icon",variant:"ghost",onClick:()=>K(()=>void We(Yt)),title:s("dialogs:import.importAutomation"),children:I.jsx(I9t,{className:"h-4 w-4"})})})]},Yt.entity_id)});return[I.jsxs(Hn.Fragment,{children:[Et,Dt]},pt)]}),!fe&&I.jsx("div",{className:"flex",children:I.jsx("div",{className:"flex-1 py-8 text-center text-muted-foreground",children:s("dialogs:import.noAutomations")})})]})]})})]}),I.jsx("div",{className:"border-t bg-muted/20 p-6",children:I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("p",{className:"text-muted-foreground text-sm",children:s("dialogs:import.openingWarning")}),I.jsx(mi,{onClick:i,variant:"ghost",children:s("buttons.cancel")})]})})]}),I.jsx(wR,{open:A,onOpenChange:De,children:I.jsxs(aN,{className:"max-w-md",children:[I.jsxs(cN,{children:[I.jsx(uN,{children:s("dialogs:import.discardTitle")}),I.jsx(lN,{children:s("dialogs:import.discardDescription")})]}),I.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[I.jsx(mi,{variant:"outline",onClick:De,children:s("buttons.cancel")}),I.jsx(mi,{variant:"destructive",onClick:ge,children:s("dialogs:import.confirmDiscard")})]})]})})]}):null}const ztr=xae("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:top-4 [&>svg]:left-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),dA=H.forwardRef(({className:n,variant:i,...s},c)=>I.jsx("div",{ref:c,role:"alert",className:nr(ztr({variant:i}),n),...s}));dA.displayName="Alert";const jKt=H.forwardRef(({className:n,...i},s)=>I.jsx("h5",{ref:s,className:nr("mb-1 font-medium leading-none tracking-tight",n),...i}));jKt.displayName="AlertTitle";const fA=H.forwardRef(({className:n,...i},s)=>I.jsx("div",{ref:s,className:nr("text-sm [&_p]:leading-relaxed",n),...i}));fA.displayName="AlertDescription";var Gtr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],qtr=Gtr.reduce((n,i)=>{const s=fae(`Primitive.${i}`),c=H.forwardRef((d,g)=>{const{asChild:b,...w}=d,E=b?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),I.jsx(E,{...w,ref:g})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{}),Vtr="Label",FKt=H.forwardRef((n,i)=>I.jsx(qtr.label,{...n,ref:i,onMouseDown:s=>{var d;s.target.closest("button, input, select, textarea")||((d=n.onMouseDown)==null||d.call(n,s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));FKt.displayName=Vtr;var $Kt=FKt;const Wtr=xae("font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ll=H.forwardRef(({className:n,...i},s)=>I.jsx($Kt,{ref:s,className:nr(Wtr(),n),...i}));ll.displayName=$Kt.displayName;const Bv=H.forwardRef(({className:n,...i},s)=>I.jsx("textarea",{className:nr("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:s,...i}));Bv.displayName="Textarea";function Ktr({isOpen:n,onClose:i,onSaved:s}){const{t:c}=jo(["common","dialogs","errors"]),{flowName:d,flowDescription:g,automationId:b,isSaving:w,setFlowName:E,setFlowDescription:S,setAutomationId:_,saveAutomation:A,updateAutomation:C}=po(),{hass:O}=Wg(),[L,D]=H.useState(g),[B,$]=H.useState(null),[P,j]=H.useState(null),z=!!b;H.useEffect(()=>{n&&(D(g),$(null),j(null))},[n,g]);const ee=async ue=>{if(!ue.trim()){j(null);return}try{if(await Tw(O).automationExistsByAlias(ue)&&!z){const K=await Tw(O).getUniqueAutomationAlias(ue);j(K)}else j(null)}catch(fe){console.warn("Failed to check name conflict:",fe),j(null)}},ne=async()=>{if(!O){$(c("errors:connection.notConnected"));return}if(!d.trim()){$(c("errors:form.nameRequired"));return}$(null);try{S(L.trim());let ue;z?(await C(O),ue=b||""):ue=await A(O),s==null||s(ue),i()}catch(ue){const fe=ue instanceof Error?ue.message:c("errors:api.unknownError");$(fe)}},Q=()=>{$(null),j(null),i()},ae=ue=>{E(ue),ee(ue)},he=()=>{P&&(E(P),j(null))},pe=async()=>{if(!O){$(c("errors:connection.notConnected"));return}$(null);try{const ue=await Tw(O).getUniqueAutomationAlias(d);E(ue),S(L.trim()),_(null);const fe=await A(O);s==null||s(fe),i()}catch(ue){const fe=ue instanceof Error?ue.message:c("errors:api.unknownError");$(fe)}};return I.jsx(wR,{open:n,onOpenChange:Q,children:I.jsxs(aN,{className:"max-w-md max-h-[90vh] overflow-y-auto",children:[I.jsxs(cN,{children:[I.jsxs(uN,{className:"flex items-center gap-2",children:[I.jsx(xGt,{className:"h-5 w-5"}),c(z?"dialogs:save.titleUpdate":"dialogs:save.title")]}),I.jsx(lN,{children:c(z?"dialogs:save.descriptionUpdate":"dialogs:save.description")})]}),I.jsxs("div",{className:"space-y-4",children:[I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"automation-name",children:c("dialogs:save.nameLabel")}),I.jsx(Na,{id:"automation-name",value:d,onChange:ue=>ae(ue.target.value),placeholder:c("placeholders.enterAutomationName"),disabled:w})]}),P&&I.jsxs(dA,{children:[I.jsx(O9t,{className:"h-4 w-4"}),I.jsxs(fA,{className:"flex items-center justify-between",children:[I.jsx("span",{children:c("dialogs:save.nameConflict",{suggestedName:P})}),I.jsx(mi,{variant:"outline",size:"sm",onClick:he,disabled:w,children:c("buttons.use")})]})]}),I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"automation-description",children:c("dialogs:save.descriptionLabel")}),I.jsx(Bv,{id:"automation-description",value:L,onChange:ue=>D(ue.target.value),placeholder:c("placeholders.describeAutomation"),rows:3,disabled:w})]}),B&&I.jsxs(dA,{variant:"destructive",children:[I.jsx(O9t,{className:"h-4 w-4"}),I.jsx(fA,{children:B})]}),I.jsxs("div",{className:"flex justify-end gap-2",children:[I.jsx(mi,{variant:"outline",onClick:Q,disabled:w,children:c("buttons.cancel")}),z&&I.jsxs(mi,{variant:"outline",onClick:pe,disabled:w||!d.trim(),children:[w?I.jsx(ez,{className:"mr-2 h-4 w-4 animate-spin"}):I.jsx(z5e,{className:"mr-2 h-4 w-4"}),c("buttons.saveAsCopy")]}),I.jsx(mi,{onClick:ne,disabled:w||!d.trim(),children:w?I.jsxs(I.Fragment,{children:[I.jsx(ez,{className:"mr-2 h-4 w-4 animate-spin"}),c(z?"status.updating":"status.saving")]}):I.jsxs(I.Fragment,{children:[I.jsx(oN,{className:"mr-2 h-4 w-4"}),c(z?"buttons.update":"buttons.save")]})})]})]})]})})}function Ytr({isOpen:n,onClose:i,config:s,onSave:c}){const{t:d}=jo(["common","dialogs"]),[g,b]=H.useState(s.url),[w,E]=H.useState(s.token),[S,_]=H.useState("idle"),[A,C]=H.useState("");H.useEffect(()=>{n&&(b(s.url),E(s.token),_("idle"),C(""))},[n,s]);const O=async()=>{if(!g||!w){_("error"),C(d("dialogs:settings.errors.missingFields"));return}_("testing"),C("");try{const B=g.replace(/\/$/,""),$=await fetch(`${B}/api/`,{headers:{Authorization:`Bearer ${w}`,"Content-Type":"application/json"}});$.ok?(await $.json()).message==="API running."?_("success"):(_("error"),C(d("dialogs:settings.errors.unexpectedResponse"))):$.status===401?(_("error"),C(d("dialogs:settings.errors.invalidToken"))):(_("error"),C(d("dialogs:settings.errors.httpError",{status:$.status,statusText:$.statusText})))}catch(B){_("error"),B instanceof TypeError&&B.message.includes("fetch")?C(d("dialogs:settings.errors.corsError")):C(B instanceof Error?B.message:d("dialogs:settings.errors.connectionFailed"))}},L=()=>{c({url:g.replace(/\/$/,""),token:w}),i()},D=()=>{b(""),E(""),c({url:"",token:""}),i()};return I.jsx(wR,{open:n,onOpenChange:()=>i(),children:I.jsxs(aN,{className:"max-w-md",children:[I.jsxs(cN,{children:[I.jsx(uN,{children:d("dialogs:settings.title")}),I.jsx(lN,{children:d("dialogs:settings.description")})]}),I.jsxs("div",{className:"space-y-4",children:[I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"url",children:d("dialogs:settings.urlLabel")}),I.jsx(Na,{id:"url",type:"url",value:g,onChange:B=>b(B.target.value),placeholder:d("dialogs:settings.urlPlaceholder")}),I.jsx("p",{className:"text-muted-foreground text-xs",children:d("dialogs:settings.urlHelp")})]}),I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{htmlFor:"token",children:d("dialogs:settings.tokenLabel")}),I.jsx(Na,{id:"token",type:"password",value:w,onChange:B=>E(B.target.value),placeholder:d("dialogs:settings.tokenPlaceholder"),className:"font-mono text-sm"}),I.jsx("p",{className:"text-muted-foreground text-xs",children:d("dialogs:settings.tokenHelp")})]}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(mi,{variant:"outline",onClick:O,disabled:S==="testing",children:S==="testing"?I.jsxs(I.Fragment,{children:[I.jsx(ez,{className:"mr-2 h-4 w-4 animate-spin"}),d("dialogs:settings.testing")]}):d("dialogs:settings.testConnection")}),S==="success"&&I.jsxs("span",{className:"flex items-center gap-1 text-green-600 text-sm",children:[I.jsx(SGt,{className:"h-4 w-4"}),d("dialogs:settings.connected")]}),S==="error"&&I.jsxs("span",{className:"flex items-center gap-1 text-red-600 text-sm",children:[I.jsx(kw,{className:"h-4 w-4"}),A]})]}),I.jsx(dA,{children:I.jsxs(fA,{children:[I.jsx("h4",{className:"mb-1 font-medium",children:d("dialogs:settings.corsNote")}),I.jsx("p",{className:"mb-2 text-xs",children:d("dialogs:settings.corsDescription")}),I.jsx("pre",{className:"overflow-x-auto rounded bg-muted p-2 font-mono text-xs",children:`http:
cors_allowed_origins:
- https://my-home-assistant.example.com`})]})}),I.jsx(mi,{variant:"link",asChild:!0,className:"h-auto p-0 text-sm",children:I.jsxs("a",{href:"https://www.home-assistant.io/docs/authentication/#your-account-profile",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1",children:[I.jsx(K8n,{className:"h-4 w-4"}),d("dialogs:settings.tokenGuideLink")]})})]}),I.jsxs("div",{className:"flex items-center justify-between pt-4",children:[I.jsx(mi,{variant:"destructive",onClick:D,size:"sm",children:d("dialogs:settings.disconnect")}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(mi,{variant:"outline",onClick:i,size:"sm",children:d("buttons.cancel")}),I.jsx(mi,{onClick:L,disabled:!g||!w,size:"sm",children:d("buttons.save")})]})]})]})})}function Jtr({isOpen:n,onClose:i,onImportSuccess:s}){const{t:c}=jo(["common","dialogs"]),[d,g]=H.useState(""),[b,w]=H.useState(!1),[E,S]=H.useState(null),[_,A]=H.useState([]),{fromFlowGraph:C}=po(),{fitView:O}=kR();if(!n)return null;const L=async()=>{var B;w(!0),S(null),A([]);try{const $=await KDe.fromYaml(d);if(!$.success){S(((B=$.errors)==null?void 0:B.join(`
`))||"Failed to parse YAML. Please check the format."),w(!1);return}$.warnings.length>0&&(Ef.warn("Import warnings:",$.warnings),A($.warnings)),$.graph&&(C($.graph),setTimeout(()=>{O({padding:.2,duration:300})},50),setTimeout(()=>{s==null||s(),D()},1e3))}catch($){S($ instanceof Error?$.message:"Unknown error occurred")}finally{w(!1)}},D=()=>{g(""),S(null),A([]),i()};return I.jsx(wR,{open:n,onOpenChange:()=>D(),children:I.jsxs(aN,{className:"flex max-h-[90vh] max-w-3xl flex-col",children:[I.jsxs(cN,{children:[I.jsx(uN,{children:c("dialogs:importYaml.title")}),I.jsx(lN,{children:c("dialogs:importYaml.description")})]}),I.jsxs("div",{className:"flex-1 space-y-4",children:[I.jsx(Bv,{value:d,onChange:B=>g(B.target.value),placeholder:`alias: My Automation
description: An example automation
trigger:
- platform: state
entity_id: light.living_room
to: "on"
action:
- service: notify.mobile_app
data:
message: "Light turned on!"`,className:"h-64 resize-none font-mono text-sm",disabled:b}),E&&I.jsxs(dA,{variant:"destructive",children:[I.jsx(kw,{className:"h-4 w-4"}),I.jsxs(fA,{className:"font-medium",children:[c("dialogs:importYaml.importFailed"),I.jsx("pre",{className:"mt-1 whitespace-pre-wrap font-mono text-xs",children:E})]})]}),_.length>0&&I.jsxs(dA,{children:[I.jsx(kw,{className:"h-4 w-4"}),I.jsxs(fA,{children:[I.jsx("p",{className:"mb-1 font-medium",children:c("dialogs:importYaml.warnings")}),I.jsx("ul",{className:"space-y-1 text-xs",children:_.map((B,$)=>I.jsxs("li",{children:["•"," ",B]},`warning-${$}-${B.slice(0,20)}`))})]})]}),b&&!E&&I.jsxs(dA,{children:[I.jsx(SGt,{className:"h-4 w-4"}),I.jsx(fA,{children:c("dialogs:importYaml.successLoading")})]}),I.jsx(dA,{children:I.jsxs(fA,{className:"text-xs",children:[I.jsx("strong",{children:c("dialogs:importYaml.tipLabel")})," ",c("dialogs:importYaml.tipText")]})})]}),I.jsxs("div",{className:"flex items-center justify-end gap-2 pt-4",children:[I.jsx(mi,{variant:"outline",onClick:D,disabled:b,children:c("buttons.cancel")}),I.jsxs(mi,{onClick:L,disabled:!d.trim()||b,children:[I.jsx(GPn,{className:"mr-2 h-4 w-4"}),c(b?"dialogs:importYaml.importing":"dialogs:importYaml.import")]})]})]})})}const s$t="0.10.0",BKt="4rem";function Xtr({expanded:n,isRemote:i=!1,configUrl:s,connectionError:c}){const{t:d}=jo(["common","errors","dialogs"]);return n?I.jsxs("div",{className:"flex flex-col gap-2 border-t p-4",children:[I.jsxs("div",{className:"flex items-center gap-4",children:[i&&s&&I.jsx("span",{className:"text-green-600 text-xs",children:d("status.connectedTo",{hostname:new URL(s).hostname})}),c&&I.jsx("span",{className:"text-red-600 text-xs",children:c})]}),I.jsx("div",{className:"text-muted-foreground text-xs",children:I.jsxs("span",{children:[d("titles.appName")," ",`v${s$t}`]})})]}):I.jsxs("div",{className:"flex flex-col items-center gap-2 border-t px-2 py-3",children:[i&&s&&I.jsx("span",{role:"img",title:d("status.connectedTo",{hostname:new URL(s).hostname}),"aria-label":d("status.connectedTo",{hostname:new URL(s).hostname}),children:I.jsx(IGt,{className:"h-4 w-4 text-green-600"})}),I.jsx("span",{className:"font-medium text-[10px] text-muted-foreground",children:`v${s$t}`})]})}function Ztr({expanded:n,onToggle:i,layout:s="desktop",className:c,isRemote:d=!1,configUrl:g,connectionError:b}){const{t:w}=jo(["common","errors","dialogs"]),E=s==="compact"&&!n?{width:BKt}:void 0,S=s==="compact"?nr("absolute top-0 bottom-0 left-0 z-40 flex min-h-0 flex-col border-border border-r transition-[width] duration-300",n?"w-full bg-card":"bg-card"):nr("flex h-full min-h-0 flex-col border-border border-r bg-card transition-[width] duration-300",n?"w-72":"w-20");return I.jsxs("aside",{className:nr(S,c),style:E,children:[I.jsx("div",{className:"flex h-14 items-center justify-between border-b px-4",children:n?I.jsxs(I.Fragment,{children:[I.jsx("h3",{className:"shrink-0 whitespace-nowrap font-semibold text-sm",children:w("labels.addNode")}),I.jsx(mi,{variant:"ghost",size:"icon",onClick:i,"aria-label":w("buttons.collapseMenu"),title:w("buttons.collapseMenu"),children:I.jsx(mPn,{className:"h-4 w-4"})})]}):I.jsxs(I.Fragment,{children:[I.jsx("div",{className:"w-0"}),I.jsx(mi,{variant:"ghost",size:"icon",onClick:i,"aria-label":w("buttons.expandMenu"),title:w("buttons.expandMenu"),children:I.jsx(yPn,{className:"h-4 w-4"})})]})}),I.jsxs("div",{className:nr("min-h-0 flex-1",n?"overflow-auto":"overflow-hidden"),children:[I.jsx(XQn,{iconOnly:!n}),n&&I.jsxs("div",{className:"border-t p-4",children:[I.jsx("h4",{className:"mb-2 font-medium text-muted-foreground text-xs",children:w("labels.quickHelp")}),I.jsxs("ul",{className:"space-y-1 text-muted-foreground text-xs",children:[I.jsx("li",{children:w("help.clickNodesToAdd")}),I.jsx("li",{children:w("help.dragToConnect")}),I.jsx("li",{children:w("help.deleteToRemove")}),I.jsx("li",{children:w("help.backspaceDeleteKey")})]})]})]}),I.jsx(Xtr,{expanded:n,isRemote:d,configUrl:g,connectionError:b})]})}function H2({message:n}){return n?I.jsxs("div",{className:"mt-1.5 flex items-center gap-1.5 text-red-600 text-xs",children:[I.jsx(kw,{className:"h-3 w-3 flex-shrink-0"}),I.jsx("span",{children:n})]}):null}function No({label:n,required:i,description:s,children:c}){return I.jsxs("div",{className:"flex flex-col gap-2",children:[I.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[n,i&&I.jsx("span",{className:"ml-1 text-destructive",children:"*"})]}),c,s&&I.jsx("p",{className:"text-muted-foreground text-xs",children:s})]})}const a$t={common:["id","alias","enabled","_conditionId"],trigger:["trigger","entity_id","to","from","for","at","event_type","event_data","event","offset","above","below","value_template","template","webhook_id","zone","topic","payload","hours","minutes","seconds","device_id","domain","type","subtype"],condition:["condition","entity_id","state","attribute","above","below","value_template","template","after","before","weekday","device_id","domain","type","subtype","zone","condition","for","conditions"],action:["service","data","target","response_variable","stop","error","entity_id","action","metadata"],delay:["delay"],wait:["wait_template","timeout","wait_for_trigger","continue_on_timeout"],set_variables:["variables"]};function c$t(n,i=[]){const s=[...a$t.common,...a$t[n]||[]];return new Set([...s,...i])}function vse(n,[i,s]){return Math.min(s,Math.max(i,n))}function u$t(n){const i=Qtr(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(tnr);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function Qtr(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=rnr(d),w=nnr(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var enr=Symbol("radix.slottable");function tnr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===enr}function nnr(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function rnr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function Yae(n){const i=n+"CollectionProvider",[s,c]=Nw(i),[d,g]=s(i,{collectionRef:{current:null},itemMap:new Map}),b=D=>{const{scope:B,children:$}=D,P=Hn.useRef(null),j=Hn.useRef(new Map).current;return I.jsx(d,{scope:B,itemMap:j,collectionRef:P,children:$})};b.displayName=i;const w=n+"CollectionSlot",E=u$t(w),S=Hn.forwardRef((D,B)=>{const{scope:$,children:P}=D,j=g(w,$),z=ps(B,j.collectionRef);return I.jsx(E,{ref:z,children:P})});S.displayName=w;const _=n+"CollectionItemSlot",A="data-radix-collection-item",C=u$t(_),O=Hn.forwardRef((D,B)=>{const{scope:$,children:P,...j}=D,z=Hn.useRef(null),ee=ps(B,z),ne=g(_,$);return Hn.useEffect(()=>(ne.itemMap.set(z,{ref:z,...j}),()=>void ne.itemMap.delete(z))),I.jsx(C,{[A]:"",ref:ee,children:P})});O.displayName=_;function L(D){const B=g(n+"CollectionConsumer",D);return Hn.useCallback(()=>{const P=B.collectionRef.current;if(!P)return[];const j=Array.from(P.querySelectorAll(`[${A}]`));return Array.from(B.itemMap.values()).sort((ne,Q)=>j.indexOf(ne.ref.current)-j.indexOf(Q.ref.current))},[B.collectionRef,B.itemMap])}return[{Provider:b,Slot:S,ItemSlot:O},L,c]}var inr=H.createContext(void 0);function Bz(n){const i=H.useContext(inr);return n||i||"ltr"}function onr(n){const i=snr(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(cnr);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function snr(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=lnr(d),w=unr(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var anr=Symbol("radix.slottable");function cnr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===anr}function unr(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function lnr(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var UKt=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),dnr="VisuallyHidden",fnr=H.forwardRef((n,i)=>I.jsx(no.span,{...n,ref:i,style:{...UKt,...n.style}}));fnr.displayName=dnr;var hnr=[" ","Enter","ArrowUp","ArrowDown"],pnr=[" ","Enter"],ER="Select",[Jae,Xae,gnr]=Yae(ER),[WM]=Nw(ER,[gnr,UM]),Zae=UM(),[bnr,xN]=WM(ER),[mnr,wnr]=WM(ER),HKt=n=>{const{__scopeSelect:i,children:s,open:c,defaultOpen:d,onOpenChange:g,value:b,defaultValue:w,onValueChange:E,dir:S,name:_,autoComplete:A,disabled:C,required:O,form:L}=n,D=Zae(i),[B,$]=H.useState(null),[P,j]=H.useState(null),[z,ee]=H.useState(!1),ne=Bz(S),[Q,ae]=G2({prop:c,defaultProp:d??!1,onChange:g,caller:ER}),[he,pe]=G2({prop:b,defaultProp:w,onChange:E,caller:ER}),ue=H.useRef(null),fe=B?L||!!B.closest("form"):!0,[K,ge]=H.useState(new Set),De=Array.from(K).map(Se=>Se.props.value).join(";");return I.jsx(aMe,{...D,children:I.jsxs(bnr,{required:O,scope:i,trigger:B,onTriggerChange:$,valueNode:P,onValueNodeChange:j,valueNodeHasChildren:z,onValueNodeHasChildrenChange:ee,contentId:Bh(),value:he,onValueChange:pe,open:Q,onOpenChange:ae,dir:ne,triggerPointerDownPosRef:ue,disabled:C,children:[I.jsx(Jae.Provider,{scope:i,children:I.jsx(mnr,{scope:n.__scopeSelect,onNativeOptionAdd:H.useCallback(Se=>{ge(Re=>new Set(Re).add(Se))},[]),onNativeOptionRemove:H.useCallback(Se=>{ge(Re=>{const Ae=new Set(Re);return Ae.delete(Se),Ae})},[]),children:s})}),fe?I.jsxs(fYt,{"aria-hidden":!0,required:O,tabIndex:-1,name:_,autoComplete:A,value:he,onChange:Se=>pe(Se.target.value),disabled:C,form:L,children:[he===void 0?I.jsx("option",{value:""}):null,Array.from(K)]},De):null]})})};HKt.displayName=ER;var zKt="SelectTrigger",GKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,disabled:c=!1,...d}=n,g=Zae(s),b=xN(zKt,s),w=b.disabled||c,E=ps(i,b.onTriggerChange),S=Xae(s),_=H.useRef("touch"),[A,C,O]=pYt(D=>{const B=S().filter(j=>!j.disabled),$=B.find(j=>j.value===b.value),P=gYt(B,D,$);P!==void 0&&b.onValueChange(P.value)}),L=D=>{w||(b.onOpenChange(!0),O()),D&&(b.triggerPointerDownPosRef.current={x:Math.round(D.pageX),y:Math.round(D.pageY)})};return I.jsx(Tae,{asChild:!0,...g,children:I.jsx(no.button,{type:"button",role:"combobox","aria-controls":b.contentId,"aria-expanded":b.open,"aria-required":b.required,"aria-autocomplete":"none",dir:b.dir,"data-state":b.open?"open":"closed",disabled:w,"data-disabled":w?"":void 0,"data-placeholder":hYt(b.value)?"":void 0,...d,ref:E,onClick:Dr(d.onClick,D=>{D.currentTarget.focus(),_.current!=="mouse"&&L(D)}),onPointerDown:Dr(d.onPointerDown,D=>{_.current=D.pointerType;const B=D.target;B.hasPointerCapture(D.pointerId)&&B.releasePointerCapture(D.pointerId),D.button===0&&D.ctrlKey===!1&&D.pointerType==="mouse"&&(L(D),D.preventDefault())}),onKeyDown:Dr(d.onKeyDown,D=>{const B=A.current!=="";!(D.ctrlKey||D.altKey||D.metaKey)&&D.key.length===1&&C(D.key),!(B&&D.key===" ")&&hnr.includes(D.key)&&(L(),D.preventDefault())})})})});GKt.displayName=zKt;var qKt="SelectValue",VKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,className:c,style:d,children:g,placeholder:b="",...w}=n,E=xN(qKt,s),{onValueNodeHasChildrenChange:S}=E,_=g!==void 0,A=ps(i,E.onValueNodeChange);return Up(()=>{S(_)},[S,_]),I.jsx(no.span,{...w,ref:A,style:{pointerEvents:"none"},children:hYt(E.value)?I.jsx(I.Fragment,{children:b}):g})});VKt.displayName=qKt;var ynr="SelectIcon",WKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,children:c,...d}=n;return I.jsx(no.span,{"aria-hidden":!0,...d,ref:i,children:c||"▼"})});WKt.displayName=ynr;var vnr="SelectPortal",KKt=n=>I.jsx(Oz,{asChild:!0,...n});KKt.displayName=vnr;var SR="SelectContent",YKt=H.forwardRef((n,i)=>{const s=xN(SR,n.__scopeSelect),[c,d]=H.useState();if(Up(()=>{d(new DocumentFragment)},[]),!s.open){const g=c;return g?xR.createPortal(I.jsx(JKt,{scope:n.__scopeSelect,children:I.jsx(Jae.Slot,{scope:n.__scopeSelect,children:I.jsx("div",{children:n.children})})}),g):null}return I.jsx(XKt,{...n,ref:i})});YKt.displayName=SR;var kv=10,[JKt,kN]=WM(SR),Enr="SelectContentImpl",Snr=onr("SelectContent.RemoveScroll"),XKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,position:c="item-aligned",onCloseAutoFocus:d,onEscapeKeyDown:g,onPointerDownOutside:b,side:w,sideOffset:E,align:S,alignOffset:_,arrowPadding:A,collisionBoundary:C,collisionPadding:O,sticky:L,hideWhenDetached:D,avoidCollisions:B,...$}=n,P=xN(SR,s),[j,z]=H.useState(null),[ee,ne]=H.useState(null),Q=ps(i,Et=>z(Et)),[ae,he]=H.useState(null),[pe,ue]=H.useState(null),fe=Xae(s),[K,ge]=H.useState(!1),De=H.useRef(!1);H.useEffect(()=>{if(j)return lae(j)},[j]),cae();const Se=H.useCallback(Et=>{const[Dt,...Yt]=fe().map(Yn=>Yn.ref.current),[Ln]=Yt.slice(-1),Zn=document.activeElement;for(const Yn of Et)if(Yn===Zn||(Yn==null||Yn.scrollIntoView({block:"nearest"}),Yn===Dt&&ee&&(ee.scrollTop=0),Yn===Ln&&ee&&(ee.scrollTop=ee.scrollHeight),Yn==null||Yn.focus(),document.activeElement!==Zn))return},[fe,ee]),Re=H.useCallback(()=>Se([ae,j]),[Se,ae,j]);H.useEffect(()=>{K&&Re()},[K,Re]);const{onOpenChange:Ae,triggerPointerDownPosRef:xe}=P;H.useEffect(()=>{if(j){let Et={x:0,y:0};const Dt=Ln=>{var Zn,Yn;Et={x:Math.abs(Math.round(Ln.pageX)-(((Zn=xe.current)==null?void 0:Zn.x)??0)),y:Math.abs(Math.round(Ln.pageY)-(((Yn=xe.current)==null?void 0:Yn.y)??0))}},Yt=Ln=>{Et.x<=10&&Et.y<=10?Ln.preventDefault():j.contains(Ln.target)||Ae(!1),document.removeEventListener("pointermove",Dt),xe.current=null};return xe.current!==null&&(document.addEventListener("pointermove",Dt),document.addEventListener("pointerup",Yt,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Dt),document.removeEventListener("pointerup",Yt,{capture:!0})}}},[j,Ae,xe]),H.useEffect(()=>{const Et=()=>Ae(!1);return window.addEventListener("blur",Et),window.addEventListener("resize",Et),()=>{window.removeEventListener("blur",Et),window.removeEventListener("resize",Et)}},[Ae]);const[We,ut]=pYt(Et=>{const Dt=fe().filter(Zn=>!Zn.disabled),Yt=Dt.find(Zn=>Zn.ref.current===document.activeElement),Ln=gYt(Dt,Et,Yt);Ln&&setTimeout(()=>Ln.ref.current.focus())}),Be=H.useCallback((Et,Dt,Yt)=>{const Ln=!De.current&&!Yt;(P.value!==void 0&&P.value===Dt||Ln)&&(he(Et),Ln&&(De.current=!0))},[P.value]),bt=H.useCallback(()=>j==null?void 0:j.focus(),[j]),Nt=H.useCallback((Et,Dt,Yt)=>{const Ln=!De.current&&!Yt;(P.value!==void 0&&P.value===Dt||Ln)&&ue(Et)},[P.value]),pt=c==="popper"?eLe:ZKt,Kt=pt===eLe?{side:w,sideOffset:E,align:S,alignOffset:_,arrowPadding:A,collisionBoundary:C,collisionPadding:O,sticky:L,hideWhenDetached:D,avoidCollisions:B}:{};return I.jsx(JKt,{scope:s,content:j,viewport:ee,onViewportChange:ne,itemRefCallback:Be,selectedItem:ae,onItemLeave:bt,itemTextRefCallback:Nt,focusSelectedItem:Re,selectedItemText:pe,position:c,isPositioned:K,searchRef:We,children:I.jsx(Dz,{as:Snr,allowPinchZoom:!0,children:I.jsx(Rz,{asChild:!0,trapped:P.open,onMountAutoFocus:Et=>{Et.preventDefault()},onUnmountAutoFocus:Dr(d,Et=>{var Dt;(Dt=P.trigger)==null||Dt.focus({preventScroll:!0}),Et.preventDefault()}),children:I.jsx(Iz,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:g,onPointerDownOutside:b,onFocusOutside:Et=>Et.preventDefault(),onDismiss:()=>P.onOpenChange(!1),children:I.jsx(pt,{role:"listbox",id:P.contentId,"data-state":P.open?"open":"closed",dir:P.dir,onContextMenu:Et=>Et.preventDefault(),...$,...Kt,onPlaced:()=>ge(!0),ref:Q,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:Dr($.onKeyDown,Et=>{const Dt=Et.ctrlKey||Et.altKey||Et.metaKey;if(Et.key==="Tab"&&Et.preventDefault(),!Dt&&Et.key.length===1&&ut(Et.key),["ArrowUp","ArrowDown","Home","End"].includes(Et.key)){let Ln=fe().filter(Zn=>!Zn.disabled).map(Zn=>Zn.ref.current);if(["ArrowUp","End"].includes(Et.key)&&(Ln=Ln.slice().reverse()),["ArrowUp","ArrowDown"].includes(Et.key)){const Zn=Et.target,Yn=Ln.indexOf(Zn);Ln=Ln.slice(Yn+1)}setTimeout(()=>Se(Ln)),Et.preventDefault()}})})})})})})});XKt.displayName=Enr;var Tnr="SelectItemAlignedPosition",ZKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,onPlaced:c,...d}=n,g=xN(SR,s),b=kN(SR,s),[w,E]=H.useState(null),[S,_]=H.useState(null),A=ps(i,Q=>_(Q)),C=Xae(s),O=H.useRef(!1),L=H.useRef(!0),{viewport:D,selectedItem:B,selectedItemText:$,focusSelectedItem:P}=b,j=H.useCallback(()=>{if(g.trigger&&g.valueNode&&w&&S&&D&&B&&$){const Q=g.trigger.getBoundingClientRect(),ae=S.getBoundingClientRect(),he=g.valueNode.getBoundingClientRect(),pe=$.getBoundingClientRect();if(g.dir!=="rtl"){const Zn=pe.left-ae.left,Yn=he.left-Zn,Er=Q.left-Yn,Ui=Q.width+Er,Qr=Math.max(Ui,ae.width),Hi=window.innerWidth-kv,ai=vse(Yn,[kv,Math.max(kv,Hi-Qr)]);w.style.minWidth=Ui+"px",w.style.left=ai+"px"}else{const Zn=ae.right-pe.right,Yn=window.innerWidth-he.right-Zn,Er=window.innerWidth-Q.right-Yn,Ui=Q.width+Er,Qr=Math.max(Ui,ae.width),Hi=window.innerWidth-kv,ai=vse(Yn,[kv,Math.max(kv,Hi-Qr)]);w.style.minWidth=Ui+"px",w.style.right=ai+"px"}const ue=C(),fe=window.innerHeight-kv*2,K=D.scrollHeight,ge=window.getComputedStyle(S),De=parseInt(ge.borderTopWidth,10),Se=parseInt(ge.paddingTop,10),Re=parseInt(ge.borderBottomWidth,10),Ae=parseInt(ge.paddingBottom,10),xe=De+Se+K+Ae+Re,We=Math.min(B.offsetHeight*5,xe),ut=window.getComputedStyle(D),Be=parseInt(ut.paddingTop,10),bt=parseInt(ut.paddingBottom,10),Nt=Q.top+Q.height/2-kv,pt=fe-Nt,Kt=B.offsetHeight/2,Et=B.offsetTop+Kt,Dt=De+Se+Et,Yt=xe-Dt;if(Dt<=Nt){const Zn=ue.length>0&&B===ue[ue.length-1].ref.current;w.style.bottom="0px";const Yn=S.clientHeight-D.offsetTop-D.offsetHeight,Er=Math.max(pt,Kt+(Zn?bt:0)+Yn+Re),Ui=Dt+Er;w.style.height=Ui+"px"}else{const Zn=ue.length>0&&B===ue[0].ref.current;w.style.top="0px";const Er=Math.max(Nt,De+D.offsetTop+(Zn?Be:0)+Kt)+Yt;w.style.height=Er+"px",D.scrollTop=Dt-Nt+D.offsetTop}w.style.margin=`${kv}px 0`,w.style.minHeight=We+"px",w.style.maxHeight=fe+"px",c==null||c(),requestAnimationFrame(()=>O.current=!0)}},[C,g.trigger,g.valueNode,w,S,D,B,$,g.dir,c]);Up(()=>j(),[j]);const[z,ee]=H.useState();Up(()=>{S&&ee(window.getComputedStyle(S).zIndex)},[S]);const ne=H.useCallback(Q=>{Q&&L.current===!0&&(j(),P==null||P(),L.current=!1)},[j,P]);return I.jsx(_nr,{scope:s,contentWrapper:w,shouldExpandOnScrollRef:O,onScrollButtonChange:ne,children:I.jsx("div",{ref:E,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:z},children:I.jsx(no.div,{...d,ref:A,style:{boxSizing:"border-box",maxHeight:"100%",...d.style}})})})});ZKt.displayName=Tnr;var Anr="SelectPopperPosition",eLe=H.forwardRef((n,i)=>{const{__scopeSelect:s,align:c="start",collisionPadding:d=kv,...g}=n,b=Zae(s);return I.jsx(cMe,{...b,...g,ref:i,align:c,collisionPadding:d,style:{boxSizing:"border-box",...g.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});eLe.displayName=Anr;var[_nr,ZMe]=WM(SR,{}),tLe="SelectViewport",QKt=H.forwardRef((n,i)=>{const{__scopeSelect:s,nonce:c,...d}=n,g=kN(tLe,s),b=ZMe(tLe,s),w=ps(i,g.onViewportChange),E=H.useRef(0);return I.jsxs(I.Fragment,{children:[I.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:c}),I.jsx(Jae.Slot,{scope:s,children:I.jsx(no.div,{"data-radix-select-viewport":"",role:"presentation",...d,ref:w,style:{position:"relative",flex:1,overflow:"hidden auto",...d.style},onScroll:Dr(d.onScroll,S=>{const _=S.currentTarget,{contentWrapper:A,shouldExpandOnScrollRef:C}=b;if(C!=null&&C.current&&A){const O=Math.abs(E.current-_.scrollTop);if(O>0){const L=window.innerHeight-kv*2,D=parseFloat(A.style.minHeight),B=parseFloat(A.style.height),$=Math.max(D,B);if($<L){const P=$+O,j=Math.min(L,P),z=P-j;A.style.height=j+"px",A.style.bottom==="0px"&&(_.scrollTop=z>0?z:0,A.style.justifyContent="flex-end")}}}E.current=_.scrollTop})})})]})});QKt.displayName=tLe;var eYt="SelectGroup",[xnr,knr]=WM(eYt),Nnr=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n,d=Bh();return I.jsx(xnr,{scope:s,id:d,children:I.jsx(no.div,{role:"group","aria-labelledby":d,...c,ref:i})})});Nnr.displayName=eYt;var tYt="SelectLabel",nYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n,d=knr(tYt,s);return I.jsx(no.div,{id:d.id,...c,ref:i})});nYt.displayName=tYt;var Ese="SelectItem",[Cnr,rYt]=WM(Ese),iYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,value:c,disabled:d=!1,textValue:g,...b}=n,w=xN(Ese,s),E=kN(Ese,s),S=w.value===c,[_,A]=H.useState(g??""),[C,O]=H.useState(!1),L=ps(i,P=>{var j;return(j=E.itemRefCallback)==null?void 0:j.call(E,P,c,d)}),D=Bh(),B=H.useRef("touch"),$=()=>{d||(w.onValueChange(c),w.onOpenChange(!1))};if(c==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return I.jsx(Cnr,{scope:s,value:c,disabled:d,textId:D,isSelected:S,onItemTextChange:H.useCallback(P=>{A(j=>j||((P==null?void 0:P.textContent)??"").trim())},[]),children:I.jsx(Jae.ItemSlot,{scope:s,value:c,disabled:d,textValue:_,children:I.jsx(no.div,{role:"option","aria-labelledby":D,"data-highlighted":C?"":void 0,"aria-selected":S&&C,"data-state":S?"checked":"unchecked","aria-disabled":d||void 0,"data-disabled":d?"":void 0,tabIndex:d?void 0:-1,...b,ref:L,onFocus:Dr(b.onFocus,()=>O(!0)),onBlur:Dr(b.onBlur,()=>O(!1)),onClick:Dr(b.onClick,()=>{B.current!=="mouse"&&$()}),onPointerUp:Dr(b.onPointerUp,()=>{B.current==="mouse"&&$()}),onPointerDown:Dr(b.onPointerDown,P=>{B.current=P.pointerType}),onPointerMove:Dr(b.onPointerMove,P=>{var j;B.current=P.pointerType,d?(j=E.onItemLeave)==null||j.call(E):B.current==="mouse"&&P.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Dr(b.onPointerLeave,P=>{var j;P.currentTarget===document.activeElement&&((j=E.onItemLeave)==null||j.call(E))}),onKeyDown:Dr(b.onKeyDown,P=>{var z;((z=E.searchRef)==null?void 0:z.current)!==""&&P.key===" "||(pnr.includes(P.key)&&$(),P.key===" "&&P.preventDefault())})})})})});iYt.displayName=Ese;var oH="SelectItemText",oYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,className:c,style:d,...g}=n,b=xN(oH,s),w=kN(oH,s),E=rYt(oH,s),S=wnr(oH,s),[_,A]=H.useState(null),C=ps(i,$=>A($),E.onItemTextChange,$=>{var P;return(P=w.itemTextRefCallback)==null?void 0:P.call(w,$,E.value,E.disabled)}),O=_==null?void 0:_.textContent,L=H.useMemo(()=>I.jsx("option",{value:E.value,disabled:E.disabled,children:O},E.value),[E.disabled,E.value,O]),{onNativeOptionAdd:D,onNativeOptionRemove:B}=S;return Up(()=>(D(L),()=>B(L)),[D,B,L]),I.jsxs(I.Fragment,{children:[I.jsx(no.span,{id:E.textId,...g,ref:C}),E.isSelected&&b.valueNode&&!b.valueNodeHasChildren?xR.createPortal(g.children,b.valueNode):null]})});oYt.displayName=oH;var sYt="SelectItemIndicator",aYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n;return rYt(sYt,s).isSelected?I.jsx(no.span,{"aria-hidden":!0,...c,ref:i}):null});aYt.displayName=sYt;var nLe="SelectScrollUpButton",cYt=H.forwardRef((n,i)=>{const s=kN(nLe,n.__scopeSelect),c=ZMe(nLe,n.__scopeSelect),[d,g]=H.useState(!1),b=ps(i,c.onScrollButtonChange);return Up(()=>{if(s.viewport&&s.isPositioned){let w=function(){const S=E.scrollTop>0;g(S)};const E=s.viewport;return w(),E.addEventListener("scroll",w),()=>E.removeEventListener("scroll",w)}},[s.viewport,s.isPositioned]),d?I.jsx(lYt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=s;w&&E&&(w.scrollTop=w.scrollTop-E.offsetHeight)}}):null});cYt.displayName=nLe;var rLe="SelectScrollDownButton",uYt=H.forwardRef((n,i)=>{const s=kN(rLe,n.__scopeSelect),c=ZMe(rLe,n.__scopeSelect),[d,g]=H.useState(!1),b=ps(i,c.onScrollButtonChange);return Up(()=>{if(s.viewport&&s.isPositioned){let w=function(){const S=E.scrollHeight-E.clientHeight,_=Math.ceil(E.scrollTop)<S;g(_)};const E=s.viewport;return w(),E.addEventListener("scroll",w),()=>E.removeEventListener("scroll",w)}},[s.viewport,s.isPositioned]),d?I.jsx(lYt,{...n,ref:b,onAutoScroll:()=>{const{viewport:w,selectedItem:E}=s;w&&E&&(w.scrollTop=w.scrollTop+E.offsetHeight)}}):null});uYt.displayName=rLe;var lYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,onAutoScroll:c,...d}=n,g=kN("SelectScrollButton",s),b=H.useRef(null),w=Xae(s),E=H.useCallback(()=>{b.current!==null&&(window.clearInterval(b.current),b.current=null)},[]);return H.useEffect(()=>()=>E(),[E]),Up(()=>{var _;const S=w().find(A=>A.ref.current===document.activeElement);(_=S==null?void 0:S.ref.current)==null||_.scrollIntoView({block:"nearest"})},[w]),I.jsx(no.div,{"aria-hidden":!0,...d,ref:i,style:{flexShrink:0,...d.style},onPointerDown:Dr(d.onPointerDown,()=>{b.current===null&&(b.current=window.setInterval(c,50))}),onPointerMove:Dr(d.onPointerMove,()=>{var S;(S=g.onItemLeave)==null||S.call(g),b.current===null&&(b.current=window.setInterval(c,50))}),onPointerLeave:Dr(d.onPointerLeave,()=>{E()})})}),Inr="SelectSeparator",dYt=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n;return I.jsx(no.div,{"aria-hidden":!0,...c,ref:i})});dYt.displayName=Inr;var iLe="SelectArrow",Rnr=H.forwardRef((n,i)=>{const{__scopeSelect:s,...c}=n,d=Zae(s),g=xN(iLe,s),b=kN(iLe,s);return g.open&&b.position==="popper"?I.jsx(uMe,{...d,...c,ref:i}):null});Rnr.displayName=iLe;var Onr="SelectBubbleInput",fYt=H.forwardRef(({__scopeSelect:n,value:i,...s},c)=>{const d=H.useRef(null),g=ps(c,d),b=Vae(i);return H.useEffect(()=>{const w=d.current;if(!w)return;const E=window.HTMLSelectElement.prototype,_=Object.getOwnPropertyDescriptor(E,"value").set;if(b!==i&&_){const A=new Event("change",{bubbles:!0});_.call(w,i),w.dispatchEvent(A)}},[b,i]),I.jsx(no.select,{...s,style:{...UKt,...s.style},ref:g,defaultValue:i})});fYt.displayName=Onr;function hYt(n){return n===""||n===void 0}function pYt(n){const i=q2(n),s=H.useRef(""),c=H.useRef(0),d=H.useCallback(b=>{const w=s.current+b;i(w),function E(S){s.current=S,window.clearTimeout(c.current),S!==""&&(c.current=window.setTimeout(()=>E(""),1e3))}(w)},[i]),g=H.useCallback(()=>{s.current="",window.clearTimeout(c.current)},[]);return H.useEffect(()=>()=>window.clearTimeout(c.current),[]),[s,d,g]}function gYt(n,i,s){const d=i.length>1&&Array.from(i).every(S=>S===i[0])?i[0]:i,g=s?n.indexOf(s):-1;let b=Dnr(n,Math.max(g,0));d.length===1&&(b=b.filter(S=>S!==s));const E=b.find(S=>S.textValue.toLowerCase().startsWith(d.toLowerCase()));return E!==s?E:void 0}function Dnr(n,i){return n.map((s,c)=>n[(i+c)%n.length])}var Lnr=HKt,bYt=GKt,Mnr=VKt,Pnr=WKt,jnr=KKt,mYt=YKt,Fnr=QKt,wYt=nYt,yYt=iYt,$nr=oYt,Bnr=aYt,vYt=cYt,EYt=uYt,SYt=dYt;const zp=Lnr,Gp=Mnr,zh=H.forwardRef(({className:n,children:i,...s},c)=>I.jsxs(bYt,{ref:c,className:nr("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&>span]:line-clamp-1",n),...s,children:[i,I.jsx(Pnr,{asChild:!0,children:I.jsx(oae,{className:"h-4 w-4 opacity-50"})})]}));zh.displayName=bYt.displayName;const TYt=H.forwardRef(({className:n,...i},s)=>I.jsx(vYt,{ref:s,className:nr("flex cursor-default items-center justify-center py-1",n),...i,children:I.jsx(R8n,{className:"h-4 w-4"})}));TYt.displayName=vYt.displayName;const AYt=H.forwardRef(({className:n,...i},s)=>I.jsx(EYt,{ref:s,className:nr("flex cursor-default items-center justify-center py-1",n),...i,children:I.jsx(oae,{className:"h-4 w-4"})}));AYt.displayName=EYt.displayName;const Gh=H.forwardRef(({className:n,children:i,position:s="popper",container:c,...d},g)=>I.jsx(jnr,{container:c,children:I.jsxs(mYt,{ref:g,className:nr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",s==="popper"&&"data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1",n),position:s,...d,children:[I.jsx(TYt,{}),I.jsx(Fnr,{className:nr("p-1",s==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:i}),I.jsx(AYt,{})]})}));Gh.displayName=mYt.displayName;const Unr=H.forwardRef(({className:n,...i},s)=>I.jsx(wYt,{ref:s,className:nr("px-2 py-1.5 font-semibold text-sm",n),...i}));Unr.displayName=wYt.displayName;const eo=H.forwardRef(({className:n,children:i,...s},c)=>I.jsxs(yYt,{ref:c,className:nr("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...s,children:[I.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(Bnr,{children:I.jsx(oN,{className:"h-4 w-4"})})}),I.jsx($nr,{children:i})]}));eo.displayName=yYt.displayName;const Hnr=H.forwardRef(({className:n,...i},s)=>I.jsx(SYt,{ref:s,className:nr("-mx-1 my-1 h-px bg-muted",n),...i}));Hnr.displayName=SYt.displayName;const znr=["single","restart","queued","parallel"],Gnr=["silent","warning","critical"],l$t=new Set(["queued","parallel"]);function qnr(){const{t:n}=jo("common"),i=po(C=>C.flowName),s=po(C=>C.flowDescription),c=po(C=>C.setFlowName),d=po(C=>C.setFlowDescription),g=po(C=>C.flowMetadata),b=po(C=>C.setFlowMetadata),w=g.mode??"single",E=l$t.has(w),S=C=>{const O=C,L={mode:O};l$t.has(O)||(L.max=void 0,L.max_exceeded=void 0),b(L)},_=C=>{const O=Number.parseInt(C,10);C===""||Number.isNaN(O)?b({max:void 0}):O>0&&b({max:O})},A=C=>{b(C==="none"?{max_exceeded:void 0}:{max_exceeded:C})};return I.jsxs("div",{className:"h-full flex-1 space-y-4 overflow-y-auto p-4",children:[I.jsx("h3",{className:"mt-1.5 font-semibold text-foreground text-sm",children:n("automationSettings.title")}),I.jsx(No,{label:n("labels.automationName"),children:I.jsx(Na,{type:"text",value:i,onChange:C=>c(C.target.value),placeholder:n("placeholders.enterAutomationName")})}),I.jsx(No,{label:n("automationSettings.description"),children:I.jsx(Bv,{value:s,onChange:C=>d(C.target.value),placeholder:n("placeholders.describeAutomation"),rows:3})}),I.jsx($z,{}),I.jsxs(No,{label:n("automationSettings.mode"),description:n("automationSettings.modeDescription"),children:[I.jsxs(zp,{value:w,onValueChange:S,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsx(Gh,{children:znr.map(C=>I.jsx(eo,{value:C,children:n(`automationSettings.modes.${C}`)},C))})]}),I.jsx("p",{className:"text-muted-foreground text-xs",children:n(`automationSettings.modeDescriptions.${w}`)})]}),E&&I.jsxs(I.Fragment,{children:[I.jsx(No,{label:n("automationSettings.max"),description:n("automationSettings.maxDescription"),children:I.jsx(Na,{type:"number",min:1,value:g.max??"",onChange:C=>_(C.target.value),placeholder:"10"})}),g.max!=null&&I.jsx(No,{label:n("automationSettings.maxExceeded"),description:n("automationSettings.maxExceededDescription"),children:I.jsxs(zp,{value:g.max_exceeded??"none",onValueChange:A,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"none",children:n("placeholders.none")}),Gnr.map(C=>I.jsx(eo,{value:C,children:n(`automationSettings.maxExceededOptions.${C}`)},C))]})]})})]})]})}function _Yt({options:n,value:i,onChange:s,placeholder:c,className:d,buttonClassName:g,disabled:b=!1,renderOption:w,renderValue:E,searchKeys:S=["label","value"],fuzzyOptions:_={}}){const{t:A}=jo(["common"]),[C,O]=H.useState(!1),{query:L,setQuery:D,filteredItems:B}=gVt(n,{keys:S,threshold:.4,includeScore:!0,ignoreLocation:!0,includeMatches:!0,minMatchCharLength:1,..._}),$=n.find(j=>j.value===i),P=j=>{D(j)};return I.jsxs(dMe,{open:C,onOpenChange:O,children:[I.jsx(oVt,{asChild:!0,children:I.jsxs(mi,{variant:"outline",role:"combobox","aria-expanded":C,className:nr("flex w-full justify-between",g),disabled:b,children:[$?E?E($):$.label:c||A("combobox.select"),I.jsx(EGt,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),I.jsx(_ae,{className:nr("w-[286px] p-0",d),children:I.jsxs(pae,{shouldFilter:!1,children:[I.jsx(gae,{placeholder:c||A("combobox.select"),className:"h-9",value:L,onValueChange:P}),I.jsxs(bae,{children:[I.jsx(mae,{children:A("combobox.noOptions")}),I.jsx(nz,{children:B.map(j=>I.jsxs(rz,{value:j.value,onSelect:z=>{s(z===i?"":z),O(!1),D("")},children:[w?w(j):j.label,I.jsx(oN,{className:nr("ml-auto h-4 w-4",i===j.value?"opacity-100":"opacity-0")})]},j.value))})]})]})})]})}function oLe({values:n,onChange:i,placeholder:s="Add ID...",className:c}){const[d,g]=H.useState(""),b=()=>{const S=d.trim();S&&!n.includes(S)&&(i([...n,S]),g(""))},w=S=>{i(n.filter(_=>_!==S))},E=S=>{S.key==="Enter"&&(S.preventDefault(),b())};return I.jsxs("div",{className:nr("space-y-1",c),children:[I.jsxs("div",{className:"flex gap-1",children:[I.jsx(Na,{value:d,onChange:S=>g(S.target.value),onKeyDown:E,placeholder:s,className:"flex-1 font-mono text-xs"}),I.jsx(mi,{type:"button",size:"icon",variant:"outline",onClick:b,disabled:!d.trim(),children:I.jsx(sae,{className:"h-4 w-4"})})]}),n.length>0&&I.jsx("div",{className:"flex flex-wrap gap-1",children:n.map(S=>I.jsxs("span",{className:"inline-flex items-center rounded border bg-muted px-2 py-0.5 font-mono text-muted-foreground text-xs",children:[S,I.jsx(aae,{className:"ml-1 h-3 w-3 cursor-pointer hover:text-destructive",onClick:()=>w(S)})]},S))})]})}const Vnr={light:{label:"Light",color:"bg-yellow-100 dark:bg-yellow-900/50 text-yellow-800 dark:text-yellow-200"},switch:{label:"Switch",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"},sensor:{label:"Sensor",color:"bg-green-100 dark:bg-green-900/50 text-green-800 dark:text-green-200"},binary_sensor:{label:"Binary Sensor",color:"bg-purple-100 dark:bg-purple-900/50 text-purple-800 dark:text-purple-200"},climate:{label:"Climate",color:"bg-orange-100 dark:bg-orange-900/50 text-orange-800 dark:text-orange-200"},cover:{label:"Cover",color:"bg-indigo-100 dark:bg-indigo-900/50 text-indigo-800 dark:text-indigo-200"},fan:{label:"Fan",color:"bg-cyan-100 dark:bg-cyan-900/50 text-cyan-800 dark:text-cyan-200"},media_player:{label:"Media",color:"bg-pink-100 dark:bg-pink-900/50 text-pink-800 dark:text-pink-200"},automation:{label:"Automation",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},script:{label:"Script",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},scene:{label:"Scene",color:"bg-violet-100 dark:bg-violet-900/50 text-violet-800 dark:text-violet-200"},input_boolean:{label:"Input Bool",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_number:{label:"Input Num",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_select:{label:"Input Select",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_text:{label:"Input Text",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},input_datetime:{label:"Input Time",color:"bg-emerald-100 dark:bg-emerald-900/50 text-emerald-800 dark:text-emerald-200"},person:{label:"Person",color:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200"},device_tracker:{label:"Tracker",color:"bg-amber-100 dark:bg-amber-900/50 text-amber-800 dark:text-amber-200"},zone:{label:"Zone",color:"bg-lime-100 dark:bg-lime-900/50 text-lime-800 dark:text-lime-200"},sun:{label:"Sun",color:"bg-orange-100 dark:bg-orange-900/50 text-orange-800 dark:text-orange-200"},weather:{label:"Weather",color:"bg-sky-100 dark:bg-sky-900/50 text-sky-800 dark:text-sky-200"},camera:{label:"Camera",color:"bg-rose-100 dark:bg-rose-900/50 text-rose-800 dark:text-rose-200"},remote:{label:"Remote",color:"bg-gray-100 dark:bg-gray-700/50 text-gray-800 dark:text-gray-200"},vacuum:{label:"Vacuum",color:"bg-teal-100 dark:bg-teal-900/50 text-teal-800 dark:text-teal-200"},lock:{label:"Lock",color:"bg-red-100 dark:bg-red-900/50 text-red-800 dark:text-red-200"},alarm_control_panel:{label:"Alarm",color:"bg-red-100 dark:bg-red-900/50 text-red-800 dark:text-red-200"},water_heater:{label:"Water Heater",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"},humidifier:{label:"Humidifier",color:"bg-cyan-100 dark:bg-cyan-900/50 text-cyan-800 dark:text-cyan-200"},button:{label:"Button",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},number:{label:"Number",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},select:{label:"Select",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},text:{label:"Text",color:"bg-slate-100 dark:bg-slate-700/50 text-slate-800 dark:text-slate-200"},update:{label:"Update",color:"bg-blue-100 dark:bg-blue-900/50 text-blue-800 dark:text-blue-200"}};function Wnr(n){if(!n||typeof n!="string")return{label:"Unknown",color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"};const i=n.split(".")[0];return Vnr[i]||{label:i,color:"bg-gray-100 dark:bg-gray-700/50 text-gray-700 dark:text-gray-300"}}function Knr(n){return n.attributes.friendly_name||n.entity_id}function Sse({value:n,onChange:i,entities:s,placeholder:c="Select entity...",className:d,domainFilter:g}){const{entities:b,getDeviceNameForEntity:w,getAreaNameForEntity:E}=Wg(),S=s??b,_=H.useMemo(()=>{if(!g)return S;const B=Array.isArray(g)?g:[g];return S.filter($=>{const P=$.entity_id.split(".")[0];return B.includes(P)})},[S,g]),A=H.useMemo(()=>_.map(B=>{const $=Wnr(B.entity_id);return{value:B.entity_id,label:Knr(B),domainLabel:$.label,domainColor:$.color,deviceLabel:w(B.entity_id)??void 0,areaLabel:E(B.entity_id)??void 0}}),[_,w,E]),C=Array.isArray(n)?n[0]:n,O=_.find(B=>B.entity_id===C),L=C&&!O,D=B=>{i(B)};return I.jsxs("div",{className:nr("relative",d),children:[I.jsx(_Yt,{options:A,value:C||"",onChange:D,placeholder:c,buttonClassName:nr(!C&&"text-muted-foreground"),disabled:A.length===0,searchKeys:["label","value","deviceLabel","areaLabel"],fuzzyOptions:{threshold:.3,minMatchCharLength:2},renderOption:B=>I.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[I.jsx("span",{children:B.label}),I.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[I.jsx("span",{className:nr("rounded px-1.5 py-0.5 font-medium text-xs",B.domainColor),children:B.domainLabel}),B.deviceLabel&&I.jsx("span",{className:"truncate text-muted-foreground text-xs",children:B.deviceLabel}),B.areaLabel&&I.jsx("span",{className:"ml-auto shrink-0 text-muted-foreground text-xs",children:B.areaLabel})]})]}),renderValue:B=>B?I.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[I.jsx("span",{className:nr("rounded px-1.5 py-0.5 font-medium text-xs",B.domainColor),children:B.domainLabel}),I.jsx("span",{className:"truncate",children:B.label})]}):null}),L&&I.jsx("div",{className:"mt-1 truncate font-mono text-red-600",children:C})]})}function Qae({value:n,onChange:i,entities:s,placeholder:c="Select entities...",className:d}){const g=w=>{n.includes(w)||i([...n,w])},b=w=>{i(n.filter(E=>E!==w))};return I.jsxs("div",{className:nr("space-y-1",d),children:[I.jsx(Sse,{value:"",onChange:g,entities:s,placeholder:c,className:"w-full"}),I.jsx("div",{className:"flex flex-wrap gap-1",children:n.map(w=>I.jsxs("span",{className:"inline-flex items-center rounded border bg-muted px-2 py-0.5 font-mono text-muted-foreground text-xs",children:[w,I.jsx(aae,{className:"ml-1 h-3 w-3 cursor-pointer hover:text-destructive",onClick:()=>b(w)})]},w))})]})}function QMe(n,i,s){const d=n.data[i];return d??s}function jh(n,i,s=""){const c=QMe(n,i,s);if(typeof c=="string")return c;if(typeof c=="object"&&c!==null&&!Array.isArray(c)){const d=c;if(typeof d.value=="string")return d.value}return s}function C5(n,i,s={}){const c=QMe(n,i,s);return typeof c=="object"&&c!==null&&!Array.isArray(c)?c:s}function Ynr({response:n,responseVariable:i,showResponseVariable:s,setShowResponseVariable:c,onChange:d,handleResponseVariableChange:g}){const{t:b}=jo(["common","nodes"]),w=I.jsxs(I.Fragment,{children:[I.jsx(Na,{type:"text",value:i??"",onChange:g,placeholder:b("nodes:responseVariableField.placeholder")}),i!==void 0&&eWt(i)&&I.jsxs(dA,{variant:"destructive",className:"mt-2 border-0 px-0",children:[I.jsx(jKt,{children:b("labels.warning")}),I.jsx(fA,{children:b("nodes:responseVariableField.currentNodeWarning")})]})]});return n.optional?I.jsxs(No,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.optionalDescription"),children:[I.jsxs("div",{className:"mb-2 flex items-center gap-3",children:[I.jsx(J2,{checked:s,onCheckedChange:E=>{c(E),E||d("response_variable",void 0)},id:"response-variable-switch"}),I.jsx("label",{htmlFor:"response-variable-switch",className:"cursor-pointer select-none text-sm",children:b("nodes:responseVariableField.useResponseVariable")})]}),s&&w]}):I.jsx(No,{label:b("nodes:responseVariableField.label"),description:b("nodes:responseVariableField.requiredDescription"),children:w})}function Jnr(n){const i=n.trim();if(i==="")return;const s=Number(i);return Number.isNaN(s)?n:s}function Xnr(n){return n==null?"":typeof n=="number"||typeof n=="string"?String(n):""}function xYt({value:n,placeholder:i,required:s,onChange:c}){return I.jsx(Na,{type:"text",inputMode:"decimal",value:Xnr(n),placeholder:i,required:s,onChange:d=>c(Jnr(d.target.value))})}function kYt(n){if(!Array.isArray(n))return[];const i=[];for(const s of n){if(typeof s=="string"||typeof s=="number"){i.push({value:String(s),label:String(s)});continue}if(Array.isArray(s)){const[c,d]=s;if(c==null)continue;i.push({value:String(c),label:String(d??c)});continue}if(s&&typeof s=="object"&&"value"in s){const{value:c,label:d}=s;if(c==null)continue;i.push({value:String(c),label:String(d??c)})}}return i}const Znr="255, 255, 255";function Qnr(n){return Array.isArray(n)?n.join(", "):n==null?"":String(n)}function err(n){const i=n.split(",").map(c=>c.trim()).filter(c=>c!=="");if(i.length===0)return"";const s=i.map(Number);return s.some(Number.isNaN)?n:s}function trr({value:n,example:i,onChange:s}){const[c,d]=H.useState(null),g=i===void 0?Znr:String(i).replace(/[[\]]/g,"");return I.jsx(Na,{type:"text",inputMode:"numeric",value:c??Qnr(n),placeholder:g,onChange:b=>{d(b.target.value),s(err(b.target.value))},onBlur:()=>d(null)})}function nrr({serviceFields:n,currentData:i,onChange:s}){const{t:c}=jo(["common","nodes"]);return Object.keys(n).length===0?null:I.jsxs("div",{className:"mt-3 flex flex-col gap-3 border-t pt-3",children:[I.jsx("h4",{className:"mb-3 font-semibold text-muted-foreground text-xs",children:c("nodes:serviceDataFields.heading")}),Object.entries(n).map(([d,g])=>{const b=g.selector||{},w=Object.keys(b)[0],E=b[w]||{},S=i[d],_=g.name||d.replace(/_/g," ").replace(/\b\w/g,A=>A.toUpperCase());if(w==="number"){const A=E;return I.jsx(No,{label:`${_}${A.unit_of_measurement?` (${A.unit_of_measurement})`:""}`,required:g.required,description:g.description,children:I.jsx(xYt,{value:i[d],required:g.required,placeholder:g.example!==void 0?String(g.example):"",onChange:C=>s(d,C??"")})},d)}if(w==="select"){const A=kYt(E.options);return I.jsx(No,{label:_,required:g.required,description:g.description,children:I.jsxs(zp,{value:String(S===""?"__NONE__":S??"__NONE__"),onValueChange:C=>s(d,C==="__NONE__"?"":C),children:[I.jsx(zh,{children:I.jsx(Gp,{placeholder:c("placeholders.none")})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"__NONE__",children:c("placeholders.none")}),A.map(C=>I.jsx(eo,{value:C.value,children:C.label},C.value))]})]})},d)}if(w==="boolean")return I.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[I.jsx("input",{type:"checkbox",checked:S??!1,onChange:A=>s(d,A.target.checked),className:"rounded"}),I.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[_,g.required&&I.jsx("span",{className:"ml-0.5 text-destructive",children:c("labels.requiredAsterisk")})]})]},d);if(w==="entity"){if(E.multiple===!0){const O=Array.isArray(S)?S:S?[String(S)]:[];return I.jsx(No,{label:_,required:g.required,description:g.description,children:I.jsx(Qae,{value:O,onChange:L=>s(d,L),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return I.jsx(No,{label:_,required:g.required,description:g.description,children:I.jsx(Sse,{value:String(S??""),onChange:O=>s(d,O),placeholder:g.example!==void 0?String(g.example):void 0})},d)}return w==="color_rgb"||d==="rgb_color"?I.jsx(No,{label:_,required:g.required,description:g.description,children:I.jsx(trr,{value:i[d],example:g.example,onChange:A=>s(d,A)})},d):I.jsx(No,{label:_,required:g.required,description:g.description,children:I.jsx(Na,{type:"text",value:S??"",onChange:A=>s(d,A.target.value),placeholder:g.example!==void 0?String(g.example):""})},d)})]})}const rrr=new Set(["homeassistant","group"]);function irr(n,i){if(!n||!n.includes("."))return i;const s=n.split(".")[0];if(rrr.has(s))return i;const c=i.filter(d=>d.entity_id.startsWith(`${s}.`));return c.length>0?c:i}function orr({node:n,onChange:i,entities:s}){const{t:c}=jo(["nodes"]),{getAllServices:d,getServiceDefinition:g}=Wg(),{getFieldError:b}=gb(n.id),w=jh(n,"service"),E=jh(n,"event"),S=n.data,_=typeof S.stop=="string"?S.stop:void 0,A=S.error===!0,C=g(w),O=(C==null?void 0:C.fields)||{},L=C5(n,"data",{}),D=jh(n,"response_variable"),[B,$]=H.useState(!!D),P=_!==void 0?"stop":E?"event":"service";H.useEffect(()=>{$(!!D)},[D]);const j=Re=>{Re==="stop"?(i("service",void 0),i("target",void 0),i("data",void 0),i("event",void 0),i("event_data",void 0),i("stop",""),i("error",void 0)):Re==="event"?(i("service",void 0),i("target",void 0),i("data",void 0),i("stop",void 0),i("error",void 0)):(i("event",void 0),i("event_data",void 0),i("stop",void 0),i("error",void 0))},z=Re=>{i("service",Re),i("data",void 0)},ee=Re=>{const xe={...C5(n,"target",{}),entity_id:Re.length>0?Re:void 0};xe.entity_id||delete xe.entity_id,i("target",Object.keys(xe).length>0?xe:void 0)},ne=Re=>{const xe={...C5(n,"target",{}),device_id:Re.length>0?Re:void 0};xe.device_id||delete xe.device_id,i("target",Object.keys(xe).length>0?xe:void 0)},Q=Re=>{const xe={...C5(n,"target",{}),area_id:Re.length>0?Re:void 0};xe.area_id||delete xe.area_id,i("target",Object.keys(xe).length>0?xe:void 0)},ae=(Re,Ae)=>{const xe={...L,[Re]:Ae===""?void 0:Ae},We=Object.fromEntries(Object.entries(xe).filter(([,ut])=>ut!==void 0&&ut!==""));i("data",Object.keys(We).length>0?We:void 0)},he=Re=>{i("response_variable",Re.target.value===""?void 0:Re.target.value)},pe=C5(n,"target",{}),ue=Re=>Re?Array.isArray(Re)?Re:[Re]:[],fe=ue(pe.entity_id),K=ue(pe.device_id),ge=ue(pe.area_id),De=K.length>0,Se=ge.length>0;return I.jsxs(I.Fragment,{children:[I.jsx(No,{label:c("nodes:actions.actionTypeLabel"),required:!0,children:I.jsxs(zp,{value:P,onValueChange:j,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"service",children:c("nodes:actions.actionTypes.service")}),I.jsx(eo,{value:"event",children:c("nodes:actions.actionTypes.event")}),I.jsx(eo,{value:"stop",children:c("nodes:actions.actionTypes.stop")})]})]})}),P==="stop"?I.jsxs(I.Fragment,{children:[I.jsx(No,{label:c("nodes:actions.stopMessageLabel"),children:I.jsx(Na,{type:"text",value:_??"",onChange:Re=>i("stop",Re.target.value),placeholder:c("nodes:actions.stopMessagePlaceholder")})}),I.jsx(No,{label:c("nodes:actions.markAsError"),children:I.jsx(J2,{checked:A,onCheckedChange:Re=>i("error",Re||void 0)})})]}):P==="event"?I.jsx(I.Fragment,{children:I.jsxs(No,{label:c("nodes:actions.eventNameLabel"),required:!0,children:[I.jsx(Na,{type:"text",value:E,onChange:Re=>i("event",Re.target.value||void 0),placeholder:c("nodes:actions.eventNamePlaceholder")}),I.jsx(H2,{message:b("event")})]})}):I.jsxs(I.Fragment,{children:[I.jsxs(No,{label:c("nodes:actions.actionLabel"),required:!0,children:[I.jsx(_Yt,{options:d().map(({domain:Re,service:Ae})=>({value:`${Re}.${Ae}`,label:`${Re}.${Ae}`})),value:w,onChange:z,placeholder:c("nodes:actions.selectAction")}),I.jsx(H2,{message:b("service")})]}),((C==null?void 0:C.target)||fe.length>0)&&I.jsx(No,{label:c("nodes:actions.targetEntities"),children:I.jsx(Qae,{value:fe,onChange:ee,entities:irr(w,s),placeholder:c("nodes:actions.selectTargetEntities")})}),(De||(C==null?void 0:C.target))&&I.jsx(No,{label:c("nodes:actions.targetDevices"),description:c("nodes:actions.targetDevicesDescription"),children:I.jsx(oLe,{values:K,onChange:ne,placeholder:c("nodes:actions.addDeviceId")})}),(Se||(C==null?void 0:C.target))&&I.jsx(No,{label:c("nodes:actions.targetAreas"),description:c("nodes:actions.targetAreasDescription"),children:I.jsx(oLe,{values:ge,onChange:Q,placeholder:c("nodes:actions.addAreaId")})}),I.jsx(nrr,{serviceFields:O,currentData:L,onChange:ae}),(C==null?void 0:C.response)&&I.jsx(Ynr,{response:C.response,responseVariable:D,showResponseVariable:B,setShowResponseVariable:$,onChange:i,handleResponseVariableChange:he})]})]})}function NYt({value:n,onChange:i}){const{t:s}=jo(["common","nodes"]),c=typeof n=="string",d=!c&&typeof n=="object"&&n!==null?n:{},[g,b]=H.useState(c),w=S=>{if(b(S),S){const _=d.hours??0,A=d.minutes??0,C=d.seconds??0,O=d.milliseconds??0,L=[_,A,C].map(B=>B.toString().padStart(2,"0")).join(":"),D=O?`${L}.${O}`:L;i(D)}else if(c){const _=/^([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})(?:\.(\d{1,3}))?$/.exec(n);if(_){const[,A,C,O,L]=_;i({hours:Number(A),minutes:Number(C),seconds:Number(O),...L?{milliseconds:Number(L)}:{}})}else i({})}},E=(S,_)=>{const A=_===""?void 0:Number(_),C={...d,[S]:Number.isNaN(A)?void 0:A};Object.keys(C).forEach(O=>{const L=C[O];L==null&&delete C[O]}),i(C)};return I.jsxs("div",{className:"flex flex-col gap-2",children:[I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx("span",{className:"text-muted-foreground text-xs",children:s("nodes:durationField.string")}),I.jsx(J2,{checked:g,onCheckedChange:w}),I.jsx("span",{className:"text-muted-foreground text-xs",children:s("nodes:durationField.object")})]}),g?I.jsx(Na,{type:"text",value:c?n:"",onChange:S=>i(S.target.value),placeholder:s("nodes:durationField.placeholder")}):I.jsxs("div",{className:"flex gap-2",children:[I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.hours")}),I.jsx(Na,{type:"number",min:0,value:d.hours??"",onChange:S=>E("hours",S.target.value),placeholder:"0",className:"mt-1"})]}),I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.minutes")}),I.jsx(Na,{type:"number",min:0,value:d.minutes??"",onChange:S=>E("minutes",S.target.value),placeholder:"0",className:"mt-1"})]}),I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.seconds")}),I.jsx(Na,{type:"number",min:0,value:d.seconds??"",onChange:S=>E("seconds",S.target.value),placeholder:"0",className:"mt-1"})]}),I.jsxs("div",{className:"flex-1",children:[I.jsx(ll,{className:"text-muted-foreground text-xs",children:s("nodes:durationField.milliseconds")}),I.jsx(Na,{type:"number",min:0,value:d.milliseconds??"",onChange:S=>E("milliseconds",S.target.value),placeholder:"0",className:"mt-1"})]})]})]})}function CYt({label:n,description:i,value:s,onChange:c}){const{t:d}=jo(["common","nodes"]);return I.jsx(No,{label:n??d("nodes:durationField.label"),description:i||d("nodes:durationField.description"),children:I.jsx(NYt,{value:s,onChange:c})})}var YOe="rovingFocusGroup.onEntryFocus",srr={bubbles:!1,cancelable:!0},Uz="RovingFocusGroup",[sLe,IYt,arr]=Yae(Uz),[crr,ece]=Nw(Uz,[arr]),[urr,lrr]=crr(Uz),RYt=H.forwardRef((n,i)=>I.jsx(sLe.Provider,{scope:n.__scopeRovingFocusGroup,children:I.jsx(sLe.Slot,{scope:n.__scopeRovingFocusGroup,children:I.jsx(drr,{...n,ref:i})})}));RYt.displayName=Uz;var drr=H.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:s,orientation:c,loop:d=!1,dir:g,currentTabStopId:b,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:E,onEntryFocus:S,preventScrollOnEntryFocus:_=!1,...A}=n,C=H.useRef(null),O=ps(i,C),L=Bz(g),[D,B]=G2({prop:b,defaultProp:w??null,onChange:E,caller:Uz}),[$,P]=H.useState(!1),j=q2(S),z=IYt(s),ee=H.useRef(!1),[ne,Q]=H.useState(0);return H.useEffect(()=>{const ae=C.current;if(ae)return ae.addEventListener(YOe,j),()=>ae.removeEventListener(YOe,j)},[j]),I.jsx(urr,{scope:s,orientation:c,dir:L,loop:d,currentTabStopId:D,onItemFocus:H.useCallback(ae=>B(ae),[B]),onItemShiftTab:H.useCallback(()=>P(!0),[]),onFocusableItemAdd:H.useCallback(()=>Q(ae=>ae+1),[]),onFocusableItemRemove:H.useCallback(()=>Q(ae=>ae-1),[]),children:I.jsx(no.div,{tabIndex:$||ne===0?-1:0,"data-orientation":c,...A,ref:O,style:{outline:"none",...n.style},onMouseDown:Dr(n.onMouseDown,()=>{ee.current=!0}),onFocus:Dr(n.onFocus,ae=>{const he=!ee.current;if(ae.target===ae.currentTarget&&he&&!$){const pe=new CustomEvent(YOe,srr);if(ae.currentTarget.dispatchEvent(pe),!pe.defaultPrevented){const ue=z().filter(Se=>Se.focusable),fe=ue.find(Se=>Se.active),K=ue.find(Se=>Se.id===D),De=[fe,K,...ue].filter(Boolean).map(Se=>Se.ref.current);LYt(De,_)}}ee.current=!1}),onBlur:Dr(n.onBlur,()=>P(!1))})})}),OYt="RovingFocusGroupItem",DYt=H.forwardRef((n,i)=>{const{__scopeRovingFocusGroup:s,focusable:c=!0,active:d=!1,tabStopId:g,children:b,...w}=n,E=Bh(),S=g||E,_=lrr(OYt,s),A=_.currentTabStopId===S,C=IYt(s),{onFocusableItemAdd:O,onFocusableItemRemove:L,currentTabStopId:D}=_;return H.useEffect(()=>{if(c)return O(),()=>L()},[c,O,L]),I.jsx(sLe.ItemSlot,{scope:s,id:S,focusable:c,active:d,children:I.jsx(no.span,{tabIndex:A?0:-1,"data-orientation":_.orientation,...w,ref:i,onMouseDown:Dr(n.onMouseDown,B=>{c?_.onItemFocus(S):B.preventDefault()}),onFocus:Dr(n.onFocus,()=>_.onItemFocus(S)),onKeyDown:Dr(n.onKeyDown,B=>{if(B.key==="Tab"&&B.shiftKey){_.onItemShiftTab();return}if(B.target!==B.currentTarget)return;const $=prr(B,_.orientation,_.dir);if($!==void 0){if(B.metaKey||B.ctrlKey||B.altKey||B.shiftKey)return;B.preventDefault();let j=C().filter(z=>z.focusable).map(z=>z.ref.current);if($==="last")j.reverse();else if($==="prev"||$==="next"){$==="prev"&&j.reverse();const z=j.indexOf(B.currentTarget);j=_.loop?grr(j,z+1):j.slice(z+1)}setTimeout(()=>LYt(j))}}),children:typeof b=="function"?b({isCurrentTabStop:A,hasTabStop:D!=null}):b})})});DYt.displayName=OYt;var frr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function hrr(n,i){return i!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function prr(n,i,s){const c=hrr(n.key,s);if(!(i==="vertical"&&["ArrowLeft","ArrowRight"].includes(c))&&!(i==="horizontal"&&["ArrowUp","ArrowDown"].includes(c)))return frr[c]}function LYt(n,i=!1){const s=document.activeElement;for(const c of n)if(c===s||(c.focus({preventScroll:i}),document.activeElement!==s))return}function grr(n,i){return n.map((s,c)=>n[(i+c)%n.length])}var MYt=RYt,PYt=DYt;function brr(n){const i=mrr(n),s=H.forwardRef((c,d)=>{const{children:g,...b}=c,w=H.Children.toArray(g),E=w.find(yrr);if(E){const S=E.props.children,_=w.map(A=>A===E?H.Children.count(S)>1?H.Children.only(null):H.isValidElement(S)?S.props.children:null:A);return I.jsx(i,{...b,ref:d,children:H.isValidElement(S)?H.cloneElement(S,void 0,_):null})}return I.jsx(i,{...b,ref:d,children:g})});return s.displayName=`${n}.Slot`,s}function mrr(n){const i=H.forwardRef((s,c)=>{const{children:d,...g}=s;if(H.isValidElement(d)){const b=Err(d),w=vrr(g,d.props);return d.type!==H.Fragment&&(w.ref=c?zg(c,b):b),H.cloneElement(d,w)}return H.Children.count(d)>1?H.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var wrr=Symbol("radix.slottable");function yrr(n){return H.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===wrr}function vrr(n,i){const s={...i};for(const c in i){const d=n[c],g=i[c];/^on[A-Z]/.test(c)?d&&g?s[c]=(...w)=>{const E=g(...w);return d(...w),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...g}:c==="className"&&(s[c]=[d,g].filter(Boolean).join(" "))}return{...n,...s}}function Err(n){var c,d;let i=(c=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(d=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:d.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var aLe=["Enter"," "],Srr=["ArrowDown","PageUp","Home"],jYt=["ArrowUp","PageDown","End"],Trr=[...Srr,...jYt],Arr={ltr:[...aLe,"ArrowRight"],rtl:[...aLe,"ArrowLeft"]},_rr={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Hz="Menu",[fz,xrr,krr]=Yae(Hz),[LR,FYt]=Nw(Hz,[krr,UM,ece]),tce=UM(),$Yt=ece(),[Nrr,MR]=LR(Hz),[Crr,zz]=LR(Hz),BYt=n=>{const{__scopeMenu:i,open:s=!1,children:c,dir:d,onOpenChange:g,modal:b=!0}=n,w=tce(i),[E,S]=H.useState(null),_=H.useRef(!1),A=q2(g),C=Bz(d);return H.useEffect(()=>{const O=()=>{_.current=!0,document.addEventListener("pointerdown",L,{capture:!0,once:!0}),document.addEventListener("pointermove",L,{capture:!0,once:!0})},L=()=>_.current=!1;return document.addEventListener("keydown",O,{capture:!0}),()=>{document.removeEventListener("keydown",O,{capture:!0}),document.removeEventListener("pointerdown",L,{capture:!0}),document.removeEventListener("pointermove",L,{capture:!0})}},[]),I.jsx(aMe,{...w,children:I.jsx(Nrr,{scope:i,open:s,onOpenChange:A,content:E,onContentChange:S,children:I.jsx(Crr,{scope:i,onClose:H.useCallback(()=>A(!1),[A]),isUsingKeyboardRef:_,dir:C,modal:b,children:c})})})};BYt.displayName=Hz;var Irr="MenuAnchor",e9e=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n,d=tce(s);return I.jsx(Tae,{...d,...c,ref:i})});e9e.displayName=Irr;var t9e="MenuPortal",[Rrr,UYt]=LR(t9e,{forceMount:void 0}),HYt=n=>{const{__scopeMenu:i,forceMount:s,children:c,container:d}=n,g=MR(t9e,i);return I.jsx(Rrr,{scope:i,forceMount:s,children:I.jsx(Cw,{present:s||g.open,children:I.jsx(Oz,{asChild:!0,container:d,children:c})})})};HYt.displayName=t9e;var Aw="MenuContent",[Orr,n9e]=LR(Aw),zYt=H.forwardRef((n,i)=>{const s=UYt(Aw,n.__scopeMenu),{forceMount:c=s.forceMount,...d}=n,g=MR(Aw,n.__scopeMenu),b=zz(Aw,n.__scopeMenu);return I.jsx(fz.Provider,{scope:n.__scopeMenu,children:I.jsx(Cw,{present:c||g.open,children:I.jsx(fz.Slot,{scope:n.__scopeMenu,children:b.modal?I.jsx(Drr,{...d,ref:i}):I.jsx(Lrr,{...d,ref:i})})})})}),Drr=H.forwardRef((n,i)=>{const s=MR(Aw,n.__scopeMenu),c=H.useRef(null),d=ps(i,c);return H.useEffect(()=>{const g=c.current;if(g)return lae(g)},[]),I.jsx(r9e,{...n,ref:d,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:Dr(n.onFocusOutside,g=>g.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)})}),Lrr=H.forwardRef((n,i)=>{const s=MR(Aw,n.__scopeMenu);return I.jsx(r9e,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>s.onOpenChange(!1)})}),Mrr=brr("MenuContent.ScrollLock"),r9e=H.forwardRef((n,i)=>{const{__scopeMenu:s,loop:c=!1,trapFocus:d,onOpenAutoFocus:g,onCloseAutoFocus:b,disableOutsidePointerEvents:w,onEntryFocus:E,onEscapeKeyDown:S,onPointerDownOutside:_,onFocusOutside:A,onInteractOutside:C,onDismiss:O,disableOutsideScroll:L,...D}=n,B=MR(Aw,s),$=zz(Aw,s),P=tce(s),j=$Yt(s),z=xrr(s),[ee,ne]=H.useState(null),Q=H.useRef(null),ae=ps(i,Q,B.onContentChange),he=H.useRef(0),pe=H.useRef(""),ue=H.useRef(0),fe=H.useRef(null),K=H.useRef("right"),ge=H.useRef(0),De=L?Dz:H.Fragment,Se=L?{as:Mrr,allowPinchZoom:!0}:void 0,Re=xe=>{var Et,Dt;const We=pe.current+xe,ut=z().filter(Yt=>!Yt.disabled),Be=document.activeElement,bt=(Et=ut.find(Yt=>Yt.ref.current===Be))==null?void 0:Et.textValue,Nt=ut.map(Yt=>Yt.textValue),pt=Wrr(Nt,We,bt),Kt=(Dt=ut.find(Yt=>Yt.textValue===pt))==null?void 0:Dt.ref.current;(function Yt(Ln){pe.current=Ln,window.clearTimeout(he.current),Ln!==""&&(he.current=window.setTimeout(()=>Yt(""),1e3))})(We),Kt&&setTimeout(()=>Kt.focus())};H.useEffect(()=>()=>window.clearTimeout(he.current),[]),cae();const Ae=H.useCallback(xe=>{var ut,Be;return K.current===((ut=fe.current)==null?void 0:ut.side)&&Yrr(xe,(Be=fe.current)==null?void 0:Be.area)},[]);return I.jsx(Orr,{scope:s,searchRef:pe,onItemEnter:H.useCallback(xe=>{Ae(xe)&&xe.preventDefault()},[Ae]),onItemLeave:H.useCallback(xe=>{var We;Ae(xe)||((We=Q.current)==null||We.focus(),ne(null))},[Ae]),onTriggerLeave:H.useCallback(xe=>{Ae(xe)&&xe.preventDefault()},[Ae]),pointerGraceTimerRef:ue,onPointerGraceIntentChange:H.useCallback(xe=>{fe.current=xe},[]),children:I.jsx(De,{...Se,children:I.jsx(Rz,{asChild:!0,trapped:d,onMountAutoFocus:Dr(g,xe=>{var We;xe.preventDefault(),(We=Q.current)==null||We.focus({preventScroll:!0})}),onUnmountAutoFocus:b,children:I.jsx(Iz,{asChild:!0,disableOutsidePointerEvents:w,onEscapeKeyDown:S,onPointerDownOutside:_,onFocusOutside:A,onInteractOutside:C,onDismiss:O,children:I.jsx(MYt,{asChild:!0,...j,dir:$.dir,orientation:"vertical",loop:c,currentTabStopId:ee,onCurrentTabStopIdChange:ne,onEntryFocus:Dr(E,xe=>{$.isUsingKeyboardRef.current||xe.preventDefault()}),preventScrollOnEntryFocus:!0,children:I.jsx(cMe,{role:"menu","aria-orientation":"vertical","data-state":oJt(B.open),"data-radix-menu-content":"",dir:$.dir,...P,...D,ref:ae,style:{outline:"none",...D.style},onKeyDown:Dr(D.onKeyDown,xe=>{const ut=xe.target.closest("[data-radix-menu-content]")===xe.currentTarget,Be=xe.ctrlKey||xe.altKey||xe.metaKey,bt=xe.key.length===1;ut&&(xe.key==="Tab"&&xe.preventDefault(),!Be&&bt&&Re(xe.key));const Nt=Q.current;if(xe.target!==Nt||!Trr.includes(xe.key))return;xe.preventDefault();const Kt=z().filter(Et=>!Et.disabled).map(Et=>Et.ref.current);jYt.includes(xe.key)&&Kt.reverse(),qrr(Kt)}),onBlur:Dr(n.onBlur,xe=>{xe.currentTarget.contains(xe.target)||(window.clearTimeout(he.current),pe.current="")}),onPointerMove:Dr(n.onPointerMove,hz(xe=>{const We=xe.target,ut=ge.current!==xe.clientX;if(xe.currentTarget.contains(We)&&ut){const Be=xe.clientX>ge.current?"right":"left";K.current=Be,ge.current=xe.clientX}}))})})})})})})});zYt.displayName=Aw;var Prr="MenuGroup",i9e=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n;return I.jsx(no.div,{role:"group",...c,ref:i})});i9e.displayName=Prr;var jrr="MenuLabel",GYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n;return I.jsx(no.div,{...c,ref:i})});GYt.displayName=jrr;var Tse="MenuItem",d$t="menu.itemSelect",nce=H.forwardRef((n,i)=>{const{disabled:s=!1,onSelect:c,...d}=n,g=H.useRef(null),b=zz(Tse,n.__scopeMenu),w=n9e(Tse,n.__scopeMenu),E=ps(i,g),S=H.useRef(!1),_=()=>{const A=g.current;if(!s&&A){const C=new CustomEvent(d$t,{bubbles:!0,cancelable:!0});A.addEventListener(d$t,O=>c==null?void 0:c(O),{once:!0}),DGt(A,C),C.defaultPrevented?S.current=!1:b.onClose()}};return I.jsx(qYt,{...d,ref:E,disabled:s,onClick:Dr(n.onClick,_),onPointerDown:A=>{var C;(C=n.onPointerDown)==null||C.call(n,A),S.current=!0},onPointerUp:Dr(n.onPointerUp,A=>{var C;S.current||(C=A.currentTarget)==null||C.click()}),onKeyDown:Dr(n.onKeyDown,A=>{const C=w.searchRef.current!=="";s||C&&A.key===" "||aLe.includes(A.key)&&(A.currentTarget.click(),A.preventDefault())})})});nce.displayName=Tse;var qYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,disabled:c=!1,textValue:d,...g}=n,b=n9e(Tse,s),w=$Yt(s),E=H.useRef(null),S=ps(i,E),[_,A]=H.useState(!1),[C,O]=H.useState("");return H.useEffect(()=>{const L=E.current;L&&O((L.textContent??"").trim())},[g.children]),I.jsx(fz.ItemSlot,{scope:s,disabled:c,textValue:d??C,children:I.jsx(PYt,{asChild:!0,...w,focusable:!c,children:I.jsx(no.div,{role:"menuitem","data-highlighted":_?"":void 0,"aria-disabled":c||void 0,"data-disabled":c?"":void 0,...g,ref:S,onPointerMove:Dr(n.onPointerMove,hz(L=>{c?b.onItemLeave(L):(b.onItemEnter(L),L.defaultPrevented||L.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Dr(n.onPointerLeave,hz(L=>b.onItemLeave(L))),onFocus:Dr(n.onFocus,()=>A(!0)),onBlur:Dr(n.onBlur,()=>A(!1))})})})}),Frr="MenuCheckboxItem",VYt=H.forwardRef((n,i)=>{const{checked:s=!1,onCheckedChange:c,...d}=n;return I.jsx(XYt,{scope:n.__scopeMenu,checked:s,children:I.jsx(nce,{role:"menuitemcheckbox","aria-checked":Ase(s)?"mixed":s,...d,ref:i,"data-state":s9e(s),onSelect:Dr(d.onSelect,()=>c==null?void 0:c(Ase(s)?!0:!s),{checkForDefaultPrevented:!1})})})});VYt.displayName=Frr;var WYt="MenuRadioGroup",[$rr,Brr]=LR(WYt,{value:void 0,onValueChange:()=>{}}),KYt=H.forwardRef((n,i)=>{const{value:s,onValueChange:c,...d}=n,g=q2(c);return I.jsx($rr,{scope:n.__scopeMenu,value:s,onValueChange:g,children:I.jsx(i9e,{...d,ref:i})})});KYt.displayName=WYt;var YYt="MenuRadioItem",JYt=H.forwardRef((n,i)=>{const{value:s,...c}=n,d=Brr(YYt,n.__scopeMenu),g=s===d.value;return I.jsx(XYt,{scope:n.__scopeMenu,checked:g,children:I.jsx(nce,{role:"menuitemradio","aria-checked":g,...c,ref:i,"data-state":s9e(g),onSelect:Dr(c.onSelect,()=>{var b;return(b=d.onValueChange)==null?void 0:b.call(d,s)},{checkForDefaultPrevented:!1})})})});JYt.displayName=YYt;var o9e="MenuItemIndicator",[XYt,Urr]=LR(o9e,{checked:!1}),ZYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,forceMount:c,...d}=n,g=Urr(o9e,s);return I.jsx(Cw,{present:c||Ase(g.checked)||g.checked===!0,children:I.jsx(no.span,{...d,ref:i,"data-state":s9e(g.checked)})})});ZYt.displayName=o9e;var Hrr="MenuSeparator",QYt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n;return I.jsx(no.div,{role:"separator","aria-orientation":"horizontal",...c,ref:i})});QYt.displayName=Hrr;var zrr="MenuArrow",eJt=H.forwardRef((n,i)=>{const{__scopeMenu:s,...c}=n,d=tce(s);return I.jsx(uMe,{...d,...c,ref:i})});eJt.displayName=zrr;var Grr="MenuSub",[D1r,tJt]=LR(Grr),sH="MenuSubTrigger",nJt=H.forwardRef((n,i)=>{const s=MR(sH,n.__scopeMenu),c=zz(sH,n.__scopeMenu),d=tJt(sH,n.__scopeMenu),g=n9e(sH,n.__scopeMenu),b=H.useRef(null),{pointerGraceTimerRef:w,onPointerGraceIntentChange:E}=g,S={__scopeMenu:n.__scopeMenu},_=H.useCallback(()=>{b.current&&window.clearTimeout(b.current),b.current=null},[]);return H.useEffect(()=>_,[_]),H.useEffect(()=>{const A=w.current;return()=>{window.clearTimeout(A),E(null)}},[w,E]),I.jsx(e9e,{asChild:!0,...S,children:I.jsx(qYt,{id:d.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":d.contentId,"data-state":oJt(s.open),...n,ref:zg(i,d.onTriggerChange),onClick:A=>{var C;(C=n.onClick)==null||C.call(n,A),!(n.disabled||A.defaultPrevented)&&(A.currentTarget.focus(),s.open||s.onOpenChange(!0))},onPointerMove:Dr(n.onPointerMove,hz(A=>{g.onItemEnter(A),!A.defaultPrevented&&!n.disabled&&!s.open&&!b.current&&(g.onPointerGraceIntentChange(null),b.current=window.setTimeout(()=>{s.onOpenChange(!0),_()},100))})),onPointerLeave:Dr(n.onPointerLeave,hz(A=>{var O,L;_();const C=(O=s.content)==null?void 0:O.getBoundingClientRect();if(C){const D=(L=s.content)==null?void 0:L.dataset.side,B=D==="right",$=B?-5:5,P=C[B?"left":"right"],j=C[B?"right":"left"];g.onPointerGraceIntentChange({area:[{x:A.clientX+$,y:A.clientY},{x:P,y:C.top},{x:j,y:C.top},{x:j,y:C.bottom},{x:P,y:C.bottom}],side:D}),window.clearTimeout(w.current),w.current=window.setTimeout(()=>g.onPointerGraceIntentChange(null),300)}else{if(g.onTriggerLeave(A),A.defaultPrevented)return;g.onPointerGraceIntentChange(null)}})),onKeyDown:Dr(n.onKeyDown,A=>{var O;const C=g.searchRef.current!=="";n.disabled||C&&A.key===" "||Arr[c.dir].includes(A.key)&&(s.onOpenChange(!0),(O=s.content)==null||O.focus(),A.preventDefault())})})})});nJt.displayName=sH;var rJt="MenuSubContent",iJt=H.forwardRef((n,i)=>{const s=UYt(Aw,n.__scopeMenu),{forceMount:c=s.forceMount,...d}=n,g=MR(Aw,n.__scopeMenu),b=zz(Aw,n.__scopeMenu),w=tJt(rJt,n.__scopeMenu),E=H.useRef(null),S=ps(i,E);return I.jsx(fz.Provider,{scope:n.__scopeMenu,children:I.jsx(Cw,{present:c||g.open,children:I.jsx(fz.Slot,{scope:n.__scopeMenu,children:I.jsx(r9e,{id:w.contentId,"aria-labelledby":w.triggerId,...d,ref:S,align:"start",side:b.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:_=>{var A;b.isUsingKeyboardRef.current&&((A=E.current)==null||A.focus()),_.preventDefault()},onCloseAutoFocus:_=>_.preventDefault(),onFocusOutside:Dr(n.onFocusOutside,_=>{_.target!==w.trigger&&g.onOpenChange(!1)}),onEscapeKeyDown:Dr(n.onEscapeKeyDown,_=>{b.onClose(),_.preventDefault()}),onKeyDown:Dr(n.onKeyDown,_=>{var O;const A=_.currentTarget.contains(_.target),C=_rr[b.dir].includes(_.key);A&&C&&(g.onOpenChange(!1),(O=w.trigger)==null||O.focus(),_.preventDefault())})})})})})});iJt.displayName=rJt;function oJt(n){return n?"open":"closed"}function Ase(n){return n==="indeterminate"}function s9e(n){return Ase(n)?"indeterminate":n?"checked":"unchecked"}function qrr(n){const i=document.activeElement;for(const s of n)if(s===i||(s.focus(),document.activeElement!==i))return}function Vrr(n,i){return n.map((s,c)=>n[(i+c)%n.length])}function Wrr(n,i,s){const d=i.length>1&&Array.from(i).every(S=>S===i[0])?i[0]:i,g=s?n.indexOf(s):-1;let b=Vrr(n,Math.max(g,0));d.length===1&&(b=b.filter(S=>S!==s));const E=b.find(S=>S.toLowerCase().startsWith(d.toLowerCase()));return E!==s?E:void 0}function Krr(n,i){const{x:s,y:c}=n;let d=!1;for(let g=0,b=i.length-1;g<i.length;b=g++){const w=i[g],E=i[b],S=w.x,_=w.y,A=E.x,C=E.y;_>c!=C>c&&s<(A-S)*(c-_)/(C-_)+S&&(d=!d)}return d}function Yrr(n,i){if(!i)return!1;const s={x:n.clientX,y:n.clientY};return Krr(s,i)}function hz(n){return i=>i.pointerType==="mouse"?n(i):void 0}var Jrr=BYt,Xrr=e9e,Zrr=HYt,Qrr=zYt,eir=i9e,tir=GYt,nir=nce,rir=VYt,iir=KYt,oir=JYt,sir=ZYt,air=QYt,cir=eJt,uir=nJt,lir=iJt,rce="DropdownMenu",[dir]=Nw(rce,[FYt]),Kg=FYt(),[fir,sJt]=dir(rce),aJt=n=>{const{__scopeDropdownMenu:i,children:s,dir:c,open:d,defaultOpen:g,onOpenChange:b,modal:w=!0}=n,E=Kg(i),S=H.useRef(null),[_,A]=G2({prop:d,defaultProp:g??!1,onChange:b,caller:rce});return I.jsx(fir,{scope:i,triggerId:Bh(),triggerRef:S,contentId:Bh(),open:_,onOpenChange:A,onOpenToggle:H.useCallback(()=>A(C=>!C),[A]),modal:w,children:I.jsx(Jrr,{...E,open:_,onOpenChange:A,dir:c,modal:w,children:s})})};aJt.displayName=rce;var cJt="DropdownMenuTrigger",uJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,disabled:c=!1,...d}=n,g=sJt(cJt,s),b=Kg(s);return I.jsx(Xrr,{asChild:!0,...b,children:I.jsx(no.button,{type:"button",id:g.triggerId,"aria-haspopup":"menu","aria-expanded":g.open,"aria-controls":g.open?g.contentId:void 0,"data-state":g.open?"open":"closed","data-disabled":c?"":void 0,disabled:c,...d,ref:zg(i,g.triggerRef),onPointerDown:Dr(n.onPointerDown,w=>{!c&&w.button===0&&w.ctrlKey===!1&&(g.onOpenToggle(),g.open||w.preventDefault())}),onKeyDown:Dr(n.onKeyDown,w=>{c||(["Enter"," "].includes(w.key)&&g.onOpenToggle(),w.key==="ArrowDown"&&g.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(w.key)&&w.preventDefault())})})})});uJt.displayName=cJt;var hir="DropdownMenuPortal",lJt=n=>{const{__scopeDropdownMenu:i,...s}=n,c=Kg(i);return I.jsx(Zrr,{...c,...s})};lJt.displayName=hir;var dJt="DropdownMenuContent",fJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=sJt(dJt,s),g=Kg(s),b=H.useRef(!1);return I.jsx(Qrr,{id:d.contentId,"aria-labelledby":d.triggerId,...g,...c,ref:i,onCloseAutoFocus:Dr(n.onCloseAutoFocus,w=>{var E;b.current||(E=d.triggerRef.current)==null||E.focus(),b.current=!1,w.preventDefault()}),onInteractOutside:Dr(n.onInteractOutside,w=>{const E=w.detail.originalEvent,S=E.button===0&&E.ctrlKey===!0,_=E.button===2||S;(!d.modal||_)&&(b.current=!0)}),style:{...n.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});fJt.displayName=dJt;var pir="DropdownMenuGroup",gir=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(eir,{...d,...c,ref:i})});gir.displayName=pir;var bir="DropdownMenuLabel",hJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(tir,{...d,...c,ref:i})});hJt.displayName=bir;var mir="DropdownMenuItem",pJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(nir,{...d,...c,ref:i})});pJt.displayName=mir;var wir="DropdownMenuCheckboxItem",gJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(rir,{...d,...c,ref:i})});gJt.displayName=wir;var yir="DropdownMenuRadioGroup",vir=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(iir,{...d,...c,ref:i})});vir.displayName=yir;var Eir="DropdownMenuRadioItem",bJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(oir,{...d,...c,ref:i})});bJt.displayName=Eir;var Sir="DropdownMenuItemIndicator",mJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(sir,{...d,...c,ref:i})});mJt.displayName=Sir;var Tir="DropdownMenuSeparator",wJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(air,{...d,...c,ref:i})});wJt.displayName=Tir;var Air="DropdownMenuArrow",_ir=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(cir,{...d,...c,ref:i})});_ir.displayName=Air;var xir="DropdownMenuSubTrigger",yJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(uir,{...d,...c,ref:i})});yJt.displayName=xir;var kir="DropdownMenuSubContent",vJt=H.forwardRef((n,i)=>{const{__scopeDropdownMenu:s,...c}=n,d=Kg(s);return I.jsx(lir,{...d,...c,ref:i,style:{...n.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});vJt.displayName=kir;var Nir=aJt,Cir=uJt,Iir=lJt,EJt=fJt,SJt=hJt,TJt=pJt,AJt=gJt,_Jt=bJt,xJt=mJt,kJt=wJt,NJt=yJt,CJt=vJt;const IJt=Nir,RJt=Cir,Rir=H.forwardRef(({className:n,inset:i,children:s,...c},d)=>I.jsxs(NJt,{ref:d,className:nr("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",i&&"pl-8",n),...c,children:[s,I.jsx(C8n,{className:"ml-auto"})]}));Rir.displayName=NJt.displayName;const Oir=H.forwardRef(({className:n,...i},s)=>I.jsx(CJt,{ref:s,className:nr("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-[--radix-dropdown-menu-content-transform-origin] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in",n),...i}));Oir.displayName=CJt.displayName;const a9e=H.forwardRef(({className:n,sideOffset:i=4,container:s,...c},d)=>I.jsx(Iir,{container:s,children:I.jsx(EJt,{ref:d,sideOffset:i,className:nr("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] data-[state=closed]:animate-out data-[state=open]:animate-in",n),...c})}));a9e.displayName=EJt.displayName;const cLe=H.forwardRef(({className:n,inset:i,...s},c)=>I.jsx(TJt,{ref:c,className:nr("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",i&&"pl-8",n),...s}));cLe.displayName=TJt.displayName;const OJt=H.forwardRef(({className:n,children:i,checked:s,...c},d)=>I.jsxs(AJt,{ref:d,className:nr("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),checked:s,...c,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(xJt,{children:I.jsx(oN,{className:"h-4 w-4"})})}),i]}));OJt.displayName=AJt.displayName;const Dir=H.forwardRef(({className:n,children:i,...s},c)=>I.jsxs(_Jt,{ref:c,className:nr("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...s,children:[I.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:I.jsx(xJt,{children:I.jsx(F8n,{className:"h-2 w-2 fill-current"})})}),i]}));Dir.displayName=_Jt.displayName;const Lir=H.forwardRef(({className:n,inset:i,...s},c)=>I.jsx(SJt,{ref:c,className:nr("px-2 py-1.5 font-semibold text-sm",i&&"pl-8",n),...s}));Lir.displayName=SJt.displayName;const Mir=H.forwardRef(({className:n,...i},s)=>I.jsx(kJt,{ref:s,className:nr("-mx-1 my-1 h-px bg-muted",n),...i}));Mir.displayName=kJt.displayName;function KM({field:n,value:i,onChange:s,entities:c,domain:d,translations:g={},error:b}){const{t:w}=jo(["common"]),E=n.name,S=n.required??!1;let _=E,A="",C="";if("label"in n)_=n.label,A=n.description||"",C=n.placeholder||"";else if(d){const P=`component.${d}.device_automation.extra_fields.${E}`,j=`component.${d}.device_automation.extra_fields_descriptions.${E}`;_=g[P]||E.split("_").map(z=>z.charAt(0).toUpperCase()+z.slice(1)).join(" "),A=g[j]||"",console.log(`Field "${E}" in domain "${d}":`),console.log(` Label key: ${P} = ${g[P]||"(not found)"}`),console.log(` Desc key: ${j} = ${g[j]||"(not found)"}`),console.log(` Final label: ${_}`),console.log(` Final description: ${A}`)}else _=E.split("_").map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" "),console.log(`Field "${E}" with no domain - using formatted name: ${_}`);let O=null,L={};if("type"in n&&n.type)O=n.type;else if("selector"in n&&n.selector){const P=Object.keys(n.selector);P.length>0&&(O=P[0],L=n.selector[O]||{})}const D=typeof i=="string"?i:String(i??""),B=typeof i=="boolean"?i:!!i,$=()=>{switch(O){case"text":{if("multiple"in n&&n.multiple){const j=Array.isArray(i)?i:typeof i=="string"&&i?[i]:[];return I.jsx(oLe,{values:j,onChange:s,placeholder:C||"Add value..."})}return I.jsx(Na,{type:"text",value:D,onChange:j=>s(j.target.value),placeholder:C,required:S})}case"number":return I.jsx(xYt,{value:i,placeholder:C,required:S,onChange:s});case"boolean":return I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx(J2,{checked:B,onCheckedChange:s}),I.jsx("span",{className:"text-muted-foreground text-sm",children:w(B?"dynamicField.enabled":"dynamicField.disabled")})]});case"select":{const P=kYt("options"in n&&n.options?n.options:L.options);if("multiple"in n&&n.multiple||L.multiple===!0){const z=Array.isArray(i)?i:i?[i]:[],ee=()=>{var ne;return z.length===0?C||w("dynamicField.selectItems"):z.length===1?((ne=P.find(Q=>Q.value===z[0]))==null?void 0:ne.label)||z[0]:w("dynamicField.itemsSelected",{count:z.length})};return I.jsxs(IJt,{children:[I.jsx(RJt,{asChild:!0,children:I.jsxs(mi,{variant:"outline",className:"w-full justify-between font-normal",children:[I.jsx("span",{className:z.length===0?"text-muted-foreground":"",children:ee()}),I.jsx(oae,{className:"ml-2 h-4 w-4 opacity-50"})]})}),I.jsx(a9e,{className:"w-[var(--radix-dropdown-menu-trigger-width)]",children:P.map(ne=>{const Q=z.includes(ne.value);return I.jsx(OJt,{checked:Q,onCheckedChange:ae=>{s(ae?[...z,ne.value]:z.filter(he=>he!==ne.value))},children:ne.label},ne.value)})})]})}return I.jsxs(zp,{value:D,onValueChange:s,children:[I.jsx(zh,{children:I.jsx(Gp,{placeholder:C||"Select..."})}),I.jsx(Gh,{children:P.map(z=>I.jsx(eo,{value:z.value,children:z.label},z.value))})]})}case"entity":{if("multiple"in n&&n.multiple||L.multiple===!0){const j=Array.isArray(i)?i:typeof i=="string"&&i?i.split(",").map(z=>z.trim()):[];return I.jsx(Qae,{value:j,onChange:s,entities:c,placeholder:C||w("dynamicField.selectEntities")})}return I.jsx(Sse,{value:D,onChange:s,entities:c,placeholder:C||w("dynamicField.selectEntity")})}case"zone":return I.jsx(Sse,{value:D,onChange:s,entities:c,domainFilter:"zone",placeholder:C||w("dynamicField.selectZone")});case"template":return I.jsx(Bv,{value:D,onChange:P=>s(P.target.value),placeholder:C||w("placeholders.enterTemplate"),className:"font-mono text-sm",rows:4,required:S});case"duration":return I.jsx(NYt,{value:i??"",onChange:s});case"object":return I.jsx(Bv,{value:typeof i=="object"?JSON.stringify(i,null,2):D,onChange:P=>{try{s(JSON.parse(P.target.value))}catch{s(P.target.value)}},placeholder:C||w("placeholders.jsonExample"),className:"font-mono text-sm",rows:4,required:S});case"time":return I.jsx(Na,{type:"time",value:D,onChange:P=>s(P.target.value),required:S});case"date":return I.jsx(Na,{type:"date",value:D,onChange:P=>s(P.target.value),required:S});default:return I.jsx(Na,{type:"text",value:D,onChange:P=>s(P.target.value),placeholder:C||w("dynamicField.enterValue",{name:E}),required:S})}};return I.jsxs("div",{className:"space-y-2",children:[I.jsxs(ll,{className:"font-medium text-muted-foreground text-xs",children:[_,S&&I.jsx("span",{className:"ml-1 text-destructive",children:w("labels.requiredAsterisk")})]}),$(),I.jsx(H2,{message:b}),A&&I.jsx("p",{className:"text-muted-foreground text-xs",children:A})]})}const Pir={state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"The entity to check"},{name:"state",label:"State",type:"text",required:!0,placeholder:"e.g., on, off, home",description:"The state value to check for"},{name:"attribute",label:"Attribute (optional)",type:"text",required:!1,placeholder:"e.g., brightness, temperature",description:"Check a specific attribute instead of the state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the condition must be true"}],numeric_state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"The sensor entity to check"},{name:"above",label:"Above (optional)",type:"number",required:!1,placeholder:"Minimum value",description:"Condition is true when value > this"},{name:"below",label:"Below (optional)",type:"number",required:!1,placeholder:"Maximum value",description:"Condition is true when value < this"},{name:"attribute",label:"Attribute (optional)",type:"text",required:!1,placeholder:"e.g., brightness, temperature",description:"Check a specific attribute instead of the state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the condition must be true"}],template:[{name:"value_template",label:"Value Template",type:"template",required:!0,placeholder:'{{ states("sensor.temperature") | float > 20 }}',description:"Template that should evaluate to true/false"}],time:[{name:"after",label:"After (optional)",type:"time",required:!1,description:"Condition is true after this time"},{name:"before",label:"Before (optional)",type:"time",required:!1,description:"Condition is true before this time"},{name:"weekday",label:"Weekday (optional)",type:"select",required:!1,multiple:!0,description:"Days of the week when condition is true",options:[{value:"mon",label:"Monday"},{value:"tue",label:"Tuesday"},{value:"wed",label:"Wednesday"},{value:"thu",label:"Thursday"},{value:"fri",label:"Friday"},{value:"sat",label:"Saturday"},{value:"sun",label:"Sunday"}]}],sun:[{name:"after",label:"After",type:"select",required:!1,description:"Condition is true after this sun event",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}]},{name:"after_offset",label:"After Offset (optional)",type:"text",required:!1,placeholder:"e.g., -00:30:00",description:"Time offset for the after event"},{name:"before",label:"Before",type:"select",required:!1,description:"Condition is true before this sun event",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}]},{name:"before_offset",label:"Before Offset (optional)",type:"text",required:!1,placeholder:"e.g., +01:00:00",description:"Time offset for the before event"}],zone:[{name:"entity_id",label:"Entity",type:"entity",required:!0,description:"Person or device tracker to monitor"},{name:"zone",label:"Zone",type:"zone",required:!0,placeholder:"zone.home",description:"Zone entity to check for presence"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"00:05:00",description:"How long the entity must be in the zone"}],trigger:[{name:"id",label:"Trigger ID(s)",type:"text",required:!0,multiple:!0,placeholder:"e.g., arriving, leaving",description:"The ID(s) of the trigger(s) to match"}],device:[],and:[],or:[],not:[]};function c9e(n){return Pir[n]||[]}function DJt(n){const i=c9e(n),s={condition:n};for(const c of i)c.default!==void 0&&(s[c.name]=c.default);return u9e(n)&&(s.conditions=[]),s}function u9e(n){return n==="and"||n==="or"||n==="not"}const jir=[{value:"state",labelKey:"nodes:conditions.types.state"},{value:"numeric_state",labelKey:"nodes:conditions.types.numeric_state"},{value:"template",labelKey:"nodes:conditions.types.template"},{value:"trigger",labelKey:"nodes:conditions.types.trigger"},{value:"zone",labelKey:"nodes:conditions.types.zone"},{value:"time",labelKey:"nodes:conditions.types.time"},{value:"sun",labelKey:"nodes:conditions.types.sun"},{value:"and",labelKey:"nodes:conditions.types.and"},{value:"or",labelKey:"nodes:conditions.types.or"},{value:"not",labelKey:"nodes:conditions.types.not"}];function Fir({cond:n,onUpdate:i,entities:s}){const c=n.condition||"state",d=c9e(c);return d.length===0?null:I.jsx("div",{className:"space-y-2",children:d.map(g=>I.jsx(KM,{field:g,value:n[g.name],onChange:b=>i({...n,[g.name]:b}),entities:s},g.name))})}function $ir({cond:n,onUpdate:i,onRemove:s,entities:c,depth:d}){const g=n.condition||"state",b=u9e(g),{t:w}=jo(["common","nodes","panels"]),E=S=>{i(DJt(S))};return I.jsxs("div",{className:nr("space-y-3 rounded-md border bg-card p-3",d>0&&"bg-muted/30"),children:[I.jsxs("div",{className:"flex items-center justify-between gap-2",children:[I.jsxs(zp,{value:n.condition||"state",onValueChange:E,children:[I.jsx(zh,{className:"w-full max-w-[180px]",children:I.jsx(Gp,{})}),I.jsx(Gh,{children:jir.map(S=>I.jsx(eo,{value:S.value,children:w(S.labelKey)},S.value))})]}),I.jsx(mi,{size:"icon",variant:"ghost",onClick:s,className:"h-8 w-8 shrink-0 text-muted-foreground hover:text-destructive",children:I.jsx(jM,{className:"h-4 w-4"})})]}),b?I.jsx(LJt,{conditions:n.conditions||[],onChange:S=>i({...n,conditions:S}),parentType:n.condition,depth:d+1}):I.jsx(Fir,{cond:n,onUpdate:i,entities:c})]})}const LJt=H.memo(function({conditions:i,onChange:s,depth:c=0}){const{hass:d}=Wg(),g=d?Object.values(d.states):[],{t:b}=jo(["common","nodes","panels"]),w=()=>{s([...i,{condition:"state",entity_id:"",state:""}])},E=_=>{s(i.filter((A,C)=>C!==_))},S=(_,A)=>{s(i.map((C,O)=>O===_?A:C))};return I.jsxs("div",{className:nr("space-y-2",c>0&&"border-muted border-l-2 pl-2"),children:[i.length===0?I.jsx("p",{className:"py-2 text-muted-foreground text-xs italic",children:b("panels:conditionGroupEditor.noConditions")}):i.map((_,A)=>I.jsx($ir,{cond:_,onUpdate:C=>S(A,C),onRemove:()=>E(A),entities:g,depth:c},A)),I.jsxs(mi,{size:"sm",variant:"outline",onClick:w,className:"w-full",children:[I.jsx(sae,{className:"mr-1 h-4 w-4"}),b("panels:conditionGroupEditor.addCondition")]})]})});function MJt({value:n,onChange:i,label:s="",required:c=!1,placeholder:d=""}){const{t:g}=jo(["common"]),{hass:b}=Wg(),[w,E]=H.useState(n);H.useEffect(()=>{E(n)},[n]);const S=(b==null?void 0:b.devices)??{},_=Object.keys(S).length>0,A=n&&_&&!S[n],C=()=>{if(!n)return;const O=S[n];return O?O.name_by_user||O.name||O.id:n};return I.jsx(No,{label:s||g("labels.device"),required:c,children:_?I.jsxs(zp,{value:n,onValueChange:i,children:[I.jsx(zh,{className:A?"font-mono text-red-600":void 0,children:I.jsx(Gp,{placeholder:d||g("placeholders.selectDevice"),children:C()})}),I.jsx(Gh,{children:Object.values(S).map(O=>I.jsx(eo,{value:O.id,children:O.name_by_user||O.name||O.id},O.id))})]}):I.jsxs(I.Fragment,{children:[I.jsx(Na,{type:"text",value:w,onChange:O=>{E(O.target.value),i(O.target.value)},placeholder:g("deviceSelector.enterId")}),I.jsx("p",{className:"text-muted-foreground text-xs",children:g("deviceSelector.noDevices")})]})})}function Bir({node:n,onChange:i}){const s=jh(n,"device_id"),c=jh(n,"domain"),d=jh(n,"type");return I.jsxs(I.Fragment,{children:[I.jsx(MJt,{value:s,onChange:g=>i("device_id",g),label:"Device",required:!0,placeholder:"Select device..."}),I.jsx(No,{label:"Domain",required:!0,description:"Device integration domain",children:I.jsx(Na,{type:"text",value:c,onChange:g=>i("domain",g.target.value),placeholder:"e.g., binary_sensor, sensor"})}),I.jsx(No,{label:"Type",required:!0,description:"Device condition type",children:I.jsx(Na,{type:"text",value:d,onChange:g=>i("type",g.target.value),placeholder:"e.g., button_short_press"})})]})}function Uir({node:n,onChange:i,entities:s}){const{t:c}=jo(["common","nodes"]),{getFieldError:d}=gb(n.id),g=jh(n,"condition","state"),b=n.data,w=Array.isArray(b.conditions)&&b.conditions.length>0,E=u9e(g),S=A=>{const C=DJt(A);for(const[O,L]of Object.entries(C))i(O,L)},_=()=>g==="device"?I.jsx(Bir,{node:n,onChange:i}):E?null:c9e(g).map(C=>I.jsx(KM,{field:C,value:b[C.name],onChange:O=>i(C.name,O),entities:s,error:d(C.name)},C.name));return I.jsxs(I.Fragment,{children:[I.jsx(No,{label:c("nodes:conditions.conditionLabel"),required:!0,children:I.jsxs(zp,{value:g,onValueChange:S,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"state",children:c("nodes:conditions.types.state")}),I.jsx(eo,{value:"numeric_state",children:c("nodes:conditions.types.numeric_state")}),I.jsx(eo,{value:"template",children:c("nodes:conditions.types.template")}),I.jsx(eo,{value:"time",children:c("nodes:conditions.types.time")}),I.jsx(eo,{value:"sun",children:c("nodes:conditions.types.sun")}),I.jsx(eo,{value:"zone",children:c("nodes:conditions.types.zone")}),I.jsx(eo,{value:"device",children:c("nodes:conditions.types.device")}),I.jsx(eo,{value:"trigger",children:c("nodes:conditions.types.trigger")}),I.jsx(eo,{value:"and",children:c("nodes:conditions.types.and")}),I.jsx(eo,{value:"or",children:c("nodes:conditions.types.or")}),I.jsx(eo,{value:"not",children:c("nodes:conditions.types.not")})]})]})}),_(),(E||w)&&I.jsx(No,{label:c("nodes:conditions.nestedConditions"),children:I.jsx(LJt,{conditions:b.conditions||[],onChange:A=>i("conditions",A),parentType:E?g:"and"})})]})}function Hir({node:n,onChange:i}){const{getFieldError:s}=gb(n.id);return I.jsxs(I.Fragment,{children:[I.jsx(CYt,{label:"Delay",value:n.data.delay,onChange:c=>i("delay",c)}),I.jsx(H2,{message:s("delay")})]})}function zir({node:n,onChange:i}){const{t:s}=jo(["nodes"]),{getFieldError:c}=gb(n.id),d=C5(n,"variables",{}),g=Object.entries(d),b=()=>{const _=Object.keys(d);let A="variable",C=1;for(;_.includes(A);)A=`variable_${C}`,C++;i("variables",{...d,[A]:""})},w=(_,A)=>{if(_===A)return;const C={};for(const[O,L]of Object.entries(d))O===_?C[A]=L:C[O]=L;i("variables",C)},E=(_,A)=>{i("variables",{...d,[_]:A})},S=_=>{const A={...d};delete A[_],i("variables",A)};return I.jsxs("div",{className:"space-y-4",children:[I.jsx(H2,{message:c("variables")}),g.length===0?I.jsx("p",{className:"text-muted-foreground text-sm",children:s("nodes:setVariablesFields.empty")}):g.map(([_,A],C)=>I.jsxs("div",{className:"rounded-lg border border-border bg-muted/30 p-3",children:[I.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[I.jsx("span",{className:"font-medium text-muted-foreground text-xs",children:s("nodes:setVariablesFields.variableLabel",{index:C+1})}),I.jsx(mi,{variant:"ghost",size:"sm",onClick:()=>S(_),className:"h-6 w-6 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(jM,{className:"h-3.5 w-3.5"})})]}),I.jsxs("div",{className:"space-y-3",children:[I.jsx(No,{label:s("nodes:setVariablesFields.name"),children:I.jsx(Na,{value:_,onChange:O=>w(_,O.target.value),placeholder:s("nodes:setVariablesFields.namePlaceholder"),className:"font-mono text-sm"})}),I.jsx(No,{label:s("nodes:setVariablesFields.value"),description:s("nodes:setVariablesFields.valueDescription"),children:I.jsx(Bv,{value:String(A??""),onChange:O=>E(_,O.target.value),placeholder:s("nodes:setVariablesFields.valuePlaceholder"),className:"font-mono text-sm"})})]})]},`${_}-${C}`)),I.jsxs(mi,{variant:"outline",onClick:b,className:"w-full gap-2",size:"sm",children:[I.jsx(sae,{className:"h-4 w-4"}),s("nodes:setVariablesFields.addVariable")]})]})}const PJt={state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,multiple:!0,description:"The entity to monitor for state changes"},{name:"to",label:"To State",type:"text",required:!1,placeholder:"e.g., on, off, home",description:"The target state to trigger on"},{name:"from",label:"From State",type:"text",required:!1,placeholder:"e.g., off",description:"Only trigger when transitioning from this state"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"State must be stable for this duration"}],numeric_state:[{name:"entity_id",label:"Entity",type:"entity",required:!0,multiple:!0,description:"The sensor entity to monitor"},{name:"above",label:"Above",type:"number",required:!1,placeholder:"e.g., 20",description:"Trigger when value goes above this threshold"},{name:"below",label:"Below",type:"number",required:!1,placeholder:"e.g., 30",description:"Trigger when value goes below this threshold"},{name:"value_template",label:"Value Template (optional)",type:"template",required:!1,placeholder:"e.g., {{ state.attributes.temperature }}",description:"Template to extract numeric value from entity"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"Value must be stable for this duration"}],time:[{name:"at",label:"At (time)",type:"text",required:!0,placeholder:"e.g., 07:00:00 or input_datetime.wake_up",description:"Time to trigger (HH:MM:SS or entity reference)"}],time_pattern:[{name:"hours",label:"Hours",type:"text",required:!1,placeholder:"e.g., */2 (every 2 hours)",description:"Hour pattern (cron-style)"},{name:"minutes",label:"Minutes",type:"text",required:!1,placeholder:"e.g., /5 (every 5 minutes)",description:"Minute pattern (cron-style)"},{name:"seconds",label:"Seconds",type:"text",required:!1,placeholder:"e.g., 0",description:"Second pattern (cron-style)"}],event:[{name:"event_type",label:"Event Type",type:"text",required:!0,placeholder:"e.g., zha_event, call_service",description:"The type of event to listen for"},{name:"event_data",label:"Event Data (optional)",type:"object",required:!1,description:"Filter events by data fields (JSON object)"}],mqtt:[{name:"topic",label:"Topic",type:"text",required:!0,placeholder:"e.g., home/bedroom/temperature",description:"MQTT topic to subscribe to"},{name:"payload",label:"Payload (optional)",type:"text",required:!1,placeholder:"e.g., ON",description:"Only trigger on this specific payload"}],webhook:[{name:"webhook_id",label:"Webhook ID",type:"text",required:!0,placeholder:"e.g., my_webhook",description:"Unique identifier for this webhook"}],sun:[{name:"event",label:"Event",type:"select",required:!0,description:"Trigger at sunrise or sunset",options:[{value:"sunrise",label:"Sunrise"},{value:"sunset",label:"Sunset"}],default:"sunset"},{name:"offset",label:"Offset (optional)",type:"text",required:!1,placeholder:"e.g., -00:30:00",description:"Time offset before (-) or after (+) the event"}],zone:[{name:"entity_id",label:"Person/Device",type:"entity",required:!0,multiple:!0,description:"The person or device tracker to monitor"},{name:"zone",label:"Zone",type:"zone",required:!0,placeholder:"e.g., zone.home",description:"The zone entity to monitor"},{name:"event",label:"Event",type:"select",required:!0,description:"Trigger on enter or leave",options:[{value:"enter",label:"Enter"},{value:"leave",label:"Leave"}],default:"enter"}],template:[{name:"value_template",label:"Value Template",type:"template",required:!0,placeholder:'e.g., {{ is_state("light.bedroom", "on") }}',description:"Template that evaluates to true/false"},{name:"for",label:"For Duration (optional)",type:"duration",required:!1,placeholder:"e.g., 00:05:00",description:"Template must be true for this duration"}],homeassistant:[{name:"event",label:"Event",type:"select",required:!0,description:"Home Assistant lifecycle event",options:[{value:"start",label:"Start"},{value:"shutdown",label:"Shutdown"}],default:"start"}],device:[]};function ice(n){return PJt[n]||[]}function Gir(n){const i=ice(n),s={trigger:n};for(const c of i)c.default!==void 0&&(s[c.name]=c.default);return s}function qir(){const{hass:n}=Wg(),i=H.useCallback(async c=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),[];try{return await n.callWS({type:"device_automation/trigger/list",device_id:c})||[]}catch(d){throw console.error("Failed to fetch device triggers:",d),d}},[n]),s=H.useCallback(async c=>{if(!(n!=null&&n.callWS))return console.warn("callWS not available"),{extra_fields:[]};try{return await n.callWS({type:"device_automation/trigger/capabilities",trigger:c})||{extra_fields:[]}}catch(d){throw console.error("Failed to fetch trigger capabilities:",d),d}},[n]);return{getDeviceTriggers:i,getTriggerCapabilities:s}}const Vir=Sc({resources:yf(Zt(),Dc()).transform(n=>{const i={};for(const[s,c]of Object.entries(n))typeof c=="string"&&(i[s]=c);return i})});function Wir(){const{hass:n}=Wg(),[i,s]=H.useState({}),[c,d]=H.useState(!0),g=H.useMemo(()=>{const w=n==null?void 0:n.resources;if(!w||Object.keys(w).length===0)return{};const E=Object.values(w)[0];if(typeof E=="string")return w;if(typeof E=="object"&&E!==null){const S={};for(const _ of Object.values(w))typeof _=="object"&&_!==null&&Object.assign(S,_);return S}return{}},[n==null?void 0:n.resources]);return H.useEffect(()=>{if(!n){d(!1);return}(async()=>{d(!0);try{const E=await n.callWS({type:"frontend/get_translations",language:navigator.language.split("-")[0]||"en",category:"device_automation"}),S=Vir.safeParse(E);S.success&&s(S.data.resources)}catch{}finally{d(!1)}})()},[n]),{translations:H.useMemo(()=>({...g,...i}),[g,i]),isLoading:c}}function JOe(n){const i=[n.type];return n.subtype&&i.push(n.subtype),n.entity_id&&i.push(n.entity_id),i.join("::")}function Kir(n,i){const s=`component.${n.domain}.device_automation.trigger_type.${n.type}`,c=i[s]??n.type;if(n.subtype){const d=`component.${n.domain}.device_automation.trigger_subtype.${n.subtype}`,g=i[d]??n.subtype;return`${c}: ${g}`}return c}function Yir({node:n,onChange:i,entities:s}){const{t:c}=jo(["common","nodes","errors"]),{getDeviceTriggers:d,getTriggerCapabilities:g}=qir(),{translations:b}=Wir(),[w,E]=H.useState([]),[S,_]=H.useState([]),[A,C]=H.useState(!1),O=jh(n,"device_id"),L=jh(n,"type"),D=jh(n,"domain"),B=jh(n,"entity_id"),$=jh(n,"subtype"),P=(()=>{const j=[L].filter(Boolean);return $&&j.push($),B&&j.push(B),j.join("::")})();return H.useEffect(()=>{if(!O){E([]);return}C(!0),d(O).then(j=>{E(j)}).catch(j=>{console.error(c("errors:api.loadDeviceTriggersFailed"),j),E([])}).finally(()=>{C(!1)})},[O,d,c]),H.useEffect(()=>{if(!O||!L){_([]);return}const j=w.find(z=>z.type===L&&z.domain===D&&(z.subtype??"")===($??"")&&(z.entity_id??"")===(B??""));if(!j){_([]);return}g(j).then(z=>{_(z.extra_fields||[])}).catch(z=>{console.error(c("errors:api.loadTriggerCapabilitiesFailed"),z),_([])})},[O,L,$,B,D,w,g,c]),I.jsxs(I.Fragment,{children:[I.jsx(MJt,{value:O,onChange:j=>i("device_id",j),label:c("labels.device"),required:!0,placeholder:c("placeholders.selectDevice")}),O&&w.length>0?I.jsx(No,{label:c("labels.triggerType"),required:!0,children:I.jsxs(zp,{value:P,onValueChange:j=>{const z=w.find(ee=>JOe(ee)===j);z&&(i("type",z.type),i("domain",z.domain),i("subtype",z.subtype??void 0),i("entity_id",z.entity_id??void 0))},children:[I.jsx(zh,{children:I.jsx(Gp,{placeholder:c("placeholders.selectTriggerType")})}),I.jsx(Gh,{children:w.map(j=>I.jsx(eo,{value:JOe(j),children:Kir(j,b)},JOe(j)))})]})}):O&&L&&I.jsx(No,{label:"Trigger Type",children:I.jsxs("div",{className:"truncate rounded-md border bg-muted px-3 py-2 font-mono text-sm",children:[L,$&&I.jsxs("span",{className:"text-muted-foreground",children:[" · ",$]}),D&&I.jsxs("span",{className:"text-muted-foreground",children:[" ",`(${D})`]})]})}),A&&I.jsx("div",{className:"text-muted-foreground text-sm",children:c("status.loadingTriggers")}),S.map(j=>I.jsx(KM,{field:j,value:n.data[j.name],onChange:z=>i(j.name,z),entities:s,domain:D,translations:b},j.name))]})}const Jir={light:["on","off","unavailable"],switch:["on","off","unavailable"],binary_sensor:["on","off","unavailable"],input_boolean:["on","off"],cover:["open","closed","opening","closing","unavailable"],lock:["locked","unlocked","locking","unlocking","unavailable"],alarm_control_panel:["disarmed","armed_home","armed_away","armed_night","armed_vacation","armed_custom_bypass","pending","arming","disarming","triggered","unavailable"],climate:["heat","cool","heat_cool","auto","dry","fan_only","off","unavailable"],fan:["on","off","unavailable"],media_player:["playing","paused","idle","off","on","standby","buffering","unavailable"],vacuum:["cleaning","docked","paused","idle","returning","error","unavailable"],person:["home","not_home","unavailable"],device_tracker:["home","not_home","unavailable"],water_heater:["electric","gas","heat_pump","eco","performance","high_demand","off","unavailable"],humidifier:["on","off","unavailable"],update:["on","off","unavailable"]},jJt=["on","off","unavailable","unknown"];function Xir(n,i){const s=i.find(b=>b.entity_id===n),c=n.split(".")[0],d=Jir[c]??jJt,g=new Set(d);return s!=null&&s.state?[s.state,...d.filter(b=>b!==s.state)]:Array.from(g)}function f$t({value:n,onChange:i,suggestions:s,placeholder:c}){const{t:d}=jo(["common"]),[g,b]=H.useState(!1),[w,E]=H.useState(""),S=H.useMemo(()=>w?s.filter(C=>C.toLowerCase().includes(w.toLowerCase())):s,[w,s]),_=w&&!s.includes(w),A=C=>{i(C===n?"":C),b(!1),E("")};return I.jsxs(dMe,{open:g,onOpenChange:b,children:[I.jsx(oVt,{asChild:!0,children:I.jsxs(mi,{variant:"outline",role:"combobox","aria-expanded":g,className:nr("flex w-full justify-between",!n&&"text-muted-foreground"),children:[I.jsx("span",{className:"truncate",children:n||c}),I.jsx(EGt,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),I.jsx(_ae,{className:"w-[286px] p-0",children:I.jsxs(pae,{shouldFilter:!1,children:[I.jsx(gae,{placeholder:c,value:w,onValueChange:E}),I.jsxs(bae,{children:[S.length===0&&!_&&I.jsx(mae,{children:d("combobox.noOptions")}),_&&I.jsx(nz,{children:I.jsxs(rz,{value:w,onSelect:A,children:[I.jsx("span",{className:"text-muted-foreground text-xs mr-2",children:d("stateTrigger.useValue")}),I.jsx("span",{className:"font-mono",children:w}),I.jsx(oN,{className:nr("ml-auto h-4 w-4",n===w?"opacity-100":"opacity-0")})]})}),S.length>0&&I.jsx(nz,{children:S.map(C=>I.jsxs(rz,{value:C,onSelect:A,children:[I.jsx("span",{className:"font-mono",children:C}),I.jsx(oN,{className:nr("ml-auto h-4 w-4",n===C?"opacity-100":"opacity-0")})]},C))})]})]})})]})}function Zir({node:n,onChange:i,entities:s}){const{t:c}=jo(["nodes","common"]),{getFieldError:d}=gb(n.id),{entities:g}=Wg(),b=s.length>0?s:g,w=n.data.entity_id,E=Array.isArray(w)?w:typeof w=="string"&&w?[w]:[],S=jh(n,"to"),_=jh(n,"from"),A=H.useMemo(()=>{if(E.length===0)return jJt;const O=new Set;for(const L of E)for(const D of Xir(L,b))O.add(D);return Array.from(O)},[E,b]),C=ice("state").find(O=>O.name==="for");return I.jsxs(I.Fragment,{children:[I.jsxs(No,{label:c("nodes:triggers.fields.entityId"),required:!0,children:[I.jsx(Qae,{value:E,onChange:O=>i("entity_id",O),entities:b,placeholder:c("common:placeholders.selectEntity")}),I.jsx(H2,{message:d("entity_id")})]}),I.jsx(No,{label:c("nodes:triggers.fields.toState"),children:I.jsx(f$t,{value:S,onChange:O=>i("to",O||void 0),suggestions:A,placeholder:c("nodes:triggers.fields.toStatePlaceholder")})}),I.jsx(No,{label:c("nodes:triggers.fields.fromState"),children:I.jsx(f$t,{value:_,onChange:O=>i("from",O||void 0),suggestions:A,placeholder:c("nodes:triggers.fields.fromStatePlaceholder")})}),C&&I.jsx(KM,{field:C,value:n.data[C.name],onChange:O=>i(C.name,O),entities:b,error:d(C.name)})]})}function Qir({node:n,onChange:i,entities:s}){const{t:c}=jo(["nodes"]),{getFieldError:d}=gb(n.id),g=jh(n,"trigger","state"),b=jh(n,"device_id"),w=b&&g!=="device"?"device":g;H.useEffect(()=>{b&&g!=="device"&&i("trigger","device")},[b,g,i]);const E=S=>{const _=Gir(S);for(const[A,C]of Object.entries(_))i(A,C);S!=="device"&&b&&i("device_id",void 0)};return I.jsxs(I.Fragment,{children:[I.jsx(No,{label:c("nodes:triggers.platformLabel"),required:!0,children:I.jsxs(zp,{value:w,onValueChange:E,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"state",children:c("nodes:triggers.platforms.state")}),I.jsx(eo,{value:"numeric_state",children:c("nodes:triggers.platforms.numeric_state")}),I.jsx(eo,{value:"time",children:c("nodes:triggers.platforms.time")}),I.jsx(eo,{value:"time_pattern",children:c("nodes:triggers.platforms.time_pattern")}),I.jsx(eo,{value:"sun",children:c("nodes:triggers.platforms.sun")}),I.jsx(eo,{value:"event",children:c("nodes:triggers.platforms.event")}),I.jsx(eo,{value:"mqtt",children:c("nodes:triggers.platforms.mqtt")}),I.jsx(eo,{value:"webhook",children:c("nodes:triggers.platforms.webhook")}),I.jsx(eo,{value:"zone",children:c("nodes:triggers.platforms.zone")}),I.jsx(eo,{value:"template",children:c("nodes:triggers.platforms.template")}),I.jsx(eo,{value:"homeassistant",children:c("nodes:triggers.platforms.homeassistant")}),I.jsx(eo,{value:"device",children:c("nodes:triggers.platforms.device")})]})]})}),I.jsx(eor,{effectiveTriggerType:w,deviceId:b,node:n,onChange:i,entities:s,getFieldError:d})]})}function eor({effectiveTriggerType:n,deviceId:i,node:s,onChange:c,entities:d,getFieldError:g}){return n==="device"||i?I.jsx(Yir,{node:s,onChange:c,entities:d}):n==="state"?I.jsx(Zir,{node:s,onChange:c,entities:d}):ice(n).map(w=>I.jsx(KM,{field:w,value:s.data[w.name],onChange:E=>c(w.name,E),entities:d,error:g(w.name)},w.name))}function tor({node:n,onChange:i}){const{t:s}=jo(["nodes"]),{getFieldError:c,getRootError:d}=gb(n.id),g=po(L=>L.addWaitTimeoutBranch),b=jh(n,"wait_template"),w=QMe(n,"wait_for_trigger"),E=w!==void 0?"trigger":"template",S=d(),_=L=>{L==="template"?(i("wait_for_trigger",void 0),i("wait_template","")):(i("wait_template",void 0),i("wait_for_trigger",[{trigger:"state"}]))},A=(L,D,B)=>{if(!w)return;const $=[...w];$[L]={...$[L],[D]:B},i("wait_for_trigger",$)},C=()=>{const L=[...w||[],{trigger:"state"}];i("wait_for_trigger",L)},O=L=>{if(!w)return;const D=w.filter((B,$)=>$!==L);i("wait_for_trigger",D)};return I.jsxs(I.Fragment,{children:[I.jsx(H2,{message:S}),I.jsx(No,{label:s("nodes:wait.waitType"),description:s("nodes:wait.waitTypeDescription"),children:I.jsxs(zp,{value:E,onValueChange:_,children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"template",children:s("nodes:wait.types.template")}),I.jsx(eo,{value:"trigger",children:s("nodes:wait.types.triggers")})]})]})}),E==="template"&&I.jsxs(No,{label:s("nodes:wait.waitTemplate"),required:!0,description:s("nodes:wait.waitTemplateDescription"),children:[I.jsx(Bv,{value:b||"",onChange:L=>i("wait_template",L.target.value),className:"font-mono",rows:3,placeholder:s("nodes:placeholders.waitTemplate")}),I.jsx(H2,{message:c("wait_template")})]}),E==="trigger"&&I.jsxs("div",{className:"space-y-4",children:[I.jsx(H2,{message:c("wait_for_trigger")}),I.jsxs("div",{className:"space-y-2",children:[I.jsx("h3",{className:"font-medium",children:s("nodes:wait.triggersHeading")}),w==null?void 0:w.map((L,D)=>I.jsxs("div",{className:"space-y-3 rounded-md border p-3",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("p",{className:"font-semibold text-sm capitalize",children:s("nodes:wait.triggerLabel",{index:D+1,platform:L.trigger})}),I.jsx(mi,{variant:"ghost",size:"sm",onClick:()=>O(D),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(jM,{})})]}),I.jsx(No,{label:s("nodes:wait.triggerPlatformLabel","Platform"),children:I.jsxs(zp,{value:L.trigger,onValueChange:B=>A(D,"trigger",B),children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsx(Gh,{children:Object.keys(PJt).map(B=>I.jsx(eo,{value:B,children:B},B))})]})}),ice(L.trigger).map(B=>I.jsx(KM,{field:B,value:L[B.name],onChange:$=>A(D,B.name,$)},B.name))]},D))]}),I.jsx(mi,{onClick:C,variant:"outline",size:"sm",children:s("nodes:wait.addTrigger")})]}),I.jsx(CYt,{label:s("nodes:wait.timeoutLabel"),description:s("nodes:wait.timeoutDescription"),value:n.data.timeout??"",onChange:L=>i("timeout",L||void 0)}),n.data.timeout&&I.jsxs(I.Fragment,{children:[I.jsx(No,{label:s("nodes:wait.continueOnTimeout"),description:s("nodes:wait.continueOnTimeoutDescription"),children:I.jsx(J2,{checked:n.data.continue_on_timeout??!0,onCheckedChange:L=>i("continue_on_timeout",L)})}),I.jsx(No,{label:s("nodes:wait.branchOnTimeout"),description:s("nodes:wait.branchOnTimeoutDescription"),children:I.jsxs(mi,{variant:"outline",size:"sm",onClick:()=>g(n.id),className:"gap-2",children:[I.jsx(G5e,{className:"h-4 w-4"}),s("nodes:wait.addTimeoutBranch")]})})]})]})}function nor({node:n,onChange:i,entities:s}){switch(n.type){case"trigger":return I.jsx(Qir,{node:n,onChange:i,entities:s});case"condition":return I.jsx(Uir,{node:n,onChange:i,entities:s});case"action":return I.jsx(orr,{node:n,onChange:i,entities:s});case"delay":return I.jsx(Hir,{node:n,onChange:i});case"wait":return I.jsx(tor,{node:n,onChange:i});case"set_variables":return I.jsx(zir,{node:n,onChange:i});default:return null}}const uLe={key:"",value:"",type:"string",isAdding:!1};function ror(n,i){switch(i.type){case"setKey":return{...n,key:i.payload};case"setValue":return{...n,value:i.payload};case"setType":return{...n,type:i.payload};case"startAdding":return{...n,isAdding:!0};case"cancelAdding":return{...uLe};case"reset":return{...uLe};default:return n}}function ior(n,i){switch(i){case"number":{const s=Number(n);if(Number.isNaN(s))throw new Error("Invalid number value");return s}case"boolean":return n.toLowerCase()==="true";case"array":try{const s=JSON.parse(n);if(!Array.isArray(s))throw new Error("Not an array");return s}catch{throw new Error("Invalid JSON array format")}default:return n}}function oor(n){const[i,s]=H.useReducer(ror,uLe);return{state:i,setKey:d=>s({type:"setKey",payload:d}),setValue:d=>s({type:"setValue",payload:d}),setType:d=>s({type:"setType",payload:d}),startAdding:()=>s({type:"startAdding"}),cancelAdding:()=>s({type:"cancelAdding"}),handleAdd:()=>{if(!i.key.trim())throw new Error("Property name is required");const d=ior(i.value,i.type);n(i.key,d),s({type:"reset"})}}}function sor({node:n,handledProperties:i,onChange:s,onDelete:c}){const{t:d}=jo(["common","nodes","errors"]),b=oor((_,A)=>{s(_,A)}),w=n.data,E=Object.entries(w).filter(([_,A])=>!i.has(_)&&!jDe(_)&&A!==void 0&&A!==null&&A!=="");if(E.length===0&&!b.state.isAdding)return null;const S=()=>{try{b.handleAdd()}catch(_){alert(_ instanceof Error?_.message:d("errors:properties.addFailed"))}};return I.jsxs("div",{className:"space-y-3",children:[I.jsx("div",{className:"border-t pt-3",children:I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:d("nodes:panel.additionalProperties")}),I.jsxs(mi,{variant:"ghost",size:"sm",onClick:b.startAdding,className:"h-6 px-2 text-xs",children:[I.jsx(sae,{className:"mr-1 h-3 w-3"}),d("buttons.add")]})]})}),b.state.isAdding&&I.jsxs("div",{className:"space-y-2 rounded border p-3",children:[I.jsx(No,{label:d("nodes:panel.propertyName"),required:!0,children:I.jsx(Na,{type:"text",value:b.state.key,onChange:_=>b.setKey(_.target.value),placeholder:d("nodes:placeholders.customProperty")})}),I.jsx(No,{label:d("nodes:panel.type"),children:I.jsxs(zp,{value:b.state.type,onValueChange:_=>b.setType(_),children:[I.jsx(zh,{children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"string",children:d("nodes:triggers.dataTypes.string")}),I.jsx(eo,{value:"number",children:d("nodes:triggers.dataTypes.number")}),I.jsx(eo,{value:"boolean",children:d("nodes:triggers.dataTypes.boolean")}),I.jsx(eo,{value:"array",children:d("nodes:triggers.dataTypes.json")})]})]})}),I.jsx(No,{label:d("nodes:panel.value"),children:b.state.type==="boolean"?I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx(J2,{checked:b.state.value==="true",onCheckedChange:_=>b.setValue(_?"true":"false")}),I.jsx(ll,{className:"text-sm",children:b.state.value==="true"?d("boolean.true"):d("boolean.false")})]}):b.state.type==="array"?I.jsx(Bv,{value:b.state.value,onChange:_=>b.setValue(_.target.value),placeholder:d("nodes:placeholders.jsonArray"),className:"font-mono",rows:2}):I.jsx(Na,{type:b.state.type==="number"?"number":"text",value:b.state.value,onChange:_=>b.setValue(_.target.value),placeholder:b.state.type==="number"?d("nodes:placeholders.number"):d("nodes:placeholders.enterValue")})}),I.jsxs("div",{className:"flex justify-end gap-2",children:[I.jsx(mi,{variant:"ghost",size:"sm",onClick:b.cancelAdding,children:d("buttons.cancel")}),I.jsx(mi,{size:"sm",onClick:S,children:d("nodes:panel.addProperty")})]})]}),E.map(([_,A])=>I.jsx(aor,{name:_,value:A,onChange:C=>s(_,C),onDelete:()=>c(_)},_))]})}function aor({name:n,value:i,onChange:s,onDelete:c}){const{t:d}=jo(["common","nodes"]);return I.jsxs("div",{className:"space-y-2",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs capitalize",children:n.replace(/_/g," ")}),I.jsx(mi,{variant:"ghost",size:"sm",onClick:c,className:"h-6 w-6 p-0 text-destructive hover:bg-destructive/10",children:I.jsx(jM,{className:"h-3 w-3"})})]}),typeof i=="boolean"?I.jsxs("div",{className:"flex items-center space-x-2",children:[I.jsx(J2,{checked:i,onCheckedChange:g=>s(g)}),I.jsx(ll,{className:"text-sm",children:d(i?"boolean.true":"boolean.false")})]}):Array.isArray(i)?I.jsx(Bv,{value:JSON.stringify(i,null,2),onChange:g=>{try{const b=JSON.parse(g.target.value);s(b)}catch{}},className:"font-mono",rows:Math.min(i.length+1,4),placeholder:d("nodes:placeholders.jsonArray")}):typeof i=="object"?I.jsx(Bv,{value:JSON.stringify(i,null,2),onChange:g=>{try{const b=JSON.parse(g.target.value);s(b)}catch{}},className:"font-mono",rows:4,placeholder:d("nodes:placeholders.jsonObject")}):I.jsx(Na,{type:"text",value:String(i),onChange:g=>{const b=g.target.value;if(typeof i=="number"){const w=Number(b);Number.isNaN(w)||s(w)}else s(b)},placeholder:d("nodes:placeholders.enterType",{type:typeof i})})]})}function cor(){const{t:n}=jo(["common","nodes"]),i=po(O=>O.selectedNodeId),s=po(O=>O.nodes),c=po(O=>O.updateNodeData),d=po(O=>O.removeNode),{hass:g,entities:b}=Wg(),w=H.useMemo(()=>g!=null&&g.states&&Object.keys(g.states).length>0?Object.values(g.states).map(O=>({entity_id:O.entity_id,state:O.state,attributes:O.attributes||{},last_changed:O.last_changed||"",last_updated:O.last_updated||"",context:O.context})):b,[g,b]),E=H.useMemo(()=>s.find(O=>O.id===i),[s,i]),S=H.useMemo(()=>{if(!E)return c$t("trigger",[]);const O=c$t(E.type||"trigger",[]),L=E.data,D=typeof L.trigger=="string"?L.trigger:"",B=typeof L.device_id=="string"?L.device_id:"";if((D==="device"||B)&&(E.type==="trigger"||E.type==="condition")){const P=Object.keys(L);return new Set([...O,...P])}return O},[E]),{getFieldError:_}=gb((E==null?void 0:E.id)??"");if(!E)return I.jsx(qnr,{});const A=(O,L)=>{c(E.id,{[O]:L})},C=O=>{c(E.id,{[O]:void 0})};return I.jsxs("div",{className:"h-full flex-1 space-y-4 overflow-y-auto p-4",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsxs("h3",{className:"font-semibold text-foreground text-sm",children:[E.type?n(`nodes:types.${E.type}`):n("nodes:types.node")," ",n("nodes:panel.properties")]}),I.jsx(mi,{variant:"ghost",size:"sm",onClick:()=>d(E.id),className:"h-8 w-8 p-0 text-destructive hover:bg-destructive/10 hover:text-destructive",children:I.jsx(jM,{className:"h-4 w-4"})})]}),I.jsx(No,{label:n("labels.alias"),children:I.jsx(Na,{type:"text",value:typeof E.data.alias=="string"?E.data.alias:"",onChange:O=>A("alias",O.target.value),placeholder:n("placeholders.optionalDisplayName")})}),E.type==="trigger"&&I.jsxs(No,{label:n("labels.id"),children:[I.jsx(Na,{type:"text",value:typeof E.data.id=="string"?E.data.id:"",onChange:O=>A("id",O.target.value||void 0),placeholder:n("placeholders.optionalUniqueId"),className:"font-mono"}),I.jsx(H2,{message:_("id")})]}),I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx(ll,{htmlFor:"node-enabled",className:"text-sm",children:n("labels.enabled")}),I.jsx(J2,{id:"node-enabled",checked:E.data.enabled!==!1,onCheckedChange:O=>A("enabled",O?void 0:!1)})]}),I.jsx($z,{}),I.jsx(nor,{node:E,onChange:A,entities:w}),I.jsx(sor,{node:E,handledProperties:S,onChange:A,onDelete:C}),I.jsx("div",{className:"pt-2 text-muted-foreground text-xs",children:n("nodes:panel.nodeId",{id:E.id})})]})}function uor(n){const i=document.createElement("textarea");i.value=n,document.body.appendChild(i),i.focus(),i.select();try{document.execCommand("copy")}catch(s){console.error("Unable to copy to clipboard",s)}document.body.removeChild(i)}async function lor(n){return navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(n):uor(n)}function Hk(){return Hk=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var c in s)({}).hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},Hk.apply(null,arguments)}function FJt(n,i){if(n==null)return{};var s={};for(var c in n)if({}.hasOwnProperty.call(n,c)){if(i.indexOf(c)!==-1)continue;s[c]=n[c]}return s}let Gz=class{constructor(i,s,c){this.normal=s,this.property=i,c&&(this.space=c)}};Gz.prototype.normal={};Gz.prototype.property={};Gz.prototype.space=void 0;function $Jt(n,i){const s={},c={};for(const d of n)Object.assign(s,d.property),Object.assign(c,d.normal);return new Gz(s,c,i)}function pz(n){return n.toLowerCase()}let bb=class{constructor(i,s){this.attribute=s,this.property=i}};bb.prototype.attribute="";bb.prototype.booleanish=!1;bb.prototype.boolean=!1;bb.prototype.commaOrSpaceSeparated=!1;bb.prototype.commaSeparated=!1;bb.prototype.defined=!1;bb.prototype.mustUseProperty=!1;bb.prototype.number=!1;bb.prototype.overloadedBoolean=!1;bb.prototype.property="";bb.prototype.spaceSeparated=!1;bb.prototype.space=void 0;let dor=0;const Qo=PR(),Pd=PR(),lLe=PR(),cr=PR(),qc=PR(),uM=PR(),Om=PR();function PR(){return 2**++dor}const dLe=Object.freeze(Object.defineProperty({__proto__:null,boolean:Qo,booleanish:Pd,commaOrSpaceSeparated:Om,commaSeparated:uM,number:cr,overloadedBoolean:lLe,spaceSeparated:qc},Symbol.toStringTag,{value:"Module"})),XOe=Object.keys(dLe);let l9e=class extends bb{constructor(i,s,c,d){let g=-1;if(super(i,s),h$t(this,"space",d),typeof c=="number")for(;++g<XOe.length;){const b=XOe[g];h$t(this,XOe[g],(c&dLe[b])===dLe[b])}}};l9e.prototype.defined=!0;function h$t(n,i,s){s&&(n[i]=s)}function YM(n){const i={},s={};for(const[c,d]of Object.entries(n.properties)){const g=new l9e(c,n.transform(n.attributes||{},c),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(c)&&(g.mustUseProperty=!0),i[c]=g,s[pz(c)]=c,s[pz(g.attribute)]=c}return new Gz(i,s,n.space)}const BJt=YM({properties:{ariaActiveDescendant:null,ariaAtomic:Pd,ariaAutoComplete:null,ariaBusy:Pd,ariaChecked:Pd,ariaColCount:cr,ariaColIndex:cr,ariaColSpan:cr,ariaControls:qc,ariaCurrent:null,ariaDescribedBy:qc,ariaDetails:null,ariaDisabled:Pd,ariaDropEffect:qc,ariaErrorMessage:null,ariaExpanded:Pd,ariaFlowTo:qc,ariaGrabbed:Pd,ariaHasPopup:null,ariaHidden:Pd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qc,ariaLevel:cr,ariaLive:null,ariaModal:Pd,ariaMultiLine:Pd,ariaMultiSelectable:Pd,ariaOrientation:null,ariaOwns:qc,ariaPlaceholder:null,ariaPosInSet:cr,ariaPressed:Pd,ariaReadOnly:Pd,ariaRelevant:null,ariaRequired:Pd,ariaRoleDescription:qc,ariaRowCount:cr,ariaRowIndex:cr,ariaRowSpan:cr,ariaSelected:Pd,ariaSetSize:cr,ariaSort:null,ariaValueMax:cr,ariaValueMin:cr,ariaValueNow:cr,ariaValueText:null,role:null},transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function UJt(n,i){return i in n?n[i]:i}function HJt(n,i){return UJt(n,i.toLowerCase())}const hor=YM({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:uM,acceptCharset:qc,accessKey:qc,action:null,allow:null,allowFullScreen:Qo,allowPaymentRequest:Qo,allowUserMedia:Qo,alt:null,as:null,async:Qo,autoCapitalize:null,autoComplete:qc,autoFocus:Qo,autoPlay:Qo,blocking:qc,capture:null,charSet:null,checked:Qo,cite:null,className:qc,cols:cr,colSpan:null,content:null,contentEditable:Pd,controls:Qo,controlsList:qc,coords:cr|uM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qo,defer:Qo,dir:null,dirName:null,disabled:Qo,download:lLe,draggable:Pd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qo,formTarget:null,headers:qc,height:cr,hidden:lLe,high:cr,href:null,hrefLang:null,htmlFor:qc,httpEquiv:qc,id:null,imageSizes:null,imageSrcSet:null,inert:Qo,inputMode:null,integrity:null,is:null,isMap:Qo,itemId:null,itemProp:qc,itemRef:qc,itemScope:Qo,itemType:qc,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qo,low:cr,manifest:null,max:null,maxLength:cr,media:null,method:null,min:null,minLength:cr,multiple:Qo,muted:Qo,name:null,nonce:null,noModule:Qo,noValidate:Qo,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Qo,optimum:cr,pattern:null,ping:qc,placeholder:null,playsInline:Qo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qo,referrerPolicy:null,rel:qc,required:Qo,reversed:Qo,rows:cr,rowSpan:cr,sandbox:qc,scope:null,scoped:Qo,seamless:Qo,selected:Qo,shadowRootClonable:Qo,shadowRootDelegatesFocus:Qo,shadowRootMode:null,shape:null,size:cr,sizes:null,slot:null,span:cr,spellCheck:Pd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:cr,step:null,style:null,tabIndex:cr,target:null,title:null,translate:null,type:null,typeMustMatch:Qo,useMap:null,value:Pd,width:cr,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qc,axis:null,background:null,bgColor:null,border:cr,borderColor:null,bottomMargin:cr,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qo,declare:Qo,event:null,face:null,frame:null,frameBorder:null,hSpace:cr,leftMargin:cr,link:null,longDesc:null,lowSrc:null,marginHeight:cr,marginWidth:cr,noResize:Qo,noHref:Qo,noShade:Qo,noWrap:Qo,object:null,profile:null,prompt:null,rev:null,rightMargin:cr,rules:null,scheme:null,scrolling:Pd,standby:null,summary:null,text:null,topMargin:cr,valueType:null,version:null,vAlign:null,vLink:null,vSpace:cr,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Qo,disableRemotePlayback:Qo,prefix:null,property:null,results:cr,security:null,unselectable:null},space:"html",transform:HJt}),por=YM({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Om,accentHeight:cr,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:cr,amplitude:cr,arabicForm:null,ascent:cr,attributeName:null,attributeType:null,azimuth:cr,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:cr,by:null,calcMode:null,capHeight:cr,className:qc,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:cr,diffuseConstant:cr,direction:null,display:null,dur:null,divisor:cr,dominantBaseline:null,download:Qo,dx:null,dy:null,edgeMode:null,editable:null,elevation:cr,enableBackground:null,end:null,event:null,exponent:cr,externalResourcesRequired:null,fill:null,fillOpacity:cr,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:uM,g2:uM,glyphName:uM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:cr,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:cr,horizOriginX:cr,horizOriginY:cr,id:null,ideographic:cr,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:cr,k:cr,k1:cr,k2:cr,k3:cr,k4:cr,kernelMatrix:Om,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:cr,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:cr,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:cr,overlineThickness:cr,paintOrder:null,panose1:null,path:null,pathLength:cr,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qc,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:cr,pointsAtY:cr,pointsAtZ:cr,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Om,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Om,rev:Om,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Om,requiredFeatures:Om,requiredFonts:Om,requiredFormats:Om,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:cr,specularExponent:cr,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:cr,strikethroughThickness:cr,string:null,stroke:null,strokeDashArray:Om,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:cr,strokeOpacity:cr,strokeWidth:null,style:null,surfaceScale:cr,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Om,tabIndex:cr,tableValues:null,target:null,targetX:cr,targetY:cr,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Om,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:cr,underlineThickness:cr,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:cr,values:null,vAlphabetic:cr,vMathematical:cr,vectorEffect:null,vHanging:cr,vIdeographic:cr,version:null,vertAdvY:cr,vertOriginX:cr,vertOriginY:cr,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:cr,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:UJt}),zJt=YM({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()}}),GJt=YM({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:HJt}),qJt=YM({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()}}),gor=/[A-Z]/g,p$t=/-[a-z]/g,bor=/^data[-\w.:]+$/i;function d9e(n,i){const s=pz(i);let c=i,d=bb;if(s in n.normal)return n.property[n.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&bor.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(p$t,wor);c="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!p$t.test(g)){let b=g.replace(gor,mor);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=l9e}return new d(c,i)}function mor(n){return"-"+n.toLowerCase()}function wor(n){return n.charAt(1).toUpperCase()}const oce=$Jt([BJt,hor,zJt,GJt,qJt],"html"),qz=$Jt([BJt,por,zJt,GJt,qJt],"svg");function _se(n){const i=[],s=String(n||"");let c=s.indexOf(","),d=0,g=!1;for(;!g;){c===-1&&(c=s.length,g=!0);const b=s.slice(d,c).trim();(b||!g)&&i.push(b),d=c+1,c=s.indexOf(",",d)}return i}function yor(n,i){const s=i||{};return(n[n.length-1]===""?[...n,""]:n).join((s.padRight?" ":"")+","+(s.padLeft===!1?"":" ")).trim()}const g$t=/[#.]/g;function vor(n,i){const s=n||"",c={};let d=0,g,b;for(;d<s.length;){g$t.lastIndex=d;const w=g$t.exec(s),E=s.slice(d,w?w.index:s.length);E&&(g?g==="#"?c.id=E:Array.isArray(c.className)?c.className.push(E):c.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:c,children:[]}}function xse(n){const i=String(n||"").trim();return i?i.split(/[ \t\n\r\f]+/g):[]}function Eor(n){return n.join(" ").trim()}function VJt(n,i,s){const c=s?_or(s):void 0;function d(g,b,...w){let E;if(g==null){E={type:"root",children:[]};const S=b;w.unshift(S)}else{E=vor(g,i);const S=E.tagName.toLowerCase(),_=c?c.get(S):void 0;if(E.tagName=_||S,Sor(b))w.unshift(b);else for(const[A,C]of Object.entries(b))Tor(n,E.properties,A,C)}for(const S of w)fLe(E.children,S);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}return d}function Sor(n){if(n===null||typeof n!="object"||Array.isArray(n))return!0;if(typeof n.type!="string")return!1;const i=n,s=Object.keys(n);for(const c of s){const d=i[c];if(d&&typeof d=="object"){if(!Array.isArray(d))return!0;const g=d;for(const b of g)if(typeof b!="number"&&typeof b!="string")return!0}}return!!("children"in n&&Array.isArray(n.children))}function Tor(n,i,s,c){const d=d9e(n,s);let g;if(c!=null){if(typeof c=="number"){if(Number.isNaN(c))return;g=c}else typeof c=="boolean"?g=c:typeof c=="string"?d.spaceSeparated?g=xse(c):d.commaSeparated?g=_se(c):d.commaOrSpaceSeparated?g=xse(_se(c).join(" ")):g=b$t(d,d.property,c):Array.isArray(c)?g=[...c]:g=d.property==="style"?Aor(c):String(c);if(Array.isArray(g)){const b=[];for(const w of g)b.push(b$t(d,d.property,w));g=b}d.property==="className"&&Array.isArray(i.className)&&(g=i.className.concat(g)),i[d.property]=g}}function fLe(n,i){if(i!=null)if(typeof i=="number"||typeof i=="string")n.push({type:"text",value:String(i)});else if(Array.isArray(i))for(const s of i)fLe(n,s);else if(typeof i=="object"&&"type"in i)i.type==="root"?fLe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function b$t(n,i,s){if(typeof s=="string"){if(n.number&&s&&!Number.isNaN(Number(s)))return Number(s);if((n.boolean||n.overloadedBoolean)&&(s===""||pz(s)===pz(i)))return!0}return s}function Aor(n){const i=[];for(const[s,c]of Object.entries(n))i.push([s,c].join(": "));return i.join("; ")}function _or(n){const i=new Map;for(const s of n)i.set(s.toLowerCase(),s);return i}const xor=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],kor=VJt(oce,"div"),Nor=VJt(qz,"g",xor);function Cor(n){const i=String(n),s=[];return{toOffset:d,toPoint:c};function c(g){if(typeof g=="number"&&g>-1&&g<=i.length){let b=0;for(;;){let w=s[b];if(w===void 0){const E=m$t(i,s[b-1]);w=E===-1?i.length+1:E+1,s[b]=w}if(w>g)return{line:b+1,column:g-(b>0?s[b-1]:0)+1,offset:g};b++}}}function d(g){if(g&&typeof g.line=="number"&&typeof g.column=="number"&&!Number.isNaN(g.line)&&!Number.isNaN(g.column)){for(;s.length<g.line;){const w=s[s.length-1],E=m$t(i,w),S=E===-1?i.length+1:E+1;if(w===S)break;s.push(S)}const b=(g.line>1?s[g.line-2]:0)+g.column-1;if(b<s[g.line-1])return b}}}function m$t(n,i){const s=n.indexOf("\r",i),c=n.indexOf(`
`,i);return c===-1?s:s===-1||s+1===c?c:s<c?s:c}const Ior={svg:"http://www.w3.org/2000/svg"},WJt={}.hasOwnProperty,Ror=Object.prototype;function Oor(n,i){const s=i||{};return f9e({file:s.file||void 0,location:!1,schema:s.space==="svg"?qz:oce,verbose:s.verbose||!1},n)}function f9e(n,i){let s;switch(i.nodeName){case"#comment":{const c=i;return s={type:"comment",value:c.data},uoe(n,c,s),s}case"#document":case"#document-fragment":{const c=i,d="mode"in c?c.mode==="quirks"||c.mode==="limited-quirks":!1;if(s={type:"root",children:KJt(n,i.childNodes),data:{quirksMode:d}},n.file&&n.location){const g=String(n.file),b=Cor(g),w=b.toPoint(0),E=b.toPoint(g.length);s.position={start:w,end:E}}return s}case"#documentType":{const c=i;return s={type:"doctype"},uoe(n,c,s),s}case"#text":{const c=i;return s={type:"text",value:c.value},uoe(n,c,s),s}default:return s=Dor(n,i),s}}function KJt(n,i){let s=-1;const c=[];for(;++s<i.length;){const d=f9e(n,i[s]);c.push(d)}return c}function Dor(n,i){const s=n.schema;n.schema=i.namespaceURI===Ior.svg?qz:oce;let c=-1;const d={};for(;++c<i.attrs.length;){const w=i.attrs[c],E=(w.prefix?w.prefix+":":"")+w.name;WJt.call(Ror,E)||(d[E]=w.value)}const b=(n.schema.space==="svg"?Nor:kor)(i.tagName,d,KJt(n,i.childNodes));if(uoe(n,i,b),b.tagName==="template"){const w=i,E=w.sourceCodeLocation,S=E&&E.startTag&&Y5(E.startTag),_=E&&E.endTag&&Y5(E.endTag),A=f9e(n,w.content);S&&_&&n.file&&(A.position={start:S.end,end:_.start}),b.content=A}return n.schema=s,b}function uoe(n,i,s){if("sourceCodeLocation"in i&&i.sourceCodeLocation&&n.file){const c=Lor(n,s,i.sourceCodeLocation);c&&(n.location=!0,s.position=c)}}function Lor(n,i,s){const c=Y5(s);if(i.type==="element"){const d=i.children[i.children.length-1];if(c&&!s.endTag&&d&&d.position&&d.position.end&&(c.end=Object.assign({},d.position.end)),n.verbose){const g={};let b;if(s.attrs)for(b in s.attrs)WJt.call(s.attrs,b)&&(g[d9e(n.schema,b).property]=Y5(s.attrs[b]));s.startTag;const w=Y5(s.startTag),E=s.endTag?Y5(s.endTag):void 0,S={opening:w};E&&(S.closing=E),S.properties=g,i.data={position:S}}}return c}function Y5(n){const i=w$t({line:n.startLine,column:n.startCol,offset:n.startOffset}),s=w$t({line:n.endLine,column:n.endCol,offset:n.endOffset});return i||s?{start:i,end:s}:void 0}function w$t(n){return n.line&&n.column?n:void 0}const Mor=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Ou="�";var $e;(function(n){n[n.EOF=-1]="EOF",n[n.NULL=0]="NULL",n[n.TABULATION=9]="TABULATION",n[n.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",n[n.LINE_FEED=10]="LINE_FEED",n[n.FORM_FEED=12]="FORM_FEED",n[n.SPACE=32]="SPACE",n[n.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",n[n.QUOTATION_MARK=34]="QUOTATION_MARK",n[n.AMPERSAND=38]="AMPERSAND",n[n.APOSTROPHE=39]="APOSTROPHE",n[n.HYPHEN_MINUS=45]="HYPHEN_MINUS",n[n.SOLIDUS=47]="SOLIDUS",n[n.DIGIT_0=48]="DIGIT_0",n[n.DIGIT_9=57]="DIGIT_9",n[n.SEMICOLON=59]="SEMICOLON",n[n.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",n[n.EQUALS_SIGN=61]="EQUALS_SIGN",n[n.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",n[n.QUESTION_MARK=63]="QUESTION_MARK",n[n.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",n[n.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",n[n.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",n[n.GRAVE_ACCENT=96]="GRAVE_ACCENT",n[n.LATIN_SMALL_A=97]="LATIN_SMALL_A",n[n.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})($e||($e={}));const nb={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function YJt(n){return n>=55296&&n<=57343}function Por(n){return n>=56320&&n<=57343}function jor(n,i){return(n-55296)*1024+9216+i}function JJt(n){return n!==32&&n!==10&&n!==13&&n!==9&&n!==12&&n>=1&&n<=31||n>=127&&n<=159}function XJt(n){return n>=64976&&n<=65007||Mor.has(n)}var sn;(function(n){n.controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(sn||(sn={}));const For=65536;class $or{constructor(i){this.handler=i,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=For,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(i,s){const{line:c,col:d,offset:g}=this,b=d+s,w=g+s;return{code:i,startLine:c,endLine:c,startCol:b,endCol:b,startOffset:w,endOffset:w}}_err(i){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(i,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(i){if(this.pos!==this.html.length-1){const s=this.html.charCodeAt(this.pos+1);if(Por(s))return this.pos++,this._addGap(),jor(i,s)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,$e.EOF;return this._err(sn.surrogateInInputStream),i}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(i,s){this.html.length>0?this.html+=i:this.html=i,this.endOfChunkHit=!1,this.lastChunkWritten=s}insertHtmlAtCurrentPos(i){this.html=this.html.substring(0,this.pos+1)+i+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(i,s){if(this.pos+i.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(s)return this.html.startsWith(i,this.pos);for(let c=0;c<i.length;c++)if((this.html.charCodeAt(this.pos+c)|32)!==i.charCodeAt(c))return!1;return!0}peek(i){const s=this.pos+i;if(s>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$e.EOF;const c=this.html.charCodeAt(s);return c===$e.CARRIAGE_RETURN?$e.LINE_FEED:c}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$e.EOF;let i=this.html.charCodeAt(this.pos);return i===$e.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,$e.LINE_FEED):i===$e.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,YJt(i)&&(i=this._processSurrogate(i)),this.handler.onParseError===null||i>31&&i<127||i===$e.LINE_FEED||i===$e.CARRIAGE_RETURN||i>159&&i<64976||this._checkForProblematicCharacters(i),i)}_checkForProblematicCharacters(i){JJt(i)?this._err(sn.controlCharacterInInputStream):XJt(i)&&this._err(sn.noncharacterInInputStream)}retreat(i){for(this.pos-=i;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ha;(function(n){n[n.CHARACTER=0]="CHARACTER",n[n.NULL_CHARACTER=1]="NULL_CHARACTER",n[n.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",n[n.START_TAG=3]="START_TAG",n[n.END_TAG=4]="END_TAG",n[n.COMMENT=5]="COMMENT",n[n.DOCTYPE=6]="DOCTYPE",n[n.EOF=7]="EOF",n[n.HIBERNATION=8]="HIBERNATION"})(ha||(ha={}));function ZJt(n,i){for(let s=n.attrs.length-1;s>=0;s--)if(n.attrs[s].name===i)return n.attrs[s].value;return null}const Bor=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(n=>n.charCodeAt(0))),Uor=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Hor(n){var i;return n>=55296&&n<=57343||n>1114111?65533:(i=Uor.get(n))!==null&&i!==void 0?i:n}var nh;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(nh||(nh={}));const zor=32;var qk;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(qk||(qk={}));function hLe(n){return n>=nh.ZERO&&n<=nh.NINE}function Gor(n){return n>=nh.UPPER_A&&n<=nh.UPPER_F||n>=nh.LOWER_A&&n<=nh.LOWER_F}function qor(n){return n>=nh.UPPER_A&&n<=nh.UPPER_Z||n>=nh.LOWER_A&&n<=nh.LOWER_Z||hLe(n)}function Vor(n){return n===nh.EQUALS||qor(n)}var Qf;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(Qf||(Qf={}));var aA;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(aA||(aA={}));class Wor{constructor(i,s,c){this.decodeTree=i,this.emitCodePoint=s,this.errors=c,this.state=Qf.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=aA.Strict}startEntity(i){this.decodeMode=i,this.state=Qf.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(i,s){switch(this.state){case Qf.EntityStart:return i.charCodeAt(s)===nh.NUM?(this.state=Qf.NumericStart,this.consumed+=1,this.stateNumericStart(i,s+1)):(this.state=Qf.NamedEntity,this.stateNamedEntity(i,s));case Qf.NumericStart:return this.stateNumericStart(i,s);case Qf.NumericDecimal:return this.stateNumericDecimal(i,s);case Qf.NumericHex:return this.stateNumericHex(i,s);case Qf.NamedEntity:return this.stateNamedEntity(i,s)}}stateNumericStart(i,s){return s>=i.length?-1:(i.charCodeAt(s)|zor)===nh.LOWER_X?(this.state=Qf.NumericHex,this.consumed+=1,this.stateNumericHex(i,s+1)):(this.state=Qf.NumericDecimal,this.stateNumericDecimal(i,s))}addToNumericResult(i,s,c,d){if(s!==c){const g=c-s;this.result=this.result*Math.pow(d,g)+Number.parseInt(i.substr(s,g),d),this.consumed+=g}}stateNumericHex(i,s){const c=s;for(;s<i.length;){const d=i.charCodeAt(s);if(hLe(d)||Gor(d))s+=1;else return this.addToNumericResult(i,c,s,16),this.emitNumericEntity(d,3)}return this.addToNumericResult(i,c,s,16),-1}stateNumericDecimal(i,s){const c=s;for(;s<i.length;){const d=i.charCodeAt(s);if(hLe(d))s+=1;else return this.addToNumericResult(i,c,s,10),this.emitNumericEntity(d,2)}return this.addToNumericResult(i,c,s,10),-1}emitNumericEntity(i,s){var c;if(this.consumed<=s)return(c=this.errors)===null||c===void 0||c.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(i===nh.SEMI)this.consumed+=1;else if(this.decodeMode===aA.Strict)return 0;return this.emitCodePoint(Hor(this.result),this.consumed),this.errors&&(i!==nh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(i,s){const{decodeTree:c}=this;let d=c[this.treeIndex],g=(d&qk.VALUE_LENGTH)>>14;for(;s<i.length;s++,this.excess++){const b=i.charCodeAt(s);if(this.treeIndex=Kor(c,d,this.treeIndex+Math.max(1,g),b),this.treeIndex<0)return this.result===0||this.decodeMode===aA.Attribute&&(g===0||Vor(b))?0:this.emitNotTerminatedNamedEntity();if(d=c[this.treeIndex],g=(d&qk.VALUE_LENGTH)>>14,g!==0){if(b===nh.SEMI)return this.emitNamedEntityData(this.treeIndex,g,this.consumed+this.excess);this.decodeMode!==aA.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var i;const{result:s,decodeTree:c}=this,d=(c[s]&qk.VALUE_LENGTH)>>14;return this.emitNamedEntityData(s,d,this.consumed),(i=this.errors)===null||i===void 0||i.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(i,s,c){const{decodeTree:d}=this;return this.emitCodePoint(s===1?d[i]&~qk.VALUE_LENGTH:d[i+1],c),s===3&&this.emitCodePoint(d[i+2],c),c}end(){var i;switch(this.state){case Qf.NamedEntity:return this.result!==0&&(this.decodeMode!==aA.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Qf.NumericDecimal:return this.emitNumericEntity(0,2);case Qf.NumericHex:return this.emitNumericEntity(0,3);case Qf.NumericStart:return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Qf.EntityStart:return 0}}}function Kor(n,i,s,c){const d=(i&qk.BRANCH_LENGTH)>>7,g=i&qk.JUMP_TABLE;if(d===0)return g!==0&&c===g?s:-1;if(g){const E=c-g;return E<0||E>=d?-1:n[s+E]-1}let b=s,w=b+d-1;for(;b<=w;){const E=b+w>>>1,S=n[E];if(S<c)b=E+1;else if(S>c)w=E-1;else return n[E+d]}return-1}var Fn;(function(n){n.HTML="http://www.w3.org/1999/xhtml",n.MATHML="http://www.w3.org/1998/Math/MathML",n.SVG="http://www.w3.org/2000/svg",n.XLINK="http://www.w3.org/1999/xlink",n.XML="http://www.w3.org/XML/1998/namespace",n.XMLNS="http://www.w3.org/2000/xmlns/"})(Fn||(Fn={}));var iR;(function(n){n.TYPE="type",n.ACTION="action",n.ENCODING="encoding",n.PROMPT="prompt",n.NAME="name",n.COLOR="color",n.FACE="face",n.SIZE="size"})(iR||(iR={}));var yw;(function(n){n.NO_QUIRKS="no-quirks",n.QUIRKS="quirks",n.LIMITED_QUIRKS="limited-quirks"})(yw||(yw={}));var Pt;(function(n){n.A="a",n.ADDRESS="address",n.ANNOTATION_XML="annotation-xml",n.APPLET="applet",n.AREA="area",n.ARTICLE="article",n.ASIDE="aside",n.B="b",n.BASE="base",n.BASEFONT="basefont",n.BGSOUND="bgsound",n.BIG="big",n.BLOCKQUOTE="blockquote",n.BODY="body",n.BR="br",n.BUTTON="button",n.CAPTION="caption",n.CENTER="center",n.CODE="code",n.COL="col",n.COLGROUP="colgroup",n.DD="dd",n.DESC="desc",n.DETAILS="details",n.DIALOG="dialog",n.DIR="dir",n.DIV="div",n.DL="dl",n.DT="dt",n.EM="em",n.EMBED="embed",n.FIELDSET="fieldset",n.FIGCAPTION="figcaption",n.FIGURE="figure",n.FONT="font",n.FOOTER="footer",n.FOREIGN_OBJECT="foreignObject",n.FORM="form",n.FRAME="frame",n.FRAMESET="frameset",n.H1="h1",n.H2="h2",n.H3="h3",n.H4="h4",n.H5="h5",n.H6="h6",n.HEAD="head",n.HEADER="header",n.HGROUP="hgroup",n.HR="hr",n.HTML="html",n.I="i",n.IMG="img",n.IMAGE="image",n.INPUT="input",n.IFRAME="iframe",n.KEYGEN="keygen",n.LABEL="label",n.LI="li",n.LINK="link",n.LISTING="listing",n.MAIN="main",n.MALIGNMARK="malignmark",n.MARQUEE="marquee",n.MATH="math",n.MENU="menu",n.META="meta",n.MGLYPH="mglyph",n.MI="mi",n.MO="mo",n.MN="mn",n.MS="ms",n.MTEXT="mtext",n.NAV="nav",n.NOBR="nobr",n.NOFRAMES="noframes",n.NOEMBED="noembed",n.NOSCRIPT="noscript",n.OBJECT="object",n.OL="ol",n.OPTGROUP="optgroup",n.OPTION="option",n.P="p",n.PARAM="param",n.PLAINTEXT="plaintext",n.PRE="pre",n.RB="rb",n.RP="rp",n.RT="rt",n.RTC="rtc",n.RUBY="ruby",n.S="s",n.SCRIPT="script",n.SEARCH="search",n.SECTION="section",n.SELECT="select",n.SOURCE="source",n.SMALL="small",n.SPAN="span",n.STRIKE="strike",n.STRONG="strong",n.STYLE="style",n.SUB="sub",n.SUMMARY="summary",n.SUP="sup",n.TABLE="table",n.TBODY="tbody",n.TEMPLATE="template",n.TEXTAREA="textarea",n.TFOOT="tfoot",n.TD="td",n.TH="th",n.THEAD="thead",n.TITLE="title",n.TR="tr",n.TRACK="track",n.TT="tt",n.U="u",n.UL="ul",n.SVG="svg",n.VAR="var",n.WBR="wbr",n.XMP="xmp"})(Pt||(Pt={}));var W;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.A=1]="A",n[n.ADDRESS=2]="ADDRESS",n[n.ANNOTATION_XML=3]="ANNOTATION_XML",n[n.APPLET=4]="APPLET",n[n.AREA=5]="AREA",n[n.ARTICLE=6]="ARTICLE",n[n.ASIDE=7]="ASIDE",n[n.B=8]="B",n[n.BASE=9]="BASE",n[n.BASEFONT=10]="BASEFONT",n[n.BGSOUND=11]="BGSOUND",n[n.BIG=12]="BIG",n[n.BLOCKQUOTE=13]="BLOCKQUOTE",n[n.BODY=14]="BODY",n[n.BR=15]="BR",n[n.BUTTON=16]="BUTTON",n[n.CAPTION=17]="CAPTION",n[n.CENTER=18]="CENTER",n[n.CODE=19]="CODE",n[n.COL=20]="COL",n[n.COLGROUP=21]="COLGROUP",n[n.DD=22]="DD",n[n.DESC=23]="DESC",n[n.DETAILS=24]="DETAILS",n[n.DIALOG=25]="DIALOG",n[n.DIR=26]="DIR",n[n.DIV=27]="DIV",n[n.DL=28]="DL",n[n.DT=29]="DT",n[n.EM=30]="EM",n[n.EMBED=31]="EMBED",n[n.FIELDSET=32]="FIELDSET",n[n.FIGCAPTION=33]="FIGCAPTION",n[n.FIGURE=34]="FIGURE",n[n.FONT=35]="FONT",n[n.FOOTER=36]="FOOTER",n[n.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",n[n.FORM=38]="FORM",n[n.FRAME=39]="FRAME",n[n.FRAMESET=40]="FRAMESET",n[n.H1=41]="H1",n[n.H2=42]="H2",n[n.H3=43]="H3",n[n.H4=44]="H4",n[n.H5=45]="H5",n[n.H6=46]="H6",n[n.HEAD=47]="HEAD",n[n.HEADER=48]="HEADER",n[n.HGROUP=49]="HGROUP",n[n.HR=50]="HR",n[n.HTML=51]="HTML",n[n.I=52]="I",n[n.IMG=53]="IMG",n[n.IMAGE=54]="IMAGE",n[n.INPUT=55]="INPUT",n[n.IFRAME=56]="IFRAME",n[n.KEYGEN=57]="KEYGEN",n[n.LABEL=58]="LABEL",n[n.LI=59]="LI",n[n.LINK=60]="LINK",n[n.LISTING=61]="LISTING",n[n.MAIN=62]="MAIN",n[n.MALIGNMARK=63]="MALIGNMARK",n[n.MARQUEE=64]="MARQUEE",n[n.MATH=65]="MATH",n[n.MENU=66]="MENU",n[n.META=67]="META",n[n.MGLYPH=68]="MGLYPH",n[n.MI=69]="MI",n[n.MO=70]="MO",n[n.MN=71]="MN",n[n.MS=72]="MS",n[n.MTEXT=73]="MTEXT",n[n.NAV=74]="NAV",n[n.NOBR=75]="NOBR",n[n.NOFRAMES=76]="NOFRAMES",n[n.NOEMBED=77]="NOEMBED",n[n.NOSCRIPT=78]="NOSCRIPT",n[n.OBJECT=79]="OBJECT",n[n.OL=80]="OL",n[n.OPTGROUP=81]="OPTGROUP",n[n.OPTION=82]="OPTION",n[n.P=83]="P",n[n.PARAM=84]="PARAM",n[n.PLAINTEXT=85]="PLAINTEXT",n[n.PRE=86]="PRE",n[n.RB=87]="RB",n[n.RP=88]="RP",n[n.RT=89]="RT",n[n.RTC=90]="RTC",n[n.RUBY=91]="RUBY",n[n.S=92]="S",n[n.SCRIPT=93]="SCRIPT",n[n.SEARCH=94]="SEARCH",n[n.SECTION=95]="SECTION",n[n.SELECT=96]="SELECT",n[n.SOURCE=97]="SOURCE",n[n.SMALL=98]="SMALL",n[n.SPAN=99]="SPAN",n[n.STRIKE=100]="STRIKE",n[n.STRONG=101]="STRONG",n[n.STYLE=102]="STYLE",n[n.SUB=103]="SUB",n[n.SUMMARY=104]="SUMMARY",n[n.SUP=105]="SUP",n[n.TABLE=106]="TABLE",n[n.TBODY=107]="TBODY",n[n.TEMPLATE=108]="TEMPLATE",n[n.TEXTAREA=109]="TEXTAREA",n[n.TFOOT=110]="TFOOT",n[n.TD=111]="TD",n[n.TH=112]="TH",n[n.THEAD=113]="THEAD",n[n.TITLE=114]="TITLE",n[n.TR=115]="TR",n[n.TRACK=116]="TRACK",n[n.TT=117]="TT",n[n.U=118]="U",n[n.UL=119]="UL",n[n.SVG=120]="SVG",n[n.VAR=121]="VAR",n[n.WBR=122]="WBR",n[n.XMP=123]="XMP"})(W||(W={}));const Yor=new Map([[Pt.A,W.A],[Pt.ADDRESS,W.ADDRESS],[Pt.ANNOTATION_XML,W.ANNOTATION_XML],[Pt.APPLET,W.APPLET],[Pt.AREA,W.AREA],[Pt.ARTICLE,W.ARTICLE],[Pt.ASIDE,W.ASIDE],[Pt.B,W.B],[Pt.BASE,W.BASE],[Pt.BASEFONT,W.BASEFONT],[Pt.BGSOUND,W.BGSOUND],[Pt.BIG,W.BIG],[Pt.BLOCKQUOTE,W.BLOCKQUOTE],[Pt.BODY,W.BODY],[Pt.BR,W.BR],[Pt.BUTTON,W.BUTTON],[Pt.CAPTION,W.CAPTION],[Pt.CENTER,W.CENTER],[Pt.CODE,W.CODE],[Pt.COL,W.COL],[Pt.COLGROUP,W.COLGROUP],[Pt.DD,W.DD],[Pt.DESC,W.DESC],[Pt.DETAILS,W.DETAILS],[Pt.DIALOG,W.DIALOG],[Pt.DIR,W.DIR],[Pt.DIV,W.DIV],[Pt.DL,W.DL],[Pt.DT,W.DT],[Pt.EM,W.EM],[Pt.EMBED,W.EMBED],[Pt.FIELDSET,W.FIELDSET],[Pt.FIGCAPTION,W.FIGCAPTION],[Pt.FIGURE,W.FIGURE],[Pt.FONT,W.FONT],[Pt.FOOTER,W.FOOTER],[Pt.FOREIGN_OBJECT,W.FOREIGN_OBJECT],[Pt.FORM,W.FORM],[Pt.FRAME,W.FRAME],[Pt.FRAMESET,W.FRAMESET],[Pt.H1,W.H1],[Pt.H2,W.H2],[Pt.H3,W.H3],[Pt.H4,W.H4],[Pt.H5,W.H5],[Pt.H6,W.H6],[Pt.HEAD,W.HEAD],[Pt.HEADER,W.HEADER],[Pt.HGROUP,W.HGROUP],[Pt.HR,W.HR],[Pt.HTML,W.HTML],[Pt.I,W.I],[Pt.IMG,W.IMG],[Pt.IMAGE,W.IMAGE],[Pt.INPUT,W.INPUT],[Pt.IFRAME,W.IFRAME],[Pt.KEYGEN,W.KEYGEN],[Pt.LABEL,W.LABEL],[Pt.LI,W.LI],[Pt.LINK,W.LINK],[Pt.LISTING,W.LISTING],[Pt.MAIN,W.MAIN],[Pt.MALIGNMARK,W.MALIGNMARK],[Pt.MARQUEE,W.MARQUEE],[Pt.MATH,W.MATH],[Pt.MENU,W.MENU],[Pt.META,W.META],[Pt.MGLYPH,W.MGLYPH],[Pt.MI,W.MI],[Pt.MO,W.MO],[Pt.MN,W.MN],[Pt.MS,W.MS],[Pt.MTEXT,W.MTEXT],[Pt.NAV,W.NAV],[Pt.NOBR,W.NOBR],[Pt.NOFRAMES,W.NOFRAMES],[Pt.NOEMBED,W.NOEMBED],[Pt.NOSCRIPT,W.NOSCRIPT],[Pt.OBJECT,W.OBJECT],[Pt.OL,W.OL],[Pt.OPTGROUP,W.OPTGROUP],[Pt.OPTION,W.OPTION],[Pt.P,W.P],[Pt.PARAM,W.PARAM],[Pt.PLAINTEXT,W.PLAINTEXT],[Pt.PRE,W.PRE],[Pt.RB,W.RB],[Pt.RP,W.RP],[Pt.RT,W.RT],[Pt.RTC,W.RTC],[Pt.RUBY,W.RUBY],[Pt.S,W.S],[Pt.SCRIPT,W.SCRIPT],[Pt.SEARCH,W.SEARCH],[Pt.SECTION,W.SECTION],[Pt.SELECT,W.SELECT],[Pt.SOURCE,W.SOURCE],[Pt.SMALL,W.SMALL],[Pt.SPAN,W.SPAN],[Pt.STRIKE,W.STRIKE],[Pt.STRONG,W.STRONG],[Pt.STYLE,W.STYLE],[Pt.SUB,W.SUB],[Pt.SUMMARY,W.SUMMARY],[Pt.SUP,W.SUP],[Pt.TABLE,W.TABLE],[Pt.TBODY,W.TBODY],[Pt.TEMPLATE,W.TEMPLATE],[Pt.TEXTAREA,W.TEXTAREA],[Pt.TFOOT,W.TFOOT],[Pt.TD,W.TD],[Pt.TH,W.TH],[Pt.THEAD,W.THEAD],[Pt.TITLE,W.TITLE],[Pt.TR,W.TR],[Pt.TRACK,W.TRACK],[Pt.TT,W.TT],[Pt.U,W.U],[Pt.UL,W.UL],[Pt.SVG,W.SVG],[Pt.VAR,W.VAR],[Pt.WBR,W.WBR],[Pt.XMP,W.XMP]]);function sce(n){var i;return(i=Yor.get(n))!==null&&i!==void 0?i:W.UNKNOWN}const Xn=W,Jor={[Fn.HTML]:new Set([Xn.ADDRESS,Xn.APPLET,Xn.AREA,Xn.ARTICLE,Xn.ASIDE,Xn.BASE,Xn.BASEFONT,Xn.BGSOUND,Xn.BLOCKQUOTE,Xn.BODY,Xn.BR,Xn.BUTTON,Xn.CAPTION,Xn.CENTER,Xn.COL,Xn.COLGROUP,Xn.DD,Xn.DETAILS,Xn.DIR,Xn.DIV,Xn.DL,Xn.DT,Xn.EMBED,Xn.FIELDSET,Xn.FIGCAPTION,Xn.FIGURE,Xn.FOOTER,Xn.FORM,Xn.FRAME,Xn.FRAMESET,Xn.H1,Xn.H2,Xn.H3,Xn.H4,Xn.H5,Xn.H6,Xn.HEAD,Xn.HEADER,Xn.HGROUP,Xn.HR,Xn.HTML,Xn.IFRAME,Xn.IMG,Xn.INPUT,Xn.LI,Xn.LINK,Xn.LISTING,Xn.MAIN,Xn.MARQUEE,Xn.MENU,Xn.META,Xn.NAV,Xn.NOEMBED,Xn.NOFRAMES,Xn.NOSCRIPT,Xn.OBJECT,Xn.OL,Xn.P,Xn.PARAM,Xn.PLAINTEXT,Xn.PRE,Xn.SCRIPT,Xn.SECTION,Xn.SELECT,Xn.SOURCE,Xn.STYLE,Xn.SUMMARY,Xn.TABLE,Xn.TBODY,Xn.TD,Xn.TEMPLATE,Xn.TEXTAREA,Xn.TFOOT,Xn.TH,Xn.THEAD,Xn.TITLE,Xn.TR,Xn.TRACK,Xn.UL,Xn.WBR,Xn.XMP]),[Fn.MATHML]:new Set([Xn.MI,Xn.MO,Xn.MN,Xn.MS,Xn.MTEXT,Xn.ANNOTATION_XML]),[Fn.SVG]:new Set([Xn.TITLE,Xn.FOREIGN_OBJECT,Xn.DESC]),[Fn.XLINK]:new Set,[Fn.XML]:new Set,[Fn.XMLNS]:new Set},pLe=new Set([Xn.H1,Xn.H2,Xn.H3,Xn.H4,Xn.H5,Xn.H6]);Pt.STYLE,Pt.SCRIPT,Pt.XMP,Pt.IFRAME,Pt.NOEMBED,Pt.NOFRAMES,Pt.PLAINTEXT;var Ve;(function(n){n[n.DATA=0]="DATA",n[n.RCDATA=1]="RCDATA",n[n.RAWTEXT=2]="RAWTEXT",n[n.SCRIPT_DATA=3]="SCRIPT_DATA",n[n.PLAINTEXT=4]="PLAINTEXT",n[n.TAG_OPEN=5]="TAG_OPEN",n[n.END_TAG_OPEN=6]="END_TAG_OPEN",n[n.TAG_NAME=7]="TAG_NAME",n[n.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",n[n.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",n[n.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",n[n.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",n[n.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",n[n.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",n[n.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",n[n.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",n[n.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",n[n.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",n[n.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",n[n.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",n[n.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",n[n.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",n[n.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",n[n.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",n[n.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",n[n.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",n[n.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",n[n.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",n[n.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",n[n.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",n[n.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",n[n.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",n[n.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",n[n.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",n[n.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",n[n.BOGUS_COMMENT=40]="BOGUS_COMMENT",n[n.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",n[n.COMMENT_START=42]="COMMENT_START",n[n.COMMENT_START_DASH=43]="COMMENT_START_DASH",n[n.COMMENT=44]="COMMENT",n[n.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",n[n.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",n[n.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",n[n.COMMENT_END_DASH=49]="COMMENT_END_DASH",n[n.COMMENT_END=50]="COMMENT_END",n[n.COMMENT_END_BANG=51]="COMMENT_END_BANG",n[n.DOCTYPE=52]="DOCTYPE",n[n.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",n[n.DOCTYPE_NAME=54]="DOCTYPE_NAME",n[n.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",n[n.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",n[n.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",n[n.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",n[n.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",n[n.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",n[n.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",n[n.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",n[n.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",n[n.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",n[n.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",n[n.CDATA_SECTION=68]="CDATA_SECTION",n[n.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",n[n.CDATA_SECTION_END=70]="CDATA_SECTION_END",n[n.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",n[n.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(Ve||(Ve={}));const sb={DATA:Ve.DATA,RCDATA:Ve.RCDATA,RAWTEXT:Ve.RAWTEXT,SCRIPT_DATA:Ve.SCRIPT_DATA,PLAINTEXT:Ve.PLAINTEXT,CDATA_SECTION:Ve.CDATA_SECTION};function Xor(n){return n>=$e.DIGIT_0&&n<=$e.DIGIT_9}function aH(n){return n>=$e.LATIN_CAPITAL_A&&n<=$e.LATIN_CAPITAL_Z}function Zor(n){return n>=$e.LATIN_SMALL_A&&n<=$e.LATIN_SMALL_Z}function Lk(n){return Zor(n)||aH(n)}function y$t(n){return Lk(n)||Xor(n)}function Pie(n){return n+32}function QJt(n){return n===$e.SPACE||n===$e.LINE_FEED||n===$e.TABULATION||n===$e.FORM_FEED}function v$t(n){return QJt(n)||n===$e.SOLIDUS||n===$e.GREATER_THAN_SIGN}function Qor(n){return n===$e.NULL?sn.nullCharacterReference:n>1114111?sn.characterReferenceOutsideUnicodeRange:YJt(n)?sn.surrogateCharacterReference:XJt(n)?sn.noncharacterCharacterReference:JJt(n)||n===$e.CARRIAGE_RETURN?sn.controlCharacterReference:null}class esr{constructor(i,s){this.options=i,this.handler=s,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Ve.DATA,this.returnState=Ve.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new $or(s),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Wor(Bor,(c,d)=>{this.preprocessor.pos=this.entityStartPos+d-1,this._flushCodePointConsumedAsCharacterReference(c)},s.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(sn.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:c=>{this._err(sn.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+c)},validateNumericCharacterReference:c=>{const d=Qor(c);d&&this._err(d,1)}}:void 0)}_err(i,s=0){var c,d;(d=(c=this.handler).onParseError)===null||d===void 0||d.call(c,this.preprocessor.getError(i,s))}getCurrentLocation(i){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-i,startOffset:this.preprocessor.offset-i,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const i=this._consume();this._ensureHibernation()||this._callState(i)}this.inLoop=!1}}pause(){this.paused=!0}resume(i){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||i==null||i())}write(i,s,c){this.active=!0,this.preprocessor.write(i,s),this._runParsingLoop(),this.paused||c==null||c()}insertHtmlAtCurrentPos(i){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(i),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(i){this.consumedAfterSnapshot+=i;for(let s=0;s<i;s++)this.preprocessor.advance()}_consumeSequenceIfMatch(i,s){return this.preprocessor.startsWith(i,s)?(this._advanceBy(i.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ha.START_TAG,tagName:"",tagID:W.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ha.END_TAG,tagName:"",tagID:W.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(i){this.currentToken={type:ha.COMMENT,data:"",location:this.getCurrentLocation(i)}}_createDoctypeToken(i){this.currentToken={type:ha.DOCTYPE,name:i,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(i,s){this.currentCharacterToken={type:i,chars:s,location:this.currentLocation}}_createAttr(i){this.currentAttr={name:i,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var i,s;const c=this.currentToken;if(ZJt(c,this.currentAttr.name)===null){if(c.attrs.push(this.currentAttr),c.location&&this.currentLocation){const d=(i=(s=c.location).attrs)!==null&&i!==void 0?i:s.attrs=Object.create(null);d[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(sn.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(i){this._emitCurrentCharacterToken(i.location),this.currentToken=null,i.location&&(i.location.endLine=this.preprocessor.line,i.location.endCol=this.preprocessor.col+1,i.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const i=this.currentToken;this.prepareToken(i),i.tagID=sce(i.tagName),i.type===ha.START_TAG?(this.lastStartTagName=i.tagName,this.handler.onStartTag(i)):(i.attrs.length>0&&this._err(sn.endTagWithAttributes),i.selfClosing&&this._err(sn.endTagWithTrailingSolidus),this.handler.onEndTag(i)),this.preprocessor.dropParsedChunk()}emitCurrentComment(i){this.prepareToken(i),this.handler.onComment(i),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(i){this.prepareToken(i),this.handler.onDoctype(i),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(i){if(this.currentCharacterToken){switch(i&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentCharacterToken.type){case ha.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ha.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ha.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const i=this.getCurrentLocation(0);i&&(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset),this._emitCurrentCharacterToken(i),this.handler.onEof({type:ha.EOF,location:i}),this.active=!1}_appendCharToCurrentCharacterToken(i,s){if(this.currentCharacterToken)if(this.currentCharacterToken.type===i){this.currentCharacterToken.chars+=s;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(i,s)}_emitCodePoint(i){const s=QJt(i)?ha.WHITESPACE_CHARACTER:i===$e.NULL?ha.NULL_CHARACTER:ha.CHARACTER;this._appendCharToCurrentCharacterToken(s,String.fromCodePoint(i))}_emitChars(i){this._appendCharToCurrentCharacterToken(ha.CHARACTER,i)}_startCharacterReference(){this.returnState=this.state,this.state=Ve.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?aA.Attribute:aA.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Ve.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(i){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(i):this._emitCodePoint(i)}_callState(i){switch(this.state){case Ve.DATA:{this._stateData(i);break}case Ve.RCDATA:{this._stateRcdata(i);break}case Ve.RAWTEXT:{this._stateRawtext(i);break}case Ve.SCRIPT_DATA:{this._stateScriptData(i);break}case Ve.PLAINTEXT:{this._statePlaintext(i);break}case Ve.TAG_OPEN:{this._stateTagOpen(i);break}case Ve.END_TAG_OPEN:{this._stateEndTagOpen(i);break}case Ve.TAG_NAME:{this._stateTagName(i);break}case Ve.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(i);break}case Ve.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(i);break}case Ve.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(i);break}case Ve.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(i);break}case Ve.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(i);break}case Ve.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(i);break}case Ve.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(i);break}case Ve.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(i);break}case Ve.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(i);break}case Ve.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(i);break}case Ve.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(i);break}case Ve.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(i);break}case Ve.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(i);break}case Ve.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(i);break}case Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(i);break}case Ve.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(i);break}case Ve.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(i);break}case Ve.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(i);break}case Ve.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(i);break}case Ve.ATTRIBUTE_NAME:{this._stateAttributeName(i);break}case Ve.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(i);break}case Ve.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(i);break}case Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(i);break}case Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(i);break}case Ve.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(i);break}case Ve.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(i);break}case Ve.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(i);break}case Ve.BOGUS_COMMENT:{this._stateBogusComment(i);break}case Ve.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(i);break}case Ve.COMMENT_START:{this._stateCommentStart(i);break}case Ve.COMMENT_START_DASH:{this._stateCommentStartDash(i);break}case Ve.COMMENT:{this._stateComment(i);break}case Ve.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(i);break}case Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(i);break}case Ve.COMMENT_END_DASH:{this._stateCommentEndDash(i);break}case Ve.COMMENT_END:{this._stateCommentEnd(i);break}case Ve.COMMENT_END_BANG:{this._stateCommentEndBang(i);break}case Ve.DOCTYPE:{this._stateDoctype(i);break}case Ve.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(i);break}case Ve.DOCTYPE_NAME:{this._stateDoctypeName(i);break}case Ve.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(i);break}case Ve.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(i);break}case Ve.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(i);break}case Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(i);break}case Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(i);break}case Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(i);break}case Ve.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(i);break}case Ve.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(i);break}case Ve.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(i);break}case Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(i);break}case Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(i);break}case Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(i);break}case Ve.BOGUS_DOCTYPE:{this._stateBogusDoctype(i);break}case Ve.CDATA_SECTION:{this._stateCdataSection(i);break}case Ve.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(i);break}case Ve.CDATA_SECTION_END:{this._stateCdataSectionEnd(i);break}case Ve.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case Ve.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(i);break}default:throw new Error("Unknown state")}}_stateData(i){switch(i){case $e.LESS_THAN_SIGN:{this.state=Ve.TAG_OPEN;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitCodePoint(i);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateRcdata(i){switch(i){case $e.AMPERSAND:{this._startCharacterReference();break}case $e.LESS_THAN_SIGN:{this.state=Ve.RCDATA_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Ou);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateRawtext(i){switch(i){case $e.LESS_THAN_SIGN:{this.state=Ve.RAWTEXT_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Ou);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptData(i){switch(i){case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Ou);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_statePlaintext(i){switch(i){case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Ou);break}case $e.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateTagOpen(i){if(Lk(i))this._createStartTagToken(),this.state=Ve.TAG_NAME,this._stateTagName(i);else switch(i){case $e.EXCLAMATION_MARK:{this.state=Ve.MARKUP_DECLARATION_OPEN;break}case $e.SOLIDUS:{this.state=Ve.END_TAG_OPEN;break}case $e.QUESTION_MARK:{this._err(sn.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i);break}case $e.EOF:{this._err(sn.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(sn.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Ve.DATA,this._stateData(i)}}_stateEndTagOpen(i){if(Lk(i))this._createEndTagToken(),this.state=Ve.TAG_NAME,this._stateTagName(i);else switch(i){case $e.GREATER_THAN_SIGN:{this._err(sn.missingEndTagName),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(sn.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i)}}_stateTagName(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case $e.SOLIDUS:{this.state=Ve.SELF_CLOSING_START_TAG;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.tagName+=Ou;break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:s.tagName+=String.fromCodePoint(aH(i)?Pie(i):i)}}_stateRcdataLessThanSign(i){i===$e.SOLIDUS?this.state=Ve.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Ve.RCDATA,this._stateRcdata(i))}_stateRcdataEndTagOpen(i){Lk(i)?(this.state=Ve.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(i)):(this._emitChars("</"),this.state=Ve.RCDATA,this._stateRcdata(i))}handleSpecialEndTag(i){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const s=this.currentToken;switch(s.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Ve.BEFORE_ATTRIBUTE_NAME,!1;case $e.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Ve.SELF_CLOSING_START_TAG,!1;case $e.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Ve.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.RCDATA,this._stateRcdata(i))}_stateRawtextLessThanSign(i){i===$e.SOLIDUS?this.state=Ve.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagOpen(i){Lk(i)?(this.state=Ve.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(i)):(this._emitChars("</"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateRawtextEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.RAWTEXT,this._stateRawtext(i))}_stateScriptDataLessThanSign(i){switch(i){case $e.SOLIDUS:{this.state=Ve.SCRIPT_DATA_END_TAG_OPEN;break}case $e.EXCLAMATION_MARK:{this.state=Ve.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i)}}_stateScriptDataEndTagOpen(i){Lk(i)?(this.state=Ve.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(i)):(this._emitChars("</"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStart(i){i===$e.HYPHEN_MINUS?(this.state=Ve.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscapeStartDash(i){i===$e.HYPHEN_MINUS?(this.state=Ve.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Ve.SCRIPT_DATA,this._stateScriptData(i))}_stateScriptDataEscaped(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Ou);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptDataEscapedDash(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitChars(Ou);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedDashDash(i){switch(i){case $e.HYPHEN_MINUS:{this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.SCRIPT_DATA,this._emitChars(">");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitChars(Ou);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataEscapedLessThanSign(i){i===$e.SOLIDUS?this.state=Ve.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Lk(i)?(this._emitChars("<"),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(i)):(this._emitChars("<"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagOpen(i){Lk(i)?(this.state=Ve.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(i)):(this._emitChars("</"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataEscapedEndTagName(i){this.handleSpecialEndTag(i)&&(this._emitChars("</"),this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscapeStart(i){if(this.preprocessor.startsWith(nb.SCRIPT,!1)&&v$t(this.preprocessor.peek(nb.SCRIPT.length))){this._emitCodePoint(i);for(let s=0;s<nb.SCRIPT.length;s++)this._emitCodePoint(this._consume());this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Ve.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(i))}_stateScriptDataDoubleEscaped(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._emitChars(Ou);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDash(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ou);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedDashDash(i){switch(i){case $e.HYPHEN_MINUS:{this._emitChars("-");break}case $e.LESS_THAN_SIGN:{this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case $e.GREATER_THAN_SIGN:{this.state=Ve.SCRIPT_DATA,this._emitChars(">");break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ou);break}case $e.EOF:{this._err(sn.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(i)}}_stateScriptDataDoubleEscapedLessThanSign(i){i===$e.SOLIDUS?(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateScriptDataDoubleEscapeEnd(i){if(this.preprocessor.startsWith(nb.SCRIPT,!1)&&v$t(this.preprocessor.peek(nb.SCRIPT.length))){this._emitCodePoint(i);for(let s=0;s<nb.SCRIPT.length;s++)this._emitCodePoint(this._consume());this.state=Ve.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Ve.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(i))}_stateBeforeAttributeName(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.SOLIDUS:case $e.GREATER_THAN_SIGN:case $e.EOF:{this.state=Ve.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break}case $e.EQUALS_SIGN:{this._err(sn.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Ve.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=Ve.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateAttributeName(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:case $e.SOLIDUS:case $e.GREATER_THAN_SIGN:case $e.EOF:{this._leaveAttrName(),this.state=Ve.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(i);break}case $e.EQUALS_SIGN:{this._leaveAttrName(),this.state=Ve.BEFORE_ATTRIBUTE_VALUE;break}case $e.QUOTATION_MARK:case $e.APOSTROPHE:case $e.LESS_THAN_SIGN:{this._err(sn.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(i);break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.name+=Ou;break}default:this.currentAttr.name+=String.fromCodePoint(aH(i)?Pie(i):i)}}_stateAfterAttributeName(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.SOLIDUS:{this.state=Ve.SELF_CLOSING_START_TAG;break}case $e.EQUALS_SIGN:{this.state=Ve.BEFORE_ATTRIBUTE_VALUE;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=Ve.ATTRIBUTE_NAME,this._stateAttributeName(i)}}_stateBeforeAttributeValue(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.QUOTATION_MARK:{this.state=Ve.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this.state=Ve.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingAttributeValue),this.state=Ve.DATA,this.emitCurrentTagToken();break}default:this.state=Ve.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(i)}}_stateAttributeValueDoubleQuoted(i){switch(i){case $e.QUOTATION_MARK:{this.state=Ve.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Ou;break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueSingleQuoted(i){switch(i){case $e.APOSTROPHE:{this.state=Ve.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Ou;break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAttributeValueUnquoted(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this._leaveAttrValue(),this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case $e.AMPERSAND:{this._startCharacterReference();break}case $e.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),this.currentAttr.value+=Ou;break}case $e.QUOTATION_MARK:case $e.APOSTROPHE:case $e.LESS_THAN_SIGN:case $e.EQUALS_SIGN:case $e.GRAVE_ACCENT:{this._err(sn.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(i);break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(i)}}_stateAfterAttributeValueQuoted(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this._leaveAttrValue(),this.state=Ve.BEFORE_ATTRIBUTE_NAME;break}case $e.SOLIDUS:{this._leaveAttrValue(),this.state=Ve.SELF_CLOSING_START_TAG;break}case $e.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._err(sn.missingWhitespaceBetweenAttributes),this.state=Ve.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateSelfClosingStartTag(i){switch(i){case $e.GREATER_THAN_SIGN:{const s=this.currentToken;s.selfClosing=!0,this.state=Ve.DATA,this.emitCurrentTagToken();break}case $e.EOF:{this._err(sn.eofInTag),this._emitEOFToken();break}default:this._err(sn.unexpectedSolidusInTag),this.state=Ve.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(i)}}_stateBogusComment(i){const s=this.currentToken;switch(i){case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EOF:{this.emitCurrentComment(s),this._emitEOFToken();break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.data+=Ou;break}default:s.data+=String.fromCodePoint(i)}}_stateMarkupDeclarationOpen(i){this._consumeSequenceIfMatch(nb.DASH_DASH,!0)?(this._createCommentToken(nb.DASH_DASH.length+1),this.state=Ve.COMMENT_START):this._consumeSequenceIfMatch(nb.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(nb.DOCTYPE.length+1),this.state=Ve.DOCTYPE):this._consumeSequenceIfMatch(nb.CDATA_START,!0)?this.inForeignNode?this.state=Ve.CDATA_SECTION:(this._err(sn.cdataInHtmlContent),this._createCommentToken(nb.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=Ve.BOGUS_COMMENT):this._ensureHibernation()||(this._err(sn.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Ve.BOGUS_COMMENT,this._stateBogusComment(i))}_stateCommentStart(i){switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_START_DASH;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptClosingOfEmptyComment),this.state=Ve.DATA;const s=this.currentToken;this.emitCurrentComment(s);break}default:this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentStartDash(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_END;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptClosingOfEmptyComment),this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="-",this.state=Ve.COMMENT,this._stateComment(i)}}_stateComment(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_END_DASH;break}case $e.LESS_THAN_SIGN:{s.data+="<",this.state=Ve.COMMENT_LESS_THAN_SIGN;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.data+=Ou;break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+=String.fromCodePoint(i)}}_stateCommentLessThanSign(i){const s=this.currentToken;switch(i){case $e.EXCLAMATION_MARK:{s.data+="!",this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG;break}case $e.LESS_THAN_SIGN:{s.data+="<";break}default:this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentLessThanSignBang(i){i===$e.HYPHEN_MINUS?this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Ve.COMMENT,this._stateComment(i))}_stateCommentLessThanSignBangDash(i){i===$e.HYPHEN_MINUS?this.state=Ve.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Ve.COMMENT_END_DASH,this._stateCommentEndDash(i))}_stateCommentLessThanSignBangDashDash(i){i!==$e.GREATER_THAN_SIGN&&i!==$e.EOF&&this._err(sn.nestedComment),this.state=Ve.COMMENT_END,this._stateCommentEnd(i)}_stateCommentEndDash(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{this.state=Ve.COMMENT_END;break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="-",this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentEnd(i){const s=this.currentToken;switch(i){case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EXCLAMATION_MARK:{this.state=Ve.COMMENT_END_BANG;break}case $e.HYPHEN_MINUS:{s.data+="-";break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="--",this.state=Ve.COMMENT,this._stateComment(i)}}_stateCommentEndBang(i){const s=this.currentToken;switch(i){case $e.HYPHEN_MINUS:{s.data+="--!",this.state=Ve.COMMENT_END_DASH;break}case $e.GREATER_THAN_SIGN:{this._err(sn.incorrectlyClosedComment),this.state=Ve.DATA,this.emitCurrentComment(s);break}case $e.EOF:{this._err(sn.eofInComment),this.emitCurrentComment(s),this._emitEOFToken();break}default:s.data+="--!",this.state=Ve.COMMENT,this._stateComment(i)}}_stateDoctype(i){switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_NAME;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i);break}case $e.EOF:{this._err(sn.eofInDoctype),this._createDoctypeToken(null);const s=this.currentToken;s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingWhitespaceBeforeDoctypeName),this.state=Ve.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(i)}}_stateBeforeDoctypeName(i){if(aH(i))this._createDoctypeToken(String.fromCharCode(Pie(i))),this.state=Ve.DOCTYPE_NAME;else switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.NULL:{this._err(sn.unexpectedNullCharacter),this._createDoctypeToken(Ou),this.state=Ve.DOCTYPE_NAME;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeName),this._createDoctypeToken(null);const s=this.currentToken;s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),this._createDoctypeToken(null);const s=this.currentToken;s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(i)),this.state=Ve.DOCTYPE_NAME}}_stateDoctypeName(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.AFTER_DOCTYPE_NAME;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.name+=Ou;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.name+=String.fromCodePoint(aH(i)?Pie(i):i)}}_stateAfterDoctypeName(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(nb.PUBLIC,!1)?this.state=Ve.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(nb.SYSTEM,!1)?this.state=Ve.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(sn.invalidCharacterSequenceAfterDoctypeName),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i))}}_stateAfterDoctypePublicKeyword(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case $e.QUOTATION_MARK:{this._err(sn.missingWhitespaceAfterDoctypePublicKeyword),s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this._err(sn.missingWhitespaceAfterDoctypePublicKeyword),s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypePublicIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.QUOTATION_MARK:{s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{s.publicId="",this.state=Ve.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypePublicIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypePublicIdentifierDoubleQuoted(i){const s=this.currentToken;switch(i){case $e.QUOTATION_MARK:{this.state=Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.publicId+=Ou;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypePublicIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.publicId+=String.fromCodePoint(i)}}_stateDoctypePublicIdentifierSingleQuoted(i){const s=this.currentToken;switch(i){case $e.APOSTROPHE:{this.state=Ve.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.publicId+=Ou;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypePublicIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.publicId+=String.fromCodePoint(i)}}_stateAfterDoctypePublicIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.QUOTATION_MARK:{this._err(sn.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this._err(sn.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBetweenDoctypePublicAndSystemIdentifiers(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.GREATER_THAN_SIGN:{this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.QUOTATION_MARK:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateAfterDoctypeSystemKeyword(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:{this.state=Ve.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case $e.QUOTATION_MARK:{this._err(sn.missingWhitespaceAfterDoctypeSystemKeyword),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{this._err(sn.missingWhitespaceAfterDoctypeSystemKeyword),s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBeforeDoctypeSystemIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.QUOTATION_MARK:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case $e.APOSTROPHE:{s.systemId="",this.state=Ve.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case $e.GREATER_THAN_SIGN:{this._err(sn.missingDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.DATA,this.emitCurrentDoctype(s);break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.missingQuoteBeforeDoctypeSystemIdentifier),s.forceQuirks=!0,this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateDoctypeSystemIdentifierDoubleQuoted(i){const s=this.currentToken;switch(i){case $e.QUOTATION_MARK:{this.state=Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.systemId+=Ou;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypeSystemIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.systemId+=String.fromCodePoint(i)}}_stateDoctypeSystemIdentifierSingleQuoted(i){const s=this.currentToken;switch(i){case $e.APOSTROPHE:{this.state=Ve.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter),s.systemId+=Ou;break}case $e.GREATER_THAN_SIGN:{this._err(sn.abruptDoctypeSystemIdentifier),s.forceQuirks=!0,this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:s.systemId+=String.fromCodePoint(i)}}_stateAfterDoctypeSystemIdentifier(i){const s=this.currentToken;switch(i){case $e.SPACE:case $e.LINE_FEED:case $e.TABULATION:case $e.FORM_FEED:break;case $e.GREATER_THAN_SIGN:{this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.EOF:{this._err(sn.eofInDoctype),s.forceQuirks=!0,this.emitCurrentDoctype(s),this._emitEOFToken();break}default:this._err(sn.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Ve.BOGUS_DOCTYPE,this._stateBogusDoctype(i)}}_stateBogusDoctype(i){const s=this.currentToken;switch(i){case $e.GREATER_THAN_SIGN:{this.emitCurrentDoctype(s),this.state=Ve.DATA;break}case $e.NULL:{this._err(sn.unexpectedNullCharacter);break}case $e.EOF:{this.emitCurrentDoctype(s),this._emitEOFToken();break}}}_stateCdataSection(i){switch(i){case $e.RIGHT_SQUARE_BRACKET:{this.state=Ve.CDATA_SECTION_BRACKET;break}case $e.EOF:{this._err(sn.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(i)}}_stateCdataSectionBracket(i){i===$e.RIGHT_SQUARE_BRACKET?this.state=Ve.CDATA_SECTION_END:(this._emitChars("]"),this.state=Ve.CDATA_SECTION,this._stateCdataSection(i))}_stateCdataSectionEnd(i){switch(i){case $e.GREATER_THAN_SIGN:{this.state=Ve.DATA;break}case $e.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=Ve.CDATA_SECTION,this._stateCdataSection(i)}}_stateCharacterReference(){let i=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(i<0)if(this.preprocessor.lastChunkWritten)i=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}i===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference($e.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&y$t(this.preprocessor.peek(1))?Ve.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(i){y$t(i)?this._flushCodePointConsumedAsCharacterReference(i):(i===$e.SEMICOLON&&this._err(sn.unknownNamedCharacterReference),this.state=this.returnState,this._callState(i))}}const eXt=new Set([W.DD,W.DT,W.LI,W.OPTGROUP,W.OPTION,W.P,W.RB,W.RP,W.RT,W.RTC]),E$t=new Set([...eXt,W.CAPTION,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]),kse=new Set([W.APPLET,W.CAPTION,W.HTML,W.MARQUEE,W.OBJECT,W.TABLE,W.TD,W.TEMPLATE,W.TH]),tsr=new Set([...kse,W.OL,W.UL]),nsr=new Set([...kse,W.BUTTON]),S$t=new Set([W.ANNOTATION_XML,W.MI,W.MN,W.MO,W.MS,W.MTEXT]),T$t=new Set([W.DESC,W.FOREIGN_OBJECT,W.TITLE]),rsr=new Set([W.TR,W.TEMPLATE,W.HTML]),isr=new Set([W.TBODY,W.TFOOT,W.THEAD,W.TEMPLATE,W.HTML]),osr=new Set([W.TABLE,W.TEMPLATE,W.HTML]),ssr=new Set([W.TD,W.TH]);class asr{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(i,s,c){this.treeAdapter=s,this.handler=c,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=W.UNKNOWN,this.current=i}_indexOf(i){return this.items.lastIndexOf(i,this.stackTop)}_isInTemplate(){return this.currentTagId===W.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Fn.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(i,s){this.stackTop++,this.items[this.stackTop]=i,this.current=i,this.tagIDs[this.stackTop]=s,this.currentTagId=s,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(i,s,!0)}pop(){const i=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!0)}replace(i,s){const c=this._indexOf(i);this.items[c]=s,c===this.stackTop&&(this.current=s)}insertAfter(i,s,c){const d=this._indexOf(i)+1;this.items.splice(d,0,s),this.tagIDs.splice(d,0,c),this.stackTop++,d===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,d===this.stackTop)}popUntilTagNamePopped(i){let s=this.stackTop+1;do s=this.tagIDs.lastIndexOf(i,s-1);while(s>0&&this.treeAdapter.getNamespaceURI(this.items[s])!==Fn.HTML);this.shortenToLength(Math.max(s,0))}shortenToLength(i){for(;this.stackTop>=i;){const s=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(s,this.stackTop<i)}}popUntilElementPopped(i){const s=this._indexOf(i);this.shortenToLength(Math.max(s,0))}popUntilPopped(i,s){const c=this._indexOfTagNames(i,s);this.shortenToLength(Math.max(c,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(pLe,Fn.HTML)}popUntilTableCellPopped(){this.popUntilPopped(ssr,Fn.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(i,s){for(let c=this.stackTop;c>=0;c--)if(i.has(this.tagIDs[c])&&this.treeAdapter.getNamespaceURI(this.items[c])===s)return c;return-1}clearBackTo(i,s){const c=this._indexOfTagNames(i,s);this.shortenToLength(c+1)}clearBackToTableContext(){this.clearBackTo(osr,Fn.HTML)}clearBackToTableBodyContext(){this.clearBackTo(isr,Fn.HTML)}clearBackToTableRowContext(){this.clearBackTo(rsr,Fn.HTML)}remove(i){const s=this._indexOf(i);s>=0&&(s===this.stackTop?this.pop():(this.items.splice(s,1),this.tagIDs.splice(s,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===W.BODY?this.items[1]:null}contains(i){return this._indexOf(i)>-1}getCommonAncestor(i){const s=this._indexOf(i)-1;return s>=0?this.items[s]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===W.HTML}hasInDynamicScope(i,s){for(let c=this.stackTop;c>=0;c--){const d=this.tagIDs[c];switch(this.treeAdapter.getNamespaceURI(this.items[c])){case Fn.HTML:{if(d===i)return!0;if(s.has(d))return!1;break}case Fn.SVG:{if(T$t.has(d))return!1;break}case Fn.MATHML:{if(S$t.has(d))return!1;break}}}return!0}hasInScope(i){return this.hasInDynamicScope(i,kse)}hasInListItemScope(i){return this.hasInDynamicScope(i,tsr)}hasInButtonScope(i){return this.hasInDynamicScope(i,nsr)}hasNumberedHeaderInScope(){for(let i=this.stackTop;i>=0;i--){const s=this.tagIDs[i];switch(this.treeAdapter.getNamespaceURI(this.items[i])){case Fn.HTML:{if(pLe.has(s))return!0;if(kse.has(s))return!1;break}case Fn.SVG:{if(T$t.has(s))return!1;break}case Fn.MATHML:{if(S$t.has(s))return!1;break}}}return!0}hasInTableScope(i){for(let s=this.stackTop;s>=0;s--)if(this.treeAdapter.getNamespaceURI(this.items[s])===Fn.HTML)switch(this.tagIDs[s]){case i:return!0;case W.TABLE:case W.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let i=this.stackTop;i>=0;i--)if(this.treeAdapter.getNamespaceURI(this.items[i])===Fn.HTML)switch(this.tagIDs[i]){case W.TBODY:case W.THEAD:case W.TFOOT:return!0;case W.TABLE:case W.HTML:return!1}return!0}hasInSelectScope(i){for(let s=this.stackTop;s>=0;s--)if(this.treeAdapter.getNamespaceURI(this.items[s])===Fn.HTML)switch(this.tagIDs[s]){case i:return!0;case W.OPTION:case W.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&eXt.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&E$t.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(i){for(;this.currentTagId!==void 0&&this.currentTagId!==i&&E$t.has(this.currentTagId);)this.pop()}}const ZOe=3;var I2;(function(n){n[n.Marker=0]="Marker",n[n.Element=1]="Element"})(I2||(I2={}));const A$t={type:I2.Marker};class csr{constructor(i){this.treeAdapter=i,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(i,s){const c=[],d=s.length,g=this.treeAdapter.getTagName(i),b=this.treeAdapter.getNamespaceURI(i);for(let w=0;w<this.entries.length;w++){const E=this.entries[w];if(E.type===I2.Marker)break;const{element:S}=E;if(this.treeAdapter.getTagName(S)===g&&this.treeAdapter.getNamespaceURI(S)===b){const _=this.treeAdapter.getAttrList(S);_.length===d&&c.push({idx:w,attrs:_})}}return c}_ensureNoahArkCondition(i){if(this.entries.length<ZOe)return;const s=this.treeAdapter.getAttrList(i),c=this._getNoahArkConditionCandidates(i,s);if(c.length<ZOe)return;const d=new Map(s.map(b=>[b.name,b.value]));let g=0;for(let b=0;b<c.length;b++){const w=c[b];w.attrs.every(E=>d.get(E.name)===E.value)&&(g+=1,g>=ZOe&&this.entries.splice(w.idx,1))}}insertMarker(){this.entries.unshift(A$t)}pushElement(i,s){this._ensureNoahArkCondition(i),this.entries.unshift({type:I2.Element,element:i,token:s})}insertElementAfterBookmark(i,s){const c=this.entries.indexOf(this.bookmark);this.entries.splice(c,0,{type:I2.Element,element:i,token:s})}removeEntry(i){const s=this.entries.indexOf(i);s!==-1&&this.entries.splice(s,1)}clearToLastMarker(){const i=this.entries.indexOf(A$t);i===-1?this.entries.length=0:this.entries.splice(0,i+1)}getElementEntryInScopeWithTagName(i){const s=this.entries.find(c=>c.type===I2.Marker||this.treeAdapter.getTagName(c.element)===i);return s&&s.type===I2.Element?s:null}getElementEntry(i){return this.entries.find(s=>s.type===I2.Element&&s.element===i)}}const Mk={createDocument(){return{nodeName:"#document",mode:yw.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(n,i,s){return{nodeName:n,tagName:n,attrs:s,namespaceURI:i,childNodes:[],parentNode:null}},createCommentNode(n){return{nodeName:"#comment",data:n,parentNode:null}},createTextNode(n){return{nodeName:"#text",value:n,parentNode:null}},appendChild(n,i){n.childNodes.push(i),i.parentNode=n},insertBefore(n,i,s){const c=n.childNodes.indexOf(s);n.childNodes.splice(c,0,i),i.parentNode=n},setTemplateContent(n,i){n.content=i},getTemplateContent(n){return n.content},setDocumentType(n,i,s,c){const d=n.childNodes.find(g=>g.nodeName==="#documentType");if(d)d.name=i,d.publicId=s,d.systemId=c;else{const g={nodeName:"#documentType",name:i,publicId:s,systemId:c,parentNode:null};Mk.appendChild(n,g)}},setDocumentMode(n,i){n.mode=i},getDocumentMode(n){return n.mode},detachNode(n){if(n.parentNode){const i=n.parentNode.childNodes.indexOf(n);n.parentNode.childNodes.splice(i,1),n.parentNode=null}},insertText(n,i){if(n.childNodes.length>0){const s=n.childNodes[n.childNodes.length-1];if(Mk.isTextNode(s)){s.value+=i;return}}Mk.appendChild(n,Mk.createTextNode(i))},insertTextBefore(n,i,s){const c=n.childNodes[n.childNodes.indexOf(s)-1];c&&Mk.isTextNode(c)?c.value+=i:Mk.insertBefore(n,Mk.createTextNode(i),s)},adoptAttributes(n,i){const s=new Set(n.attrs.map(c=>c.name));for(let c=0;c<i.length;c++)s.has(i[c].name)||n.attrs.push(i[c])},getFirstChild(n){return n.childNodes[0]},getChildNodes(n){return n.childNodes},getParentNode(n){return n.parentNode},getAttrList(n){return n.attrs},getTagName(n){return n.tagName},getNamespaceURI(n){return n.namespaceURI},getTextNodeContent(n){return n.value},getCommentNodeContent(n){return n.data},getDocumentTypeNodeName(n){return n.name},getDocumentTypeNodePublicId(n){return n.publicId},getDocumentTypeNodeSystemId(n){return n.systemId},isTextNode(n){return n.nodeName==="#text"},isCommentNode(n){return n.nodeName==="#comment"},isDocumentTypeNode(n){return n.nodeName==="#documentType"},isElementNode(n){return Object.prototype.hasOwnProperty.call(n,"tagName")},setNodeSourceCodeLocation(n,i){n.sourceCodeLocation=i},getNodeSourceCodeLocation(n){return n.sourceCodeLocation},updateNodeSourceCodeLocation(n,i){n.sourceCodeLocation={...n.sourceCodeLocation,...i}}},tXt="html",usr="about:legacy-compat",lsr="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",nXt=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],dsr=[...nXt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],fsr=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),rXt=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],hsr=[...rXt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function _$t(n,i){return i.some(s=>n.startsWith(s))}function psr(n){return n.name===tXt&&n.publicId===null&&(n.systemId===null||n.systemId===usr)}function gsr(n){if(n.name!==tXt)return yw.QUIRKS;const{systemId:i}=n;if(i&&i.toLowerCase()===lsr)return yw.QUIRKS;let{publicId:s}=n;if(s!==null){if(s=s.toLowerCase(),fsr.has(s))return yw.QUIRKS;let c=i===null?dsr:nXt;if(_$t(s,c))return yw.QUIRKS;if(c=i===null?rXt:hsr,_$t(s,c))return yw.LIMITED_QUIRKS}return yw.NO_QUIRKS}const x$t={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},bsr="definitionurl",msr="definitionURL",wsr=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(n=>[n.toLowerCase(),n])),ysr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Fn.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Fn.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Fn.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Fn.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Fn.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Fn.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Fn.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Fn.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Fn.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Fn.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Fn.XMLNS}]]),vsr=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(n=>[n.toLowerCase(),n])),Esr=new Set([W.B,W.BIG,W.BLOCKQUOTE,W.BODY,W.BR,W.CENTER,W.CODE,W.DD,W.DIV,W.DL,W.DT,W.EM,W.EMBED,W.H1,W.H2,W.H3,W.H4,W.H5,W.H6,W.HEAD,W.HR,W.I,W.IMG,W.LI,W.LISTING,W.MENU,W.META,W.NOBR,W.OL,W.P,W.PRE,W.RUBY,W.S,W.SMALL,W.SPAN,W.STRONG,W.STRIKE,W.SUB,W.SUP,W.TABLE,W.TT,W.U,W.UL,W.VAR]);function Ssr(n){const i=n.tagID;return i===W.FONT&&n.attrs.some(({name:c})=>c===iR.COLOR||c===iR.SIZE||c===iR.FACE)||Esr.has(i)}function iXt(n){for(let i=0;i<n.attrs.length;i++)if(n.attrs[i].name===bsr){n.attrs[i].name=msr;break}}function oXt(n){for(let i=0;i<n.attrs.length;i++){const s=wsr.get(n.attrs[i].name);s!=null&&(n.attrs[i].name=s)}}function h9e(n){for(let i=0;i<n.attrs.length;i++){const s=ysr.get(n.attrs[i].name);s&&(n.attrs[i].prefix=s.prefix,n.attrs[i].name=s.name,n.attrs[i].namespace=s.namespace)}}function Tsr(n){const i=vsr.get(n.tagName);i!=null&&(n.tagName=i,n.tagID=sce(n.tagName))}function Asr(n,i){return i===Fn.MATHML&&(n===W.MI||n===W.MO||n===W.MN||n===W.MS||n===W.MTEXT)}function _sr(n,i,s){if(i===Fn.MATHML&&n===W.ANNOTATION_XML){for(let c=0;c<s.length;c++)if(s[c].name===iR.ENCODING){const d=s[c].value.toLowerCase();return d===x$t.TEXT_HTML||d===x$t.APPLICATION_XML}}return i===Fn.SVG&&(n===W.FOREIGN_OBJECT||n===W.DESC||n===W.TITLE)}function xsr(n,i,s,c){return(!c||c===Fn.HTML)&&_sr(n,i,s)||(!c||c===Fn.MATHML)&&Asr(n,i)}const ksr="hidden",Nsr=8,Csr=3;var ct;(function(n){n[n.INITIAL=0]="INITIAL",n[n.BEFORE_HTML=1]="BEFORE_HTML",n[n.BEFORE_HEAD=2]="BEFORE_HEAD",n[n.IN_HEAD=3]="IN_HEAD",n[n.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",n[n.AFTER_HEAD=5]="AFTER_HEAD",n[n.IN_BODY=6]="IN_BODY",n[n.TEXT=7]="TEXT",n[n.IN_TABLE=8]="IN_TABLE",n[n.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",n[n.IN_CAPTION=10]="IN_CAPTION",n[n.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",n[n.IN_TABLE_BODY=12]="IN_TABLE_BODY",n[n.IN_ROW=13]="IN_ROW",n[n.IN_CELL=14]="IN_CELL",n[n.IN_SELECT=15]="IN_SELECT",n[n.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",n[n.IN_TEMPLATE=17]="IN_TEMPLATE",n[n.AFTER_BODY=18]="AFTER_BODY",n[n.IN_FRAMESET=19]="IN_FRAMESET",n[n.AFTER_FRAMESET=20]="AFTER_FRAMESET",n[n.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",n[n.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(ct||(ct={}));const Isr={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},sXt=new Set([W.TABLE,W.TBODY,W.TFOOT,W.THEAD,W.TR]),k$t={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Mk,onParseError:null};class aXt{constructor(i,s,c=null,d=null){this.fragmentContext=c,this.scriptHandler=d,this.currentToken=null,this.stopped=!1,this.insertionMode=ct.INITIAL,this.originalInsertionMode=ct.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...k$t,...i},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=s??this.treeAdapter.createDocument(),this.tokenizer=new esr(this.options,this),this.activeFormattingElements=new csr(this.treeAdapter),this.fragmentContextID=c?sce(this.treeAdapter.getTagName(c)):W.UNKNOWN,this._setContextModes(c??this.document,this.fragmentContextID),this.openElements=new asr(this.document,this.treeAdapter,this)}static parse(i,s){const c=new this(s);return c.tokenizer.write(i,!0),c.document}static getFragmentParser(i,s){const c={...k$t,...s};i??(i=c.treeAdapter.createElement(Pt.TEMPLATE,Fn.HTML,[]));const d=c.treeAdapter.createElement("documentmock",Fn.HTML,[]),g=new this(c,d,i);return g.fragmentContextID===W.TEMPLATE&&g.tmplInsertionModeStack.unshift(ct.IN_TEMPLATE),g._initTokenizerForFragmentParsing(),g._insertFakeRootElement(),g._resetInsertionMode(),g._findFormInFragmentContext(),g}getFragment(){const i=this.treeAdapter.getFirstChild(this.document),s=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,s),s}_err(i,s,c){var d;if(!this.onParseError)return;const g=(d=i.location)!==null&&d!==void 0?d:Isr,b={code:s,startLine:g.startLine,startCol:g.startCol,startOffset:g.startOffset,endLine:c?g.startLine:g.endLine,endCol:c?g.startCol:g.endCol,endOffset:c?g.startOffset:g.endOffset};this.onParseError(b)}onItemPush(i,s,c){var d,g;(g=(d=this.treeAdapter).onItemPush)===null||g===void 0||g.call(d,i),c&&this.openElements.stackTop>0&&this._setContextModes(i,s)}onItemPop(i,s){var c,d;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(i,this.currentToken),(d=(c=this.treeAdapter).onItemPop)===null||d===void 0||d.call(c,i,this.openElements.current),s){let g,b;this.openElements.stackTop===0&&this.fragmentContext?(g=this.fragmentContext,b=this.fragmentContextID):{current:g,currentTagId:b}=this.openElements,this._setContextModes(g,b)}}_setContextModes(i,s){const c=i===this.document||i&&this.treeAdapter.getNamespaceURI(i)===Fn.HTML;this.currentNotInHTML=!c,this.tokenizer.inForeignNode=!c&&i!==void 0&&s!==void 0&&!this._isIntegrationPoint(s,i)}_switchToTextParsing(i,s){this._insertElement(i,Fn.HTML),this.tokenizer.state=s,this.originalInsertionMode=this.insertionMode,this.insertionMode=ct.TEXT}switchToPlaintextParsing(){this.insertionMode=ct.TEXT,this.originalInsertionMode=ct.IN_BODY,this.tokenizer.state=sb.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let i=this.fragmentContext;for(;i;){if(this.treeAdapter.getTagName(i)===Pt.FORM){this.formElement=i;break}i=this.treeAdapter.getParentNode(i)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Fn.HTML))switch(this.fragmentContextID){case W.TITLE:case W.TEXTAREA:{this.tokenizer.state=sb.RCDATA;break}case W.STYLE:case W.XMP:case W.IFRAME:case W.NOEMBED:case W.NOFRAMES:case W.NOSCRIPT:{this.tokenizer.state=sb.RAWTEXT;break}case W.SCRIPT:{this.tokenizer.state=sb.SCRIPT_DATA;break}case W.PLAINTEXT:{this.tokenizer.state=sb.PLAINTEXT;break}}}_setDocumentType(i){const s=i.name||"",c=i.publicId||"",d=i.systemId||"";if(this.treeAdapter.setDocumentType(this.document,s,c,d),i.location){const b=this.treeAdapter.getChildNodes(this.document).find(w=>this.treeAdapter.isDocumentTypeNode(w));b&&this.treeAdapter.setNodeSourceCodeLocation(b,i.location)}}_attachElementToTree(i,s){if(this.options.sourceCodeLocationInfo){const c=s&&{...s,startTag:s};this.treeAdapter.setNodeSourceCodeLocation(i,c)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(i);else{const c=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(c??this.document,i)}}_appendElement(i,s){const c=this.treeAdapter.createElement(i.tagName,s,i.attrs);this._attachElementToTree(c,i.location)}_insertElement(i,s){const c=this.treeAdapter.createElement(i.tagName,s,i.attrs);this._attachElementToTree(c,i.location),this.openElements.push(c,i.tagID)}_insertFakeElement(i,s){const c=this.treeAdapter.createElement(i,Fn.HTML,[]);this._attachElementToTree(c,null),this.openElements.push(c,s)}_insertTemplate(i){const s=this.treeAdapter.createElement(i.tagName,Fn.HTML,i.attrs),c=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(s,c),this._attachElementToTree(s,i.location),this.openElements.push(s,i.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,null)}_insertFakeRootElement(){const i=this.treeAdapter.createElement(Pt.HTML,Fn.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null),this.treeAdapter.appendChild(this.openElements.current,i),this.openElements.push(i,W.HTML)}_appendCommentNode(i,s){const c=this.treeAdapter.createCommentNode(i.data);this.treeAdapter.appendChild(s,c),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,i.location)}_insertCharacters(i){let s,c;if(this._shouldFosterParentOnInsertion()?({parent:s,beforeElement:c}=this._findFosterParentingLocation(),c?this.treeAdapter.insertTextBefore(s,i.chars,c):this.treeAdapter.insertText(s,i.chars)):(s=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(s,i.chars)),!i.location)return;const d=this.treeAdapter.getChildNodes(s),g=c?d.lastIndexOf(c):d.length,b=d[g-1];if(this.treeAdapter.getNodeSourceCodeLocation(b)){const{endLine:E,endCol:S,endOffset:_}=i.location;this.treeAdapter.updateNodeSourceCodeLocation(b,{endLine:E,endCol:S,endOffset:_})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(b,i.location)}_adoptNodes(i,s){for(let c=this.treeAdapter.getFirstChild(i);c;c=this.treeAdapter.getFirstChild(i))this.treeAdapter.detachNode(c),this.treeAdapter.appendChild(s,c)}_setEndLocation(i,s){if(this.treeAdapter.getNodeSourceCodeLocation(i)&&s.location){const c=s.location,d=this.treeAdapter.getTagName(i),g=s.type===ha.END_TAG&&d===s.tagName?{endTag:{...c},endLine:c.endLine,endCol:c.endCol,endOffset:c.endOffset}:{endLine:c.startLine,endCol:c.startCol,endOffset:c.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(i,g)}}shouldProcessStartTagTokenInForeignContent(i){if(!this.currentNotInHTML)return!1;let s,c;return this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,c=this.fragmentContextID):{current:s,currentTagId:c}=this.openElements,i.tagID===W.SVG&&this.treeAdapter.getTagName(s)===Pt.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(s)===Fn.MATHML?!1:this.tokenizer.inForeignNode||(i.tagID===W.MGLYPH||i.tagID===W.MALIGNMARK)&&c!==void 0&&!this._isIntegrationPoint(c,s,Fn.HTML)}_processToken(i){switch(i.type){case ha.CHARACTER:{this.onCharacter(i);break}case ha.NULL_CHARACTER:{this.onNullCharacter(i);break}case ha.COMMENT:{this.onComment(i);break}case ha.DOCTYPE:{this.onDoctype(i);break}case ha.START_TAG:{this._processStartTag(i);break}case ha.END_TAG:{this.onEndTag(i);break}case ha.EOF:{this.onEof(i);break}case ha.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(i);break}}}_isIntegrationPoint(i,s,c){const d=this.treeAdapter.getNamespaceURI(s),g=this.treeAdapter.getAttrList(s);return xsr(i,d,g,c)}_reconstructActiveFormattingElements(){const i=this.activeFormattingElements.entries.length;if(i){const s=this.activeFormattingElements.entries.findIndex(d=>d.type===I2.Marker||this.openElements.contains(d.element)),c=s===-1?i-1:s-1;for(let d=c;d>=0;d--){const g=this.activeFormattingElements.entries[d];this._insertElement(g.token,this.treeAdapter.getNamespaceURI(g.element)),g.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ct.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(W.P),this.openElements.popUntilTagNamePopped(W.P)}_resetInsertionMode(){for(let i=this.openElements.stackTop;i>=0;i--)switch(i===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[i]){case W.TR:{this.insertionMode=ct.IN_ROW;return}case W.TBODY:case W.THEAD:case W.TFOOT:{this.insertionMode=ct.IN_TABLE_BODY;return}case W.CAPTION:{this.insertionMode=ct.IN_CAPTION;return}case W.COLGROUP:{this.insertionMode=ct.IN_COLUMN_GROUP;return}case W.TABLE:{this.insertionMode=ct.IN_TABLE;return}case W.BODY:{this.insertionMode=ct.IN_BODY;return}case W.FRAMESET:{this.insertionMode=ct.IN_FRAMESET;return}case W.SELECT:{this._resetInsertionModeForSelect(i);return}case W.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case W.HTML:{this.insertionMode=this.headElement?ct.AFTER_HEAD:ct.BEFORE_HEAD;return}case W.TD:case W.TH:{if(i>0){this.insertionMode=ct.IN_CELL;return}break}case W.HEAD:{if(i>0){this.insertionMode=ct.IN_HEAD;return}break}}this.insertionMode=ct.IN_BODY}_resetInsertionModeForSelect(i){if(i>0)for(let s=i-1;s>0;s--){const c=this.openElements.tagIDs[s];if(c===W.TEMPLATE)break;if(c===W.TABLE){this.insertionMode=ct.IN_SELECT_IN_TABLE;return}}this.insertionMode=ct.IN_SELECT}_isElementCausesFosterParenting(i){return sXt.has(i)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let i=this.openElements.stackTop;i>=0;i--){const s=this.openElements.items[i];switch(this.openElements.tagIDs[i]){case W.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(s)===Fn.HTML)return{parent:this.treeAdapter.getTemplateContent(s),beforeElement:null};break}case W.TABLE:{const c=this.treeAdapter.getParentNode(s);return c?{parent:c,beforeElement:s}:{parent:this.openElements.items[i-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(i){const s=this._findFosterParentingLocation();s.beforeElement?this.treeAdapter.insertBefore(s.parent,i,s.beforeElement):this.treeAdapter.appendChild(s.parent,i)}_isSpecialElement(i,s){const c=this.treeAdapter.getNamespaceURI(i);return Jor[c].has(s)}onCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){acr(this,i);return}switch(this.insertionMode){case ct.INITIAL:{qU(this,i);break}case ct.BEFORE_HTML:{EH(this,i);break}case ct.BEFORE_HEAD:{SH(this,i);break}case ct.IN_HEAD:{TH(this,i);break}case ct.IN_HEAD_NO_SCRIPT:{AH(this,i);break}case ct.AFTER_HEAD:{_H(this,i);break}case ct.IN_BODY:case ct.IN_CAPTION:case ct.IN_CELL:case ct.IN_TEMPLATE:{uXt(this,i);break}case ct.TEXT:case ct.IN_SELECT:case ct.IN_SELECT_IN_TABLE:{this._insertCharacters(i);break}case ct.IN_TABLE:case ct.IN_TABLE_BODY:case ct.IN_ROW:{QOe(this,i);break}case ct.IN_TABLE_TEXT:{gXt(this,i);break}case ct.IN_COLUMN_GROUP:{Nse(this,i);break}case ct.AFTER_BODY:{Cse(this,i);break}case ct.AFTER_AFTER_BODY:{loe(this,i);break}}}onNullCharacter(i){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){scr(this,i);return}switch(this.insertionMode){case ct.INITIAL:{qU(this,i);break}case ct.BEFORE_HTML:{EH(this,i);break}case ct.BEFORE_HEAD:{SH(this,i);break}case ct.IN_HEAD:{TH(this,i);break}case ct.IN_HEAD_NO_SCRIPT:{AH(this,i);break}case ct.AFTER_HEAD:{_H(this,i);break}case ct.TEXT:{this._insertCharacters(i);break}case ct.IN_TABLE:case ct.IN_TABLE_BODY:case ct.IN_ROW:{QOe(this,i);break}case ct.IN_COLUMN_GROUP:{Nse(this,i);break}case ct.AFTER_BODY:{Cse(this,i);break}case ct.AFTER_AFTER_BODY:{loe(this,i);break}}}onComment(i){if(this.skipNextNewLine=!1,this.currentNotInHTML){gLe(this,i);return}switch(this.insertionMode){case ct.INITIAL:case ct.BEFORE_HTML:case ct.BEFORE_HEAD:case ct.IN_HEAD:case ct.IN_HEAD_NO_SCRIPT:case ct.AFTER_HEAD:case ct.IN_BODY:case ct.IN_TABLE:case ct.IN_CAPTION:case ct.IN_COLUMN_GROUP:case ct.IN_TABLE_BODY:case ct.IN_ROW:case ct.IN_CELL:case ct.IN_SELECT:case ct.IN_SELECT_IN_TABLE:case ct.IN_TEMPLATE:case ct.IN_FRAMESET:case ct.AFTER_FRAMESET:{gLe(this,i);break}case ct.IN_TABLE_TEXT:{VU(this,i);break}case ct.AFTER_BODY:{jsr(this,i);break}case ct.AFTER_AFTER_BODY:case ct.AFTER_AFTER_FRAMESET:{Fsr(this,i);break}}}onDoctype(i){switch(this.skipNextNewLine=!1,this.insertionMode){case ct.INITIAL:{$sr(this,i);break}case ct.BEFORE_HEAD:case ct.IN_HEAD:case ct.IN_HEAD_NO_SCRIPT:case ct.AFTER_HEAD:{this._err(i,sn.misplacedDoctype);break}case ct.IN_TABLE_TEXT:{VU(this,i);break}}}onStartTag(i){this.skipNextNewLine=!1,this.currentToken=i,this._processStartTag(i),i.selfClosing&&!i.ackSelfClosing&&this._err(i,sn.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(i){this.shouldProcessStartTagTokenInForeignContent(i)?ccr(this,i):this._startTagOutsideForeignContent(i)}_startTagOutsideForeignContent(i){switch(this.insertionMode){case ct.INITIAL:{qU(this,i);break}case ct.BEFORE_HTML:{Bsr(this,i);break}case ct.BEFORE_HEAD:{Hsr(this,i);break}case ct.IN_HEAD:{zv(this,i);break}case ct.IN_HEAD_NO_SCRIPT:{qsr(this,i);break}case ct.AFTER_HEAD:{Wsr(this,i);break}case ct.IN_BODY:{Vp(this,i);break}case ct.IN_TABLE:{DM(this,i);break}case ct.IN_TABLE_TEXT:{VU(this,i);break}case ct.IN_CAPTION:{Gar(this,i);break}case ct.IN_COLUMN_GROUP:{b9e(this,i);break}case ct.IN_TABLE_BODY:{uce(this,i);break}case ct.IN_ROW:{lce(this,i);break}case ct.IN_CELL:{War(this,i);break}case ct.IN_SELECT:{wXt(this,i);break}case ct.IN_SELECT_IN_TABLE:{Yar(this,i);break}case ct.IN_TEMPLATE:{Xar(this,i);break}case ct.AFTER_BODY:{Qar(this,i);break}case ct.IN_FRAMESET:{ecr(this,i);break}case ct.AFTER_FRAMESET:{ncr(this,i);break}case ct.AFTER_AFTER_BODY:{icr(this,i);break}case ct.AFTER_AFTER_FRAMESET:{ocr(this,i);break}}}onEndTag(i){this.skipNextNewLine=!1,this.currentToken=i,this.currentNotInHTML?ucr(this,i):this._endTagOutsideForeignContent(i)}_endTagOutsideForeignContent(i){switch(this.insertionMode){case ct.INITIAL:{qU(this,i);break}case ct.BEFORE_HTML:{Usr(this,i);break}case ct.BEFORE_HEAD:{zsr(this,i);break}case ct.IN_HEAD:{Gsr(this,i);break}case ct.IN_HEAD_NO_SCRIPT:{Vsr(this,i);break}case ct.AFTER_HEAD:{Ksr(this,i);break}case ct.IN_BODY:{cce(this,i);break}case ct.TEXT:{Lar(this,i);break}case ct.IN_TABLE:{gz(this,i);break}case ct.IN_TABLE_TEXT:{VU(this,i);break}case ct.IN_CAPTION:{qar(this,i);break}case ct.IN_COLUMN_GROUP:{Var(this,i);break}case ct.IN_TABLE_BODY:{bLe(this,i);break}case ct.IN_ROW:{mXt(this,i);break}case ct.IN_CELL:{Kar(this,i);break}case ct.IN_SELECT:{yXt(this,i);break}case ct.IN_SELECT_IN_TABLE:{Jar(this,i);break}case ct.IN_TEMPLATE:{Zar(this,i);break}case ct.AFTER_BODY:{EXt(this,i);break}case ct.IN_FRAMESET:{tcr(this,i);break}case ct.AFTER_FRAMESET:{rcr(this,i);break}case ct.AFTER_AFTER_BODY:{loe(this,i);break}}}onEof(i){switch(this.insertionMode){case ct.INITIAL:{qU(this,i);break}case ct.BEFORE_HTML:{EH(this,i);break}case ct.BEFORE_HEAD:{SH(this,i);break}case ct.IN_HEAD:{TH(this,i);break}case ct.IN_HEAD_NO_SCRIPT:{AH(this,i);break}case ct.AFTER_HEAD:{_H(this,i);break}case ct.IN_BODY:case ct.IN_TABLE:case ct.IN_CAPTION:case ct.IN_COLUMN_GROUP:case ct.IN_TABLE_BODY:case ct.IN_ROW:case ct.IN_CELL:case ct.IN_SELECT:case ct.IN_SELECT_IN_TABLE:{hXt(this,i);break}case ct.TEXT:{Mar(this,i);break}case ct.IN_TABLE_TEXT:{VU(this,i);break}case ct.IN_TEMPLATE:{vXt(this,i);break}case ct.AFTER_BODY:case ct.IN_FRAMESET:case ct.AFTER_FRAMESET:case ct.AFTER_AFTER_BODY:case ct.AFTER_AFTER_FRAMESET:{g9e(this,i);break}}}onWhitespaceCharacter(i){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,i.chars.charCodeAt(0)===$e.LINE_FEED)){if(i.chars.length===1)return;i.chars=i.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(i);return}switch(this.insertionMode){case ct.IN_HEAD:case ct.IN_HEAD_NO_SCRIPT:case ct.AFTER_HEAD:case ct.TEXT:case ct.IN_COLUMN_GROUP:case ct.IN_SELECT:case ct.IN_SELECT_IN_TABLE:case ct.IN_FRAMESET:case ct.AFTER_FRAMESET:{this._insertCharacters(i);break}case ct.IN_BODY:case ct.IN_CAPTION:case ct.IN_CELL:case ct.IN_TEMPLATE:case ct.AFTER_BODY:case ct.AFTER_AFTER_BODY:case ct.AFTER_AFTER_FRAMESET:{cXt(this,i);break}case ct.IN_TABLE:case ct.IN_TABLE_BODY:case ct.IN_ROW:{QOe(this,i);break}case ct.IN_TABLE_TEXT:{pXt(this,i);break}}}}function Rsr(n,i){let s=n.activeFormattingElements.getElementEntryInScopeWithTagName(i.tagName);return s?n.openElements.contains(s.element)?n.openElements.hasInScope(i.tagID)||(s=null):(n.activeFormattingElements.removeEntry(s),s=null):fXt(n,i),s}function Osr(n,i){let s=null,c=n.openElements.stackTop;for(;c>=0;c--){const d=n.openElements.items[c];if(d===i.element)break;n._isSpecialElement(d,n.openElements.tagIDs[c])&&(s=d)}return s||(n.openElements.shortenToLength(Math.max(c,0)),n.activeFormattingElements.removeEntry(i)),s}function Dsr(n,i,s){let c=i,d=n.openElements.getCommonAncestor(i);for(let g=0,b=d;b!==s;g++,b=d){d=n.openElements.getCommonAncestor(b);const w=n.activeFormattingElements.getElementEntry(b),E=w&&g>=Csr;!w||E?(E&&n.activeFormattingElements.removeEntry(w),n.openElements.remove(b)):(b=Lsr(n,w),c===i&&(n.activeFormattingElements.bookmark=w),n.treeAdapter.detachNode(c),n.treeAdapter.appendChild(b,c),c=b)}return c}function Lsr(n,i){const s=n.treeAdapter.getNamespaceURI(i.element),c=n.treeAdapter.createElement(i.token.tagName,s,i.token.attrs);return n.openElements.replace(i.element,c),i.element=c,c}function Msr(n,i,s){const c=n.treeAdapter.getTagName(i),d=sce(c);if(n._isElementCausesFosterParenting(d))n._fosterParentElement(s);else{const g=n.treeAdapter.getNamespaceURI(i);d===W.TEMPLATE&&g===Fn.HTML&&(i=n.treeAdapter.getTemplateContent(i)),n.treeAdapter.appendChild(i,s)}}function Psr(n,i,s){const c=n.treeAdapter.getNamespaceURI(s.element),{token:d}=s,g=n.treeAdapter.createElement(d.tagName,c,d.attrs);n._adoptNodes(i,g),n.treeAdapter.appendChild(i,g),n.activeFormattingElements.insertElementAfterBookmark(g,d),n.activeFormattingElements.removeEntry(s),n.openElements.remove(s.element),n.openElements.insertAfter(i,g,d.tagID)}function p9e(n,i){for(let s=0;s<Nsr;s++){const c=Rsr(n,i);if(!c)break;const d=Osr(n,c);if(!d)break;n.activeFormattingElements.bookmark=c;const g=Dsr(n,d,c.element),b=n.openElements.getCommonAncestor(c.element);n.treeAdapter.detachNode(g),b&&Msr(n,b,g),Psr(n,d,c)}}function gLe(n,i){n._appendCommentNode(i,n.openElements.currentTmplContentOrNode)}function jsr(n,i){n._appendCommentNode(i,n.openElements.items[0])}function Fsr(n,i){n._appendCommentNode(i,n.document)}function g9e(n,i){if(n.stopped=!0,i.location){const s=n.fragmentContext?0:2;for(let c=n.openElements.stackTop;c>=s;c--)n._setEndLocation(n.openElements.items[c],i);if(!n.fragmentContext&&n.openElements.stackTop>=0){const c=n.openElements.items[0],d=n.treeAdapter.getNodeSourceCodeLocation(c);if(d&&!d.endTag&&(n._setEndLocation(c,i),n.openElements.stackTop>=1)){const g=n.openElements.items[1],b=n.treeAdapter.getNodeSourceCodeLocation(g);b&&!b.endTag&&n._setEndLocation(g,i)}}}}function $sr(n,i){n._setDocumentType(i);const s=i.forceQuirks?yw.QUIRKS:gsr(i);psr(i)||n._err(i,sn.nonConformingDoctype),n.treeAdapter.setDocumentMode(n.document,s),n.insertionMode=ct.BEFORE_HTML}function qU(n,i){n._err(i,sn.missingDoctype,!0),n.treeAdapter.setDocumentMode(n.document,yw.QUIRKS),n.insertionMode=ct.BEFORE_HTML,n._processToken(i)}function Bsr(n,i){i.tagID===W.HTML?(n._insertElement(i,Fn.HTML),n.insertionMode=ct.BEFORE_HEAD):EH(n,i)}function Usr(n,i){const s=i.tagID;(s===W.HTML||s===W.HEAD||s===W.BODY||s===W.BR)&&EH(n,i)}function EH(n,i){n._insertFakeRootElement(),n.insertionMode=ct.BEFORE_HEAD,n._processToken(i)}function Hsr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.HEAD:{n._insertElement(i,Fn.HTML),n.headElement=n.openElements.current,n.insertionMode=ct.IN_HEAD;break}default:SH(n,i)}}function zsr(n,i){const s=i.tagID;s===W.HEAD||s===W.BODY||s===W.HTML||s===W.BR?SH(n,i):n._err(i,sn.endTagWithoutMatchingOpenElement)}function SH(n,i){n._insertFakeElement(Pt.HEAD,W.HEAD),n.headElement=n.openElements.current,n.insertionMode=ct.IN_HEAD,n._processToken(i)}function zv(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:{n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.TITLE:{n._switchToTextParsing(i,sb.RCDATA);break}case W.NOSCRIPT:{n.options.scriptingEnabled?n._switchToTextParsing(i,sb.RAWTEXT):(n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_HEAD_NO_SCRIPT);break}case W.NOFRAMES:case W.STYLE:{n._switchToTextParsing(i,sb.RAWTEXT);break}case W.SCRIPT:{n._switchToTextParsing(i,sb.SCRIPT_DATA);break}case W.TEMPLATE:{n._insertTemplate(i),n.activeFormattingElements.insertMarker(),n.framesetOk=!1,n.insertionMode=ct.IN_TEMPLATE,n.tmplInsertionModeStack.unshift(ct.IN_TEMPLATE);break}case W.HEAD:{n._err(i,sn.misplacedStartTagForHeadElement);break}default:TH(n,i)}}function Gsr(n,i){switch(i.tagID){case W.HEAD:{n.openElements.pop(),n.insertionMode=ct.AFTER_HEAD;break}case W.BODY:case W.BR:case W.HTML:{TH(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function jR(n,i){n.openElements.tmplCount>0?(n.openElements.generateImpliedEndTagsThoroughly(),n.openElements.currentTagId!==W.TEMPLATE&&n._err(i,sn.closingOfElementWithOpenChildElements),n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode()):n._err(i,sn.endTagWithoutMatchingOpenElement)}function TH(n,i){n.openElements.pop(),n.insertionMode=ct.AFTER_HEAD,n._processToken(i)}function qsr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.BASEFONT:case W.BGSOUND:case W.HEAD:case W.LINK:case W.META:case W.NOFRAMES:case W.STYLE:{zv(n,i);break}case W.NOSCRIPT:{n._err(i,sn.nestedNoscriptInHead);break}default:AH(n,i)}}function Vsr(n,i){switch(i.tagID){case W.NOSCRIPT:{n.openElements.pop(),n.insertionMode=ct.IN_HEAD;break}case W.BR:{AH(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function AH(n,i){const s=i.type===ha.EOF?sn.openElementsLeftAfterEof:sn.disallowedContentInNoscriptInHead;n._err(i,s),n.openElements.pop(),n.insertionMode=ct.IN_HEAD,n._processToken(i)}function Wsr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.BODY:{n._insertElement(i,Fn.HTML),n.framesetOk=!1,n.insertionMode=ct.IN_BODY;break}case W.FRAMESET:{n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_FRAMESET;break}case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:case W.NOFRAMES:case W.SCRIPT:case W.STYLE:case W.TEMPLATE:case W.TITLE:{n._err(i,sn.abandonedHeadElementChild),n.openElements.push(n.headElement,W.HEAD),zv(n,i),n.openElements.remove(n.headElement);break}case W.HEAD:{n._err(i,sn.misplacedStartTagForHeadElement);break}default:_H(n,i)}}function Ksr(n,i){switch(i.tagID){case W.BODY:case W.HTML:case W.BR:{_H(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:n._err(i,sn.endTagWithoutMatchingOpenElement)}}function _H(n,i){n._insertFakeElement(Pt.BODY,W.BODY),n.insertionMode=ct.IN_BODY,ace(n,i)}function ace(n,i){switch(i.type){case ha.CHARACTER:{uXt(n,i);break}case ha.WHITESPACE_CHARACTER:{cXt(n,i);break}case ha.COMMENT:{gLe(n,i);break}case ha.START_TAG:{Vp(n,i);break}case ha.END_TAG:{cce(n,i);break}case ha.EOF:{hXt(n,i);break}}}function cXt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i)}function uXt(n,i){n._reconstructActiveFormattingElements(),n._insertCharacters(i),n.framesetOk=!1}function Ysr(n,i){n.openElements.tmplCount===0&&n.treeAdapter.adoptAttributes(n.openElements.items[0],i.attrs)}function Jsr(n,i){const s=n.openElements.tryPeekProperlyNestedBodyElement();s&&n.openElements.tmplCount===0&&(n.framesetOk=!1,n.treeAdapter.adoptAttributes(s,i.attrs))}function Xsr(n,i){const s=n.openElements.tryPeekProperlyNestedBodyElement();n.framesetOk&&s&&(n.treeAdapter.detachNode(s),n.openElements.popAllUpToHtmlElement(),n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_FRAMESET)}function Zsr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML)}function Qsr(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n.openElements.currentTagId!==void 0&&pLe.has(n.openElements.currentTagId)&&n.openElements.pop(),n._insertElement(i,Fn.HTML)}function ear(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.skipNextNewLine=!0,n.framesetOk=!1}function tar(n,i){const s=n.openElements.tmplCount>0;(!n.formElement||s)&&(n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),s||(n.formElement=n.openElements.current))}function nar(n,i){n.framesetOk=!1;const s=i.tagID;for(let c=n.openElements.stackTop;c>=0;c--){const d=n.openElements.tagIDs[c];if(s===W.LI&&d===W.LI||(s===W.DD||s===W.DT)&&(d===W.DD||d===W.DT)){n.openElements.generateImpliedEndTagsWithExclusion(d),n.openElements.popUntilTagNamePopped(d);break}if(d!==W.ADDRESS&&d!==W.DIV&&d!==W.P&&n._isSpecialElement(n.openElements.items[c],d))break}n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML)}function rar(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.tokenizer.state=sb.PLAINTEXT}function iar(n,i){n.openElements.hasInScope(W.BUTTON)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.BUTTON)),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.framesetOk=!1}function oar(n,i){const s=n.activeFormattingElements.getElementEntryInScopeWithTagName(Pt.A);s&&(p9e(n,i),n.openElements.remove(s.element),n.activeFormattingElements.removeEntry(s)),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function sar(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function aar(n,i){n._reconstructActiveFormattingElements(),n.openElements.hasInScope(W.NOBR)&&(p9e(n,i),n._reconstructActiveFormattingElements()),n._insertElement(i,Fn.HTML),n.activeFormattingElements.pushElement(n.openElements.current,i)}function car(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.activeFormattingElements.insertMarker(),n.framesetOk=!1}function uar(n,i){n.treeAdapter.getDocumentMode(n.document)!==yw.QUIRKS&&n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._insertElement(i,Fn.HTML),n.framesetOk=!1,n.insertionMode=ct.IN_TABLE}function lXt(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,Fn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function dXt(n){const i=ZJt(n,iR.TYPE);return i!=null&&i.toLowerCase()===ksr}function lar(n,i){n._reconstructActiveFormattingElements(),n._appendElement(i,Fn.HTML),dXt(i)||(n.framesetOk=!1),i.ackSelfClosing=!0}function dar(n,i){n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0}function far(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._appendElement(i,Fn.HTML),n.framesetOk=!1,i.ackSelfClosing=!0}function har(n,i){i.tagName=Pt.IMG,i.tagID=W.IMG,lXt(n,i)}function par(n,i){n._insertElement(i,Fn.HTML),n.skipNextNewLine=!0,n.tokenizer.state=sb.RCDATA,n.originalInsertionMode=n.insertionMode,n.framesetOk=!1,n.insertionMode=ct.TEXT}function gar(n,i){n.openElements.hasInButtonScope(W.P)&&n._closePElement(),n._reconstructActiveFormattingElements(),n.framesetOk=!1,n._switchToTextParsing(i,sb.RAWTEXT)}function bar(n,i){n.framesetOk=!1,n._switchToTextParsing(i,sb.RAWTEXT)}function N$t(n,i){n._switchToTextParsing(i,sb.RAWTEXT)}function mar(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML),n.framesetOk=!1,n.insertionMode=n.insertionMode===ct.IN_TABLE||n.insertionMode===ct.IN_CAPTION||n.insertionMode===ct.IN_TABLE_BODY||n.insertionMode===ct.IN_ROW||n.insertionMode===ct.IN_CELL?ct.IN_SELECT_IN_TABLE:ct.IN_SELECT}function war(n,i){n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML)}function yar(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTags(),n._insertElement(i,Fn.HTML)}function Ear(n,i){n.openElements.hasInScope(W.RUBY)&&n.openElements.generateImpliedEndTagsWithExclusion(W.RTC),n._insertElement(i,Fn.HTML)}function Sar(n,i){n._reconstructActiveFormattingElements(),iXt(i),h9e(i),i.selfClosing?n._appendElement(i,Fn.MATHML):n._insertElement(i,Fn.MATHML),i.ackSelfClosing=!0}function Tar(n,i){n._reconstructActiveFormattingElements(),oXt(i),h9e(i),i.selfClosing?n._appendElement(i,Fn.SVG):n._insertElement(i,Fn.SVG),i.ackSelfClosing=!0}function C$t(n,i){n._reconstructActiveFormattingElements(),n._insertElement(i,Fn.HTML)}function Vp(n,i){switch(i.tagID){case W.I:case W.S:case W.B:case W.U:case W.EM:case W.TT:case W.BIG:case W.CODE:case W.FONT:case W.SMALL:case W.STRIKE:case W.STRONG:{sar(n,i);break}case W.A:{oar(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{Qsr(n,i);break}case W.P:case W.DL:case W.OL:case W.UL:case W.DIV:case W.DIR:case W.NAV:case W.MAIN:case W.MENU:case W.ASIDE:case W.CENTER:case W.FIGURE:case W.FOOTER:case W.HEADER:case W.HGROUP:case W.DIALOG:case W.DETAILS:case W.ADDRESS:case W.ARTICLE:case W.SEARCH:case W.SECTION:case W.SUMMARY:case W.FIELDSET:case W.BLOCKQUOTE:case W.FIGCAPTION:{Zsr(n,i);break}case W.LI:case W.DD:case W.DT:{nar(n,i);break}case W.BR:case W.IMG:case W.WBR:case W.AREA:case W.EMBED:case W.KEYGEN:{lXt(n,i);break}case W.HR:{far(n,i);break}case W.RB:case W.RTC:{yar(n,i);break}case W.RT:case W.RP:{Ear(n,i);break}case W.PRE:case W.LISTING:{ear(n,i);break}case W.XMP:{gar(n,i);break}case W.SVG:{Tar(n,i);break}case W.HTML:{Ysr(n,i);break}case W.BASE:case W.LINK:case W.META:case W.STYLE:case W.TITLE:case W.SCRIPT:case W.BGSOUND:case W.BASEFONT:case W.TEMPLATE:{zv(n,i);break}case W.BODY:{Jsr(n,i);break}case W.FORM:{tar(n,i);break}case W.NOBR:{aar(n,i);break}case W.MATH:{Sar(n,i);break}case W.TABLE:{uar(n,i);break}case W.INPUT:{lar(n,i);break}case W.PARAM:case W.TRACK:case W.SOURCE:{dar(n,i);break}case W.IMAGE:{har(n,i);break}case W.BUTTON:{iar(n,i);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{car(n,i);break}case W.IFRAME:{bar(n,i);break}case W.SELECT:{mar(n,i);break}case W.OPTION:case W.OPTGROUP:{war(n,i);break}case W.NOEMBED:case W.NOFRAMES:{N$t(n,i);break}case W.FRAMESET:{Xsr(n,i);break}case W.TEXTAREA:{par(n,i);break}case W.NOSCRIPT:{n.options.scriptingEnabled?N$t(n,i):C$t(n,i);break}case W.PLAINTEXT:{rar(n,i);break}case W.COL:case W.TH:case W.TD:case W.TR:case W.HEAD:case W.FRAME:case W.TBODY:case W.TFOOT:case W.THEAD:case W.CAPTION:case W.COLGROUP:break;default:C$t(n,i)}}function Aar(n,i){if(n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ct.AFTER_BODY,n.options.sourceCodeLocationInfo)){const s=n.openElements.tryPeekProperlyNestedBodyElement();s&&n._setEndLocation(s,i)}}function _ar(n,i){n.openElements.hasInScope(W.BODY)&&(n.insertionMode=ct.AFTER_BODY,EXt(n,i))}function xar(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s))}function kar(n){const i=n.openElements.tmplCount>0,{formElement:s}=n;i||(n.formElement=null),(s||i)&&n.openElements.hasInScope(W.FORM)&&(n.openElements.generateImpliedEndTags(),i?n.openElements.popUntilTagNamePopped(W.FORM):s&&n.openElements.remove(s))}function Nar(n){n.openElements.hasInButtonScope(W.P)||n._insertFakeElement(Pt.P,W.P),n._closePElement()}function Car(n){n.openElements.hasInListItemScope(W.LI)&&(n.openElements.generateImpliedEndTagsWithExclusion(W.LI),n.openElements.popUntilTagNamePopped(W.LI))}function Iar(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTagsWithExclusion(s),n.openElements.popUntilTagNamePopped(s))}function Rar(n){n.openElements.hasNumberedHeaderInScope()&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilNumberedHeaderPopped())}function Oar(n,i){const s=i.tagID;n.openElements.hasInScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s),n.activeFormattingElements.clearToLastMarker())}function Dar(n){n._reconstructActiveFormattingElements(),n._insertFakeElement(Pt.BR,W.BR),n.openElements.pop(),n.framesetOk=!1}function fXt(n,i){const s=i.tagName,c=i.tagID;for(let d=n.openElements.stackTop;d>0;d--){const g=n.openElements.items[d],b=n.openElements.tagIDs[d];if(c===b&&(c!==W.UNKNOWN||n.treeAdapter.getTagName(g)===s)){n.openElements.generateImpliedEndTagsWithExclusion(c),n.openElements.stackTop>=d&&n.openElements.shortenToLength(d);break}if(n._isSpecialElement(g,b))break}}function cce(n,i){switch(i.tagID){case W.A:case W.B:case W.I:case W.S:case W.U:case W.EM:case W.TT:case W.BIG:case W.CODE:case W.FONT:case W.NOBR:case W.SMALL:case W.STRIKE:case W.STRONG:{p9e(n,i);break}case W.P:{Nar(n);break}case W.DL:case W.UL:case W.OL:case W.DIR:case W.DIV:case W.NAV:case W.PRE:case W.MAIN:case W.MENU:case W.ASIDE:case W.BUTTON:case W.CENTER:case W.FIGURE:case W.FOOTER:case W.HEADER:case W.HGROUP:case W.DIALOG:case W.ADDRESS:case W.ARTICLE:case W.DETAILS:case W.SEARCH:case W.SECTION:case W.SUMMARY:case W.LISTING:case W.FIELDSET:case W.BLOCKQUOTE:case W.FIGCAPTION:{xar(n,i);break}case W.LI:{Car(n);break}case W.DD:case W.DT:{Iar(n,i);break}case W.H1:case W.H2:case W.H3:case W.H4:case W.H5:case W.H6:{Rar(n);break}case W.BR:{Dar(n);break}case W.BODY:{Aar(n,i);break}case W.HTML:{_ar(n,i);break}case W.FORM:{kar(n);break}case W.APPLET:case W.OBJECT:case W.MARQUEE:{Oar(n,i);break}case W.TEMPLATE:{jR(n,i);break}default:fXt(n,i)}}function hXt(n,i){n.tmplInsertionModeStack.length>0?vXt(n,i):g9e(n,i)}function Lar(n,i){var s;i.tagID===W.SCRIPT&&((s=n.scriptHandler)===null||s===void 0||s.call(n,n.openElements.current)),n.openElements.pop(),n.insertionMode=n.originalInsertionMode}function Mar(n,i){n._err(i,sn.eofInElementThatCanContainOnlyText),n.openElements.pop(),n.insertionMode=n.originalInsertionMode,n.onEof(i)}function QOe(n,i){if(n.openElements.currentTagId!==void 0&&sXt.has(n.openElements.currentTagId))switch(n.pendingCharacterTokens.length=0,n.hasNonWhitespacePendingCharacterToken=!1,n.originalInsertionMode=n.insertionMode,n.insertionMode=ct.IN_TABLE_TEXT,i.type){case ha.CHARACTER:{gXt(n,i);break}case ha.WHITESPACE_CHARACTER:{pXt(n,i);break}}else Vz(n,i)}function Par(n,i){n.openElements.clearBackToTableContext(),n.activeFormattingElements.insertMarker(),n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_CAPTION}function jar(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_COLUMN_GROUP}function Far(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.COLGROUP,W.COLGROUP),n.insertionMode=ct.IN_COLUMN_GROUP,b9e(n,i)}function $ar(n,i){n.openElements.clearBackToTableContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_TABLE_BODY}function Bar(n,i){n.openElements.clearBackToTableContext(),n._insertFakeElement(Pt.TBODY,W.TBODY),n.insertionMode=ct.IN_TABLE_BODY,uce(n,i)}function Uar(n,i){n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode(),n._processStartTag(i))}function Har(n,i){dXt(i)?n._appendElement(i,Fn.HTML):Vz(n,i),i.ackSelfClosing=!0}function zar(n,i){!n.formElement&&n.openElements.tmplCount===0&&(n._insertElement(i,Fn.HTML),n.formElement=n.openElements.current,n.openElements.pop())}function DM(n,i){switch(i.tagID){case W.TD:case W.TH:case W.TR:{Bar(n,i);break}case W.STYLE:case W.SCRIPT:case W.TEMPLATE:{zv(n,i);break}case W.COL:{Far(n,i);break}case W.FORM:{zar(n,i);break}case W.TABLE:{Uar(n,i);break}case W.TBODY:case W.TFOOT:case W.THEAD:{$ar(n,i);break}case W.INPUT:{Har(n,i);break}case W.CAPTION:{Par(n,i);break}case W.COLGROUP:{jar(n,i);break}default:Vz(n,i)}}function gz(n,i){switch(i.tagID){case W.TABLE:{n.openElements.hasInTableScope(W.TABLE)&&(n.openElements.popUntilTagNamePopped(W.TABLE),n._resetInsertionMode());break}case W.TEMPLATE:{jR(n,i);break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TBODY:case W.TD:case W.TFOOT:case W.TH:case W.THEAD:case W.TR:break;default:Vz(n,i)}}function Vz(n,i){const s=n.fosterParentingEnabled;n.fosterParentingEnabled=!0,ace(n,i),n.fosterParentingEnabled=s}function pXt(n,i){n.pendingCharacterTokens.push(i)}function gXt(n,i){n.pendingCharacterTokens.push(i),n.hasNonWhitespacePendingCharacterToken=!0}function VU(n,i){let s=0;if(n.hasNonWhitespacePendingCharacterToken)for(;s<n.pendingCharacterTokens.length;s++)Vz(n,n.pendingCharacterTokens[s]);else for(;s<n.pendingCharacterTokens.length;s++)n._insertCharacters(n.pendingCharacterTokens[s]);n.insertionMode=n.originalInsertionMode,n._processToken(i)}const bXt=new Set([W.CAPTION,W.COL,W.COLGROUP,W.TBODY,W.TD,W.TFOOT,W.TH,W.THEAD,W.TR]);function Gar(n,i){const s=i.tagID;bXt.has(s)?n.openElements.hasInTableScope(W.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ct.IN_TABLE,DM(n,i)):Vp(n,i)}function qar(n,i){const s=i.tagID;switch(s){case W.CAPTION:case W.TABLE:{n.openElements.hasInTableScope(W.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(W.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ct.IN_TABLE,s===W.TABLE&&gz(n,i));break}case W.BODY:case W.COL:case W.COLGROUP:case W.HTML:case W.TBODY:case W.TD:case W.TFOOT:case W.TH:case W.THEAD:case W.TR:break;default:cce(n,i)}}function b9e(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.COL:{n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.TEMPLATE:{zv(n,i);break}default:Nse(n,i)}}function Var(n,i){switch(i.tagID){case W.COLGROUP:{n.openElements.currentTagId===W.COLGROUP&&(n.openElements.pop(),n.insertionMode=ct.IN_TABLE);break}case W.TEMPLATE:{jR(n,i);break}case W.COL:break;default:Nse(n,i)}}function Nse(n,i){n.openElements.currentTagId===W.COLGROUP&&(n.openElements.pop(),n.insertionMode=ct.IN_TABLE,n._processToken(i))}function uce(n,i){switch(i.tagID){case W.TR:{n.openElements.clearBackToTableBodyContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_ROW;break}case W.TH:case W.TD:{n.openElements.clearBackToTableBodyContext(),n._insertFakeElement(Pt.TR,W.TR),n.insertionMode=ct.IN_ROW,lce(n,i);break}case W.CAPTION:case W.COL:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE,DM(n,i));break}default:DM(n,i)}}function bLe(n,i){const s=i.tagID;switch(i.tagID){case W.TBODY:case W.TFOOT:case W.THEAD:{n.openElements.hasInTableScope(s)&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE);break}case W.TABLE:{n.openElements.hasTableBodyContextInTableScope()&&(n.openElements.clearBackToTableBodyContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE,gz(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TD:case W.TH:case W.TR:break;default:gz(n,i)}}function lce(n,i){switch(i.tagID){case W.TH:case W.TD:{n.openElements.clearBackToTableRowContext(),n._insertElement(i,Fn.HTML),n.insertionMode=ct.IN_CELL,n.activeFormattingElements.insertMarker();break}case W.CAPTION:case W.COL:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:case W.TR:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE_BODY,uce(n,i));break}default:DM(n,i)}}function mXt(n,i){switch(i.tagID){case W.TR:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE_BODY);break}case W.TABLE:{n.openElements.hasInTableScope(W.TR)&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE_BODY,bLe(n,i));break}case W.TBODY:case W.TFOOT:case W.THEAD:{(n.openElements.hasInTableScope(i.tagID)||n.openElements.hasInTableScope(W.TR))&&(n.openElements.clearBackToTableRowContext(),n.openElements.pop(),n.insertionMode=ct.IN_TABLE_BODY,bLe(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:case W.TD:case W.TH:break;default:gz(n,i)}}function War(n,i){const s=i.tagID;bXt.has(s)?(n.openElements.hasInTableScope(W.TD)||n.openElements.hasInTableScope(W.TH))&&(n._closeTableCell(),lce(n,i)):Vp(n,i)}function Kar(n,i){const s=i.tagID;switch(s){case W.TD:case W.TH:{n.openElements.hasInTableScope(s)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(s),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=ct.IN_ROW);break}case W.TABLE:case W.TBODY:case W.TFOOT:case W.THEAD:case W.TR:{n.openElements.hasInTableScope(s)&&(n._closeTableCell(),mXt(n,i));break}case W.BODY:case W.CAPTION:case W.COL:case W.COLGROUP:case W.HTML:break;default:cce(n,i)}}function wXt(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.OPTION:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n._insertElement(i,Fn.HTML);break}case W.OPTGROUP:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop(),n._insertElement(i,Fn.HTML);break}case W.HR:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop(),n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.INPUT:case W.KEYGEN:case W.TEXTAREA:case W.SELECT:{n.openElements.hasInSelectScope(W.SELECT)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),i.tagID!==W.SELECT&&n._processStartTag(i));break}case W.SCRIPT:case W.TEMPLATE:{zv(n,i);break}}}function yXt(n,i){switch(i.tagID){case W.OPTGROUP:{n.openElements.stackTop>0&&n.openElements.currentTagId===W.OPTION&&n.openElements.tagIDs[n.openElements.stackTop-1]===W.OPTGROUP&&n.openElements.pop(),n.openElements.currentTagId===W.OPTGROUP&&n.openElements.pop();break}case W.OPTION:{n.openElements.currentTagId===W.OPTION&&n.openElements.pop();break}case W.SELECT:{n.openElements.hasInSelectScope(W.SELECT)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode());break}case W.TEMPLATE:{jR(n,i);break}}}function Yar(n,i){const s=i.tagID;s===W.CAPTION||s===W.TABLE||s===W.TBODY||s===W.TFOOT||s===W.THEAD||s===W.TR||s===W.TD||s===W.TH?(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),n._processStartTag(i)):wXt(n,i)}function Jar(n,i){const s=i.tagID;s===W.CAPTION||s===W.TABLE||s===W.TBODY||s===W.TFOOT||s===W.THEAD||s===W.TR||s===W.TD||s===W.TH?n.openElements.hasInTableScope(s)&&(n.openElements.popUntilTagNamePopped(W.SELECT),n._resetInsertionMode(),n.onEndTag(i)):yXt(n,i)}function Xar(n,i){switch(i.tagID){case W.BASE:case W.BASEFONT:case W.BGSOUND:case W.LINK:case W.META:case W.NOFRAMES:case W.SCRIPT:case W.STYLE:case W.TEMPLATE:case W.TITLE:{zv(n,i);break}case W.CAPTION:case W.COLGROUP:case W.TBODY:case W.TFOOT:case W.THEAD:{n.tmplInsertionModeStack[0]=ct.IN_TABLE,n.insertionMode=ct.IN_TABLE,DM(n,i);break}case W.COL:{n.tmplInsertionModeStack[0]=ct.IN_COLUMN_GROUP,n.insertionMode=ct.IN_COLUMN_GROUP,b9e(n,i);break}case W.TR:{n.tmplInsertionModeStack[0]=ct.IN_TABLE_BODY,n.insertionMode=ct.IN_TABLE_BODY,uce(n,i);break}case W.TD:case W.TH:{n.tmplInsertionModeStack[0]=ct.IN_ROW,n.insertionMode=ct.IN_ROW,lce(n,i);break}default:n.tmplInsertionModeStack[0]=ct.IN_BODY,n.insertionMode=ct.IN_BODY,Vp(n,i)}}function Zar(n,i){i.tagID===W.TEMPLATE&&jR(n,i)}function vXt(n,i){n.openElements.tmplCount>0?(n.openElements.popUntilTagNamePopped(W.TEMPLATE),n.activeFormattingElements.clearToLastMarker(),n.tmplInsertionModeStack.shift(),n._resetInsertionMode(),n.onEof(i)):g9e(n,i)}function Qar(n,i){i.tagID===W.HTML?Vp(n,i):Cse(n,i)}function EXt(n,i){var s;if(i.tagID===W.HTML){if(n.fragmentContext||(n.insertionMode=ct.AFTER_AFTER_BODY),n.options.sourceCodeLocationInfo&&n.openElements.tagIDs[0]===W.HTML){n._setEndLocation(n.openElements.items[0],i);const c=n.openElements.items[1];c&&!(!((s=n.treeAdapter.getNodeSourceCodeLocation(c))===null||s===void 0)&&s.endTag)&&n._setEndLocation(c,i)}}else Cse(n,i)}function Cse(n,i){n.insertionMode=ct.IN_BODY,ace(n,i)}function ecr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.FRAMESET:{n._insertElement(i,Fn.HTML);break}case W.FRAME:{n._appendElement(i,Fn.HTML),i.ackSelfClosing=!0;break}case W.NOFRAMES:{zv(n,i);break}}}function tcr(n,i){i.tagID===W.FRAMESET&&!n.openElements.isRootHtmlElementCurrent()&&(n.openElements.pop(),!n.fragmentContext&&n.openElements.currentTagId!==W.FRAMESET&&(n.insertionMode=ct.AFTER_FRAMESET))}function ncr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.NOFRAMES:{zv(n,i);break}}}function rcr(n,i){i.tagID===W.HTML&&(n.insertionMode=ct.AFTER_AFTER_FRAMESET)}function icr(n,i){i.tagID===W.HTML?Vp(n,i):loe(n,i)}function loe(n,i){n.insertionMode=ct.IN_BODY,ace(n,i)}function ocr(n,i){switch(i.tagID){case W.HTML:{Vp(n,i);break}case W.NOFRAMES:{zv(n,i);break}}}function scr(n,i){i.chars=Ou,n._insertCharacters(i)}function acr(n,i){n._insertCharacters(i),n.framesetOk=!1}function SXt(n){for(;n.treeAdapter.getNamespaceURI(n.openElements.current)!==Fn.HTML&&n.openElements.currentTagId!==void 0&&!n._isIntegrationPoint(n.openElements.currentTagId,n.openElements.current);)n.openElements.pop()}function ccr(n,i){if(Ssr(i))SXt(n),n._startTagOutsideForeignContent(i);else{const s=n._getAdjustedCurrentElement(),c=n.treeAdapter.getNamespaceURI(s);c===Fn.MATHML?iXt(i):c===Fn.SVG&&(Tsr(i),oXt(i)),h9e(i),i.selfClosing?n._appendElement(i,c):n._insertElement(i,c),i.ackSelfClosing=!0}}function ucr(n,i){if(i.tagID===W.P||i.tagID===W.BR){SXt(n),n._endTagOutsideForeignContent(i);return}for(let s=n.openElements.stackTop;s>0;s--){const c=n.openElements.items[s];if(n.treeAdapter.getNamespaceURI(c)===Fn.HTML){n._endTagOutsideForeignContent(i);break}const d=n.treeAdapter.getTagName(c);if(d.toLowerCase()===i.tagName){i.tagName=d,n.openElements.shortenToLength(s);break}}}Pt.AREA,Pt.BASE,Pt.BASEFONT,Pt.BGSOUND,Pt.BR,Pt.COL,Pt.EMBED,Pt.FRAME,Pt.HR,Pt.IMG,Pt.INPUT,Pt.KEYGEN,Pt.LINK,Pt.META,Pt.PARAM,Pt.SOURCE,Pt.TRACK,Pt.WBR;function lcr(n,i){return aXt.parse(n,i)}function dcr(n,i,s){typeof n=="string"&&(s=i,i=n,n=null);const c=aXt.getFragmentParser(n,s);return c.tokenizer.write(i,!0),c.getFragment()}function fcr(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?I$t(n.position):"start"in n||"end"in n?I$t(n):"line"in n||"column"in n?mLe(n):""}function mLe(n){return R$t(n&&n.line)+":"+R$t(n&&n.column)}function I$t(n){return mLe(n&&n.start)+"-"+mLe(n&&n.end)}function R$t(n){return n&&typeof n=="number"?n:1}class Yg extends Error{constructor(i,s,c){super(),typeof s=="string"&&(c=s,s=void 0);let d="",g={},b=!1;if(s&&("line"in s&&"column"in s?g={place:s}:"start"in s&&"end"in s?g={place:s}:"type"in s?g={ancestors:[s],place:s.position}:g={...s}),typeof i=="string"?d=i:!g.cause&&i&&(b=!0,d=i.message,g.cause=i),!g.ruleId&&!g.source&&typeof c=="string"){const E=c.indexOf(":");E===-1?g.ruleId=c:(g.source=c.slice(0,E),g.ruleId=c.slice(E+1))}if(!g.place&&g.ancestors&&g.ancestors){const E=g.ancestors[g.ancestors.length-1];E&&(g.place=E.position)}const w=g.place&&"start"in g.place?g.place.start:g.place;this.ancestors=g.ancestors||void 0,this.cause=g.cause||void 0,this.column=w?w.column:void 0,this.fatal=void 0,this.file="",this.message=d,this.line=w?w.line:void 0,this.name=fcr(g.place)||"1:1",this.place=g.place||void 0,this.reason=this.message,this.ruleId=g.ruleId||void 0,this.source=g.source||void 0,this.stack=b&&g.cause&&typeof g.cause.stack=="string"?g.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Yg.prototype.file="";Yg.prototype.name="";Yg.prototype.reason="";Yg.prototype.message="";Yg.prototype.stack="";Yg.prototype.column=void 0;Yg.prototype.line=void 0;Yg.prototype.ancestors=void 0;Yg.prototype.cause=void 0;Yg.prototype.fatal=void 0;Yg.prototype.place=void 0;Yg.prototype.ruleId=void 0;Yg.prototype.source=void 0;const N2={basename:hcr,dirname:pcr,extname:gcr,join:bcr,sep:"/"};function hcr(n,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');Wz(n);let s=0,c=-1,d=n.length,g;if(i===void 0||i.length===0||i.length>n.length){for(;d--;)if(n.codePointAt(d)===47){if(g){s=d+1;break}}else c<0&&(g=!0,c=d+1);return c<0?"":n.slice(s,c)}if(i===n)return"";let b=-1,w=i.length-1;for(;d--;)if(n.codePointAt(d)===47){if(g){s=d+1;break}}else b<0&&(g=!0,b=d+1),w>-1&&(n.codePointAt(d)===i.codePointAt(w--)?w<0&&(c=d):(w=-1,c=b));return s===c?c=b:c<0&&(c=n.length),n.slice(s,c)}function pcr(n){if(Wz(n),n.length===0)return".";let i=-1,s=n.length,c;for(;--s;)if(n.codePointAt(s)===47){if(c){i=s;break}}else c||(c=!0);return i<0?n.codePointAt(0)===47?"/":".":i===1&&n.codePointAt(0)===47?"//":n.slice(0,i)}function gcr(n){Wz(n);let i=n.length,s=-1,c=0,d=-1,g=0,b;for(;i--;){const w=n.codePointAt(i);if(w===47){if(b){c=i+1;break}continue}s<0&&(b=!0,s=i+1),w===46?d<0?d=i:g!==1&&(g=1):d>-1&&(g=-1)}return d<0||s<0||g===0||g===1&&d===s-1&&d===c+1?"":n.slice(d,s)}function bcr(...n){let i=-1,s;for(;++i<n.length;)Wz(n[i]),n[i]&&(s=s===void 0?n[i]:s+"/"+n[i]);return s===void 0?".":mcr(s)}function mcr(n){Wz(n);const i=n.codePointAt(0)===47;let s=wcr(n,!i);return s.length===0&&!i&&(s="."),s.length>0&&n.codePointAt(n.length-1)===47&&(s+="/"),i?"/"+s:s}function wcr(n,i){let s="",c=0,d=-1,g=0,b=-1,w,E;for(;++b<=n.length;){if(b<n.length)w=n.codePointAt(b);else{if(w===47)break;w=47}if(w===47){if(!(d===b-1||g===1))if(d!==b-1&&g===2){if(s.length<2||c!==2||s.codePointAt(s.length-1)!==46||s.codePointAt(s.length-2)!==46){if(s.length>2){if(E=s.lastIndexOf("/"),E!==s.length-1){E<0?(s="",c=0):(s=s.slice(0,E),c=s.length-1-s.lastIndexOf("/")),d=b,g=0;continue}}else if(s.length>0){s="",c=0,d=b,g=0;continue}}i&&(s=s.length>0?s+"/..":"..",c=2)}else s.length>0?s+="/"+n.slice(d+1,b):s=n.slice(d+1,b),c=b-d-1;d=b,g=0}else w===46&&g>-1?g++:g=-1}return s}function Wz(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const ycr={cwd:vcr};function vcr(){return"/"}function wLe(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function Ecr(n){if(typeof n=="string")n=new URL(n);else if(!wLe(n)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(n.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return Scr(n)}function Scr(n){if(n.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const i=n.pathname;let s=-1;for(;++s<i.length;)if(i.codePointAt(s)===37&&i.codePointAt(s+1)===50){const c=i.codePointAt(s+2);if(c===70||c===102){const d=new TypeError("File URL path must not include encoded / characters");throw d.code="ERR_INVALID_FILE_URL_PATH",d}}return decodeURIComponent(i)}const e6e=["history","path","basename","stem","extname","dirname"];class yLe{constructor(i){let s;i?wLe(i)?s={path:i}:typeof i=="string"||Tcr(i)?s={value:i}:s=i:s={},this.cwd="cwd"in s?"":ycr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<e6e.length;){const g=e6e[c];g in s&&s[g]!==void 0&&s[g]!==null&&(this[g]=g==="history"?[...s[g]]:s[g])}let d;for(d in s)e6e.includes(d)||(this[d]=s[d])}get basename(){return typeof this.path=="string"?N2.basename(this.path):void 0}set basename(i){n6e(i,"basename"),t6e(i,"basename"),this.path=N2.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?N2.dirname(this.path):void 0}set dirname(i){O$t(this.basename,"dirname"),this.path=N2.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?N2.extname(this.path):void 0}set extname(i){if(t6e(i,"extname"),O$t(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=N2.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){wLe(i)&&(i=Ecr(i)),n6e(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?N2.basename(this.path,this.extname):void 0}set stem(i){n6e(i,"stem"),t6e(i,"stem"),this.path=N2.join(this.dirname||"",i+(this.extname||""))}fail(i,s,c){const d=this.message(i,s,c);throw d.fatal=!0,d}info(i,s,c){const d=this.message(i,s,c);return d.fatal=void 0,d}message(i,s,c){const d=new Yg(i,s,c);return this.path&&(d.name=this.path+":"+d.name,d.file=this.path),d.fatal=!1,this.messages.push(d),d}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function t6e(n,i){if(n&&n.includes(N2.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+N2.sep+"`")}function n6e(n,i){if(!n)throw new Error("`"+i+"` cannot be empty")}function O$t(n,i){if(!n)throw new Error("Setting `"+i+"` requires `path` to be set too")}function Tcr(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Acr={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},_cr="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",xcr=/-[a-z]/g,kcr=/%c(?:([-+])(\d+))?/g,Ncr=/%x/g,Ccr={2:!0,1:!1,0:null},Icr={};function Rcr(n,i){const s=i||Icr,c=s.onerror,d=n instanceof yLe?n:new yLe(n),g=s.fragment?dcr:lcr,b=String(d),w=g(b,{sourceCodeLocationInfo:!0,onParseError:s.onerror?E:null,scriptingEnabled:!1});return Oor(w,{file:d,space:s.space,verbose:s.verbose});function E(S){const _=S.code,A=Ocr(_),C=s[A],O=C??!0,L=typeof O=="number"?O:O?1:0;if(L){const B=Acr[A],$=new Yg(D(B.reason),{place:{start:{line:S.startLine,column:S.startCol,offset:S.startOffset},end:{line:S.endLine,column:S.endCol,offset:S.endOffset}},ruleId:_,source:"hast-util-from-html"});d.path&&($.file=d.path,$.name=d.path+":"+$.name),$.fatal=Ccr[L],$.note=D(B.description),$.url=B.url===!1?void 0:_cr+_,c($)}function D(B){return B.replace(kcr,$).replace(Ncr,P);function $(j,z,ee){const ne=(ee?Number.parseInt(ee,10):0)*(z==="-"?-1:1),Q=b.charAt(S.startOffset+ne);return Lcr(Q)}function P(){return Mcr(b.charCodeAt(S.startOffset))}}}}function Ocr(n){return n.replace(xcr,Dcr)}function Dcr(n){return n.charAt(1).toUpperCase()}function Lcr(n){return n==="`"?"` ` `":n}function Mcr(n){return"0x"+n.toString(16).toUpperCase()}function Pcr(n){const i=this,{emitParseErrors:s,...c}={...i.data("settings"),...n};i.parser=d;function d(g,b){return Rcr(g,{...c,onerror:s?function(w){b.path&&(w.name=b.path+":"+w.name,w.file=b.path),b.messages.push(w)}:void 0})}}const jcr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],D$t={}.hasOwnProperty;function Fcr(n,i){const s=i||{};function c(d,...g){let b=c.invalid;const w=c.handlers;if(d&&D$t.call(d,n)){const E=String(d[n]);b=D$t.call(w,E)?w[E]:c.unknown}if(b)return b.call(this,d,...g)}return c.handlers=s.handlers||{},c.invalid=s.invalid,c.unknown=s.unknown,c}const $cr=/["&'<>`]/g,Bcr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ucr=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Hcr=/[|\\{}()[\]^$+*?.]/g,L$t=new WeakMap;function zcr(n,i){if(n=n.replace(i.subset?Gcr(i.subset):$cr,c),i.subset||i.escapeOnly)return n;return n.replace(Bcr,s).replace(Ucr,c);function s(d,g,b){return i.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,b.charCodeAt(g+2),i)}function c(d,g,b){return i.format(d.charCodeAt(0),b.charCodeAt(g+1),i)}}function Gcr(n){let i=L$t.get(n);return i||(i=qcr(n),L$t.set(n,i)),i}function qcr(n){const i=[];let s=-1;for(;++s<n.length;)i.push(n[s].replace(Hcr,"\\$&"));return new RegExp("(?:"+i.join("|")+")","g")}const Vcr=/[\dA-Fa-f]/;function Wcr(n,i,s){const c="&#x"+n.toString(16).toUpperCase();return s&&i&&!Vcr.test(String.fromCharCode(i))?c:c+";"}const Kcr=/\d/;function Ycr(n,i,s){const c="&#"+String(n);return s&&i&&!Kcr.test(String.fromCharCode(i))?c:c+";"}const TXt=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],r6e={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Jcr=["cent","copy","divide","gt","lt","not","para","times"],AXt={}.hasOwnProperty,vLe={};let jie;for(jie in r6e)AXt.call(r6e,jie)&&(vLe[r6e[jie]]=jie);const Xcr=/[^\dA-Za-z]/;function Zcr(n,i,s,c){const d=String.fromCharCode(n);if(AXt.call(vLe,d)){const g=vLe[d],b="&"+g;return s&&TXt.includes(g)&&!Jcr.includes(g)&&(!c||i&&i!==61&&Xcr.test(String.fromCharCode(i)))?b:b+";"}return""}function Qcr(n,i,s){let c=Wcr(n,i,s.omitOptionalSemicolons),d;if((s.useNamedReferences||s.useShortestReferences)&&(d=Zcr(n,i,s.omitOptionalSemicolons,s.attribute)),(s.useShortestReferences||!d)&&s.useShortestReferences){const g=Ycr(n,i,s.omitOptionalSemicolons);g.length<c.length&&(c=g)}return d&&(!s.useShortestReferences||d.length<c.length)?d:c}function lM(n,i){return zcr(n,Object.assign({format:Qcr},i))}const eur=/^>|^->|<!--|-->|--!>|<!-$/g,tur=[">"],nur=["<",">"];function rur(n,i,s,c){return c.settings.bogusComments?"<?"+lM(n.value,Object.assign({},c.settings.characterReferences,{subset:tur}))+">":"<!--"+n.value.replace(eur,d)+"-->";function d(g){return lM(g,Object.assign({},c.settings.characterReferences,{subset:nur}))}}function iur(n,i,s,c){return"<!"+(c.settings.upperDoctype?"DOCTYPE":"doctype")+(c.settings.tightDoctype?"":" ")+"html>"}function M$t(n,i){const s=String(n);if(typeof i!="string")throw new TypeError("Expected character");let c=0,d=s.indexOf(i);for(;d!==-1;)c++,d=s.indexOf(i,d+i.length);return c}const our=/[ \t\n\f\r]/g;function m9e(n){return typeof n=="object"?n.type==="text"?P$t(n.value):!1:P$t(n)}function P$t(n){return n.replace(our,"")===""}const Tf=xXt(1),_Xt=xXt(-1),sur=[];function xXt(n){return i;function i(s,c,d){const g=s?s.children:sur;let b=(c||0)+n,w=g[b];if(!d)for(;w&&m9e(w);)b+=n,w=g[b];return w}}const aur={}.hasOwnProperty;function kXt(n){return i;function i(s,c,d){return aur.call(n,s.tagName)&&n[s.tagName](s,c,d)}}const w9e=kXt({body:uur,caption:i6e,colgroup:i6e,dd:hur,dt:fur,head:i6e,html:cur,li:dur,optgroup:pur,option:gur,p:lur,rp:j$t,rt:j$t,tbody:mur,td:F$t,tfoot:wur,th:F$t,thead:bur,tr:yur});function i6e(n,i,s){const c=Tf(s,i,!0);return!c||c.type!=="comment"&&!(c.type==="text"&&m9e(c.value.charAt(0)))}function cur(n,i,s){const c=Tf(s,i);return!c||c.type!=="comment"}function uur(n,i,s){const c=Tf(s,i);return!c||c.type!=="comment"}function lur(n,i,s){const c=Tf(s,i);return c?c.type==="element"&&(c.tagName==="address"||c.tagName==="article"||c.tagName==="aside"||c.tagName==="blockquote"||c.tagName==="details"||c.tagName==="div"||c.tagName==="dl"||c.tagName==="fieldset"||c.tagName==="figcaption"||c.tagName==="figure"||c.tagName==="footer"||c.tagName==="form"||c.tagName==="h1"||c.tagName==="h2"||c.tagName==="h3"||c.tagName==="h4"||c.tagName==="h5"||c.tagName==="h6"||c.tagName==="header"||c.tagName==="hgroup"||c.tagName==="hr"||c.tagName==="main"||c.tagName==="menu"||c.tagName==="nav"||c.tagName==="ol"||c.tagName==="p"||c.tagName==="pre"||c.tagName==="section"||c.tagName==="table"||c.tagName==="ul"):!s||!(s.type==="element"&&(s.tagName==="a"||s.tagName==="audio"||s.tagName==="del"||s.tagName==="ins"||s.tagName==="map"||s.tagName==="noscript"||s.tagName==="video"))}function dur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&c.tagName==="li"}function fur(n,i,s){const c=Tf(s,i);return!!(c&&c.type==="element"&&(c.tagName==="dt"||c.tagName==="dd"))}function hur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="dt"||c.tagName==="dd")}function j$t(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="rp"||c.tagName==="rt")}function pur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&c.tagName==="optgroup"}function gur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="option"||c.tagName==="optgroup")}function bur(n,i,s){const c=Tf(s,i);return!!(c&&c.type==="element"&&(c.tagName==="tbody"||c.tagName==="tfoot"))}function mur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="tbody"||c.tagName==="tfoot")}function wur(n,i,s){return!Tf(s,i)}function yur(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&c.tagName==="tr"}function F$t(n,i,s){const c=Tf(s,i);return!c||c.type==="element"&&(c.tagName==="td"||c.tagName==="th")}const vur=kXt({body:Tur,colgroup:Aur,head:Sur,html:Eur,tbody:_ur});function Eur(n){const i=Tf(n,-1);return!i||i.type!=="comment"}function Sur(n){const i=new Set;for(const c of n.children)if(c.type==="element"&&(c.tagName==="base"||c.tagName==="title")){if(i.has(c.tagName))return!1;i.add(c.tagName)}const s=n.children[0];return!s||s.type==="element"}function Tur(n){const i=Tf(n,-1,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&m9e(i.value.charAt(0)))&&!(i.type==="element"&&(i.tagName==="meta"||i.tagName==="link"||i.tagName==="script"||i.tagName==="style"||i.tagName==="template"))}function Aur(n,i,s){const c=_Xt(s,i),d=Tf(n,-1,!0);return s&&c&&c.type==="element"&&c.tagName==="colgroup"&&w9e(c,s.children.indexOf(c),s)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function _ur(n,i,s){const c=_Xt(s,i),d=Tf(n,-1);return s&&c&&c.type==="element"&&(c.tagName==="thead"||c.tagName==="tbody")&&w9e(c,s.children.indexOf(c),s)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const Fie={name:[[`
\f\r &/=>`.split(""),`
\f\r "&'/=>\``.split("")],[`\0
\f\r "&'/<=>`.split(""),`\0
\f\r "&'/<=>\``.split("")]],unquoted:[[`
\f\r &>`.split(""),`\0
\f\r "&'<=>\``.split("")],[`\0
\f\r "&'<=>\``.split(""),`\0
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function xur(n,i,s,c){const d=c.schema,g=d.space==="svg"?!1:c.settings.omitOptionalTags;let b=d.space==="svg"?c.settings.closeEmptyElements:c.settings.voids.includes(n.tagName.toLowerCase());const w=[];let E;d.space==="html"&&n.tagName==="svg"&&(c.schema=qz);const S=kur(c,n.properties),_=c.all(d.space==="html"&&n.tagName==="template"?n.content:n);return c.schema=d,_&&(b=!1),(S||!g||!vur(n,i,s))&&(w.push("<",n.tagName,S?" "+S:""),b&&(d.space==="svg"||c.settings.closeSelfClosing)&&(E=S.charAt(S.length-1),(!c.settings.tightSelfClosing||E==="/"||E&&E!=='"'&&E!=="'")&&w.push(" "),w.push("/")),w.push(">")),w.push(_),!b&&(!g||!w9e(n,i,s))&&w.push("</"+n.tagName+">"),w.join("")}function kur(n,i){const s=[];let c=-1,d;if(i){for(d in i)if(i[d]!==null&&i[d]!==void 0){const g=Nur(n,d,i[d]);g&&s.push(g)}}for(;++c<s.length;){const g=n.settings.tightAttributes?s[c].charAt(s[c].length-1):void 0;c!==s.length-1&&g!=='"'&&g!=="'"&&(s[c]+=" ")}return s.join("")}function Nur(n,i,s){const c=d9e(n.schema,i),d=n.settings.allowParseErrors&&n.schema.space==="html"?0:1,g=n.settings.allowDangerousCharacters?0:1;let b=n.quote,w;if(c.overloadedBoolean&&(s===c.attribute||s==="")?s=!0:(c.boolean||c.overloadedBoolean)&&(typeof s!="string"||s===c.attribute||s==="")&&(s=!!s),s==null||s===!1||typeof s=="number"&&Number.isNaN(s))return"";const E=lM(c.attribute,Object.assign({},n.settings.characterReferences,{subset:Fie.name[d][g]}));return s===!0||(s=Array.isArray(s)?(c.commaSeparated?yor:Eor)(s,{padLeft:!n.settings.tightCommaSeparatedLists}):String(s),n.settings.collapseEmptyAttributes&&!s)?E:(n.settings.preferUnquoted&&(w=lM(s,Object.assign({},n.settings.characterReferences,{attribute:!0,subset:Fie.unquoted[d][g]}))),w!==s&&(n.settings.quoteSmart&&M$t(s,b)>M$t(s,n.alternative)&&(b=n.alternative),w=b+lM(s,Object.assign({},n.settings.characterReferences,{subset:(b==="'"?Fie.single:Fie.double)[d][g],attribute:!0}))+b),E+(w&&"="+w))}const Cur=["<","&"];function NXt(n,i,s,c){return s&&s.type==="element"&&(s.tagName==="script"||s.tagName==="style")?n.value:lM(n.value,Object.assign({},c.settings.characterReferences,{subset:Cur}))}function Iur(n,i,s,c){return c.settings.allowDangerousHtml?n.value:NXt(n,i,s,c)}function Rur(n,i,s,c){return c.all(n)}const Our=Fcr("type",{invalid:Dur,unknown:Lur,handlers:{comment:rur,doctype:iur,element:xur,raw:Iur,root:Rur,text:NXt}});function Dur(n){throw new Error("Expected node, not `"+n+"`")}function Lur(n){const i=n;throw new Error("Cannot compile unknown node `"+i.type+"`")}const Mur={},Pur={},jur=[];function Fur(n,i){const s=i||Mur,c=s.quote||'"',d=c==='"'?"'":'"';if(c!=='"'&&c!=="'")throw new Error("Invalid quote `"+c+"`, expected `'` or `\"`");return{one:$ur,all:Bur,settings:{omitOptionalTags:s.omitOptionalTags||!1,allowParseErrors:s.allowParseErrors||!1,allowDangerousCharacters:s.allowDangerousCharacters||!1,quoteSmart:s.quoteSmart||!1,preferUnquoted:s.preferUnquoted||!1,tightAttributes:s.tightAttributes||!1,upperDoctype:s.upperDoctype||!1,tightDoctype:s.tightDoctype||!1,bogusComments:s.bogusComments||!1,tightCommaSeparatedLists:s.tightCommaSeparatedLists||!1,tightSelfClosing:s.tightSelfClosing||!1,collapseEmptyAttributes:s.collapseEmptyAttributes||!1,allowDangerousHtml:s.allowDangerousHtml||!1,voids:s.voids||jcr,characterReferences:s.characterReferences||Pur,closeSelfClosing:s.closeSelfClosing||!1,closeEmptyElements:s.closeEmptyElements||!1},schema:s.space==="svg"?qz:oce,quote:c,alternative:d}.one(Array.isArray(n)?{type:"root",children:n}:n,void 0,void 0)}function $ur(n,i,s){return Our(n,i,s,this)}function Bur(n){const i=[],s=n&&n.children||jur;let c=-1;for(;++c<s.length;)i[c]=this.one(s[c],c,n);return i.join("")}function Uur(n){const i=this,s={...i.data("settings"),...n};i.compiler=c;function c(d){return Fur(d,s)}}function $$t(n){if(n)throw n}var doe=Object.prototype.hasOwnProperty,CXt=Object.prototype.toString,B$t=Object.defineProperty,U$t=Object.getOwnPropertyDescriptor,H$t=function(i){return typeof Array.isArray=="function"?Array.isArray(i):CXt.call(i)==="[object Array]"},z$t=function(i){if(!i||CXt.call(i)!=="[object Object]")return!1;var s=doe.call(i,"constructor"),c=i.constructor&&i.constructor.prototype&&doe.call(i.constructor.prototype,"isPrototypeOf");if(i.constructor&&!s&&!c)return!1;var d;for(d in i);return typeof d>"u"||doe.call(i,d)},G$t=function(i,s){B$t&&s.name==="__proto__"?B$t(i,s.name,{enumerable:!0,configurable:!0,value:s.newValue,writable:!0}):i[s.name]=s.newValue},q$t=function(i,s){if(s==="__proto__")if(doe.call(i,s)){if(U$t)return U$t(i,s).value}else return;return i[s]},Hur=function n(){var i,s,c,d,g,b,w=arguments[0],E=1,S=arguments.length,_=!1;for(typeof w=="boolean"&&(_=w,w=arguments[1]||{},E=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});E<S;++E)if(i=arguments[E],i!=null)for(s in i)c=q$t(w,s),d=q$t(i,s),w!==d&&(_&&d&&(z$t(d)||(g=H$t(d)))?(g?(g=!1,b=c&&H$t(c)?c:[]):b=c&&z$t(c)?c:{},G$t(w,{name:s,newValue:n(_,b,d)})):typeof d<"u"&&G$t(w,{name:s,newValue:d}));return w};const o6e=TR(Hur);function ELe(n){if(typeof n!="object"||n===null)return!1;const i=Object.getPrototypeOf(n);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function zur(){const n=[],i={run:s,use:c};return i;function s(...d){let g=-1;const b=d.pop();if(typeof b!="function")throw new TypeError("Expected function as last argument, not "+b);w(null,...d);function w(E,...S){const _=n[++g];let A=-1;if(E){b(E);return}for(;++A<d.length;)(S[A]===null||S[A]===void 0)&&(S[A]=d[A]);d=S,_?Gur(_,w)(...S):b(null,...S)}}function c(d){if(typeof d!="function")throw new TypeError("Expected `middelware` to be a function, not "+d);return n.push(d),i}}function Gur(n,i){let s;return c;function c(...b){const w=n.length>b.length;let E;w&&b.push(d);try{E=n.apply(this,b)}catch(S){const _=S;if(w&&s)throw _;return d(_)}w||(E&&E.then&&typeof E.then=="function"?E.then(g,d):E instanceof Error?d(E):g(E))}function d(b,...w){s||(s=!0,i(b,...w))}function g(b){d(null,b)}}const qur=function(n){const c=this.constructor.prototype,d=c[n],g=function(){return d.apply(g,arguments)};return Object.setPrototypeOf(g,c),g},Vur={}.hasOwnProperty;class y9e extends qur{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=zur()}copy(){const i=new y9e;let s=-1;for(;++s<this.attachers.length;){const c=this.attachers[s];i.use(...c)}return i.data(o6e(!0,{},this.namespace)),i}data(i,s){return typeof i=="string"?arguments.length===2?(c6e("data",this.frozen),this.namespace[i]=s,this):Vur.call(this.namespace,i)&&this.namespace[i]||void 0:i?(c6e("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[s,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const d=s.call(i,...c);typeof d=="function"&&this.transformers.use(d)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const s=$ie(i),c=this.parser||this.Parser;return s6e("parse",c),c(String(s),s)}process(i,s){const c=this;return this.freeze(),s6e("process",this.parser||this.Parser),a6e("process",this.compiler||this.Compiler),s?d(void 0,s):new Promise(d);function d(g,b){const w=$ie(i),E=c.parse(w);c.run(E,w,function(_,A,C){if(_||!A||!C)return S(_);const O=A,L=c.stringify(O,C);Yur(L)?C.value=L:C.result=L,S(_,C)});function S(_,A){_||!A?b(_):g?g(A):s(void 0,A)}}}processSync(i){let s=!1,c;return this.freeze(),s6e("processSync",this.parser||this.Parser),a6e("processSync",this.compiler||this.Compiler),this.process(i,d),W$t("processSync","process",s),c;function d(g,b){s=!0,$$t(g),c=b}}run(i,s,c){V$t(i),this.freeze();const d=this.transformers;return!c&&typeof s=="function"&&(c=s,s=void 0),c?g(void 0,c):new Promise(g);function g(b,w){const E=$ie(s);d.run(i,E,S);function S(_,A,C){const O=A||i;_?w(_):b?b(O):c(void 0,O,C)}}}runSync(i,s){let c=!1,d;return this.run(i,s,g),W$t("runSync","run",c),d;function g(b,w){$$t(b),d=w,c=!0}}stringify(i,s){this.freeze();const c=$ie(s),d=this.compiler||this.Compiler;return a6e("stringify",d),V$t(i),d(i,c)}use(i,...s){const c=this.attachers,d=this.namespace;if(c6e("use",this.frozen),i!=null)if(typeof i=="function")E(i,s);else if(typeof i=="object")Array.isArray(i)?w(i):b(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function g(S){if(typeof S=="function")E(S,[]);else if(typeof S=="object")if(Array.isArray(S)){const[_,...A]=S;E(_,A)}else b(S);else throw new TypeError("Expected usable value, not `"+S+"`")}function b(S){if(!("plugins"in S)&&!("settings"in S))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");w(S.plugins),S.settings&&(d.settings=o6e(!0,d.settings,S.settings))}function w(S){let _=-1;if(S!=null)if(Array.isArray(S))for(;++_<S.length;){const A=S[_];g(A)}else throw new TypeError("Expected a list of plugins, not `"+S+"`")}function E(S,_){let A=-1,C=-1;for(;++A<c.length;)if(c[A][0]===S){C=A;break}if(C===-1)c.push([S,..._]);else if(_.length>0){let[O,...L]=_;const D=c[C][1];ELe(D)&&ELe(O)&&(O=o6e(!0,D,O)),c[C]=[S,O,...L]}}}}const Wur=new y9e().freeze();function s6e(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function a6e(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function c6e(n,i){if(i)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function V$t(n){if(!ELe(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function W$t(n,i,s){if(!s)throw new Error("`"+n+"` finished async. Use `"+i+"` instead")}function $ie(n){return Kur(n)?n:new yLe(n)}function Kur(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function Yur(n){return typeof n=="string"||Jur(n)}function Jur(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Xur=Wur().use(Pcr).use(Uur).freeze();var Zur=function(i,s){return s===void 0&&(s=[]),Xur().data("settings",{fragment:!0}).use([...s]).processSync(""+i).toString()};function Qur(n){return n.replace(/```(tsx?|jsx?|html|xml)(.*)\s+([\s\S]*?)(\s.+)?```/g,i=>i.replace(/[<&"]/g,s=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"})[s])).replace(/[<&"]/g,i=>({"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"})[i])}function u6e(n){n.stopPropagation(),n.preventDefault()}class elr{constructor(i){this.elm=void 0,this.start=void 0,this.end=void 0,this.value=void 0;var{selectionStart:s,selectionEnd:c}=i;this.elm=i,this.start=s,this.end=c,this.value=this.elm.value}position(i,s){var{selectionStart:c,selectionEnd:d}=this.elm;return this.start=typeof i=="number"&&!isNaN(i)?i:c,this.end=typeof s=="number"&&!isNaN(s)?s:d,this.elm.selectionStart=this.start,this.elm.selectionEnd=this.end,this}insertText(i){return this.elm.focus(),this.elm.setRangeText(i),this.value=this.elm.value,this.position(),this}getSelectedValue(i,s){var{selectionStart:c,selectionEnd:d}=this.elm;return this.value.slice(typeof i=="number"&&!isNaN(i)?i:c,typeof s=="number"&&!isNaN(s)?i:d)}getLineStartNumber(){for(var i=this.start;i>0;)if(i--,this.value.charAt(i)===`
`){i++;break}return i}getIndentText(){var i=this.getLineStartNumber(),s=this.getSelectedValue(i),c="";return s.replace(/(^(\s)+)/,(d,g)=>c=g),c}lineStarInstert(i){if(i){var s=this.start,c=this.getLineStartNumber(),d=this.getSelectedValue(c);this.position(c,this.end).insertText(d.split(`
`).map(g=>i+g).join(`
`)).position(s+i.length,this.end)}return this}lineStarRemove(i){if(i){var s=this.start,c=this.getLineStartNumber(),d=this.getSelectedValue(c),g=new RegExp("^"+i,"g"),b=s-i.length;g.test(d)||(b=s),this.position(c,this.end).insertText(d.split(`
`).map(w=>w.replace(g,"")).join(`
`)).position(b,this.end)}}notifyChange(){var i=new Event("input",{bubbles:!0,cancelable:!1});this.elm.dispatchEvent(i)}}function tlr(n,i){i===void 0&&(i=2);var s=new elr(n.target),c=(n.code||n.nativeEvent.code).toLocaleLowerCase(),d=" ".repeat(i);if(c==="tab")u6e(n),s.start===s.end?n.shiftKey?s.lineStarRemove(d):s.insertText(d).position(s.start+i,s.end+i):s.getSelectedValue().indexOf(`
`)>-1&&n.shiftKey?s.lineStarRemove(d):s.getSelectedValue().indexOf(`
`)>-1?s.lineStarInstert(d):s.insertText(d).position(s.start+i,s.end),s.notifyChange();else if(c==="enter"){u6e(n);var g=`
`+s.getIndentText();s.insertText(g).position(s.start+g.length,s.start+g.length),s.notifyChange()}else if(c&&/^(quote|backquote|bracketleft|digit9|comma)$/.test(c)&&s.getSelectedValue()){u6e(n);var b=s.getSelectedValue(),w="";switch(c){case"quote":w="'"+b+"'",n.shiftKey&&(w='"'+b+'"');break;case"backquote":w="`"+b+"`";break;case"bracketleft":w="["+b+"]",n.shiftKey&&(w="{"+b+"}");break;case"digit9":w="("+b+")";break;case"comma":w="<"+b+">";break}s.insertText(w),s.notifyChange()}}var nlr={position:"relative",textAlign:"left",boxSizing:"border-box",padding:0,overflow:"hidden"},rlr={position:"absolute",top:0,left:0,height:"100%",width:"100%",resize:"none",color:"inherit",opacity:.8,overflow:"hidden",MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",WebkitTextFillColor:"transparent"},K$t={margin:0,border:0,background:"none",boxSizing:"inherit",display:"inherit",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontVariantLigatures:"inherit",fontWeight:"inherit",letterSpacing:"inherit",lineHeight:"inherit",tabSize:"inherit",textIndent:"inherit",textRendering:"inherit",textTransform:"inherit",whiteSpace:"pre-wrap",wordBreak:"keep-all",overflowWrap:"break-word",outline:0},ilr=["prefixCls","value","padding","minHeight","placeholder","language","data-color-mode","className","style","rehypePlugins","onChange","indentWidth"];const olr=Hn.forwardRef((n,i)=>{var{prefixCls:s="w-tc-editor",padding:c=10,minHeight:d=16,placeholder:g,language:b,"data-color-mode":w,className:E,style:S,rehypePlugins:_,onChange:A,indentWidth:C=2}=n,O=FJt(n,ilr),[L,D]=H.useState(n.value||"");H.useEffect(()=>D(n.value||""),[n.value]);var B=H.useRef(null);H.useImperativeHandle(i,()=>B.current,[B]);var $={paddingTop:c,paddingRight:c,paddingBottom:c,paddingLeft:c},P=H.useMemo(()=>Zur("<pre aria-hidden=true><code "+(b&&L?'class="language-'+b+'"':"")+" >"+Qur(String(L||""))+"</code><br /></pre>",_),[L,b,_]),j=H.useMemo(()=>I.jsx("div",{style:Hk({},K$t,$,{minHeight:d}),className:s+"-preview "+(b?"language-"+b:""),dangerouslySetInnerHTML:{__html:P}}),[s,b,P]),z=Q=>{D(Q.target.value),A&&A(Q)},ee=Q=>{O.readOnly||(!O.onKeyDown||O.onKeyDown(Q)!==!1)&&tlr(Q,C)},ne=Hk({autoComplete:"off",autoCorrect:"off",spellCheck:"false",autoCapitalize:"off"},O,{placeholder:g,onKeyDown:ee,style:Hk({},K$t,rlr,$,{minHeight:d},g&&!L?{WebkitTextFillColor:"inherit"}:{}),onChange:z,className:s+"-text",value:L});return I.jsxs("div",{style:Hk({},nlr,S),className:s+" "+(E||""),"data-color-mode":w,children:[I.jsx("textarea",Hk({},ne,{ref:B})),j]})}),v9e=function(n){if(n==null)return ulr;if(typeof n=="function")return dce(n);if(typeof n=="object")return Array.isArray(n)?slr(n):alr(n);if(typeof n=="string")return clr(n);throw new Error("Expected function, string, or object as test")};function slr(n){const i=[];let s=-1;for(;++s<n.length;)i[s]=v9e(n[s]);return dce(c);function c(...d){let g=-1;for(;++g<i.length;)if(i[g].apply(this,d))return!0;return!1}}function alr(n){const i=n;return dce(s);function s(c){const d=c;let g;for(g in n)if(d[g]!==i[g])return!1;return!0}}function clr(n){return dce(i);function i(s){return s&&s.type===n}}function dce(n){return i;function i(s,c,d){return!!(llr(s)&&n.call(this,s,typeof c=="number"?c:void 0,d||void 0))}}function ulr(){return!0}function llr(n){return n!==null&&typeof n=="object"&&"type"in n}const IXt=[],dlr=!0,Y$t=!1,flr="skip";function hlr(n,i,s,c){let d;typeof i=="function"&&typeof s!="function"?(c=s,s=i):d=i;const g=v9e(d),b=c?-1:1;w(n,void 0,[])();function w(E,S,_){const A=E&&typeof E=="object"?E:{};if(typeof A.type=="string"){const O=typeof A.tagName=="string"?A.tagName:typeof A.name=="string"?A.name:void 0;Object.defineProperty(C,"name",{value:"node ("+(E.type+(O?"<"+O+">":""))+")"})}return C;function C(){let O=IXt,L,D,B;if((!i||g(E,S,_[_.length-1]||void 0))&&(O=plr(s(E,_)),O[0]===Y$t))return O;if("children"in E&&E.children){const $=E;if($.children&&O[0]!==flr)for(D=(c?$.children.length:-1)+b,B=_.concat($);D>-1&&D<$.children.length;){const P=$.children[D];if(L=w(P,D,B)(),L[0]===Y$t)return L;D=typeof L[1]=="number"?L[1]:D+b}}return O}}}function plr(n){return Array.isArray(n)?n:typeof n=="number"?[dlr,n]:n==null?IXt:[n]}function glr(n,i,s,c){let d,g,b;g=i,b=s,d=c,hlr(n,g,w,d);function w(E,S){const _=S[S.length-1],A=_?_.children.indexOf(E):void 0;return b(E,A,_)}}function Bie(n){return"children"in n?RXt(n):"value"in n?n.value:""}function blr(n){return n.type==="text"?n.value:"children"in n?RXt(n):""}function RXt(n){let i=-1;const s=[];for(;++i<n.children.length;)s[i]=blr(n.children[i]);return s.join("")}const mlr={}.hasOwnProperty;function wlr(n,i,s){const c=v9e(i),d=i&&typeof i=="object"&&"cascade"in i?i.cascade:void 0,g=d??!0;return b(n);function b(w,E,S){const _=[];if(!c(w,E,S))return;if(ylr(w)){let O=-1;for(;++O<w.children.length;){const L=b(w.children[O],O,w);L&&_.push(L)}if(g&&w.children.length>0&&_.length===0)return}const A={};let C;for(C in w)mlr.call(w,C)&&(A[C]=C==="children"?_:w[C]);return A}}function ylr(n){return"children"in n&&n.children!==void 0}var SLe={exports:{}};(function(n,i){function s(c){let d=[],g;for(let b of c.split(",").map(w=>w.trim()))if(/^-?\d+$/.test(b))d.push(parseInt(b,10));else if(g=b.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[w,E,S,_]=g;if(E&&_){E=parseInt(E),_=parseInt(_);const A=E<_?1:-1;(S==="-"||S===".."||S==="‥")&&(_+=A);for(let C=E;C!==_;C+=A)d.push(C)}}return d}i.default=s,n.exports=s})(SLe,SLe.exports);var vlr=SLe.exports;const Elr=TR(vlr);Ds.displayName="clike";Ds.aliases=[];function Ds(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}Gv.displayName="c";Gv.aliases=[];function Gv(n){n.register(Ds),n.languages.c=n.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),n.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),n.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},n.languages.c.string],char:n.languages.c.char,comment:n.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:n.languages.c}}}}),n.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete n.languages.c.boolean}FR.displayName="cpp";FR.aliases=[];function FR(n){n.register(Gv),function(i){var s=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,c=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return s.source});i.languages.cpp=i.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return s.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:s,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),i.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return c})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),i.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i.languages.cpp}}}}),i.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),i.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:i.languages.extend("cpp",{})}}),i.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},i.languages.cpp["base-clause"])}(n)}fce.displayName="arduino";fce.aliases=["ino"];function fce(n){n.register(FR),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}Kz.displayName="bash";Kz.aliases=["sh","shell"];function Kz(n){(function(i){var s="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",c={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},d={bash:c,environment:{pattern:RegExp("\\$"+s),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+s),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+s),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:d},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:c}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:d},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:d.entity}}],environment:{pattern:RegExp("\\$?"+s),alias:"constant"},variable:d.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},c.inside=i.languages.bash;for(var g=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],b=d.variable[1].inside,w=0;w<g.length;w++)b[g[w]]=i.languages.bash[g[w]];i.languages.sh=i.languages.bash,i.languages.shell=i.languages.bash})(n)}$R.displayName="csharp";$R.aliases=["cs","dotnet"];function $R(n){n.register(Ds),function(i){function s(We,ut){return We.replace(/<<(\d+)>>/g,function(Be,bt){return"(?:"+ut[+bt]+")"})}function c(We,ut,Be){return RegExp(s(We,ut),"")}function d(We,ut){for(var Be=0;Be<ut;Be++)We=We.replace(/<<self>>/g,function(){return"(?:"+We+")"});return We.replace(/<<self>>/g,"[^\\s\\S]")}var g={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function b(We){return"\\b(?:"+We.trim().replace(/ /g,"|")+")\\b"}var w=b(g.typeDeclaration),E=RegExp(b(g.type+" "+g.typeDeclaration+" "+g.contextual+" "+g.other)),S=b(g.typeDeclaration+" "+g.contextual+" "+g.other),_=b(g.type+" "+g.typeDeclaration+" "+g.other),A=d(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),C=d(/\((?:[^()]|<<self>>)*\)/.source,2),O=/@?\b[A-Za-z_]\w*\b/.source,L=s(/<<0>>(?:\s*<<1>>)?/.source,[O,A]),D=s(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[S,L]),B=/\[\s*(?:,\s*)*\]/.source,$=s(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[D,B]),P=s(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[A,C,B]),j=s(/\(<<0>>+(?:,<<0>>+)+\)/.source,[P]),z=s(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[j,D,B]),ee={keyword:E,punctuation:/[<>()?,.:[\]]/},ne=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Q=/"(?:\\.|[^\\"\r\n])*"/.source,ae=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[ae]),lookbehind:!0,greedy:!0},{pattern:c(/(^|[^@$\\])<<0>>/.source,[Q]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[D]),lookbehind:!0,inside:ee},{pattern:c(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[O,z]),lookbehind:!0,inside:ee},{pattern:c(/(\busing\s+)<<0>>(?=\s*=)/.source,[O]),lookbehind:!0},{pattern:c(/(\b<<0>>\s+)<<1>>/.source,[w,L]),lookbehind:!0,inside:ee},{pattern:c(/(\bcatch\s*\(\s*)<<0>>/.source,[D]),lookbehind:!0,inside:ee},{pattern:c(/(\bwhere\s+)<<0>>/.source,[O]),lookbehind:!0},{pattern:c(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[$]),lookbehind:!0,inside:ee},{pattern:c(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[z,_,O]),inside:ee}],keyword:E,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:c(/([(,]\s*)<<0>>(?=\s*:)/.source,[O]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:c(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[O]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:c(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[C]),lookbehind:!0,alias:"class-name",inside:ee},"return-type":{pattern:c(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[z,D]),inside:ee,alias:"class-name"},"constructor-invocation":{pattern:c(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[z]),lookbehind:!0,inside:ee,alias:"class-name"},"generic-method":{pattern:c(/<<0>>\s*<<1>>(?=\s*\()/.source,[O,A]),inside:{function:c(/^<<0>>/.source,[O]),generic:{pattern:RegExp(A),alias:"class-name",inside:ee}}},"type-list":{pattern:c(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[w,L,O,z,E.source,C,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:c(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[L,C]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:E,"class-name":{pattern:RegExp(z),greedy:!0,inside:ee},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var he=Q+"|"+ne,pe=s(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[he]),ue=d(s(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[pe]),2),fe=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,K=s(/<<0>>(?:\s*\(<<1>>*\))?/.source,[D,ue]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:c(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[fe,K]),lookbehind:!0,greedy:!0,inside:{target:{pattern:c(/^<<0>>(?=\s*:)/.source,[fe]),alias:"keyword"},"attribute-arguments":{pattern:c(/\(<<0>>*\)/.source,[ue]),inside:i.languages.csharp},"class-name":{pattern:RegExp(D),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var ge=/:[^}\r\n]+/.source,De=d(s(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[pe]),2),Se=s(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[De,ge]),Re=d(s(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[he]),2),Ae=s(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Re,ge]);function xe(We,ut){return{interpolation:{pattern:c(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[We]),lookbehind:!0,inside:{"format-string":{pattern:c(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[ut,ge]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:c(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Se]),lookbehind:!0,greedy:!0,inside:xe(Se,De)},{pattern:c(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Ae]),lookbehind:!0,greedy:!0,inside:xe(Ae,Re)}],char:{pattern:RegExp(ne),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp}(n)}oh.displayName="markup";oh.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function oh(n){n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(s,c){var d={};d["language-"+c]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[c]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var g={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};g["language-"+c]={pattern:/[\s\S]+/,inside:n.languages[c]};var b={};b[s]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:g},n.languages.insertBefore("markup","cdata",b)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,s){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:n.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}NN.displayName="css";NN.aliases=[];function NN(n){(function(i){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+s.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var c=i.languages.markup;c&&(c.tag.addInlined("style","css"),c.tag.addAttribute("style","css"))})(n)}hce.displayName="diff";hce.aliases=[];function hce(n){(function(i){i.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var s={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(s).forEach(function(c){var d=s[c],g=[];/^\w+$/.test(c)||g.push(/\w+/.exec(c)[0]),c==="diff"&&g.push("bold"),i.languages.diff[c]={pattern:RegExp("^(?:["+d+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:g,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(c)[0]}}}}),Object.defineProperty(i.languages.diff,"PREFIXES",{value:s})})(n)}pce.displayName="go";pce.aliases=[];function pce(n){n.register(Ds),n.languages.go=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),n.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete n.languages.go["class-name"]}gce.displayName="ini";gce.aliases=[];function gce(n){n.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}BR.displayName="java";BR.aliases=[];function BR(n){n.register(Ds),function(i){var s=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,c=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(/(^|[^\w.])/.source+c+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[d,{pattern:RegExp(/(^|[^\w.])/.source+c+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:d.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+c+/[A-Z]\w*\b/.source),lookbehind:!0,inside:d.inside}],keyword:s,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":d,keyword:s,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+c+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:d.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+c+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:d.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return s.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(n)}bce.displayName="regex";bce.aliases=[];function bce(n){(function(i){var s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,d={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},g={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},b="(?:[^\\\\-]|"+c.source+")",w=RegExp(b+"-"+b),E={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:w,inside:{escape:c,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":g,escape:c}},"special-escape":s,"char-set":d,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":E}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:c,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":E}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(n)}qh.displayName="javascript";qh.aliases=["js"];function qh(n){n.register(Ds),n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}JM.displayName="json";JM.aliases=["webmanifest"];function JM(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}mce.displayName="kotlin";mce.aliases=["kt","kts"];function mce(n){n.register(Ds),function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var s={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:s},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:s},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin}(n)}wce.displayName="less";wce.aliases=[];function wce(n){n.register(NN),n.languages.less=n.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),n.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}Yz.displayName="lua";Yz.aliases=[];function Yz(n){n.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}yce.displayName="makefile";yce.aliases=[];function yce(n){n.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}Jz.displayName="yaml";Jz.aliases=["yml"];function Jz(n){(function(i){var s=/[*&][^\s[\]{},]+/,c=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+c.source+"(?:[ ]+"+s.source+")?|"+s.source+"(?:[ ]+"+c.source+")?)",g=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),b=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function w(E,S){S=(S||"").replace(/m/g,"")+"m";var _=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<value>>/g,function(){return E});return RegExp(_,S)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return d})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<key>>/g,function(){return"(?:"+g+"|"+b+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:w(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:w(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:w(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:w(b),lookbehind:!0,greedy:!0},number:{pattern:w(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:c,important:s,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(n)}vce.displayName="markdown";vce.aliases=["md"];function vce(n){n.register(oh),function(i){var s=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function c(w){return w=w.replace(/<inner>/g,function(){return s}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+w+")")}var d=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,g=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return d}),b=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+g+b+"(?:"+g+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+g+b+")(?:"+g+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(d),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+g+")"+b+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+g+"$"),inside:{"table-header":{pattern:RegExp(d),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:c(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:c(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:c(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:c(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(w){["url","bold","italic","strike","code-snippet"].forEach(function(E){w!==E&&(i.languages.markdown[w].inside.content.inside[E]=i.languages.markdown[E])})}),i.hooks.add("after-tokenize",function(w){if(w.language!=="markdown"&&w.language!=="md")return;function E(S){if(!(!S||typeof S=="string"))for(var _=0,A=S.length;_<A;_++){var C=S[_];if(C.type!=="code"){E(C.content);continue}var O=C.content[1],L=C.content[3];if(O&&L&&O.type==="code-language"&&L.type==="code-block"&&typeof O.content=="string"){var D=O.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");D=(/[a-z][\w-]*/i.exec(D)||[""])[0].toLowerCase();var B="language-"+D;L.alias?typeof L.alias=="string"?L.alias=[L.alias,B]:L.alias.push(B):L.alias=[B]}}}E(w.tokens)}),i.hooks.add("wrap",function(w){if(w.type==="code-block"){for(var E="",S=0,_=w.classes.length;S<_;S++){var A=w.classes[S],C=/language-(.+)/.exec(A);if(C){E=C[1];break}}var O=i.languages[E];if(O)w.content=i.highlight(w.content.value,O,E);else if(E&&E!=="none"&&i.plugins.autoloader){var L="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);w.attributes.id=L,i.plugins.autoloader.loadLanguages(E,function(){var D=document.getElementById(L);D&&(D.innerHTML=i.highlight(D.textContent,i.languages[E],E))})}}}),RegExp(i.languages.markup.tag.pattern.source,"gi"),i.languages.md=i.languages.markdown}(n)}Ece.displayName="objectivec";Ece.aliases=["objc"];function Ece(n){n.register(Gv),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}Sce.displayName="perl";Sce.aliases=[];function Sce(n){(function(i){var s=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;i.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,s].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,s].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,s+/\s*/.source+s].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(n)}Vh.displayName="markup-templating";Vh.aliases=[];function Vh(n){n.register(oh),function(i){function s(c,d){return"___"+c.toUpperCase()+d+"___"}Object.defineProperties(i.languages["markup-templating"]={},{buildPlaceholders:{value:function(c,d,g,b){if(c.language===d){var w=c.tokenStack=[];c.code=c.code.replace(g,function(E){if(typeof b=="function"&&!b(E))return E;for(var S=w.length,_;c.code.indexOf(_=s(d,S))!==-1;)++S;return w[S]=E,_}),c.grammar=i.languages.markup}}},tokenizePlaceholders:{value:function(c,d){if(c.language!==d||!c.tokenStack)return;c.grammar=i.languages[d];var g=0,b=Object.keys(c.tokenStack);function w(E){for(var S=0;S<E.length&&!(g>=b.length);S++){var _=E[S];if(typeof _=="string"||_.content&&typeof _.content=="string"){var A=b[g],C=c.tokenStack[A],O=typeof _=="string"?_:_.content,L=s(d,A),D=O.indexOf(L);if(D>-1){++g;var B=O.substring(0,D),$=new i.Token(d,i.tokenize(C,c.grammar),"language-"+d,C),P=O.substring(D+L.length),j=[];B&&j.push.apply(j,w([B])),j.push($),P&&j.push.apply(j,w([P])),typeof _=="string"?E.splice.apply(E,[S,1].concat(j)):_.content=j}}else _.content&&w(_.content)}return E}w(c.tokens)}}})}(n)}UR.displayName="php";UR.aliases=[];function UR(n){n.register(Vh),function(i){var s=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,c=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],d=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,g=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,b=/[{}\[\](),:;]/;i.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:s,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:d,operator:g,punctuation:b};var w={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:i.languages.php},E=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:w}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:w}}];i.languages.insertBefore("php","variable",{string:E,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:s,string:E,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,number:d,operator:g,punctuation:b}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),i.hooks.add("before-tokenize",function(S){if(/<\?/.test(S.code)){var _=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;i.languages["markup-templating"].buildPlaceholders(S,"php",_)}}),i.hooks.add("after-tokenize",function(S){i.languages["markup-templating"].tokenizePlaceholders(S,"php")})}(n)}Xz.displayName="python";Xz.aliases=["py"];function Xz(n){n.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.python["string-interpolation"].inside.interpolation.inside.rest=n.languages.python,n.languages.py=n.languages.python}Tce.displayName="r";Tce.aliases=[];function Tce(n){n.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}HR.displayName="ruby";HR.aliases=["rb"];function HR(n){n.register(Ds),function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var s={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var c="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",d=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+c+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:s,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:s,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+d),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+d+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+c),greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:s,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+c),greedy:!0,inside:{interpolation:s,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:s,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby}(n)}Ace.displayName="rust";Ace.aliases=[];function Ace(n){(function(i){for(var s=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,c=0;c<2;c++)s=s.replace(/<self>/g,function(){return s});s=s.replace(/<self>/g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+s),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.languages.rust.string})(n)}_ce.displayName="sass";_ce.aliases=[];function _ce(n){n.register(NN),function(i){i.languages.sass=i.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),i.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete i.languages.sass.atrule;var s=/\$[-\w]+|#\{\$[-\w]+\}/,c=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];i.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:s,operator:c}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:s,operator:c,important:i.languages.sass.important}}}),delete i.languages.sass.property,delete i.languages.sass.important,i.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(n)}xce.displayName="scss";xce.aliases=[];function xce(n){n.register(NN),n.languages.scss=n.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),n.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),n.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),n.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),n.languages.scss.atrule.inside.rest=n.languages.scss}XM.displayName="sql";XM.aliases=[];function XM(n){n.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}kce.displayName="swift";kce.aliases=[];function kce(n){n.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},n.languages.swift["string-literal"].forEach(function(i){i.inside.interpolation.inside=n.languages.swift})}ZM.displayName="typescript";ZM.aliases=["ts"];function ZM(n){n.register(qh),function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var s=i.languages.extend("typescript",{});delete s["class-name"],i.languages.typescript["class-name"].inside=s,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:s}}}}),i.languages.ts=i.languages.typescript}(n)}Zz.displayName="basic";Zz.aliases=[];function Zz(n){n.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}Qz.displayName="vbnet";Qz.aliases=[];function Qz(n){n.register(Zz),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}class eG{constructor(i,s,c){this.property=i,this.normal=s,c&&(this.space=c)}}eG.prototype.property={};eG.prototype.normal={};eG.prototype.space=null;function OXt(n,i){const s={},c={};let d=-1;for(;++d<n.length;)Object.assign(s,n[d].property),Object.assign(c,n[d].normal);return new eG(s,c,i)}function bz(n){return n.toLowerCase()}class Dw{constructor(i,s){this.property=i,this.attribute=s}}Dw.prototype.space=null;Dw.prototype.boolean=!1;Dw.prototype.booleanish=!1;Dw.prototype.overloadedBoolean=!1;Dw.prototype.number=!1;Dw.prototype.commaSeparated=!1;Dw.prototype.spaceSeparated=!1;Dw.prototype.commaOrSpaceSeparated=!1;Dw.prototype.mustUseProperty=!1;Dw.prototype.defined=!1;let Slr=0;const Vo=zR(),jd=zR(),DXt=zR(),ur=zR(),Vc=zR(),dM=zR(),Dm=zR();function zR(){return 2**++Slr}const TLe=Object.freeze(Object.defineProperty({__proto__:null,boolean:Vo,booleanish:jd,commaOrSpaceSeparated:Dm,commaSeparated:dM,number:ur,overloadedBoolean:DXt,spaceSeparated:Vc},Symbol.toStringTag,{value:"Module"})),l6e=Object.keys(TLe);class E9e extends Dw{constructor(i,s,c,d){let g=-1;if(super(i,s),J$t(this,"space",d),typeof c=="number")for(;++g<l6e.length;){const b=l6e[g];J$t(this,l6e[g],(c&TLe[b])===TLe[b])}}}E9e.prototype.defined=!0;function J$t(n,i,s){s&&(n[i]=s)}const Tlr={}.hasOwnProperty;function QM(n){const i={},s={};let c;for(c in n.properties)if(Tlr.call(n.properties,c)){const d=n.properties[c],g=new E9e(c,n.transform(n.attributes||{},c),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(c)&&(g.mustUseProperty=!0),i[c]=g,s[bz(c)]=c,s[bz(g.attribute)]=c}return new eG(i,s,n.space)}const LXt=QM({space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),MXt=QM({space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function PXt(n,i){return i in n?n[i]:i}function jXt(n,i){return PXt(n,i.toLowerCase())}const FXt=QM({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:jXt,properties:{xmlns:null,xmlnsXLink:null}}),$Xt=QM({transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:jd,ariaAutoComplete:null,ariaBusy:jd,ariaChecked:jd,ariaColCount:ur,ariaColIndex:ur,ariaColSpan:ur,ariaControls:Vc,ariaCurrent:null,ariaDescribedBy:Vc,ariaDetails:null,ariaDisabled:jd,ariaDropEffect:Vc,ariaErrorMessage:null,ariaExpanded:jd,ariaFlowTo:Vc,ariaGrabbed:jd,ariaHasPopup:null,ariaHidden:jd,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Vc,ariaLevel:ur,ariaLive:null,ariaModal:jd,ariaMultiLine:jd,ariaMultiSelectable:jd,ariaOrientation:null,ariaOwns:Vc,ariaPlaceholder:null,ariaPosInSet:ur,ariaPressed:jd,ariaReadOnly:jd,ariaRelevant:null,ariaRequired:jd,ariaRoleDescription:Vc,ariaRowCount:ur,ariaRowIndex:ur,ariaRowSpan:ur,ariaSelected:jd,ariaSetSize:ur,ariaSort:null,ariaValueMax:ur,ariaValueMin:ur,ariaValueNow:ur,ariaValueText:null,role:null}}),Alr=QM({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:jXt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:dM,acceptCharset:Vc,accessKey:Vc,action:null,allow:null,allowFullScreen:Vo,allowPaymentRequest:Vo,allowUserMedia:Vo,alt:null,as:null,async:Vo,autoCapitalize:null,autoComplete:Vc,autoFocus:Vo,autoPlay:Vo,blocking:Vc,capture:null,charSet:null,checked:Vo,cite:null,className:Vc,cols:ur,colSpan:null,content:null,contentEditable:jd,controls:Vo,controlsList:Vc,coords:ur|dM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Vo,defer:Vo,dir:null,dirName:null,disabled:Vo,download:DXt,draggable:jd,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Vo,formTarget:null,headers:Vc,height:ur,hidden:Vo,high:ur,href:null,hrefLang:null,htmlFor:Vc,httpEquiv:Vc,id:null,imageSizes:null,imageSrcSet:null,inert:Vo,inputMode:null,integrity:null,is:null,isMap:Vo,itemId:null,itemProp:Vc,itemRef:Vc,itemScope:Vo,itemType:Vc,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Vo,low:ur,manifest:null,max:null,maxLength:ur,media:null,method:null,min:null,minLength:ur,multiple:Vo,muted:Vo,name:null,nonce:null,noModule:Vo,noValidate:Vo,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Vo,optimum:ur,pattern:null,ping:Vc,placeholder:null,playsInline:Vo,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Vo,referrerPolicy:null,rel:Vc,required:Vo,reversed:Vo,rows:ur,rowSpan:ur,sandbox:Vc,scope:null,scoped:Vo,seamless:Vo,selected:Vo,shadowRootClonable:Vo,shadowRootDelegatesFocus:Vo,shadowRootMode:null,shape:null,size:ur,sizes:null,slot:null,span:ur,spellCheck:jd,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ur,step:null,style:null,tabIndex:ur,target:null,title:null,translate:null,type:null,typeMustMatch:Vo,useMap:null,value:jd,width:ur,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Vc,axis:null,background:null,bgColor:null,border:ur,borderColor:null,bottomMargin:ur,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Vo,declare:Vo,event:null,face:null,frame:null,frameBorder:null,hSpace:ur,leftMargin:ur,link:null,longDesc:null,lowSrc:null,marginHeight:ur,marginWidth:ur,noResize:Vo,noHref:Vo,noShade:Vo,noWrap:Vo,object:null,profile:null,prompt:null,rev:null,rightMargin:ur,rules:null,scheme:null,scrolling:jd,standby:null,summary:null,text:null,topMargin:ur,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ur,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Vo,disableRemotePlayback:Vo,prefix:null,property:null,results:ur,security:null,unselectable:null}}),_lr=QM({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:PXt,properties:{about:Dm,accentHeight:ur,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ur,amplitude:ur,arabicForm:null,ascent:ur,attributeName:null,attributeType:null,azimuth:ur,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ur,by:null,calcMode:null,capHeight:ur,className:Vc,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ur,diffuseConstant:ur,direction:null,display:null,dur:null,divisor:ur,dominantBaseline:null,download:Vo,dx:null,dy:null,edgeMode:null,editable:null,elevation:ur,enableBackground:null,end:null,event:null,exponent:ur,externalResourcesRequired:null,fill:null,fillOpacity:ur,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:dM,g2:dM,glyphName:dM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ur,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ur,horizOriginX:ur,horizOriginY:ur,id:null,ideographic:ur,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ur,k:ur,k1:ur,k2:ur,k3:ur,k4:ur,kernelMatrix:Dm,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ur,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ur,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ur,overlineThickness:ur,paintOrder:null,panose1:null,path:null,pathLength:ur,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Vc,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ur,pointsAtY:ur,pointsAtZ:ur,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Dm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Dm,rev:Dm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Dm,requiredFeatures:Dm,requiredFonts:Dm,requiredFormats:Dm,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ur,specularExponent:ur,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ur,strikethroughThickness:ur,string:null,stroke:null,strokeDashArray:Dm,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ur,strokeOpacity:ur,strokeWidth:null,style:null,surfaceScale:ur,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dm,tabIndex:ur,tableValues:null,target:null,targetX:ur,targetY:ur,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Dm,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ur,underlineThickness:ur,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ur,values:null,vAlphabetic:ur,vMathematical:ur,vectorEffect:null,vHanging:ur,vIdeographic:ur,version:null,vertAdvY:ur,vertOriginX:ur,vertOriginY:ur,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ur,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),xlr=/^data[-\w.:]+$/i,X$t=/-[a-z]/g,klr=/[A-Z]/g;function Nlr(n,i){const s=bz(i);let c=i,d=Dw;if(s in n.normal)return n.property[n.normal[s]];if(s.length>4&&s.slice(0,4)==="data"&&xlr.test(i)){if(i.charAt(4)==="-"){const g=i.slice(5).replace(X$t,Ilr);c="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=i.slice(4);if(!X$t.test(g)){let b=g.replace(klr,Clr);b.charAt(0)!=="-"&&(b="-"+b),i="data"+b}}d=E9e}return new d(c,i)}function Clr(n){return"-"+n.toLowerCase()}function Ilr(n){return n.charAt(1).toUpperCase()}const Rlr=OXt([MXt,LXt,FXt,$Xt,Alr],"html");OXt([MXt,LXt,FXt,$Xt,_lr],"svg");const Z$t=/[#.]/g;function Olr(n,i){const s=n||"",c={};let d=0,g,b;for(;d<s.length;){Z$t.lastIndex=d;const w=Z$t.exec(s),E=s.slice(d,w?w.index:s.length);E&&(g?g==="#"?c.id=E:Array.isArray(c.className)?c.className.push(E):c.className=[E]:b=E,d+=E.length),w&&(g=w[0],d++)}return{type:"element",tagName:b||i||"div",properties:c,children:[]}}const Dlr=new Set(["menu","submit","reset","button"]),BXt={}.hasOwnProperty;function Llr(n,i,s){return function(d,g,...b){let w=-1,E;if(d==null)E={type:"root",children:[]},b.unshift(g);else if(E=Olr(d,i),E.tagName=E.tagName.toLowerCase(),Mlr(g,E.tagName)){let S;for(S in g)BXt.call(g,S)&&Plr(n,E.properties,S,g[S])}else b.unshift(g);for(;++w<b.length;)ALe(E.children,b[w]);return E.type==="element"&&E.tagName==="template"&&(E.content={type:"root",children:E.children},E.children=[]),E}}function Mlr(n,i){return n==null||typeof n!="object"||Array.isArray(n)?!1:i==="input"||!n.type||typeof n.type!="string"?!0:"children"in n&&Array.isArray(n.children)?!1:i==="button"?Dlr.has(n.type.toLowerCase()):!("value"in n)}function Plr(n,i,s,c){const d=Nlr(n,s);let g=-1,b;if(c!=null){if(typeof c=="number"){if(Number.isNaN(c))return;b=c}else typeof c=="boolean"?b=c:typeof c=="string"?d.spaceSeparated?b=xse(c):d.commaSeparated?b=_se(c):d.commaOrSpaceSeparated?b=xse(_se(c).join(" ")):b=Q$t(d,d.property,c):Array.isArray(c)?b=c.concat():b=d.property==="style"?jlr(c):String(c);if(Array.isArray(b)){const w=[];for(;++g<b.length;)w[g]=Q$t(d,d.property,b[g]);b=w}d.property==="className"&&Array.isArray(i.className)&&(b=i.className.concat(b)),i[d.property]=b}}function ALe(n,i){let s=-1;if(i!=null)if(typeof i=="string"||typeof i=="number")n.push({type:"text",value:String(i)});else if(Array.isArray(i))for(;++s<i.length;)ALe(n,i[s]);else if(typeof i=="object"&&"type"in i)i.type==="root"?ALe(n,i.children):n.push(i);else throw new Error("Expected node, nodes, or string, got `"+i+"`")}function Q$t(n,i,s){if(typeof s=="string"){if(n.number&&s&&!Number.isNaN(Number(s)))return Number(s);if((n.boolean||n.overloadedBoolean)&&(s===""||bz(s)===bz(i)))return!0}return s}function jlr(n){const i=[];let s;for(s in n)BXt.call(n,s)&&i.push([s,n[s]].join(": "));return i.join("; ")}const Flr=Llr(Rlr,"div"),eBt={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function UXt(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=48&&i<=57}function $lr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=102||i>=65&&i<=70||i>=48&&i<=57}function Blr(n){const i=typeof n=="string"?n.charCodeAt(0):n;return i>=97&&i<=122||i>=65&&i<=90}function tBt(n){return Blr(n)||UXt(n)}const nBt=document.createElement("i");function rBt(n){const i="&"+n+";";nBt.innerHTML=i;const s=nBt.textContent;return s.charCodeAt(s.length-1)===59&&n!=="semi"||s===i?!1:s}const Ulr=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Hlr(n,i){const s={},c=typeof s.additional=="string"?s.additional.charCodeAt(0):s.additional,d=[];let g=0,b=-1,w="",E,S;s.position&&("start"in s.position||"indent"in s.position?(S=s.position.indent,E=s.position.start):E=s.position);let _=(E?E.line:0)||1,A=(E?E.column:0)||1,C=L(),O;for(g--;++g<=n.length;)if(O===10&&(A=(S?S[b]:0)||1),O=n.charCodeAt(g),O===38){const $=n.charCodeAt(g+1);if($===9||$===10||$===12||$===32||$===38||$===60||Number.isNaN($)||c&&$===c){w+=String.fromCharCode(O),A++;continue}const P=g+1;let j=P,z=P,ee;if($===35){z=++j;const K=n.charCodeAt(z);K===88||K===120?(ee="hexadecimal",z=++j):ee="decimal"}else ee="named";let ne="",Q="",ae="";const he=ee==="named"?tBt:ee==="decimal"?UXt:$lr;for(z--;++z<=n.length;){const K=n.charCodeAt(z);if(!he(K))break;ae+=String.fromCharCode(K),ee==="named"&&TXt.includes(ae)&&(ne=ae,Q=rBt(ae))}let pe=n.charCodeAt(z)===59;if(pe){z++;const K=ee==="named"?rBt(ae):!1;K&&(ne=ae,Q=K)}let ue=1+z-P,fe="";if(!(!pe&&s.nonTerminated===!1))if(!ae)ee!=="named"&&D(4,ue);else if(ee==="named"){if(pe&&!Q)D(5,1);else if(ne!==ae&&(z=j+ne.length,ue=1+z-j,pe=!1),!pe){const K=ne?1:3;if(s.attribute){const ge=n.charCodeAt(z);ge===61?(D(K,ue),Q=""):tBt(ge)?Q="":D(K,ue)}else D(K,ue)}fe=Q}else{pe||D(2,ue);let K=Number.parseInt(ae,ee==="hexadecimal"?16:10);if(zlr(K))D(7,ue),fe="�";else if(K in eBt)D(6,ue),fe=eBt[K];else{let ge="";Glr(K)&&D(6,ue),K>65535&&(K-=65536,ge+=String.fromCharCode(K>>>10|55296),K=56320|K&1023),fe=ge+String.fromCharCode(K)}}if(fe){B(),C=L(),g=z-1,A+=z-P+1,d.push(fe);const K=L();K.offset++,s.reference&&s.reference.call(s.referenceContext||void 0,fe,{start:C,end:K},n.slice(P-1,z)),C=K}else ae=n.slice(P-1,z),w+=ae,A+=ae.length,g=z-1}else O===10&&(_++,b++,A=0),Number.isNaN(O)?B():(w+=String.fromCharCode(O),A++);return d.join("");function L(){return{line:_,column:A,offset:g+((E?E.offset:0)||0)}}function D($,P){let j;s.warning&&(j=L(),j.column+=P,j.offset+=P,s.warning.call(s.warningContext||void 0,Ulr[$],j,$))}function B(){w&&(d.push(w),s.text&&s.text.call(s.textContext||void 0,w,{start:C,end:L()}),w="")}}function zlr(n){return n>=55296&&n<=57343||n>1114111}function Glr(n){return n>=1&&n<=8||n===11||n>=13&&n<=31||n>=127&&n<=159||n>=64976&&n<=65007||(n&65535)===65535||(n&65535)===65534}var qlr=0,Uie={},eh={util:{type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++qlr}),n.__id},clone:function n(i,s){s=s||{};var c,d;switch(eh.util.type(i)){case"Object":if(d=eh.util.objId(i),s[d])return s[d];c={},s[d]=c;for(var g in i)i.hasOwnProperty(g)&&(c[g]=n(i[g],s));return c;case"Array":return d=eh.util.objId(i),s[d]?s[d]:(c=[],s[d]=c,i.forEach(function(b,w){c[w]=n(b,s)}),c);default:return i}}},languages:{plain:Uie,plaintext:Uie,text:Uie,txt:Uie,extend:function(n,i){var s=eh.util.clone(eh.languages[n]);for(var c in i)s[c]=i[c];return s},insertBefore:function(n,i,s,c){c=c||eh.languages;var d=c[n],g={};for(var b in d)if(d.hasOwnProperty(b)){if(b==i)for(var w in s)s.hasOwnProperty(w)&&(g[w]=s[w]);s.hasOwnProperty(b)||(g[b]=d[b])}var E=c[n];return c[n]=g,eh.languages.DFS(eh.languages,function(S,_){_===E&&S!=n&&(this[S]=g)}),g},DFS:function n(i,s,c,d){d=d||{};var g=eh.util.objId;for(var b in i)if(i.hasOwnProperty(b)){s.call(i,b,i[b],c||b);var w=i[b],E=eh.util.type(w);E==="Object"&&!d[g(w)]?(d[g(w)]=!0,n(w,s,null,d)):E==="Array"&&!d[g(w)]&&(d[g(w)]=!0,n(w,s,b,d))}}},plugins:{},highlight:function(n,i,s){var c={code:n,grammar:i,language:s};if(eh.hooks.run("before-tokenize",c),!c.grammar)throw new Error('The language "'+c.language+'" has no grammar.');return c.tokens=eh.tokenize(c.code,c.grammar),eh.hooks.run("after-tokenize",c),xH.stringify(eh.util.encode(c.tokens),c.language)},tokenize:function(n,i){var s=i.rest;if(s){for(var c in s)i[c]=s[c];delete i.rest}var d=new Vlr;return foe(d,d.head,n),HXt(n,d,i,d.head,0),Klr(d)},hooks:{all:{},add:function(n,i){var s=eh.hooks.all;s[n]=s[n]||[],s[n].push(i)},run:function(n,i){var s=eh.hooks.all[n];if(!(!s||!s.length))for(var c=0,d;d=s[c++];)d(i)}},Token:xH};function xH(n,i,s,c){this.type=n,this.content=i,this.alias=s,this.length=(c||"").length|0}function iBt(n,i,s,c){n.lastIndex=i;var d=n.exec(s);if(d&&c&&d[1]){var g=d[1].length;d.index+=g,d[0]=d[0].slice(g)}return d}function HXt(n,i,s,c,d,g){for(var b in s)if(!(!s.hasOwnProperty(b)||!s[b])){var w=s[b];w=Array.isArray(w)?w:[w];for(var E=0;E<w.length;++E){if(g&&g.cause==b+","+E)return;var S=w[E],_=S.inside,A=!!S.lookbehind,C=!!S.greedy,O=S.alias;if(C&&!S.pattern.global){var L=S.pattern.toString().match(/[imsuy]*$/)[0];S.pattern=RegExp(S.pattern.source,L+"g")}for(var D=S.pattern||S,B=c.next,$=d;B!==i.tail&&!(g&&$>=g.reach);$+=B.value.length,B=B.next){var P=B.value;if(i.length>n.length)return;if(!(P instanceof xH)){var j=1,z;if(C){if(z=iBt(D,$,n,A),!z||z.index>=n.length)break;var ae=z.index,ee=z.index+z[0].length,ne=$;for(ne+=B.value.length;ae>=ne;)B=B.next,ne+=B.value.length;if(ne-=B.value.length,$=ne,B.value instanceof xH)continue;for(var Q=B;Q!==i.tail&&(ne<ee||typeof Q.value=="string");Q=Q.next)j++,ne+=Q.value.length;j--,P=n.slice($,ne),z.index-=$}else if(z=iBt(D,0,P,A),!z)continue;var ae=z.index,he=z[0],pe=P.slice(0,ae),ue=P.slice(ae+he.length),fe=$+P.length;g&&fe>g.reach&&(g.reach=fe);var K=B.prev;pe&&(K=foe(i,K,pe),$+=pe.length),Wlr(i,K,j);var ge=new xH(b,_?eh.tokenize(he,_):he,O,he);if(B=foe(i,K,ge),ue&&foe(i,B,ue),j>1){var De={cause:b+","+E,reach:fe};HXt(n,i,s,B.prev,$,De),g&&De.reach>g.reach&&(g.reach=De.reach)}}}}}}function Vlr(){var n={value:null,prev:null,next:null},i={value:null,prev:n,next:null};n.next=i,this.head=n,this.tail=i,this.length=0}function foe(n,i,s){var c=i.next,d={value:s,prev:i,next:c};return i.next=d,c.prev=d,n.length++,d}function Wlr(n,i,s){for(var c=i.next,d=0;d<s&&c!==n.tail;d++)c=c.next;i.next=c,c.prev=i,n.length-=d}function Klr(n){for(var i=[],s=n.head.next;s!==n.tail;)i.push(s.value),s=s.next;return i}const zXt=eh,e9={}.hasOwnProperty;function GXt(){}GXt.prototype=zXt;const _e=new GXt;_e.highlight=Ylr;_e.register=Jlr;_e.alias=Xlr;_e.registered=Zlr;_e.listLanguages=Qlr;_e.util.encode=edr;_e.Token.stringify=_Le;function Ylr(n,i){if(typeof n!="string")throw new TypeError("Expected `string` for `value`, got `"+n+"`");let s,c;if(i&&typeof i=="object")s=i;else{if(c=i,typeof c!="string")throw new TypeError("Expected `string` for `name`, got `"+c+"`");if(e9.call(_e.languages,c))s=_e.languages[c];else throw new Error("Unknown language: `"+c+"` is not registered")}return{type:"root",children:zXt.highlight.call(_e,n,s,c)}}function Jlr(n){if(typeof n!="function"||!n.displayName)throw new Error("Expected `function` for `syntax`, got `"+n+"`");e9.call(_e.languages,n.displayName)||n(_e)}function Xlr(n,i){const s=_e.languages;let c={};typeof n=="string"?i&&(c[n]=i):c=n;let d;for(d in c)if(e9.call(c,d)){const g=c[d],b=typeof g=="string"?[g]:g;let w=-1;for(;++w<b.length;)s[b[w]]=s[d]}}function Zlr(n){if(typeof n!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+n+"`");return e9.call(_e.languages,n)}function Qlr(){const n=_e.languages,i=[];let s;for(s in n)e9.call(n,s)&&typeof n[s]=="object"&&i.push(s);return i}function _Le(n,i){if(typeof n=="string")return{type:"text",value:n};if(Array.isArray(n)){const c=[];let d=-1;for(;++d<n.length;)n[d]!==null&&n[d]!==void 0&&n[d]!==""&&c.push(_Le(n[d],i));return c}const s={attributes:{},classes:["token",n.type],content:_Le(n.content,i),language:i,tag:"span",type:n.type};return n.alias&&s.classes.push(...typeof n.alias=="string"?[n.alias]:n.alias),_e.hooks.run("wrap",s),Flr(s.tag+"."+s.classes.join("."),tdr(s.attributes),s.content)}function edr(n){return n}function tdr(n){let i;for(i in n)e9.call(n,i)&&(n[i]=Hlr(n[i]));return n}_e.register(Ds);_e.register(Gv);_e.register(FR);_e.register(fce);_e.register(Kz);_e.register($R);_e.register(oh);_e.register(NN);_e.register(hce);_e.register(pce);_e.register(gce);_e.register(BR);_e.register(bce);_e.register(qh);_e.register(JM);_e.register(mce);_e.register(wce);_e.register(Yz);_e.register(yce);_e.register(Jz);_e.register(vce);_e.register(Ece);_e.register(Sce);_e.register(Vh);_e.register(UR);_e.register(Xz);_e.register(Tce);_e.register(HR);_e.register(Ace);_e.register(_ce);_e.register(xce);_e.register(XM);_e.register(kce);_e.register(ZM);_e.register(Zz);_e.register(Qz);S9e.displayName="abap";S9e.aliases=[];function S9e(n){n.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}T9e.displayName="abnf";T9e.aliases=[];function T9e(n){(function(i){var s="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";i.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+s+"|<"+s+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(n)}A9e.displayName="actionscript";A9e.aliases=[];function A9e(n){n.register(qh),n.languages.actionscript=n.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),n.languages.actionscript["class-name"].alias="function",delete n.languages.actionscript.parameter,delete n.languages.actionscript["literal-property"],n.languages.markup&&n.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:n.languages.markup}})}_9e.displayName="ada";_9e.aliases=[];function _9e(n){n.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}x9e.displayName="agda";x9e.aliases=[];function x9e(n){(function(i){i.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(n)}k9e.displayName="al";k9e.aliases=[];function k9e(n){n.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}N9e.displayName="antlr4";N9e.aliases=["g4"];function N9e(n){n.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},n.languages.g4=n.languages.antlr4}C9e.displayName="apacheconf";C9e.aliases=[];function C9e(n){n.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}I9e.displayName="apex";I9e.aliases=[];function I9e(n){n.register(Ds),n.register(XM),function(i){var s=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,c=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return s.source});function d(b){return RegExp(b.replace(/<CLASS-NAME>/g,function(){return c}),"i")}var g={keyword:s,punctuation:/[()\[\]{};,:.<>]/};i.languages.apex={comment:i.languages.clike.comment,string:i.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:i.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:d(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:g},{pattern:d(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:g},{pattern:d(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:g}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:s,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}R9e.displayName="apl";R9e.aliases=[];function R9e(n){n.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}O9e.displayName="applescript";O9e.aliases=[];function O9e(n){n.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}D9e.displayName="aql";D9e.aliases=[];function D9e(n){n.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}L9e.displayName="arff";L9e.aliases=[];function L9e(n){n.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}M9e.displayName="armasm";M9e.aliases=["arm-asm"];function M9e(n){n.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},n.languages["arm-asm"]=n.languages.armasm}P9e.displayName="arturo";P9e.aliases=["art"];function P9e(n){(function(i){var s=function(c,d){return{pattern:RegExp(/\{!/.source+"(?:"+(d||c)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+c,inside:i.languages[c]},string:/[\s\S]+/}}};i.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":s("html"),"css-string":s("css"),"js-string":s("js"),"md-string":s("md"),"sql-string":s("sql"),"sh-string":s("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},i.languages.art=i.languages.arturo})(n)}j9e.displayName="asciidoc";j9e.aliases=["adoc"];function j9e(n){(function(i){var s={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},c=i.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:s,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:s.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:s,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function d(g){g=g.split(" ");for(var b={},w=0,E=g.length;w<E;w++)b[g[w]]=c[g[w]];return b}s.inside.interpreted.inside.rest=d("macro inline replacement entity"),c["passthrough-block"].inside.rest=d("macro"),c["literal-block"].inside.rest=d("callout"),c.table.inside.rest=d("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),c["other-block"].inside.rest=d("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),c.title.inside.rest=d("macro inline replacement entity"),i.hooks.add("wrap",function(g){g.type==="entity"&&(g.attributes.title=g.content.value.replace(/&amp;/,"&"))}),i.languages.adoc=i.languages.asciidoc})(n)}F9e.displayName="aspnet";F9e.aliases=[];function F9e(n){n.register($R),n.register(oh),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}$9e.displayName="asm6502";$9e.aliases=[];function $9e(n){n.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}B9e.displayName="asmatmel";B9e.aliases=[];function B9e(n){n.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}U9e.displayName="autohotkey";U9e.aliases=[];function U9e(n){n.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}H9e.displayName="autoit";H9e.aliases=[];function H9e(n){n.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}z9e.displayName="avisynth";z9e.aliases=["avs"];function z9e(n){(function(i){function s(S,_){return S.replace(/<<(\d+)>>/g,function(A,C){return _[+C]})}function c(S,_,A){return RegExp(s(S,_),A)}var d=/bool|clip|float|int|string|val/.source,g=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),b=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),w=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),E=[g,b,w].join("|");i.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:c(/\b(?:<<0>>)\s+("?)\w+\1/.source,[d],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:c(/\b(?:<<0>>)\b/.source,[E],"i"),alias:"function"},"type-cast":{pattern:c(/\b(?:<<0>>)(?=\s*\()/.source,[d],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},i.languages.avs=i.languages.avisynth})(n)}G9e.displayName="avro-idl";G9e.aliases=["avdl"];function G9e(n){n.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},n.languages.avdl=n.languages["avro-idl"]}q9e.displayName="awk";q9e.aliases=["gawk"];function q9e(n){n.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},n.languages.gawk=n.languages.awk}V9e.displayName="batch";V9e.aliases=[];function V9e(n){(function(i){var s=/%%?[~:\w]+%?|!\S+!/,c={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},d=/"(?:[\\"]"|[^"])*"(?!")/,g=/(?:\b|-)\d+\b/;i.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:d,parameter:c,variable:s,number:g,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:d,parameter:c,variable:s,number:g,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:d,parameter:c,variable:[s,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:g,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:d,parameter:c,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:s,number:g,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(n)}W9e.displayName="bbcode";W9e.aliases=["shortcode"];function W9e(n){n.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},n.languages.shortcode=n.languages.bbcode}K9e.displayName="bbj";K9e.aliases=[];function K9e(n){(function(i){i.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(n)}Y9e.displayName="bicep";Y9e.aliases=[];function Y9e(n){n.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},n.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=n.languages.bicep}J9e.displayName="birb";J9e.aliases=[];function J9e(n){n.register(Ds),n.languages.birb=n.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),n.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}X9e.displayName="bison";X9e.aliases=[];function X9e(n){n.register(Gv),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}Z9e.displayName="bnf";Z9e.aliases=["rbnf"];function Z9e(n){n.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},n.languages.rbnf=n.languages.bnf}Q9e.displayName="bqn";Q9e.aliases=[];function Q9e(n){n.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}e8e.displayName="brainfuck";e8e.aliases=[];function e8e(n){n.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}t8e.displayName="brightscript";t8e.aliases=[];function t8e(n){n.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},n.languages.brightscript["directive-statement"].inside.expression.inside=n.languages.brightscript}n8e.displayName="bro";n8e.aliases=[];function n8e(n){n.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}r8e.displayName="bsl";r8e.aliases=["oscript"];function r8e(n){n.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},n.languages.oscript=n.languages.bsl}i8e.displayName="cfscript";i8e.aliases=["cfc"];function i8e(n){n.register(Ds),n.languages.cfscript=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),n.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete n.languages.cfscript["class-name"],n.languages.cfc=n.languages.cfscript}o8e.displayName="chaiscript";o8e.aliases=[];function o8e(n){n.register(Ds),n.register(FR),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}s8e.displayName="cil";s8e.aliases=[];function s8e(n){n.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}a8e.displayName="cilkc";a8e.aliases=["cilk-c"];function a8e(n){n.register(Gv),n.languages.cilkc=n.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),n.languages["cilk-c"]=n.languages.cilkc}c8e.displayName="cilkcpp";c8e.aliases=["cilk","cilk-cpp"];function c8e(n){n.register(FR),n.languages.cilkcpp=n.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),n.languages["cilk-cpp"]=n.languages.cilkcpp,n.languages.cilk=n.languages.cilkcpp}u8e.displayName="clojure";u8e.aliases=[];function u8e(n){n.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}l8e.displayName="cmake";l8e.aliases=[];function l8e(n){n.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}d8e.displayName="cobol";d8e.aliases=[];function d8e(n){n.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}f8e.displayName="coffeescript";f8e.aliases=["coffee"];function f8e(n){n.register(qh),function(i){var s=/#(?!\{).+/,c={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:s,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:c}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:s,interpolation:c}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:c}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}(n)}h8e.displayName="concurnas";h8e.aliases=["conc"];function h8e(n){n.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},n.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:n.languages.concurnas},string:/[\s\S]+/}}}),n.languages.conc=n.languages.concurnas}p8e.displayName="csp";p8e.aliases=[];function p8e(n){(function(i){function s(c){return RegExp(/([ \t])/.source+"(?:"+c+")"+/(?=[\s;]|$)/.source,"i")}i.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:s(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:s(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:s(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:s(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:s(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:s(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:s(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(n)}g8e.displayName="cooklang";g8e.aliases=[];function g8e(n){(function(i){var s=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,c=/[^{}@#]+/.source,d=/\{[^}#@]*\}/.source,g=c+d,b=/(?:h|hours|hrs|m|min|minutes)/.source,w={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};i.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+g+"|"+s+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+c+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+c),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+g+"|"+s+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+c+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":w}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+b+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(n)}b8e.displayName="coq";b8e.aliases=[];function b8e(n){(function(i){for(var s=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,c=0;c<2;c++)s=s.replace(/<self>/g,function(){return s});s=s.replace(/<self>/g,"[]"),i.languages.coq={comment:RegExp(s),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return s})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(s),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(n)}m8e.displayName="crystal";m8e.aliases=[];function m8e(n){n.register(HR),function(i){i.languages.crystal=i.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,i.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),i.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:i.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}w8e.displayName="css-extras";w8e.aliases=[];function w8e(n){n.register(NN),function(i){var s=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,c;i.languages.css.selector={pattern:i.languages.css.selector.pattern,lookbehind:!0,inside:c={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+s.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[s,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=c,i.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var d={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},g={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:d,number:g,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:d,number:g})}(n)}y8e.displayName="csv";y8e.aliases=[];function y8e(n){n.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}v8e.displayName="cue";v8e.aliases=[];function v8e(n){(function(i){var s=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,c=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,d="(?:"+c.replace(/<esc>/g,s)+")";i.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+d+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},i.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=i.languages.cue})(n)}E8e.displayName="cypher";E8e.aliases=[];function E8e(n){n.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}S8e.displayName="d";S8e.aliases=[];function S8e(n){n.register(Ds),n.languages.d=n.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),n.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),n.languages.insertBefore("d","keyword",{property:/\B@\w*/}),n.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}T8e.displayName="dart";T8e.aliases=[];function T8e(n){n.register(Ds),function(i){var s=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],c=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,d={pattern:RegExp(c+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};i.languages.dart=i.languages.extend("clike",{"class-name":[d,{pattern:RegExp(c+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:d.inside}],keyword:s,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),i.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.dart}}},string:/[\s\S]+/}},string:void 0}),i.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),i.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":d,keyword:s,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(n)}A8e.displayName="dataweave";A8e.aliases=[];function A8e(n){(function(i){i.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(n)}_8e.displayName="dax";_8e.aliases=[];function _8e(n){n.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}x8e.displayName="dhall";x8e.aliases=[];function x8e(n){n.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},n.languages.dhall.string.inside.interpolation.inside.expression.inside=n.languages.dhall}k8e.displayName="django";k8e.aliases=["jinja2"];function k8e(n){n.register(Vh),function(i){i.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var s=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,c=i.languages["markup-templating"];i.hooks.add("before-tokenize",function(d){c.buildPlaceholders(d,"django",s)}),i.hooks.add("after-tokenize",function(d){c.tokenizePlaceholders(d,"django")}),i.languages.jinja2=i.languages.django,i.hooks.add("before-tokenize",function(d){c.buildPlaceholders(d,"jinja2",s)}),i.hooks.add("after-tokenize",function(d){c.tokenizePlaceholders(d,"jinja2")})}(n)}N8e.displayName="dns-zone-file";N8e.aliases=["dns-zone"];function N8e(n){n.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},n.languages["dns-zone"]=n.languages["dns-zone-file"]}C8e.displayName="docker";C8e.aliases=["dockerfile"];function C8e(n){(function(i){var s=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,c=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return s}),d=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,g=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return d}),b={pattern:RegExp(d),greedy:!0},w={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function E(S,_){return S=S.replace(/<OPT>/g,function(){return g}).replace(/<SP>/g,function(){return c}),RegExp(S,_)}i.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:E(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[b,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:E(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:E(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:E(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:w,string:b,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:w},i.languages.dockerfile=i.languages.docker})(n)}I8e.displayName="dot";I8e.aliases=["gv"];function I8e(n){(function(i){var s="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",c={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:i.languages.markup}};function d(g,b){return RegExp(g.replace(/<ID>/g,function(){return s}),b)}i.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:d(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:c},"attr-value":{pattern:d(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:c},"attr-name":{pattern:d(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:c},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:d(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:c},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},i.languages.gv=i.languages.dot})(n)}R8e.displayName="ebnf";R8e.aliases=[];function R8e(n){n.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}O8e.displayName="editorconfig";O8e.aliases=[];function O8e(n){n.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}D8e.displayName="eiffel";D8e.aliases=[];function D8e(n){n.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}L8e.displayName="ejs";L8e.aliases=["eta"];function L8e(n){n.register(qh),n.register(Vh),function(i){i.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:i.languages.javascript}},i.hooks.add("before-tokenize",function(s){var c=/<%(?!%)[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"ejs",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"ejs")}),i.languages.eta=i.languages.ejs}(n)}M8e.displayName="elixir";M8e.aliases=[];function M8e(n){n.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},n.languages.elixir.string.forEach(function(i){i.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:n.languages.elixir}}}})}P8e.displayName="elm";P8e.aliases=[];function P8e(n){n.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}j8e.displayName="etlua";j8e.aliases=[];function j8e(n){n.register(Yz),n.register(Vh),function(i){i.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(s){var c=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"etlua",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"etlua")})}(n)}F8e.displayName="erb";F8e.aliases=[];function F8e(n){n.register(Vh),n.register(HR),function(i){i.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(s){var c=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(s,"erb",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"erb")})}(n)}$8e.displayName="erlang";$8e.aliases=[];function $8e(n){n.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}B8e.displayName="excel-formula";B8e.aliases=["xls","xlsx"];function B8e(n){n.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},n.languages.xlsx=n.languages.xls=n.languages["excel-formula"]}U8e.displayName="fsharp";U8e.aliases=[];function U8e(n){n.register(Ds),n.languages.fsharp=n.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),n.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),n.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),n.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:n.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}H8e.displayName="factor";H8e.aliases=[];function H8e(n){(function(i){var s={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},c={number:/\\[^\s']|%\w/},d={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:s},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:s}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:c.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:c},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:c}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:c}},g=function(S){return(S+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},b=function(S){return new RegExp("(^|\\s)(?:"+S.map(g).join("|")+")(?=\\s|$)")},w={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(w).forEach(function(S){d[S].pattern=b(w[S])});var E=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];d.combinators.pattern=b(E),i.languages.factor=d})(n)}z8e.displayName="false";z8e.aliases=[];function z8e(n){(function(i){i.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(n)}G8e.displayName="firestore-security-rules";G8e.aliases=[];function G8e(n){n.register(Ds),n.languages["firestore-security-rules"]=n.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete n.languages["firestore-security-rules"]["class-name"],n.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}q8e.displayName="flow";q8e.aliases=[];function q8e(n){n.register(qh),function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),i.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(n)}V8e.displayName="fortran";V8e.aliases=[];function V8e(n){n.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}W8e.displayName="ftl";W8e.aliases=[];function W8e(n){n.register(Vh),function(i){for(var s=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,c=0;c<2;c++)s=s.replace(/<expr>/g,function(){return s});s=s.replace(/<expr>/g,/[^\s\S]/.source);var d={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return s})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return s})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};d.string[1].inside.interpolation.inside.rest=d,i.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:d}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:d}}}},i.hooks.add("before-tokenize",function(g){var b=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return s}),"gi");i.languages["markup-templating"].buildPlaceholders(g,"ftl",b)}),i.hooks.add("after-tokenize",function(g){i.languages["markup-templating"].tokenizePlaceholders(g,"ftl")})}(n)}K8e.displayName="gml";K8e.aliases=["gamemakerlanguage"];function K8e(n){n.register(Ds),n.languages.gamemakerlanguage=n.languages.gml=n.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}Y8e.displayName="gap";Y8e.aliases=[];function Y8e(n){n.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},n.languages.gap.shell.inside.gap.inside=n.languages.gap}J8e.displayName="gcode";J8e.aliases=[];function J8e(n){n.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}X8e.displayName="gdscript";X8e.aliases=[];function X8e(n){n.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}Z8e.displayName="gedcom";Z8e.aliases=[];function Z8e(n){n.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}Q8e.displayName="gettext";Q8e.aliases=["po"];function Q8e(n){n.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},n.languages.po=n.languages.gettext}ePe.displayName="gherkin";ePe.aliases=[];function ePe(n){(function(i){var s=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;i.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+s+")(?:"+s+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(s),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(n)}tPe.displayName="git";tPe.aliases=[];function tPe(n){n.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}nPe.displayName="glsl";nPe.aliases=[];function nPe(n){n.register(Gv),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}rPe.displayName="gn";rPe.aliases=["gni"];function rPe(n){n.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},n.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=n.languages.gn,n.languages.gni=n.languages.gn}iPe.displayName="linker-script";iPe.aliases=["ld"];function iPe(n){n.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},n.languages.ld=n.languages["linker-script"]}oPe.displayName="go-module";oPe.aliases=["go-mod"];function oPe(n){n.languages["go-mod"]=n.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}sPe.displayName="gradle";sPe.aliases=[];function sPe(n){n.register(Ds),function(i){var s={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};i.languages.gradle=i.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),i.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}}}),i.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),i.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),s.inside.expression.inside=i.languages.gradle}(n)}aPe.displayName="graphql";aPe.aliases=[];function aPe(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",function(s){if(s.language!=="graphql")return;var c=s.tokens.filter(function(B){return typeof B!="string"&&B.type!=="comment"&&B.type!=="scalar"}),d=0;function g(B){return c[d+B]}function b(B,$){$=$||0;for(var P=0;P<B.length;P++){var j=g(P+$);if(!j||j.type!==B[P])return!1}return!0}function w(B,$){for(var P=1,j=d;j<c.length;j++){var z=c[j],ee=z.content;if(z.type==="punctuation"&&typeof ee=="string"){if(B.test(ee))P++;else if($.test(ee)&&(P--,P===0))return j}}return-1}function E(B,$){var P=B.alias;P?Array.isArray(P)||(B.alias=P=[P]):B.alias=P=[],P.push($)}for(;d<c.length;){var S=c[d++];if(S.type==="keyword"&&S.content==="mutation"){var _=[];if(b(["definition-mutation","punctuation"])&&g(1).content==="("){d+=2;var A=w(/^\($/,/^\)$/);if(A===-1)continue;for(;d<A;d++){var C=g(0);C.type==="variable"&&(E(C,"variable-input"),_.push(C.content))}d=A+1}if(b(["punctuation","property-query"])&&g(0).content==="{"&&(d++,E(g(0),"property-mutation"),_.length>0)){var O=w(/^\{$/,/^\}$/);if(O===-1)continue;for(var L=d;L<O;L++){var D=c[L];D.type==="variable"&&_.indexOf(D.content)>=0&&E(D,"variable-input")}}}}})}cPe.displayName="groovy";cPe.aliases=[];function cPe(n){n.register(Ds),function(i){var s={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};i.languages.groovy=i.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),i.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:s,string:/[\s\S]+/}}}),i.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),i.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),s.inside.expression.inside=i.languages.groovy}(n)}uPe.displayName="textile";uPe.aliases=[];function uPe(n){n.register(oh),function(i){var s=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,c=/\)|\((?![^|()\n]+\))/.source;function d(A,C){return RegExp(A.replace(/<MOD>/g,function(){return"(?:"+s+")"}).replace(/<PAR>/g,function(){return"(?:"+c+")"}),C||"")}var g={css:{pattern:/\{[^{}]+\}/,inside:{rest:i.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},b=i.languages.textile=i.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:d(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:d(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:g},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:d(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:d(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:g},punctuation:/^[*#]+/}},table:{pattern:d(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:d(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:g},punctuation:/\||^\./}},inline:{pattern:d(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:d(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:d(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:d(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:d(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:d(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:d(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:d(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:d(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:g},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:d(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:d(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:d(/(^")<MOD>+/.source),lookbehind:!0,inside:g},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:d(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:d(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:d(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:g},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),w=b.phrase.inside,E={inline:w.inline,link:w.link,image:w.image,footnote:w.footnote,acronym:w.acronym,mark:w.mark};b.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var S=w.inline.inside;S.bold.inside=E,S.italic.inside=E,S.inserted.inside=E,S.deleted.inside=E,S.span.inside=E;var _=w.table.inside;_.inline=E.inline,_.link=E.link,_.image=E.image,_.footnote=E.footnote,_.acronym=E.acronym,_.mark=E.mark}(n)}lPe.displayName="haml";lPe.aliases=[];function lPe(n){n.register(HR),function(i){i.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:i.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:i.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:i.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:i.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:i.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:i.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var s="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",c=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],d={},g=0,b=c.length;g<b;g++){var w=c[g];w=typeof w=="string"?{filter:w,language:w}:w,i.languages[w.language]&&(d["filter-"+w.filter]={pattern:RegExp(s.replace("{{filter_name}}",function(){return w.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[w.language,"language-"+w.language],inside:i.languages[w.language]}}})}i.languages.insertBefore("haml","filter",d)}(n)}dPe.displayName="handlebars";dPe.aliases=["hbs","mustache"];function dPe(n){n.register(Vh),function(i){i.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},i.hooks.add("before-tokenize",function(s){var c=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;i.languages["markup-templating"].buildPlaceholders(s,"handlebars",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"handlebars")}),i.languages.hbs=i.languages.handlebars,i.languages.mustache=i.languages.handlebars}(n)}tG.displayName="haskell";tG.aliases=["hs"];function tG(n){n.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},n.languages.hs=n.languages.haskell}fPe.displayName="haxe";fPe.aliases=[];function fPe(n){n.register(Ds),n.languages.haxe=n.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),n.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.haxe}}},string:/[\s\S]+/}}}),n.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),n.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}hPe.displayName="hcl";hPe.aliases=[];function hPe(n){n.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}pPe.displayName="hlsl";pPe.aliases=[];function pPe(n){n.register(Gv),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}gPe.displayName="hoon";gPe.aliases=[];function gPe(n){n.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}bPe.displayName="hpkp";bPe.aliases=[];function bPe(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}mPe.displayName="hsts";mPe.aliases=[];function mPe(n){n.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}wPe.displayName="uri";wPe.aliases=["url"];function wPe(n){n.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},n.languages.url=n.languages.uri}yPe.displayName="http";yPe.aliases=[];function yPe(n){(function(i){function s(_){return RegExp("(^(?:"+_+"):[ ]*(?![ ]))[^]+","i")}i.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:i.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:s(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:i.languages.csp},{pattern:s(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:i.languages.hpkp},{pattern:s(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:i.languages.hsts},{pattern:s(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var c=i.languages,d={"application/javascript":c.javascript,"application/json":c.json||c.javascript,"application/xml":c.xml,"text/xml":c.xml,"text/html":c.html,"text/css":c.css,"text/plain":c.plain},g={"application/json":!0,"application/xml":!0};function b(_){var A=_.replace(/^[a-z]+\//,""),C="\\w+/(?:[\\w.-]+\\+)+"+A+"(?![+\\w.-])";return"(?:"+_+"|"+C+")"}var w;for(var E in d)if(d[E]){w=w||{};var S=g[E]?b(E):E;w[E.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+S+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:d[E]}}w&&i.languages.insertBefore("http","header",w)})(n)}vPe.displayName="ichigojam";vPe.aliases=[];function vPe(n){n.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}EPe.displayName="icon";EPe.aliases=[];function EPe(n){n.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}SPe.displayName="icu-message-format";SPe.aliases=[];function SPe(n){(function(i){function s(E,S){return S<=0?/[]/.source:E.replace(/<SELF>/g,function(){return s(E,S-1)})}var c=/'[{}:=,](?:[^']|'')*'(?!')/,d={pattern:/''/,greedy:!0,alias:"operator"},g={pattern:c,greedy:!0,inside:{escape:d}},b=s(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return c.source}),8),w={pattern:RegExp(b),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};i.languages["icu-message-format"]={argument:{pattern:RegExp(b),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":w,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":w,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+s(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:d,string:g},w.inside.message.inside=i.languages["icu-message-format"],i.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=i.languages["icu-message-format"]})(n)}TPe.displayName="idris";TPe.aliases=["idr"];function TPe(n){n.register(tG),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}APe.displayName="ignore";APe.aliases=["gitignore","hgignore","npmignore"];function APe(n){(function(i){i.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},i.languages.gitignore=i.languages.ignore,i.languages.hgignore=i.languages.ignore,i.languages.npmignore=i.languages.ignore})(n)}_Pe.displayName="inform7";_Pe.aliases=[];function _Pe(n){n.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},n.languages.inform7.string.inside.substitution.inside.rest=n.languages.inform7,n.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}xPe.displayName="io";xPe.aliases=[];function xPe(n){n.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}kPe.displayName="j";kPe.aliases=[];function kPe(n){n.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}t9.displayName="javadoclike";t9.aliases=[];function t9(n){(function(i){var s=i.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function c(g,b){var w="doc-comment",E=i.languages[g];if(E){var S=E[w];if(!S){var _={};_[w]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},E=i.languages.insertBefore(g,"comment",_),S=E[w]}if(S instanceof RegExp&&(S=E[w]={pattern:S}),Array.isArray(S))for(var A=0,C=S.length;A<C;A++)S[A]instanceof RegExp&&(S[A]={pattern:S[A]}),b(S[A]);else b(S)}}function d(g,b){typeof g=="string"&&(g=[g]),g.forEach(function(w){c(w,function(E){E.inside||(E.inside={}),E.inside.rest=b})})}Object.defineProperty(s,"addSupport",{value:d}),s.addSupport(["java","javascript","php"],s)})(n)}NPe.displayName="scala";NPe.aliases=[];function NPe(n){n.register(BR),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function,delete n.languages.scala.constant}CPe.displayName="javadoc";CPe.aliases=[];function CPe(n){n.register(BR),n.register(t9),n.register(oh),function(i){var s=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,c=/#\s*\w+(?:\s*\([^()]*\))?/.source,d=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return c});i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+d+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:s,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:s,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}(n)}IPe.displayName="javastacktrace";IPe.aliases=[];function IPe(n){n.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}RPe.displayName="jexl";RPe.aliases=[];function RPe(n){n.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}OPe.displayName="jolie";OPe.aliases=[];function OPe(n){n.register(Ds),n.languages.jolie=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),n.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}DPe.displayName="jq";DPe.aliases=[];function DPe(n){(function(i){var s=/\\\((?:[^()]|\([^()]*\))*\)/.source,c=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return s})),d={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+s),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},g=i.languages.jq={comment:/#.*/,property:{pattern:RegExp(c.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:d},string:{pattern:c,lookbehind:!0,greedy:!0,inside:d},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};d.interpolation.inside.content.inside=g})(n)}LPe.displayName="js-templates";LPe.aliases=[];function LPe(n){n.register(qh),function(i){var s=i.languages.javascript["template-string"],c=s.pattern.source,d=s.inside.interpolation,g=d.inside["interpolation-punctuation"],b=d.pattern.source;function w(L,D){if(i.languages[L])return{pattern:RegExp("((?:"+D+")\\s*)"+c),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:L}}}}i.languages.javascript["template-string"]=[w("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),w("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),w("svg",/\bsvg/.source),w("markdown",/\b(?:markdown|md)/.source),w("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),w("sql",/\bsql/.source),s].filter(Boolean);function E(L,D){return"___"+D.toUpperCase()+"_"+L+"___"}function S(L,D,B){var $={code:L,grammar:D,language:B};return i.hooks.run("before-tokenize",$),$.tokens=i.tokenize($.code,$.grammar),i.hooks.run("after-tokenize",$),$.tokens}function _(L){var D={};D["interpolation-punctuation"]=g;var B=i.tokenize(L,D);if(B.length===3){var $=[1,1];$.push.apply($,S(B[1],i.languages.javascript,"javascript")),B.splice.apply(B,$)}return new i.Token("interpolation",B,d.alias,L)}function A(L,D,B){var $=i.tokenize(L,{interpolation:{pattern:RegExp(b),lookbehind:!0}}),P=0,j={},z=$.map(function(ae){if(typeof ae=="string")return ae;for(var he=ae.content,pe;L.indexOf(pe=E(P++,B))!==-1;);return j[pe]=he,pe}).join(""),ee=S(z,D,B),ne=Object.keys(j);P=0;function Q(ae){for(var he=0;he<ae.length;he++){if(P>=ne.length)return;var pe=ae[he];if(typeof pe=="string"||typeof pe.content=="string"){var ue=ne[P],fe=typeof pe=="string"?pe:pe.content,K=fe.indexOf(ue);if(K!==-1){++P;var ge=fe.substring(0,K),De=_(j[ue]),Se=fe.substring(K+ue.length),Re=[];if(ge&&Re.push(ge),Re.push(De),Se){var Ae=[Se];Q(Ae),Re.push.apply(Re,Ae)}typeof pe=="string"?(ae.splice.apply(ae,[he,1].concat(Re)),he+=Re.length-1):pe.content=Re}}else{var xe=pe.content;Array.isArray(xe)?Q(xe):Q([xe])}}}return Q(ee),new i.Token(B,ee,"language-"+B,L)}var C={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};i.hooks.add("after-tokenize",function(L){if(!(L.language in C))return;function D(B){for(var $=0,P=B.length;$<P;$++){var j=B[$];if(typeof j!="string"){var z=j.content;if(!Array.isArray(z)){typeof z!="string"&&D([z]);continue}if(j.type==="template-string"){var ee=z[1];if(z.length===3&&typeof ee!="string"&&ee.type==="embedded-code"){var ne=O(ee),Q=ee.alias,ae=Array.isArray(Q)?Q[0]:Q,he=i.languages[ae];if(!he)continue;z[1]=A(ne,he,ae)}}else D(z)}}}D(L.tokens)});function O(L){return typeof L=="string"?L:Array.isArray(L)?L.map(O).join(""):O(L.content)}}(n)}MPe.displayName="jsdoc";MPe.aliases=[];function MPe(n){n.register(t9),n.register(qh),n.register(ZM),function(i){var s=i.languages.javascript,c=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,d="(@(?:arg|argument|param|property)\\s+(?:"+c+"\\s+)?)";i.languages.jsdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp(d+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(d+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:s,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return c})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+c),lookbehind:!0,inside:{string:s.string,number:s.number,boolean:s.boolean,keyword:i.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:s,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}(n)}PPe.displayName="n4js";PPe.aliases=["n4jsd"];function PPe(n){n.register(qh),n.languages.n4js=n.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),n.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),n.languages.n4jsd=n.languages.n4js}jPe.displayName="js-extras";jPe.aliases=[];function jPe(n){n.register(qh),function(i){i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function s(E,S){return RegExp(E.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),S)}i.languages.insertBefore("javascript","keyword",{imports:{pattern:s(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:s(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:s(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var c=["function","function-variable","method","method-variable","property-access"],d=0;d<c.length;d++){var g=c[d],b=i.languages.javascript[g];i.util.type(b)==="RegExp"&&(b=i.languages.javascript[g]={pattern:b});var w=b.inside||{};b.inside=w,w["maybe-class-name"]=/^[A-Z][\s\S]*/}}(n)}FPe.displayName="json5";FPe.aliases=[];function FPe(n){n.register(JM),function(i){var s=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;i.languages.json5=i.languages.extend("json",{property:[{pattern:RegExp(s.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:s,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}$Pe.displayName="jsonp";$Pe.aliases=[];function $Pe(n){n.register(JM),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}BPe.displayName="jsstacktrace";BPe.aliases=[];function BPe(n){n.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}UPe.displayName="julia";UPe.aliases=[];function UPe(n){n.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}HPe.displayName="keepalived";HPe.aliases=[];function HPe(n){n.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}zPe.displayName="keyman";zPe.aliases=[];function zPe(n){n.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}GPe.displayName="kumir";GPe.aliases=["kum"];function GPe(n){(function(i){var s=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function c(d,g){return RegExp(d.replace(/<nonId>/g,s),g)}i.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:c(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:c(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:c(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:c(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:c(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:c(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:c(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:c(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},i.languages.kum=i.languages.kumir})(n)}qPe.displayName="kusto";qPe.aliases=[];function qPe(n){n.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}VPe.displayName="latex";VPe.aliases=["context","tex"];function VPe(n){(function(i){var s=/\\(?:[^a-z()[\]]|[a-z*]+)/i,c={"equation-command":{pattern:s,alias:"regex"}};i.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:c,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:c,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:s,alias:"selector"},punctuation:/[[\]{}&]/},i.languages.tex=i.languages.latex,i.languages.context=i.languages.latex})(n)}WPe.displayName="latte";WPe.aliases=[];function WPe(n){n.register(Ds),n.register(Vh),n.register(UR),function(i){i.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}};var s=i.languages.extend("markup",{});i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},s.tag),i.hooks.add("before-tokenize",function(c){if(c.language==="latte"){var d=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(c,"latte",d),c.grammar=s}}),i.hooks.add("after-tokenize",function(c){i.languages["markup-templating"].tokenizePlaceholders(c,"latte")})}(n)}nG.displayName="scheme";nG.aliases=[];function nG(n){(function(i){i.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(s({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function s(c){for(var d in c)c[d]=c[d].replace(/<[\w\s]+>/g,function(g){return"(?:"+c[g].trim()+")"});return c[d]}})(n)}KPe.displayName="lilypond";KPe.aliases=["ly"];function KPe(n){n.register(nG),function(i){for(var s=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,c=5,d=0;d<c;d++)s=s.replace(/<expr>/g,function(){return s});s=s.replace(/<expr>/g,/[^\s\S]/.source);var g=i.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return s}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:i.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};g["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=g,i.languages.ly=g}(n)}YPe.displayName="liquid";YPe.aliases=[];function YPe(n){n.register(Vh),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(i){var s=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,c=!1;n.languages["markup-templating"].buildPlaceholders(i,"liquid",s,function(d){var g=/^\{%-?\s*(\w+)/.exec(d);if(g){var b=g[1];if(b==="raw"&&!c)return c=!0,!0;if(b==="endraw")return c=!1,!0}return!c})}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"liquid")})}JPe.displayName="lisp";JPe.aliases=["elisp","emacs","emacs-lisp"];function JPe(n){(function(i){function s(L){return RegExp(/(\()/.source+"(?:"+L+")"+/(?=[\s\)])/.source)}function c(L){return RegExp(/([\s([])/.source+"(?:"+L+")"+/(?=[\s)])/.source)}var d=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,g="&"+d,b="(\\()",w="(?=\\))",E="(?=\\s)",S=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,_={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+d+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+d),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+d),alias:"property"},splice:{pattern:RegExp(",@?"+d),alias:["symbol","variable"]},keyword:[{pattern:RegExp(b+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+E),lookbehind:!0},{pattern:RegExp(b+"(?:append|by|collect|concat|do|finally|for|in|return)"+E),lookbehind:!0}],declare:{pattern:s(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:s(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:c(/nil|t/.source),lookbehind:!0},number:{pattern:c(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(b+"def(?:const|custom|group|var)\\s+"+d),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(d)}},defun:{pattern:RegExp(b+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+d+/\s+\(/.source+S+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+d),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(b+"lambda\\s+\\(\\s*(?:&?"+d+"(?:\\s+&?"+d+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(b+d),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},A={"lisp-marker":RegExp(g),varform:{pattern:RegExp(/\(/.source+d+/\s+(?=\S)/.source+S+/\)/.source),inside:_},argument:{pattern:RegExp(/(^|[\s(])/.source+d),lookbehind:!0,alias:"variable"},rest:_},C="\\S+(?:\\s+\\S+)*",O={pattern:RegExp(b+S+w),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+C),inside:A},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+C),inside:A},keys:{pattern:RegExp("&key\\s+"+C+"(?:\\s+&allow-other-keys)?"),inside:A},argument:{pattern:RegExp(d),alias:"variable"},punctuation:/[()]/}};_.lambda.inside.arguments=O,_.defun.inside.arguments=i.util.clone(O),_.defun.inside.arguments.inside.sublist=O,i.languages.lisp=_,i.languages.elisp=_,i.languages.emacs=_,i.languages["emacs-lisp"]=_})(n)}XPe.displayName="livescript";XPe.aliases=[];function XPe(n){n.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},n.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=n.languages.livescript}ZPe.displayName="llvm";ZPe.aliases=[];function ZPe(n){(function(i){i.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(n)}QPe.displayName="log";QPe.aliases=[];function QPe(n){n.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:n.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}eje.displayName="lolcode";eje.aliases=[];function eje(n){n.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}tje.displayName="magma";tje.aliases=[];function tje(n){n.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}Nce.displayName="mata";Nce.aliases=[];function Nce(n){(function(i){var s=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,c=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,s);i.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(c),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(n)}nje.displayName="matlab";nje.aliases=[];function nje(n){n.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}rje.displayName="maxscript";rje.aliases=[];function rje(n){(function(i){var s=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;i.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+s.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+s.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:s,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(n)}ije.displayName="mel";ije.aliases=[];function ije(n){n.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},n.languages.mel.code.inside.statement.inside=n.languages.mel}oje.displayName="mermaid";oje.aliases=[];function oje(n){n.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}sje.displayName="metafont";sje.aliases=[];function sje(n){n.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}aje.displayName="mizar";aje.aliases=[];function aje(n){n.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}cje.displayName="mongodb";cje.aliases=[];function cje(n){n.register(qh),function(i){var s=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],c=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];s=s.map(function(g){return g.replace("$","\\$")});var d="(?:"+s.join("|")+")\\b";i.languages.mongodb=i.languages.extend("javascript",{}),i.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+d+"(?:\\1)?$")}}}),i.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},i.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+c.join("|")+")\\b"),alias:"keyword"}})}(n)}uje.displayName="monkey";uje.aliases=[];function uje(n){n.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}lje.displayName="moonscript";lje.aliases=["moon"];function lje(n){n.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},n.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=n.languages.moonscript,n.languages.moon=n.languages.moonscript}dje.displayName="n1ql";dje.aliases=[];function dje(n){n.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}fje.displayName="nand2tetris-hdl";fje.aliases=[];function fje(n){n.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}hje.displayName="naniscript";hje.aliases=["nani"];function hje(n){(function(i){var s=/\{[^\r\n\[\]{}]*\}/,c={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:s,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};i.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:s,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:c}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:s,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:c},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},i.languages.nani=i.languages.naniscript,i.hooks.add("after-tokenize",function(b){var w=b.tokens;w.forEach(function(E){if(typeof E!="string"&&E.type==="generic-text"){var S=g(E);d(S)||(E.type="bad-line",E.content=S)}})});function d(b){for(var w="[]{}",E=[],S=0;S<b.length;S++){var _=b[S],A=w.indexOf(_);if(A!==-1){if(A%2===0)E.push(A+1);else if(E.pop()!==A)return!1}}return E.length===0}function g(b){return typeof b=="string"?b:Array.isArray(b)?b.map(g).join(""):g(b.content)}})(n)}pje.displayName="nasm";pje.aliases=[];function pje(n){n.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}gje.displayName="neon";gje.aliases=[];function gje(n){n.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}bje.displayName="nevod";bje.aliases=[];function bje(n){n.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}mje.displayName="nginx";mje.aliases=[];function mje(n){(function(i){var s=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;i.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:s}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:s}},punctuation:/[{};]/}})(n)}wje.displayName="nim";wje.aliases=[];function wje(n){n.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}yje.displayName="nix";yje.aliases=[];function yje(n){n.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},n.languages.nix.string.inside.interpolation.inside=n.languages.nix}vje.displayName="nsis";vje.aliases=[];function vje(n){n.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}Eje.displayName="ocaml";Eje.aliases=[];function Eje(n){n.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}Sje.displayName="odin";Sje.aliases=[];function Sje(n){(function(i){var s=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;i.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:s}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:s}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(n)}Tje.displayName="opencl";Tje.aliases=[];function Tje(n){n.register(Gv),function(i){i.languages.opencl=i.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),i.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var s={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};i.languages.insertBefore("c","keyword",s),i.languages.cpp&&(s["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},i.languages.insertBefore("cpp","keyword",s))}(n)}Aje.displayName="openqasm";Aje.aliases=["qasm"];function Aje(n){n.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},n.languages.qasm=n.languages.openqasm}_je.displayName="oz";_je.aliases=[];function _je(n){n.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}xje.displayName="parigp";xje.aliases=[];function xje(n){n.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var i=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return i=i.map(function(s){return s.split("").join(" *")}).join("|"),RegExp("\\b(?:"+i+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}kje.displayName="parser";kje.aliases=[];function kje(n){n.register(oh),function(i){var s=i.languages.parser=i.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});s=i.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:s.keyword,variable:s.variable,function:s.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:s.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:s.punctuation}}}),i.languages.insertBefore("inside","punctuation",{expression:s.expression,keyword:s.keyword,variable:s.variable,function:s.function,escape:s.escape,"parser-punctuation":{pattern:s.punctuation,alias:"punctuation"}},s.tag.inside["attr-value"])}(n)}Nje.displayName="pascal";Nje.aliases=["objectpascal"];function Nje(n){n.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},n.languages.pascal.asm.inside=n.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),n.languages.objectpascal=n.languages.pascal}Cje.displayName="pascaligo";Cje.aliases=[];function Cje(n){(function(i){var s=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,c=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return s}),d=i.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return c}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return c}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return c})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},g=["comment","keyword","builtin","operator","punctuation"].reduce(function(b,w){return b[w]=d[w],b},{});d["class-name"].forEach(function(b){b.inside=g})})(n)}Ije.displayName="psl";Ije.aliases=[];function Ije(n){n.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}Rje.displayName="pcaxis";Rje.aliases=["px"];function Rje(n){n.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},n.languages.px=n.languages.pcaxis}Oje.displayName="peoplecode";Oje.aliases=["pcode"];function Oje(n){n.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},n.languages.pcode=n.languages.peoplecode}Dje.displayName="phpdoc";Dje.aliases=[];function Dje(n){n.register(t9),n.register(UR),function(i){var s=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;i.languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+s+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+s),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}(n)}Lje.displayName="php-extras";Lje.aliases=[];function Lje(n){n.register(UR),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}Mje.displayName="plant-uml";Mje.aliases=["plantuml"];function Mje(n){(function(i){var s=/\$\w+|%[a-z]+%/,c=/\[[^[\]]*\]/.source,d=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,g="(?:-+"+d+"-+|\\.+"+d+"\\.+|-+(?:"+c+"-*)?|"+c+"-+|\\.+(?:"+c+"\\.*)?|"+c+"\\.+)",b=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,w=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,E=/[[?]?[ox]?/.source,S=/[ox]?[\]?]?/.source,_=E+"(?:"+g+w+"|"+b+g+"(?:"+w+")?)"+S;i.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:s}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+_+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:s,punctuation:/[:,;()[\]{}]|\.{3}/},i.languages["plant-uml"].arrow.inside.expression.inside=i.languages["plant-uml"],i.languages.plantuml=i.languages["plant-uml"]})(n)}Pje.displayName="plsql";Pje.aliases=[];function Pje(n){n.register(XM),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}jje.displayName="powerquery";jje.aliases=["mscript","pq"];function jje(n){n.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},n.languages.pq=n.languages.powerquery,n.languages.mscript=n.languages.powerquery}Fje.displayName="powershell";Fje.aliases=[];function Fje(n){(function(i){var s=i.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};s.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:s},boolean:s.boolean,variable:s.variable}})(n)}$je.displayName="processing";$je.aliases=[];function $je(n){n.register(Ds),n.languages.processing=n.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),n.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}Bje.displayName="prolog";Bje.aliases=[];function Bje(n){n.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}Uje.displayName="promql";Uje.aliases=[];function Uje(n){(function(i){var s=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],c=["on","ignoring","group_right","group_left","by","without"],d=["offset"],g=s.concat(c,d);i.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+c.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+g.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(n)}Hje.displayName="properties";Hje.aliases=[];function Hje(n){n.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}zje.displayName="protobuf";zje.aliases=[];function zje(n){n.register(Ds),function(i){var s=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;i.languages.protobuf=i.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),i.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:s}},builtin:s,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(n)}Gje.displayName="stylus";Gje.aliases=[];function Gje(n){(function(i){var s={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},c={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},d={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:s,number:c,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:s,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:c,punctuation:/[{}()\[\];:,]/};d.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:d}},d.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:d}},i.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:d}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:d}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:d}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:d.interpolation}},rest:d}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:d.interpolation,comment:d.comment,punctuation:/[{},]/}},func:d.func,string:d.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:d.interpolation,punctuation:/[{}()\[\];:.]/}})(n)}qje.displayName="twig";qje.aliases=[];function qje(n){n.register(Vh),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(i){if(i.language==="twig"){var s=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(i,"twig",s)}}),n.hooks.add("after-tokenize",function(i){n.languages["markup-templating"].tokenizePlaceholders(i,"twig")})}Vje.displayName="pug";Vje.aliases=[];function Vje(n){n.register(qh),n.register(oh),function(i){i.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:i.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:i.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:i.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:i.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:i.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:i.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:i.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:i.languages.javascript}],punctuation:/[.\-!=|]+/};for(var s=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,c=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],d={},g=0,b=c.length;g<b;g++){var w=c[g];w=typeof w=="string"?{filter:w,language:w}:w,i.languages[w.language]&&(d["filter-"+w.filter]={pattern:RegExp(s.replace("<filter_name>",function(){return w.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[w.language,"language-"+w.language],inside:i.languages[w.language]}}})}i.languages.insertBefore("pug","filter",d)}(n)}Wje.displayName="puppet";Wje.aliases=[];function Wje(n){(function(i){i.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var s=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:i.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];i.languages.puppet.heredoc[0].inside.interpolation=s,i.languages.puppet.string.inside["double-quoted"].inside.interpolation=s})(n)}Kje.displayName="pure";Kje.aliases=[];function Kje(n){(function(i){i.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var s=["c",{lang:"c++",alias:"cpp"},"fortran"],c=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;s.forEach(function(d){var g=d;if(typeof d!="string"&&(g=d.alias,d=d.lang),i.languages[g]){var b={};b["inline-lang-"+g]={pattern:RegExp(c.replace("<lang>",d.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:i.util.clone(i.languages.pure["inline-lang"].inside)},b["inline-lang-"+g].inside.rest=i.util.clone(i.languages[g]),i.languages.insertBefore("pure","inline-lang",b)}}),i.languages.c&&(i.languages.pure["inline-lang"].inside.rest=i.util.clone(i.languages.c))})(n)}Yje.displayName="purebasic";Yje.aliases=["pbfasm"];function Yje(n){n.register(Ds),n.languages.purebasic=n.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),n.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete n.languages.purebasic["class-name"],delete n.languages.purebasic.boolean,n.languages.pbfasm=n.languages.purebasic}Jje.displayName="purescript";Jje.aliases=["purs"];function Jje(n){n.register(tG),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}Xje.displayName="qsharp";Xje.aliases=["qs"];function Xje(n){n.register(Ds),function(i){function s(O,L){return O.replace(/<<(\d+)>>/g,function(D,B){return"(?:"+L[+B]+")"})}function c(O,L,D){return RegExp(s(O,L),"")}function d(O,L){for(var D=0;D<L;D++)O=O.replace(/<<self>>/g,function(){return"(?:"+O+")"});return O.replace(/<<self>>/g,"[^\\s\\S]")}var g={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function b(O){return"\\b(?:"+O.trim().replace(/ /g,"|")+")\\b"}var w=RegExp(b(g.type+" "+g.other)),E=/\b[A-Za-z_]\w*\b/.source,S=s(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[E]),_={keyword:w,punctuation:/[<>()?,.:[\]]/},A=/"(?:\\.|[^\\"])*"/.source;i.languages.qsharp=i.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[S]),lookbehind:!0,inside:_},{pattern:c(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[S]),lookbehind:!0,inside:_}],keyword:w,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),i.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var C=d(s(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[A]),2);i.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:c(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[C]),greedy:!0,inside:{interpolation:{pattern:c(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[C]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:i.languages.qsharp}}},string:/[\s\S]+/}}})}(n),n.languages.qs=n.languages.qsharp}Zje.displayName="q";Zje.aliases=[];function Zje(n){n.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}Qje.displayName="qml";Qje.aliases=[];function Qje(n){n.register(qh),function(i){for(var s=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,c=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,d=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return s}).replace(/<comment>/g,function(){return c}),g=0;g<2;g++)d=d.replace(/<expr>/g,function(){return d});d=d.replace(/<expr>/g,"[^\\s\\S]"),i.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return d}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return d}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:i.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(n)}eFe.displayName="qore";eFe.aliases=[];function eFe(n){n.register(Ds),n.languages.qore=n.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}tFe.displayName="racket";tFe.aliases=["rkt"];function tFe(n){n.register(nG),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}nFe.displayName="cshtml";nFe.aliases=["razor"];function nFe(n){n.register($R),n.register(oh),function(i){var s=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,c=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function d(P,j){for(var z=0;z<j;z++)P=P.replace(/<self>/g,function(){return"(?:"+P+")"});return P.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+c+")").replace(/<comment>/g,"(?:"+s+")")}var g=d(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),b=d(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),w=d(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),E=d(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),S=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+g+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+E+")?"+g+"|"+b+")*"+/(?![?!\.(\[]|<(?!\/))/.source,_=/@(?![\w()])/.source+"|"+S,A="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+_+`)[^"'@]*)+["'])`,C=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,A),O=/(?!\d)[^\s>\/=$<%]+/.source+C+/\s*\/?>/.source,L=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+C+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+O+"|"+d(/<\1/.source+C+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+O+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+O+")";i.languages.cshtml=i.languages.extend("markup",{});var D=i.languages.insertBefore("csharp","string",{html:{pattern:RegExp(L),greedy:!0,inside:i.languages.cshtml}},{csharp:i.languages.extend("csharp",{})}),B={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:D},$={pattern:RegExp(/(^|[^@])/.source+S),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:B}};i.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+O),i.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+A),i.languages.insertBefore("inside","punctuation",{value:$},i.languages.cshtml.tag.inside["attr-value"]),i.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[w,/(?:code|functions)\s*/.source+w,/(?:for|foreach|lock|switch|using|while)\s*/.source+g+/\s*/.source+w,/do\s*/.source+w+/\s*while\s*/.source+g+/(?:\s*;)?/.source,/try\s*/.source+w+/\s*catch\s*/.source+g+/\s*/.source+w+/\s*finally\s*/.source+w,/if\s*/.source+g+/\s*/.source+w+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+g+")?"+/\s*/.source+w+")*",/helper\s+\w+\s*/.source+g+/\s*/.source+w].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:B}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:B}},value:$,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),i.languages.razor=i.languages.cshtml}(n)}Cce.displayName="jsx";Cce.aliases=[];function Cce(n){n.register(qh),n.register(oh),function(i){var s=i.util.clone(i.languages.javascript),c=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,d=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,g=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function b(S,_){return S=S.replace(/<S>/g,function(){return c}).replace(/<BRACES>/g,function(){return d}).replace(/<SPREAD>/g,function(){return g}),RegExp(S,_)}g=b(g).source,i.languages.jsx=i.languages.extend("markup",s),i.languages.jsx.tag.pattern=b(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=s.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:b(/<SPREAD>/.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:b(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);var w=function(S){return S?typeof S=="string"?S:typeof S.content=="string"?S.content:S.content.map(w).join(""):""},E=function(S){for(var _=[],A=0;A<S.length;A++){var C=S[A],O=!1;if(typeof C!="string"&&(C.type==="tag"&&C.content[0]&&C.content[0].type==="tag"?C.content[0].content[0].content==="</"?_.length>0&&_[_.length-1].tagName===w(C.content[0].content[1])&&_.pop():C.content[C.content.length-1].content==="/>"||_.push({tagName:w(C.content[0].content[1]),openedBraces:0}):_.length>0&&C.type==="punctuation"&&C.content==="{"?_[_.length-1].openedBraces++:_.length>0&&_[_.length-1].openedBraces>0&&C.type==="punctuation"&&C.content==="}"?_[_.length-1].openedBraces--:O=!0),(O||typeof C=="string")&&_.length>0&&_[_.length-1].openedBraces===0){var L=w(C);A<S.length-1&&(typeof S[A+1]=="string"||S[A+1].type==="plain-text")&&(L+=w(S[A+1]),S.splice(A+1,1)),A>0&&(typeof S[A-1]=="string"||S[A-1].type==="plain-text")&&(L=w(S[A-1])+L,S.splice(A-1,1),A--),S[A]=new i.Token("plain-text",L,null,L)}C.content&&typeof C.content!="string"&&E(C.content)}};i.hooks.add("after-tokenize",function(S){S.language!=="jsx"&&S.language!=="tsx"||E(S.tokens)})}(n)}rFe.displayName="tsx";rFe.aliases=[];function rFe(n){n.register(Cce),n.register(ZM),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(n)}iFe.displayName="reason";iFe.aliases=[];function iFe(n){n.register(Ds),n.languages.reason=n.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),n.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete n.languages.reason.function}oFe.displayName="rego";oFe.aliases=[];function oFe(n){n.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}sFe.displayName="renpy";sFe.aliases=["rpy"];function sFe(n){n.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},n.languages.rpy=n.languages.renpy}aFe.displayName="rescript";aFe.aliases=["res"];function aFe(n){n.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},n.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:n.languages.rescript}},string:/[\s\S]+/}}}),n.languages.res=n.languages.rescript}cFe.displayName="rest";cFe.aliases=[];function cFe(n){n.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}uFe.displayName="rip";uFe.aliases=[];function uFe(n){n.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}lFe.displayName="roboconf";lFe.aliases=[];function lFe(n){n.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}dFe.displayName="robotframework";dFe.aliases=["robot"];function dFe(n){(function(i){var s={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},c={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function d(E,S){var _={};_["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var A in S)_[A]=S[A];return _.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},_.variable=c,_.comment=s,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return E}),"im"),alias:"section",inside:_}}var g={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},b={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:c}},w={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:c}};i.languages.robotframework={settings:d("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:d("Variables"),"test-cases":d("Test Cases",{"test-name":b,documentation:g,property:w}),keywords:d("Keywords",{"keyword-name":b,documentation:g,property:w}),tasks:d("Tasks",{"task-name":b,documentation:g,property:w}),comment:s},i.languages.robot=i.languages.robotframework})(n)}fFe.displayName="sas";fFe.aliases=[];function fFe(n){(function(i){var s=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,c=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,d={pattern:RegExp(s+"[bx]"),alias:"number"},g={pattern:/&[a-z_]\w*/i},b={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},w={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},E=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],S={pattern:RegExp(s),greedy:!0},_=/[$%@.(){}\[\];,\\]/,A={pattern:/%?\b\w+(?=\()/,alias:"keyword"},C={function:A,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":g,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:c,"numeric-constant":d,punctuation:_,string:S},O={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},L={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},D={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},B={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},$=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,P={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return $}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return $}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:E,function:A,"arg-value":C["arg-value"],operator:C.operator,argument:C.arg,number:c,"numeric-constant":d,punctuation:_,string:S}},j={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};i.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return s}),"im"),alias:"language-sql",inside:i.languages.sql},"global-statements":D,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:c,"numeric-constant":d,punctuation:_,string:S}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return s}),"im"),lookbehind:!0,alias:"language-groovy",inside:i.languages.groovy},keyword:j,"submit-statement":B,"global-statements":D,number:c,"numeric-constant":d,punctuation:_,string:S}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return s}),"im"),lookbehind:!0,alias:"language-lua",inside:i.languages.lua},keyword:j,"submit-statement":B,"global-statements":D,number:c,"numeric-constant":d,punctuation:_,string:S}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:E,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:C}},"cas-actions":P,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:C},step:w,keyword:j,function:A,format:O,altformat:L,"global-statements":D,number:c,"numeric-constant":d,punctuation:_,string:S}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return s}),"im"),lookbehind:!0,inside:C},"macro-keyword":b,"macro-variable":g,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":b,"macro-variable":g,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:_}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:E,number:c,"numeric-constant":d}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:C},"cas-actions":P,comment:E,function:A,format:O,altformat:L,"numeric-constant":d,datetime:{pattern:RegExp(s+"(?:dt?|t)"),alias:"number"},string:S,step:w,keyword:j,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:c,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:_}})(n)}hFe.displayName="shell-session";hFe.aliases=["sh-session","shellsession"];function hFe(n){n.register(Kz),function(i){var s=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return s}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]}(n)}pFe.displayName="smali";pFe.aliases=[];function pFe(n){n.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}gFe.displayName="smalltalk";gFe.aliases=[];function gFe(n){n.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}bFe.displayName="smarty";bFe.aliases=[];function bFe(n){n.register(Vh),function(i){i.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:i.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},i.languages.smarty["embedded-php"].inside.smarty.inside=i.languages.smarty,i.languages.smarty.string[0].inside.interpolation.inside.expression.inside=i.languages.smarty;var s=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,c=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return s.source}),"g");i.hooks.add("before-tokenize",function(d){var g="{literal}",b="{/literal}",w=!1;i.languages["markup-templating"].buildPlaceholders(d,"smarty",c,function(E){return E===b&&(w=!1),w?!1:(E===g&&(w=!0),!0)})}),i.hooks.add("after-tokenize",function(d){i.languages["markup-templating"].tokenizePlaceholders(d,"smarty")})}(n)}mFe.displayName="sml";mFe.aliases=["smlnj"];function mFe(n){(function(i){var s=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;i.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return s.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:s,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},i.languages.sml["class-name"][0].inside=i.languages.sml,i.languages.smlnj=i.languages.sml})(n)}wFe.displayName="solidity";wFe.aliases=["sol"];function wFe(n){n.register(Ds),n.languages.solidity=n.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),n.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),n.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),n.languages.sol=n.languages.solidity}yFe.displayName="solution-file";yFe.aliases=["sln"];function yFe(n){(function(i){var s={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};i.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:s}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:s}},guid:s,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},i.languages.sln=i.languages["solution-file"]})(n)}vFe.displayName="soy";vFe.aliases=[];function vFe(n){n.register(Vh),function(i){var s=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,c=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;i.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:s,greedy:!0},number:c,punctuation:/[\[\].?]/}},string:{pattern:s,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:c,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},i.hooks.add("before-tokenize",function(d){var g=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,b="{literal}",w="{/literal}",E=!1;i.languages["markup-templating"].buildPlaceholders(d,"soy",g,function(S){return S===w&&(E=!1),E?!1:(S===b&&(E=!0),!0)})}),i.hooks.add("after-tokenize",function(d){i.languages["markup-templating"].tokenizePlaceholders(d,"soy")})}(n)}Ice.displayName="turtle";Ice.aliases=["trig"];function Ice(n){n.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},n.languages.trig=n.languages.turtle}EFe.displayName="sparql";EFe.aliases=["rq"];function EFe(n){n.register(Ice),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}SFe.displayName="splunk-spl";SFe.aliases=[];function SFe(n){n.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}TFe.displayName="sqf";TFe.aliases=[];function TFe(n){n.register(Ds),n.languages.sqf=n.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),n.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:n.languages.sqf.comment}}}),delete n.languages.sqf["class-name"]}AFe.displayName="squirrel";AFe.aliases=[];function AFe(n){n.register(Ds),n.languages.squirrel=n.languages.extend("clike",{comment:[n.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),n.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}_Fe.displayName="stan";_Fe.aliases=[];function _Fe(n){(function(i){var s=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;i.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+s.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,s],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},i.languages.stan.constraint.inside.expression.inside=i.languages.stan})(n)}xFe.displayName="stata";xFe.aliases=[];function xFe(n){n.register(BR),n.register(Nce),n.register(Xz),n.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:n.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:n.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:n.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},n.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=n.languages.stata}kFe.displayName="iecst";kFe.aliases=[];function kFe(n){n.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}NFe.displayName="supercollider";NFe.aliases=["sclang"];function NFe(n){n.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},n.languages.sclang=n.languages.supercollider}CFe.displayName="systemd";CFe.aliases=[];function CFe(n){(function(i){var s={pattern:/^[;#].*/m,greedy:!0},c=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;i.languages.systemd={comment:s,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+c+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+c+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:s,quoted:{pattern:RegExp(/(^|\s)/.source+c),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(n)}rG.displayName="t4-templating";rG.aliases=[];function rG(n){(function(i){function s(d,g,b){return{pattern:RegExp("<#"+d+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+d+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:g,alias:b}}}}function c(d){var g=i.languages[d],b="language-"+d;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:s("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:s("=",g,b),"class-feature":s("\\+",g,b),standard:s("",g,b)}}}}i.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:c})})(n)}IFe.displayName="t4-cs";IFe.aliases=["t4"];function IFe(n){n.register($R),n.register(rG),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}RFe.displayName="t4-vb";RFe.aliases=[];function RFe(n){n.register(rG),n.register(Qz),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}OFe.displayName="tap";OFe.aliases=[];function OFe(n){n.register(Jz),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}DFe.displayName="tcl";DFe.aliases=[];function DFe(n){n.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}LFe.displayName="tt2";LFe.aliases=[];function LFe(n){n.register(Ds),n.register(Vh),function(i){i.languages.tt2=i.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),i.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),i.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),i.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete i.languages.tt2.string,i.hooks.add("before-tokenize",function(s){var c=/\[%[\s\S]+?%\]/g;i.languages["markup-templating"].buildPlaceholders(s,"tt2",c)}),i.hooks.add("after-tokenize",function(s){i.languages["markup-templating"].tokenizePlaceholders(s,"tt2")})}(n)}MFe.displayName="toml";MFe.aliases=[];function MFe(n){(function(i){var s=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function c(d){return d.replace(/__/g,function(){return s})}i.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(c(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(c(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(n)}PFe.displayName="tremor";PFe.aliases=["trickle","troy"];function PFe(n){(function(i){i.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var s=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;i.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+s+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+s+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(s),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:i.languages.tremor}}},string:/[\s\S]+/}},i.languages.troy=i.languages.tremor,i.languages.trickle=i.languages.tremor})(n)}jFe.displayName="typoscript";jFe.aliases=["tsconfig"];function jFe(n){(function(i){var s=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;i.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:s}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:s,number:/^\d+$/,punctuation:/[,|:]/}},keyword:s,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},i.languages.tsconfig=i.languages.typoscript})(n)}FFe.displayName="unrealscript";FFe.aliases=["uc","uscript"];function FFe(n){n.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},n.languages.uc=n.languages.uscript=n.languages.unrealscript}$Fe.displayName="uorazor";$Fe.aliases=[];function $Fe(n){n.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}BFe.displayName="v";BFe.aliases=[];function BFe(n){n.register(Ds),function(i){var s={pattern:/[\s\S]+/,inside:null};i.languages.v=i.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":s}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),s.inside=i.languages.v,i.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),i.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),i.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:i.languages.v.generic.inside}}}})}(n)}UFe.displayName="vala";UFe.aliases=[];function UFe(n){n.register(Ds),n.languages.vala=n.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),n.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:n.languages.vala}},string:/[\s\S]+/}}}),n.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}HFe.displayName="velocity";HFe.aliases=[];function HFe(n){n.register(oh),function(i){i.languages.velocity=i.languages.extend("markup",{});var s={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};s.variable.inside={string:s.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:s.number,boolean:s.boolean,punctuation:s.punctuation},i.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:s}},variable:s.variable}),i.languages.velocity.tag.inside["attr-value"].inside.rest=i.languages.velocity}(n)}zFe.displayName="verilog";zFe.aliases=[];function zFe(n){n.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}GFe.displayName="vhdl";GFe.aliases=[];function GFe(n){n.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}qFe.displayName="vim";qFe.aliases=[];function qFe(n){n.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}VFe.displayName="visual-basic";VFe.aliases=["vb","vba"];function VFe(n){n.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},n.languages.vb=n.languages["visual-basic"],n.languages.vba=n.languages["visual-basic"]}WFe.displayName="warpscript";WFe.aliases=[];function WFe(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}KFe.displayName="wasm";KFe.aliases=[];function KFe(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}YFe.displayName="web-idl";YFe.aliases=["webidl"];function YFe(n){(function(i){var s=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,c="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+s+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,d={};i.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+s),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:d},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+c),lookbehind:!0,inside:d},{pattern:RegExp("("+/\bcallback\s+/.source+s+/\s*=\s*/.source+")"+c),lookbehind:!0,inside:d},{pattern:RegExp(/(\btypedef\b\s*)/.source+c),lookbehind:!0,inside:d},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+s),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+s),lookbehind:!0},RegExp(s+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+s),lookbehind:!0},{pattern:RegExp(c+"(?="+/\s*(?:\.{3}\s*)?/.source+s+/\s*[(),;=]/.source+")"),inside:d}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var g in i.languages["web-idl"])g!=="class-name"&&(d[g]=i.languages["web-idl"][g]);i.languages.webidl=i.languages["web-idl"]})(n)}JFe.displayName="wgsl";JFe.aliases=[];function JFe(n){n.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}XFe.displayName="wiki";XFe.aliases=[];function XFe(n){n.register(oh),n.languages.wiki=n.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:n.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),n.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:n.languages.markup.tag.inside}}}})}ZFe.displayName="wolfram";ZFe.aliases=["mathematica","nb","wl"];function ZFe(n){n.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},n.languages.mathematica=n.languages.wolfram,n.languages.wl=n.languages.wolfram,n.languages.nb=n.languages.wolfram}QFe.displayName="wren";QFe.aliases=[];function QFe(n){n.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},n.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:n.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e7e.displayName="xeora";e7e.aliases=["xeoracube"];function e7e(n){n.register(oh),function(i){i.languages.xeora=i.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),i.languages.insertBefore("inside","punctuation",{variable:i.languages.xeora["function-inline"].inside.variable},i.languages.xeora["function-block"]),i.languages.xeoracube=i.languages.xeora}(n)}t7e.displayName="xml-doc";t7e.aliases=[];function t7e(n){n.register(oh),function(i){function s(b,w){i.languages[b]&&i.languages.insertBefore(b,"comment",{"doc-comment":w})}var c=i.languages.markup.tag,d={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:c}},g={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:c}};s("csharp",d),s("fsharp",d),s("vbnet",g)}(n)}n7e.displayName="xojo";n7e.aliases=[];function n7e(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}r7e.displayName="xquery";r7e.aliases=[];function r7e(n){n.register(oh),function(i){i.languages.xquery=i.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),i.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,i.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,i.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,i.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:i.languages.xquery,alias:"language-xquery"};var s=function(d){return typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(s).join("")},c=function(d){for(var g=[],b=0;b<d.length;b++){var w=d[b],E=!1;if(typeof w!="string"&&(w.type==="tag"&&w.content[0]&&w.content[0].type==="tag"?w.content[0].content[0].content==="</"?g.length>0&&g[g.length-1].tagName===s(w.content[0].content[1])&&g.pop():w.content[w.content.length-1].content==="/>"||g.push({tagName:s(w.content[0].content[1]),openedBraces:0}):g.length>0&&w.type==="punctuation"&&w.content==="{"&&(!d[b+1]||d[b+1].type!=="punctuation"||d[b+1].content!=="{")&&(!d[b-1]||d[b-1].type!=="plain-text"||d[b-1].content!=="{")?g[g.length-1].openedBraces++:g.length>0&&g[g.length-1].openedBraces>0&&w.type==="punctuation"&&w.content==="}"?g[g.length-1].openedBraces--:w.type!=="comment"&&(E=!0)),(E||typeof w=="string")&&g.length>0&&g[g.length-1].openedBraces===0){var S=s(w);b<d.length-1&&(typeof d[b+1]=="string"||d[b+1].type==="plain-text")&&(S+=s(d[b+1]),d.splice(b+1,1)),b>0&&(typeof d[b-1]=="string"||d[b-1].type==="plain-text")&&(S=s(d[b-1])+S,d.splice(b-1,1),b--),/^\s+$/.test(S)?d[b]=S:d[b]=new i.Token("plain-text",S,null,S)}w.content&&typeof w.content!="string"&&c(w.content)}};i.hooks.add("after-tokenize",function(d){d.language==="xquery"&&c(d.tokens)})}(n)}i7e.displayName="yang";i7e.aliases=[];function i7e(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}o7e.displayName="zig";o7e.aliases=[];function o7e(n){(function(i){function s(S){return function(){return S}}var c=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,d="\\b(?!"+c.source+")(?!\\d)\\w+\\b",g=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,b=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,s(g)),w=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,s(d)),E="(?!\\s)(?:!?\\s*(?:"+b+"\\s*)*"+w+")+";i.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,s(E)).replace(/<ALIGN>/g,s(g))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,s(E)).replace(/<ALIGN>/g,s(g))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:c,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},i.languages.zig["class-name"].forEach(function(S){S.inside===null&&(S.inside=i.languages.zig)})})(n)}_e.register(oh);_e.register(NN);_e.register(Ds);_e.register(bce);_e.register(qh);_e.register(S9e);_e.register(T9e);_e.register(A9e);_e.register(_9e);_e.register(x9e);_e.register(k9e);_e.register(N9e);_e.register(C9e);_e.register(XM);_e.register(I9e);_e.register(R9e);_e.register(O9e);_e.register(D9e);_e.register(Gv);_e.register(FR);_e.register(fce);_e.register(L9e);_e.register(M9e);_e.register(Kz);_e.register(Jz);_e.register(vce);_e.register(P9e);_e.register(j9e);_e.register($R);_e.register(F9e);_e.register($9e);_e.register(B9e);_e.register(U9e);_e.register(H9e);_e.register(z9e);_e.register(G9e);_e.register(q9e);_e.register(Zz);_e.register(V9e);_e.register(W9e);_e.register(K9e);_e.register(Y9e);_e.register(J9e);_e.register(X9e);_e.register(Z9e);_e.register(Q9e);_e.register(e8e);_e.register(t8e);_e.register(n8e);_e.register(r8e);_e.register(i8e);_e.register(o8e);_e.register(s8e);_e.register(a8e);_e.register(c8e);_e.register(u8e);_e.register(l8e);_e.register(d8e);_e.register(f8e);_e.register(h8e);_e.register(p8e);_e.register(g8e);_e.register(b8e);_e.register(HR);_e.register(m8e);_e.register(w8e);_e.register(y8e);_e.register(v8e);_e.register(E8e);_e.register(S8e);_e.register(T8e);_e.register(A8e);_e.register(_8e);_e.register(x8e);_e.register(hce);_e.register(Vh);_e.register(k8e);_e.register(N8e);_e.register(C8e);_e.register(I8e);_e.register(R8e);_e.register(O8e);_e.register(D8e);_e.register(L8e);_e.register(M8e);_e.register(P8e);_e.register(Yz);_e.register(j8e);_e.register(F8e);_e.register($8e);_e.register(B8e);_e.register(U8e);_e.register(H8e);_e.register(z8e);_e.register(G8e);_e.register(q8e);_e.register(V8e);_e.register(W8e);_e.register(K8e);_e.register(Y8e);_e.register(J8e);_e.register(X8e);_e.register(Z8e);_e.register(Q8e);_e.register(ePe);_e.register(tPe);_e.register(nPe);_e.register(rPe);_e.register(iPe);_e.register(pce);_e.register(oPe);_e.register(sPe);_e.register(aPe);_e.register(cPe);_e.register(wce);_e.register(xce);_e.register(uPe);_e.register(lPe);_e.register(dPe);_e.register(tG);_e.register(fPe);_e.register(hPe);_e.register(pPe);_e.register(gPe);_e.register(bPe);_e.register(mPe);_e.register(JM);_e.register(wPe);_e.register(yPe);_e.register(vPe);_e.register(EPe);_e.register(SPe);_e.register(TPe);_e.register(APe);_e.register(_Pe);_e.register(gce);_e.register(xPe);_e.register(kPe);_e.register(BR);_e.register(UR);_e.register(t9);_e.register(NPe);_e.register(CPe);_e.register(IPe);_e.register(RPe);_e.register(OPe);_e.register(DPe);_e.register(LPe);_e.register(ZM);_e.register(MPe);_e.register(PPe);_e.register(jPe);_e.register(FPe);_e.register($Pe);_e.register(BPe);_e.register(UPe);_e.register(HPe);_e.register(zPe);_e.register(mce);_e.register(GPe);_e.register(qPe);_e.register(VPe);_e.register(WPe);_e.register(nG);_e.register(KPe);_e.register(YPe);_e.register(JPe);_e.register(XPe);_e.register(ZPe);_e.register(QPe);_e.register(eje);_e.register(tje);_e.register(yce);_e.register(Nce);_e.register(nje);_e.register(rje);_e.register(ije);_e.register(oje);_e.register(sje);_e.register(aje);_e.register(cje);_e.register(uje);_e.register(lje);_e.register(dje);_e.register(fje);_e.register(hje);_e.register(pje);_e.register(gje);_e.register(bje);_e.register(mje);_e.register(wje);_e.register(yje);_e.register(vje);_e.register(Ece);_e.register(Eje);_e.register(Sje);_e.register(Tje);_e.register(Aje);_e.register(_je);_e.register(xje);_e.register(kje);_e.register(Nje);_e.register(Cje);_e.register(Ije);_e.register(Rje);_e.register(Oje);_e.register(Sce);_e.register(Dje);_e.register(Lje);_e.register(Mje);_e.register(Pje);_e.register(jje);_e.register(Fje);_e.register($je);_e.register(Bje);_e.register(Uje);_e.register(Hje);_e.register(zje);_e.register(Gje);_e.register(qje);_e.register(Vje);_e.register(Wje);_e.register(Kje);_e.register(Yje);_e.register(Jje);_e.register(Xz);_e.register(Xje);_e.register(Zje);_e.register(Qje);_e.register(eFe);_e.register(Tce);_e.register(tFe);_e.register(nFe);_e.register(Cce);_e.register(rFe);_e.register(iFe);_e.register(oFe);_e.register(sFe);_e.register(aFe);_e.register(cFe);_e.register(uFe);_e.register(lFe);_e.register(dFe);_e.register(Ace);_e.register(fFe);_e.register(_ce);_e.register(hFe);_e.register(pFe);_e.register(gFe);_e.register(bFe);_e.register(mFe);_e.register(wFe);_e.register(yFe);_e.register(vFe);_e.register(Ice);_e.register(EFe);_e.register(SFe);_e.register(TFe);_e.register(AFe);_e.register(_Fe);_e.register(xFe);_e.register(kFe);_e.register(NFe);_e.register(kce);_e.register(CFe);_e.register(rG);_e.register(IFe);_e.register(Qz);_e.register(RFe);_e.register(OFe);_e.register(DFe);_e.register(LFe);_e.register(MFe);_e.register(PFe);_e.register(jFe);_e.register(FFe);_e.register($Fe);_e.register(BFe);_e.register(UFe);_e.register(HFe);_e.register(zFe);_e.register(GFe);_e.register(qFe);_e.register(VFe);_e.register(WFe);_e.register(KFe);_e.register(YFe);_e.register(JFe);_e.register(XFe);_e.register(ZFe);_e.register(QFe);_e.register(e7e);_e.register(t7e);_e.register(n7e);_e.register(r7e);_e.register(i7e);_e.register(o7e);function xLe(){xLe=function(d,g){return new s(d,void 0,g)};var n=RegExp.prototype,i=new WeakMap;function s(d,g,b){var w=new RegExp(d,g);return i.set(w,b||i.get(d)),Ise(w,s.prototype)}function c(d,g){var b=i.get(g);return Object.keys(b).reduce(function(w,E){var S=b[E];if(typeof S=="number")w[E]=d[S];else{for(var _=0;d[S[_]]===void 0&&_+1<S.length;)_++;w[E]=d[S[_]]}return w},Object.create(null))}return function(d,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(g&&g.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),g&&Ise(d,g)}(s,RegExp),s.prototype.exec=function(d){var g=n.exec.call(this,d);if(g){g.groups=c(g,this);var b=g.indices;b&&(b.groups=c(b,this))}return g},s.prototype[Symbol.replace]=function(d,g){if(typeof g=="string"){var b=i.get(this);return n[Symbol.replace].call(this,d,g.replace(/\$<([^>]+)>/g,function(E,S){var _=b[S];return"$"+(Array.isArray(_)?_.join("$"):_)}))}if(typeof g=="function"){var w=this;return n[Symbol.replace].call(this,d,function(){var E=arguments;return typeof E[E.length-1]!="object"&&(E=[].slice.call(E)).push(c(E,w)),g.apply(this,E)})}return n[Symbol.replace].call(this,d,g)},xLe.apply(this,arguments)}function Ise(n,i){return Ise=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,c){return s.__proto__=c,s},Ise(n,i)}function oBt(n,i){(i==null||i>n.length)&&(i=n.length);for(var s=0,c=new Array(i);s<i;s++)c[s]=n[s];return c}function d6e(n,i){var s=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s)return(s=s.call(n)).next.bind(s);if(Array.isArray(n)||(s=function(d,g){if(d){if(typeof d=="string")return oBt(d,g);var b=Object.prototype.toString.call(d).slice(8,-1);return b==="Object"&&d.constructor&&(b=d.constructor.name),b==="Map"||b==="Set"?Array.from(d):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?oBt(d,g):void 0}}(n))||i){s&&(n=s);var c=0;return function(){return c>=n.length?{done:!0}:{done:!1,value:n[c++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ndr=function(n){return function(i){return i===void 0&&(i={}),function(c,d){if(d&&!c.registered(d))throw new Error('The default language "'+d+'" is not registered with refractor.')}(n,i.defaultLanguage),function(c){glr(c,"element",s)};function s(c,d,g){var b,w;if(g&&g.tagName==="pre"&&c.tagName==="code"){var E=(c==null||(b=c.data)==null?void 0:b.meta)||(c==null||(w=c.properties)==null?void 0:w.metastring)||"";c.properties.className?typeof c.properties.className=="boolean"?c.properties.className=[]:Array.isArray(c.properties.className)||(c.properties.className=[c.properties.className]):c.properties.className=[];var S,_,A=function(ee){for(var ne,Q=d6e(ee.properties.className);!(ne=Q()).done;){var ae=ne.value;if(ae.slice(0,9)==="language-")return ae.slice(9).toLowerCase()}return null}(c);if(!A&&i.defaultLanguage&&c.properties.className.push("language-"+(A=i.defaultLanguage)),c.properties.className.push("code-highlight"),A)try{var C,O;O=(C=A)!=null&&C.includes("diff-")?A.split("-")[1]:A,S=n.highlight(Bie(c),O),g.properties.className=(g.properties.className||[]).concat("language-"+O)}catch(ee){if(!i.ignoreMissing||!/Unknown language/.test(ee.message))throw ee;S=c}else S=c;S.children=(_=1,function ee(ne){return ne.reduce(function(Q,ae){if(ae.type==="text"){var he=ae.value,pe=(he.match(/\n/g)||"").length;if(pe===0)ae.position={start:{line:_,column:1},end:{line:_,column:1}},Q.push(ae);else for(var ue,fe=he.split(`
`),K=d6e(fe.entries());!(ue=K()).done;){var ge=ue.value,De=ge[0],Se=ge[1];Q.push({type:"text",value:De===fe.length-1?Se:Se+`
`,position:{start:{line:_+De,column:1},end:{line:_+De,column:1}}})}return _+=pe,Q}if(Object.prototype.hasOwnProperty.call(ae,"children")){var Re=_;return ae.children=ee(ae.children),Q.push(ae),ae.position={start:{line:Re,column:1},end:{line:_,column:1}},Q}return Q.push(ae),Q},[])})(S.children),S.position=S.children.length>0?{start:{line:S.children[0].position.start.line,column:0},end:{line:S.children[S.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var L,D=function(ee){var ne=/{([\d,-]+)}/,Q=ee.split(",").map(function(pe){return pe.trim()}).join();if(ne.test(Q)){var ae=ne.exec(Q)[1],he=Elr(ae);return function(pe){return he.includes(pe+1)}}return function(){return!1}}(E),B=function(ee){var ne=xLe(/showLineNumbers=(\d+)/i,{lines:1});if(ne.test(ee)){var Q=ne.exec(ee);return Number(Q.groups.lines)}return 1}(E),$=function(ee){for(var ne=new Array(ee),Q=0;Q<ee;Q++)ne[Q]={type:"element",tagName:"span",properties:{className:[]},children:[]};return ne}(S.position.end.line),P=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],j=function(){var ee,ne,Q=L.value,ae=Q[0],he=Q[1];he.properties.className=["code-line"];var pe=wlr(S,function(ue){return ue.position.start.line<=ae+1&&ue.position.end.line>=ae+1});he.children=pe.children,!E.toLowerCase().includes("showLineNumbers".toLowerCase())&&!i.showLineNumbers||P.some(function(ue){return E.toLowerCase().includes(ue)})||(he.properties.line=[(ae+B).toString()],he.properties.className.push("line-number")),D(ae)&&he.properties.className.push("highlight-line"),(A==="diff"||(ee=A)!=null&&ee.includes("diff-"))&&Bie(he).substring(0,1)==="-"?he.properties.className.push("deleted"):(A==="diff"||(ne=A)!=null&&ne.includes("diff-"))&&Bie(he).substring(0,1)==="+"&&he.properties.className.push("inserted")},z=d6e($.entries());!(L=z()).done;)j();$.length>0&&Bie($[$.length-1]).trim()===""&&$.pop(),c.children=$}}}},rdr=ndr(_e),idr=["rehypePlugins"];const odr=Hn.forwardRef((n,i)=>{var{rehypePlugins:s=[[rdr,{ignoreMissing:!0}]]}=n,c=FJt(n,idr);return I.jsx(olr,Hk({},c,{rehypePlugins:s,ref:i}))});function sdr({yaml:n,errors:i,warnings:s,onYamlChange:c}){const d=po(w=>w.fromFlowGraph),g=qae();H.useEffect(()=>{},[]);const b=async w=>{const E=w.target.value;c&&c(E);try{const _=await new OM().fromYaml(E);if(!_.success||!_.graph)return;d(_.graph)}catch{}};return I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsx(odr,{value:n,language:"yaml",placeholder:"Enter YAML...",onChange:b,"data-color-mode":g?"dark":"light",padding:12,style:{fontFamily:"ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace",fontSize:13,height:"100%",resize:"none",whiteSpace:"pre-wrap",overflow:"auto"}}),i&&i.length>0&&I.jsx("div",{className:"border-red-200 border-t bg-red-50 px-3 py-2 text-red-600 text-xs",children:i.join(`
`)}),s&&s.length>0&&I.jsx("div",{className:"border-yellow-200 border-t bg-yellow-50 px-3 py-2 text-xs text-yellow-600",children:s.join(`
`)})]})}function adr(){const{t:n}=jo(["common","errors"]),i=po(L=>L.nodes),s=po(L=>L.toFlowGraph),[c,d]=H.useState(!1),[g,b]=H.useState("auto"),w=H.useRef(null),{yaml:E,errors:S,warnings:_,strategy:A,isStale:C}=H.useMemo(()=>{var L;if(i.length===0)return w.current=null,{yaml:n("placeholders.addNodesForYaml"),warnings:[],errors:[],strategy:null,isStale:!1};try{const D=s(),$=new OM().transpile(D,{forceStrategy:g==="auto"?void 0:g});if(!$.success){const z=w.current;return{yaml:(z==null?void 0:z.yaml)||"",warnings:[],errors:$.errors||[n("errors:api.unknownError")],strategy:(z==null?void 0:z.strategy)||null,isStale:!!z}}const P=$.yaml||"",j=((L=$.output)==null?void 0:L.strategy)||null;return w.current={yaml:P,strategy:j},{yaml:P,warnings:$.warnings,errors:[],strategy:j,isStale:!1}}catch(D){const B=w.current;return{yaml:(B==null?void 0:B.yaml)||"",warnings:[],errors:[D instanceof Error?D.message:n("errors:api.transpileFailed")],strategy:(B==null?void 0:B.strategy)||null,isStale:!!B}}},[i,s,g,n]),O=async()=>{try{await lor(E),d(!0),setTimeout(()=>d(!1),2e3)}catch(L){console.error(n("errors:common.failedToCopy"),L)}};return I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsxs("div",{className:"flex items-center justify-between border-b p-3",children:[I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.yamlOutput")}),I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsxs(zp,{value:g,onValueChange:L=>b(L),children:[I.jsx(zh,{className:"h-7 w-[120px] text-xs",children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"auto",children:n("strategy.auto")}),I.jsx(eo,{value:"native",children:n("strategy.native")}),I.jsx(eo,{value:"state-machine",children:n("strategy.stateMachine")})]})]}),I.jsx(mi,{variant:"ghost",size:"sm",onClick:O,disabled:!E,className:nr("h-7 w-7 p-0",c?"bg-green-100 text-green-600 hover:bg-green-100":"text-muted-foreground"),children:c?I.jsx(oN,{className:"h-4 w-4"}):I.jsx(z5e,{className:"h-4 w-4"})})]})]}),A&&I.jsxs("div",{className:"flex items-center gap-2 border-b bg-muted/50 px-3 py-1.5",children:[I.jsx("span",{className:"text-muted-foreground text-xs",children:n("labels.strategy")}),I.jsx(YMe,{variant:"secondary",className:"text-xs",children:A})]}),I.jsx("div",{className:"min-h-0 flex-1",children:I.jsx(sdr,{yaml:E,errors:S,warnings:C?[n("errors:yaml.staleWarning"),..._]:_})})]})}function cdr(){const{t:n}=jo(["common","dialogs"]),{hass:i}=Wg(),{automationId:s,traceData:c,isShowingTrace:d,traceExecutionPath:g,traceTimestamps:b,showTrace:w,hideTrace:E,setActiveNode:S,simulationSpeed:_,isSimulating:A}=po(),[C,O]=H.useState([]),[L,D]=H.useState(""),[B,$]=H.useState(!1),[P,j]=H.useState(!1),z=H.useCallback(async()=>{if(!(!s||!i)){$(!0);try{const fe=Tw(i),K=await fe.getAutomationTraces(s);if(Ef.info("Loaded automation traces:",K),O(K||[]),K&&K.length>0){const ge=K[0].run_id;D(ge);const De=await fe.getAutomationTraceDetails(s,ge);De&&w(De)}}catch(fe){Ef.error("Failed to load automation traces:",fe),O([])}$(!1)}},[s,i,w]);H.useEffect(()=>{s&&i&&z()},[s,i,z]);const ee=H.useCallback(async fe=>{if(!(!s||!i||!fe)){$(!0);try{const ge=await Tw(i).getAutomationTraceDetails(s,fe);Ef.info("Loaded trace details:",ge),ge&&w(ge)}catch(K){Ef.error("Failed to load trace details:",K)}$(!1)}},[s,i,w]),ne=H.useCallback(fe=>{D(fe),ee(fe)},[ee]),Q=H.useCallback(()=>{E(),S(null),j(!1)},[E,S]),ae=H.useCallback(async()=>{if(!(!g.length||A)){j(!0);try{for(const fe of g)if(S(fe),await new Promise(K=>setTimeout(K,_)),!d)break;S(null)}catch(fe){Ef.error("Trace animation error:",fe)}j(!1)}},[g,_,S,d,A]),he=H.useCallback(()=>{j(!1),S(null)},[S]),pe=fe=>{try{return new Date(fe).toLocaleTimeString()}catch{return fe}},ue=(fe,K)=>{try{const ge=new Date(fe);return`${(((K?new Date(K):new Date).getTime()-ge.getTime())/1e3).toFixed(1)}s`}catch{return n("labels.notApplicable")}};return s?I.jsxs("div",{className:"h-full space-y-4 p-4",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.automationTrace")}),I.jsxs("div",{className:"flex gap-1",children:[d&&!P&&I.jsx(mi,{variant:"outline",size:"sm",onClick:ae,disabled:!g.length||A,className:nr("h-8 w-8 p-0",!g.length||A?"text-muted-foreground":"border-orange-200 text-orange-600 hover:bg-orange-50"),children:I.jsx(Cz,{className:"h-4 w-4"})}),P&&I.jsx(mi,{variant:"outline",size:"sm",onClick:he,className:"h-8 w-8 border-orange-200 p-0 text-orange-600 hover:bg-orange-50",children:I.jsx(NGt,{className:"h-4 w-4"})}),d?I.jsx(mi,{variant:"outline",size:"sm",onClick:Q,className:"h-8 w-8 border-blue-200 p-0 text-blue-600 hover:bg-blue-50",children:I.jsx(_Gt,{className:"h-4 w-4"})}):I.jsx(mi,{variant:"outline",size:"sm",onClick:z,disabled:B,className:nr("h-8 w-8 p-0",B?"text-muted-foreground":"border-blue-200 text-blue-600 hover:bg-blue-50"),children:I.jsx(oPn,{className:"h-4 w-4"})})]})]}),C.length===0&&!B&&I.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("dialogs:traceViewer.noTracesFound")}),C.length>0&&I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"text-xs",children:n("labels.selectTraceRun")}),I.jsxs(zp,{value:L,onValueChange:ne,children:[I.jsx(zh,{className:"h-8",children:I.jsx(Gp,{placeholder:n("placeholders.selectTrace")})}),I.jsx(Gh,{children:C.map(fe=>I.jsx(eo,{value:fe.run_id,children:I.jsxs("div",{className:"flex items-center gap-2",children:[I.jsx(H5e,{className:"h-3 w-3"}),I.jsx("span",{className:"text-xs",children:pe(fe.timestamp.start)}),I.jsxs("span",{className:"text-muted-foreground text-xs",children:["(",ue(fe.timestamp.start,fe.timestamp.finish),")"]}),I.jsx("span",{className:nr("rounded px-1 text-xs",fe.state==="stopped"&&fe.script_execution==="finished"?"bg-green-100 text-green-700":"bg-yellow-100 text-yellow-700"),children:fe.state})]})},fe.run_id))})]})]}),d&&c&&I.jsxs("div",{className:"space-y-2",children:[I.jsxs("div",{className:"border-t pt-2",children:[I.jsx(ll,{className:"text-xs",children:n("labels.traceDetails")}),I.jsxs("div",{className:"mt-1 space-y-1 text-xs",children:[I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.trigger")}),I.jsx("span",{className:"ml-2 truncate",children:c.trigger})]}),I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.duration")}),I.jsx("span",{children:ue(c.timestamp.start,c.timestamp.finish)})]}),I.jsxs("div",{className:"flex justify-between",children:[I.jsx("span",{className:"text-muted-foreground",children:n("labels.lastStep")}),I.jsx("span",{children:c.last_step})]})]})]}),g.length>0&&I.jsxs("div",{className:"border-t pt-2",children:[I.jsx(ll,{className:"text-xs",children:n("labels.executionPath")}),I.jsx("div",{className:"mt-1 space-y-1",children:g.map((fe,K)=>I.jsxs("div",{className:"flex items-center gap-2 rounded bg-blue-50 p-1 text-blue-700 text-xs",children:[I.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 text-xs",children:K+1}),I.jsx("span",{className:"font-medium",children:fe}),b[fe]&&I.jsx("span",{className:"ml-auto text-muted-foreground",children:pe(b[fe])})]},`step-${fe}-${g.indexOf(fe)}`))})]})]}),B&&I.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("status.loadingTraces")})]}):I.jsxs("div",{className:"h-full space-y-4 p-4",children:[I.jsx("div",{className:"flex items-center justify-between",children:I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("labels.automationTrace")})}),I.jsx("div",{className:"text-center text-muted-foreground text-sm",children:n("dialogs:traceViewer.saveAutomationFirst")})]})}var qXt=["PageUp","PageDown"],VXt=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],WXt={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},n9="Slider",[kLe,udr,ldr]=Yae(n9),[KXt]=Nw(n9,[ldr]),[ddr,Rce]=KXt(n9),YXt=H.forwardRef((n,i)=>{const{name:s,min:c=0,max:d=100,step:g=1,orientation:b="horizontal",disabled:w=!1,minStepsBetweenThumbs:E=0,defaultValue:S=[c],value:_,onValueChange:A=()=>{},onValueCommit:C=()=>{},inverted:O=!1,form:L,...D}=n,B=H.useRef(new Set),$=H.useRef(0),j=b==="horizontal"?fdr:hdr,[z=[],ee]=G2({prop:_,defaultProp:S,onChange:ue=>{var K;(K=[...B.current][$.current])==null||K.focus(),A(ue)}}),ne=H.useRef(z);function Q(ue){const fe=wdr(z,ue);pe(ue,fe)}function ae(ue){pe(ue,$.current)}function he(){const ue=ne.current[$.current];z[$.current]!==ue&&C(z)}function pe(ue,fe,{commit:K}={commit:!1}){const ge=Sdr(g),De=Tdr(Math.round((ue-c)/g)*g+c,ge),Se=vse(De,[c,d]);ee((Re=[])=>{const Ae=bdr(Re,Se,fe);if(Edr(Ae,E*g)){$.current=Ae.indexOf(Se);const xe=String(Ae)!==String(Re);return xe&&K&&C(Ae),xe?Ae:Re}else return Re})}return I.jsx(ddr,{scope:n.__scopeSlider,name:s,disabled:w,min:c,max:d,valueIndexToChangeRef:$,thumbs:B.current,values:z,orientation:b,form:L,children:I.jsx(kLe.Provider,{scope:n.__scopeSlider,children:I.jsx(kLe.Slot,{scope:n.__scopeSlider,children:I.jsx(j,{"aria-disabled":w,"data-disabled":w?"":void 0,...D,ref:i,onPointerDown:Dr(D.onPointerDown,()=>{w||(ne.current=z)}),min:c,max:d,inverted:O,onSlideStart:w?void 0:Q,onSlideMove:w?void 0:ae,onSlideEnd:w?void 0:he,onHomeKeyDown:()=>!w&&pe(c,0,{commit:!0}),onEndKeyDown:()=>!w&&pe(d,z.length-1,{commit:!0}),onStepKeyDown:({event:ue,direction:fe})=>{if(!w){const De=qXt.includes(ue.key)||ue.shiftKey&&VXt.includes(ue.key)?10:1,Se=$.current,Re=z[Se],Ae=g*De*fe;pe(Re+Ae,Se,{commit:!0})}}})})})})});YXt.displayName=n9;var[JXt,XXt]=KXt(n9,{startEdge:"left",endEdge:"right",size:"width",direction:1}),fdr=H.forwardRef((n,i)=>{const{min:s,max:c,dir:d,inverted:g,onSlideStart:b,onSlideMove:w,onSlideEnd:E,onStepKeyDown:S,..._}=n,[A,C]=H.useState(null),O=ps(i,j=>C(j)),L=H.useRef(void 0),D=Bz(d),B=D==="ltr",$=B&&!g||!B&&g;function P(j){const z=L.current||A.getBoundingClientRect(),ee=[0,z.width],Q=s7e(ee,$?[s,c]:[c,s]);return L.current=z,Q(j-z.left)}return I.jsx(JXt,{scope:n.__scopeSlider,startEdge:$?"left":"right",endEdge:$?"right":"left",direction:$?1:-1,size:"width",children:I.jsx(ZXt,{dir:D,"data-orientation":"horizontal",..._,ref:O,style:{..._.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:j=>{const z=P(j.clientX);b==null||b(z)},onSlideMove:j=>{const z=P(j.clientX);w==null||w(z)},onSlideEnd:()=>{L.current=void 0,E==null||E()},onStepKeyDown:j=>{const ee=WXt[$?"from-left":"from-right"].includes(j.key);S==null||S({event:j,direction:ee?-1:1})}})})}),hdr=H.forwardRef((n,i)=>{const{min:s,max:c,inverted:d,onSlideStart:g,onSlideMove:b,onSlideEnd:w,onStepKeyDown:E,...S}=n,_=H.useRef(null),A=ps(i,_),C=H.useRef(void 0),O=!d;function L(D){const B=C.current||_.current.getBoundingClientRect(),$=[0,B.height],j=s7e($,O?[c,s]:[s,c]);return C.current=B,j(D-B.top)}return I.jsx(JXt,{scope:n.__scopeSlider,startEdge:O?"bottom":"top",endEdge:O?"top":"bottom",size:"height",direction:O?1:-1,children:I.jsx(ZXt,{"data-orientation":"vertical",...S,ref:A,style:{...S.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:D=>{const B=L(D.clientY);g==null||g(B)},onSlideMove:D=>{const B=L(D.clientY);b==null||b(B)},onSlideEnd:()=>{C.current=void 0,w==null||w()},onStepKeyDown:D=>{const $=WXt[O?"from-bottom":"from-top"].includes(D.key);E==null||E({event:D,direction:$?-1:1})}})})}),ZXt=H.forwardRef((n,i)=>{const{__scopeSlider:s,onSlideStart:c,onSlideMove:d,onSlideEnd:g,onHomeKeyDown:b,onEndKeyDown:w,onStepKeyDown:E,...S}=n,_=Rce(n9,s);return I.jsx(no.span,{...S,ref:i,onKeyDown:Dr(n.onKeyDown,A=>{A.key==="Home"?(b(A),A.preventDefault()):A.key==="End"?(w(A),A.preventDefault()):qXt.concat(VXt).includes(A.key)&&(E(A),A.preventDefault())}),onPointerDown:Dr(n.onPointerDown,A=>{const C=A.target;C.setPointerCapture(A.pointerId),A.preventDefault(),_.thumbs.has(C)?C.focus():c(A)}),onPointerMove:Dr(n.onPointerMove,A=>{A.target.hasPointerCapture(A.pointerId)&&d(A)}),onPointerUp:Dr(n.onPointerUp,A=>{const C=A.target;C.hasPointerCapture(A.pointerId)&&(C.releasePointerCapture(A.pointerId),g(A))})})}),QXt="SliderTrack",eZt=H.forwardRef((n,i)=>{const{__scopeSlider:s,...c}=n,d=Rce(QXt,s);return I.jsx(no.span,{"data-disabled":d.disabled?"":void 0,"data-orientation":d.orientation,...c,ref:i})});eZt.displayName=QXt;var NLe="SliderRange",tZt=H.forwardRef((n,i)=>{const{__scopeSlider:s,...c}=n,d=Rce(NLe,s),g=XXt(NLe,s),b=H.useRef(null),w=ps(i,b),E=d.values.length,S=d.values.map(C=>iZt(C,d.min,d.max)),_=E>1?Math.min(...S):0,A=100-Math.max(...S);return I.jsx(no.span,{"data-orientation":d.orientation,"data-disabled":d.disabled?"":void 0,...c,ref:w,style:{...n.style,[g.startEdge]:_+"%",[g.endEdge]:A+"%"}})});tZt.displayName=NLe;var CLe="SliderThumb",nZt=H.forwardRef((n,i)=>{const s=udr(n.__scopeSlider),[c,d]=H.useState(null),g=ps(i,w=>d(w)),b=H.useMemo(()=>c?s().findIndex(w=>w.ref.current===c):-1,[s,c]);return I.jsx(pdr,{...n,ref:g,index:b})}),pdr=H.forwardRef((n,i)=>{const{__scopeSlider:s,index:c,name:d,...g}=n,b=Rce(CLe,s),w=XXt(CLe,s),[E,S]=H.useState(null),_=ps(i,P=>S(P)),A=E?b.form||!!E.closest("form"):!0,C=Sae(E),O=b.values[c],L=O===void 0?0:iZt(O,b.min,b.max),D=mdr(c,b.values.length),B=C==null?void 0:C[w.size],$=B?ydr(B,L,w.direction):0;return H.useEffect(()=>{if(E)return b.thumbs.add(E),()=>{b.thumbs.delete(E)}},[E,b.thumbs]),I.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[w.startEdge]:`calc(${L}% + ${$}px)`},children:[I.jsx(kLe.ItemSlot,{scope:n.__scopeSlider,children:I.jsx(no.span,{role:"slider","aria-label":n["aria-label"]||D,"aria-valuemin":b.min,"aria-valuenow":O,"aria-valuemax":b.max,"aria-orientation":b.orientation,"data-orientation":b.orientation,"data-disabled":b.disabled?"":void 0,tabIndex:b.disabled?void 0:0,...g,ref:_,style:O===void 0?{display:"none"}:n.style,onFocus:Dr(n.onFocus,()=>{b.valueIndexToChangeRef.current=c})})}),A&&I.jsx(rZt,{name:d??(b.name?b.name+(b.values.length>1?"[]":""):void 0),form:b.form,value:O},c)]})});nZt.displayName=CLe;var gdr="RadioBubbleInput",rZt=H.forwardRef(({__scopeSlider:n,value:i,...s},c)=>{const d=H.useRef(null),g=ps(d,c),b=Vae(i);return H.useEffect(()=>{const w=d.current;if(!w)return;const E=window.HTMLInputElement.prototype,_=Object.getOwnPropertyDescriptor(E,"value").set;if(b!==i&&_){const A=new Event("input",{bubbles:!0});_.call(w,i),w.dispatchEvent(A)}},[b,i]),I.jsx(no.input,{style:{display:"none"},...s,ref:g,defaultValue:i})});rZt.displayName=gdr;function bdr(n=[],i,s){const c=[...n];return c[s]=i,c.sort((d,g)=>d-g)}function iZt(n,i,s){const g=100/(s-i)*(n-i);return vse(g,[0,100])}function mdr(n,i){return i>2?`Value ${n+1} of ${i}`:i===2?["Minimum","Maximum"][n]:void 0}function wdr(n,i){if(n.length===1)return 0;const s=n.map(d=>Math.abs(d-i)),c=Math.min(...s);return s.indexOf(c)}function ydr(n,i,s){const c=n/2,g=s7e([0,50],[0,c]);return(c-g(i)*s)*s}function vdr(n){return n.slice(0,-1).map((i,s)=>n[s+1]-i)}function Edr(n,i){if(i>0){const s=vdr(n);return Math.min(...s)>=i}return!0}function s7e(n,i){return s=>{if(n[0]===n[1]||i[0]===i[1])return i[0];const c=(i[1]-i[0])/(n[1]-n[0]);return i[0]+c*(s-n[0])}}function Sdr(n){return(String(n).split(".")[1]||"").length}function Tdr(n,i){const s=Math.pow(10,i);return Math.round(n*s)/s}var oZt=YXt,Adr=eZt,_dr=tZt,xdr=nZt;const sZt=H.forwardRef(({className:n,...i},s)=>I.jsxs(oZt,{ref:s,className:nr("relative flex w-full touch-none select-none items-center",n),...i,children:[I.jsx(Adr,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:I.jsx(_dr,{className:"absolute h-full bg-primary"})}),I.jsx(xdr,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));sZt.displayName=oZt.displayName;function kdr({speed:n,onSpeedChange:i,disabled:s}){const{t:c}=jo(["common"]);return I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:c("labels.speed",{speed:n})}),I.jsx(sZt,{value:[n],onValueChange:d=>i(d[0]),min:200,max:2e3,step:100,disabled:s,className:"w-full"})]})}function Ndr(){const{t:n}=jo(["simulator"]),{nodes:i,edges:s,toFlowGraph:c,isSimulating:d,startSimulation:g,stopSimulation:b,setActiveNode:w,addToExecutionPath:E,clearExecutionPath:S,executionPath:_,simulationSpeed:A}=po(),[C,O]=H.useState({}),L=H.useCallback(async()=>{if(i.length!==0){g();try{const P=c();let ee=new OM().analyzeTopology(P).entryNodes[0];const ne=s.find(he=>he.source===ee);ne&&(ee=ne.target);const Q=100;let ae=0;for(;ee&&ee!=="END"&&ae<Q;){w(ee),E(ee),await new Promise(ue=>setTimeout(ue,A));const he=s.filter(ue=>ue.source===ee),pe=i.find(ue=>ue.id===ee);if((pe==null?void 0:pe.type)==="condition"){const ue=C[ee]??Math.random()>.5,fe=he.find(K=>K.sourceHandle===(ue?"true":"false"))||null;ee=(fe==null?void 0:fe.target)??null}else he.length>0?ee=he[0].target:ee=null;ae++}w(null)}catch(P){console.error("Simulation error:",P)}b()}},[i,s,c,g,b,w,E,A,C]),D=H.useCallback(()=>{b(),w(null)},[b,w]),B=H.useCallback(()=>{S(),O({})},[S]),$=i.filter(P=>P.type==="condition");return I.jsxs("div",{className:"h-full space-y-4 p-4",children:[I.jsxs("div",{className:"flex items-center justify-between",children:[I.jsx("h3",{className:"font-semibold text-foreground text-sm",children:n("simulator:trace.heading")}),I.jsxs("div",{className:"flex gap-1",children:[d?I.jsx(mi,{variant:"outline",size:"sm",onClick:D,className:"h-8 w-8 border-red-200 p-0 text-red-600 hover:bg-red-50",children:I.jsx(NGt,{className:"h-4 w-4"})}):I.jsx(mi,{variant:"outline",size:"sm",onClick:L,disabled:i.length===0,className:nr("h-8 w-8 p-0",i.length===0?"text-muted-foreground":"border-green-200 text-green-600 hover:bg-green-50"),children:I.jsx(Cz,{className:"h-4 w-4"})}),I.jsx(mi,{variant:"ghost",size:"sm",onClick:B,className:"h-8 w-8 p-0",children:I.jsx(_Gt,{className:"h-4 w-4"})})]})]}),$.length>0&&I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:n("simulator:trace.conditionOverrides")}),I.jsx("div",{className:"space-y-2",children:$.map(P=>I.jsxs("div",{className:"flex items-center justify-between text-xs",children:[I.jsx("span",{className:"mr-2 flex-1 truncate text-muted-foreground",children:P.data.alias||P.id}),I.jsxs(zp,{value:C[P.id]===!0?"true":C[P.id]===!1?"false":"random",onValueChange:j=>{O(j==="random"?z=>{const{[P.id]:ee,...ne}=z;return ne}:z=>({...z,[P.id]:j==="true"}))},children:[I.jsx(zh,{className:"h-7 w-24 text-xs",children:I.jsx(Gp,{})}),I.jsxs(Gh,{children:[I.jsx(eo,{value:"random",children:n("simulator:trace.random")}),I.jsx(eo,{value:"true",children:n("simulator:trace.true")}),I.jsx(eo,{value:"false",children:n("simulator:trace.false")})]})]})]},P.id))})]}),_.length>0&&I.jsxs("div",{className:"space-y-2",children:[I.jsx(ll,{className:"font-medium text-muted-foreground text-xs",children:n("simulator:trace.executionPath")}),I.jsx("ol",{className:"list-inside list-decimal space-y-1 text-xs",children:_.map((P,j)=>{var ne;const z=i.find(Q=>Q.id===P),ee=(ne=z==null?void 0:z.data)==null?void 0:ne.alias;return I.jsx("li",{className:nr("py-0.5",j===_.length-1&&d?"font-medium text-green-600":"text-muted-foreground"),children:ee||P},P)})})]})]})}function Cdr({children:n,defaultWidth:i,minWidth:s=200,maxWidth:c=600,side:d,className:g}){const[b,w]=H.useState(i),[E,S]=H.useState(!1),_=H.useRef(null),A=H.useCallback(C=>{C.preventDefault(),S(!0)},[]);return H.useEffect(()=>{const C=L=>{if(!E||!_.current)return;const D=_.current.getBoundingClientRect();let B;d==="right"?B=D.right-L.clientX:B=L.clientX-D.left,B=Math.max(s,Math.min(c,B)),w(B)},O=()=>{S(!1)};return E&&(document.addEventListener("mousemove",C),document.addEventListener("mouseup",O),document.body.style.cursor="col-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",O),document.body.style.cursor="",document.body.style.userSelect=""}},[E,s,c,d]),I.jsxs("div",{ref:_,className:nr("relative flex flex-col",g),style:{width:b},children:[I.jsx("div",{onMouseDown:A,className:nr("absolute top-0 bottom-0 z-10 w-1 cursor-col-resize transition-colors hover:bg-primary/20",d==="right"?"left-0 -translate-x-1/2":"right-0 translate-x-1/2",E&&"bg-primary/30")}),n]})}var Oce="Tabs",[Idr]=Nw(Oce,[ece]),aZt=ece(),[Rdr,a7e]=Idr(Oce),cZt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:c,onValueChange:d,defaultValue:g,orientation:b="horizontal",dir:w,activationMode:E="automatic",...S}=n,_=Bz(w),[A,C]=G2({prop:c,onChange:d,defaultProp:g??"",caller:Oce});return I.jsx(Rdr,{scope:s,baseId:Bh(),value:A,onValueChange:C,orientation:b,dir:_,activationMode:E,children:I.jsx(no.div,{dir:_,"data-orientation":b,...S,ref:i})})});cZt.displayName=Oce;var uZt="TabsList",lZt=H.forwardRef((n,i)=>{const{__scopeTabs:s,loop:c=!0,...d}=n,g=a7e(uZt,s),b=aZt(s);return I.jsx(MYt,{asChild:!0,...b,orientation:g.orientation,dir:g.dir,loop:c,children:I.jsx(no.div,{role:"tablist","aria-orientation":g.orientation,...d,ref:i})})});lZt.displayName=uZt;var dZt="TabsTrigger",fZt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:c,disabled:d=!1,...g}=n,b=a7e(dZt,s),w=aZt(s),E=gZt(b.baseId,c),S=bZt(b.baseId,c),_=c===b.value;return I.jsx(PYt,{asChild:!0,...w,focusable:!d,active:_,children:I.jsx(no.button,{type:"button",role:"tab","aria-selected":_,"aria-controls":S,"data-state":_?"active":"inactive","data-disabled":d?"":void 0,disabled:d,id:E,...g,ref:i,onMouseDown:Dr(n.onMouseDown,A=>{!d&&A.button===0&&A.ctrlKey===!1?b.onValueChange(c):A.preventDefault()}),onKeyDown:Dr(n.onKeyDown,A=>{[" ","Enter"].includes(A.key)&&b.onValueChange(c)}),onFocus:Dr(n.onFocus,()=>{const A=b.activationMode!=="manual";!_&&!d&&A&&b.onValueChange(c)})})})});fZt.displayName=dZt;var hZt="TabsContent",pZt=H.forwardRef((n,i)=>{const{__scopeTabs:s,value:c,forceMount:d,children:g,...b}=n,w=a7e(hZt,s),E=gZt(w.baseId,c),S=bZt(w.baseId,c),_=c===w.value,A=H.useRef(_);return H.useEffect(()=>{const C=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(C)},[]),I.jsx(Cw,{present:d||_,children:({present:C})=>I.jsx(no.div,{"data-state":_?"active":"inactive","data-orientation":w.orientation,role:"tabpanel","aria-labelledby":E,hidden:!C,id:S,tabIndex:0,...b,ref:i,style:{...n.style,animationDuration:A.current?"0s":void 0},children:C&&g})})});pZt.displayName=hZt;function gZt(n,i){return`${n}-trigger-${i}`}function bZt(n,i){return`${n}-content-${i}`}var Odr=cZt,mZt=lZt,wZt=fZt,yZt=pZt;const Ddr=Odr,vZt=H.forwardRef(({className:n,...i},s)=>I.jsx(mZt,{ref:s,className:nr("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n),...i}));vZt.displayName=mZt.displayName;const hoe=H.forwardRef(({className:n,...i},s)=>I.jsx(wZt,{ref:s,className:nr("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 font-medium text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",n),...i}));hoe.displayName=wZt.displayName;const poe=H.forwardRef(({className:n,...i},s)=>I.jsx(yZt,{ref:s,className:nr("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",n),...i}));poe.displayName=yZt.displayName;function Ldr(){const{t:n}=jo(["common","errors"]),{fromFlowGraph:i,flowName:s}=po();return{importFromJsonFile:()=>{const g=document.createElement("input");g.type="file",g.accept=".json",g.onchange=async b=>{var E;if(!(b.target instanceof HTMLInputElement))return;const w=(E=b.target.files)==null?void 0:E[0];if(w)try{const S=await w.text(),_=JSON.parse(S),A=SMe.safeParse(_);if(!A.success)throw new Error("Invalid flow graph JSON format");i(A.data)}catch(S){console.error("Failed to import:",S),alert(n("errors:import.fileReadFailed"))}},g.click()},exportToJsonFile:()=>{const g=po.getState().toFlowGraph(),b=new Blob([JSON.stringify(g,null,2)],{type:"application/json"}),w=URL.createObjectURL(b),E=document.createElement("a");E.href=w,E.download=`${s||"automation"}.json`,E.click(),URL.revokeObjectURL(w)}}}const Mdr=["properties","yaml","simulator"];function Pdr(n){return Mdr.some(i=>i===n)}function jdr({isCompactLayout:n,canvasCovered:i=!1}){const{t:s}=jo(["common","errors"]),{selectedNodeId:c,clearCanvasSelection:d,rightPanelExpanded:g,setRightPanelExpanded:b,toggleRightPanelExpanded:w,simulationSpeed:E,setSimulationSpeed:S}=po(),{importFromJsonFile:_,exportToJsonFile:A}=Ldr(),[C,O]=H.useState("properties");H.useEffect(()=>{c!==null&&b(!0)},[c,b]),H.useEffect(()=>{n||b(!0)},[n,b]);const L=()=>{b(!1),d()},D=z=>{Pdr(z)&&O(z)},B=s("buttons.expandPropertiesPanel"),$=s("buttons.collapsePropertiesPanel"),P=I.jsx(mi,{variant:"ghost",size:"icon",onClick:L,"aria-label":$,title:$,children:I.jsx(EPn,{className:"h-4 w-4"})}),j=I.jsxs("div",{className:"flex h-full min-h-0 flex-col",children:[I.jsx("div",{className:"flex items-center justify-end border-b px-4 py-3",children:P}),I.jsx("div",{className:"min-h-0 flex-1 overflow-hidden",children:I.jsxs(Ddr,{value:C,onValueChange:D,className:"flex min-h-0 flex-1 flex-col",children:[I.jsxs(vZt,{className:"grid w-full grid-cols-3 rounded-none border-b",children:[I.jsx(hoe,{value:"properties",children:s("labels.properties")}),I.jsx(hoe,{value:"yaml",children:s("labels.yaml")}),I.jsx(hoe,{value:"simulator",children:s("labels.debug")})]}),I.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[I.jsx(poe,{value:"properties",className:"mt-0 flex-1 overflow-hidden",children:I.jsx(cor,{})}),I.jsx(poe,{value:"yaml",className:"mt-0 flex-1 overflow-hidden",children:I.jsx(adr,{})}),I.jsx(poe,{value:"simulator",className:"mt-0 flex-1 overflow-hidden",children:I.jsxs("div",{className:"flex h-full flex-col",children:[I.jsxs("div",{className:"border-b p-4",children:[I.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[I.jsx("h4",{className:"font-medium text-muted-foreground text-xs",children:s("labels.debugControls")}),I.jsxs("div",{className:"flex gap-1",children:[I.jsx(mi,{onClick:_,variant:"ghost",size:"icon",className:"h-6 w-6",title:s("buttons.importJson"),children:I.jsx(ePn,{className:"h-3.5 w-3.5"})}),I.jsx(mi,{onClick:A,variant:"ghost",size:"icon",className:"h-6 w-6",title:s("titles.exportJson"),children:I.jsx(Z8n,{className:"h-3.5 w-3.5"})})]})]}),I.jsx(kdr,{speed:E,onSpeedChange:S})]}),I.jsx("div",{className:"flex-1 border-b",children:I.jsx(Ndr,{})}),I.jsx("div",{className:"flex-1",children:I.jsx(cdr,{})})]})})]})]})})]});return I.jsxs(I.Fragment,{children:[n?I.jsx("div",{className:nr("pointer-events-none absolute top-0 right-0 bottom-0 z-40 flex min-h-0 w-full flex-col overflow-hidden transition-transform duration-300",g?"pointer-events-auto translate-x-0":"translate-x-full"),children:g&&I.jsx("div",{className:"h-full border-border border-l bg-card",children:j})}):g&&I.jsx(Cdr,{defaultWidth:320,minWidth:280,maxWidth:600,side:"right",className:"h-full border-border border-l bg-card",children:j}),I.jsx("div",{className:nr("absolute right-0 z-40 transition-opacity",n?"top-1/2 -translate-y-1/2":"top-3",g||i?"pointer-events-none opacity-0":"pointer-events-auto opacity-100"),children:I.jsx(mi,{variant:"ghost",size:"icon",className:nr("border border-border border-r-0 bg-card shadow-sm",n?"h-14 w-8 rounded-r-none rounded-l-lg bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80":"h-10 w-10 rounded-r-none rounded-l-md"),onClick:w,"aria-label":B,title:B,children:I.jsx(TPn,{className:"h-4 w-4"})})})]})}function Fdr(){const{hass:n}=Wg(),{i18n:i}=jo();return H.useEffect(()=>{var g;const s=n==null?void 0:n.language,c=(g=navigator.language)==null?void 0:g.split("-")[0],d=s||c||"en";Ef.debug("[C.A.F.E.] useLanguage effect running",{hasHass:!!n,hassLanguage:s,browserLanguage:c,targetLanguage:d,currentLanguage:i.language}),d!==i.language&&(Object.keys(i.options.resources||{}).includes(d)?(Ef.debug("[C.A.F.E.] Changing language to:",d),i.changeLanguage(d)):Ef.debug(`[C.A.F.E.] Language '${d}' not available, keeping '${i.language}'`))},[n,i]),i.language}function sBt(){const{t:n}=jo(["common","errors","dialogs"]),i=()=>{window.parent.postMessage({type:"CAFE_TOGGLE_SIDEBAR"},"*")},s=()=>{window.parent.history.back()},{hass:c,isRemote:d,isLoading:g,connectionError:b,config:w,setConfig:E}=Wg(),{flowName:S,reset:_,automationId:A,hasUnsavedChanges:C,isSaving:O,hasRealChanges:L}=po(),[D,B]=H.useState(!1),[$,P]=H.useState(!1),[j,z]=H.useState(!1),[ee,ne]=H.useState(!1),[Q,ae]=H.useState(!1),[he,pe]=H.useState(!1),[ue,fe]=H.useState(!1),[K,ge]=H.useState(!0),[De,Se]=H.useState(()=>(window.parent??window).innerWidth),Re=De<1024,Ae=d&&(w.url===""||w.token===""),xe=qae();Fdr(),H.useEffect(()=>{document.body.classList.toggle("dark",xe)},[xe]),H.useEffect(()=>{const Kt=window.parent??window,Et=()=>{Se(Kt.innerWidth)};return Kt.addEventListener("resize",Et),()=>Kt.removeEventListener("resize",Et)},[]);const ut=g?{label:n("status.connecting"),className:"bg-muted text-muted-foreground",icon:I.jsx(ez,{className:"h-3 w-3 animate-spin"})}:b?{label:n("status.connectionError"),className:"bg-red-100 text-red-700",icon:I.jsx(kw,{className:"h-3 w-3"})}:d&&(c!=null&&c.connected)?{label:n("status.connected"),className:"bg-green-100 text-green-700",icon:I.jsx(IGt,{className:"h-3 w-3"})}:null,Be=()=>{if(Re){fe(Kt=>!Kt);return}ge(Kt=>!Kt)},bt=Re?ue:K,Nt=Re?"compact":"desktop",pt=()=>{window.location.reload()};return I.jsx(JPn,{FallbackComponent:({error:Kt})=>I.jsx(wR,{open:!0,onOpenChange:pt,children:I.jsxs(aN,{className:"flex w-[90vw] max-w-full flex-col",children:[I.jsx(cN,{children:I.jsx(uN,{children:n("dialogs:error.title")})}),I.jsx(lN,{children:n("dialogs:error.description")}),I.jsxs("div",{className:"space-y-4",children:[I.jsxs("pre",{className:"max-h-60 overflow-auto rounded bg-red-100 p-4 text-red-800 text-sm",children:[Kt.message,I.jsx("br",{}),Kt.stack]}),I.jsx("div",{children:n("dialogs:error.refreshPrompt")}),I.jsx(mi,{onClick:pt,children:n("buttons.refresh")})]})]})}),children:I.jsxs(bGt,{children:[I.jsxs("div",{className:"flex h-screen flex-col bg-background",children:[I.jsxs("header",{className:nr("flex h-14 min-w-0 items-center justify-between border-border border-b bg-card px-4 shadow-sm",Re?"gap-2 overflow-hidden":"gap-4"),children:[I.jsxs("div",{className:nr("flex min-w-0 flex-1 items-center",Re?"gap-2":"gap-4"),children:[!d&&I.jsx(mi,{variant:"ghost",size:"icon",className:"shrink-0 text-muted-foreground hover:bg-accent",onClick:s,title:n("titles.backToHA"),"aria-label":n("titles.backToHA"),children:I.jsx(w8n,{className:"h-5 w-5"})}),Re?I.jsx(mi,{variant:"ghost",size:"icon",className:"inline-flex items-center justify-center rounded-md p-2 text-muted-foreground hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onClick:i,"aria-label":n("buttons.toggleSidebar"),children:I.jsx(dPn,{className:"h-5 w-5"})}):I.jsxs("h1",{className:"whitespace-nowrap font-bold text-foreground text-lg",title:n("titles.appFullName"),children:["☕ ",n("titles.appName")]}),I.jsx("span",{className:"mx-1 h-5 w-px bg-border"}),I.jsx("span",{className:nr("max-w-96 flex-1 truncate font-semibold text-foreground",Re?"hidden":"min-w-32"),children:S||I.jsx("span",{className:"font-normal text-muted-foreground",children:n("placeholders.automationName")})})]}),I.jsxs("div",{className:nr("flex items-center",Re?"gap-1":"gap-2"),children:[!Re&&ut&&I.jsxs(YMe,{onClick:()=>B(!0),className:nr("flex cursor-pointer items-center gap-1.5 transition-opacity hover:opacity-80",ut.className),title:n("titles.clickToConfigure"),variant:"outline",children:[ut.icon,ut.label]}),d&&I.jsx(mi,{onClick:()=>B(!0),variant:"ghost",size:"icon",title:n("titles.settings"),children:I.jsx(LPn,{className:"h-5 w-5"})}),!Re&&I.jsx($z,{orientation:"vertical",className:"h-6"}),I.jsxs("div",{className:"flex",children:[I.jsxs(mi,{onClick:()=>{z(!0)},className:"rounded-r-none",children:[I.jsx(nPn,{className:nr("h-4 w-4",!Re&&"mr-2")}),!Re&&n("buttons.openAutomation")]}),I.jsxs(IJt,{open:ee,onOpenChange:ne,children:[I.jsx(RJt,{asChild:!0,children:I.jsx(mi,{variant:"default",className:"rounded-l-none border-l px-2",children:I.jsx(oae,{className:"h-4 w-4"})})}),I.jsxs(a9e,{align:"end",children:[I.jsxs(cLe,{onClick:_,children:[I.jsx(TGt,{className:"mr-2 size-4"}),n("buttons.newAutomation")]}),I.jsxs(cLe,{onClick:()=>P(!0),children:[I.jsx(J8n,{className:"mr-2 h-4 w-4"}),n("buttons.importYaml")]})]})]})]}),I.jsx(mi,{onClick:()=>pe(!0),variant:"ghost",size:"icon",title:n("titles.clearAutomation"),children:I.jsx(_8n,{className:"h-5 w-5"})}),I.jsx(mi,{onClick:()=>ae(!0),variant:C?"default":"ghost",size:"icon",title:n(A?"titles.updateAutomation":"titles.saveAutomation"),disabled:O,className:nr(C&&L()&&!O&&"save-button-unsaved"),children:O?I.jsx(ez,{className:"h-4 w-4 animate-spin"}):I.jsx(xGt,{className:"h-5 w-5"})})]})]}),I.jsxs("div",{className:"relative flex flex-1 overflow-hidden",children:[I.jsx(Ztr,{expanded:bt,onToggle:Be,layout:Nt,isRemote:d,configUrl:w.url,connectionError:b}),I.jsx("main",{className:nr("flex min-h-0 flex-1 flex-col transition-[margin] duration-300"),style:Re?{marginLeft:BKt}:void 0,children:I.jsx(vtr,{})}),I.jsx(jdr,{isCompactLayout:Re,canvasCovered:Re&&bt})]})]}),d&&I.jsx(Ytr,{isOpen:D||Ae,onClose:()=>B(!1),config:w,onSave:E}),I.jsx(Jtr,{isOpen:$,onClose:()=>P(!1)}),I.jsx(Htr,{isOpen:j,onClose:()=>{z(!1)}}),I.jsx(Ktr,{isOpen:Q,onClose:()=>ae(!1),onSaved:()=>{}}),I.jsx(wR,{open:he,onOpenChange:pe,children:I.jsxs(aN,{className:"max-w-md",children:[I.jsxs(cN,{children:[I.jsx(uN,{children:n("dialogs:import.discardTitle")}),I.jsx(lN,{children:n("dialogs:import.discardDescription")})]}),I.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[I.jsx(mi,{variant:"outline",onClick:()=>pe(!1),children:n("buttons.cancel")}),I.jsx(mi,{variant:"destructive",onClick:()=>{_(),pe(!1)},children:n("dialogs:import.confirmDiscard")})]})]})}),I.jsx(Ajn,{})]})})}const $dr={save:"Speichern",saveAsCopy:"Als Kopie speichern",cancel:"Abbrechen",close:"Schließen",delete:"Löschen",update:"Aktualisieren",refresh:"Aktualisieren",copy:"Kopieren",use:"Verwenden",add:"Hinzufügen",addTrigger:"Auslöser hinzufügen",openAutomation:"Automatisierung öffnen",newAutomation:"Neue Automatisierung",importJson:"Aus JSON importieren",importYaml:"Aus YAML importieren",testConnection:"Verbindung testen",disconnect:"Trennen",collapseMenu:"Menü einklappen",expandMenu:"Menü ausklappen",toggleSidebar:"Seitenleiste umschalten",expandPropertiesPanel:"Eigenschaftenfenster ausklappen",collapsePropertiesPanel:"Eigenschaftenfenster einklappen",deleteConnection:"Verbindung löschen"},Bdr={automationName:"Automatisierungsname",properties:"Eigenschaften",yaml:"YAML",debug:"Debug",enabled:"Aktiviert",alias:"Alias (Anzeigename)",id:"ID",strategy:"Strategie",speed:"Geschwindigkeit",quickHelp:"Schnellhilfe",debugControls:"Debug-Steuerung",addNode:"Knoten hinzufügen",yamlOutput:"YAML-Ausgabe",automationTrace:"Automatisierungs-Trace",selectTraceRun:"Trace-Ausführung wählen:",traceDetails:"Trace-Details:",trigger:"Auslöser:",duration:"Dauer:",lastStep:"Letzter Schritt:",executionPath:"Ausführungspfad:",notApplicable:"N/A",device:"Gerät",triggerType:"Auslösertyp",entityId:"Entitäts-ID",warning:"Warnung",requiredAsterisk:"*",automations:"Automationen",nodes:"Knoten",areas:"Bereiche",zones:"Zonen",unassigned:"Nicht zugeordnet",workspaceSources:"Zusammengeführte Quellen"},Udr={connecting:"Verbinde...",connected:"Verbunden",connectedTo:"Verbunden mit {{hostname}}",connectionError:"Verbindungsfehler",saving:"Speichere...",updating:"Aktualisiere...",testing:"Teste...",loadingTraces:"Lade Traces...",loadingTriggers:"Lade Auslöser..."},Hdr={automationName:"Automatisierungsname",optionalDisplayName:"Optionaler Anzeigename",optionalUniqueId:"Optionale eindeutige ID",enterAutomationName:"Automatisierungsname eingeben...",describeAutomation:"Beschreiben Sie, was diese Automatisierung tut...",searchAutomations:"Automatisierungen suchen...",selectTrace:"Trace auswählen...",addNodesForYaml:"# Knoten hinzufügen, um YAML-Ausgabe zu sehen",selectDevice:"Gerät auswählen...",selectTriggerType:"Auslösertyp auswählen...",selectEntity:"Entität auswählen...",selectEntities:"Entitäten auswählen...",duration:"00:05:00",enterTemplate:"Jinja2-Vorlage eingeben...",jsonExample:'{ "key": "value" }',none:"Keine"},zdr={clickNodesToAdd:"Klicken zum Hinzufügen",dragToConnect:"Ziehen zum Verbinden",deleteToRemove:"Löschen zum Entfernen",backspaceDeleteKey:"Rücktaste/Entf-Taste"},Gdr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Einstellungen",updateAutomation:"Automatisierung in Home Assistant aktualisieren",saveAutomation:"Automatisierung in Home Assistant speichern",clearAutomation:"Aktuelle Automatisierung leeren",exportJson:"Flow als JSON exportieren",clickToConfigure:"Klicken um Home Assistant-Verbindung zu konfigurieren",openDetached:"Eigenes Fenster öffnen",removeSource:"Quelle aus dem Merge-Workspace entfernen",backToHA:"Zurück zu Home Assistant"},qdr={auto:"Auto",native:"Nativ",stateMachine:"Zustandsautomat"},Vdr={newAutomation:"Neue Automatisierung"},Wdr={true:"Wahr",false:"Falsch"},Kdr={select:"Auswählen...",noOptions:"Keine Optionen gefunden."},Ydr={enabled:"Aktiviert",disabled:"Deaktiviert",selectItems:"Elemente auswählen...",itemsSelected:"{{count}} Elemente ausgewählt",selectEntities:"Entitäten auswählen...",selectEntity:"Entität auswählen...",selectZone:"Zone auswählen...",formatHMS:"Format: HH:MM:SS",enterValue:"{{name}} eingeben..."},Jdr={enterId:"Geräte-ID manuell eingeben",noDevices:"Keine Geräte gefunden. Geben Sie die Geräte-ID manuell ein oder überprüfen Sie Ihre Home Assistant-Verbindung."},Xdr={runAction:"Aktion ausführen",runActionSuccess:"{{service}} ausgeführt",runActionFailed:"{{service}} fehlgeschlagen: {{message}}",cut:"Ausschneiden",copy:"Kopieren",paste:"Einfügen",duplicate:"Duplizieren",toggleEnabled:"Ein-/Ausschalten",enable:"Aktivieren",disable:"Deaktivieren",disconnect:"Trennen",alignLeft:"Links ausrichten",alignCenter:"Zentrieren",alignRight:"Rechts ausrichten",alignTop:"Oben ausrichten",alignBottom:"Unten ausrichten",deleteNode:"Knoten löschen",duplicateNode:"Knoten duplizieren",selectAll:"Alles auswählen",undo:"Rückgängig",redo:"Wiederherstellen"},Zdr={cmd:"Cmd",ctrl:"Strg",shift:"Umschalt",alt:"Alt",arrowUp:"Pfeil nach oben",arrowDown:"Pfeil nach unten",arrowLeft:"Pfeil nach links",arrowRight:"Pfeil nach rechts"},Qdr={useValue:"Wert verwenden"},efr={buttons:$dr,labels:Bdr,status:Udr,placeholders:Hdr,help:zdr,titles:Gdr,strategy:qdr,defaults:Vdr,boolean:Wdr,combobox:Kdr,dynamicField:Ydr,deviceSelector:Jdr,toolbar:Xdr,shortcuts:Zdr,stateTrigger:Qdr},tfr={simulatingExecution:"Simuliere Ausführung...",showingTraceExecution:"Zeige Trace-Ausführung ({{steps}} Schritte)"},nfr={simulation:tfr},rfr={title:"Automatisierung speichern",titleUpdate:"Automatisierung aktualisieren",description:"Diese Automatisierung in Home Assistant speichern",descriptionUpdate:"Diese Automatisierung in Home Assistant aktualisieren",nameLabel:"Automatisierungsname",descriptionLabel:"Beschreibung (Optional)",nameConflict:'Name existiert bereits. Verwenden: "{{suggestedName}}"?'},ifr={title:"YAML-Automatisierung importieren",description:"Fügen Sie Ihre Home Assistant Automatisierungs-YAML unten ein. Die Automatisierung kann im Standardformat oder Zustandsautomatenformat sein.",placeholder:"alias: Meine Automatisierung\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"Import fehlgeschlagen",warnings:"Warnungen",successLoading:"Erfolgreich importiert! Lade Flow...",tipLabel:"Tipp:",tipText:"Wenn Ihre Automatisierung mit C.A.F.E. erstellt wurde, werden Knotenpositionen beibehalten. Andernfalls werden Knoten automatisch in einem lesbaren Layout angeordnet.",importing:"Importiere...",import:"Importieren",errors:{parseError:"YAML konnte nicht geparst werden: {{message}}",importError:"Import fehlgeschlagen: {{message}}"}},ofr={title:"Home Assistant-Verbindung",description:"Konfigurieren Sie Ihre Home Assistant-Verbindungseinstellungen.",urlLabel:"Home Assistant-URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"Die URL Ihrer Home Assistant-Instanz",tokenLabel:"Langlebiges Zugriffstoken",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Erstellen Sie eines in HA: Profil → Langlebige Zugriffstoken",testConnection:"Verbindung testen",testing:"Teste...",connected:"Verbunden!",disconnect:"Trennen",corsNote:"CORS-Hinweis",corsDescription:"Um sich von einem Browser zu verbinden, müssen Sie möglicherweise CORS-Header zu Ihrer HA-Konfiguration hinzufügen. Wenn Sie sich von https://fezvrasta.github.io/hass-cafe verbinden, muss Ihre HA-Instanz unter HTTPS laufen.",tokenGuideLink:"Wie man ein langlebiges Zugriffstoken erstellt",apiRunning:"API läuft.",errors:{missingFields:"Bitte geben Sie sowohl URL als auch Token an",unexpectedResponse:"Unerwartete API-Antwort",invalidToken:"Ungültiges Token - Authentifizierung fehlgeschlagen",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Verbindung nicht möglich - URL und CORS-Einstellungen überprüfen",connectionFailed:"Verbindung fehlgeschlagen"}},sfr={title:"Unerwarteter Fehler",description:"Ein unerwarteter Fehler ist in der Anwendung aufgetreten. Bitte sehen Sie die Details unten.",refreshPrompt:"Bitte versuchen Sie, die Seite zu aktualisieren. Wenn das Problem weiterhin besteht, melden Sie es bitte in unserem GitHub-Repository."},afr={saveAutomationFirst:"Speichern Sie zuerst die Automatisierung, um Traces anzuzeigen",noTracesFound:"Keine Automatisierungs-Traces gefunden"},cfr={save:rfr,import:{title:"Automatisierung öffnen",description:"Wählen Sie eine Automatisierung aus Home Assistant zum Bearbeiten",descriptionFull:"Öffnen Sie eine bestehende Automatisierung oder erstellen Sie eine neue",searchPlaceholder:"Automatisierungen suchen...",noAutomations:"Keine Automatisierungen gefunden",noConnection:"Verbinden Sie sich mit Home Assistant um Automatisierungen zu laden",createNew:"Neu erstellen",openSingle:"Öffnen",openTogether:"Zusammen öffnen",mergeSelected:"Auswahl zusammenführen",defaultMergedName:"Zusammengeführte Automation",mergeSuccess:"{{count}} Automationen in einen Workspace zusammengeführt.",mergeFailed:"Automationen konnten nicht zusammengeführt werden: {{message}}",mergeFailedMissingConfig:"Konfiguration für {{name}} konnte nicht geladen werden",mergeFailedInvalidYaml:"Automation {{name}} konnte nicht geparst werden",selectAll:"Alle sichtbaren auswählen",unselectAll:"Auswahl aufheben",select:"Automation auswählen",unselect:"Automation abwählen",columns:{name:"Name",lastTriggered:"Zuletzt ausgelöst",enabled:"Aktiviert",action:"Aktion"},mode:"Modus: {{mode}}",never:"Nie",justNow:"Gerade eben",minutesAgo:"vor {{count}} Min",hoursAgo:"vor {{count}} Std",daysAgo:"vor {{count}} Tagen",disabled:"Deaktiviert",automationEnabled:"Automatisierung erfolgreich aktiviert.",automationDisabled:"Automatisierung erfolgreich deaktiviert.",updateStateFailed:"Automatisierungsstatus konnte nicht aktualisiert werden",importAutomation:"Automatisierung importieren",openingWarning:"Das Öffnen ersetzt Ihr aktuelles Automatisierungsdesign",discardTitle:"Aktuellen Flow verwerfen?",discardDescription:"Ihre aktuelle Automatisierung hat ungespeicherte Änderungen. Das Erstellen oder Öffnen einer neuen Automatisierung verwirft diese Änderungen.",confirmDiscard:"Verwerfen & Fortfahren",importSuccess:'Automatisierung "{{name}}" erfolgreich importiert!',openedWarning:'Automatisierung "{{name}}" geöffnet!',openedWarningDescription:"Konfiguration konnte nicht automatisch abgerufen werden. Sie können jetzt einen neuen Flow mit demselben Namen erstellen.",importFailed:"Automatisierung konnte nicht importiert werden: {{message}}",ID:"ID: {{id}}",otherArea:"Anderer Bereich",noArea:"Kein Bereich"},importYaml:ifr,settings:ofr,error:sfr,traceViewer:afr},ufr={failedToCopy:"Kopieren fehlgeschlagen"},lfr={emptyAutomation:"Leere Automatisierung kann nicht gespeichert werden. Bitte fügen Sie mindestens einen Auslöser- und einen Aktionsknoten hinzu.",noTrigger:"Automatisierung muss mindestens einen Auslöserknoten haben. Bitte fügen Sie einen Auslöser aus der Knotenpalette hinzu.",noAction:"Automatisierung muss mindestens einen Aktionsknoten haben. Bitte fügen Sie eine Aktion aus der Knotenpalette hinzu.",validationFailed:"Validierung fehlgeschlagen: {{errors}}",transpileFailed:"Flow konnte nicht in Automatisierungskonfiguration transpiliert werden",noAutomationId:"Keine Automatisierungs-ID gesetzt. Verwenden Sie saveAutomation() für neue Automatisierungen.",node:{duplicateId:"ID bereits vergeben — muss innerhalb der Automatisierung eindeutig sein"}},dfr={noConnection:"Keine Home Assistant-Verbindung verfügbar",noAuth:"Keine Authentifizierung für REST-API konfiguriert",authFailed:"Ungültiges Token - Authentifizierung fehlgeschlagen",corsError:"Verbindung nicht möglich - URL und CORS-Einstellungen überprüfen",connectionLost:"Verbindung verloren",reconnectFailed:"Wiederverbindung fehlgeschlagen",notConnected:"Home Assistant ist nicht verbunden",noMethod:"Keine funktionierende Home Assistant-Verbindungsmethode gefunden",unexpectedResponse:"Unerwartete API-Antwort",connectionFailed:"Verbindung fehlgeschlagen"},ffr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Automatisierung konnte nicht erstellt werden: {{message}}",updateFailed:"Automatisierung konnte nicht aktualisiert werden: {{message}}",deleteFailed:"Automatisierung konnte nicht gelöscht werden: {{message}}",importFailed:"Automatisierung konnte nicht importiert werden: {{message}}",unknownError:"Unbekannter Fehler",transpileFailed:"Transpilierung fehlgeschlagen",loadDeviceTriggersFailed:"Geräteauslöser konnten nicht geladen werden:",loadTriggerCapabilitiesFailed:"Auslöserfähigkeiten konnten nicht geladen werden:"},hfr={addFailed:"Eigenschaft konnte nicht hinzugefügt werden"},pfr={nameRequired:"Automatisierungsname ist erforderlich",urlTokenRequired:"Bitte geben Sie sowohl URL als auch Token an"},gfr={staleWarning:"Zeige letztes gültiges YAML - Fehler beheben zum Aktualisieren"},bfr={common:ufr,validation:lfr,connection:dfr,api:ffr,properties:hfr,form:pfr,import:{fileReadFailed:"Flow konnte nicht importiert werden. Bitte überprüfen Sie das Dateiformat.",parseFailed:"Automatisierungskonfiguration konnte nicht geparst werden"},yaml:gfr},mfr={trigger:"Auslöser",condition:"Bedingung",action:"Aktion",delay:"Verzögerung",wait:"Warten auf",set_variables:"Variablen setzen",node:"Knoten",stop:"Stopp"},wfr={selectNode:"Wählen Sie einen Knoten, um seine Eigenschaften zu bearbeiten",properties:"Eigenschaften",nodeId:"Knoten-ID: {{id}}",additionalProperties:"Zusätzliche Eigenschaften",addProperty:"Eigenschaft hinzufügen",propertyName:"Eigenschaftsname",type:"Typ",value:"Wert"},yfr={customProperty:"z.B. meine_benutzerdefinierte_eigenschaft",jsonArray:'["element1", "element2"]',number:"123",enterValue:"Wert eingeben",jsonObject:"JSON-Objekt",enterType:"{{type}} eingeben",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},vfr={platformLabel:"Plattform",platforms:{state:"Zustandsänderung",numeric_state:"Numerischer Zustand",time:"Zeit",time_pattern:"Zeitmuster",sun:"Sonne",event:"Ereignis",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Vorlage",homeassistant:"Home Assistant",device:"Gerät",calendar:"Kalender",geo_location:"Geo-Standort",tag:"Tag",conversation:"Konversation",persistent_notification:"Dauerhafte Benachrichtigung"},dataTypes:{string:"Text",number:"Zahl",boolean:"Wahrheitswert",json:"Array (JSON)"},fields:{entityId:"Entität",toState:"Zu Zustand",fromState:"Von Zustand",toStatePlaceholder:"z.B. on, off, home",fromStatePlaceholder:"z.B. off"}},Efr={conditionLabel:"Bedingungstyp",types:{state:"Zustand",numeric_state:"Numerischer Zustand",time:"Zeit",sun:"Sonne",zone:"Zone",template:"Vorlage",device:"Gerät",trigger:"Auslöser",and:"UND (Alle)",or:"ODER (Beliebige)",not:"NICHT"},nestedConditions:"Verschachtelte Bedingungen",yes:"Ja",no:"Nein"},Sfr={serviceLabel:"Dienst"},Tfr={variableCount_one:"{{count}} Variable",variableCount_other:"{{count}} Variablen"},Afr={label:"Dauer",description:"Dauer in Stunden, Minuten, Sekunden, Millisekunden angeben",string:"Zeichenkette",object:"Objekt",placeholder:"00:00:05.500",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden",milliseconds:"Millisekunden"},_fr={label:"Antwortvariable",optionalDescription:"Diese Aktion kann eine Antwort zurückgeben. Aktivieren Sie, um die Antwort zu verwenden und geben Sie den Namen einer Variablen ein, in der die Antwort gespeichert wird.",requiredDescription:"Diese Aktion gibt eine Antwort zurück. Geben Sie den Namen einer Variablen ein, in der die Antwort gespeichert wird.",useResponseVariable:"Antwortvariable verwenden",placeholder:"z.B. meine_antwort",currentNodeWarning:"'current_node' ist für die Zustandsautomaten-Strategie reserviert. Die Verwendung dieses Namens kann unerwartetes Verhalten verursachen."},xfr={heading:"Dienstdaten"},kfr={empty:"Keine Variablen definiert. Klicken Sie auf die Schaltfläche unten, um eine hinzuzufügen.",variableLabel:"Variable {{index}}",name:"Name",namePlaceholder:"variablen_name",value:"Wert",valueDescription:"Wert oder Jinja2-Vorlagenausdruck",valuePlaceholder:"wert oder {{ vorlage }}",addVariable:"Variable hinzufügen"},Nfr={waitsForNTrigger_one:"Wartet auf {{count}} Auslöser",waitsForNTrigger_other:"Wartet auf {{count}} Auslöser",timeoutLabel:"Zeitüberschreitung:",waitType:"Wartetyp",waitTypeDescription:"Wählen Sie, worauf gewartet werden soll.",types:{template:"Vorlage",triggers:"Auslöser"},waitTemplate:"Wartevorlage",waitTemplateDescription:"Vorlagenbedingung, die wahr sein muss, um fortzufahren",triggersHeading:"Auslöser",triggerLabel:"Auslöser {{index}}: {{platform}}",triggerPlatformLabel:"Plattform",addTrigger:"Auslöser hinzufügen",timeoutDescription:"Maximale Wartezeit vor dem Fortfahren. Leer lassen für unbegrenztes Warten.",continueOnTimeout:"Bei Zeitüberschreitung fortfahren",continueOnTimeoutDescription:"Wenn aktiviert, fährt die Automatisierung fort, wenn die Zeitüberschreitung abläuft. Wenn deaktiviert, stoppt die Automatisierung."},Cfr={searchPlaceholder:"Knoten suchen…"},Ifr={types:mfr,panel:wfr,placeholders:yfr,triggers:vfr,conditions:Efr,actions:Sfr,variables:Tfr,durationField:Afr,responseVariableField:_fr,serviceDataFields:xfr,setVariablesFields:kfr,wait:Nfr,quickAdd:Cfr},Rfr={noConditions:"Noch keine Bedingungen hinzugefügt",addCondition:"Bedingung hinzufügen"},Ofr={conditionGroupEditor:Rfr},Dfr={heading:"Trace-Simulator",conditionOverrides:"Bedingungsergebnisse (für Simulation)",random:"Zufällig",true:"Wahr",false:"Falsch",executionPath:"Ausführungspfad"},Lfr={trace:Dfr},Mfr={common:efr,debug:nfr,dialogs:cfr,errors:bfr,nodes:Ifr,panels:Ofr,simulator:Lfr},Pfr={save:"Save",saveAsCopy:"Save as Copy",cancel:"Cancel",close:"Close",delete:"Delete",update:"Update",refresh:"Refresh",copy:"Copy",use:"Use",add:"Add",addTrigger:"Add Trigger",openAutomation:"Open Automation",newAutomation:"New Automation",importJson:"Import from JSON",importYaml:"Import from YAML",testConnection:"Test Connection",disconnect:"Disconnect",collapseMenu:"Collapse menu",expandMenu:"Expand menu",toggleSidebar:"Toggle sidebar",expandPropertiesPanel:"Expand properties panel",collapsePropertiesPanel:"Collapse properties panel",deleteConnection:"Delete connection"},jfr={automationName:"Automation name",properties:"Properties",yaml:"YAML",debug:"Debug",enabled:"Enabled",alias:"Alias (Display Name)",id:"ID",strategy:"Strategy",speed:"Speed",quickHelp:"Quick Help",debugControls:"Debug Controls",addNode:"Add Node",yamlOutput:"YAML Output",automationTrace:"Automation Trace",selectTraceRun:"Select Trace Run:",traceDetails:"Trace Details:",trigger:"Trigger:",duration:"Duration:",lastStep:"Last Step:",executionPath:"Execution Path:",notApplicable:"N/A",device:"Device",triggerType:"Trigger Type",entityId:"Entity ID",warning:"Warning",requiredAsterisk:"*",automations:"Automations",nodes:"Nodes",areas:"Areas",zones:"Zones",unassigned:"Unassigned",workspaceSources:"Merged Sources"},Ffr={connecting:"Connecting...",connected:"Connected",connectedTo:"Connected to {{hostname}}",connectionError:"Connection Error",saving:"Saving...",updating:"Updating...",testing:"Testing...",loadingTraces:"Loading traces...",loadingTriggers:"Loading triggers..."},$fr={automationName:"Automation name",optionalDisplayName:"Optional display name",optionalUniqueId:"Optional unique ID",enterAutomationName:"Enter automation name...",describeAutomation:"Describe what this automation does...",searchAutomations:"Search automations...",selectTrace:"Select a trace...",addNodesForYaml:"# Add nodes to see YAML output",selectDevice:"Select device...",selectTriggerType:"Select trigger type...",selectEntity:"Select entity...",selectEntities:"Select entities...",duration:"00:05:00",enterTemplate:"Enter Jinja2 template...",jsonExample:'{ "key": "value" }',none:"None"},Bfr={clickNodesToAdd:"Click nodes to add",dragToConnect:"Drag to connect",deleteToRemove:"Delete to remove",backspaceDeleteKey:"Backspace/Delete key"},Ufr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Settings",updateAutomation:"Update automation in Home Assistant",saveAutomation:"Save automation to Home Assistant",clearAutomation:"Clear current automation",exportJson:"Export flow as JSON",clickToConfigure:"Click to configure Home Assistant connection",openDetached:"Open detached window",removeSource:"Remove source from merged workspace",backToHA:"Back to Home Assistant"},Hfr={auto:"Auto",native:"Native",stateMachine:"State Machine"},zfr={newAutomation:"New Automation"},Gfr={true:"True",false:"False"},qfr={select:"Select...",noOptions:"No options found."},Vfr={enabled:"Enabled",disabled:"Disabled",selectItems:"Select items...",itemsSelected:"{{count}} items selected",selectEntities:"Select entities...",selectEntity:"Select entity...",selectZone:"Select zone...",formatHMS:"Format: HH:MM:SS",enterValue:"Enter {{name}}..."},Wfr={enterId:"Enter device ID manually",noDevices:"No devices found. Enter device ID manually or check your Home Assistant connection."},Kfr={title:"Automation Settings",description:"Description",mode:"Mode",modeDescription:"Controls what happens when the automation is triggered while already running.",modes:{single:"Single",restart:"Restart",queued:"Queued",parallel:"Parallel"},modeDescriptions:{single:"Do not start a new run if already running",restart:"Stop the current run and start a new one",queued:"Queue new runs to execute after the current one finishes",parallel:"Start a new independent run in parallel"},max:"Max runs",maxDescription:"Maximum number of concurrent or queued runs.",maxExceeded:"Max exceeded",maxExceededDescription:"What to do when the maximum number of runs is exceeded.",maxExceededOptions:{silent:"Silent",warning:"Warning",critical:"Critical"}},Yfr={runAction:"Run Action",runActionSuccess:"Ran {{service}}",runActionFailed:"{{service}} failed: {{message}}",cut:"Cut",copy:"Copy",paste:"Paste",duplicate:"Duplicate",toggleEnabled:"Toggle Enabled/Disabled",enable:"Enable",disable:"Disable",disconnect:"Disconnect",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignTop:"Align Top",alignBottom:"Align Bottom",deleteNode:"Delete Node",duplicateNode:"Duplicate Node",selectAll:"Select All",undo:"Undo",redo:"Redo"},Jfr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"Arrow Up",arrowDown:"Arrow Down",arrowLeft:"Arrow Left",arrowRight:"Arrow Right"},Xfr={useValue:"Use value"},Zfr={buttons:Pfr,labels:jfr,status:Ffr,placeholders:$fr,help:Bfr,titles:Ufr,strategy:Hfr,defaults:zfr,boolean:Gfr,combobox:qfr,dynamicField:Vfr,deviceSelector:Wfr,automationSettings:Kfr,toolbar:Yfr,shortcuts:Jfr,stateTrigger:Xfr},Qfr={simulatingExecution:"Simulating execution...",showingTraceExecution:"Showing trace execution ({{steps}} steps)"},ehr={simulation:Qfr},thr={title:"Save Automation",titleUpdate:"Update Automation",description:"Save this automation to Home Assistant",descriptionUpdate:"Update this automation in Home Assistant",nameLabel:"Automation Name",descriptionLabel:"Description (Optional)",nameConflict:'Name already exists. Use: "{{suggestedName}}"?'},nhr={title:"Import YAML Automation",description:"Paste your Home Assistant automation YAML below. The automation can be in standard format or state machine format.",placeholder:"alias: My Automation\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"Import Failed",warnings:"Warnings",successLoading:"Successfully imported! Loading flow...",tipLabel:"Tip:",tipText:"If your automation was created with C.A.F.E., node positions will be preserved. Otherwise, nodes will be automatically arranged in a readable layout.",importing:"Importing...",import:"Import",errors:{parseError:"Failed to parse YAML: {{message}}",importError:"Failed to import: {{message}}"}},rhr={title:"Home Assistant Connection",description:"Configure your Home Assistant connection settings.",urlLabel:"Home Assistant URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"The URL of your Home Assistant instance",tokenLabel:"Long-Lived Access Token",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Create one in HA: Profile → Long-Lived Access Tokens",testConnection:"Test Connection",testing:"Testing...",connected:"Connected!",disconnect:"Disconnect",corsNote:"CORS Note",corsDescription:"To connect from a browser, you may need to add CORS headers to your HA config. If you are connecting from https://fezvrasta.github.io/hass-cafe, you need your HA instance to be under HTTPS.",tokenGuideLink:"How to create a Long-Lived Access Token",apiRunning:"API running.",errors:{missingFields:"Please provide both URL and token",unexpectedResponse:"Unexpected API response",invalidToken:"Invalid token - authentication failed",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Cannot connect - check URL and CORS settings",connectionFailed:"Connection failed"}},ihr={title:"Unexpected Error",description:"An unexpected error occurred in the application. Please see the details below.",refreshPrompt:"Please try refreshing the page. If the problem persists, consider reporting the issue on our GitHub repository."},ohr={saveAutomationFirst:"Save the automation first to view traces",noTracesFound:"No automation traces found"},shr={save:thr,import:{title:"Open Automation",description:"Select an automation from Home Assistant to edit",descriptionFull:"Open an existing automation or create a new one",searchPlaceholder:"Search automations...",noAutomations:"No automations found",noConnection:"Connect to Home Assistant to load automations",createNew:"Create New",openSingle:"Open",openTogether:"Open together",mergeSelected:"Merge Selected",defaultMergedName:"Merged Automation",mergeSuccess:"Merged {{count}} automations into one workspace.",mergeFailed:"Failed to merge automations: {{message}}",mergeFailedMissingConfig:"Could not load config for {{name}}",mergeFailedInvalidYaml:"Could not parse automation {{name}}",selectAll:"Select all visible",unselectAll:"Clear selection",select:"Select automation",unselect:"Unselect automation",columns:{name:"Name",lastTriggered:"Last Triggered",enabled:"Enabled",action:"Action"},mode:"Mode: {{mode}}",never:"Never",justNow:"Just now",minutesAgo:"{{count}}m ago",hoursAgo:"{{count}}h ago",daysAgo:"{{count}}d ago",disabled:"Disabled",automationEnabled:"Automation enabled successfully.",automationDisabled:"Automation disabled successfully.",updateStateFailed:"Failed to update automation state",importAutomation:"Import automation",openingWarning:"Opening will replace your current automation design",discardTitle:"Discard current flow?",discardDescription:"Your current automation has unsaved changes. Creating or opening a new automation will discard these changes.",confirmDiscard:"Discard & Continue",importSuccess:'Automation "{{name}}" imported successfully!',openedWarning:'Automation "{{name}}" opened!',openedWarningDescription:"Could not fetch configuration automatically. You can now create a new flow with the same name.",importFailed:"Failed to import automation: {{message}}",ID:"ID: {{id}}",otherArea:"Other Area",noArea:"No Area"},importYaml:nhr,settings:rhr,error:ihr,traceViewer:ohr},ahr={failedToCopy:"Failed to copy"},chr={emptyAutomation:"Cannot save empty automation. Please add at least one trigger and one action node.",noTrigger:"Automation must have at least one trigger node. Please add a trigger from the node palette.",noAction:"Automation must have at least one action node. Please add an action from the node palette.",validationFailed:"Validation failed: {{errors}}",transpileFailed:"Failed to transpile flow to automation config",noAutomationId:"No automation ID set. Use saveAutomation() for new automations.",node:{duplicateId:"ID already in use — must be unique within the automation"}},uhr={noConnection:"No Home Assistant connection available",noAuth:"No authentication configured for REST API",authFailed:"Invalid token - authentication failed",corsError:"Cannot connect - check URL and CORS settings",connectionLost:"Connection lost",reconnectFailed:"Reconnection failed",notConnected:"Home Assistant is not connected",noMethod:"No working Home Assistant connection method found",unexpectedResponse:"Unexpected API response",connectionFailed:"Connection failed"},lhr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Failed to create automation: {{message}}",updateFailed:"Failed to update automation: {{message}}",deleteFailed:"Failed to delete automation: {{message}}",importFailed:"Failed to import automation: {{message}}",unknownError:"Unknown error",transpileFailed:"Transpilation failed",loadDeviceTriggersFailed:"Failed to load device triggers:",loadTriggerCapabilitiesFailed:"Failed to load trigger capabilities:"},dhr={addFailed:"Failed to add property"},fhr={nameRequired:"Automation name is required",urlTokenRequired:"Please provide both URL and token"},hhr={staleWarning:"Showing last valid YAML - fix errors to update"},phr={common:ahr,validation:chr,connection:uhr,api:lhr,properties:dhr,form:fhr,import:{fileReadFailed:"Failed to import flow. Please check the file format.",parseFailed:"Failed to parse automation configuration"},yaml:hhr},ghr={trigger:"Trigger",condition:"Condition",action:"Action",stop:"Stop",delay:"Delay",wait:"Wait for",set_variables:"Set Variables",node:"Node"},bhr={selectNode:"Select a node to edit its properties",properties:"Properties",nodeId:"Node ID: {{id}}",additionalProperties:"Additional Properties",addProperty:"Add Property",propertyName:"Property Name",type:"Type",value:"Value"},mhr={customProperty:"e.g., my_custom_property",jsonArray:'["item1", "item2"]',number:"123",enterValue:"Enter value",jsonObject:"JSON object",enterType:"Enter {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},whr={platformLabel:"Platform",platforms:{state:"State Change",numeric_state:"Numeric State",time:"Time",time_pattern:"Time Pattern",sun:"Sun",event:"Event",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Template",homeassistant:"Home Assistant",device:"Device",calendar:"Calendar",geo_location:"Geo Location",tag:"Tag",conversation:"Conversation",persistent_notification:"Persistent Notification"},dataTypes:{string:"Text",number:"Number",boolean:"Boolean",json:"Array (JSON)"},fields:{entityId:"Entity",toState:"To State",fromState:"From State",toStatePlaceholder:"e.g., on, off, home",fromStatePlaceholder:"e.g., off"}},yhr={conditionLabel:"Condition Type",types:{state:"State",numeric_state:"Numeric State",time:"Time",sun:"Sun",zone:"Zone",template:"Template",device:"Device",trigger:"Trigger",and:"AND (All)",or:"OR (Any)",not:"NOT"},nestedConditions:"Nested Conditions",yes:"Yes",no:"No"},vhr={serviceLabel:"Service",actionTypeLabel:"Action Type",actionTypes:{service:"Call Service",event:"Fire Event",stop:"Stop execution"},actionLabel:"Action",eventNameLabel:"Event Name",eventNamePlaceholder:"e.g. pico_subscription",selectAction:"Select action...",targetEntities:"Target Entities",selectTargetEntities:"Select target entities...",targetDevices:"Target Devices",targetDevicesDescription:"Device IDs to target",addDeviceId:"Add device ID...",targetAreas:"Target Areas",targetAreasDescription:"Area IDs to target",addAreaId:"Add area ID...",fireEvent:"fire event",stopExecution:"Stop execution",stopError:"Mark as error",stopMessageLabel:"Stop message",stopMessagePlaceholder:"e.g. Condition not met",markAsError:"Mark as error"},Ehr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},Shr={label:"Duration",description:"Specify duration in hours, minutes, seconds, milliseconds",string:"String",object:"Object",placeholder:"00:00:05.500",hours:"Hours",minutes:"Minutes",seconds:"Seconds",milliseconds:"Milliseconds"},Thr={label:"Response Variable",optionalDescription:"This action can return a response. Enable to use the response and enter the name of a variable the response will be saved in.",requiredDescription:"This action returns a response. Enter the name of a variable the response will be saved in.",useResponseVariable:"Use Response Variable",placeholder:"e.g. my_response",currentNodeWarning:"'current_node' is reserved for the state-machine strategy. Using this name may cause unexpected behavior."},Ahr={heading:"Service Data"},_hr={empty:"No variables defined. Click the button below to add one.",variableLabel:"Variable {{index}}",name:"Name",namePlaceholder:"variable_name",value:"Value",valueDescription:"Value or Jinja2 template expression",valuePlaceholder:"value or {{ template }}",addVariable:"Add Variable"},xhr={waitsForNTrigger_one:"Waits for {{count}} trigger",waitsForNTrigger_other:"Waits for {{count}} triggers",timeoutLabel:"Timeout:",waitType:"Wait Type",waitTypeDescription:"Choose what to wait for.",types:{template:"Template",triggers:"Triggers"},waitTemplate:"Wait Template",waitTemplateDescription:"Template condition that must be true to continue",triggersHeading:"Triggers",triggerLabel:"Trigger {{index}}: {{platform}}",triggerPlatformLabel:"Platform",addTrigger:"Add Trigger",timeoutDescription:"Maximum time to wait before continuing. Leave empty to wait indefinitely.",continueOnTimeout:"Continue on Timeout",continueOnTimeoutDescription:"If enabled, the automation continues when timeout expires. If disabled, the automation stops.",branchOnTimeout:"Branch on Timeout",branchOnTimeoutDescription:"Add a condition node after this Wait so you can do one thing if it completed in time, and another if it timed out.",addTimeoutBranch:"Add Timeout Branch"},khr={searchPlaceholder:"Search nodes…"},Nhr={types:ghr,panel:bhr,placeholders:mhr,triggers:whr,conditions:yhr,actions:vhr,variables:Ehr,durationField:Shr,responseVariableField:Thr,serviceDataFields:Ahr,setVariablesFields:_hr,wait:xhr,quickAdd:khr},Chr={noConditions:"No conditions added yet",addCondition:"Add Condition"},Ihr={conditionGroupEditor:Chr},Rhr={heading:"Trace Simulator",conditionOverrides:"Condition Outcomes (for simulation)",random:"Random",true:"True",false:"False",executionPath:"Execution Path"},Ohr={trace:Rhr},Dhr={common:Zfr,debug:ehr,dialogs:shr,errors:phr,nodes:Nhr,panels:Ihr,simulator:Ohr},Lhr={save:"Enregistrer",saveAsCopy:"Enregistrer comme copie",cancel:"Annuler",close:"Fermer",delete:"Supprimer",update:"Mettre à jour",refresh:"Actualiser",copy:"Copier",use:"Utiliser",add:"Ajouter",addTrigger:"Ajouter un déclencheur",openAutomation:"Ouvrir l'automatisation",newAutomation:"Nouvelle automatisation",importJson:"Importer depuis JSON",importYaml:"Importer depuis YAML",testConnection:"Tester la connexion",disconnect:"Déconnecter",collapseMenu:"Réduire le menu",expandMenu:"Développer le menu",toggleSidebar:"Basculer la barre latérale",expandPropertiesPanel:"Développer le panneau des propriétés",collapsePropertiesPanel:"Réduire le panneau des propriétés",deleteConnection:"Supprimer la connexion"},Mhr={automationName:"Nom de l'automatisation",properties:"Propriétés",yaml:"YAML",debug:"Débogage",enabled:"Activé",alias:"Alias (Nom d'affichage)",id:"ID",strategy:"Stratégie",speed:"Vitesse",quickHelp:"Aide rapide",debugControls:"Contrôles de débogage",addNode:"Ajouter un nœud",yamlOutput:"Sortie YAML",automationTrace:"Trace d'automatisation",selectTraceRun:"Sélectionner l'exécution de trace :",traceDetails:"Détails de la trace :",trigger:"Déclencheur :",duration:"Durée :",lastStep:"Dernière étape :",executionPath:"Chemin d'exécution :",notApplicable:"N/A",device:"Appareil",triggerType:"Type de déclencheur",entityId:"ID d'entité",warning:"Avertissement",requiredAsterisk:"*",automations:"Automatisations",nodes:"Nœuds",areas:"Zones",zones:"Zones de présence",unassigned:"Non assigné",workspaceSources:"Sources fusionnées"},Phr={connecting:"Connexion en cours...",connected:"Connecté",connectedTo:"Connecté à {{hostname}}",connectionError:"Erreur de connexion",saving:"Enregistrement...",updating:"Mise à jour...",testing:"Test en cours...",loadingTraces:"Chargement des traces...",loadingTriggers:"Chargement des déclencheurs..."},jhr={automationName:"Nom de l'automatisation",optionalDisplayName:"Nom d'affichage optionnel",optionalUniqueId:"ID unique optionnel",enterAutomationName:"Entrer le nom de l'automatisation...",describeAutomation:"Décrivez ce que fait cette automatisation...",searchAutomations:"Rechercher des automatisations...",selectTrace:"Sélectionner une trace...",addNodesForYaml:"# Ajoutez des nœuds pour voir la sortie YAML",selectDevice:"Sélectionner un appareil...",selectTriggerType:"Sélectionner le type de déclencheur...",selectEntity:"Sélectionner une entité...",selectEntities:"Sélectionner des entités...",duration:"00:05:00",enterTemplate:"Entrer un modèle Jinja2...",jsonExample:'{ "clé": "valeur" }',none:"Aucun"},Fhr={clickNodesToAdd:"Cliquez sur les nœuds pour les ajouter",dragToConnect:"Glissez pour connecter",deleteToRemove:"Supprimez pour retirer",backspaceDeleteKey:"Touche Retour arrière/Suppr"},$hr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Paramètres",updateAutomation:"Mettre à jour l'automatisation dans Home Assistant",saveAutomation:"Enregistrer l'automatisation dans Home Assistant",clearAutomation:"Effacer l'automatisation actuelle",exportJson:"Exporter le flux en JSON",clickToConfigure:"Cliquez pour configurer la connexion Home Assistant",openDetached:"Ouvrir une fenêtre détachée",removeSource:"Retirer la source de l'espace fusionné",backToHA:"Retour à Home Assistant"},Bhr={auto:"Auto",native:"Natif",stateMachine:"Machine à états"},Uhr={newAutomation:"Nouvelle automatisation"},Hhr={true:"Vrai",false:"Faux"},zhr={select:"Sélectionner...",noOptions:"Aucune option trouvée."},Ghr={enabled:"Activé",disabled:"Désactivé",selectItems:"Sélectionner des éléments...",itemsSelected:"{{count}} éléments sélectionnés",selectEntities:"Sélectionner des entités...",selectEntity:"Sélectionner l'entité...",selectZone:"Sélectionner la zone...",formatHMS:"Format: HH:MM:SS",enterValue:"Entrer {{name}}..."},qhr={enterId:"Entrer l'ID de l'appareil manuellement",noDevices:"Aucun appareil trouvé. Entrez l'ID de l'appareil manuellement ou vérifiez votre connexion Home Assistant."},Vhr={runAction:"Exécuter l'action",runActionSuccess:"{{service}} exécuté",runActionFailed:"Échec de {{service}} : {{message}}",cut:"Couper",copy:"Copier",paste:"Coller",duplicate:"Dupliquer",toggleEnabled:"Basculer Activé/Désactivé",enable:"Activer",disable:"Désactiver",disconnect:"Déconnecter",alignLeft:"Aligner à gauche",alignCenter:"Aligner au centre",alignRight:"Aligner à droite",alignTop:"Aligner en haut",alignBottom:"Aligner en bas",deleteNode:"Supprimer le nœud",duplicateNode:"Dupliquer le nœud",selectAll:"Tout sélectionner",undo:"Annuler",redo:"Rétablir"},Whr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maj",alt:"Alt",arrowUp:"Flèche vers le haut",arrowDown:"Flèche vers le bas",arrowLeft:"Flèche vers la gauche",arrowRight:"Flèche vers la droite"},Khr={useValue:"Utiliser la valeur"},Yhr={buttons:Lhr,labels:Mhr,status:Phr,placeholders:jhr,help:Fhr,titles:$hr,strategy:Bhr,defaults:Uhr,boolean:Hhr,combobox:zhr,dynamicField:Ghr,deviceSelector:qhr,toolbar:Vhr,shortcuts:Whr,stateTrigger:Khr},Jhr={simulatingExecution:"Simulation de l'exécution...",showingTraceExecution:"Affichage de l'exécution de la trace ({{steps}} étapes)"},Xhr={simulation:Jhr},Zhr={title:"Enregistrer l'automatisation",titleUpdate:"Mettre à jour l'automatisation",description:"Enregistrer cette automatisation dans Home Assistant",descriptionUpdate:"Mettre à jour cette automatisation dans Home Assistant",nameLabel:"Nom de l'automatisation",descriptionLabel:"Description (Optionnel)",nameConflict:'Le nom existe déjà. Utiliser : "{{suggestedName}}" ?'},Qhr={title:"Importer l'automatisation YAML",description:"Collez votre YAML d'automatisation Home Assistant ci-dessous. L'automatisation peut être au format standard ou au format machine à états.",placeholder:"alias: Mon Automatisation\\ntriggers:\\n - trigger: state\\n entity_id: sensor.exemple",importFailed:"Échec de l'importation",warnings:"Avertissements",successLoading:"Importé avec succès ! Chargement du flux...",tipLabel:"Conseil :",tipText:"Si votre automatisation a été créée avec C.A.F.E., les positions des nœuds seront préservées. Sinon, les nœuds seront automatiquement arrangés dans une disposition lisible.",importing:"Importation...",import:"Importer",errors:{parseError:"Échec de l'analyse YAML : {{message}}",importError:"Échec de l'importation : {{message}}"}},epr={title:"Connexion Home Assistant",description:"Configurez vos paramètres de connexion Home Assistant.",urlLabel:"URL Home Assistant",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"L'URL de votre instance Home Assistant",tokenLabel:"Jeton d'accès longue durée",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Créez-en un dans HA : Profil → Jetons d'accès longue durée",testConnection:"Tester la connexion",testing:"Test en cours...",connected:"Connecté !",disconnect:"Déconnecter",corsNote:"Note CORS",corsDescription:"Pour vous connecter depuis un navigateur, vous devrez peut-être ajouter des en-têtes CORS à votre configuration HA. Si vous vous connectez depuis https://fezvrasta.github.io/hass-cafe, votre instance HA doit être sous HTTPS.",tokenGuideLink:"Comment créer un jeton d'accès longue durée",apiRunning:"API en cours d'exécution.",errors:{missingFields:"Veuillez fournir l'URL et le jeton",unexpectedResponse:"Réponse API inattendue",invalidToken:"Jeton invalide - authentification échouée",httpError:"HTTP {{status}} : {{statusText}}",corsError:"Impossible de se connecter - vérifiez l'URL et les paramètres CORS",connectionFailed:"Connexion échouée"}},tpr={title:"Erreur inattendue",description:"Une erreur inattendue s'est produite dans l'application. Veuillez voir les détails ci-dessous.",refreshPrompt:"Veuillez essayer d'actualiser la page. Si le problème persiste, envisagez de signaler le problème sur notre dépôt GitHub."},npr={saveAutomationFirst:"Enregistrez d'abord l'automatisation pour voir les traces",noTracesFound:"Aucune trace d'automatisation trouvée"},rpr={save:Zhr,import:{title:"Ouvrir l'automatisation",description:"Sélectionner une automatisation de Home Assistant à modifier",descriptionFull:"Ouvrir une automatisation existante ou en créer une nouvelle",searchPlaceholder:"Rechercher des automatisations...",noAutomations:"Aucune automatisation trouvée",noConnection:"Connectez-vous à Home Assistant pour charger les automatisations",createNew:"Créer nouveau",openSingle:"Ouvrir",openTogether:"Ouvrir ensemble",mergeSelected:"Fusionner la sélection",defaultMergedName:"Automatisation fusionnée",mergeSuccess:"{{count}} automatisations fusionnées dans un seul workspace.",mergeFailed:"Échec de la fusion des automatisations : {{message}}",mergeFailedMissingConfig:"Impossible de charger la configuration de {{name}}",mergeFailedInvalidYaml:"Impossible d'analyser l'automatisation {{name}}",selectAll:"Tout sélectionner",unselectAll:"Effacer la sélection",select:"Sélectionner l'automatisation",unselect:"Désélectionner l'automatisation",columns:{name:"Nom",lastTriggered:"Dernier déclenchement",enabled:"Activé",action:"Action"},mode:"Mode : {{mode}}",never:"Jamais",justNow:"À l'instant",minutesAgo:"Il y a {{count}}m",hoursAgo:"Il y a {{count}}h",daysAgo:"Il y a {{count}}j",disabled:"Désactivé",automationEnabled:"Automatisation activée avec succès.",automationDisabled:"Automatisation désactivée avec succès.",updateStateFailed:"Échec de la mise à jour de l'état de l'automatisation",importAutomation:"Importer l'automatisation",openingWarning:"L'ouverture remplacera votre conception d'automatisation actuelle",discardTitle:"Abandonner le flux actuel ?",discardDescription:"Votre automatisation actuelle a des modifications non enregistrées. Créer ou ouvrir une nouvelle automatisation abandonnera ces modifications.",confirmDiscard:"Abandonner et continuer",importSuccess:'Automatisation "{{name}}" importée avec succès !',openedWarning:'Automatisation "{{name}}" ouverte !',openedWarningDescription:"Impossible de récupérer la configuration automatiquement. Vous pouvez maintenant créer un nouveau flux avec le même nom.",importFailed:"Échec de l'importation de l'automatisation : {{message}}",ID:"ID : {{id}}",otherArea:"Autre zone",noArea:"Aucune zone"},importYaml:Qhr,settings:epr,error:tpr,traceViewer:npr},ipr={failedToCopy:"Échec de la copie"},opr={emptyAutomation:"Impossible d'enregistrer une automatisation vide. Veuillez ajouter au moins un déclencheur et un nœud d'action.",noTrigger:"L'automatisation doit avoir au moins un nœud déclencheur. Veuillez ajouter un déclencheur depuis la palette de nœuds.",noAction:"L'automatisation doit avoir au moins un nœud d'action. Veuillez ajouter une action depuis la palette de nœuds.",validationFailed:"Validation échouée : {{errors}}",transpileFailed:"Échec de la transpilation du flux en configuration d'automatisation",noAutomationId:"Aucun ID d'automatisation défini. Utilisez saveAutomation() pour les nouvelles automatisations.",node:{duplicateId:"ID déjà utilisé — doit être unique dans l'automatisation"}},spr={noConnection:"Aucune connexion Home Assistant disponible",noAuth:"Aucune authentification configurée pour l'API REST",authFailed:"Jeton invalide - authentification échouée",corsError:"Impossible de se connecter - vérifiez l'URL et les paramètres CORS",connectionLost:"Connexion perdue",reconnectFailed:"Reconnexion échouée",notConnected:"Home Assistant n'est pas connecté",noMethod:"Aucune méthode de connexion Home Assistant fonctionnelle trouvée",unexpectedResponse:"Réponse API inattendue",connectionFailed:"Connexion échouée"},apr={httpError:"HTTP {{status}} : {{statusText}}",createFailed:"Échec de la création de l'automatisation : {{message}}",updateFailed:"Échec de la mise à jour de l'automatisation : {{message}}",deleteFailed:"Échec de la suppression de l'automatisation : {{message}}",importFailed:"Échec de l'importation de l'automatisation : {{message}}",unknownError:"Erreur inconnue",transpileFailed:"Échec de la transpilation",loadDeviceTriggersFailed:"Échec du chargement des déclencheurs d'appareil :",loadTriggerCapabilitiesFailed:"Échec du chargement des capacités du déclencheur :"},cpr={addFailed:"Échec de l'ajout de la propriété"},upr={nameRequired:"Le nom de l'automatisation est requis",urlTokenRequired:"Veuillez fournir l'URL et le jeton"},lpr={staleWarning:"Affichage du dernier YAML valide - corrigez les erreurs pour mettre à jour"},dpr={common:ipr,validation:opr,connection:spr,api:apr,properties:cpr,form:upr,import:{fileReadFailed:"Échec de l'importation du flux. Veuillez vérifier le format du fichier.",parseFailed:"Échec de l'analyse de la configuration de l'automatisation"},yaml:lpr},fpr={trigger:"Déclencheur",condition:"Condition",action:"Action",delay:"Délai",wait:"Attendre",set_variables:"Définir les variables",node:"Nœud",stop:"Arrêt"},hpr={selectNode:"Sélectionnez un nœud pour modifier ses propriétés",properties:"Propriétés",nodeId:"ID du nœud : {{id}}",additionalProperties:"Propriétés supplémentaires",addProperty:"Ajouter une propriété",propertyName:"Nom de la propriété",type:"Type",value:"Valeur"},ppr={customProperty:"ex. ma_propriete_personnalisee",jsonArray:'["element1", "element2"]',number:"123",enterValue:"Entrer la valeur",jsonObject:"Objet JSON",enterType:"Entrer {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},gpr={platformLabel:"Plateforme",platforms:{state:"Changement d'état",numeric_state:"État numérique",time:"Heure",time_pattern:"Modèle horaire",sun:"Soleil",event:"Événement",mqtt:"MQTT",webhook:"Webhook",zone:"Zone",template:"Modèle",homeassistant:"Home Assistant",device:"Appareil",calendar:"Calendrier",geo_location:"Géolocalisation",tag:"Tag",conversation:"Conversation",persistent_notification:"Notification persistante"},dataTypes:{string:"Texte",number:"Nombre",boolean:"Booléen",json:"Tableau (JSON)"},fields:{entityId:"Entité",toState:"Vers l'état",fromState:"De l'état",toStatePlaceholder:"ex. on, off, home",fromStatePlaceholder:"ex. off"}},bpr={conditionLabel:"Type de condition",types:{state:"État",numeric_state:"État numérique",time:"Heure",sun:"Soleil",zone:"Zone",template:"Modèle",device:"Appareil",trigger:"Déclencheur",and:"ET (Tous)",or:"OU (N'importe lequel)",not:"NON"},nestedConditions:"Conditions imbriquées",yes:"Oui",no:"Non"},mpr={serviceLabel:"Service"},wpr={variableCount_one:"{{count}} variable",variableCount_other:"{{count}} variables"},ypr={label:"Durée",description:"Spécifiez la durée en heures, minutes, secondes, millisecondes",string:"Chaîne",object:"Objet",placeholder:"00:00:05.500",hours:"Heures",minutes:"Minutes",seconds:"Secondes",milliseconds:"Millisecondes"},vpr={label:"Variable de réponse",optionalDescription:"Cette action peut retourner une réponse. Activez pour utiliser la réponse et entrez le nom de la variable où elle sera enregistrée.",requiredDescription:"Cette action retourne une réponse. Entrez le nom de la variable où elle sera enregistrée.",useResponseVariable:"Utiliser la variable de réponse",placeholder:"ex. ma_reponse",currentNodeWarning:"'current_node' est réservé pour la stratégie machine à états. Utiliser ce nom peut causer un comportement inattendu."},Epr={heading:"Données du service"},Spr={empty:"Aucune variable définie. Cliquez sur le bouton ci-dessous pour en ajouter une.",variableLabel:"Variable {{index}}",name:"Nom",namePlaceholder:"nom_variable",value:"Valeur",valueDescription:"Valeur ou expression de modèle Jinja2",valuePlaceholder:"valeur ou {{ modele }}",addVariable:"Ajouter une variable"},Tpr={waitsForNTrigger_one:"Attend {{count}} déclencheur",waitsForNTrigger_other:"Attend {{count}} déclencheurs",timeoutLabel:"Délai d'attente :",waitType:"Type d'attente",waitTypeDescription:"Choisissez ce qu'il faut attendre.",types:{template:"Modèle",triggers:"Déclencheurs"},waitTemplate:"Modèle d'attente",waitTemplateDescription:"Condition de modèle qui doit être vraie pour continuer",triggersHeading:"Déclencheurs",triggerLabel:"Déclencheur {{index}} : {{platform}}",triggerPlatformLabel:"Plateforme",addTrigger:"Ajouter un déclencheur",timeoutDescription:"Temps maximum d'attente avant de continuer. Laissez vide pour attendre indéfiniment.",continueOnTimeout:"Continuer à l'expiration",continueOnTimeoutDescription:"Si activé, l'automatisation continue quand le délai expire. Si désactivé, l'automatisation s'arrête."},Apr={searchPlaceholder:"Rechercher des nœuds…"},_pr={types:fpr,panel:hpr,placeholders:ppr,triggers:gpr,conditions:bpr,actions:mpr,variables:wpr,durationField:ypr,responseVariableField:vpr,serviceDataFields:Epr,setVariablesFields:Spr,wait:Tpr,quickAdd:Apr},xpr={noConditions:"Aucune condition ajoutée",addCondition:"Ajouter une condition"},kpr={conditionGroupEditor:xpr},Npr={heading:"Simulateur de trace",conditionOverrides:"Résultats des conditions (pour simulation)",random:"Aléatoire",true:"Vrai",false:"Faux",executionPath:"Chemin d'exécution"},Cpr={trace:Npr},Ipr={common:Yhr,debug:Xhr,dialogs:rpr,errors:dpr,nodes:_pr,panels:kpr,simulator:Cpr},Rpr={save:"Salva",saveAsCopy:"Salva come copia",cancel:"Annulla",close:"Chiudi",delete:"Elimina",update:"Aggiorna",refresh:"Aggiorna",copy:"Copia",use:"Usa",add:"Aggiungi",addTrigger:"Aggiungi Trigger",openAutomation:"Apri Automazione",newAutomation:"Nuova Automazione",importJson:"Importa da JSON",importYaml:"Importa da YAML",testConnection:"Testa Connessione",disconnect:"Disconnetti",collapseMenu:"Comprimi menu",expandMenu:"Espandi menu",toggleSidebar:"Attiva/disattiva barra laterale",expandPropertiesPanel:"Espandi pannello proprietà",collapsePropertiesPanel:"Comprimi pannello proprietà",deleteConnection:"Elimina connessione"},Opr={automationName:"Nome automazione",properties:"Proprietà",yaml:"YAML",debug:"Debug",enabled:"Abilitato",alias:"Alias (Nome visualizzato)",id:"ID",strategy:"Strategia",speed:"Velocità",quickHelp:"Guida rapida",debugControls:"Controlli Debug",addNode:"Aggiungi Nodo",yamlOutput:"Output YAML",automationTrace:"Traccia Automazione",selectTraceRun:"Seleziona Esecuzione Traccia:",traceDetails:"Dettagli Traccia:",trigger:"Trigger:",duration:"Durata:",lastStep:"Ultimo Step:",executionPath:"Percorso Esecuzione:",notApplicable:"N/D",device:"Dispositivo",triggerType:"Tipo Trigger",entityId:"ID Entità",warning:"Attenzione",requiredAsterisk:"*",automations:"Automazioni",nodes:"Nodi",areas:"Aree",zones:"Zone",unassigned:"Non assegnate",workspaceSources:"Sorgenti unite"},Dpr={connecting:"Connessione in corso...",connected:"Connesso",connectedTo:"Connesso a {{hostname}}",connectionError:"Errore di Connessione",saving:"Salvataggio...",updating:"Aggiornamento...",testing:"Test in corso...",loadingTraces:"Caricamento tracce...",loadingTriggers:"Caricamento trigger..."},Lpr={automationName:"Nome automazione",optionalDisplayName:"Nome visualizzato opzionale",optionalUniqueId:"ID univoco opzionale",enterAutomationName:"Inserisci nome automazione...",describeAutomation:"Descrivi cosa fa questa automazione...",searchAutomations:"Cerca automazioni...",selectTrace:"Seleziona una traccia...",addNodesForYaml:"# Aggiungi nodi per vedere l'output YAML",selectDevice:"Seleziona dispositivo...",selectTriggerType:"Seleziona tipo trigger...",selectEntity:"Seleziona entità...",selectEntities:"Seleziona entità...",duration:"00:05:00",enterTemplate:"Inserisci template Jinja2...",jsonExample:'{ "chiave": "valore" }',none:"Nessuno"},Mpr={clickNodesToAdd:"Clicca sui nodi per aggiungerli",dragToConnect:"Trascina per connettere",deleteToRemove:"Elimina per rimuovere",backspaceDeleteKey:"Tasto Backspace/Canc"},Ppr={appName:"C.A.F.E.",appFullName:"Complex Automation Flow Editor",settings:"Impostazioni",updateAutomation:"Aggiorna automazione in Home Assistant",saveAutomation:"Salva automazione in Home Assistant",clearAutomation:"Azzera automazione corrente",exportJson:"Esporta flow come JSON",clickToConfigure:"Clicca per configurare la connessione a Home Assistant",openDetached:"Apri finestra separata",removeSource:"Rimuovi sorgente dal workspace unito",backToHA:"Torna a Home Assistant"},jpr={auto:"Auto",native:"Nativo",stateMachine:"Macchina a Stati"},Fpr={newAutomation:"Nuova Automazione"},$pr={true:"Vero",false:"Falso"},Bpr={select:"Seleziona...",noOptions:"Nessuna opzione trovata."},Upr={enabled:"Abilitato",disabled:"Disabilitato",selectItems:"Seleziona elementi...",itemsSelected:"{{count}} elementi selezionati",selectEntities:"Seleziona entità...",selectEntity:"Seleziona entità...",selectZone:"Seleziona zona...",formatHMS:"Formato: HH:MM:SS",enterValue:"Inserisci {{name}}..."},Hpr={enterId:"Inserisci ID dispositivo manualmente",noDevices:"Nessun dispositivo trovato. Inserisci l'ID dispositivo manualmente o verifica la connessione a Home Assistant."},zpr={runAction:"Esegui azione",runActionSuccess:"{{service}} eseguito",runActionFailed:"{{service}} non riuscito: {{message}}",cut:"Taglia",copy:"Copia",paste:"Incolla",duplicate:"Duplica",toggleEnabled:"Attiva/Disattiva",enable:"Attiva",disable:"Disattiva",disconnect:"Disconnetti",alignLeft:"Allinea a sinistra",alignCenter:"Allinea al centro",alignRight:"Allinea a destra",alignTop:"Allinea in alto",alignBottom:"Allinea in basso",deleteNode:"Elimina Nodo",duplicateNode:"Duplica Nodo",selectAll:"Seleziona Tutto",undo:"Annulla",redo:"Ripristina"},Gpr={cmd:"Cmd",ctrl:"Ctrl",shift:"Maiusc",alt:"Alt",arrowUp:"Freccia su",arrowDown:"Freccia giù",arrowLeft:"Freccia sinistra",arrowRight:"Freccia destra"},qpr={useValue:"Usa valore"},Vpr={buttons:Rpr,labels:Opr,status:Dpr,placeholders:Lpr,help:Mpr,titles:Ppr,strategy:jpr,defaults:Fpr,boolean:$pr,combobox:Bpr,dynamicField:Upr,deviceSelector:Hpr,toolbar:zpr,shortcuts:Gpr,stateTrigger:qpr},Wpr={simulatingExecution:"Simulazione esecuzione...",showingTraceExecution:"Mostrando esecuzione traccia ({{steps}} passi)"},Kpr={simulation:Wpr},Ypr={title:"Salva Automazione",titleUpdate:"Aggiorna Automazione",description:"Salva questa automazione in Home Assistant",descriptionUpdate:"Aggiorna questa automazione in Home Assistant",nameLabel:"Nome Automazione",descriptionLabel:"Descrizione (Opzionale)",nameConflict:'Il nome esiste già. Usare: "{{suggestedName}}"?'},Jpr={title:"Importa Automazione YAML",description:"Incolla il tuo YAML di automazione Home Assistant qui sotto. L'automazione può essere in formato standard o formato macchina a stati.",placeholder:"alias: La Mia Automazione\\ntriggers:\\n - trigger: state\\n entity_id: sensor.esempio",importFailed:"Importazione Fallita",warnings:"Avvisi",successLoading:"Importato con successo! Caricamento flow...",tipLabel:"Suggerimento:",tipText:"Se l'automazione è stata creata con C.A.F.E., le posizioni dei nodi saranno preservate. Altrimenti, i nodi saranno disposti automaticamente in un layout leggibile.",importing:"Importazione...",import:"Importa",errors:{parseError:"Impossibile analizzare YAML: {{message}}",importError:"Impossibile importare: {{message}}"}},Xpr={title:"Connessione Home Assistant",description:"Configura le impostazioni di connessione a Home Assistant.",urlLabel:"URL Home Assistant",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"L'URL della tua istanza Home Assistant",tokenLabel:"Token di Accesso a Lunga Durata",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"Creane uno in HA: Profilo → Token di Accesso a Lunga Durata",testConnection:"Testa Connessione",testing:"Test in corso...",connected:"Connesso!",disconnect:"Disconnetti",corsNote:"Nota CORS",corsDescription:"Per connetterti da un browser, potrebbe essere necessario aggiungere gli header CORS alla tua configurazione HA. Se ti connetti da https://fezvrasta.github.io/hass-cafe, la tua istanza HA deve essere sotto HTTPS.",tokenGuideLink:"Come creare un Token di Accesso a Lunga Durata",apiRunning:"API in esecuzione.",errors:{missingFields:"Fornisci sia URL che token",unexpectedResponse:"Risposta API inattesa",invalidToken:"Token non valido - autenticazione fallita",httpError:"HTTP {{status}}: {{statusText}}",corsError:"Impossibile connettersi - verifica URL e impostazioni CORS",connectionFailed:"Connessione fallita"}},Zpr={title:"Errore Inatteso",description:"Si è verificato un errore inatteso nell'applicazione. Vedi i dettagli qui sotto.",refreshPrompt:"Prova ad aggiornare la pagina. Se il problema persiste, considera di segnalare il problema sul nostro repository GitHub."},Qpr={saveAutomationFirst:"Salva prima l'automazione per visualizzare le tracce",noTracesFound:"Nessuna traccia di automazione trovata"},egr={save:Ypr,import:{title:"Apri Automazione",description:"Seleziona un'automazione da Home Assistant da modificare",descriptionFull:"Apri un'automazione esistente o creane una nuova",searchPlaceholder:"Cerca automazioni...",noAutomations:"Nessuna automazione trovata",noConnection:"Connettiti a Home Assistant per caricare le automazioni",createNew:"Crea Nuova",openSingle:"Apri",openTogether:"Apri insieme",mergeSelected:"Unisci selezionate",defaultMergedName:"Automazione unita",mergeSuccess:"Unite {{count}} automazioni in un solo workspace.",mergeFailed:"Impossibile unire le automazioni: {{message}}",mergeFailedMissingConfig:"Impossibile caricare la configurazione di {{name}}",mergeFailedInvalidYaml:"Impossibile analizzare l'automazione {{name}}",selectAll:"Seleziona tutte",unselectAll:"Deseleziona tutto",select:"Seleziona automazione",unselect:"Deseleziona automazione",columns:{name:"Nome",lastTriggered:"Ultimo Trigger",enabled:"Abilitato",action:"Azione"},mode:"Modalità: {{mode}}",never:"Mai",justNow:"Adesso",minutesAgo:"{{count}}m fa",hoursAgo:"{{count}}h fa",daysAgo:"{{count}}g fa",disabled:"Disabilitato",automationEnabled:"Automazione abilitata con successo.",automationDisabled:"Automazione disabilitata con successo.",updateStateFailed:"Impossibile aggiornare lo stato dell'automazione",importAutomation:"Importa automazione",openingWarning:"L'apertura sostituirà il design dell'automazione corrente",discardTitle:"Scartare il flow corrente?",discardDescription:"L'automazione corrente ha modifiche non salvate. Creare o aprire una nuova automazione scarterà queste modifiche.",confirmDiscard:"Scarta e Continua",importSuccess:'Automazione "{{name}}" importata con successo!',openedWarning:'Automazione "{{name}}" aperta!',openedWarningDescription:"Impossibile recuperare la configurazione automaticamente. Ora puoi creare un nuovo flow con lo stesso nome.",importFailed:"Impossibile importare l'automazione: {{message}}",ID:"ID: {{id}}",otherArea:"Altra Area",noArea:"Nessuna Area"},importYaml:Jpr,settings:Xpr,error:Zpr,traceViewer:Qpr},tgr={failedToCopy:"Copia fallita"},ngr={emptyAutomation:"Impossibile salvare un'automazione vuota. Aggiungi almeno un trigger e un nodo azione.",noTrigger:"L'automazione deve avere almeno un nodo trigger. Aggiungi un trigger dalla palette dei nodi.",noAction:"L'automazione deve avere almeno un nodo azione. Aggiungi un'azione dalla palette dei nodi.",validationFailed:"Validazione fallita: {{errors}}",transpileFailed:"Impossibile transpilare il flow in configurazione automazione",noAutomationId:"Nessun ID automazione impostato. Usa saveAutomation() per nuove automazioni.",node:{duplicateId:"ID già in uso — deve essere univoco nell'automazione"}},rgr={noConnection:"Nessuna connessione Home Assistant disponibile",noAuth:"Nessuna autenticazione configurata per l'API REST",authFailed:"Token non valido - autenticazione fallita",corsError:"Impossibile connettersi - verifica URL e impostazioni CORS",connectionLost:"Connessione persa",reconnectFailed:"Riconnessione fallita",notConnected:"Home Assistant non è connesso",noMethod:"Nessun metodo di connessione Home Assistant funzionante trovato",unexpectedResponse:"Risposta API inattesa",connectionFailed:"Connessione fallita"},igr={httpError:"HTTP {{status}}: {{statusText}}",createFailed:"Impossibile creare l'automazione: {{message}}",updateFailed:"Impossibile aggiornare l'automazione: {{message}}",deleteFailed:"Impossibile eliminare l'automazione: {{message}}",importFailed:"Impossibile importare l'automazione: {{message}}",unknownError:"Errore sconosciuto",transpileFailed:"Transpilazione fallita",loadDeviceTriggersFailed:"Impossibile caricare i trigger del dispositivo:",loadTriggerCapabilitiesFailed:"Impossibile caricare le capacità del trigger:"},ogr={addFailed:"Impossibile aggiungere la proprietà"},sgr={nameRequired:"Il nome dell'automazione è obbligatorio",urlTokenRequired:"Fornisci sia URL che token"},agr={staleWarning:"Mostrando l'ultimo YAML valido - correggi gli errori per aggiornare"},cgr={common:tgr,validation:ngr,connection:rgr,api:igr,properties:ogr,form:sgr,import:{fileReadFailed:"Impossibile importare il flow. Verifica il formato del file.",parseFailed:"Impossibile analizzare la configurazione dell'automazione"},yaml:agr},ugr={trigger:"Trigger",condition:"Condizione",action:"Azione",delay:"Ritardo",wait:"Attendi",set_variables:"Imposta Variabili",node:"Nodo",stop:"Stop"},lgr={selectNode:"Seleziona un nodo per modificarne le proprietà",properties:"Proprietà",nodeId:"ID Nodo: {{id}}",additionalProperties:"Proprietà Aggiuntive",addProperty:"Aggiungi Proprietà",propertyName:"Nome Proprietà",type:"Tipo",value:"Valore"},dgr={customProperty:"es. mia_proprieta_custom",jsonArray:'["elemento1", "elemento2"]',number:"123",enterValue:"Inserisci valore",jsonObject:"Oggetto JSON",enterType:"Inserisci {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},fgr={platformLabel:"Piattaforma",platforms:{state:"Cambio Stato",numeric_state:"Stato Numerico",time:"Orario",time_pattern:"Pattern Orario",sun:"Sole",event:"Evento",mqtt:"MQTT",webhook:"Webhook",zone:"Zona",template:"Template",homeassistant:"Home Assistant",device:"Dispositivo",calendar:"Calendario",geo_location:"Geo Localizzazione",tag:"Tag",conversation:"Conversazione",persistent_notification:"Notifica Persistente"},dataTypes:{string:"Testo",number:"Numero",boolean:"Booleano",json:"Array (JSON)"},fields:{entityId:"Entità",toState:"Verso lo stato",fromState:"Dallo stato",toStatePlaceholder:"es. on, off, home",fromStatePlaceholder:"es. off"}},hgr={conditionLabel:"Tipo Condizione",types:{state:"Stato",numeric_state:"Stato Numerico",time:"Orario",sun:"Sole",zone:"Zona",template:"Template",device:"Dispositivo",trigger:"Trigger",and:"AND (Tutti)",or:"OR (Qualsiasi)",not:"NOT"},nestedConditions:"Condizioni Annidate",yes:"Sì",no:"No"},pgr={serviceLabel:"Servizio"},ggr={variableCount_one:"{{count}} variabile",variableCount_other:"{{count}} variabili"},bgr={label:"Durata",description:"Specifica la durata in ore, minuti, secondi, millisecondi",string:"Stringa",object:"Oggetto",placeholder:"00:00:05.500",hours:"Ore",minutes:"Minuti",seconds:"Secondi",milliseconds:"Millisecondi"},mgr={label:"Variabile Risposta",optionalDescription:"Questa azione può restituire una risposta. Abilita per usare la risposta e inserisci il nome della variabile in cui verrà salvata.",requiredDescription:"Questa azione restituisce una risposta. Inserisci il nome della variabile in cui verrà salvata.",useResponseVariable:"Usa Variabile Risposta",placeholder:"es. mia_risposta",currentNodeWarning:"'current_node' è riservato per la strategia macchina a stati. Usare questo nome potrebbe causare comportamenti imprevisti."},wgr={heading:"Dati Servizio"},ygr={empty:"Nessuna variabile definita. Clicca il pulsante qui sotto per aggiungerne una.",variableLabel:"Variabile {{index}}",name:"Nome",namePlaceholder:"nome_variabile",value:"Valore",valueDescription:"Valore o espressione template Jinja2",valuePlaceholder:"valore o {{ template }}",addVariable:"Aggiungi Variabile"},vgr={waitsForNTrigger_one:"Attende {{count}} trigger",waitsForNTrigger_other:"Attende {{count}} trigger",timeoutLabel:"Timeout:",waitType:"Tipo Attesa",waitTypeDescription:"Scegli cosa attendere.",types:{template:"Template",triggers:"Trigger"},waitTemplate:"Template Attesa",waitTemplateDescription:"Condizione template che deve essere vera per continuare",triggersHeading:"Trigger",triggerLabel:"Trigger {{index}}: {{platform}}",triggerPlatformLabel:"Piattaforma",addTrigger:"Aggiungi Trigger",timeoutDescription:"Tempo massimo di attesa prima di continuare. Lascia vuoto per attendere indefinitamente.",continueOnTimeout:"Continua al Timeout",continueOnTimeoutDescription:"Se abilitato, l'automazione continua quando scade il timeout. Se disabilitato, l'automazione si ferma."},Egr={searchPlaceholder:"Cerca nodi…"},Sgr={types:ugr,panel:lgr,placeholders:dgr,triggers:fgr,conditions:hgr,actions:pgr,variables:ggr,durationField:bgr,responseVariableField:mgr,serviceDataFields:wgr,setVariablesFields:ygr,wait:vgr,quickAdd:Egr},Tgr={noConditions:"Nessuna condizione aggiunta",addCondition:"Aggiungi Condizione"},Agr={conditionGroupEditor:Tgr},_gr={heading:"Simulatore Traccia",conditionOverrides:"Esiti Condizioni (per simulazione)",random:"Casuale",true:"Vero",false:"Falso",executionPath:"Percorso Esecuzione"},xgr={trace:_gr},kgr={common:Vpr,debug:Kpr,dialogs:egr,errors:cgr,nodes:Sgr,panels:Agr,simulator:xgr},Ngr={save:"保存",saveAsCopy:"另存为副本",cancel:"取消",close:"关闭",delete:"删除",update:"更新",refresh:"刷新",copy:"复制",use:"使用",add:"添加",addTrigger:"添加触发器",openAutomation:"打开自动化",newAutomation:"新建自动化",importJson:"从JSON导入",importYaml:"从YAML导入",testConnection:"测试连接",disconnect:"断开连接",collapseMenu:"收起菜单",expandMenu:"展开菜单",toggleSidebar:"切换侧边栏",expandPropertiesPanel:"展开属性面板",collapsePropertiesPanel:"收起属性面板",deleteConnection:"删除连接"},Cgr={automationName:"自动化名称",properties:"属性",yaml:"YAML",debug:"调试",enabled:"已启用",alias:"别名(显示名称)",id:"ID",strategy:"策略",speed:"速度",quickHelp:"快速帮助",debugControls:"调试控制",addNode:"添加节点",yamlOutput:"YAML输出",automationTrace:"自动化追踪",selectTraceRun:"选择追踪运行:",traceDetails:"追踪详情:",trigger:"触发器:",duration:"持续时间:",lastStep:"最后步骤:",executionPath:"执行路径:",notApplicable:"不适用",device:"设备",triggerType:"触发器类型",entityId:"实体ID",warning:"警告",requiredAsterisk:"*",automations:"自动化",nodes:"节点",areas:"区域",zones:"地理围栏",unassigned:"未分配",workspaceSources:"合并来源"},Igr={connecting:"正在连接...",connected:"已连接",connectedTo:"已连接到 {{hostname}}",connectionError:"连接错误",saving:"正在保存...",updating:"正在更新...",testing:"正在测试...",loadingTraces:"正在加载追踪...",loadingTriggers:"正在加载触发器..."},Rgr={automationName:"自动化名称",optionalDisplayName:"可选显示名称",optionalUniqueId:"可选唯一ID",enterAutomationName:"输入自动化名称...",describeAutomation:"描述这个自动化的功能...",searchAutomations:"搜索自动化...",selectTrace:"选择追踪...",addNodesForYaml:"# 添加节点以查看YAML输出",selectDevice:"选择设备...",selectTriggerType:"选择触发器类型...",selectEntity:"选择实体...",selectEntities:"选择实体...",duration:"00:05:00",enterTemplate:"输入Jinja2模板...",jsonExample:'{ "键": "值" }',none:"无"},Ogr={clickNodesToAdd:"点击节点以添加",dragToConnect:"拖动以连接",deleteToRemove:"删除以移除",backspaceDeleteKey:"退格键/删除键"},Dgr={appName:"C.A.F.E.",appFullName:"复杂自动化流程编辑器",settings:"设置",updateAutomation:"在Home Assistant中更新自动化",saveAutomation:"将自动化保存到Home Assistant",clearAutomation:"清除当前自动化",exportJson:"导出流程为JSON",clickToConfigure:"点击配置Home Assistant连接",openDetached:"在独立窗口打开",removeSource:"从合并工作区移除来源",backToHA:"返回 Home Assistant"},Lgr={auto:"自动",native:"原生",stateMachine:"状态机"},Mgr={newAutomation:"新建自动化"},Pgr={true:"真",false:"假"},jgr={select:"选择...",noOptions:"未找到选项。"},Fgr={enabled:"已启用",disabled:"已禁用",selectItems:"选择项目...",itemsSelected:"已选择 {{count}} 项",selectEntities:"选择实体...",selectEntity:"选择实体...",selectZone:"选择区域...",formatHMS:"格式: HH:MM:SS",enterValue:"输入 {{name}}..."},$gr={enterId:"手动输入设备ID",noDevices:"未找到设备。请手动输入设备ID或检查您的Home Assistant连接。"},Bgr={runAction:"运行操作",runActionSuccess:"已运行 {{service}}",runActionFailed:"{{service}} 失败:{{message}}",cut:"剪切",copy:"复制",paste:"粘贴",duplicate:"复制",toggleEnabled:"切换启用/禁用",enable:"启用",disable:"禁用",disconnect:"断开连接",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignTop:"顶端对齐",alignBottom:"底端对齐",deleteNode:"删除节点",duplicateNode:"复制节点",selectAll:"全选",undo:"撤销",redo:"重做"},Ugr={cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",alt:"Alt",arrowUp:"向上箭头",arrowDown:"向下箭头",arrowLeft:"向左箭头",arrowRight:"向右箭头"},Hgr={useValue:"使用值"},zgr={buttons:Ngr,labels:Cgr,status:Igr,placeholders:Rgr,help:Ogr,titles:Dgr,strategy:Lgr,defaults:Mgr,boolean:Pgr,combobox:jgr,dynamicField:Fgr,deviceSelector:$gr,toolbar:Bgr,shortcuts:Ugr,stateTrigger:Hgr},Ggr={simulatingExecution:"正在模拟执行...",showingTraceExecution:"显示追踪执行({{steps}} 步)"},qgr={simulation:Ggr},Vgr={title:"保存自动化",titleUpdate:"更新自动化",description:"将此自动化保存到Home Assistant",descriptionUpdate:"在Home Assistant中更新此自动化",nameLabel:"自动化名称",descriptionLabel:"描述(可选)",nameConflict:'名称已存在。使用:"{{suggestedName}}"?'},Wgr={title:"导入YAML自动化",description:"在下方粘贴您的Home Assistant自动化YAML。自动化可以是标准格式或状态机格式。",placeholder:"alias: 我的自动化\\ntriggers:\\n - trigger: state\\n entity_id: sensor.example",importFailed:"导入失败",warnings:"警告",successLoading:"导入成功!正在加载流程...",tipLabel:"提示:",tipText:"如果您的自动化是使用C.A.F.E.创建的,节点位置将被保留。否则,节点将自动排列为可读布局。",importing:"正在导入...",import:"导入",errors:{parseError:"解析YAML失败:{{message}}",importError:"导入失败:{{message}}"}},Kgr={title:"Home Assistant连接",description:"配置您的Home Assistant连接设置。",urlLabel:"Home Assistant URL",urlPlaceholder:"http://homeassistant.local:8123",urlHelp:"您的Home Assistant实例的URL",tokenLabel:"长期访问令牌",tokenPlaceholder:"eyJ0eXAiOiJKV1QiLCJhbGci...",tokenHelp:"在HA中创建:个人资料 → 长期访问令牌",testConnection:"测试连接",testing:"正在测试...",connected:"已连接!",disconnect:"断开连接",corsNote:"CORS说明",corsDescription:"要从浏览器连接,您可能需要在HA配置中添加CORS头。如果您从 https://fezvrasta.github.io/hass-cafe 连接,您的HA实例必须使用HTTPS。",tokenGuideLink:"如何创建长期访问令牌",apiRunning:"API正在运行。",errors:{missingFields:"请提供URL和令牌",unexpectedResponse:"意外的API响应",invalidToken:"令牌无效 - 认证失败",httpError:"HTTP {{status}}:{{statusText}}",corsError:"无法连接 - 检查URL和CORS设置",connectionFailed:"连接失败"}},Ygr={title:"意外错误",description:"应用程序发生意外错误。请查看以下详情。",refreshPrompt:"请尝试刷新页面。如果问题仍然存在,请考虑在我们的GitHub仓库上报告问题。"},Jgr={saveAutomationFirst:"先保存自动化以查看追踪",noTracesFound:"未找到自动化追踪"},Xgr={save:Vgr,import:{title:"打开自动化",description:"从Home Assistant选择要编辑的自动化",descriptionFull:"打开现有自动化或创建新的",searchPlaceholder:"搜索自动化...",noAutomations:"未找到自动化",noConnection:"连接到Home Assistant以加载自动化",createNew:"新建",openSingle:"打开",openTogether:"一起打开",mergeSelected:"合并所选",defaultMergedName:"合并自动化",mergeSuccess:"已将 {{count}} 个自动化合并到一个工作区。",mergeFailed:"合并自动化失败:{{message}}",mergeFailedMissingConfig:"无法加载 {{name}} 的配置",mergeFailedInvalidYaml:"无法解析自动化 {{name}}",selectAll:"全选可见项",unselectAll:"清除选择",select:"选择自动化",unselect:"取消选择自动化",columns:{name:"名称",lastTriggered:"上次触发",enabled:"已启用",action:"操作"},mode:"模式:{{mode}}",never:"从未",justNow:"刚刚",minutesAgo:"{{count}}分钟前",hoursAgo:"{{count}}小时前",daysAgo:"{{count}}天前",disabled:"已禁用",automationEnabled:"自动化已成功启用。",automationDisabled:"自动化已成功禁用。",updateStateFailed:"更新自动化状态失败",importAutomation:"导入自动化",openingWarning:"打开将替换您当前的自动化设计",discardTitle:"放弃当前流程?",discardDescription:"您当前的自动化有未保存的更改。创建或打开新的自动化将放弃这些更改。",confirmDiscard:"放弃并继续",importSuccess:'自动化 "{{name}}" 导入成功!',openedWarning:'自动化 "{{name}}" 已打开!',openedWarningDescription:"无法自动获取配置。您现在可以使用相同的名称创建新流程。",importFailed:"导入自动化失败:{{message}}",ID:"ID:{{id}}",otherArea:"其他区域",noArea:"无区域"},importYaml:Wgr,settings:Kgr,error:Ygr,traceViewer:Jgr},Zgr={failedToCopy:"复制失败"},Qgr={emptyAutomation:"无法保存空自动化。请至少添加一个触发器和一个动作节点。",noTrigger:"自动化必须至少有一个触发器节点。请从节点面板添加触发器。",noAction:"自动化必须至少有一个动作节点。请从节点面板添加动作。",validationFailed:"验证失败:{{errors}}",transpileFailed:"将流程转译为自动化配置失败",noAutomationId:"未设置自动化ID。使用 saveAutomation() 创建新自动化。",node:{duplicateId:"ID 已被使用 — 在自动化中必须唯一"}},e1r={noConnection:"没有可用的Home Assistant连接",noAuth:"未配置REST API认证",authFailed:"令牌无效 - 认证失败",corsError:"无法连接 - 检查URL和CORS设置",connectionLost:"连接丢失",reconnectFailed:"重新连接失败",notConnected:"Home Assistant未连接",noMethod:"未找到可用的Home Assistant连接方法",unexpectedResponse:"意外的API响应",connectionFailed:"连接失败"},t1r={httpError:"HTTP {{status}}:{{statusText}}",createFailed:"创建自动化失败:{{message}}",updateFailed:"更新自动化失败:{{message}}",deleteFailed:"删除自动化失败:{{message}}",importFailed:"导入自动化失败:{{message}}",unknownError:"未知错误",transpileFailed:"转译失败",loadDeviceTriggersFailed:"加载设备触发器失败:",loadTriggerCapabilitiesFailed:"加载触发器功能失败:"},n1r={addFailed:"添加属性失败"},r1r={nameRequired:"自动化名称为必填项",urlTokenRequired:"请提供URL和令牌"},i1r={staleWarning:"显示上次有效的YAML - 修复错误以更新"},o1r={common:Zgr,validation:Qgr,connection:e1r,api:t1r,properties:n1r,form:r1r,import:{fileReadFailed:"导入流程失败。请检查文件格式。",parseFailed:"解析自动化配置失败"},yaml:i1r},s1r={trigger:"触发器",condition:"条件",action:"动作",delay:"延迟",wait:"等待",set_variables:"设置变量",node:"节点",stop:"停止"},a1r={selectNode:"选择节点以编辑其属性",properties:"属性",nodeId:"节点ID:{{id}}",additionalProperties:"附加属性",addProperty:"添加属性",propertyName:"属性名称",type:"类型",value:"值"},c1r={customProperty:"例如 my_custom_property",jsonArray:'["项目1", "项目2"]',number:"123",enterValue:"输入值",jsonObject:"JSON对象",enterType:"输入 {{type}}",waitTemplate:"{{ is_state('sensor.x', 'on') }}"},u1r={platformLabel:"平台",platforms:{state:"状态变化",numeric_state:"数值状态",time:"时间",time_pattern:"时间模式",sun:"太阳",event:"事件",mqtt:"MQTT",webhook:"Webhook",zone:"区域",template:"模板",homeassistant:"Home Assistant",device:"设备",calendar:"日历",geo_location:"地理位置",tag:"标签",conversation:"对话",persistent_notification:"持久通知"},dataTypes:{string:"文本",number:"数字",boolean:"布尔值",json:"数组(JSON)"},fields:{entityId:"实体",toState:"目标状态",fromState:"来源状态",toStatePlaceholder:"例如 on、off、home",fromStatePlaceholder:"例如 off"}},l1r={conditionLabel:"条件类型",types:{state:"状态",numeric_state:"数值状态",time:"时间",sun:"太阳",zone:"区域",template:"模板",device:"设备",trigger:"触发器",and:"与(全部)",or:"或(任一)",not:"非"},nestedConditions:"嵌套条件",yes:"是",no:"否"},d1r={serviceLabel:"服务"},f1r={variableCount_one:"{{count}} 个变量",variableCount_other:"{{count}} 个变量"},h1r={label:"持续时间",description:"以小时、分钟、秒、毫秒指定持续时间",string:"字符串",object:"对象",placeholder:"00:00:05.500",hours:"小时",minutes:"分钟",seconds:"秒",milliseconds:"毫秒"},p1r={label:"响应变量",optionalDescription:"此动作可以返回响应。启用以使用响应并输入将保存响应的变量名称。",requiredDescription:"此动作返回响应。输入将保存响应的变量名称。",useResponseVariable:"使用响应变量",placeholder:"例如 my_response",currentNodeWarning:"'current_node' 是状态机策略的保留名称。使用此名称可能导致意外行为。"},g1r={heading:"服务数据"},b1r={empty:"未定义变量。点击下方按钮添加一个。",variableLabel:"变量 {{index}}",name:"名称",namePlaceholder:"variable_name",value:"值",valueDescription:"值或Jinja2模板表达式",valuePlaceholder:"值或 {{ template }}",addVariable:"添加变量"},m1r={waitsForNTrigger_one:"等待 {{count}} 个触发器",waitsForNTrigger_other:"等待 {{count}} 个触发器",timeoutLabel:"超时:",waitType:"等待类型",waitTypeDescription:"选择要等待的内容。",types:{template:"模板",triggers:"触发器"},waitTemplate:"等待模板",waitTemplateDescription:"必须为真才能继续的模板条件",triggersHeading:"触发器",triggerLabel:"触发器 {{index}}:{{platform}}",triggerPlatformLabel:"平台",addTrigger:"添加触发器",timeoutDescription:"继续前的最大等待时间。留空则无限等待。",continueOnTimeout:"超时后继续",continueOnTimeoutDescription:"如果启用,超时后自动化继续。如果禁用,自动化停止。"},w1r={searchPlaceholder:"搜索节点…"},y1r={types:s1r,panel:a1r,placeholders:c1r,triggers:u1r,conditions:l1r,actions:d1r,variables:f1r,durationField:h1r,responseVariableField:p1r,serviceDataFields:g1r,setVariablesFields:b1r,wait:m1r,quickAdd:w1r},v1r={noConditions:"尚未添加条件",addCondition:"添加条件"},E1r={conditionGroupEditor:v1r},S1r={heading:"追踪模拟器",conditionOverrides:"条件结果(用于模拟)",random:"随机",true:"真",false:"假",executionPath:"执行路径"},T1r={trace:S1r},A1r={common:zgr,debug:qgr,dialogs:Xgr,errors:o1r,nodes:y1r,panels:E1r,simulator:T1r},_1r="common",x1r={de:Mfr,en:Dhr,fr:Ipr,it:kgr,"zh-Hans":A1r};Hh.use(LRn).init({resources:x1r,lng:"en",fallbackLng:"en",defaultNS:_1r,ns:["common","dialogs","nodes","errors","debug","panels","simulator"],interpolation:{escapeValue:!1},returnNull:!1});function k1r(){try{return window.parent!==window&&"hass"in window.parent}catch{return!1}}function N1r(){try{const n=window.parent.hass;if(n&&typeof n=="object"&&"states"in n)return n}catch{}}function C1r(){const n=document.getElementById("root");if(!n){Ef.error("No #root element found");return}const i=k1r();if(Ef.info("C.A.F.E. starting",{inHaIframe:i}),i){Ef.debug("Running in HA iframe mode");const s=goe.createRoot(n),c=d=>{Ef.debug("Rendering with hass",{hasHass:!!d,statesCount:d!=null&&d.states?Object.keys(d.states).length:0}),s.render(I.jsx(Hn.StrictMode,{children:I.jsx(_Mt,{i18n:Hh,children:I.jsx(i$t,{externalHass:d,children:I.jsx(sBt,{})})})}))};window.setHass=d=>{c(d)},c(N1r())}else Ef.debug("Running in standalone mode"),goe.createRoot(n).render(I.jsx(Hn.StrictMode,{children:I.jsx(_Mt,{i18n:Hh,children:I.jsx(i$t,{forceMode:"remote",children:I.jsx(sBt,{})})})}))}C1r();
//# sourceMappingURL=main-CCZArAkW.js.map